/* ============================================================
   PLai Deck Framework — shared slide CSS
   16:9 (1920x1080), scaled to viewport
   ============================================================ */

:root {
  --c-bg: #faf8f5;
  --c-ink: #1a1a2e;
  --c-ink-soft: #4a4a55;
  --c-mute: #6b6b78;
  --c-line: rgba(26, 26, 46, 0.08);
  --c-accent: #6b46c1;
  --c-accent-soft: #9b8cff;
  --c-warm: #f7a85a;
  --c-warm-soft: #ffd7a8;
  --grad-cover: linear-gradient(135deg, #9b8cff 0%, #6b46c1 45%, #f7a85a 100%);
  --grad-section: linear-gradient(135deg, rgba(155, 140, 255, 0.08), rgba(247, 168, 90, 0.08));
  --font-jp: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
  --font-en: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  background: #1a1a2e;
  font-family: var(--font-jp);
  color: var(--c-ink);
  overflow: hidden;
}

.deck-shell {
  position: fixed;
  inset: 0;
  background: #1a1a2e;
  overflow: hidden;
}

.deck-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--deck-scale, 1));
  transform-origin: center center;
  background: var(--c-bg);
  overflow: hidden;
}

/* Slide base */
.slide {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  padding: 100px 120px;
  display: none;
  flex-direction: column;
  background: var(--c-bg);
}
.slide.is-active { display: flex; }

/* Slide layouts */
.slide--cover {
  background: var(--grad-cover);
  color: #fff;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 140px;
}
.slide--cover .slide__brand {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-bottom: 60px;
  opacity: 0.85;
}
.slide--cover .slide__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  margin-bottom: 40px;
}
.slide--cover .slide__title {
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  max-width: 1300px;
}
.slide--cover .slide__subtitle {
  font-size: 28px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0.9;
  max-width: 1100px;
}
.slide--cover .slide__footer {
  position: absolute;
  bottom: 80px;
  left: 140px;
  right: 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Section header */
.slide__label {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin-bottom: 24px;
  position: relative;
  padding-left: 50px;
}
.slide__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--c-accent);
}

.slide__h1 {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 32px;
  max-width: 1500px;
}
.slide__lead {
  font-size: 24px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin-bottom: 48px;
  max-width: 1400px;
}

/* Grid 3-up */
.slide__grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.slide__grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.slide__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--c-line);
}
.slide__card-num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 18px;
}
.slide__card-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.slide__card-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-ink-soft);
}

/* Step list */
.slide__steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.slide__step {
  display: flex;
  gap: 32px;
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid var(--c-line);
  align-items: flex-start;
}
.slide__step-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 600;
  color: var(--c-accent);
  min-width: 80px;
  line-height: 1;
}
.slide__step-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.slide__step-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

/* Stat row */
.slide__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.slide__stat {
  text-align: center;
  padding: 40px 24px;
  background: var(--grad-section);
  border-radius: 16px;
}
.slide__stat-value {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.slide__stat-label {
  font-size: 16px;
  color: var(--c-ink-soft);
  line-height: 1.7;
}

/* Two-col split */
.slide__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 32px;
  flex: 1;
  align-items: center;
}
.slide__split-left h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 24px;
  line-height: 1.5;
}
.slide__split-left p {
  font-size: 19px;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}
.slide__split-right {
  background: var(--grad-section);
  border-radius: 16px;
  padding: 48px;
}
.slide__split-right ul {
  list-style: none;
}
.slide__split-right li {
  font-size: 19px;
  line-height: 2;
  color: var(--c-ink);
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}
.slide__split-right li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* Pain list */
.slide__pains {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.slide__pain {
  background: #fff;
  border-left: 6px solid var(--c-warm);
  border-radius: 4px 16px 16px 4px;
  padding: 28px 36px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.slide__pain-icon {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-warm);
  min-width: 56px;
}
.slide__pain-text {
  font-size: 22px;
  line-height: 1.7;
  color: var(--c-ink);
}

/* CTA slide */
.slide--cta {
  background: var(--grad-cover);
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.slide--cta .slide__cta-label {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-bottom: 32px;
  opacity: 0.85;
}
.slide--cta .slide__cta-title {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 1640px;
  letter-spacing: 0.02em;
}
.slide--cta .slide__cta-text {
  font-size: 24px;
  line-height: 1.9;
  margin-bottom: 64px;
  max-width: 1200px;
  opacity: 0.9;
}
.slide--cta .slide__cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--c-accent);
  font-weight: 600;
  font-size: 22px;
  padding: 24px 56px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slide--cta .slide__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Slide footer (page number / brand) */
.slide__page-footer {
  position: absolute;
  bottom: 40px;
  left: 120px;
  right: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c-mute);
}

/* Slide nav (bottom controls) */
.deck-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(26, 26, 46, 0.85);
  padding: 12px 20px;
  border-radius: 100px;
  color: #fff;
  z-index: 100;
  font-family: var(--font-en);
  font-size: 14px;
  backdrop-filter: blur(8px);
}
.deck-nav button {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.deck-nav button:hover { background: rgba(255, 255, 255, 0.25); }
.deck-nav .deck-nav__count {
  min-width: 60px;
  text-align: center;
  letter-spacing: 0.08em;
}
.deck-nav .deck-nav__progress {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.deck-nav .deck-nav__progress span {
  display: block;
  height: 100%;
  background: var(--c-warm-soft);
  transition: width 0.3s ease;
}

/* ============================================================
   IMAGE-RICH LAYOUTS (used by company-intro & lead magnets)
   ============================================================ */

/* F5 visual-split — image one side, content the other */
.slide__visual-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  margin-top: 32px;
  flex: 1;
  align-items: center;
}
.slide__visual-split--reverse {
  grid-template-columns: 1fr 1.05fr;
}
.slide__visual-split--reverse .slide__visual { order: 2; }
.slide__visual-split--reverse .slide__visual-text { order: 1; }
.slide__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 26, 46, 0.12);
  background: linear-gradient(135deg, #f5f3ff, #fff5ec);
}
.slide__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.slide__visual--contain {
  background: linear-gradient(135deg, rgba(155,140,255,0.12), rgba(247,168,90,0.12));
  padding: 56px;
}
.slide__visual--contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.slide__visual-text h3 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 24px;
  line-height: 1.5;
}
.slide__visual-text p {
  font-size: 20px;
  line-height: 1.95;
  color: #4a4a55;
  margin-bottom: 18px;
}
.slide__visual-text ul {
  list-style: none;
  margin-top: 24px;
}
.slide__visual-text li {
  font-size: 19px;
  line-height: 1.9;
  color: #1a1a2e;
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.slide__visual-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* Image-card grid (thumbnails) */
.slide__image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
.slide__image-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}
.slide__image-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f3ff, #fff5ec);
}
.slide__image-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide__image-card__body { padding: 22px 26px 26px; }
.slide__image-card__num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.slide__image-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.55;
  margin-bottom: 8px;
}
.slide__image-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #6b6b78;
}

/* Compact variant for 6-card grids (3x2 layout) — TIGHT to fit 16:9 */
.slide__image-grid--compact {
  gap: 18px;
  margin-top: 20px;
}
.slide__image-grid--compact .slide__image-card__img { aspect-ratio: 16 / 7; }
.slide__image-grid--compact .slide__image-card__body { padding: 12px 16px 16px; }
.slide__image-grid--compact .slide__image-card__num { font-size: 10px; margin-bottom: 4px; }
.slide__image-grid--compact .slide__image-card__title { font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
.slide__image-grid--compact .slide__image-card__text { font-size: 12px; line-height: 1.6; }

/* X Accounts roster grid for deck (8 accounts in slide) */
.slide__accounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.slide__account-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 20px 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slide__account-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  background: #f5f3ff;
}
.slide__account-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 4px;
  min-height: 2.7em;
  display: flex;
  align-items: center;
}
.slide__account-card__handle {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--c-mute);
  margin-bottom: 10px;
}
.slide__account-card__followers {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}
.slide__account-card__growth {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  margin-top: 4px;
}

/* Automation flow pills (横並びパイプライン) */
.slide__autoflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 36px;
  align-items: stretch;
}
.slide__autoflow-step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.slide__autoflow-step__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f3ff, #fff5ec);
}
.slide__autoflow-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide__autoflow-step__body-wrap {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.slide__autoflow-step__num {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--c-accent);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.slide__autoflow-step__title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.45;
  margin-bottom: 6px;
}
.slide__autoflow-step__body {
  font-size: 12px;
  line-height: 1.7;
  color: #6b6b78;
}
.slide__autoflow-step__badge {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

/* Visual steps — image + text horizontally, stacked vertically */
.slide__steps--visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.slide__step--visual {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  align-items: stretch;
  padding: 0;
}
.slide__step--visual__img {
  background: linear-gradient(135deg, #f5f3ff, #fff5ec);
  overflow: hidden;
}
.slide__step--visual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide__step--visual__content {
  padding: 24px 32px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide__step--visual__num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 10px;
}
.slide__step--visual__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.5;
}
.slide__step--visual__body {
  font-size: 16px;
  line-height: 1.75;
  color: #6b6b78;
}

/* Tight step list for 4-5 step slides (avoid 16:9 overflow) */
.slide__steps--tight {
  gap: 18px;
  margin-top: 24px;
}
.slide__steps--tight .slide__step {
  padding: 24px 32px;
}
.slide__steps--tight .slide__step-num {
  font-size: 38px;
  min-width: 64px;
}
.slide__steps--tight .slide__step-title {
  font-size: 21px;
  margin-bottom: 6px;
}
.slide__steps--tight .slide__step-body {
  font-size: 16px;
  line-height: 1.75;
}

/* Larger toolkit items for AI Stack slide */
.slide__toolkit--lg {
  margin-top: 56px;
  gap: 28px;
}
.slide__toolkit--lg .slide__toolkit-item {
  padding: 52px 24px 36px;
}
.slide__toolkit--lg .slide__toolkit-item img {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
}
.slide__toolkit--lg .slide__toolkit-item__name {
  font-size: 17px;
  margin-bottom: 10px;
}
.slide__toolkit-item__role {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.6;
}
.slide--bg-dark .slide__toolkit-item__role {
  color: rgba(255, 255, 255, 0.55);
}

/* Banner image — fills empty space below stats etc */
.slide__banner-image {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
}
.slide__banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video grid (HTML5 video cards) */
.slide__video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.slide__video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
}
.slide__video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}
.slide__video-card__body { padding: 20px 24px 24px; }
.slide__video-card__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.slide__video-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 6px;
}
.slide__video-card__text {
  font-size: 13px;
  line-height: 1.8;
  color: #6b6b78;
}

/* Inline video inside image-card (used in slide 26) */
.slide__image-card__video {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.slide__image-card__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SlideBox hero (slide 24) */
.slide__product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  margin-top: 32px;
  flex: 1;
  align-items: center;
}
.slide__product-hero__logo {
  background: linear-gradient(135deg, rgba(155,140,255,0.10), rgba(247,168,90,0.10));
  border-radius: 20px;
  padding: 88px 64px;
  text-align: center;
  border: 1px solid rgba(26,26,46,0.06);
}
.slide__product-hero__logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.slide__product-hero__logo-tagline {
  margin-top: 28px;
  font-size: 16px;
  color: #6b6b78;
  letter-spacing: 0.04em;
}
.slide__product-hero__text h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 24px;
  line-height: 1.5;
}
.slide__product-hero__text p {
  font-size: 18px;
  line-height: 1.95;
  color: #4a4a55;
  margin-bottom: 24px;
}
.slide__product-hero__text ul {
  list-style: none;
}
.slide__product-hero__text li {
  font-size: 17px;
  line-height: 1.85;
  color: #1a1a2e;
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}
.slide__product-hero__text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* CEO Quote layout */
.slide__quote-block {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  margin-top: 32px;
  flex: 1;
  align-items: center;
}
.slide__quote-portrait {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 64px rgba(26, 26, 46, 0.2);
}
.slide__quote-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide__quote-text {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.7;
  color: #1a1a2e;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.slide__quote-text::before {
  content: '"';
  font-size: 80px;
  color: var(--c-accent);
  vertical-align: -16px;
  margin-right: 12px;
  font-family: var(--font-serif);
}
.slide__quote-byline {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--c-mute);
  margin-bottom: 6px;
}
.slide__quote-name {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Bridge / section divider slide */
.slide--bridge {
  background: var(--grad-cover);
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 140px;
}
.slide--bridge .slide__bridge-num {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  opacity: 0.7;
}
.slide--bridge .slide__bridge-title {
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.slide--bridge .slide__bridge-sub {
  font-size: 24px;
  line-height: 1.85;
  opacity: 0.9;
  max-width: 1000px;
}

/* Background variants */
.slide--bg-soft {
  background: linear-gradient(135deg, #faf8ff 0%, #fff5ec 100%);
}
.slide--bg-dark {
  background: #1a1a2e;
  color: #fff;
}
.slide--bg-dark .slide__h1 { color: #fff; }
.slide--bg-dark .slide__lead { color: rgba(255, 255, 255, 0.85); }
.slide--bg-dark .slide__label { color: #f7a85a; }
.slide--bg-dark .slide__label::before { background: #f7a85a; }
.slide--bg-dark .slide__card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.slide--bg-dark .slide__card-num { color: #f7a85a; }
.slide--bg-dark .slide__card-title { color: #fff; }
.slide--bg-dark .slide__card-body { color: rgba(255, 255, 255, 0.7); }

/* Toolkit row (AI tool logos) */
.slide__toolkit {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.slide__toolkit-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--c-line);
  padding: 36px 24px;
  text-align: center;
}
.slide__toolkit-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}
.slide__toolkit-item__name {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ============================================================
   CORP (white-bg image) variant — used by company-intro deck
   Backgrounds are baked-in screenshot images (logo + © included)
   ============================================================ */
.slide--corp {
  background: #ffffff url(../assets/img/decks/deck-bg-corp.png) center center / 100% 100% no-repeat;
  padding: 130px 130px 140px;
  color: #1a1a2e;
}

/* corp-cover: full bg image, no overlay content needed */
.slide--corp-cover {
  background: #ffffff url(../assets/img/decks/deck-cover-corp.png) center center / 100% 100% no-repeat;
  padding: 0;
  color: #1a1a2e;
  overflow: hidden;
}

/* Corp slide content sizing — varied per layout */
.slide--corp .slide__label {
  color: #6b46c1;
  font-size: 14px;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  padding-left: 50px;
}
.slide--corp .slide__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: #6b46c1;
}
.slide--corp .slide__label {
  position: relative;
}
.slide--corp .slide__h1 {
  font-family: var(--font-jp);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a2e;
  margin-bottom: 28px;
  max-width: 1500px;
}
.slide--corp .slide__lead {
  font-size: 19px;
  line-height: 1.95;
  color: #4a4a55;
  margin-bottom: 32px;
  max-width: 1400px;
}
.slide--corp .slide__card {
  background: #fafafa;
  border: 1px solid rgba(26,26,46,0.08);
}
.slide--corp .slide__step {
  background: #fafafa;
  border: 1px solid rgba(26,26,46,0.08);
}
.slide--corp .slide__split-right {
  background: linear-gradient(135deg, rgba(155,140,255,0.06), rgba(247,168,90,0.06));
  border: 1px solid rgba(26,26,46,0.06);
}
.slide--corp .slide__stat {
  background: linear-gradient(135deg, rgba(155,140,255,0.07), rgba(247,168,90,0.07));
  border: 1px solid rgba(26,26,46,0.06);
}
.slide--corp .slide__pain {
  background: #fafafa;
  border-left: 6px solid #f7a85a;
}

/* F1 Statement layout (big centered text) */
.slide--statement {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.slide__statement-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #6b46c1;
  margin-bottom: 28px;
}
.slide__statement {
  font-family: var(--font-serif);
  font-size: 76px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 1500px;
  color: #1a1a2e;
  letter-spacing: 0.01em;
}
.slide__statement em {
  font-style: normal;
  color: #6b46c1;
  border-bottom: 4px solid #f7a85a;
  padding-bottom: 4px;
}
.slide__statement-sub {
  margin-top: 32px;
  font-size: 22px;
  line-height: 1.9;
  color: #4a4a55;
  max-width: 900px;
}

/* F2 Reverse split (right text, left visual block) */
.slide__split--reverse {
  grid-template-columns: 1fr 1fr;
}
.slide__split--reverse .slide__split-left { order: 2; }
.slide__split--reverse .slide__split-right { order: 1; }

/* F4 Big stat highlight */
.slide__stat--xl .slide__stat-value {
  font-size: 96px;
}
.slide__stat--xl {
  padding: 56px 32px;
}

/* Corp CTA — F8 bridge style with button */
.slide--corp.slide--corp-cta {
  background: #ffffff url(../assets/img/decks/deck-bg-corp.png) center center / 100% 100% no-repeat;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.slide--corp-cta .slide__cta-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #6b46c1;
  margin-bottom: 24px;
}
.slide--corp-cta .slide__cta-title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.45;
  color: #1a1a2e;
  margin-bottom: 28px;
  max-width: 1500px;
  letter-spacing: 0.02em;
}
.slide--corp-cta .slide__cta-text {
  font-size: 22px;
  line-height: 1.95;
  color: #4a4a55;
  margin-bottom: 56px;
  max-width: 1100px;
}
.slide--corp-cta .slide__cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6b46c1, #f7a85a);
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  padding: 24px 64px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slide--corp-cta .slide__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(107, 70, 193, 0.3);
}

/* Download button (top-right) */
.deck-download {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  text-decoration: none;
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.deck-download:hover { background: rgba(26, 26, 46, 1); color: #fff; }
.deck-download svg { width: 14px; height: 14px; }

/* PRINT mode — show all slides each on its own page (1920x1080) */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { background: #fff !important; overflow: visible !important; }
  .deck-shell { position: static !important; inset: auto; width: auto; height: auto; display: block; background: none; overflow: visible; }
  .deck-canvas {
    position: static !important;
    top: auto;
    left: auto;
    transform: none !important;
    width: 1920px;
    height: auto;
    display: block;
    background: none;
    overflow: visible;
  }
  .slide {
    display: flex !important;
    position: relative !important;
    inset: auto;
    width: 1920px !important;
    height: 1080px !important;
    page-break-after: always;
    break-after: page;
    overflow: hidden;
  }
  .slide:last-of-type { page-break-after: auto; break-after: auto; }
  .deck-nav, .deck-home, .deck-download { display: none !important; }
}

/* Home link */
.deck-home {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  text-decoration: none;
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}
.deck-home:hover { background: rgba(26, 26, 46, 1); }
