/* Presentation Studio-only slide systems.
 * Loaded before css/pitch.css so the canonical customer deck stays authoritative
 * for shared selectors while one-off company and lecture slides retain their
 * original layouts. */

/* ===== Present Slide Design Tokens =====
 * These tokens belonged to the original Present slide system. Keep them scoped
 * to the Studio stylesheet so Company and Lecture slides preserve their layouts
 * without overriding the canonical customer-pitch palette in css/pitch.css. */
:root {
  --fd-navy-900: #031C41;
  --fd-navy-700: #0A2D60;
  --fd-navy-500: #1B4889;
  --fd-navy-050: #DEE6F0;

  --fd-gold-700: #7C6E20;
  --fd-gold-600: #A89A3E;
  --fd-gold-500: #C5B358;
  --fd-gold-200: #F0E8C3;

  --fd-teal-700: #2F6B73;
  --fd-white: #FFFFFF;

  --bg-canvas: #F4F6FA;
  --bg-surface: #FFFFFF;
  --bg-surface-2: #FAFBFC;
  --border-subtle: #E8ECF2;
  --border-default: #D6DCE6;

  --radius-md: 10px;
  --radius-lg: 14px;
}

/* ===== Investor Deck Visual Systems ===== */
.fd-visual {
  position: relative;
  width: min(100%, 84rem);
  margin: 0 auto;
}

.fd-cover-title {
  font-size: 4rem;
}

.fd-cover-copy {
  max-width: 58rem;
  margin-bottom: 1.15rem;
}

.fd-hero-map {
  width: min(100%, 68rem);
  min-height: 10.4rem;
  height: auto;
  display: grid;
  place-items: center;
}

.fd-orbit {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}

.fd-core {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(197, 179, 88, 0.14);
  border: 1px solid rgba(197, 179, 88, 0.38);
  box-shadow: 0 0 42px rgba(197, 179, 88, 0.16);
  text-align: center;
  z-index: 2;
}

.fd-core strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.15;
  color: var(--fd-white);
}

.fd-core span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.62);
}

.fd-orbit-node {
  position: relative;
  width: auto;
  min-height: 3.9rem;
  padding: 0.72rem 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.86);
  font-size: 0.84rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  animation: none;
  display: grid;
  place-items: center;
}

.slide[data-slide-id^="custom-"]::before,
.slide[data-slide-id^="custom-"]::after {
  pointer-events: none;
}

.slide[data-slide-id^="custom-"] .slide-inner,
.slide[data-slide-id^="custom-"] .slide-logo {
  z-index: 1;
}

.slide[data-slide-id^="custom-"] .slide-inner {
  position: relative;
}

.slide[data-slide-id="custom-data_foundation"] {
  background: var(--color-navy);
}

.slide[data-slide-id="custom-data_foundation"]::before {
  display: none;
}

.slide[data-slide-id="custom-data_foundation"] .heading-lg {
  font-size: 2.25rem;
  max-width: 58rem !important;
}

.slide[data-slide-id="custom-data_foundation"] .text-lg {
  font-size: 1rem;
}

.slide[data-slide-id="custom-taste_clusters"] {
  background: var(--bg-surface-2);
}

.slide[data-slide-id="custom-model_loop"] {
  background: var(--fd-teal-700);
}

.slide[data-slide-id="custom-proof"] {
  background: var(--bg-surface-2);
}

.slide[data-slide-id="custom-moat"] {
  background:
    linear-gradient(180deg, var(--bg-surface-2) 0%, var(--bg-canvas) 100%);
}

.slide[data-slide-id="custom-platform_value"] {
  background: var(--fd-navy-900);
}

.slide[data-slide-id="custom-revenue_streams"] {
  background: var(--bg-surface-2);
}

.fd-problem-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr;
  gap: 1.25rem;
  width: min(100%, 84rem);
  align-items: stretch;
}

.fd-problem-card {
  position: relative;
  min-height: 15rem;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 12px 34px rgba(3,28,65,0.06);
  text-align: left;
  overflow: hidden;
}

.fd-problem-card::after {
  display: none;
}

.fd-problem-kicker,
.fd-problem-void span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: rgba(197,179,88,0.9);
  text-transform: uppercase;
}

.fd-problem-card strong {
  display: block;
  margin: 0.45rem 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.12;
}

.fd-problem-card p {
  max-width: 25rem;
  color: var(--color-steel);
  font-size: 0.86rem;
  line-height: 1.45;
}

.fd-ledger,
.fd-action-stack {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.fd-ledger span,
.fd-action-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.52rem 0.65rem;
  border-radius: 12px;
  background: rgba(3,28,65,0.04);
  color: var(--color-steel);
  font-size: 0.82rem;
  line-height: 1.2;
}

.fd-ledger em,
.fd-action-stack em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-navy);
}

.fd-problem-void {
  position: relative;
  min-height: 15rem;
  display: grid;
  place-items: center;
}

.fd-problem-void::before,
.fd-problem-void::after {
  display: none;
}

.fd-problem-void::before { left: -1rem; }
.fd-problem-void::after { right: -1rem; }

.fd-problem-ring {
  position: relative;
  width: 9.6rem;
  height: 9.6rem;
  border-radius: 999px;
  border: 1px dashed rgba(3,28,65,0.22);
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,0.55);
  box-shadow: inset 0 0 28px rgba(3,28,65,0.05);
}

.fd-problem-ring::before {
  display: none;
}

.fd-problem-ring strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.fd-problem-ring span {
  max-width: 6.2rem;
  margin: 0.45rem auto 0;
  color: var(--color-steel);
  font-size: 0.7rem;
  line-height: 1.35;
}

.fd-data-system {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 1.2rem;
  width: min(100%, 84rem);
  align-items: stretch;
}

.fd-data-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.fd-data-rail .fd-stream {
  min-height: auto;
  padding: 1rem;
}

.fd-data-rail .fd-stream p {
  font-size: 0.84rem;
  line-height: 1.35;
}

.fd-data-rail .fd-stream::before {
  display: none;
}

.fd-data-machine {
  position: relative;
  min-height: 15rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 22px 52px rgba(0,0,0,0.18);
}

.fd-data-machine::before {
  display: none;
}

.fd-machine-header,
.fd-signal-matrix,
.fd-machine-footer {
  position: relative;
  z-index: 1;
}

.fd-machine-header span {
  display: block;
  font-family: var(--font-heading);
  color: rgba(197,179,88,0.9);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fd-machine-header strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--fd-white);
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 0.95;
}

.fd-signal-matrix {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.28rem;
  margin: 0.9rem 0;
}

.fd-signal-matrix i {
  display: block;
  height: 1.78rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
  animation: fdBlink 3s ease-in-out infinite;
}

.fd-signal-matrix i:nth-child(3n) { background: rgba(197,179,88,0.62); animation-delay: 0.5s; }
.fd-signal-matrix i:nth-child(4n) { background: rgba(135,186,194,0.5); animation-delay: 1s; }
.fd-signal-matrix i:nth-child(7n) { animation-delay: 1.4s; }

.fd-machine-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.fd-machine-footer span {
  padding: 0.65rem;
  border-radius: var(--radius-lg);
  background: rgba(3,28,65,0.28);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
  line-height: 1.25;
}

.fd-data-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.fd-stream {
  position: relative;
  min-height: 12rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  text-align: left;
}

.fd-stream::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(197,179,88,0.9), transparent);
  animation: fdTrace 2.8s linear infinite;
}

.fd-stream strong,
.fd-tile strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  line-height: 1.15;
  margin: 0.5rem 0 0.45rem;
}

.fd-stream p,
.fd-tile p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.62);
}

.fd-stream-index,
.fd-tile-index {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(197,179,88,0.82);
  letter-spacing: 0.1em;
}

.fd-foundation-core {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.fd-foundation-core::before,
.fd-foundation-core::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,179,88,0.65), transparent);
}

.fd-foundation-pill {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(197,179,88,0.16);
  border: 1px solid rgba(197,179,88,0.36);
  color: var(--fd-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  white-space: nowrap;
}

.fd-cluster-diagram {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.fd-merged-story {
  width: min(100%, 84rem);
  margin-inline: auto;
}

.fd-column {
  display: grid;
  gap: 0.8rem;
}

.fd-tile {
  padding: 1.18rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.07);
  box-shadow: 0 1px 3px rgba(3,28,65,0.05), 0 10px 24px rgba(3,28,65,0.04);
  text-align: left;
}

.fd-tile p { color: var(--color-steel); }

.fd-cluster-canvas {
  position: relative;
  min-height: 18rem;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  border: 1px solid rgba(3,28,65,0.1);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(3,28,65,0.14);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
}

.fd-cluster-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fd-cluster-line {
  display: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  animation: fdDash 8s linear infinite;
}

.fd-cluster-dot {
  fill: rgba(197,179,88,0.95);
  filter: drop-shadow(0 0 8px rgba(197,179,88,0.35));
  animation: fdPulseDot 3s ease-in-out infinite;
}

.fd-cluster-label {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 11.5rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--fd-white);
  text-align: center;
}

.fd-ai-points {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 18rem);
}

.fd-ai-points span {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.58rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: left;
}

.fd-ai-points strong {
  color: var(--fd-gold-500);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.fd-cluster-label strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.15;
}

.fd-cluster-label span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
}

.fd-loop {
  position: relative;
  width: min(100%, 54rem);
  height: 19rem;
  margin: 0 auto;
}

.fd-loop-ring {
  position: absolute;
  inset: 1.2rem 9rem;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.22);
  animation: fdSpin 24s linear infinite;
}

.fd-loop-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(197,179,88,0.16);
  border: 1px solid rgba(197,179,88,0.34);
  text-align: center;
}

.fd-loop-core strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--fd-white);
  line-height: 1.15;
}

.fd-loop-core span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
}

.fd-loop-node {
  position: absolute;
  width: 11rem;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}

.fd-loop-node strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--fd-white);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.fd-loop-node span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.35;
}

.fd-loop-node:nth-of-type(3) { left: 2rem; top: 0; }
.fd-loop-node:nth-of-type(4) { right: 2rem; top: 0; }
.fd-loop-node:nth-of-type(5) { right: 2rem; bottom: 0; }
.fd-loop-node:nth-of-type(6) { left: 2rem; bottom: 0; }

.fd-activation {
  width: min(100%, 84rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.fd-activation-line {
  display: none;
}

.fd-activation-line:nth-child(1) { transform: rotate(0deg); }
.fd-activation-line:nth-child(2) { transform: rotate(36deg); }
.fd-activation-line:nth-child(3) { transform: rotate(72deg); }
.fd-activation-line:nth-child(4) { transform: rotate(108deg); }
.fd-activation-line:nth-child(5) { transform: rotate(144deg); }

.fd-activation-core {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 14px 36px rgba(3,28,65,0.1);
  text-align: left;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.fd-activation-core strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.15;
}

.fd-activation-core span {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.fd-activation-node {
  min-height: 8.1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 10px 30px rgba(3,28,65,0.08);
  text-align: left;
  animation: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-content: start;
  justify-items: start;
}

.fd-app-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12.8%;
  object-fit: contain;
}

.fd-activation-node strong {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.fd-activation-node span {
  display: block;
  font-size: 0.84rem;
  color: var(--color-steel);
  line-height: 1.35;
}

.fd-activation-node:nth-of-type(7),
.fd-activation-node:nth-of-type(8),
.fd-activation-node:nth-of-type(9),
.fd-activation-node:nth-of-type(10),
.fd-activation-node:nth-of-type(11) {
  position: static;
  transform: none;
}

.fd-proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  width: min(100%, 84rem);
  align-items: stretch;
}

.fd-proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.fd-proof-metric {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.fd-proof-metric strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-mustard);
}

.fd-proof-metric span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.62);
}

.fd-proof-panel {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.fd-proof-bar {
  margin-top: 1rem;
}

.fd-proof-bar span {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
}

.fd-proof-bar i {
  display: block;
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.fd-proof-bar i::before {
  content: '';
  display: block;
  width: var(--w, 80%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-mustard), var(--color-mint));
  animation: fdGrow 1.4s var(--ease-brand) both;
}

.fd-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(100%, 86rem);
}

.fd-impact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.fd-impact-value {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 0.95;
  color: var(--color-mustard);
  letter-spacing: -0.01em;
}

.fd-impact-value em {
  font-style: normal;
  font-size: 1.6rem;
  vertical-align: baseline;
  margin-right: 0.05em;
  color: var(--color-mint);
}

.fd-impact-label {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.15;
  color: #fff;
}

.fd-impact-app {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12em 0.5em;
  border-radius: 999px;
  font-family: var(--font-body, inherit);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--color-mint);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.fd-impact-note {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.6);
  margin-top: auto;
}

.fd-impact-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  width: min(100%, 86rem);
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.fd-impact-foot span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.66);
}

.fd-impact-foot span strong {
  color: var(--color-mustard);
  font-weight: 600;
}

.fd-moat-stack {
  width: min(100%, 68rem);
  display: grid;
  gap: 0.55rem;
  margin-inline: auto;
}

.fd-moat-layer {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 1px 3px rgba(3,28,65,0.05), 0 8px 24px rgba(3,28,65,0.04);
  text-align: left;
}

.fd-moat-layer strong {
  font-family: var(--font-heading);
  line-height: 1.1;
}

.fd-moat-layer span {
  font-size: 0.82rem;
  color: var(--color-steel);
  line-height: 1.42;
}

.slide[data-slide-id="custom-moat"] .fd-moat-stack {
  width: min(100%, 80rem);
  gap: 0.45rem;
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer {
  grid-template-columns: 13rem 1fr;
  border-left: 5px solid rgba(197,179,88,0.8);
  padding-block: 0.72rem;
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer:nth-child(2) {
  width: 92%;
  margin-left: 4%;
  border-left-color: rgba(135,186,194,0.85);
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer:nth-child(3) {
  width: 84%;
  margin-left: 8%;
  border-left-color: rgba(47,107,115,0.85);
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer:nth-child(4) {
  width: 76%;
  margin-left: 12%;
  border-left-color: rgba(162,156,88,0.9);
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer:nth-child(5) {
  width: 68%;
  margin-left: 16%;
  background: var(--color-navy);
  color: var(--fd-white);
  border-left-color: rgba(197,179,88,1);
}

.slide[data-slide-id="custom-moat"] .fd-moat-layer:nth-child(5) span {
  color: rgba(255,255,255,0.68);
}

.fd-platform-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: min(100%, 68rem);
}

.fd-platform-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  overflow: hidden;
}

.fd-platform-card::before {
  content: '';
  position: absolute;
  inset: auto 1.35rem 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(197,179,88,0.9), rgba(135,186,194,0.5));
  animation: fdTrace 3s linear infinite;
}

.fd-platform-card strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--fd-white);
  margin-bottom: 0.45rem;
}

.fd-platform-card span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.fd-platform-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 0.85rem;
  width: min(100%, 86rem);
  align-items: center;
}

.fd-equation-card,
.fd-equation-results {
  min-height: 13.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
}

.fd-equation-card {
  display: grid;
  align-content: center;
  padding: 1.25rem;
  text-align: left;
}

.fd-equation-card strong {
  display: block;
  color: var(--fd-white);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.12;
  margin-bottom: 0.45rem;
}

.fd-equation-card span {
  color: rgba(255,255,255,0.64);
  font-size: 0.78rem;
  line-height: 1.45;
}

.fd-equation-core {
  background: rgba(197,179,88,0.16);
  border-color: rgba(197,179,88,0.35);
}

.fd-product-strip {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.fd-product-strip img {
  width: 2rem;
  height: 2rem;
  border-radius: 12.8%;
  object-fit: contain;
}

.fd-equation-operator {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--color-mustard);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.fd-equation-results {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.fd-equation-results span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(3,28,65,0.34);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  line-height: 1.25;
}

.fd-equation-results strong {
  color: var(--fd-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.fd-revenue-system {
  width: min(100%, 84rem);
  display: grid;
  gap: 1rem;
  margin-inline: auto;
}

.fd-perticket-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle, rgba(3,28,65,0.12));
  text-align: center;
}

.fd-perticket-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-steel);
}

.fd-perticket-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-mustard-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.fd-perticket-value em {
  font-style: normal;
  font-size: 0.7em;
  vertical-align: baseline;
  margin-right: 0.04em;
}

.fd-perticket-copy {
  font-size: 0.9rem;
  color: var(--color-steel);
  max-width: 34rem;
}

.fd-revenue-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fd-revenue-tier {
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--fd-white);
  border: 1px solid rgba(3,28,65,0.1);
  box-shadow: 0 16px 38px rgba(3,28,65,0.12);
  text-align: left;
}

.fd-revenue-tier-alt {
  background: var(--fd-teal-700);
}

.fd-revenue-tier span,
.fd-revenue-card span {
  display: block;
  color: var(--color-mustard);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

.fd-revenue-tier strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.14;
  margin-bottom: 0.45rem;
}

.fd-revenue-tier p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.42;
}

.fd-revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fd-revenue-card {
  min-height: 10rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 1px 3px rgba(3,28,65,0.05), 0 12px 30px rgba(3,28,65,0.06);
  text-align: left;
}

.fd-revenue-card strong {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.14rem;
  line-height: 1.14;
  margin-bottom: 0.45rem;
}

.fd-revenue-card p {
  color: var(--color-steel);
  font-size: 0.88rem;
  line-height: 1.42;
}

.fd-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(100%, 84rem);
}

.fd-roadmap-step {
  position: relative;
  padding: 1.25rem;
  min-height: 10.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 12px 34px rgba(3,28,65,0.08);
  text-align: left;
}

.fd-roadmap-step::after {
  content: '';
  position: absolute;
  top: 2.1rem;
  right: -0.95rem;
  width: 0.9rem;
  height: 2px;
  background: rgba(3,28,65,0.22);
}

.fd-roadmap-step:last-child::after { display: none; }

.fd-roadmap-step strong {
  display: block;
  font-family: var(--font-heading);
  line-height: 1.12;
  margin: 0.8rem 0 0.45rem;
}

.fd-roadmap-step p {
  font-size: 0.78rem;
  color: var(--color-steel);
  line-height: 1.45;
}

.slide[data-slide-id="custom-proof"] .fd-proof-metric {
  min-height: 8.4rem;
  background: var(--color-navy);
  border-color: rgba(3,28,65,0.08);
  box-shadow: 0 14px 34px rgba(3,28,65,0.12);
}

.slide[data-slide-id="custom-proof"] .fd-proof-panel {
  background: var(--bg-surface);
  border-color: rgba(3,28,65,0.08);
  box-shadow: 0 14px 34px rgba(3,28,65,0.12);
}

.slide[data-slide-id="custom-proof"] .fd-proof-panel .text-white,
.slide[data-slide-id="custom-proof"] .fd-proof-panel .text-white-60 {
  color: var(--color-navy);
}

.slide[data-slide-id="custom-proof"] .fd-proof-bar span {
  color: var(--color-steel);
}

.slide[data-slide-id="custom-proof"] .fd-proof-bar i {
  background: rgba(3,28,65,0.08);
}

@keyframes fdPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes fdFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.35rem; }
}

@keyframes fdTrace {
  0% { transform: translateX(-35%); opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { transform: translateX(35%); opacity: 0; }
}

@keyframes fdTraceY {
  0% { transform: translateY(-35%); opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { transform: translateY(35%); opacity: 0; }
}

@keyframes fdBlink {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  45%, 60% { opacity: 1; transform: scale(1); }
}

@keyframes fdDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -96; }
}

@keyframes fdPulseDot {
  0%, 100% { opacity: 0.62; r: 4; }
  50% { opacity: 1; r: 5.5; }
}

@keyframes fdSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fdGrow {
  from { transform: scaleX(0); transform-origin: left center; }
  to { transform: scaleX(1); transform-origin: left center; }
}

@media (max-width: 1100px) {
  .fd-data-flow,
  .fd-roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .fd-roadmap-step::after {
    display: none;
  }

  .fd-cluster-diagram,
  .fd-proof-grid,
  .fd-platform-map,
  .fd-platform-equation,
  .fd-data-system,
  .fd-problem-map,
  .fd-revenue-tiers {
    grid-template-columns: 1fr;
  }

  .fd-revenue-grid,
  .fd-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-equation-operator {
    width: auto;
    height: auto;
    background: transparent;
  }

  .fd-equation-card,
  .fd-equation-results {
    min-height: auto;
  }

  .fd-machine-footer {
    grid-template-columns: 1fr;
  }

  .fd-problem-card,
  .fd-problem-void {
    min-height: auto;
  }

  .fd-problem-void {
    padding: 0.35rem 0;
  }

  .fd-problem-void::before,
  .fd-problem-void::after {
    display: none;
  }

  .fd-problem-ring {
    width: 100%;
    height: auto;
    min-height: 4.8rem;
    border-radius: var(--radius-lg);
  }

  .fd-cluster-canvas {
    min-height: 13.5rem;
  }

  .fd-loop,
  .fd-activation {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .fd-loop-ring,
  .fd-activation-line {
    display: none;
  }

  .fd-loop-core,
  .fd-activation-core,
  .fd-loop-node,
  .fd-activation-node {
    position: static;
    transform: none;
    width: auto;
  }

  .fd-loop-core,
  .fd-activation-core {
    grid-column: 1 / -1;
  }

  .slide[data-slide-id="custom-moat"] .fd-moat-layer {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 10rem 1fr;
  }
}

@media (max-width: 720px) {
  .fd-data-flow,
  .fd-roadmap,
  .fd-proof-metrics,
  .fd-loop,
  .fd-activation,
  .fd-revenue-grid,
  .fd-impact-grid {
    grid-template-columns: 1fr;
  }

  .slide[data-slide-id="custom-revenue_streams"] .slide-inner {
    justify-content: flex-start;
    padding-top: 3.35rem;
    padding-bottom: 7rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .heading-lg {
    font-size: 1.45rem;
    line-height: 1.08;
    margin-bottom: 0.45rem !important;
  }

  .slide[data-slide-id="custom-revenue_streams"] .text-lg {
    font-size: 0.76rem;
    line-height: 1.34;
    margin-bottom: 0.55rem !important;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-system {
    gap: 0.45rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-tier {
    padding: 0.58rem 0.62rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-tier strong {
    font-size: 0.74rem;
    margin-bottom: 0.28rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-tier p {
    display: none;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-card {
    min-height: auto;
    padding: 0.58rem 0.62rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-card span,
  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-tier span {
    font-size: 0.52rem;
    margin-bottom: 0.2rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-card strong {
    font-size: 0.76rem;
    margin-bottom: 0.2rem;
  }

  .slide[data-slide-id="custom-revenue_streams"] .fd-revenue-card p {
    font-size: 0.56rem;
    line-height: 1.22;
  }

  .fd-signal-matrix {
    grid-template-columns: repeat(8, 1fr);
  }

  .fd-data-rail {
    grid-template-columns: 1fr;
  }

  .slide[data-slide-id="custom-moat"] .fd-moat-layer {
    grid-template-columns: 1fr;
  }

  .fd-equation-results span {
    align-items: flex-start;
    flex-direction: column;
  }

  .fd-orbit {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .fd-core,
  .fd-orbit-node {
    position: static;
    transform: none;
    width: auto;
  }

  .fd-cover-title {
    font-size: 2.25rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: min(100%, 22rem);
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-core {
    padding: 0.82rem;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    text-align: center;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-core strong {
    font-size: 1rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-core span {
    font-size: 0.8rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-node {
    min-height: 5.35rem;
    padding: 0.7rem;
    gap: 0.42rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-app-icon {
    width: 2rem;
    height: 2rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-node strong {
    font-size: 0.92rem;
  }

  .slide[data-slide-id="custom-activation"] .fd-activation-node span {
    font-size: 0.66rem;
  }

  .fd-foundation-core {
    grid-template-columns: 1fr;
  }

  .fd-foundation-core::before,
  .fd-foundation-core::after {
    display: none;
  }

  .slide[data-slide-id="custom-platform_value"] .slide-inner {
    justify-content: flex-start;
    padding-top: 3.75rem;
    padding-bottom: 7rem;
  }

  .slide[data-slide-id="custom-platform_value"] .heading-lg {
    font-size: 1.75rem;
    line-height: 1.08;
    margin-bottom: 0.5rem !important;
  }

  .slide[data-slide-id="custom-platform_value"] .text-lg {
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.75rem !important;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-platform-equation {
    gap: 0.45rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-card {
    padding: 0.85rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-card strong {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-card span {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-operator {
    font-size: 1.05rem;
    line-height: 1;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-product-strip {
    gap: 0.35rem;
    margin-top: 0.55rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-product-strip img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-results {
    gap: 0.35rem;
    padding: 0.55rem;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-results span {
    padding: 0.45rem 0.55rem;
    gap: 0.2rem;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .slide[data-slide-id="custom-platform_value"] .fd-equation-results strong {
    font-size: 0.78rem;
  }
}

/* Auto-hide the nav bar + mouse cursor while the pointer is idle
   (toggled by present.js so keyboard navigation stays distraction-free). */
body.nav-idle { cursor: none; }
body.nav-idle .nav-bar { opacity: 0; pointer-events: none; }
.nav-bar.theme-light {
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 4px 20px rgba(3, 28, 65, 0.1), 0 1px 3px rgba(3, 28, 65, 0.06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-bar.theme-dark {
  background: rgba(3, 28, 65, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

.nav-arrow {
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.theme-light .nav-arrow { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-arrow:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-arrow { background: rgba(255, 255, 255, 0.1); color: var(--fd-white); }
.theme-dark .nav-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.nav-arrow:disabled { opacity: 0.3; cursor: default; }
.nav-arrow:disabled:hover { background: inherit; }
.nav-arrow svg { width: 16px; height: 16px; }

.nav-dots { display: flex; gap: 6px; align-items: center; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; transition: all 0.2s var(--ease-brand); padding: 0; }
.theme-light .nav-dot { background: rgba(3, 28, 65, 0.15); }
.theme-dark .nav-dot { background: rgba(255, 255, 255, 0.2); }
.nav-dot.active { background: var(--color-mustard) !important; width: 24px; border-radius: 100px; }

.nav-counter { font-size: 0.7rem; font-weight: 600; white-space: nowrap; min-width: 2.5rem; text-align: center; }
.theme-light .nav-counter { color: var(--color-steel); }
.theme-dark .nav-counter { color: rgba(255, 255, 255, 0.5); }

.nav-sep { width: 1px; height: 20px; flex-shrink: 0; }

/* Fullscreen button */
.nav-fullscreen {
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.nav-fullscreen svg { width: 16px; height: 16px; }
.theme-light .nav-fullscreen { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-fullscreen:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-fullscreen { background: rgba(255, 255, 255, 0.1); color: var(--fd-white); }
.theme-dark .nav-fullscreen:hover { background: rgba(255, 255, 255, 0.2); }
.nav-fullscreen .fs-exit { display: none; }
:fullscreen .nav-fullscreen .fs-enter { display: none; }
:fullscreen .nav-fullscreen .fs-exit { display: block; }
.theme-light .nav-sep { background: rgba(3, 28, 65, 0.1); }
.theme-dark .nav-sep { background: rgba(255, 255, 255, 0.1); }

.nav-bar .nav-download,
.nav-bar .nav-fullscreen,
.nav-bar .nav-sep {
  display: none;
}

/* ===== Text-size control (PWA / standalone present mode) =====
   Hidden by default; present.js reveals it (via html.pwa-standalone) only
   when the viewer runs as an installed PWA / added-to-home-screen app. */
.nav-textsize {
  display: none;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 10px;
  margin-left: 2px;
}
html.pwa-standalone .nav-textsize { display: flex; }
.nav-textsize::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
}
.theme-light .nav-textsize::before { background: rgba(3, 28, 65, 0.1); }
.theme-dark .nav-textsize::before { background: rgba(255, 255, 255, 0.1); }

.nav-textbtn {
  width: 34px; height: 34px;
  border-radius: 50%; border: none;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600; line-height: 1;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.nav-textbtn.small { font-size: 12px; }
.nav-textbtn.large { font-size: 18px; }
.theme-light .nav-textbtn { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-textbtn:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-textbtn { background: rgba(255, 255, 255, 0.1); color: var(--fd-white); }
.theme-dark .nav-textbtn:hover { background: rgba(255, 255, 255, 0.2); }
.nav-textbtn:disabled { opacity: 0.3; cursor: default; }
.theme-light .nav-textbtn:disabled:hover { background: rgba(3, 28, 65, 0.06); }
.theme-dark .nav-textbtn:disabled:hover { background: rgba(255, 255, 255, 0.1); }

/* When text is scaled up, let slides scroll instead of clipping content. */
html.fd-text-scaled .slide {
  overflow-y: auto;
  overflow-x: hidden;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
}
html.fd-text-scaled .slide-inner {
  height: auto;
  min-height: 100%;
}

/* =====================================================================
 * LECTURE SLIDES ("lectures" family)
 * ---------------------------------------------------------------------
 * Visual systems for the custom guest-lecture deck ("Pricing is
 * strategy"). Built on the same tokens and rhythm as the company /
 * customer slides — Syne headings, Gantari body, gold accents, navy
 * surfaces — so lecture slides sit natively in the shared library.
 * ===================================================================== */

/* Cover meta line */
.fd-lec-cover-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.62);
}
.fd-lec-cover-meta em { font-style: normal; color: var(--color-mustard); }

/* Section-divider kicker (big centred label used on divider slides) */
.fd-lec-section-kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-mustard);
  margin-bottom: 1rem;
}

/* Agenda */
.fd-lec-agenda {
  width: min(100%, 62rem);
  display: grid;
  gap: 0.9rem;
  margin-inline: auto;
}
.fd-lec-agenda-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 10px 30px rgba(3,28,65,0.06);
  text-align: left;
}
.fd-lec-agenda-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-mustard);
}
.fd-lec-agenda-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}
.fd-lec-agenda-item span { font-size: 0.95rem; color: var(--color-steel); }

/* Two frameworks */
.fd-lec-frameworks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: min(100%, 78rem);
  margin-inline: auto;
}
.fd-lec-fw-card {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 12px 34px rgba(3,28,65,0.07);
  text-align: left;
}
.fd-lec-fw-author { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.15rem; }
.fd-lec-fw-avatar {
  width: 3.1rem;
  height: 3.1rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  background: var(--color-navy);
}
.fd-lec-fw-card:nth-child(2) .fd-lec-fw-avatar { background: var(--fd-teal-700); }
.fd-lec-fw-author strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-navy); }
.fd-lec-fw-author span { font-size: 0.82rem; color: var(--color-steel); }
.fd-lec-fw-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-mustard-dark);
}
.fd-lec-fw-card h3 { font-family: var(--font-heading); font-size: 1.55rem; line-height: 1.1; color: var(--color-navy); margin-bottom: 0.55rem; }
.fd-lec-fw-card p { color: var(--color-steel); font-size: 0.95rem; line-height: 1.5; }

/* Value-chain transformation (integrated ↔ modularized) */
.fd-vchain { width: min(100%, 80rem); display: grid; gap: 0.5rem; margin-inline: auto; }
.fd-vchain-row { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: 1.2rem; }
.fd-vchain-label { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-navy); text-align: right; line-height: 1.1; }
.fd-vchain-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.4rem; }
.fd-vchain-seg {
  padding: 0.9rem 0.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
  border: 1px solid transparent;
}
.fd-vchain-seg small { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.2rem; }
/* Colour-blind-safe pair: blue = integrated, amber = modularised (avoids red/green). */
.fd-vchain-seg.int { background: var(--fd-navy-050); color: var(--fd-navy-700); border-color: rgba(27,72,137,0.35); }
.fd-vchain-seg.mod { background: var(--fd-gold-200); color: var(--fd-gold-700); border-color: rgba(168,154,62,0.45); }
.fd-vchain-arrow {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.2rem;
  margin: 0.15rem 0;
}
.fd-vchain-arrow-inner {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-steel);
}
.fd-vchain-arrow-inner span { display: inline-flex; align-items: center; gap: 0.4rem; }
.fd-vchain-arrow-inner b { color: var(--color-navy); font-weight: 700; }
.fd-vchain-legend {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-steel);
}
.fd-vchain-legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; margin-right: 0.4rem; vertical-align: -1px; }
.fd-vchain-legend i.int { background: var(--fd-navy-500); }
.fd-vchain-legend i.mod { background: var(--fd-gold-600); }
.fd-vchain-legend i.neu { background: transparent; border: 1px dashed rgba(3,28,65,0.4); }

/* Aggregation case studies (Hotels→Airbnb, Taxis→Uber, Networks→Netflix).
   Keeps the Stratechery value-chain method: each industry shows its chain
   before → after so the integrated/modularised shift is visible at a glance. */
.fd-agg-shifts {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  width: min(100%, 74rem);
  margin-inline: auto;
}
.fd-agg-shift {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: center;
  text-align: left;
}
.fd-agg-shift-sector { font-family: var(--font-heading); font-size: 1rem; color: var(--color-navy); line-height: 1.15; }
.fd-agg-shift-sector small { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--color-mustard-dark); margin-bottom: 0.2rem; }
.fd-agg-shift-sector em { font-style: normal; color: var(--color-mustard-dark); }
.fd-agg-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.fd-agg-bar { display: grid; grid-template-columns: 4.5rem repeat(4, 1fr); gap: 0.35rem; align-items: stretch; }
.fd-agg-bar-tag { display: flex; align-items: center; font-size: 0.72rem; font-weight: 700; color: var(--color-navy); }
.fd-agg-seg {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 2rem; padding: 0.3rem 0.35rem; border-radius: 8px;
  border: 1px solid transparent; font-size: 0.7rem; font-weight: 600; line-height: 1.05;
}
/* Palette pair (brand navy + gold) — deliberately not red/green. */
.fd-agg-seg.int { background: var(--fd-navy-050); color: var(--fd-navy-700); border-color: rgba(27,72,137,0.30); }
.fd-agg-seg.mod { background: var(--fd-gold-200); color: var(--fd-gold-700); border-color: rgba(168,154,62,0.45); }
.fd-agg-seg.neu { background: transparent; color: var(--color-steel); border-color: rgba(3,28,65,0.18); border-style: dashed; }

/* Spotify vs Netflix comparison (dark) */
.fd-lec-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.3rem; width: min(100%, 78rem); align-items: stretch; margin-inline: auto; }
.fd-lec-vs-card { padding: 1.6rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); text-align: left; }
.fd-lec-vs-sub { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-mustard); margin-bottom: 0.85rem; }
.fd-lec-vs-card h3 { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; margin-bottom: 0.3rem; }
.fd-lec-vs-list { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.fd-lec-vs-list li { position: relative; padding-left: 1.2rem; font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.42; }
.fd-lec-vs-list li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.42rem; height: 0.42rem; border-radius: 999px; background: var(--color-mustard); }
.fd-lec-vs-op { align-self: center; justify-self: center; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); font-family: var(--font-heading); font-size: 0.9rem; color: var(--color-mustard); }

/* Janz's farm — animals along the ARPA axis */
.fd-lec-farm { width: min(100%, 90rem); margin-inline: auto; }
.fd-lec-farm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; align-items: start; }
.fd-lec-animal {
  padding: 1.1rem 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 10px 26px rgba(3,28,65,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 12.5rem;
}
.fd-lec-animal:nth-child(2) { margin-top: 1.5rem; }
.fd-lec-animal:nth-child(3) { margin-top: 3rem; }
.fd-lec-animal:nth-child(4) { margin-top: 4.5rem; }
.fd-lec-animal:nth-child(5) { margin-top: 6rem; }
.fd-lec-animal-emoji { font-size: 2.5rem; line-height: 1; }
.fd-lec-animal-name { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-navy); }
.fd-lec-animal-arpa { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-mustard-dark); line-height: 1; }
.fd-lec-animal-cust { font-size: 0.76rem; color: var(--color-steel); }
.fd-lec-animal-strat { margin-top: auto; padding-top: 0.55rem; border-top: 1px solid var(--border-subtle); font-size: 0.76rem; line-height: 1.3; color: var(--color-navy); }
.fd-lec-farm-axis { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; padding-top: 0.7rem; border-top: 1px solid var(--border-default); font-size: 0.8rem; font-weight: 600; color: var(--color-steel); }
.fd-lec-farm-axis span em { font-style: normal; color: var(--color-navy); }

/* Unit-economics table (dark) */
.fd-lec-table { width: min(100%, 90rem); margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.fd-lec-table table { width: 100%; border-collapse: collapse; }
.fd-lec-table th, .fd-lec-table td { padding: 0.8rem 1rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fd-lec-table thead th { background: rgba(255,255,255,0.06); }
.fd-lec-table thead th .fd-lec-th-emoji { font-size: 2rem; line-height: 1; display: block; }
.fd-lec-table thead th .fd-lec-th-name { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.fd-lec-table tbody th { text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; color: rgba(255,255,255,0.72); }
.fd-lec-table tbody th small { display: block; font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.fd-lec-table tbody td { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.fd-lec-table tbody tr:last-child th, .fd-lec-table tbody tr:last-child td { border-bottom: none; }
.fd-lec-table tbody td:last-child { color: var(--color-mustard); }

/* Workshop */
.fd-lec-workshop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; width: min(100%, 80rem); margin-inline: auto; }
.fd-lec-q {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(3,28,65,0.08);
  box-shadow: 0 12px 30px rgba(3,28,65,0.06);
  text-align: left;
}
.fd-lec-q-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.fd-lec-q strong { display: block; font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-navy); margin-bottom: 0.35rem; }
.fd-lec-q span { font-size: 0.9rem; color: var(--color-steel); line-height: 1.4; }
.fd-lec-meta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.5rem; }
.fd-lec-meta-row span { font-size: 0.86rem; color: var(--color-steel); }
.fd-lec-meta-row strong { color: var(--color-navy); font-weight: 700; }
