/* ============================================================
   MOT Mobility — "Journey Lines" Identity
   Transit-map inspired design system
   Every page is a station · every transition is a journey
   ============================================================ */

:root {
  /* Brand identity — deep transit blue */
  --brand:        #1d4ed8;       /* primary brand */
  --brand-dark:   #1e3a8a;
  --brand-accent: #06b6d4;       /* cyan accent — tech/data */

  /* Real Thai transit line colors (used as section accents) */
  --line-bts-green: #16a34a;     /* BTS Sukhumvit */
  --line-bts-gold:  #ca8a04;
  --line-mrt-blue:  #0ea5e9;     /* MRT Blue */
  --line-mrt-purple: #8b5cf6;    /* MRT Purple */
  --line-mrt-yellow: #eab308;
  --line-mrt-pink:  #ec4899;
  --line-mrt-orange: #f97316;
  --line-arl:       #b91c1c;     /* Airport Rail Link red */
  --line-srt:       #dc2626;     /* SRT Red Line */

  /* Mode chips */
  --mode-bus:   #16a34a;
  --mode-boat:  #06b6d4;
  --mode-taxi:  #f59e0b;
  --mode-moto:  #ec4899;
  --mode-bike:  #84cc16;
  --mode-walk:  #64748b;

  /* Section identities — each slide gets a "line color" */
  --section-cover:    #1d4ed8;
  --section-exec:     #06b6d4;
  --section-origin:   #f59e0b;   /* ที่มา · amber */
  --section-swot:     #8b5cf6;   /* SWOT · purple */
  --section-pillars:  #0ea5e9;   /* 4 เสาหลัก · sky blue */
  --section-roadmap:  #16a34a;   /* Roadmap · green */
  --section-app:      #ec4899;   /* MaaS Demo · pink */
  --section-usecase:  #f97316;   /* Use Case · orange */
  --section-impl:     #64748b;   /* Implementation · slate */
  --section-budget:   #ca8a04;   /* Budget · gold */
  --section-kpi:      #06b6d4;   /* KPI · cyan */
  --section-risk:     #dc2626;   /* Risk · red */
  --section-summary:  #1d4ed8;   /* สรุป · brand */

  /* Neutrals */
  --ink:        #0a1628;       /* deep navy ink */
  --ink-2:      #1e293b;
  --ink-3:      #334155;
  --muted:      #475569;
  --line:       rgba(10, 22, 40, .08);
  --line-2:     rgba(10, 22, 40, .14);
  --paper:      #ffffff;
  --paper-2:    #f8fafc;
  --paper-3:    #eef2f7;
  --paper-warm: #fef9f3;

  /* Status */
  --success: #10b981;
  --warn:    #f59e0b;
  --danger:  #ef4444;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, .06);
  --shadow-md: 0 12px 32px rgba(10, 22, 40, .08);
  --shadow-lg: 0 28px 70px rgba(10, 22, 40, .14);
  --shadow-xl: 0 45px 110px rgba(10, 22, 40, .22);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Prompt', 'IBM Plex Sans Thai', system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(6, 182, 212, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(29, 78, 216, .06), transparent 60%),
    #fafbfd;
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Tiny "transit line" decorative element used in many places */
.line-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--line-bts-green), var(--line-mrt-blue), var(--line-mrt-purple), var(--line-arl));
  border-radius: 999px;
  margin: 14px 0 18px;
  position: relative;
}
.line-divider::before, .line-divider::after {
  content: '';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--ink);
}
.line-divider::before { left: -2px; }
.line-divider::after  { right: -2px; }

/* ============================================================
   Top bar — transit-map style
   ============================================================ */
.topbar {
  position: sticky; top: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.brand-logo {
  width: 48px; height: 48px;
  position: relative;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(10, 22, 40, .2);
}
.brand-title {
  font-weight: 800; font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1;
}
.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .2px;
}

.topnav { display: flex; gap: 3px; flex-wrap: wrap; max-width: 70%; justify-content: flex-end; align-items: center; }
.navbtn {
  border: 0; background: transparent;
  font-family: inherit;
  font-size: 12.5px; font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.navbtn:hover { background: var(--paper-3); color: var(--ink); }
.navbtn.active {
  background: var(--ink);
  color: white;
  font-weight: 600;
}

/* The flagship "ลองใช้แอปจริง" button */
.try-app-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
  color: white !important;
  padding: 9px 18px;
  font-weight: 700;
  margin-left: 8px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .32);
  transition: all .25s ease;
}
.try-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 78, 216, .42);
  filter: brightness(1.05);
}

/* ============================================================
   Deck + Slide system
   ============================================================ */
.deck {
  position: relative;
  padding: 36px 28px 140px;
  max-width: 1280px;
  margin: 0 auto;
}
.slide {
  display: none;
  animation: slideIn .55s cubic-bezier(.16, 1, .3, 1);
  min-height: 78vh;
}
.slide.active { display: block; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide header — "station marker" style */
.slide-header { margin-bottom: 32px; position: relative; padding-left: 64px; }
.slide-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 5px solid var(--section-color, var(--brand));
  box-shadow: 0 4px 14px rgba(10, 22, 40, .1);
}
.slide-header::after {
  content: '';
  position: absolute;
  left: 23px; top: 48px; bottom: -20px;
  width: 3px;
  background: var(--section-color, var(--brand));
  opacity: .25;
  border-radius: 2px;
}
.slide-num {
  position: absolute;
  left: 14px; top: 12px;
  font-size: 16px; font-weight: 800;
  color: var(--section-color, var(--brand));
  width: 22px; text-align: center;
}
.slide h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 10px;
}
.slide-lead {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 920px;
  line-height: 1.65;
}
.slide-lead b { color: var(--ink); font-weight: 600; }

/* Section color theming via parent attribute */
.slide[data-slide="0"] { --section-color: var(--section-cover); }
.slide[data-slide="1"] { --section-color: var(--section-exec); }
.slide[data-slide="2"] { --section-color: var(--section-origin); }
.slide[data-slide="3"] { --section-color: var(--section-swot); }
.slide[data-slide="4"] { --section-color: var(--section-pillars); }
.slide[data-slide="5"] { --section-color: var(--section-roadmap); }
.slide[data-slide="6"] { --section-color: var(--section-app); }
.slide[data-slide="7"] { --section-color: var(--section-usecase); }
.slide[data-slide="8"] { --section-color: var(--section-impl); }
.slide[data-slide="9"] { --section-color: var(--section-budget); }
.slide[data-slide="10"] { --section-color: var(--section-kpi); }
.slide[data-slide="11"] { --section-color: var(--section-risk); }
.slide[data-slide="12"] { --section-color: var(--section-summary); }

/* ============================================================
   COVER — Hero with transit map aesthetic
   ============================================================ */
.cover {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 78vh;
  padding-top: 10px;
  position: relative;
}
.slide[data-slide="0"] .slide-header { display: none; }   /* no header on cover */
@media (max-width: 980px) { .cover { grid-template-columns: 1fr; } }

.cover-left { display: flex; flex-direction: column; gap: 22px; position: relative; }

/* Decorative line dots at top of cover */
.cover-stations {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 8px;
}
.cover-station {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid white;
  position: relative; z-index: 2;
}
.cover-station.s1 { background: var(--line-bts-green); }
.cover-station.s2 { background: var(--line-mrt-blue); }
.cover-station.s3 { background: var(--line-mrt-purple); }
.cover-station.s4 { background: var(--line-arl); }
.cover-station-line {
  height: 3px; flex: 1; max-width: 38px;
  background: linear-gradient(90deg, currentColor, currentColor);
}
.cover-stations .cover-station-line:nth-child(2) { color: var(--line-bts-green); }
.cover-stations .cover-station-line:nth-child(4) { color: var(--line-mrt-blue); }
.cover-stations .cover-station-line:nth-child(6) { color: var(--line-mrt-purple); }

.cover-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cover-title {
  font-size: clamp(38px, 7vw, 86px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--ink);
}
.cover-title .grad-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cover-title .thai-title {
  display: block;
  margin-top: 14px;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.cover-sub {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.75;
  max-width: 560px;
}
.cover-sub b { color: var(--ink); font-weight: 600; }

.cover-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.pillar-card {
  background: white;
  padding: 18px 12px;
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid var(--line);
  transition: all .25s ease;
  position: relative;
  cursor: pointer;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 3px;
  background: var(--pillar-c, var(--brand));
  border-radius: 0 0 3px 3px;
}
.pillar-card[data-pillar="ticket"] { --pillar-c: var(--line-mrt-blue); }
.pillar-card[data-pillar="maas"]   { --pillar-c: var(--brand-accent); }
.pillar-card[data-pillar="infra"]  { --pillar-c: var(--line-bts-green); }
.pillar-card[data-pillar="tax"]    { --pillar-c: var(--line-bts-gold); }
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pillar-c);
}
.pillar-ico { font-size: 28px; margin-bottom: 6px; line-height: 1; }
.pillar-label { font-size: 13px; font-weight: 700; color: var(--ink); }

.cover-cta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 6px;
}
.cta-btn {
  background: var(--ink);
  color: white;
  border: 0;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 22, 40, .25);
}
.cta-btn:hover {
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 78, 216, .4);
}
.cta-btn.alt {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.cta-btn.alt:hover {
  background: var(--paper-2);
  border-color: var(--brand);
  color: var(--brand);
}
.cta-btn.flagship {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
  box-shadow: 0 8px 24px rgba(29, 78, 216, .4);
}
.cta-btn.flagship:hover { filter: brightness(1.1); }
.cover-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   Cover right — Transit Map visualization
   ============================================================ */
.cover-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 400px;
}

/* ============================================================
   Generic content components
   ============================================================ */
.card {
  background: white;
  padding: 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.callout {
  background: white;
  padding: 18px 22px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--section-color, var(--brand));
  box-shadow: var(--shadow-sm);
  display: flex; gap: 14px; align-items: flex-start;
  margin: 16px 0;
}
.callout-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-color, var(--brand)) 12%, transparent);
  color: var(--section-color, var(--brand));
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.callout > div:last-child { flex: 1; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.callout b { color: var(--ink); font-weight: 700; }

/* Exec grid */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 14px;
}
.exec-card {
  background: white;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.exec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--section-color, var(--brand));
}
.exec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.exec-ico {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 26px;
  background: color-mix(in srgb, var(--section-color, var(--brand)) 10%, transparent);
  margin-bottom: 14px;
}
.exec-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.exec-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.7;
}
.exec-card b { color: var(--ink-2); font-weight: 600; }

/* Two-column lists */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.col-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  background: white;
  padding: 14px 18px 14px 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  position: relative;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  transition: all .2s ease;
}
.check-list li:hover { border-color: var(--line-2); transform: translateX(2px); }
.check-list li::before {
  content: '⚠';
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--warn);
  font-weight: 800;
  font-size: 15px;
}
.check-list.pos li::before { content: '✓'; color: var(--success); }
.check-list b { color: var(--ink); font-weight: 600; }

/* SWOT */
.swot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 880px) { .swot { grid-template-columns: 1fr; } }
.swot-quad {
  background: white;
  padding: 20px;
  border-radius: var(--r-md);
  border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}
.swot-quad.sw-s { border-top-color: var(--success); }
.swot-quad.sw-w { border-top-color: var(--warn); }
.swot-quad.sw-o { border-top-color: var(--brand); }
.swot-quad.sw-t { border-top-color: var(--danger); }
.swot-h {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.swot-quad ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.swot-quad li {
  font-size: 13.5px;
  color: var(--ink-3);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.swot-quad li::before {
  content: '•';
  position: absolute; left: 4px;
  color: var(--muted);
}

/* PESTEL */
.pestel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.pestel-item {
  background: white;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.pestel-item b {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand); color: white;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}
.pestel-item span { color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }

/* Tables */
.budget-table, .risk-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 16px;
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.budget-table th, .risk-table th {
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  letter-spacing: .3px;
}
.budget-table td, .risk-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.budget-table tbody tr:hover, .risk-table tbody tr:hover { background: var(--paper-2); }
.budget-table b, .risk-table b { color: var(--ink); font-weight: 700; }

/* Phase header — transit station style */
.phase-h {
  font-size: 17px; font-weight: 700;
  color: var(--ink);
  margin: 26px 0 14px;
  display: flex; align-items: center; gap: 12px;
  letter-spacing: -0.3px;
}
.budget-phase {
  background: white;
  padding: 14px 20px;
  border-left: 5px solid var(--section-color, var(--brand));
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: var(--shadow-sm);
}

/* Budget tiers */
.budget-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.budget-tier {
  background: white;
  padding: 26px 20px;
  border-radius: var(--r-md);
  text-align: center;
  border-top: 4px solid var(--muted);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.budget-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.budget-tier.conservative { border-top-color: var(--success); }
.budget-tier.medium {
  border-top-color: var(--warn);
  background: linear-gradient(180deg, #fffbeb 0%, white 100%);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}
.budget-tier.aggressive { border-top-color: var(--danger); }
.bt-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.budget-tier.medium .bt-label { color: var(--warn); }
.bt-amount {
  font-size: 32px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 6px;
}
.bt-sub { font-size: 12.5px; color: var(--muted); }
.budget-context {
  font-size: 13.5px;
  color: var(--ink-3);
  background: white;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* KPI grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.kpi {
  background: white;
  padding: 22px 20px;
  border-radius: var(--r-md);
  border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kpi-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.kpi-n {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-l { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; line-height: 1.4; }
.kpi-d { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* Architecture / layers */
.arch-wrap {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.layer {
  display: flex; align-items: flex-start; gap: 18px;
  background: white;
  padding: 18px 22px;
  border-radius: var(--r-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.layer::before {
  content: '';
  position: absolute;
  left: -1px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 60%;
  background: var(--brand);
  border-radius: 0 3px 3px 0;
}
.layer-l {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
  flex-shrink: 0;
}
.layer-h { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.layer-b { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

/* Closing */
.last-call {
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 32px;
  border-radius: var(--r-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.last-call::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, .15), transparent 70%);
  pointer-events: none;
}
.last-call h3 { font-size: 22px; margin-bottom: 18px; color: white; position: relative; }
.recos {
  list-style: none;
  counter-reset: rec;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.recos li {
  background: rgba(255, 255, 255, .08);
  padding: 14px 18px 14px 56px;
  border-radius: var(--r-sm);
  font-size: 14px;
  position: relative;
  line-height: 1.6;
  counter-increment: rec;
}
.recos li::before {
  content: counter(rec);
  position: absolute; left: 16px; top: 14px;
  background: var(--brand-accent);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.recos b { color: var(--brand-accent); }

.closing-quote {
  background: white;
  padding: 26px 30px 26px 70px;
  border-radius: var(--r-md);
  border-left: 6px solid var(--brand);
  position: relative;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}
.closing-quote .big-q {
  position: absolute; left: 20px; top: 8px;
  font-size: 78px; font-weight: 900;
  color: var(--brand);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .25;
}
.closing-quote b { color: var(--ink); font-weight: 700; }

/* ADKAR / Change strategy */
.change-strat {
  background: white;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.change-strat h3 {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.adkar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.adkar-item {
  background: var(--paper-3);
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.adkar-item b {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand); color: white;
  font-size: 12px; font-weight: 800;
  margin-right: 8px;
}

/* ============================================================
   Floating controls
   ============================================================ */
.controls {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex; align-items: center; gap: 4px;
  background: rgba(10, 22, 40, .94);
  backdrop-filter: blur(20px);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
}
.ctrl {
  width: 36px; height: 36px;
  border: 0; background: rgba(255, 255, 255, .1);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: all .2s ease;
}
.ctrl:hover { background: var(--brand); }
.dots {
  display: flex; gap: 6px;
  padding: 0 8px;
}
.dot-nav {
  width: 8px; height: 8px;
  border: 0; padding: 0;
  background: rgba(255, 255, 255, .35);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
}
.dot-nav:hover { background: rgba(255, 255, 255, .7); }
.dot-nav.active {
  background: var(--brand-accent);
  width: 22px;
  border-radius: var(--r-pill);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp .55s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: var(--d, 0s);
}
.slide:not(.active) .reveal { animation: none; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

#bg-image { z-index: -2; }
#bg-veil  { z-index: -1; }
.bg-grid, .bg-orbs { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .topbar { padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
  .topnav { max-width: 100%; }
  .deck { padding: 24px 16px 120px; }
  .cover { gap: 24px; min-height: auto; }
  .cover-pillars { grid-template-columns: repeat(2, 1fr); }
  .budget-tier-grid { grid-template-columns: 1fr; }
  .budget-tier.medium { transform: none; }
  .budget-table, .risk-table {
    display: block;
    overflow-x: auto;
  }
  .slide-header { padding-left: 56px; }
  .slide-header::before { width: 40px; height: 40px; }
  .slide-num { font-size: 14px; }
}

@media print {
  .topbar, .controls, .footer { display: none; }
  .slide { display: block !important; page-break-after: always; min-height: 0; }
  .bg-orbs, .bg-grid, #ai-traffic-bg, #bg-image, #bg-veil { display: none; }
}
