/* Presentation deck — Chromatic Guide (projector-friendly) */

body.deck-body {
  overflow: hidden;
  height: 100vh;
  display: block;
  background: #ffffff;
  color: #1a1a1a;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
}

body.deck-body h1,
body.deck-body h2,
body.deck-body h3 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
}

body.deck-body a {
  color: #1a1a1a;
  border-bottom: 1px solid #ccc;
  text-decoration: none;
}

body.deck-body a:hover {
  border-bottom-color: #1a1a1a;
}

.deck-viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(100vh - 52px);
  overflow: hidden;
}

.deck-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.deck-slide {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
}

.deck-slide-inner {
  max-width: 52rem;
  width: 100%;
  margin: 0;
  padding-right: min(22vw, 240px);
}

.deck-slide-inner--wide {
  max-width: 56rem;
}

.deck-slide h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.deck-slide h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.deck-slide h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.deck-sub {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: #333;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 44rem;
}

.deck-meta {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #777;
  margin-top: 1.25rem;
}

.deck-kicker {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.5rem;
}

.deck-section-slide {
  background: #fafafa;
}

.deck-list {
  margin: 0;
  padding-left: 1.35rem;
  color: #333;
  line-height: 1.55;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.deck-list li {
  margin-bottom: 0.55rem;
}

.deck-list strong {
  color: #1a1a1a;
  font-weight: 400;
}

.deck-agenda {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  counter-reset: agenda;
}

.deck-agenda li {
  counter-increment: agenda;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ececec;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #333;
  line-height: 1.45;
}

.deck-agenda li::before {
  content: counter(agenda) ".";
  color: #1a1a1a;
  margin-right: 0.65rem;
}

.deck-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.deck-col p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #555;
  line-height: 1.5;
}

.deck-quote {
  margin: 1rem 0 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid #ececec;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: #444;
  line-height: 1.5;
}

.deck-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-style: normal;
  color: #888;
}

.deck-stat {
  display: inline-block;
  margin: 0.5rem 1rem 0.5rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid #ececec;
  border-radius: 4px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #444;
}

.deck-stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.deck-source {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ececec;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: #888;
  line-height: 1.5;
}

.deck-resource-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.deck-resource-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #ececec;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: #333;
  line-height: 1.45;
}

.deck-journey-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #ececec;
}

.deck-journey-step:last-child {
  border-bottom: 0;
}

.deck-journey-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #666;
}

/* Split layout with illustrations */
.deck-split {
  display: grid;
  grid-template-columns: 1fr min(280px, 32vw);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  max-width: min(62rem, 92vw);
  padding-right: 0;
}

.deck-split--visual-right {
  grid-template-columns: 1fr min(300px, 34vw);
}

.deck-split--visual-left {
  grid-template-columns: min(280px, 32vw) 1fr;
}

.deck-visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-visual img {
  width: 100%;
  height: auto;
  max-height: min(42vh, 320px);
  object-fit: contain;
}

.deck-split .deck-text {
  min-width: 0;
}

.deck-back {
  position: fixed;
  top: 1rem;
  left: clamp(1rem, 3vw, 2rem);
  z-index: 100;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #888;
  border: 0;
}

.deck-back:hover {
  color: #1a1a1a;
}

.deck-hint {
  position: fixed;
  top: 1rem;
  right: clamp(1rem, 3vw, 2rem);
  font-size: 0.75rem;
  color: #aaa;
  z-index: 100;
}

.deck-ui {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #ececec;
  backdrop-filter: blur(6px);
}

.deck-ui button {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
}

.deck-ui button:hover:not(:disabled) {
  border-color: #1a1a1a;
  background: #fafafa;
}

.deck-ui button:disabled {
  opacity: 0.35;
  cursor: default;
}

.deck-counter {
  font-size: 0.82rem;
  color: #888;
  min-width: 4rem;
  text-align: center;
}

.deck-progress {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(50vw, 420px);
}

.deck-progress-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ececec;
  border: none;
  padding: 0;
  cursor: pointer;
}

.deck-progress-dot.active {
  background: #1a1a1a;
}

/* Decorative wheel — keep off text area */
body.deck-body .home-wheel {
  z-index: 1;
  opacity: 0.55;
  right: -18%;
  bottom: -18%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
}

@media (max-width: 900px) {
  .deck-split,
  .deck-split--visual-right,
  .deck-split--visual-left {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .deck-slide-inner {
    padding-right: 0;
  }

  .deck-visual {
    order: -1;
    max-width: 260px;
    margin: 0 auto 0.75rem;
  }
}

@media print {
  .deck-ui,
  .deck-hint,
  .deck-back,
  .home-wheel {
    display: none;
  }

  .deck-viewport {
    height: auto;
    overflow: visible;
  }

  .deck-track {
    flex-direction: column;
    transform: none !important;
  }

  .deck-slide {
    flex: none;
    page-break-after: always;
  }
}
