/* ============================================================
   Healthy Rewards — deck.css
   Editorial slide system. 1920x1080 canvas, scaled to viewport.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--sans);
  background: #000;
  color: var(--ink-900);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--accent-2); }

/* ===== STAGE & SLIDE FRAME ===== */
.deck-stage {
  position: fixed; inset: 0;
  display: grid;
  place-items: center;
  background: #000;
}
.slide {
  position: absolute;
  width: 1920px;
  height: 1080px;
  background: var(--paper);
  color: var(--ink-900);
  display: none;
  overflow: hidden;
  transform-origin: center center;
}
.slide.is-active { display: block; }

/* Auto-scale via JS variable --deck-scale */
.deck-stage { --deck-scale: 1; }
.slide { transform: scale(var(--deck-scale)); }

/* ===== SLIDE HEADER (most slides) ===== */
.slide__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-7);
  align-items: end;
  padding: 64px 96px 24px;
}
.slide__eyebrow {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 600;
  margin-bottom: 14px;
}
.slide__title {
  font-family: var(--serif);
  font-size: 56px; font-weight: 500;
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink-950);
  max-width: 1200px;
  text-wrap: pretty;
}
.slide__title em { font-style: italic; color: var(--accent-2); font-weight: 400; }
.slide__subtitle {
  font-family: var(--sans);
  font-size: 19px; line-height: 1.55;
  color: var(--ink-700);
  max-width: 1080px;
  margin: 0;
  text-wrap: pretty;
}
.slide__subtitle strong { color: var(--ink-950); font-weight: 600; }
.slide__num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--ink-500);
  text-transform: uppercase;
  white-space: nowrap;
}
.slide__rule {
  width: 64px; height: 2px;
  background: var(--ink-950);
  margin: 0 96px 8px;
}

.slide__body {
  padding: 24px 96px 0;
  height: calc(1080px - 64px - 24px - 64px); /* header + footer */
  overflow: hidden;
}

/* ===== SLIDE FOOTER ===== */
.slide__footer {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 96px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  background: var(--paper);
}
.slide__footer__left { letter-spacing: 0.04em; }
.slide__footer__right { letter-spacing: 0.12em; text-transform: uppercase; }

/* ===== SLIDE 1 — COVER ===================================== */
.slide--cover-art { display: none; }
.slide--cover-art.is-active { display: grid; }
.slide--cover-art {
  grid-template-rows: auto 1fr;
  grid-template-columns: 1.4fr 1fr;
  padding: 0;
  background: var(--paper);
}

/* Top — small contained health-plan mark (no full-width band) */
.cover-header {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 64px 14px;
  background: transparent;
  border-bottom: 1px solid var(--rule-light);
}
.cover-header__mark {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--plan-primary);
  border-radius: var(--r-1);
}
.cover-header__logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.cover-header__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-600);
  font-weight: 600;
}

.cover-backdrop {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.cover-backdrop__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(0.95);
}
.cover-backdrop__frost {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(244,239,226,0.78) 0%, rgba(244,239,226,0.92) 100%);
}

/* Cover left column — title + flip cards */
.cover-left {
  position: relative; z-index: 1;
  padding: 80px 64px 80px 96px;
  display: flex; flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.cover-meta {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 14px;
}
.cover-meta__sep { width: 24px; height: 1px; background: var(--ink-700); }

.cover-title-block { max-width: 900px; }
.cover-title {
  font-family: var(--serif);
  font-size: 92px; font-weight: 500;
  line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink-950);
  text-wrap: balance;
  animation: kenburnsTitle 6s ease-in-out infinite alternate;
  transform-origin: left center;
}
.cover-title em { font-style: italic; color: var(--accent-2); font-weight: 400; }
@keyframes kenburnsTitle {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .cover-title { animation: none; }
}
.cover-subtitle {
  font-family: var(--sans);
  font-size: 22px; line-height: 1.45;
  color: var(--ink-700);
  margin: 0;
  max-width: 760px;
  text-wrap: pretty;
}

/* Cover pillars — three flip cards in a row */
.cover-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: auto;
}

.cover-pillar {
  position: relative;
  perspective: 1400px;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  height: 240px;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.cover-pillar__face {
  position: absolute; inset: 0;
  background: var(--paper-2);
  border: 1px solid var(--ink-900);
  padding: 22px 22px 18px;
  border-radius: var(--r-1);
  display: flex; flex-direction: column;
  backface-visibility: hidden;
  transition: transform 700ms cubic-bezier(0.34, 1.18, 0.64, 1),
              box-shadow var(--t-med) var(--ease-std);
}
.cover-pillar__face--front {
  transform: rotateY(0deg);
  box-shadow: 0 1px 0 rgba(11, 20, 36, 0.05);
}
.cover-pillar__face--back {
  transform: rotateY(180deg);
  background: var(--ink-950);
  color: var(--paper);
  border-color: var(--ink-950);
}
.cover-pillar.is-flipped .cover-pillar__face--front { transform: rotateY(-180deg); }
.cover-pillar.is-flipped .cover-pillar__face--back  { transform: rotateY(0deg); }

.cover-pillar:hover .cover-pillar__face--front {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 20, 36, 0.10);
}
.cover-pillar.is-flipped:hover .cover-pillar__face--front {
  transform: rotateY(-180deg) translateY(-2px);
}

.cover-pillar__pill {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--r-1);
  background: var(--accent);
  color: var(--paper);
  align-self: flex-start;
  margin-bottom: 14px;
}
.cover-pillar__pill--engage { background: var(--ink-950); }
.cover-pillar__pill--motivation { background: var(--amber); }
.cover-pillar__face--back .cover-pillar__pill {
  background: var(--paper);
  color: var(--ink-950);
}
.cover-pillar__face--back .cover-pillar__pill--engage  { background: var(--accent); color: var(--paper); }
.cover-pillar__face--back .cover-pillar__pill--motivation { background: var(--amber); color: var(--ink-950); }

.cover-pillar__title {
  font-family: var(--serif);
  font-size: 24px; font-weight: 500;
  line-height: 1.12; letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: inherit;
}
.cover-pillar__body {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-200);
  margin: 8px 0 0;
}
.cover-pillar__face--front .cover-pillar__body { display: none; }
.cover-pillar__hint {
  margin-top: auto;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-500);
  display: flex; align-items: center; gap: 6px;
}
.cover-pillar__hint::before {
  content: ""; width: 12px; height: 1px; background: var(--ink-500);
}

/* Cover right column — logos + video + mission */
.cover-right {
  position: relative; z-index: 1;
  padding: 80px 96px 80px 64px;
  display: flex; flex-direction: column;
  gap: 32px;
  border-left: 1px solid var(--rule);
  background: rgba(244, 239, 226, 0.6);
  backdrop-filter: blur(4px);
}

.cover-logos {
  display: flex; flex-direction: column; gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.cover-logos__primary {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--plan-primary);
  border-radius: var(--r-1);
  align-self: flex-start;
}
.cover-logo--lacare { height: 36px; width: auto; filter: brightness(0) invert(1); }
.cover-logos__plan-mark {
  font-family: var(--serif); font-size: 16px; font-weight: 500;
  color: var(--paper); letter-spacing: -0.01em;
}
.cover-logos__plan-mark em { font-style: italic; color: var(--ink-200); font-weight: 400; }

.cover-logos__partners {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-600);
}
.cover-logo--medline { height: 40px; width: auto; opacity: 1; }
.cover-logo--cdx { height: 40px; width: auto; opacity: 1; }
.cover-logos__sep { color: var(--ink-300); }

.cover-feature-video {
  border: 1px solid var(--ink-900);
  background: var(--ink-950);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-1);
}
.cover-feature-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.cover-mission-frame {
  margin-top: auto;
  padding: 18px 20px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-700);
  font-family: var(--sans);
}
.cover-mission-frame strong {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); display: block; margin-bottom: 6px;
  font-weight: 600;
}

.cover-footer {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
}

/* ===== SLIDE 2 — PROGRAM THESIS / FOUR PILLAR GRID ============ */
.thesis-statement {
  margin-bottom: 36px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-1);
  max-width: 1500px;
}
.thesis-statement p {
  margin: 0;
  font-size: 17px; line-height: 1.55;
  color: var(--ink-800);
  text-wrap: pretty;
}
.thesis-statement strong {
  color: var(--ink-950);
  font-weight: 600;
}

/* Slide 2 — photo strip as a backdrop behind the pillar grid,
   pillar cards semi-transparent so the photos read through.
   Make the slide__body the positioning context. */
.slide[data-slide-title="Program thesis"] .slide__body {
  position: relative;
}

/* Family photo strip — now positioned behind the pillar grid */
.thesis-strip {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 0;
  border: none;
  background: transparent;
  padding: 0;
  z-index: 1;
  opacity: 0.55;
}
.thesis-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
}

/* Four-pillar grid — 2x2, sits on top of the photo backdrop */
.pillar-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 540px;
}
.pillar-card {
  position: relative;
  background: rgba(234, 227, 208, 0.82);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid var(--ink-900);
  border-radius: var(--r-1);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  transition: transform var(--t-med) var(--ease-std),
              box-shadow var(--t-med) var(--ease-std);
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 20, 36, 0.08);
}
.pillar-card__head {
  grid-column: 1 / -1;
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pillar-card__pill {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
  padding: 3px 9px;
  background: var(--accent-bg);
  border-radius: var(--r-1);
}
.pillar-card__mark {
  font-family: var(--serif); font-size: 36px;
  font-weight: 500; line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-style: italic;
}
.pillar-card__title {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 26px; font-weight: 500;
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink-950);
}
.pillar-card__list {
  grid-column: 1 / -1;
  list-style: none; padding: 0; margin: 0;
}
.pillar-card__list li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14px; line-height: 1.5;
  color: var(--ink-700);
  border-bottom: 1px dotted var(--rule);
}
.pillar-card__list li:last-child { border-bottom: none; }
.pillar-card__list li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ===== SHARED — buttons, chips, screenshots (used by slides 3-10) === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink-950);
  color: var(--ink-950);
  background: transparent;
  border-radius: var(--r-1);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-med) var(--ease-std);
}
.btn:hover { background: var(--ink-950); color: var(--paper); }
.btn-primary {
  background: var(--ink-950);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.btn-block { width: 100%; }

/* ===== Member-walk pattern (slides 3, 4, 5, 6) ===== */
.member-walk-frame {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  height: 100%;
}
.member-walk-screenshot {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--ink-900);
  border-radius: var(--r-1);
  overflow: hidden;
}
.member-walk-screenshot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.walk-pin {
  position: absolute;
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--r-1);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px rgba(31,107,90,0.18), 0 4px 12px rgba(11,20,36,0.18);
  cursor: help;
  transform: translate(-50%, -50%);
}
.walk-pin::after { content: attr(data-num); }
.walk-pin--glow {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(178, 106, 26, 0.22), 0 4px 12px rgba(11, 20, 36, 0.18);
}

.member-walk-legend {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--ink-900);
  border-radius: var(--r-1);
  padding: 24px 28px;
  overflow: hidden;
}
.walk-legend__pill {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.walk-legend__title {
  font-family: var(--serif);
  font-size: 28px; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink-950);
}
.walk-legend__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  flex: 1; overflow: auto;
}
.walk-legend__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-700);
}
.walk-legend__list li:last-child { border-bottom: none; }
.walk-legend__list li strong { color: var(--ink-950); font-weight: 600; }
.walk-legend__num {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  border-radius: var(--r-1);
}
.walk-legend__cta {
  margin-top: 14px;
  align-self: stretch;
}

/* ===== CDX portal CTA / sales site CTA ===== */
.cdx-portal-cta, .sales-site-cta {
  background: var(--ink-950);
  color: var(--paper);
  border-radius: var(--r-1);
  padding: 64px 80px;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
}
.cdx-portal-cta__pill, .sales-site-cta__pill {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
  margin-bottom: 18px;
}
.cdx-portal-cta__lead, .sales-site-cta__lead {
  font-family: var(--serif);
  font-size: 56px; font-weight: 500;
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 1100px;
}
.cdx-portal-cta__body, .sales-site-cta__body {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-200);
  margin: 0 0 32px;
  max-width: 900px;
}
.cdx-portal-cta__btn, .sales-site-cta__btn {
  align-self: flex-start;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  padding: 16px 28px;
  font-size: 13px;
}
.cdx-portal-cta__btn:hover, .sales-site-cta__btn:hover {
  background: var(--paper); color: var(--ink-950);
  border-color: var(--paper);
}
.cdx-portal-cta__url, .sales-site-cta__url {
  margin-top: 18px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-300); letter-spacing: 0.08em;
}
.sales-site-cta__foot {
  margin-top: 24px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-400); letter-spacing: 0.08em;
}

/* ===== Compliance grid (slide 8) ===== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.compliance-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  padding: 18px 20px;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease-std),
              box-shadow var(--t-med) var(--ease-std);
}
.compliance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 20, 36, 0.08);
}
.compliance-card__title {
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.005em;
  margin-bottom: 10px;
  color: var(--ink-950);
}
.compliance-card__detail {
  font-size: 13px; line-height: 1.5;
  color: var(--ink-700);
}
.compliance-card--empty {
  background: transparent;
  border-style: dashed;
  border-color: var(--rule);
}
.compliance-card--empty .compliance-card__title { color: var(--ink-400); }
.compliance-card--empty .compliance-card__detail { color: var(--ink-400); font-style: italic; }
.compliance-add-section { margin-top: 28px; }
.compliance-add-section__title {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-700);
  margin: 0 0 4px;
}
.compliance-add-section__sub {
  font-size: 13px; color: var(--ink-500);
  margin: 0 0 14px;
}

/* ===== Measurement scope (slide 9) ===== */
.measure-scope-grid {
  display: flex; flex-direction: column; gap: 18px;
}
.measure-category {
  border-bottom: 1px dotted var(--rule);
  padding-bottom: 14px;
}
.measure-category:last-child { border-bottom: none; }
.measure-category--types .measure-chip {
  background: var(--accent); color: var(--paper); border-color: var(--accent);
}
.measure-category__head {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-700);
  margin-bottom: 10px;
}
.measure-category__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.measure-chip {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  border-radius: var(--r-pill);
  color: var(--ink-800);
}
.measure-scope-cta {
  margin-top: 20px;
  display: flex; justify-content: flex-end;
}

/* ===== DECK NAV ===== */
.deck-nav {
  position: fixed;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px;
  background: var(--ink-950);
  color: var(--paper);
  border-radius: var(--r-1);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.deck-nav button {
  padding: 6px 12px;
  color: var(--paper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease-std);
}
.deck-nav button:hover { color: var(--accent); }
.deck-nav__counter { color: var(--accent); font-weight: 600; }
.deck-nav__title {
  text-transform: uppercase;
  color: var(--ink-300);
  border-left: 1px solid var(--ink-700);
  padding-left: 14px;
}
.deck-help {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 100;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-300);
  background: rgba(11, 20, 36, 0.6);
  padding: 6px 10px;
  border-radius: var(--r-1);
  pointer-events: none;
}

/* ===== TIER 1 AMBIENT MOTION ===== */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  transition-delay: var(--anim-delay, 0ms);
}
.is-active [data-anim="fade-up"].is-in {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-anim="fade-up"] {
    opacity: 1; transform: none;
    transition: none;
  }
}

/* ===== SLIDE 8 — WALK IT LIVE (demo links) ============= */
.demo-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  flex: 1;
  min-height: 0;
}
.demo-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.demo-column__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent);
}
.demo-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-std),
              transform var(--t-fast) var(--ease-std),
              box-shadow var(--t-fast) var(--ease-std);
}
.demo-link:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 111, 102, 0.10);
}
.demo-link::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--sans);
  transition: transform var(--t-fast) var(--ease-std);
}
.demo-link:hover::after {
  transform: translate(2px, -2px);
}
.demo-link__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-950);
  line-height: 1.2;
  padding-right: 28px;
  letter-spacing: -0.01em;
}
.demo-link__detail {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700);
  margin-top: 2px;
}
.demo-link__url {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
