/* ============================================================================
   deck-v3.css — 10-slide deck driven by Tania's talking points
   Imports deck-v2.css for shared illustrated styles, adds new slide types.
   ========================================================================== */
@import url("./deck-v2.css");

/* ────────────────────────────────────────────────────────────────────────────
   Slide 1: Thesis — "Tell, don't guess."
   Editorial cover-page treatment, single huge phrase.
   ──────────────────────────────────────────────────────────────────────── */

.thesis-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 96px;
  padding-right: 96px;
  inset: 0 96px 0 96px;
}

.thesis-eyebrow {
  font: 700 13px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 24px;
}

.thesis-h2 {
  font-family: 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(96px, 12vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}

.thesis-h2 em { font-style: italic; }
.thesis-h2 .accent-orange { color: var(--accent-1); }

.thesis-sub {
  max-width: 720px;
  margin: 0 0 32px;
  font: 500 22px/1.4 'Familjen Grotesk', Georgia, serif;
  color: var(--ink);
  opacity: 0.85;
}
.thesis-sub em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent-1);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.thesis-contrast {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 18px 28px;
  box-shadow: 0 8px 24px -10px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.4deg);
}

.contrast-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contrast-label {
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

.contrast-line {
  font: 600 18px/1.2 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}

.contrast-bad .contrast-line { color: var(--accent-4); text-decoration: line-through; opacity: 0.8; }
.contrast-good .contrast-line { color: var(--accent-3); }

.contrast-arrow {
  width: 56px;
  height: 28px;
  color: var(--ink);
  opacity: 0.7;
  flex-shrink: 0;
}


/* ────────────────────────────────────────────────────────────────────────────
   Slide 2: The Problem — 4-step horizontal loop
   ──────────────────────────────────────────────────────────────────────── */

.slide-body-problem {
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.loop-diagram {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.loop-step {
  flex: 1;
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 14px 28px -14px rgba(15, 20, 25, 0.25),
    0 4px 10px -4px rgba(15, 20, 25, 0.1);
}

.loop-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent-4);
  opacity: 0.7;
}
.loop-step-4::before { background: var(--accent-1); opacity: 1; }

.loop-step-1 { transform: rotate(-0.5deg); }
.loop-step-2 { transform: rotate(0.3deg); }
.loop-step-3 { transform: rotate(-0.3deg); }
.loop-step-4 { transform: rotate(0.4deg); }

.loop-num {
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.16em;
  color: var(--accent-1);
  text-transform: uppercase;
}

.loop-glyph {
  width: 56px;
  height: 56px;
  color: var(--ink);
  opacity: 0.85;
  margin: 4px 0;
}

.loop-label {
  font: 700 14px/1.2 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}

.loop-arrow {
  width: 28px;
  height: 28px;
  align-self: center;
  color: var(--ink);
  opacity: 0.4;
  flex-shrink: 0;
}

.problem-tagline {
  margin: 4px 0 0;
  font: 500 18px/1.45 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
  text-align: center;
  max-width: 760px;
}


/* ────────────────────────────────────────────────────────────────────────────
   Slide 3: What WebMCP Is — lede + 3 concept cards
   Reuses .intro-* foundation, adapts to 4-col layout
   ──────────────────────────────────────────────────────────────────────── */

.whatis-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.whatis-lede,
.whatis-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 18px 38px -16px rgba(15, 20, 25, 0.28),
    0 4px 10px -4px rgba(15, 20, 25, 0.12);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.whatis-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.whatis-grid > .whatis-card:nth-child(2)::before { background: var(--accent-1); }
.whatis-grid > .whatis-card:nth-child(3)::before { background: var(--accent-3); }
.whatis-grid > .whatis-card:nth-child(4)::before { background: var(--accent-4); }

.whatis-lede {
  background: var(--accent-2);
  border-color: rgba(15, 20, 25, 0.12);
  padding: 28px 26px 24px;
  justify-content: center;
}

.whatis-lede-text {
  margin: 0 0 14px;
  font: 500 20px/1.4 'Familjen Grotesk', Georgia, serif;
  color: var(--ink);
}
.whatis-lede-text em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent-1);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.whatis-lede-text strong { font-weight: 700; }

.whatis-lede-cite {
  margin: 0;
  font: 600 11px/1.3 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

.whatis-card-title {
  margin: 0 0 8px;
  font: 700 16px/1.3 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}
.whatis-card-title em { font-style: italic; color: var(--accent-1); }

.whatis-card-text {
  margin: 0;
  font: 500 14px/1.55 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  opacity: 0.85;
}
.whatis-card-text em { font-style: italic; }

.whatis-credibility .credit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  margin-top: 4px;
}
.whatis-credibility .credit-row-tight { margin-bottom: 0; }

.whatis-grid > .whatis-lede { transform: rotate(-0.5deg); }
.whatis-grid > .whatis-card:nth-child(2) { transform: rotate(0.3deg); }
.whatis-grid > .whatis-card:nth-child(3) { transform: rotate(-0.3deg); }
.whatis-grid > .whatis-card:nth-child(4) { transform: rotate(0.4deg); }


/* ────────────────────────────────────────────────────────────────────────────
   Slide 6: WebMCP vs Regular MCP — comparison table card
   ──────────────────────────────────────────────────────────────────────── */

[data-motion="vsmcp"] .slide-body {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.vs-table {
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 8px 8px 6px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 18px 38px -16px rgba(15, 20, 25, 0.28),
    0 4px 10px -4px rgba(15, 20, 25, 0.12);
  transform: rotate(-0.2deg);
  width: 100%;
}

.vs-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 0;
  padding: 14px 18px;
  border-bottom: 1px dashed var(--ink-08);
  align-items: center;
}
.vs-row:last-child { border-bottom: none; }

.vs-head {
  border-bottom: 2px solid var(--ink);
  padding-top: 16px;
  padding-bottom: 12px;
}

.vs-head .vs-col {
  font: 700 16px/1 'Bricolage Grotesque', sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.vs-cell {
  font: 500 14.5px/1.4 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}

.vs-key {
  font-weight: 700;
  color: var(--ink);
  opacity: 0.75;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-col-web { color: var(--accent-1); }
.vs-col-srv { color: var(--ink); }

.vs-row:not(.vs-head) .vs-cell:nth-child(2) {
  background: rgba(255, 138, 76, 0.06);
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 10px;
}

.vs-footer {
  margin: 18px 0 0;
  font: 500 16px/1.45 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
  text-align: center;
}
.vs-footer strong {
  font-weight: 700;
  font-style: normal;
  background: var(--accent-2);
  padding: 2px 10px;
  border-radius: 4px;
}


/* ────────────────────────────────────────────────────────────────────────────
   Slide 7: Real Talk + Status timeline
   ──────────────────────────────────────────────────────────────────────── */

.slide-body-realtalk {
  flex-direction: column;
}

.realtalk-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  width: 100%;
  align-items: stretch;
}

.limits-card,
.timeline-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 18px 38px -16px rgba(15, 20, 25, 0.28),
    0 4px 10px -4px rgba(15, 20, 25, 0.12);
  display: flex;
  flex-direction: column;
}
.limits-card { transform: rotate(-0.3deg); }
.timeline-card { transform: rotate(0.3deg); }

.limits-card::before,
.timeline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.limits-card::before { background: var(--accent-4); }
.timeline-card::before { background: var(--accent-3); }

.limits-label {
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 14px;
}

.limits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.limits-list li {
  display: flex;
  gap: 12px;
  font: 500 14.5px/1.45 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}
.limits-list li strong { font-weight: 700; }

.limit-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 13px/1 'Bricolage Grotesque', sans-serif;
  margin-top: 1px;
}
.limits-list li:last-child .limit-mark { background: var(--accent-2); color: var(--ink); }

/* Timeline bar */
.timeline-bar {
  display: flex;
  align-items: center;
  margin: 8px 0 22px;
  gap: 4px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex-shrink: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.25);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(15, 20, 25, 0.25);
}
.timeline-step.active .timeline-dot {
  background: var(--accent-1);
  box-shadow: 0 0 0 2px var(--accent-1), 0 0 0 6px rgba(255, 138, 76, 0.18);
  width: 20px;
  height: 20px;
}

.timeline-name {
  font: 700 12px/1 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline-step.active .timeline-name {
  color: var(--accent-1);
}

.timeline-here {
  position: absolute;
  bottom: -22px;
  font: 500 11px/1 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--accent-1);
  white-space: nowrap;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: rgba(15, 20, 25, 0.18);
  border-radius: 2px;
  min-width: 24px;
}

.status-facts {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 14px/1.3 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  padding: 4px 0;
}

.fact-tag {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--accent-2);
  padding: 4px 10px;
  border-radius: 4px;
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 96px;
  justify-content: center;
}


/* ────────────────────────────────────────────────────────────────────────────
   Slide 8: The Buy Button — closing insight illustration
   ──────────────────────────────────────────────────────────────────────── */

.slide-body-closer {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.buy-stage {
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 24px 32px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 18px 38px -16px rgba(15, 20, 25, 0.28),
    0 4px 10px -4px rgba(15, 20, 25, 0.12);
  transform: rotate(-0.3deg);
}

.buy-illustration {
  width: 520px;
  max-width: 100%;
  height: auto;
}

.closer-sendoff {
  margin: 0;
  max-width: 820px;
  font: 500 22px/1.45 'Familjen Grotesk', Georgia, serif;
  color: var(--ink);
  text-align: center;
  padding: 16px 32px;
  background: var(--accent-2);
  border-radius: 999px;
  box-shadow: 0 8px 22px -10px rgba(15, 20, 25, 0.25);
  transform: rotate(0.3deg);
}
.closer-sendoff em { font-style: italic; }


/* ────────────────────────────────────────────────────────────────────────────
   Ensure new motion-type slides remain visible (no GSAP reveal wired)
   ──────────────────────────────────────────────────────────────────────── */

[data-motion="thesis"] .thesis-h2,
[data-motion="thesis"] .thesis-sub,
[data-motion="thesis"] .thesis-contrast,
[data-motion="problem"] .loop-step,
[data-motion="problem"] .problem-tagline,
[data-motion="whatis"] .whatis-lede,
[data-motion="whatis"] .whatis-card,
[data-motion="vsmcp"] .vs-table,
[data-motion="vsmcp"] .vs-footer,
[data-motion="realtalk"] .limits-card,
[data-motion="realtalk"] .timeline-card,
[data-motion="closer"] .buy-stage,
[data-motion="closer"] .closer-sendoff {
  will-change: transform, opacity;
}


/* ============================================================================
   V4 ADDITIONS — Tania's tweaks
   ========================================================================== */

/* Hide the ambient cumulus clouds, meta strip, and dev HUD across all v4 slides */
.deck #deck-cumulus,
.deck .deck-cumulus-bl,
.deck .meta-strip,
#hud,
.hud {
  display: none !important;
}

/* Align mono font stack with index page (styles.css) */
.deck .code-block,
.deck .code-block code,
.deck .mono-pill,
.deck .attr-name,
.deck .api-tag,
.deck .hs-mock-name,
.deck .hs-mock-desc,
.deck .bistro-tab-url {
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace !important;
}

/* ── Slide 2 (Problem): slim demo link strip ───────────────────────────── */

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 999px;
  padding: 10px 22px 10px 24px;
  box-shadow: 0 6px 18px -10px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.3deg);
  margin: 0 auto 18px;
  align-self: center;
  max-width: 100%;
}

.demo-link-eyebrow {
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  flex-shrink: 0;
}
.demo-link-eyebrow em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Familjen Grotesk', Georgia, serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent-1);
  margin: 0 4px;
  letter-spacing: -0.01em;
}

.demo-link-url {
  font: 600 14px/1 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 14px;
  background: var(--accent-2);
  border-radius: 999px;
  border: 1px solid rgba(15, 20, 25, 0.12);
  transition: background 0.15s;
}
.demo-link-url:hover {
  background: var(--accent-1);
  color: #fff;
}

.demo-link-arrow {
  font: 700 18px/1 'Bricolage Grotesque', sans-serif;
  color: var(--accent-1);
  flex-shrink: 0;
}

/* Legacy: keep bistro-callout styles (unused now, can be cleaned later) */
.bistro-callout {
  display: none; /* replaced by .demo-link */
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 14px 22px 14px 14px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 14px 28px -14px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.3deg);
  margin-bottom: 18px;
}

.bistro-mock {
  flex-shrink: 0;
  width: 220px;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bistro-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #2a2f36;
  padding: 6px 10px;
}

.bistro-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}
.bistro-tab .bistro-tab-dot:nth-child(2) { background: #febc2e; }
.bistro-tab .bistro-tab-dot:nth-child(3) { background: #28c840; }

.bistro-tab-url {
  margin-left: auto;
  font: 500 9px/1 ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.55);
}

.bistro-screen {
  position: relative;
  background: #fdf6e3;
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bistro-title {
  font: 700 11px/1 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.bistro-form-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bistro-label {
  font: 700 8px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.5;
  width: 36px;
}

.bistro-input {
  flex: 1;
  height: 10px;
  background: #fff;
  border: 1px solid rgba(15, 20, 25, 0.15);
  border-radius: 3px;
}

.bistro-cta {
  margin-top: 4px;
  align-self: flex-start;
  background: var(--accent-1);
  color: #fff;
  font: 700 9px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 3px;
}

/* Scan-line overlay (computer-use scrape effect) */
.bistro-scan {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 4px,
    rgba(255, 138, 76, 0.18) 4px 6px
  );
  pointer-events: none;
}
.bistro-scan::after {
  content: 'SCRAPING';
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent-1);
  color: #fff;
  font: 700 7px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.12em;
  padding: 3px 5px;
  border-radius: 2px;
}

.bistro-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.bistro-tag {
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.bistro-text {
  margin: 0;
  font: 500 15px/1.45 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}
.bistro-text strong { font-weight: 700; }
.bistro-text em {
  font-style: italic;
  font-family: 'Familjen Grotesk', Georgia, serif;
  font-size: 16px;
  color: var(--accent-4);
}


/* ── Slide 3 (What WebMCP Is): 3D sticker as card hero ─────────────────── */

.whatis-card-stock {
  padding-top: 18px;
  align-items: flex-start;
}

.whatis-sticker {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  filter:
    drop-shadow(0 4px 8px rgba(15, 20, 25, 0.10))
    drop-shadow(0 10px 22px rgba(15, 20, 25, 0.22));
}

.whatis-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.whatis-card-stock .card-numeral {
  /* Numeral becomes a small accent in the corner, not the hero */
  font-size: 16px;
  top: 14px;
  right: 16px;
  opacity: 0.6;
}


/* ── Slide 4 (vs MCP): deco pill text update — handled in HTML ─────────── */


/* ── Slide 5 (Two APIs): reminder strip, example chips, fixed layout ────── */

.apis-reminder {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-2);
  border: 1px solid rgba(15, 20, 25, 0.12);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 6px 16px -10px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.2deg);
  margin-bottom: 16px;
  align-self: flex-start;
}

.apis-reminder-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  font: 700 14px/1 'Bricolage Grotesque', sans-serif;
  flex-shrink: 0;
}

.apis-reminder-text {
  font: 500 15px/1.3 'Familjen Grotesk', Georgia, serif;
  color: var(--ink);
}
.apis-reminder-text strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent-1);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Example chips inside API cards */
.api-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--ink-08);
  border-bottom: 1px dashed var(--ink-08);
}

.api-example-label {
  font: 700 10px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0.5;
  margin-right: 4px;
}

.api-example-chip {
  display: inline-flex;
  align-items: center;
  background: var(--accent-2);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 12px/1 'Bricolage Grotesque', sans-serif;
}

.api-imp .api-example-chip {
  background: rgba(107, 163, 208, 0.18);
  color: var(--sky-deep);
}


/* ── Slide 6 (Five Attributes): top ritual strip + a11y v2 ─────────────── */

.tools-reminder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 10px 22px;
  box-shadow: 0 6px 16px -10px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.2deg);
  margin-bottom: 14px;
  align-self: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.ritual-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ritual-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent-2);
  font: 700 12px/1 'Bricolage Grotesque', sans-serif;
  flex-shrink: 0;
}

.ritual-done .ritual-num {
  background: var(--accent-3);
  color: #fff;
}

.ritual-text {
  font: 600 13px/1 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}

.ritual-done .ritual-text {
  color: var(--accent-3);
}

.ritual-arrow {
  width: 22px;
  height: 13px;
  color: var(--ink);
  opacity: 0.35;
  flex-shrink: 0;
}

/* a11y band v2 — more illustrated, "HTML → JSON" flow */
.a11y-band-v2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 22px;
  border: 1px dashed rgba(46, 204, 113, 0.5);
  border-radius: 14px;
  background: #fff;
}

.a11y-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.a11y-flow-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.a11y-flow-label {
  font: 700 10px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}

.a11y-flow-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.a11y-flow-schema-pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent-3);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font: 700 12px/1 'Bricolage Grotesque', sans-serif;
}

.a11y-flow-arrow {
  width: 36px;
  height: 20px;
  color: var(--accent-3);
  opacity: 0.7;
  flex-shrink: 0;
}

.a11y-text-v2 {
  margin: 0;
  font: 500 13px/1.4 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
}
.a11y-text-v2 strong {
  font-weight: 700;
  font-style: normal;
  color: var(--accent-3);
}


/* ── Slide 7 (Real Talk v2): 3-row stacked layout ──────────────────────── */

.slide-body-realtalk-v2 {
  flex-direction: column;
  gap: 16px;
}

/* Row 1: 4 horizontal limit cards */
.rt-limits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.rt-limit-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 10px 22px -12px rgba(15, 20, 25, 0.22);
}
.rt-limit-card:nth-child(1) { transform: rotate(-0.4deg); }
.rt-limit-card:nth-child(2) { transform: rotate(0.3deg); }
.rt-limit-card:nth-child(3) { transform: rotate(-0.3deg); }
.rt-limit-card:nth-child(4) { transform: rotate(0.4deg); }

.rt-limit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 16px/1 'Bricolage Grotesque', sans-serif;
}
.rt-limit-icon[data-kind="warn"] {
  background: var(--accent-2);
  color: var(--ink);
}

.rt-limit-body { flex: 1; }

.rt-limit-title {
  font: 700 13px/1.2 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  margin-bottom: 4px;
}

.rt-limit-text {
  font: 500 12.5px/1.35 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  opacity: 0.75;
}

/* Row 2: Big lifecycle bar */
.rt-timeline-card {
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 22px 36px 28px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 14px 30px -14px rgba(15, 20, 25, 0.25);
  transform: rotate(-0.2deg);
}

.rt-timeline-label {
  display: block;
  font: 700 11px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 18px;
}

.rt-timeline-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rt-tstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}

.rt-tdot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.22);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(15, 20, 25, 0.18);
}

.rt-tactive .rt-tdot {
  background: var(--accent-1);
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 3px var(--accent-1), 0 0 0 9px rgba(255, 138, 76, 0.18);
}

.rt-tname {
  font: 700 13px/1 'Bricolage Grotesque', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.rt-tactive .rt-tname {
  color: var(--accent-1);
  font-size: 14px;
}

.rt-there {
  position: absolute;
  bottom: -24px;
  font: 500 12px/1 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--accent-1);
  white-space: nowrap;
}

.rt-tline {
  flex: 1;
  height: 3px;
  background: rgba(15, 20, 25, 0.18);
  border-radius: 3px;
  min-width: 40px;
}

/* Row 3: Four horizontal status fact chips */
.rt-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rt-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px -6px rgba(15, 20, 25, 0.2);
}

.rt-fact-tag {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--accent-2);
  padding: 4px 8px;
  border-radius: 4px;
  font: 700 10px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rt-fact-text {
  font: 500 12.5px/1.3 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
}


/* ── Slide 9 (Hands-On v2): 2 big cards instead of 3 ──────────────────── */

.slide-body-handson-v2 {
  flex-direction: column;
  gap: 18px;
}

.grid-2-big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  flex: 1;
  align-items: stretch;
}

.handson-card-big {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 2px 4px rgba(15, 20, 25, 0.04),
    0 18px 38px -16px rgba(15, 20, 25, 0.28),
    0 4px 10px -4px rgba(15, 20, 25, 0.12);
  overflow: hidden;
}
.handson-card-big::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.hs-bigleft::before { background: var(--accent-1); }
.hs-bigright::before { background: var(--accent-4); }

.hs-bigleft { transform: rotate(-0.4deg); }
.hs-bigright { transform: rotate(0.4deg); }

.handson-card-big .hs-chip {
  margin-bottom: 0;
}

.hs-title-big {
  margin: 0;
  font: 500 26px/1.2 'Familjen Grotesk', Georgia, serif;
  font-style: italic;
  color: var(--ink);
}

.hs-text-big {
  margin: 0;
  font: 500 16px/1.5 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  opacity: 0.85;
}
.hs-text-big strong { font-weight: 700; color: var(--ink); }
.hs-text-big em {
  font-style: italic;
  font-family: 'Familjen Grotesk', Georgia, serif;
}

.hs-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.hs-ex {
  display: inline-flex;
  align-items: center;
  background: var(--accent-2);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font: 600 13px/1 'Bricolage Grotesque', sans-serif;
}

.hs-mock {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(15, 20, 25, 0.04);
  border-radius: 8px;
  border: 1px dashed rgba(15, 20, 25, 0.15);
}

.hs-mock-name {
  font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent-1);
}

.hs-mock-desc {
  font: 500 13px/1.4 'Bricolage Grotesque', sans-serif;
  color: var(--ink);
  opacity: 0.85;
}

.quote-bar-v2 {
  background: var(--accent-2);
  text-align: center;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 999px;
}


/* ── Slide 6 (Annotate the form): compress to fit viewport ─────────────── */
[data-motion="tools"] .hero-h2 {
  font-size: clamp(40px, 4.5vw, 64px) !important;
  line-height: 1.05 !important;
}
[data-motion="tools"] .hero {
  margin-bottom: 18px !important;
}
[data-motion="tools"] .code-block.code-block-tall {
  font-size: 12.5px;
  line-height: 1.55;
  padding: 14px;
}
[data-motion="tools"] .tools-group {
  padding: 12px 18px;
  gap: 6px;
}
[data-motion="tools"] .tools-group-label {
  margin-bottom: 0;
  font-size: 10px;
}
[data-motion="tools"] .attr-row {
  padding: 4px 0;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}
[data-motion="tools"] .attr-desc {
  font-size: 12.5px;
  line-height: 1.35;
}
[data-motion="tools"] .a11y-band-v2 {
  padding: 10px 18px;
  gap: 4px;
}
[data-motion="tools"] .a11y-text-v2 {
  font-size: 12px;
}
[data-motion="tools"] .tools-reminder {
  padding: 8px 18px;
  margin-bottom: 10px;
}

/* Ensure all new v4 elements remain visible (no GSAP reveal wired) */
[data-motion="problem"] .bistro-callout,
[data-motion="whatis"] .whatis-sticker,
[data-motion="apis-v2"] .apis-reminder,
[data-motion="apis-v2"] .api-examples,
[data-motion="tools"] .tools-reminder,
[data-motion="tools"] .a11y-band-v2,
[data-motion="realtalk"] .rt-limits,
[data-motion="realtalk"] .rt-timeline-card,
[data-motion="realtalk"] .rt-facts,
[data-motion="handson"] .handson-card-big {
  will-change: transform, opacity;
}
