/* ==========================================================================
   Ryunen Pochama Dynamic Deck Engine v3 — Executive Hairline Edition (1920x1080)
   設計哲学（見本帳01/02 ＋ Claude v2の戦略図解 ＋ ネイティブUIモックの融合）:
   1. 純白面(#FFFFFF)＋シャープな1pxヘアライン(#E2E8EF / #163A5F)で組む
   2. 不要な角丸カード・ドロップシャドウを全廃（影は実画面・UIモックのみ）
   3. 表紙・締めは見本帳01に完全準拠（カード・アイコンゼロ、タイポと青い光だけ）
   4. 下部結論帯は左4pxブルー線＋淡い青面でシャープに引き締め
   5. Apple/Linear系の滑らか慣性モーション cubic-bezier(0.16, 1, 0.3, 1)
   ========================================================================== */

:root {
  --in-navy: #0F172A;
  --in-head: #163A5F;
  --in-ink: #17191D;
  --in-ink-2: #2B3648;
  --in-ink-3: #58677B;
  --in-ink-4: #8A95A6;

  --in-blue: #0284C7;
  --in-blue-d: #0369A1;
  --in-blue-l: #38BDF8;
  --in-blue-50: #EFF8FF;
  --in-blue-100: #DBEAFE;
  --in-blue-200: #BAE6FD;

  --in-white: #FFFFFF;
  --in-surface: #F7F9FC;
  --in-line: #E2E8EF;
  --in-line-strong: #CBD5E1;

  --in-callout: #E03131;

  --in-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --in-en: "Inter", Arial, "Helvetica Neue", system-ui, sans-serif;
  --in-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --in-w: 1920px;
  --in-h: 1080px;
  --in-mx: 108px;
  --in-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0A0D12;
  color: var(--in-ink);
  font-family: var(--in-font);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

#stage-wrap { position: fixed; inset: 0; overflow: hidden; background: #0A0D12; }

#deck {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--in-w);
  height: var(--in-h);
  transform-origin: 0 0;
  background: var(--in-white);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Smooth Slide Transitions */
.slide {
  position: absolute;
  inset: 0;
  width: var(--in-w);
  height: var(--in-h);
  padding: 54px var(--in-mx) 78px;
  display: flex;
  flex-direction: column;
  background: var(--in-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.42s var(--in-ease),
              transform 0.5s var(--in-ease),
              visibility 0s linear 0.5s;
  will-change: opacity, transform;
}

.slide.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.42s var(--in-ease),
              transform 0.5s var(--in-ease),
              visibility 0s linear 0s;
  z-index: 2;
}

.slide.enter-next { transform: translate3d(18px, 0, 0); opacity: 0; }
.slide.enter-prev { transform: translate3d(-18px, 0, 0); opacity: 0; }

.slide .slide-head {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.42s var(--in-ease) 0.03s, transform 0.48s var(--in-ease) 0.03s;
}
.slide.is-current .slide-head { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Cover & Closing — Exact Match to Benchmark 01 (Ultra-Minimal, Zero Cards)
   ========================================================================== */
.slide.slide-dark {
  background: var(--in-navy);
  color: #FFFFFF;
  padding: 78px 124px 72px;
  justify-content: space-between;
}

.slide.slide-dark::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -180px;
  width: 1060px;
  height: 1060px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.36) 0%, rgba(2, 132, 199, 0.1) 42%, rgba(15, 16, 19, 0) 68%);
  pointer-events: none;
}

.cover-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
}

.cover-kicker {
  font-family: var(--in-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #8FB3FF;
  text-transform: uppercase;
  white-space: nowrap;
}

.cover-top-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.cover-center {
  position: relative;
  z-index: 2;
  margin: auto 0;
  max-width: 1420px;
}

.cover-brand-hero {
  font-family: var(--in-en);
  font-size: 132px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0 0 28px;
}

.cover-lead {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0 0 26px;
  word-break: auto-phrase;
}

.cover-lead em { font-style: normal; color: var(--in-blue-l); }

.cover-sub {
  font-size: 24px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-weight: 400;
  word-break: auto-phrase;
}

.closing-hero {
  font-size: 76px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 30px;
  word-break: auto-phrase;
}

.closing-hero em { font-style: normal; color: var(--in-blue-l); }

.cover-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
}

.cover-meta { display: flex; gap: 72px; }
.cover-meta-item { display: flex; flex-direction: column; gap: 7px; }
.cover-meta-label {
  font-family: var(--in-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.48);
}
.cover-meta-val { font-size: 19px; font-weight: 700; color: rgba(255, 255, 255, 0.94); }

.cover-brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cover-brand-lockup img { width: 48px; height: 48px; object-fit: contain; }
.cover-brand-lockup span {
  font-family: var(--in-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  color: #FFFFFF;
}

/* ==========================================================================
   Content Header & Footer — Crisp Hairline Architecture
   ========================================================================== */
.slide-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.head-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--in-ink-3);
  white-space: nowrap;
}

.kicker-sq {
  width: 10px;
  height: 10px;
  background: var(--in-head);
  display: inline-block;
  flex-shrink: 0;
}

.kicker-ch { color: var(--in-head); font-weight: 800; }
.kicker-sep { color: var(--in-ink-4); font-weight: 400; }

.head-rule {
  flex: 1;
  height: 1px;
  background: var(--in-line);
}

.head-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--in-head);
  border: 1px solid var(--in-head);
  padding: 3px 14px;
  white-space: nowrap;
}

.slide-title {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--in-head);
  word-break: auto-phrase;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--in-head);
}

.slide-title em { font-style: normal; color: var(--in-blue); }

.slide-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.body-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Sharp Ryunen Pochama Takeaway Strip (No clunky dark rounded pill) */
.takeaway {
  background: var(--in-blue-50);
  border-left: 4px solid var(--in-blue);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.takeaway-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--in-head);
  line-height: 1.4;
}

.takeaway-main em { font-style: normal; color: var(--in-blue); }

.takeaway-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--in-ink-3);
  white-space: nowrap;
}

.slide-footnote {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--in-ink-3);
  line-height: 1.42;
}

.slide-foot {
  position: absolute;
  left: var(--in-mx);
  right: var(--in-mx);
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--in-ink-4);
}

.chapters { display: flex; align-items: center; gap: 24px; }
.chapters span { position: relative; padding-bottom: 4px; font-weight: 500; }
.chapters span.is-active { color: var(--in-head); font-weight: 800; }
.chapters span.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--in-blue);
}

.foot-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.foot-page {
  font-family: var(--in-en);
  font-size: 15px;
  font-weight: 700;
  color: var(--in-ink-3);
  font-variant-numeric: tabular-nums;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.foot-brand img { width: 22px; height: 22px; object-fit: contain; }
.foot-brand span {
  font-family: var(--in-en);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--in-ink);
}

#deck-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--in-blue);
  transition: width 0.45s var(--in-ease);
  z-index: 30;
}

/* Section Column Sub-Headers (Hairline Style) */
.sec-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--in-head);
  margin-bottom: 20px;
}

.sec-bar strong { font-size: 20px; font-weight: 800; color: var(--in-head); }
.sec-bar span { font-size: 15px; color: var(--in-ink-3); }

/* ==========================================================================
   Slide 02: Leaky Funnel (Left) + Issues & Formula (Right)
   ========================================================================== */
.p2-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: stretch;
  height: 100%;
}

.p2-col { display: flex; flex-direction: column; }

.funnel-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  justify-content: flex-start;
  padding-top: 6px;
}

.fn-row { display: flex; flex-direction: column; gap: 6px; }
.fn-lbl { font-size: 16px; font-weight: 700; color: var(--in-ink-3); }

.fn-bar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #FFFFFF;
  font-weight: 800;
}

.fn-bar strong { font-size: 22px; }
.fn-bar span { font-size: 16px; font-weight: 500; opacity: 0.88; }

.fn-split {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  align-items: stretch;
}

.fn-small-bar {
  background: var(--in-head);
  color: #FFFFFF;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fn-small-bar span { font-size: 14.5px; opacity: 0.8; }
.fn-small-bar strong { font-size: 24px; font-weight: 900; }

.fn-leak {
  border: 1.5px dashed var(--in-blue);
  background: #F7FAFF;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.fn-leak strong { font-size: 20px; font-weight: 800; color: var(--in-blue); }
.fn-leak span { font-size: 15.5px; color: var(--in-ink-2); }

.fn-row-inline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fn-mini-bar { height: 56px; flex-shrink: 0; }
.fn-inline-text strong { font-size: 21px; font-weight: 800; color: var(--in-ink); display: block; }
.fn-inline-text span { font-size: 15.5px; color: var(--in-ink-3); }

/* Right side: 3 hairline issues + Formula */
.p2-issues {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--in-line);
}

.p2-issue {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--in-line);
  align-items: start;
}

.p2-num {
  font-family: var(--in-en);
  font-size: 15px;
  font-weight: 800;
  color: var(--in-blue);
  padding-top: 3px;
}

.p2-issue strong { display: block; font-size: 20px; font-weight: 800; color: var(--in-ink); margin-bottom: 4px; }
.p2-issue p { margin: 0; font-size: 16px; line-height: 1.58; color: var(--in-ink-3); }

.eq-strip {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.eq-node {
  flex: 1;
  background: var(--in-surface);
  border-top: 2px solid var(--in-line-strong);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.eq-node.eq-kgi { background: var(--in-head); border-top-color: var(--in-head); color: #FFFFFF; flex: 1.2; }
.eq-node.eq-hi { background: var(--in-blue-50); border-top: 3px solid var(--in-blue); }

.eq-node strong { font-size: 18px; font-weight: 800; color: var(--in-ink); }
.eq-node span { font-size: 13px; color: var(--in-ink-3); }
.eq-node.eq-kgi strong { color: #FFFFFF; font-size: 19px; }
.eq-node.eq-kgi span { color: rgba(255, 255, 255, 0.78); }
.eq-node.eq-hi span { color: var(--in-blue); font-weight: 700; }

.eq-op { align-self: center; font-family: var(--in-en); font-size: 20px; font-weight: 800; color: var(--in-ink-4); }

/* ==========================================================================
   Slide 03: Volume x Price 2x2 Target Map (Left) + 4 GO Conditions (Right)
   ========================================================================== */
.p3-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: stretch;
  height: 100%;
}

.tmap-wrap { display: flex; flex-direction: column; }

.tmap-box {
  position: relative;
  flex: 1;
  min-height: 490px;
  margin-left: 40px;
  border-left: 2px solid var(--in-ink-2);
  border-bottom: 2px solid var(--in-ink-2);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-rows: 1.15fr 0.85fr;
  padding: 18px 18px 26px 22px;
  gap: 18px;
}

.tmap-axis-y {
  position: absolute;
  left: -102px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 15px;
  font-weight: 700;
  color: var(--in-ink-3);
  white-space: nowrap;
}

.tmap-axis-x {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--in-ink-3);
  margin-top: 10px;
}

.tmap-cell {
  border: 1.5px dashed var(--in-line-strong);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--in-white);
}

.tmap-cell.is-go {
  border: 2.5px solid var(--in-blue);
  background: var(--in-blue-50);
  justify-content: flex-start;
  padding: 24px 26px;
}

.tmap-k { font-family: var(--in-en); font-size: 13.5px; font-weight: 800; color: var(--in-blue); letter-spacing: 0.08em; }
.tmap-cell strong { font-size: 20px; font-weight: 800; color: var(--in-ink-2); }
.tmap-cell.is-go strong { font-size: 25px; color: var(--in-head); margin-top: 2px; }
.tmap-cell p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--in-ink-3); }
.tmap-cell.is-go p { font-size: 16.5px; color: var(--in-ink-2); }

.tmap-sub-note {
  margin-top: 14px;
  margin-left: 40px;
  font-size: 15.5px;
  color: var(--in-ink-3);
}

.cond-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.cond-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--in-line);
  align-items: start;
}

.cond-item:last-child { border-bottom: none; }

.cond-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--in-blue);
  color: #FFFFFF;
  font-family: var(--in-en);
  font-size: 17px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.cond-item strong { display: block; font-size: 22px; font-weight: 800; color: var(--in-ink); margin-bottom: 5px; }
.cond-item p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--in-ink-3); }

/* ==========================================================================
   Slide 04: 7-Stage Value Chain Coverage + 3 Hairline Pillars (Zero Unbalance)
   ========================================================================== */
.vc-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.vc-grid {
  display: grid;
  grid-template-columns: 270px repeat(7, 1fr);
  gap: 12px 8px;
  align-items: center;
}

.vc-chevron {
  background: var(--in-blue-50);
  color: var(--in-head);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  padding: 18px 8px 18px 16px;
  clip-path: polygon(0 0, 91% 0, 100% 50%, 91% 100%, 0 100%, 9% 50%);
}

.vc-chevron:first-of-type {
  clip-path: polygon(0 0, 91% 0, 100% 50%, 91% 100%, 0 100%);
  padding-left: 8px;
}

.vc-row-head { padding: 14px 12px 14px 0; }
.vc-row-head strong { display: block; font-size: 20px; font-weight: 800; color: var(--in-ink); }
.vc-row-head span { display: block; font-size: 14.5px; color: var(--in-ink-3); margin-top: 3px; }
.vc-row-head.is-fdm strong { color: var(--in-blue); font-size: 21px; }

.vc-bar-gray { height: 42px; background: #94A3B8; }
.vc-bar-note { font-size: 16.5px; color: var(--in-ink-3); padding-left: 16px; }

.vc-bar-blue {
  background: var(--in-blue);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 22px;
}

.vc-bar-navy {
  background: var(--in-head);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  padding: 13px 22px;
}

.vc-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--in-line);
}

.pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar-hl {
  border-top: 2.5px solid var(--in-head);
  padding-top: 16px;
}

.pillar-hl span {
  font-family: var(--in-en);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--in-blue);
  display: block;
  margin-bottom: 8px;
}

.pillar-hl strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--in-ink);
  line-height: 1.5;
}

/* ==========================================================================
   Slide 05: Ascending Staircase Product Ladder
   ========================================================================== */
.stair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: end;
  height: 100%;
  padding-top: 10px;
}

.stair-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.stair-top {
  padding-bottom: 18px;
}

.stair-k {
  font-family: var(--in-en);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--in-ink-3);
  margin-bottom: 6px;
  display: block;
}

.stair-col.is-core .stair-k { color: var(--in-blue); }

.stair-h { font-size: 26px; font-weight: 900; color: var(--in-ink); margin: 0 0 12px; }

.stair-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--in-ink-2);
}

.stair-block {
  background: var(--in-surface);
  border-top: 3px solid var(--in-line-strong);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.stair-block.b-step1 { background: var(--in-blue-50); border-top: 4px solid var(--in-blue); height: 240px; }
.stair-block.b-step2 { background: var(--in-head); border-top: 4px solid var(--in-blue); color: #FFFFFF; height: 340px; }
.stair-block.b-step3 { background: var(--in-surface); border-top: 3px solid var(--in-head); height: 280px; }
.stair-block.b-entry { height: 155px; }

.stair-price { font-family: var(--in-en); font-size: 32px; font-weight: 900; color: var(--in-head); }
.stair-block.b-step1 .stair-price { color: var(--in-blue); }
.stair-block.b-step2 .stair-price { color: #FFFFFF; font-size: 28px; }

.stair-note { font-size: 15.5px; line-height: 1.55; color: var(--in-ink-3); }
.stair-block.b-step2 .stair-note { color: rgba(255, 255, 255, 0.86); }

/* ==========================================================================
   Slide 06: Clean Gantt with 45-Day Vertical Dashed Line
   ========================================================================== */
.gantt-shell {
  position: relative;
  display: grid;
  grid-template-columns: 230px repeat(4, 1fr);
  gap: 14px 16px;
  align-items: stretch;
}

.gantt-h {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  padding: 13px 10px;
  background: var(--in-surface);
  color: var(--in-head);
}

.gantt-h.is-qw { background: var(--in-head); color: #FFFFFF; }

.gantt-row-lbl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--in-line);
}
.gantt-row-lbl strong { font-size: 19px; font-weight: 800; color: var(--in-ink); }
.gantt-row-lbl span { font-size: 14px; color: var(--in-ink-3); margin-top: 2px; }

.g-cell {
  background: var(--in-surface);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-left: 3px solid var(--in-line-strong);
  position: relative;
  z-index: 2;
}
.g-cell strong { font-size: 17px; font-weight: 800; color: var(--in-ink); }
.g-cell span { font-size: 14px; color: var(--in-ink-3); }

.g-cell.c-navy { background: var(--in-head); border-left-color: var(--in-head); color: #FFFFFF; }
.g-cell.c-navy strong { color: #FFFFFF; }
.g-cell.c-navy span { color: rgba(255, 255, 255, 0.78); }

.g-cell.c-blue { background: var(--in-blue); border-left-color: var(--in-blue); color: #FFFFFF; }
.g-cell.c-blue strong { color: #FFFFFF; }
.g-cell.c-blue span { color: rgba(255, 255, 255, 0.85); }

.g-cell.c-pale { background: var(--in-blue-50); border-left-color: var(--in-blue); }
.g-cell.c-pale strong { color: var(--in-head); }

.gantt-45-line {
  position: absolute;
  top: 52px;
  bottom: -44px;
  left: calc(230px + 16px + ((100% - 230px - 48px) / 4) * 1.5);
  border-left: 2.5px dashed var(--in-blue);
  z-index: 1;
  pointer-events: none;
}

.gantt-45-badge {
  position: absolute;
  bottom: -46px;
  left: calc(230px + 16px + ((100% - 230px - 48px) / 4) * 1.5 - 64px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}

.gantt-45-badge strong {
  background: var(--in-blue);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 6px 18px;
}

.gantt-45-badge span {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--in-head);
}

/* ==========================================================================
   Slides 07-09: Split Native Mockup (Left 64%) + Frameless Hairline Guide (Right 36%)
   ========================================================================== */
.layout-split {
  display: grid;
  grid-template-columns: 1188px 1fr;
  gap: 50px;
  align-items: center;
  height: 100%;
}

.mock-stage { position: relative; width: 100%; }

.mock-label {
  display: inline-block;
  background: var(--in-head);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 16px;
  margin-bottom: 10px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--in-head);
}

.guide-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 12px;
  border-bottom: 1px solid var(--in-line);
  cursor: pointer;
  transition: opacity 0.44s var(--in-ease),
              transform 0.44s var(--in-ease),
              background-color 0.25s ease;
}

.guide-item.is-highlight {
  background: var(--in-blue-50);
  box-shadow: inset 3.5px 0 0 var(--in-blue);
  margin: 0 -8px;
  padding: 24px 20px;
}

.guide-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--in-surface);
  color: var(--in-head);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.guide-item.is-highlight .guide-ico { background: #FFFFFF; color: var(--in-blue); }
.guide-ico.ico-logo { background: #FFFFFF; border: 1px solid var(--in-line); }

.guide-text { display: flex; flex-direction: column; gap: 5px; }
.guide-title { font-size: 22px; font-weight: 800; color: var(--in-ink); line-height: 1.3; }
.guide-desc { font-size: 16.5px; line-height: 1.56; color: var(--in-ink-3); margin: 0; word-break: auto-phrase; }

.guide-logos-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--in-line);
  padding: 3px 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--in-ink-2);
}

/* ==========================================================================
   Tables — Clean Consulting Hairline Style (Slides 10, 13, 15)
   ========================================================================== */
.hl-tbl {
  width: 100%;
  border-collapse: collapse;
}

.hl-tbl th {
  background: var(--in-head);
  color: #FFFFFF;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 20px;
}

.hl-tbl td {
  padding: 20px 20px;
  border-bottom: 1px solid var(--in-line);
  font-size: 17px;
  line-height: 1.55;
  color: var(--in-ink-2);
  vertical-align: middle;
}

.hl-tbl tr.row-hi td { background: var(--in-surface); }

.floor-bar {
  height: 7px;
  background: #E2E8F0;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.floor-bar i { display: block; height: 100%; background: var(--in-head); }
.floor-bar.is-blue i { background: var(--in-blue); }

.price-num { font-family: var(--in-en); font-size: 26px; font-weight: 900; color: var(--in-ink); font-variant-numeric: tabular-nums; }
.price-num.is-blue { color: var(--in-blue); }

/* ==========================================================================
   Slide 11: Wide 2x2 Matrix (Balanced Full Width)
   ========================================================================== */
.mx-shell {
  position: relative;
  margin-left: 44px;
  height: 600px;
  border-left: 2px solid var(--in-ink-2);
  border-bottom: 2px solid var(--in-ink-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.mx-q {
  position: relative;
  padding: 22px 28px;
  border-right: 1px dashed var(--in-line-strong);
  border-top: 1px dashed var(--in-line-strong);
}

.mx-q.mx-target {
  background: var(--in-blue-50);
  border: 2px solid var(--in-blue);
}

.mx-qlbl { font-size: 15px; font-weight: 700; color: var(--in-ink-3); }
.mx-q.mx-target .mx-qlbl { color: var(--in-blue); font-weight: 800; }

.mx-pt {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mx-pt i { width: 15px; height: 15px; border-radius: 50%; background: var(--in-ink-3); margin-top: 5px; flex-shrink: 0; }
.mx-pt strong { display: block; font-size: 20px; font-weight: 800; color: var(--in-ink); }
.mx-pt span { display: block; font-size: 15.5px; color: var(--in-ink-3); margin-top: 3px; }

.mx-hero {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 76px;
  background: var(--in-blue);
  color: #FFFFFF;
  padding: 26px 30px;
}
.mx-hero strong { display: block; font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.mx-hero span { display: block; font-size: 17.5px; color: rgba(255, 255, 255, 0.92); line-height: 1.55; }

.mx-axis-y {
  position: absolute;
  left: -158px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--in-ink-2);
  white-space: nowrap;
}

.mx-axis-x {
  text-align: right;
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--in-ink-2);
}

/* ==========================================================================
   Slide 12: Waterfall Chart + Matched-Height Right Column
   ========================================================================== */
.wf-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 52px;
  align-items: stretch;
  height: 100%;
}

.wf-left { display: flex; flex-direction: column; }

.wf-plot {
  flex: 1;
  display: grid;
  grid-template-columns: 64px repeat(4, 1fr);
  gap: 0 32px;
  align-items: end;
  position: relative;
  padding-top: 42px;
  border-bottom: 2px solid var(--in-ink-2);
}

.wf-gridlines {
  position: absolute;
  left: 64px;
  right: 0;
  top: 42px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.wf-gridlines span {
  border-top: 1px solid #EEF2F6;
  position: relative;
}

.wf-gridlines span::before {
  content: attr(data-y);
  position: absolute;
  left: -58px;
  top: -10px;
  font-family: var(--in-en);
  font-size: 14px;
  color: var(--in-ink-4);
  width: 48px;
  text-align: right;
}

.wf-col { height: 100%; position: relative; }

.wf-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
  color: #FFFFFF;
}

.wf-top-val {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--in-en);
  font-size: 29px;
  font-weight: 900;
  color: var(--in-ink);
  white-space: nowrap;
}
.wf-top-val.is-blue { color: var(--in-blue); }

.wf-in-lbl { font-family: var(--in-en); font-size: 16.5px; font-weight: 700; text-align: center; line-height: 1.4; }

.wf-xlabels {
  display: grid;
  grid-template-columns: 64px repeat(4, 1fr);
  gap: 0 32px;
  padding-top: 14px;
  text-align: center;
}
.wf-xlabels strong { display: block; font-size: 18px; font-weight: 800; color: var(--in-ink); }
.wf-xlabels span { display: block; font-size: 14.5px; color: var(--in-ink-3); margin-top: 2px; }

.wf-right { display: flex; flex-direction: column; gap: 22px; }

.wf-box-navy {
  background: var(--in-head);
  color: #FFFFFF;
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wf-box-navy span { font-family: var(--in-en); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--in-blue-l); }
.wf-box-navy h3 { margin: 0; font-size: 27px; font-weight: 800; line-height: 1.38; }
.wf-box-navy p { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }

.wf-box-hl {
  flex: 1;
  border: 1.5px solid var(--in-head);
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wf-box-hl span { font-family: var(--in-en); font-size: 13px; font-weight: 800; letter-spacing: 0.18em; color: var(--in-blue); }
.wf-box-hl h3 { margin: 0; font-size: 25px; font-weight: 800; color: var(--in-head); line-height: 1.38; }
.wf-box-hl p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--in-ink-2); }

/* ==========================================================================
   Slide 13: RACI & Maintenance (Left 60%) + Real Slack/Linear Proof (Right 40%)
   ========================================================================== */
.p13-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 44px;
  align-items: stretch;
  height: 100%;
}

.p13-left { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }

.raci-txt-lead { color: var(--in-blue); font-weight: 800; }
.raci-txt-own { color: var(--in-head); font-weight: 800; }
.raci-txt-sub { color: var(--in-ink-2); font-weight: 600; }
.raci-txt-none { color: var(--in-ink-4); }

.bio-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bio-box {
  background: var(--in-surface);
  border-top: 2px solid var(--in-line-strong);
  padding: 15px 18px;
}
.bio-box strong { display: block; font-size: 15.5px; font-weight: 800; color: var(--in-ink); margin-bottom: 5px; }
.bio-box p { margin: 0; font-size: 13.5px; line-height: 1.58; color: var(--in-ink-3); }

.p13-right { display: flex; flex-direction: column; }

.proof-stack {
  flex: 1;
  position: relative;
  min-height: 460px;
}

.proof-win {
  background: #FFFFFF;
  border: 1px solid #D5DDE7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.proof-win img { display: block; width: 100%; height: auto; }

/* ==========================================================================
   Slide 14: Hairline 3-Phase Playbook (Left 68%) + Real Sheet Visual (Right 32%)
   ========================================================================== */
.p14-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.92fr;
  gap: 32px;
  align-items: stretch;
  height: 100%;
}

.ph-col {
  border-top: 2.5px solid var(--in-head);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ph-col.is-sheet { border-top-color: var(--in-blue); }

.ph-k { font-family: var(--in-en); font-size: 13.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--in-blue); }
.ph-h { font-size: 24px; font-weight: 800; color: var(--in-ink); line-height: 1.38; margin: 0; }
.ph-p { font-size: 16.5px; line-height: 1.62; color: var(--in-ink-2); margin: 0; }

.ph-quote {
  background: var(--in-surface);
  border-left: 3px solid var(--in-blue);
  padding: 16px 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--in-ink-2);
}

.ph-quote em { font-style: normal; color: var(--in-blue); font-weight: 700; }

.ph-qlist {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--in-ink-2);
}

.ph-opt {
  background: var(--in-blue-50);
  border-left: 3px solid var(--in-blue);
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.58;
  color: var(--in-ink);
}

.ph-opt.is-alt {
  background: var(--in-surface);
  border-left-color: var(--in-head);
}

.sheet-frame {
  border: 1px solid var(--in-line-strong);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  background: #FFFFFF;
}
.sheet-frame img { display: block; width: 100%; height: auto; }

/* ==========================================================================
   Slide 15: Horizontal Chevron PoC Funnel + Decisions Table
   ========================================================================== */
.poc-chevrons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.poc-step {
  background: var(--in-blue-50);
  padding: 24px 28px 24px 36px;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poc-step:first-child {
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  padding-left: 26px;
}

.poc-step.is-goal {
  background: var(--in-blue);
  color: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 50%);
}

.poc-date { font-family: var(--in-en); font-size: 14.5px; font-weight: 700; color: var(--in-ink-3); }
.poc-step.is-goal .poc-date { color: rgba(255, 255, 255, 0.85); }

.poc-num { font-size: 32px; font-weight: 900; color: var(--in-head); line-height: 1.2; }
.poc-step.is-goal .poc-num { color: #FFFFFF; }

.poc-desc { font-size: 15.5px; line-height: 1.5; color: var(--in-ink-2); }
.poc-step.is-goal .poc-desc { color: rgba(255, 255, 255, 0.9); }

/* ==========================================================================
   Progressive Build Disclosure ([data-b])
   ========================================================================== */
[data-b] {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.48s var(--in-ease), transform 0.52s var(--in-ease);
}

[data-b].is-shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
[data-b].is-dim { opacity: 0.5; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   HUD, Overview, Help, Speaker Notes, Laser
   ========================================================================== */
#hud-bar {
  position: fixed;
  right: 22px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 16, 19, 0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: #FFFFFF;
  font-family: var(--in-en);
  font-size: 13px;
}

#hud-bar button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  height: 29px;
  min-width: 29px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}

#hud-bar button:hover, #hud-bar button.is-on { background: var(--in-blue); color: #FFFFFF; }
#hud-pos { padding: 0 8px; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; font-weight: 700; }

#overview {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 12, 17, 0.94);
  backdrop-filter: blur(14px);
  padding: 44px 60px;
  display: none;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
html.is-overview #overview { display: flex; }
.ov-head h2 { margin: 0; font-size: 21px; font-weight: 800; color: #FFFFFF; }
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ov-card {
  background: #151A23;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  color: #FFFFFF;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.22s var(--in-ease), border-color 0.2s;
}
.ov-card:hover, .ov-card.is-cur { transform: translateY(-2px); border-color: var(--in-blue-l); }
.ov-num { font-family: var(--in-en); font-size: 12px; font-weight: 800; color: var(--in-blue-l); }
.ov-title { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.ov-meta { font-size: 12px; color: rgba(255, 255, 255, 0.48); margin-top: auto; }

#help-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 12, 17, 0.72);
  display: none;
  place-items: center;
}
html.is-help #help-modal { display: grid; }
.help-box { background: #141923; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 28px 34px; width: 500px; }
.help-box h3 { margin: 0 0 16px; font-size: 19px; }
.help-list { display: grid; grid-template-columns: 150px 1fr; gap: 10px 14px; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.help-list kbd { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; padding: 2px 7px; font-family: var(--in-mono); font-size: 12px; }

#laser-dot {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #FF3B30 0%, rgba(255, 59, 48, 0.45) 55%, rgba(255, 59, 48, 0) 72%);
  box-shadow: 0 0 14px 4px rgba(255, 59, 48, 0.65);
  pointer-events: none;
  z-index: 120;
  transform: translate(-50%, -50%);
  display: none;
}
html.is-laser { cursor: none; }
html.is-laser #laser-dot { display: block; }

#speaker-drawer {
  position: fixed;
  left: 22px;
  bottom: 16px;
  max-width: 740px;
  z-index: 85;
  background: rgba(15, 16, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.6;
  display: none;
}
html.is-speaker #speaker-drawer { display: block; }

/* ==========================================================================
   Print / Headless PDF Output — Exact 1920x1080 Full Bleed
   ========================================================================== */
@page { size: 1920px 1080px; margin: 0; }

@media print {
  html, body {
    width: 1920px;
    height: auto;
    overflow: visible;
    background: #FFFFFF;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #stage-wrap { position: static; overflow: visible; background: transparent; }
  #deck { position: static; width: 1920px; height: auto; transform: none !important; box-shadow: none; overflow: hidden !important; }
  .slide {
    position: relative !important;
    width: 1920px !important;
    height: 1080px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    page-break-after: always;
    break-after: page;
  }
  .slide .slide-head { opacity: 1 !important; transform: none !important; }
  .slide:last-of-type { page-break-after: auto; break-after: auto; }
  [data-b], [data-b].is-dim { opacity: 1 !important; transform: none !important; }
  .callout-box::after { opacity: 0.88 !important; }
  #hud-bar, #overview, #help-modal, #laser-dot, #speaker-drawer, #deck-progress { display: none !important; }
}
