@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --ink: #141418;
  --sub: #4a4a55;
  --muted: #8b8b97;
  --line: #e4e4ea;
  --face: #f4f5f8;
  --accent: #8a509e;
  --accent-soft: #aca0e9;
  --sky: #b2e9f4;
  --dot: #e2e3e9;
  --ew-yellow: #ffbf00;
}

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

html, body {
  height: 100%;
  background: #fff;
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 1920×1080 무대를 창 크기에 맞춰 축소·확대 */
.deck {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  background: #fff;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 96px 140px 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
  word-break: keep-all;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease;
}

/* 한 문장이 주인공인 장만 세로 가운데 */
.slide.center { justify-content: center; padding-top: 110px; }

/* 글자 */
.eyebrow {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
h1 {
  font-size: 112px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 84px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.lead {
  margin-top: 40px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sub);
  letter-spacing: -0.015em;
}
em { font-style: normal; color: var(--accent); }

/* 에듀윌 노랑 형광펜: 핵심어에만 */
.mark {
  background: linear-gradient(transparent 60%, rgba(255, 191, 0, .55) 60%, rgba(255, 191, 0, .55) 90%, transparent 90%);
  padding: 0 4px;
  margin: 0 -4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 두 회사 로고 줄 */
.cobrand { display: flex; align-items: center; gap: 28px; margin-bottom: 64px; }
.cobrand img.ew { height: 52px; }
.cobrand img.ez { height: 56px; }
.cobrand .x { font-size: 32px; color: var(--muted); }

.lead-sm { margin-top: 24px; font-size: 30px; }
.lead-sm + .bars { margin-top: 64px; }

/* 출처 */
.src {
  position: absolute;
  left: 140px;
  bottom: 56px;
  font-size: 21px;
  color: var(--muted);
  letter-spacing: -0.005em;
}

/* 공통 꼬리: 쪽 번호 */
.pageno {
  position: absolute;
  right: 56px;
  bottom: 44px;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  z-index: 5;
}

/* ── 표지 ── */
.cover {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-right: 100px;
}
.cover .text { flex: 0 0 auto; }
.cover .by {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 32px;
  font-weight: 600;
  color: var(--sub);
}
.cover .by img { height: 54px; }
.cover .art { width: 860px; flex: 0 0 auto; }
.cover .art img { width: 100%; display: block; }

.logo-top { height: 64px; margin-bottom: 56px; align-self: flex-start; }

/* ── 이지워크 소개 ── */
.intro-ez .ez-logo { height: 120px; align-self: flex-start; margin-bottom: 52px; }
.intro-ez h1 { font-size: 100px; }
.intro-ez .lead { margin-top: 32px; }
.intro-ez .flow { margin-top: 64px; }

/* ── 단계 흐름 ── */
.flow {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow > div {
  background: var(--face);
  border-radius: 6px;
  padding: 40px 40px 44px;
}
.flow b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.flow span { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }

/* ── 이름 격자 ── */
.names {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.names div {
  background: var(--face);
  border-radius: 6px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

/* ── 함께 일한 곳 (로고) ── */
.partners { margin-top: 56px; display: grid; gap: 0; }
.partners .group {
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
  padding: 30px 0;
  border-top: 2px solid var(--line);
}
.partners .group:last-child { border-bottom: 2px solid var(--line); }
.g-head b { display: block; font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.g-head span { display: block; margin-top: 8px; font-size: 24px; font-weight: 500; color: var(--muted); line-height: 1.35; padding-right: 40px; }
.logos-row { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 36px; column-gap: 24px; align-items: center; }
.logos-row .lg { height: 76px; display: flex; align-items: center; gap: 14px; }
.logos-row .lg span { font-size: 30px; font-weight: 700; color: #6b6b6b; letter-spacing: -0.02em; }
.logos-row img { display: block; max-width: 250px; }
.l-lgcns { height: 56px; }
.l-lge { height: 56px; }
.l-hyundai { height: 38px; }
.l-brodeur { height: 50px; }
.l-realty { height: 60px; }
.l-huawei { height: 48px; }
.l-subway { height: 42px; }
.l-kimeye { height: 48px; }
.l-epic { height: 76px; }
.l-sh { height: 34px; max-width: 300px !important; }
.l-eduwill { height: 52px; }

/* ── 사례 목록 ── */
.cases { margin-top: 84px; display: grid; gap: 0; }
.cases > div {
  display: grid;
  grid-template-columns: 90px 520px 1fr;
  align-items: baseline;
  padding: 34px 0;
  border-top: 2px solid var(--line);
}
.cases > div:last-child { border-bottom: 2px solid var(--line); }
.cases b { font-size: 32px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.cases .who { font-size: 34px; font-weight: 600; color: var(--sub); }
.cases .what { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }

/* ── 큰 숫자 묶음 ── */
.stats {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.stat .num {
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat .num small { font-size: 72px; margin-left: 4px; letter-spacing: 0; }
.stat .k {
  margin-top: 26px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat .k small { display: block; margin-top: 10px; font-size: 26px; font-weight: 500; color: var(--muted); }

/* 사진 + 숫자 */
.photo-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1120px 1fr;
  gap: 72px;
  align-items: center;
}
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.photo-row .stats { margin-top: 0; grid-template-columns: 1fr; gap: 44px; }
.photo-row .stat { display: flex; align-items: baseline; gap: 20px; }
.photo-row .stat .num { font-size: 92px; min-width: 200px; }
.photo-row .stat .num small { font-size: 52px; }
.photo-row .stat .k { margin-top: 0; font-size: 32px; white-space: nowrap; }

/* ── 한 숫자 크게 ── */
.hero-num {
  font-size: 300px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-top: 40px;
}
.hero-num small { font-size: 140px; letter-spacing: -0.02em; margin-left: 10px; }

/* ── 모델 두 개 ── */
.models {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.models > div {
  background: var(--face);
  border-radius: 6px;
  padding: 56px 60px 60px;
}
.models .date { font-size: 30px; font-weight: 700; color: var(--accent); }
.models .name { margin-top: 20px; font-size: 76px; font-weight: 800; letter-spacing: -0.03em; }
.models .co { margin-top: 12px; font-size: 34px; font-weight: 600; color: var(--sub); }

/* ── 질문의 변화 ── */
.shift { display: grid; gap: 72px; }
.shift .label { font-size: 30px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.shift .before q { font-size: 64px; font-weight: 700; color: var(--muted); letter-spacing: -0.025em; line-height: 1.3; quotes: none; }
.shift .after .label { color: var(--accent); }
.shift .after q { font-size: 88px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.22; quotes: none; }

/* ── 가로 막대 ── */
.bars { margin-top: 80px; display: grid; gap: 40px; }
.bar { display: grid; grid-template-columns: 430px 1fr 190px; align-items: center; gap: 36px; }
.bar .k { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.bar .k small { display: block; font-size: 25px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.bar .track { height: 64px; background: var(--face); border-radius: 4px; overflow: hidden; }
.bar .fill { height: 100%; width: 0; background: var(--accent-soft); border-radius: 4px; transition: width 1s cubic-bezier(.2,.7,.2,1) .2s; }
.bar.hi .fill { background: var(--accent); }
.bar .v { font-size: 48px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.bar .v small { font-size: 30px; font-weight: 600; color: var(--muted); }
.bar.hi .v { color: var(--accent); }
.bar.human .fill { background: #c9c9d3; }
.slide.active .bar .fill { width: var(--w); }

/* ── 시연 ── */
.demo { align-items: flex-start; }
.demo .go {
  margin-top: 72px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 30px 52px;
  border-radius: 6px;
  text-decoration: none;
}
.demo .go[hidden] { display: none; }
.demo .go svg { width: 34px; height: 34px; }

/* ── 시연 카드 ── */
.demos { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.demo-card { display: block; color: inherit; text-decoration: none; }
.demo-card .thumb { height: 540px; border-radius: 8px; overflow: hidden; background: var(--face); display: flex; align-items: center; justify-content: center; }
.demo-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-card .thumb.portrait img { width: auto; height: 100%; object-fit: contain; }
.demo-card .meta { margin-top: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.demo-card .meta b { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.demo-card .model { font-size: 26px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.demo-card .url { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; color: var(--muted); }
.demo-card .url svg { width: 22px; height: 22px; }
.demo-card:hover .meta b { color: var(--accent); }

/* ── 1,000명 점 ── */
.dots-wrap {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1040px 1fr;
  gap: 80px;
  align-items: center;
}
.dots {
  display: grid;
  grid-template-columns: repeat(50, 1fr);
  gap: 6px;
}
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--dot); display: block; }
.dots i.b { background: var(--accent-soft); }
.dots i.a { background: var(--accent); transform: scale(1.35); }
.legend { display: grid; gap: 36px; }
.legend div { display: grid; grid-template-columns: 30px 1fr; gap: 20px; align-items: baseline; }
.legend i { width: 26px; height: 26px; border-radius: 50%; background: var(--dot); display: block; transform: translateY(2px); }
.legend i.b { background: var(--accent-soft); }
.legend i.a { background: var(--accent); }
.legend span { font-size: 32px; font-weight: 600; color: var(--sub); line-height: 1.35; }
.legend b { display: block; font-size: 56px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.legend .a-row b { color: var(--accent); }

/* ── 그림 + 글 ── */
.split {
  flex-direction: row;
  align-items: center;
  gap: 70px;
}
.split .text { flex: 1 1 auto; }
.split .art { flex: 0 0 900px; }
.split .art img { width: 100%; display: block; }

/* ── 단계 (세로) ── */
.steps { margin-top: 80px; display: grid; gap: 0; }
.steps > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: 34px 0;
  border-top: 2px solid var(--line);
}
.steps > div:last-child { border-bottom: 2px solid var(--line); }
.steps b { font-size: 40px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps span { font-size: 50px; font-weight: 700; letter-spacing: -0.025em; }

/* ── 마무리 ── */
.closing .logos { margin-top: 80px; display: flex; align-items: center; gap: 40px; }
.closing .logos img.ew { height: 64px; }
.closing .logos img.ez { height: 70px; }
.closing .logos .x { font-size: 40px; color: var(--muted); }
.closing .next { margin-top: 110px; font-size: 32px; font-weight: 600; color: var(--sub); }
.closing .next b { color: var(--ink); font-weight: 800; margin-left: 14px; }

/* 진행 표시 (아주 얇게) */
.progress {
  position: fixed;
  left: 0; bottom: 0;
  height: 4px;
  background: var(--ew-yellow);
  transition: width .3s ease;
  z-index: 40;
}


/* ── 영상 ── */
.vid { position: relative; cursor: pointer; background: #111; border-radius: 8px; overflow: hidden; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(20, 20, 24, .78); color: #fff;
  font-size: 26px; font-weight: 700; padding: 18px 28px; border-radius: 6px;
  pointer-events: none; transition: opacity .2s;
}
.vid .play svg { width: 26px; height: 26px; }
.vid.playing .play { opacity: 0; }

/* 영상 + 설명 */
.vsplit { flex-direction: row; align-items: center; gap: 100px; }
.vsplit .vid { flex: 0 0 auto; width: 450px; height: 800px; }
.vsplit .text { flex: 1 1 auto; }
.facts { margin-top: 56px; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 200px 1fr; padding: 26px 0; border-top: 2px solid var(--line); align-items: baseline; }
.facts > div:last-child { border-bottom: 2px solid var(--line); }
.facts b { font-size: 28px; font-weight: 800; color: var(--accent); }
.facts span { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; }

/* 4종 나란히 */
.four { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.four figure { margin: 0; }
.four .vid { aspect-ratio: 9 / 16; height: auto; }
.four figcaption { margin-top: 18px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.slide.four-wrap { padding-top: 60px; padding-bottom: 60px; }
.slide.four-wrap .four { width: 1460px; margin-top: 36px; }

/* 3단계 */
.flow.three { grid-template-columns: repeat(3, 1fr); }
.flow.three span { font-size: 38px; line-height: 1.35; }

/* 명령어 표기 */
.cmd { font-family: "SF Mono", Menlo, Consolas, monospace; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; white-space: nowrap; }
h2 .cmd { font-size: .78em; }

/* 화면 캡처 */
.shots { margin-top: 56px; display: flex; gap: 32px; align-items: flex-start; }
.shot { background: var(--face); border-radius: 8px; padding: 28px; }
.shot img { display: block; border-radius: 4px; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.shot-split { flex-direction: row; align-items: center; gap: 80px; }
.shot-split .text { flex: 0 0 560px; }
.shot img.wide { width: 920px; height: auto; }
.shot-split .shot { flex: 0 0 auto; }

/* 큰 주소 */
.bigurl { margin-top: 56px; font-size: 54px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); word-break: break-all; }

@media print {
  html, body { overflow: visible; }
  .deck { position: static; transform: none !important; }
  .slide { position: relative; opacity: 1; visibility: visible; page-break-after: always; height: 1080px; }
  .progress { display: none !important; }
}
