/* Indaba Digital Experience Standard · shared styles (sites/shared/experience). Tokens first; every component reads them.
   Colours fall back to the Indaba palette when a site does not define its own tokens. CSP-safe: no inline styles needed. */

:root {
  /* motion · durations (INDABA_MOTION_SYSTEM.md §tokens) */
  --im-t-micro: 200ms; --im-t-control: 250ms; --im-t-reveal: 560ms; --im-t-carousel: 680ms; --im-t-editorial: 900ms; --im-t-settle: 360ms;
  /* motion · curves: calm confidence, no bounce */
  --im-ease: cubic-bezier(0.22, 0.61, 0.36, 1); --im-ease-out: cubic-bezier(0.16, 1, 0.3, 1); --im-ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --im-rise: 18px; --im-stagger: 80ms;
  /* publication palette (Indaba Brand Bible: ivory, parchment, stone, forest, sage) */
  --im-ivory: #f6f3ec; --im-parchment: #ece5d6; --im-stone: #d9d3c6; --im-forest: #2c3a33; --im-forest-deep: #1f2a24; --im-sage: #9fb09c;
  --im-ink: #1d1c1a; --im-ink-soft: #4a4740; --im-ink-mute: #77736a; --im-rule: rgba(29, 28, 26, 0.12);
  --im-shadow-1: 0 1px 2px rgba(25, 22, 16, 0.08), 0 6px 18px rgba(25, 22, 16, 0.08);
  --im-shadow-2: 0 2px 4px rgba(25, 22, 16, 0.08), 0 18px 40px rgba(25, 22, 16, 0.14);
}

/* ------------------------------------------------------------------------------------------------ IndabaMotionReveal */
.im [data-im-reveal]:not(.im-in), .im [data-im-reveal]:not(.im-in) * { transition: none !important; }
.im [data-im-reveal]:not(.im-in) { opacity: 0; transform: translateY(var(--im-rise)); }
.im [data-im-reveal][data-im-stagger]:not(.im-in) { opacity: 1; transform: none; }
.im [data-im-reveal][data-im-stagger]:not(.im-in) > * { opacity: 0; transform: translateY(var(--im-rise)); }
[data-im-reveal] { transition: opacity var(--im-t-reveal) var(--im-ease), transform var(--im-t-reveal) var(--im-ease-out); }
[data-im-reveal][data-im-stagger] > * { transition: opacity var(--im-t-reveal) var(--im-ease), transform var(--im-t-reveal) var(--im-ease-out); transition-delay: calc(var(--im-i, 0) * var(--im-stagger)); }
.im [data-im-reveal="mask"]:not(.im-in) { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
[data-im-reveal="mask"] { transition: clip-path var(--im-t-editorial) var(--im-ease-out); clip-path: inset(0 0 0 0); }

/* ------------------------------------------------------------------------------------------------ IndabaScrollSequence */
html.im-snap { scroll-snap-type: y proximity; }
[data-im-seq].is-pinned { position: relative; }
.im-seq-snap { position: absolute; left: 0; top: var(--im-snap-top, 0); width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
[data-im-seq] [data-im-seq-track] { scroll-behavior: auto; }
[data-im-seq]:not(.is-pinned) [data-im-seq-track] { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
[data-im-seq]:not(.is-pinned) [data-im-seq-track] > * { scroll-snap-align: start; }
[data-im-seq] [data-im-seq-track]::-webkit-scrollbar { display: none; }
[data-im-seq].is-pinned [data-im-seq-track] { overflow-x: hidden; scroll-snap-type: none; }

/* IndabaProgressIndicator: count, a thin line, discreet dots, previous/next and skip, part of the composition */
.im-seq-ui { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.im-seq-count { font: 300 1.6rem/1 var(--font-display, Georgia, serif); color: var(--im-ink-mute); font-variant-numeric: tabular-nums; }
.im-seq-count b { font-weight: 400; color: var(--im-ink); }
.im-seq-line { position: relative; flex: 1 1 8rem; max-width: 16rem; height: 2px; background: var(--im-rule); }
.im-seq-line i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(var(--pp, 0.25)); transition: transform var(--im-t-carousel) var(--im-ease-out); }
.im-seq-dots { display: flex; gap: 0.4rem; }
.im-dot { width: 0.5rem; height: 0.5rem; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; opacity: 0.45; cursor: pointer;
  transition: opacity var(--im-t-micro) var(--im-ease), transform var(--im-t-micro) var(--im-ease), background-color var(--im-t-micro) var(--im-ease); }
.im-dot[aria-current="step"] { background: currentColor; opacity: 1; transform: scale(1.15); }
.im-dot:focus-visible, .im-seq-btn:focus-visible, .im-seq-skip:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.im-seq-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--im-rule); border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: background-color var(--im-t-control) var(--im-ease), border-color var(--im-t-control) var(--im-ease); }
.im-seq-btn:hover { border-color: currentColor; }
.im-seq-skip { margin-left: auto; padding: 0.4rem 0; border: 0; background: none; color: inherit; font: 400 0.68rem/1.2 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; cursor: pointer; }
.im-seq-skip:hover { opacity: 1; }
[data-im-seq]:not(.is-pinned) .im-seq-skip { display: none; }
.im-seq-hint { font: 400 0.66rem/1.3 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
[data-im-seq]:not(.is-pinned) .im-seq-hint { display: none; }

/* ------------------------------------------------------------------------------------------------ IndabaPublicationCover */
.im-cover { position: relative; margin: 0; display: block; perspective: 1600px; }
.im-cover-in { position: relative; display: block; transform-style: preserve-3d; transition: transform var(--im-t-reveal) var(--im-ease-out), box-shadow var(--im-t-reveal) var(--im-ease); }
.im-cover img { display: block; width: 100%; height: auto; background: var(--im-ivory); }
/* flat 2D: libraries and collections */
.im-cover--flat .im-cover-in { border-radius: 2px; overflow: hidden; box-shadow: var(--im-shadow-1); }
/* subtle 3D perspective: featured publications */
.im-cover--perspective .im-cover-in { border-radius: 2px; transform: rotateY(-12deg) rotateX(2deg); box-shadow: 18px 22px 40px rgba(25, 22, 16, 0.16), 2px 2px 6px rgba(25, 22, 16, 0.1); }
.im-cover--perspective .im-cover-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.06) 100%); pointer-events: none; }
/* hardcover monograph: major blueprints and institutional publications (spine, boards, page block) */
.im-cover--hardcover { padding: 0 0.7rem 0.5rem 0; }
.im-cover--hardcover .im-cover-in { border-radius: 2px 4px 4px 2px; transform: rotateY(-16deg); box-shadow: 1px 0 0 #e9e3d4, 3px 1px 0 #f4efe3, 5px 2px 0 #e6dfcf, 7px 3px 0 #f1ecdf, 9px 4px 0 #d9d1bf, 24px 26px 44px rgba(25, 22, 16, 0.22); }
.im-cover--hardcover .im-cover-in::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5.5%; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(255, 255, 255, 0.12) 55%, rgba(0, 0, 0, 0.14)); }
.im-cover--hardcover .im-cover-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 40%); pointer-events: none; }
/* softcover report: research and impact publications */
.im-cover--softcover .im-cover-in { border-radius: 1px 3px 3px 1px; transform: rotateY(-8deg); box-shadow: 1px 0 0 #efe9dc, 3px 1px 0 #e3dccb, 16px 18px 34px rgba(25, 22, 16, 0.16); }
.im-cover--softcover .im-cover-in::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2.5%; background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent); }
/* elegant paper stack: executive summaries, two-pagers, board memoranda */
.im-cover--stack { padding: 0 0.9rem 0.9rem 0; }
.im-cover--stack .im-cover-in { box-shadow: var(--im-shadow-1); }
.im-cover--stack::before, .im-cover--stack::after { content: ''; position: absolute; inset: 0.9rem 0 0 0.9rem; background: var(--im-ivory); box-shadow: var(--im-shadow-1); transform: rotate(2.2deg); }
.im-cover--stack::after { inset: 0.45rem 0.45rem 0.45rem 0.45rem; transform: rotate(-1.4deg); }
.im-cover--stack .im-cover-in { z-index: 1; }
/* landscape presentation: decks, two slides fanned */
.im-cover--landscape { padding: 0 0.8rem 0.8rem 0; }
.im-cover--landscape .im-cover-in { z-index: 1; border-radius: 3px; overflow: hidden; box-shadow: var(--im-shadow-2); }
.im-cover--landscape::before { content: ''; position: absolute; inset: 0.8rem 0 0 0.8rem; border-radius: 3px; background: var(--im-forest); box-shadow: var(--im-shadow-1); transform: rotate(2.4deg); }
/* digital device: interactive reports and online tools */
.im-cover--device { padding: 0 6% 7%; }
.im-cover--device .im-cover-in { border: 0.55rem solid #1b1b1a; border-bottom-width: 0.8rem; border-radius: 0.7rem 0.7rem 0.3rem 0.3rem; overflow: hidden; box-shadow: var(--im-shadow-2); }
.im-cover--device::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3.5%; height: 3.5%; border-radius: 0 0 0.8rem 0.8rem; background: linear-gradient(180deg, #d8d6d0, #b9b6ae); }
/* the open publication: featured editorial documents */
.im-cover--open .im-cover-in { box-shadow: var(--im-shadow-2); }
.im-cover--open .im-cover-in::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3%; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)); }
@media (hover: hover) and (pointer: fine) {
  .im-pub:hover .im-cover--flat .im-cover-in, .im-pub:hover .im-cover--stack .im-cover-in, .im-pub:hover .im-cover--landscape .im-cover-in { transform: translateY(-4px); box-shadow: var(--im-shadow-2); }
  .im-pub:hover .im-cover--perspective .im-cover-in { transform: rotateY(-6deg) rotateX(1deg) translateY(-4px); }
  .im-pub:hover .im-cover--hardcover .im-cover-in { transform: rotateY(-10deg) translateY(-4px); }
  .im-pub:hover .im-cover--softcover .im-cover-in { transform: rotateY(-4deg) translateY(-3px); }
}

/* ------------------------------------------------------------------------------------------------ IndabaPublicationCard */
.im-pub { position: relative; display: grid; gap: 1rem; align-content: start; color: inherit; }
.im-pub-cover-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: inherit; color: inherit; }
.im-pub-cover-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.im-pub-k { margin: 0; font: 400 0.66rem/1.3 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--im-ink-mute); }
.im-pub-t { margin: 0.3rem 0 0; font: 400 1.3rem/1.15 var(--font-display, Georgia, serif); color: var(--im-ink); }
.im-pub-s { margin: 0.2rem 0 0; font: italic 300 1rem/1.3 var(--font-display, Georgia, serif); color: var(--im-ink-soft); }
.im-pub-d { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--im-ink-soft); }
.im-pub-meta { margin: 0.6rem 0 0; font: 400 0.66rem/1.4 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: var(--im-ink-mute); }
.im-pub-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.im-pub-act { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.4rem; padding: 0 1rem; border: 1px solid var(--im-rule); border-radius: 999px; background: transparent; color: inherit;
  font: 400 0.84rem/1 var(--font-body, system-ui, sans-serif); text-decoration: none; cursor: pointer; transition: background-color var(--im-t-control) var(--im-ease), border-color var(--im-t-control) var(--im-ease), color var(--im-t-control) var(--im-ease); }
.im-pub-act:hover { border-color: currentColor; }
.im-pub-act--primary { background: var(--im-forest); border-color: var(--im-forest); color: var(--im-ivory); }
.im-pub-act--primary:hover { background: var(--im-forest-deep); }
.im-pub-act svg { width: 0.95rem; height: 0.95rem; }
/* Publication Library: one shelf, shared baseline, consistent proportions */
.im-lib { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem 2.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); align-items: end; }
.im-lib > li { display: grid; }
.im-lib .im-pub { grid-template-rows: auto 1fr; }
.im-lib .im-cover { align-self: end; }
.im-lib .im-cover--landscape, .im-lib .im-cover--device { margin-top: auto; }
/* Featured Publication: a generous editorial composition */
.im-pub--featured { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.im-pub--featured .im-pub-t { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 300; }
.im-pub--featured .im-pub-d { font-size: 1rem; max-width: 34rem; }
@media (max-width: 760px) { .im-pub--featured { grid-template-columns: minmax(0, 1fr); } }
/* Compact Resource: inside narrative sections */
.im-pub--compact { grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.im-pub--compact .im-pub-t { font-size: 1.05rem; }
.im-pub--compact .im-pub-acts { margin-top: 0.5rem; }
.im-pub--compact .im-pub-act { min-height: 2rem; padding: 0 0.8rem; font-size: 0.78rem; }
/* on a dark ground */
.im-on-dark .im-pub-k, .im-on-dark .im-pub-meta { color: rgba(247, 244, 238, 0.62); }
.im-on-dark .im-pub-t { color: #fbf8f2; }
.im-on-dark .im-pub-s, .im-on-dark .im-pub-d { color: rgba(247, 244, 238, 0.78); }
.im-on-dark .im-pub-act { border-color: rgba(247, 244, 238, 0.3); }
.im-on-dark .im-pub-act--primary { background: #f6f3ec; border-color: #f6f3ec; color: var(--im-forest-deep); }

/* ------------------------------------------------------------------------------------------------ IndabaDocumentPreview */
.im-reader { width: min(70rem, 100vw - 2rem); max-width: none; height: calc(100vh - 2rem); max-height: none; padding: 0; border: 0; border-radius: 14px; background: #2a2925; color: #f6f3ec; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.im-reader::backdrop { background: rgba(18, 17, 15, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.im-reader[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: im-reader-in var(--im-t-reveal) var(--im-ease-out); }
@keyframes im-reader-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
.im-reader-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem 0.7rem 1.2rem; border-bottom: 1px solid rgba(247, 244, 238, 0.12); }
.im-reader-t { margin: 0; flex: 1 1 auto; min-width: 0; font: 400 1.05rem/1.2 var(--font-display, Georgia, serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.im-reader-t small { margin-left: 0.6rem; font: 400 0.66rem/1 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.im-reader-n { font: 400 0.72rem/1 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.08em; opacity: 0.8; white-space: nowrap; }
.im-reader-b { display: inline-grid; place-items: center; min-width: 2.3rem; height: 2.3rem; padding: 0 0.6rem; border: 1px solid rgba(247, 244, 238, 0.2); border-radius: 999px; background: transparent; color: inherit; font: 400 0.78rem/1 var(--font-body, system-ui, sans-serif); text-decoration: none; cursor: pointer; }
.im-reader-b:hover { border-color: rgba(247, 244, 238, 0.6); }
.im-reader-b[aria-pressed="true"] { background: rgba(247, 244, 238, 0.14); }
.im-reader-b:focus-visible { outline: 2px solid #f6f3ec; outline-offset: 2px; }
.im-reader-pages { overflow: auto; padding: 1.6rem; display: grid; gap: 1.4rem; justify-items: center; overscroll-behavior: contain; scroll-behavior: auto; }
.im-reader-page { margin: 0; width: min(100%, var(--im-page-w, 52rem)); }
.im-reader.is-zoomed .im-reader-page { width: min(100%, 96rem); }
.im-reader-page img { display: block; width: 100%; height: auto; background: #f6f3ec; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.im-reader-page figcaption { margin-top: 0.4rem; text-align: center; font: 400 0.64rem/1 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.1em; opacity: 0.5; }
.im-reader-more { margin: 0.6rem 0 1.6rem; text-align: center; font-size: 0.9rem; opacity: 0.8; }
html.im-reading { overflow: hidden; }
@media (max-width: 640px) { .im-reader { width: 100vw; height: 100dvh; border-radius: 0; } .im-reader-pages { padding: 0.8rem; } .im-reader-hide-sm { display: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-im-reveal], [data-im-reveal] > *, .im-cover-in, .im-seq-line i, .im-dot { transition: none !important; }
  .im-reader[open] { animation: none; }
  html.im-snap { scroll-snap-type: none; }
}
@media print { .im [data-im-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } .im-reader { display: none !important; } }

.im-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.im-reader-pages--wide .im-reader-page { width: min(100%, 72rem); }

/* ------------------------------------------------------------------------------------------------ IndabaStickyNarrative */
.im-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0 clamp(2rem, 5vw, 5rem); }
.im-story-visual { position: sticky; top: calc(var(--bar-h, 64px) + 2.5rem); align-self: start; height: min(78vh, 46rem); margin: 0; display: grid; grid-template: 100% / 100%; place-items: center; }
.im-story-steps { display: grid; }
.im-story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; opacity: 0.32; transition: opacity var(--im-t-reveal) var(--im-ease); }
.im-story-step.is-active, .im-story.is-static .im-story-step { opacity: 1; }
.im-story-step:first-child { min-height: 60vh; }
.im-story-step:last-child { min-height: 80vh; }
.im-story-big { margin: 0; font: 300 clamp(3.2rem, 2rem + 5vw, 6rem)/0.95 var(--font-display, Georgia, serif); letter-spacing: -0.02em; color: var(--im-forest); font-variant-numeric: lining-nums; }
.im-story-big small { display: block; margin-top: 0.5rem; font-size: max(0.3em, 1.15rem); line-height: 1.2; letter-spacing: 0; color: var(--im-ink-mute); }
.im-story-line { margin: 0.9rem 0 0; max-width: 30rem; font: 400 1.12rem/1.45 var(--font-display, Georgia, serif); color: var(--im-ink); }
.im-story-note { margin: 0.8rem 0 0; max-width: 30rem; font-size: 0.82rem; line-height: 1.5; color: var(--im-ink-mute); }
.im-story-legend { margin: 0.6rem 0 0; font: 400 0.66rem/1.3 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--im-ink-mute); }
@media (max-width: 860px) {
  .im-story { grid-template-columns: minmax(0, 1fr); }
  .im-story-visual { top: var(--im-story-top, var(--bar-h, 56px)); justify-self: stretch; height: 38vh; z-index: 1; padding: 0.5rem 0; background: var(--im-story-bg, var(--im-ivory)); box-shadow: 0 10px 16px -12px rgba(0, 0, 0, 0.12); }
  .im-story-step, .im-story-step:first-child { justify-content: flex-start; min-height: 72vh; padding: 3vh 0 0; }
  .im-story-step:last-child { min-height: 64vh; }
  .im-story-big { font-size: clamp(2.8rem, 2rem + 6vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) { .im-story-step { transition: none; } }

/* ------------------------------------------------------------------------------------------------ The Human Capability Engine */
.ce { width: 100%; height: 100%; max-height: 100%; display: block; overflow: visible; }
.ce-facilitator { fill: #c99418; }
.ce-pulse { fill: #c99418; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ce-spokes line { stroke: rgba(44, 58, 51, 0.22); stroke-width: 0.8; }
.ce-educators circle { fill: #3f6b5c; }
.ce-children circle { fill: #c98f7a; }
.ce-rooms circle, .ce-cohort circle { fill: #c98f7a; }
.ce-cohort--2 circle { fill: #d4a28f; } .ce-cohort--3 circle { fill: #ddb5a5; } .ce-cohort--4 circle { fill: #e5c6ba; }
.ce > g, .ce-facilitator { transition: opacity var(--im-t-editorial) var(--im-ease), transform var(--im-t-editorial) var(--im-ease-out); transform-box: view-box; transform-origin: 50% 50%; }
.ce-cohort--2 { transition-delay: 0.15s; } .ce-cohort--3 { transition-delay: 0.3s; } .ce-cohort--4 { transition-delay: 0.45s; }
/* the states: 0 facilitator · 1 educators · 2 children · 3 five years (classrooms) · 4 cost (same picture).
   The base state is the final one, so the picture is complete without JavaScript, in print and with reduced motion. */
.ce-children { opacity: 0; transform: scale(0.82); }
.ce-spokes { opacity: 0.5; }
[data-step="0"] .ce-spokes, [data-step="0"] .ce-educators { opacity: 0; transform: scale(0.4); }
[data-step="0"] .ce-rooms, [data-step="1"] .ce-rooms, [data-step="2"] .ce-rooms { opacity: 0; }
[data-step="0"] .ce-cohort, [data-step="1"] .ce-cohort, [data-step="2"] .ce-cohort { opacity: 0; transform: scale(0.9); }
[data-step="1"] .ce-spokes, [data-step="2"] .ce-spokes { opacity: 1; }
[data-step="2"] .ce-children { opacity: 1; transform: none; }
@media print {
  .im-story { display: block; }
  .im-story-visual { position: static; height: 9cm; break-inside: avoid; }
  .im-story-step, .im-story-step:first-child, .im-story-step:last-child { min-height: 0; opacity: 1; padding: 0.4cm 0; break-inside: avoid; }
  .ce > g { opacity: 1 !important; transform: none !important; }
  .ce-children { opacity: 0 !important; }
  .ce-spokes { opacity: 0.5 !important; }
}
[data-step="0"] .ce-pulse { animation: ce-pulse 2.6s ease-out infinite; }
@keyframes ce-pulse { 0% { opacity: 0.45; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }
@media (prefers-reduced-motion: reduce) { .ce > g, .ce-facilitator { transition: none; } [data-step="0"] .ce-pulse { animation: none; } }
