@font-face {
  font-family: "Nanum MongDor";
  src: local("Nanum MongDor"), local("나눔손글씨 몽돌");
  font-style: normal;
  font-weight: 400;
}

:root {
  --paper: #fffef8;
  --ink: #171715;
  --gray: #686863;
  --yellow: #ffe36e;
  --green: #bfd982;
  --blue: #8fc8ea;
  --orange: #f2be70;
  --pink: #efa3bd;
  --safe-x: 116px;
  --safe-top: 66px;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #e9e7df;
}

body {
  position: relative;
  color: var(--ink);
  font-family: "Nanum MongDor", cursive;
}

button { font: inherit; }

#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
}

#deck {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}

.slide {
  --accent: var(--yellow);
  --accent-soft: rgba(255, 227, 110, 0.68);
  display: none;
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: var(--paper);
  padding: var(--safe-top) var(--safe-x) 58px;
}

.slide.active,
.slide.is-active { display: block; }

.accent-yellow { --accent: var(--yellow); --accent-soft: rgba(255, 227, 110, 0.66); }
.accent-green { --accent: var(--green); --accent-soft: rgba(191, 217, 130, 0.58); }
.accent-blue { --accent: var(--blue); --accent-soft: rgba(143, 200, 234, 0.55); }
.accent-orange { --accent: var(--orange); --accent-soft: rgba(242, 190, 112, 0.56); }
.accent-pink { --accent: var(--pink); --accent-soft: rgba(239, 163, 189, 0.56); }

.slide-header {
  position: relative;
  z-index: 2;
  min-height: 142px;
}

.slide-kicker {
  margin-bottom: 4px;
  color: var(--gray);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.slide-title {
  display: inline-block;
  position: relative;
  z-index: 1;
  max-width: 1640px;
  margin: 0;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  white-space: nowrap;
}

.slide-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12px;
  right: -18px;
  bottom: -7px;
  height: 20px;
  border-radius: 47% 39% 53% 43%;
  background: var(--accent-soft);
  transform: rotate(-0.25deg);
}

.content {
  position: absolute;
  left: var(--safe-x);
  right: var(--safe-x);
  top: 223px;
  bottom: 154px;
}

.panel-grid {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 34px;
  align-items: stretch;
}

.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.panel {
  --panel-color: var(--accent);
  position: relative;
  min-width: 0;
  padding: 38px 34px 32px;
  border: 3px solid var(--panel-color);
  border-radius: 34px 42px 35px 45px;
  background: rgba(255, 254, 248, 0.9);
}

.panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 5px -5px -5px 5px;
  border: 2px solid var(--panel-color);
  border-radius: 43px 35px 47px 37px;
  opacity: 0.34;
  transform: rotate(0.15deg);
}

.panel.green { --panel-color: var(--green); }
.panel.blue { --panel-color: var(--blue); }
.panel.orange { --panel-color: var(--orange); }
.panel.pink { --panel-color: var(--pink); }
.panel.yellow { --panel-color: var(--yellow); }

.panel-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-right: 10px;
  border: 3px solid var(--panel-color);
  border-radius: 48% 52% 46% 54%;
  font-size: 31px;
  line-height: 1;
  vertical-align: 6px;
}

.panel-title {
  display: inline;
  position: relative;
  z-index: 2;
  font-size: 42px;
  line-height: 1.15;
}

.panel-title.small { font-size: 36px; }

.panel-title::after {
  content: "";
  display: block;
  width: 72%;
  height: 4px;
  margin: 13px 0 20px;
  border-radius: 50%;
  background: var(--panel-color);
  opacity: 0.72;
  transform: rotate(-0.4deg);
}

.panel-body {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #4e4d49;
  font-size: 30px;
  line-height: 1.42;
  word-break: keep-all;
}

.panel-body strong {
  color: var(--ink);
  font-weight: 400;
  box-shadow: inset 0 -0.43em 0 var(--accent-soft);
}

.panel-note {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 28px;
  padding-top: 16px;
  border-top: 3px solid rgba(104, 104, 99, 0.25);
  color: var(--gray);
  font-size: 25px;
  line-height: 1.25;
}

.takeaway {
  position: absolute;
  z-index: 3;
  left: 210px;
  right: 210px;
  bottom: 64px;
  text-align: center;
  font-size: 44px;
  line-height: 1.15;
  white-space: nowrap;
}

.takeaway::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -19px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.72;
  transform: rotate(0.1deg);
}

.highlight {
  display: inline-block;
  padding: 0 7px;
  box-shadow: inset 0 -0.5em 0 var(--accent-soft);
}

.page-number {
  position: absolute;
  right: 40px;
  bottom: 25px;
  color: var(--gray);
  font-size: 22px;
  letter-spacing: 0.5px;
}

.quote-box {
  position: relative;
  width: 100%;
  padding: 54px 74px 48px;
  border: 4px solid var(--accent);
  border-radius: 46px 55px 43px 51px;
  text-align: center;
}

.quote-box::before,
.quote-box::after {
  position: absolute;
  color: var(--accent);
  font-size: 116px;
  line-height: 0.5;
}

.quote-box::before { content: "“"; left: -57px; top: 38px; }
.quote-box::after { content: "”"; right: -55px; bottom: -2px; }

.quote-text {
  margin: 0;
  font-size: 60px;
  line-height: 1.28;
  word-break: keep-all;
}

.quote-sub {
  margin: 26px 0 0;
  color: var(--gray);
  font-size: 30px;
  line-height: 1.35;
}

.process-row {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.process-step {
  --step-color: var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  width: 264px;
  min-height: 220px;
  padding: 30px 22px;
  border: 3px solid var(--step-color);
  border-radius: 32px 39px 31px 42px;
  text-align: center;
}

.process-step.wide { width: 326px; }
.process-step.green { --step-color: var(--green); }
.process-step.blue { --step-color: var(--blue); }
.process-step.orange { --step-color: var(--orange); }
.process-step.pink { --step-color: var(--pink); }
.process-step.yellow { --step-color: var(--yellow); }

.process-step::after {
  content: "";
  position: absolute;
  inset: 5px -4px -5px 4px;
  border: 2px solid var(--step-color);
  border-radius: 40px 31px 43px 34px;
  opacity: 0.28;
}

.step-label {
  position: relative;
  z-index: 2;
  font-size: 37px;
  line-height: 1.16;
  word-break: keep-all;
}

.step-detail {
  position: relative;
  z-index: 2;
  margin-top: 15px;
  color: var(--gray);
  font-size: 25px;
  line-height: 1.3;
}

.arrow {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 67px;
  line-height: 1;
  transform: rotate(-1deg);
}

.flow-caption {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  color: var(--gray);
  text-align: center;
  font-size: 31px;
  letter-spacing: 1px;
}

.section-slide {
  display: none;
  place-items: center;
  text-align: center;
}

.section-slide.active,
.section-slide.is-active { display: grid; }

.section-number {
  display: inline-grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border: 5px solid var(--accent);
  border-radius: 48% 52% 46% 54%;
  font-size: 72px;
}

.section-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 124px;
  font-weight: 400;
  line-height: 1.05;
}

.section-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -30px;
  right: -30px;
  bottom: -3px;
  height: 33px;
  border-radius: 45%;
  background: var(--accent-soft);
  transform: rotate(-0.5deg);
}

.section-sub {
  margin-top: 42px;
  color: var(--gray);
  font-size: 40px;
  line-height: 1.25;
}

.cover-slide {
  padding-top: 54px;
  text-align: center;
}

.cover-title {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 112px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.cover-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -70px;
  right: -70px;
  bottom: -5px;
  height: 26px;
  border-radius: 45%;
  background: rgba(255, 227, 110, 0.74);
  transform: rotate(0.1deg);
}

.cover-sub {
  margin-top: 25px;
  color: var(--gray);
  font-size: 36px;
}

.cover-image {
  position: absolute;
  top: 278px;
  left: 475px;
  width: 970px;
  height: 485px;
  object-fit: contain;
}

.cover-labels {
  position: absolute;
  top: 755px;
  left: 484px;
  width: 952px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 46px;
}

.cover-takeaway {
  position: absolute;
  left: 300px;
  right: 300px;
  top: 872px;
  font-size: 51px;
  white-space: nowrap;
}

.cover-takeaway::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -20px;
  height: 5px;
  border-radius: 50%;
  background: rgba(239, 163, 189, 0.8);
}

.cover-meta {
  position: absolute;
  right: 80px;
  bottom: 38px;
  color: var(--gray);
  font-size: 25px;
}

.agenda-list {
  display: grid;
  height: 100%;
  gap: 24px;
  align-content: center;
}

.agenda-item {
  display: grid;
  grid-template-columns: 115px 360px 1fr;
  align-items: center;
  min-height: 146px;
  padding: 20px 38px;
  border: 3px solid var(--item-color);
  border-radius: 34px 42px 35px 45px;
}

.agenda-item:nth-child(1) { --item-color: var(--green); }
.agenda-item:nth-child(2) { --item-color: var(--blue); }
.agenda-item:nth-child(3) { --item-color: var(--pink); }

.agenda-num { font-size: 52px; }
.agenda-title { font-size: 48px; }
.agenda-desc { color: var(--gray); font-size: 31px; }

.question-grid .panel { padding-top: 52px; }
.question-grid .panel-title { font-size: 35px; }
.question-grid .panel-body { margin-top: 32px; font-size: 38px; color: var(--ink); }

.signal-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 44px;
  text-align: center;
}

.signal-item {
  position: relative;
  font-size: 35px;
}

.signal-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -53px;
  top: -9px;
  color: var(--ink);
  font-size: 55px;
}

.signal-item span {
  box-shadow: inset 0 -0.5em 0 var(--accent-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 58px;
}

.split-side {
  position: relative;
  padding: 38px 46px;
  border: 3px solid var(--side-color);
  border-radius: 42px 34px 46px 37px;
}

.split-side.ai { --side-color: var(--blue); }
.split-side.human { --side-color: var(--pink); }

.split-title {
  margin: 0 0 30px;
  font-size: 48px;
  font-weight: 400;
}

.split-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gray);
  font-size: 34px;
}

.split-list li::before { content: "✓ "; color: var(--side-color); }

.beep {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-3deg);
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 52px;
  white-space: nowrap;
}

.risk-grid .panel-title { font-size: 35px; }
.risk-grid .panel-body { margin-top: 25px; font-size: 31px; }

.closing-slide {
  display: none;
  place-items: center;
  padding: 92px 180px;
}

.closing-slide.active,
.closing-slide.is-active { display: grid; }

.closing-box {
  position: relative;
  padding: 92px 105px 78px;
  border: 5px solid var(--pink);
  border-radius: 60px 48px 64px 52px;
  text-align: center;
}

.closing-box::before,
.closing-box::after {
  position: absolute;
  color: var(--pink);
  font-size: 158px;
  line-height: 0.5;
}

.closing-box::before { content: "“"; left: -78px; top: 58px; }
.closing-box::after { content: "”"; right: -75px; bottom: 5px; }

.closing-question {
  margin: 0;
  font-size: 70px;
  line-height: 1.34;
  word-break: keep-all;
}

.closing-question .growth { box-shadow: inset 0 -0.48em 0 rgba(143, 200, 234, 0.52); }
.closing-question .dependence { box-shadow: inset 0 -0.48em 0 rgba(239, 163, 189, 0.52); }

#navigator {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 120ms ease;
}

body:hover #navigator,
#navigator:focus-within { opacity: 1; }

#navigator button {
  width: 52px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 14px 18px 13px 17px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 23px;
}

#nav-status {
  min-width: 84px;
  color: var(--ink);
  text-align: center;
  font-size: 24px;
}

body.export #navigator { display: none; }

body.print {
  display: block;
  overflow: visible;
  background: var(--paper);
}

body.print #stage,
body.print #deck {
  position: static;
  width: 1920px;
  height: auto;
  transform: none !important;
}

body.print .slide {
  display: block !important;
  position: relative;
  page-break-after: always;
  break-after: page;
}

body.print #navigator { display: none; }

@page { size: 13.333333in 7.5in; margin: 0; }

@media print {
  html, body { width: auto; height: auto; }
  .slide { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
