/* agol_fdw promo deck — slide layout (16:9) */
html, body { height: 100%; margin: 0; }
body.deck {
  background: var(--ink); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.deck-stage {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, var(--ink), var(--bg));
  overflow: hidden;
}

.slide {
  position: absolute; inset: 0;
  display: none; flex-direction: column; justify-content: center;
  padding: 6% 8%;
  animation: fade 0.3s ease;
}
.slide.active { display: flex; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.slide h1 { font-size: clamp(2rem, 5.5vw, 4.4rem); margin: 0 0 0.3em; }
.slide h2 { font-size: clamp(1.4rem, 3.6vw, 2.8rem); margin: 0 0 0.5em; }
.slide h3 { font-size: clamp(1.1rem, 2.2vw, 1.7rem); margin: 0 0 0.4em; color: var(--cyan); }
.slide p, .slide li { font-size: clamp(1rem, 1.8vw, 1.5rem); }
.slide .lead { font-size: clamp(1.1rem, 2.2vw, 1.8rem); color: var(--muted); max-width: 32ch; }
.slide ul { padding-left: 1.2em; }
.slide ul li { margin-bottom: 0.4em; }
.slide .eyebrow { font-size: clamp(0.7rem, 1.2vw, 1rem); }

.slide-title { text-align: center; align-items: center; }
.slide-title .logo { width: clamp(160px, 26vw, 360px); margin-bottom: 0.4em; }
.slide-title h1 { background: linear-gradient(90deg, var(--text), var(--cyan-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; height: 100%; }
.feature-bullets li { color: var(--muted); }
.feature-bullets li strong { color: var(--text); }

.slide-code {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: clamp(12px, 2vw, 24px); font-family: var(--mono);
  font-size: clamp(0.7rem, 1.3vw, 1.1rem); line-height: 1.5; overflow: hidden;
}
.slide-code .c { color: var(--muted); }
.slide-code .k { color: var(--cyan-bright); }
.slide-code .s { color: var(--ok); }

.badge { font-size: clamp(0.65rem, 1.1vw, 0.95rem); }

/* diagram fill */
.slide-diagram { display: flex; align-items: center; justify-content: center; }
.slide-diagram svg, .slide-diagram img { width: 92%; max-height: 80%; }

/* progress + counter + controls */
.deck-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--cyan); z-index: 10; transition: width 0.25s ease; }
.deck-counter { position: fixed; bottom: 14px; right: 18px; font-family: var(--mono); color: var(--muted); font-size: 0.85rem; z-index: 10; }
.deck-controls { position: fixed; bottom: 14px; left: 18px; display: flex; gap: 8px; z-index: 10; }
.deck-controls button {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 6px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem;
}
.deck-controls button:hover { border-color: var(--cyan); color: var(--cyan); }
.deck-hint { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 0.75rem; z-index: 10; font-family: var(--mono); }
