/* SLIDE 8 · Klein-Kahneman — two conditions for trustworthy intuition */

.slide-8 { flex-direction: column; }

.slide-8 .stage-8 {
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 1000px; width: 100%;
  gap: 5vh;
}

.slide-8 .eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--paper-ghost);
  text-transform: uppercase;
  display: flex; gap: 10px;
  opacity: 0;
}
.slide-8 .eyebrow .sep { opacity: 0.5; }
.slide-8.started .eyebrow { animation: s8-fade 700ms var(--ease-out-quart) 300ms forwards; }

.slide-8 .headline {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "wght" 500;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-align: center;
  opacity: 0; transform: translateY(10px);
}
.slide-8 .headline .emphasis {
  font-style: italic;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "wght" 700;
}
.slide-8.started .headline { animation: s8-rise 900ms var(--ease-out-quart) 700ms forwards; }

.slide-8 .conditions {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 800px;
}

.slide-8 .cond {
  display: flex;
  gap: 28px;
  align-items: baseline;
  opacity: 0; transform: translateY(10px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.slide-8.started .cond:nth-of-type(1) { animation: s8-rise 900ms var(--ease-out-quart) 1300ms forwards; }
.slide-8.started .cond:nth-of-type(2) { animation: s8-rise 900ms var(--ease-out-quart) 1800ms forwards; }

.slide-8 .cond-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  min-width: 2.5ch;
}

.slide-8 .cond-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide-8 .cond-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 48, "wght" 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.slide-8 .cond-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--paper-dim);
}

.slide-8 .examples {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 3vh;
  width: 100%;
  max-width: 800px;
}

.slide-8 .ex-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  opacity: 0;
  position: relative;
}

.slide-8 .ex-glyph {
  font-family: var(--font-display);
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
  width: 16px;
  text-align: center;
}
/* Glyphs stay neutral — red is reserved for the punchline "ви з рішенням". */
.slide-8 .ex-row:nth-of-type(1) .ex-glyph { color: var(--paper-dim); }
.slide-8 .ex-row:nth-of-type(2) .ex-glyph { color: var(--paper-ghost); }

/* "ви з рішенням" highlighted in accent red; red arrow points at it */
.slide-8 .ex-you {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}
.slide-8 .ex-arrow {
  position: absolute;
  right: 0;
  top: -26px;
  width: 70px;
  height: 26px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}
.slide-8.started .ex-arrow {
  animation: s8-arrow-in 900ms var(--ease-out-quart) 3200ms forwards;
}
@keyframes s8-arrow-in {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 0.9; transform: translateX(0); }
}

.slide-8.started .ex-row:nth-of-type(1) { animation: s8-fade 800ms var(--ease-out-quart) 2500ms forwards; }
.slide-8.started .ex-row:nth-of-type(2) { animation: s8-fade 800ms var(--ease-out-quart) 2800ms forwards; }

.slide-8 .ex-mark {
  flex: 0 0 50px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.slide-8 .ex-mark.yes { color: var(--accent); }
.slide-8 .ex-mark.no  { color: var(--paper-ghost); }

.slide-8 .ex-row:nth-of-type(2) .ex-list { color: var(--paper); }

@keyframes s8-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s8-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
