/* ============================================================
   COLORLOOP — Pitch Deck Site
   Stage: fixed 1920x1080 canvas, scaled to fit the viewport.
   ============================================================ */

:root {
  --ink: #15161a;
  --ink-2: #3c3f47;
  --muted: #7a7e88;
  --line: #e6e4e0;
  --paper: #ffffff;
  --paper-2: #f7f5f2;
  --paper-3: #efece7;

  --accent: #5b4bdb;          /* indigo-violet: tech signal */
  --accent-2: #7f6ef2;
  --accent-soft: #ecebfb;
  --beige: #d6b08e;           /* ash beige: hair */
  --beige-soft: #f3e9dd;
  --brass: #e0764a;           /* brassy orange: the "actual" mismatch */
  --brass-soft: #fbe8de;
  --green: #2f9e78;
  --green-soft: #e3f4ec;

  --loop: linear-gradient(90deg, #d6b08e 0%, #b892c9 50%, #5b4bdb 100%);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #0e0e10;
  color: var(--ink);
  font-family: var(--font);
  font-feature-settings: "ss01", "cv01";
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

/* ---------- Viewport & stage ---------- */
.viewport {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: #0e0e10;
}
.stage {
  position: relative;
  width: 1920px; height: 1080px;
  background: var(--paper);
  transform-origin: top left;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 40px 120px rgba(0,0,0,.6);
}

/* ---------- Slides ---------- */
.slide {
  position: absolute; inset: 0;
  padding: 96px 120px 110px;
  opacity: 0; visibility: hidden;
  transform: translateX(40px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s .45s;
}
.slide.active {
  opacity: 1; visibility: visible;
  transform: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.slide.prev { transform: translateX(-40px); }

/* Step reveals inside a slide */
.step { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.step.on { opacity: 1; transform: none; }

/* ---------- Chrome (progress / counter / hints) ---------- */
.chrome {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 120px;
  font-size: 15px; color: var(--muted);
  letter-spacing: .02em;
  pointer-events: none;
}
.chrome .brand { font-weight: 700; color: var(--ink-2); letter-spacing: .12em; }
.chrome .brand i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--loop); margin-right: 10px; vertical-align: -1px; }
.chrome .counter { font-variant-numeric: tabular-nums; }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0%; background: var(--loop); transition: width .45s ease; }

.nav-hint {
  position: absolute; right: 120px; top: 40px;
  font-size: 13px; color: #b6b9c2; letter-spacing: .04em;
  opacity: 1; transition: opacity 1s;
}
.nav-hint.hide { opacity: 0; }
kbd { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink-2); background: var(--paper-2); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.eyebrow .num { font-family: var(--mono); font-weight: 500; color: var(--muted); letter-spacing: 0; }

h1 { font-size: 92px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 0; }
h2 { font-size: 64px; line-height: 1.12; font-weight: 800; letter-spacing: -.028em; margin: 18px 0 0; }
h2 em { font-style: normal; background: var(--loop); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 26px; line-height: 1.55; color: var(--ink-2); margin: 20px 0 0; font-weight: 500; }
.small { font-size: 16px; color: var(--muted); line-height: 1.5; }
.mono { font-family: var(--mono); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.tag.goal { background: var(--accent-soft); color: var(--accent); }
.tag.assume { background: var(--beige-soft); color: #8a5f35; }
.tag.pilot { background: var(--green-soft); color: var(--green); }
.tag.warn { background: var(--brass-soft); color: #b4562f; }

.footnote {
  position: absolute; left: 120px; right: 120px; bottom: 78px;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

/* ---------- Layout helpers ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; height: 100%; }
.head { margin-bottom: 40px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 32px;
}
.card.soft { background: var(--paper-2); border-color: transparent; }
.card.hi { background: var(--ink); color: #fff; border-color: transparent; }
.card.hi .small { color: #b7b9c4; }
.card.accent { background: var(--accent); color: #fff; border-color: transparent; }
.card.accent .small { color: #d8d3ff; }
.card h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.card h4 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 10px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.card.hi p, .card.accent p { color: rgba(255,255,255,.86); }

.img { border-radius: 24px; overflow: hidden; background: var(--paper-2); position: relative; }
.img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SLIDE 1 — Cover
   ============================================================ */
.s1 { padding: 0; }
.s1 .two { grid-template-columns: 1.05fr .95fr; gap: 0; }
.s1 .text { padding: 120px 0 120px 120px; }
.s1 .campaign { font-size: 16px; letter-spacing: .18em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.s1 h1 { font-size: 88px; margin-top: 34px; }
.s1 h1 span { display: block; background: var(--loop); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s1 .wordmark { margin-top: 44px; display: flex; align-items: center; gap: 18px; }
.s1 .wordmark .logo { width: 56px; height: 56px; }
.s1 .wordmark b { font-size: 40px; letter-spacing: .14em; font-weight: 900; }
.s1 .wordmark .gaching { font-size: 15px; color: var(--muted); letter-spacing: .08em; margin-left: 6px; align-self: flex-end; padding-bottom: 8px; }
.s1 .lead { max-width: 760px; margin-top: 26px; }
.s1 .steps { margin-top: 44px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 17px; letter-spacing: .12em; font-weight: 700; color: var(--ink-2); }
.s1 .steps i { width: 26px; height: 2px; background: var(--line); }
.s1 .steps span:last-child { color: var(--accent); }
.s1 .hero { height: 1080px; position: relative; }
.s1 .hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s1 .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 22%); }

/* ============================================================
   SLIDE 2 — Problem
   ============================================================ */
.s2 .grid { display: grid; grid-template-columns: 600px 1fr; gap: 64px; margin-top: 40px; align-items: stretch; }
.s2 .compare { position: relative; border-radius: 28px; overflow: hidden; height: 620px; }
.s2 .compare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2 .compare .lbl { position: absolute; bottom: 24px; font-weight: 800; font-size: 20px; padding: 12px 18px; border-radius: 12px; backdrop-filter: blur(6px); }
.s2 .compare .lbl.expect { left: 24px; background: rgba(255,255,255,.9); color: var(--ink); }
.s2 .compare .lbl.actual { right: 24px; background: rgba(224,118,74,.95); color: #fff; }
.s2 .compare .neq { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 46px; font-weight: 900; color: var(--brass); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.s2 .stake { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; }
.s2 .stake .card { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; padding: 22px 36px; }
.s2 .stake .who { font-size: 15px; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.s2 .stake .who b { display: block; font-size: 34px; color: var(--ink); letter-spacing: -.02em; margin-top: 4px; }
.s2 .stake h3 { font-size: 34px; line-height: 1.25; letter-spacing: -.02em; }
.s2 .vars { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.s2 .vars .k { font-size: 17px; font-weight: 800; color: var(--muted); letter-spacing: .06em; margin-right: 10px; }
.s2 .vars .k b { color: var(--accent); font-size: 26px; margin-left: 4px; }
.s2 .vars span:not(.k) { font-size: 18px; padding: 11px 18px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-weight: 600; }

/* ============================================================
   SLIDE 3 — Solution flow
   ============================================================ */
.s3 .flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-top: 56px; position: relative; }
.s3 .flow .node { background: var(--paper-2); border-radius: 22px; padding: 30px 22px 30px; min-height: 230px; position: relative; }
.s3 .flow .node.core { background: var(--ink); color: #fff; }
.s3 .flow .ic { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--accent); }
.s3 .flow .node.core .ic { background: rgba(255,255,255,.12); color: #fff; }
.s3 .flow .n { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-top: 40px; letter-spacing: .1em; }
.s3 .flow .node.core .n { color: rgba(255,255,255,.55); }
.s3 .flow h3 { font-size: 24px; font-weight: 900; margin: 6px 0 0; letter-spacing: .02em; }
.s3 .flow .node.core::after { content: "핵심"; position: absolute; top: 16px; right: 16px; font-size: 12px; letter-spacing: .12em; font-weight: 800; background: var(--accent); color: #fff; padding: 5px 9px; border-radius: 999px; }
.s3 .loopline { margin: 16px 0 0; height: 46px; position: relative; }
.s3 .loopline svg { width: 100%; height: 46px; display: block; }
.s3 .below { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.s3 .ex { border-radius: 22px; padding: 36px 40px; }
.s3 .ex .k { font-size: 14px; letter-spacing: .12em; font-weight: 800; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.s3 .ex .target { margin-top: 14px; font-size: 20px; color: var(--ink-2); }
.s3 .ex .target b { font-size: 26px; color: var(--ink); margin-left: 6px; letter-spacing: -.01em; }
.s3 .ex .bar { display: grid; grid-template-columns: 150px 1fr 90px; gap: 18px; align-items: center; margin-top: 24px; }
.s3 .ex .bar .lbl { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.s3 .ex .bar .track { height: 18px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.s3 .ex .bar .track i { display: block; height: 100%; border-radius: 999px; background: var(--brass); }
.s3 .ex .bar .track i.hi { background: var(--loop); }
.s3 .ex .bar b { font-size: 32px; font-weight: 900; letter-spacing: -.02em; text-align: right; color: var(--accent); }
.s3 .build { border-radius: 22px; padding: 36px 40px; background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; }
.s3 .build .k { font-size: 14px; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.s3 .build .chain { margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.s3 .build .chain span { font-size: 21px; font-weight: 700; color: var(--ink-2); background: #fff; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); }
.s3 .build .chain span.last { background: var(--ink); color: #fff; border-color: transparent; }
.s3 .build .chain i { width: 22px; height: 2px; background: var(--muted); }

/* ============================================================
   SLIDE 4 — Differentiation
   ============================================================ */
.s4 .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; margin-top: 40px; align-items: start; }
.s4 table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 21px; }
.s4 th { text-align: center; font-size: 17px; font-weight: 800; letter-spacing: .02em; color: var(--muted); padding: 0 8px 16px; vertical-align: bottom; line-height: 1.2; }
.s4 th:first-child { text-align: left; }
.s4 th.us { color: var(--accent); font-size: 18px; }
.s4 td { padding: 17px 8px; border-top: 1px solid var(--line); text-align: center; font-weight: 700; }
.s4 td:first-child { text-align: left; font-weight: 600; color: var(--ink-2); }
.s4 td:first-child b { color: var(--ink); font-weight: 800; }
.s4 tr.grp td { border-top: 0; padding: 22px 8px 8px; font-size: 13px; letter-spacing: .14em; font-weight: 800; color: var(--muted); text-align: left; }
.s4 td.us { background: var(--accent-soft); color: var(--accent); }
.s4 .dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
.s4 .dot.y { background: var(--ink-2); }
.s4 .dot.p { background: transparent; border: 2px solid var(--ink-2); }
.s4 .dash { color: #b9bcc5; }
.s4 td.us .dot.y { background: var(--accent); }
.s4 .legend { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 22px; align-items: center; }
.s4 .legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 4px; }
.s4 .legend .lg.y { background: #3c3f47; }
.s4 .legend .lg.p { border: 2px solid #3c3f47; }
.s4 .loop { border-radius: 28px; background: var(--paper-2); padding: 32px 32px 24px; }
.s4 .loop h3 { margin: 0; font-size: 24px; font-weight: 800; }
.s4 .loop svg { width: 100%; display: block; margin-top: 16px; }

/* ============================================================
   SLIDE 5 — Market
   ============================================================ */
.s5 .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; align-items: start; }
.s5 .roles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.s5 .roles .card { padding: 30px 28px 28px; min-height: 150px; }
.s5 .roles .k { font-size: 14px; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
.s5 .roles b { display: block; font-size: 34px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.s5 .card.hi .k { color: rgba(255,255,255,.6); }
.s5 .stat { margin-top: 28px; border-radius: 24px; background: var(--paper-2); padding: 40px 38px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.s5 .stat .n { font-size: 72px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.s5 .stat .n small { font-size: 24px; font-weight: 700; color: var(--ink-2); margin-left: 4px; }
.s5 .stat .up { display: inline-block; font-size: 17px; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; margin-top: 10px; }
.s5 .stat p { margin: 0; font-size: 19px; color: var(--ink-2); line-height: 1.5; }
.s5 .stat p b { color: var(--ink); }
.s5 .beach { margin-top: 28px; display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.s5 .beach .img { height: 250px; }
.s5 .beach h4 { margin: 0; font-size: 30px; font-weight: 800; }
.s5 .beach .tag { margin-top: 12px; font-size: 15px; }
.s5 .beach .chips { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.s5 .beach .chips span { font-size: 16px; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.s5 .funnel { display: grid; gap: 20px; }
.s5 .funnel .tier { border-radius: 22px; padding: 42px 36px; display: grid; grid-template-columns: 100px 1fr; gap: 22px; align-items: center; }
.s5 .funnel .tier .t { font-family: var(--mono); font-size: 26px; font-weight: 800; letter-spacing: .04em; }
.s5 .funnel .tier h4 { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.01em; }
.s5 .funnel .tam { background: var(--paper-2); }
.s5 .funnel .sam { background: var(--paper-3); margin: 0 40px; }
.s5 .funnel .som { background: var(--ink); color: #fff; margin: 0 80px; }
.s5 .funnel .som .t { color: var(--beige); }
.s5 .goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 80px; }
.s5 .goals .g { text-align: center; border-radius: 18px; background: var(--accent-soft); padding: 30px 10px 26px; }
.s5 .goals .g .y { font-size: 14px; letter-spacing: .1em; font-weight: 800; color: var(--accent); }
.s5 .goals .g .v { font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.s5 .goals .g .v small { font-size: 16px; font-weight: 700; color: var(--ink-2); margin-left: 2px; }

/* ============================================================
   SLIDE 6 — Business model
   ============================================================ */
.s6 .phases { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
.s6 .ph { border-radius: 26px; border: 1px solid var(--line); padding: 0; overflow: hidden; display: grid; grid-template-rows: 260px 1fr; background: #fff; }
.s6 .ph .pic { position: relative; background: var(--paper-2); }
.s6 .ph .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s6 .ph .pic .ph-n { position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: 14px; font-weight: 800; letter-spacing: .12em; background: #fff; padding: 7px 11px; border-radius: 999px; color: var(--accent); }
.s6 .ph .pic .when { position: absolute; top: 18px; right: 18px; font-size: 13px; font-weight: 700; background: rgba(21,22,26,.85); color: #fff; padding: 7px 11px; border-radius: 999px; }
.s6 .ph .body { padding: 26px 28px 26px; }
.s6 .ph h3 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.s6 .price { margin-top: 18px; display: grid; gap: 10px; }
.s6 .price .li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); }
.s6 .price .li .what { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.s6 .price .li .amt { font-size: 30px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.s6 .price .li .amt small { font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.s6 .ph.p3 .pic { background: var(--ink); display: grid; place-items: center; }
.s6 .ph.p3 .pic .api { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px 28px 0; width: 100%; }
.s6 .ph.p3 .pic .api span { font-family: var(--mono); font-size: 14px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 14px 14px; border-radius: 12px; letter-spacing: .02em; }
.s6 .ph.p3 .pic .api span b { color: var(--beige); }
.s6 .why { margin-top: 30px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.s6 .why .k { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.s6 .why .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.s6 .why .chips span { font-size: 18px; font-weight: 700; padding: 12px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.s6 .sell { margin-top: 22px; display: flex; align-items: center; gap: 18px; font-size: 21px; font-weight: 700; color: var(--ink-2); }
.s6 .sell .k { font-size: 15px; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.s6 .sell i { width: 30px; height: 2px; background: var(--line); }
.s6 .sell .last { color: var(--accent); font-weight: 900; }

/* ============================================================
   SLIDE 7 — Execution & growth
   ============================================================ */
.s7 .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; margin-top: 36px; align-items: start; }
.s7 .tl { position: relative; display: grid; gap: 0; }
.s7 .tl::before { content: ""; position: absolute; left: 128px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.s7 .st { display: grid; grid-template-columns: 106px 44px 1fr; gap: 0; align-items: center; padding: 11px 0; }
.s7 .st .when { font-family: var(--mono); font-size: 18px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
.s7 .st .when small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; letter-spacing: .08em; }
.s7 .st .dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin: 0 auto; position: relative; z-index: 1; }
.s7 .st.now .dot { background: var(--accent); box-shadow: 0 0 0 7px var(--accent-soft); }
.s7 .st .body { background: var(--paper-2); border-radius: 20px; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.s7 .st h3 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.s7 .st .tag { font-size: 15px; }
.s7 .fly { border-radius: 28px; background: var(--ink); color: #fff; padding: 30px 32px 26px; }
.s7 .fly h3 { margin: 0; font-size: 24px; font-weight: 800; }
.s7 .fly .small { color: #b7b9c4; margin-top: 4px; font-size: 16px; }
.s7 .fly svg { width: 100%; display: block; margin-top: 6px; }
.s7 .fly .moat { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 21px; font-weight: 700; color: rgba(255,255,255,.9); text-align: center; }
.s7 .fly .moat b { color: var(--beige); }

/* ============================================================
   SLIDE 8 — Team & closing
   ============================================================ */
.s8 { padding: 0; }
.s8 .bg { position: absolute; inset: 0; }
.s8 .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; display: block; }
.s8 .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,.92) 52%, rgba(255,255,255,.35) 72%, rgba(255,255,255,0) 100%); }
.s8 .content { position: absolute; inset: 0; padding: 96px 120px 110px; display: grid; grid-template-rows: auto 1fr; }
.s8 .team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; max-width: 1320px; }
.s8 .team .card { padding: 22px 22px 20px; background: rgba(255,255,255,.9); }
.s8 .team .role { font-size: 13px; letter-spacing: .12em; font-weight: 800; color: var(--accent); }
.s8 .team .name { font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: -.01em; }
.s8 .team .name.ph { color: #b6b9c2; border-bottom: 2px dashed var(--line); display: inline-block; padding-bottom: 2px; }
.s8 .team .card.partner { background: var(--beige-soft); border-color: transparent; }
.s8 .team .card.partner .role { color: #8a5f35; }
.s8 .team .card.partner .name { font-size: 20px; }
.s8 .close { align-self: end; max-width: 1180px; }
.s8 .close .q { font-size: 44px; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; color: var(--ink-2); }
.s8 .close .a { font-size: 76px; font-weight: 900; letter-spacing: -.035em; line-height: 1.12; margin-top: 18px; }
.s8 .close .a em { font-style: normal; background: var(--loop); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s8 .close .slogan { margin-top: 26px; font-size: 26px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.s8 .close .steps { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 17px; letter-spacing: .12em; font-weight: 700; color: var(--ink-2); }
.s8 .close .steps i { width: 26px; height: 2px; background: var(--line); }
.s8 .close .steps span:last-child { color: var(--accent); }

/* ---------- Speaker notes panel ---------- */
.notes {
  position: fixed; right: 0; top: 0; bottom: 0; width: 520px;
  background: #16171b; color: #e9e9ee; padding: 28px 28px 28px;
  transform: translateX(100%); transition: transform .3s ease;
  font-size: 17px; line-height: 1.75; overflow: auto; z-index: 10;
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.notes.open { transform: none; }
.notes h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; color: #8e93a3; text-transform: uppercase; }
.notes .title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.notes p { margin: 0 0 12px; color: #c9cbd4; }
.notes .keys { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; font-size: 13px; color: #8e93a3; }
.notes .keys kbd { background: #23252b; border-color: #34363d; color: #e9e9ee; }

/* ---------- Slide picker dots (bottom center) ---------- */
.dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; pointer-events: auto; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d7d5d0; padding: 0; cursor: pointer; transition: transform .2s, background .2s; }
.dots button.on { background: var(--accent); transform: scale(1.4); }
.dots button:hover { background: var(--accent-2); }

/* ---------- Print: one slide per page ---------- */
@media print {
  body, .viewport { background: #fff; overflow: visible; }
  .viewport { position: static; display: block; }
  .stage { transform: none !important; margin: 0 !important; position: static !important; box-shadow: none; width: 1920px; height: auto; overflow: visible; }
  .slide { opacity: 1 !important; visibility: visible !important; transform: none !important; position: relative; width: 1920px; height: 1080px; overflow: hidden; page-break-after: always; break-after: page; }
  .step { opacity: 1 !important; transform: none !important; }
  .chrome, .notes, .nav-hint { display: none !important; }
  @page { size: 1920px 1080px; margin: 0; }
}
