{"version":3,"sourceRoot":null,"mappings":"AA0BA,kBAGE,gRAgBA,gLASE,kGAIA,sGAIA,sGAIA,wGAIA,sGAIA,8GAIA,oGAIA,sGAIA,sGAIA,sGAIA,sGAIA,sDAGA,4DAGA,sDAGA,uDAUF,gDAEE,yEAGA,0EAGA,0EAGA,0EAGA,0EAGA,0EAGA,0EAGA,6EASF,sKAQA,gFAUA,sGAQA,mHAQA,uGAQA,mHAQA,8FAQA,mGAQA,iGAWA,4FAQA,mHAQA,0FAQA,iFAQA,+EAQA,gFAQA,4EASA,oEAYA,uCACE,qGAmBF,uSAmBE,0FASA,iIASA,8GAKE,0DAQF,+IAUA,6TAgBE,gEAIA,uCAUJ,uCACE,mDAKF,+BACE,oDAKF,8BACE,qCAGA,4EAGA,oGAoBF,mHAUA,oLAUE,4DAQA,gEAIA,gEAIA,kEAIA,mEAOF,8CAQA,6GAIA,wHASA,sDAKA,oDAIA,gGAQA,uGAQA,wEAQA,oDAQA,+DAMA,iGAeA,yFAOA,wDAMA,8CAMA,qEAIA,iFAIA,8EAGA,8EAGA,8EAGA,kGAGA,8EAGA,yDAGA,uEAGA,uEAMA,sCACE,oEAIA,+DAGA,gEAIA,4EAMF,0CACE,iEAQF,uCACE,iEAOF,8BACE","sources":["dist/sections/guides.css"],"sourcesContent":["/* ── components/motion/motion.css ── */\n/* -- Motion component -------------------------------------------------\n   The shared entrance-animation vocabulary: CSS @keyframes are the single\n   source of truth (geometry, easing, defaults, reduced-motion), driven either\n   declaratively via [data-df-entrance] or imperatively through the JS\n   controller `ddf$.entrance(el, effect, opts)` (src/shared/motion.ts - same\n   functions under df$.shadcn.entrance). The JS never defines keyframes; it\n   only triggers/retriggers, overrides timing vars and owns the\n   finished/cancel lifecycle via the platform's CSSAnimation objects.\n\n   Why animations (not transitions): they run deterministically when the\n   attribute first applies - including on freshly inserted DOM - and they\n   replay cleanly (cancel → play). Transitions need a rendered \"from\" state\n   and never fire on initial application (the reason the first vocabulary\n   demo showed a static grid).\n\n   Why animation-composition: add - transform/filter keyframes COMPOSE with\n   any pre-existing transform/filter on the element instead of replacing it,\n   so entrances are safe on arbitrarily styled DOM (no transform inspection\n   or reconstruction). The paired fade runs with `replace`.\n\n   Limits: non-replaced inline boxes (display:inline spans) are not\n   transformable per CSS - this is deliberate and NOT worked around (silent\n   display changes would alter text wrapping). Wrap inline content or let the\n   caller promote it. */\n\n@layer components {\n  /* timing tunables - :root defaults so ANY ancestor (deck mount, container,\n     inline style) can override by ordinary cascade; inline styles win last */\n  :root {\n    --df-motion-duration: 1500ms;\n    --df-motion-delay: 0ms;\n    --df-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);\n    --df-motion-distance: 24px;\n    --df-motion-scale-in: 0.9;\n    --df-motion-scale-out: 1.1;\n    --df-motion-blur: 12px;\n    --df-motion-angle: 12deg;\n    --df-motion-spin: -0.5turn;\n    /* JS writes the element's CURRENT computed opacity here, so fading an\n       opacity:.6 element ends at .6 - never brightens content it doesn't own */\n    --df-motion-base-opacity: 1;\n  }\n\n  /* one animation declaration, parameterized entirely by the vars above */\n  [data-df-entrance] {\n    animation-duration: var(--df-motion-duration);\n    animation-delay: var(--df-motion-delay);\n    animation-timing-function: var(--df-motion-ease);\n    animation-fill-mode: both;\n\n    /* transform-channel entrances pair with the fade (composition: add keeps\n       the element's own transform underneath); clip-path entrances need no\n       fade - the clip alone reveals the content */\n    &[data-df-entrance=\"up\"] {\n      animation-name: df-enter-up, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"down\"] {\n      animation-name: df-enter-down, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"left\"] {\n      animation-name: df-enter-left, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"right\"] {\n      animation-name: df-enter-right, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"zoom\"] {\n      animation-name: df-enter-zoom, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"zoom-out\"] {\n      animation-name: df-enter-zoom-out, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"pop\"] {\n      animation-name: df-enter-pop, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"spin\"] {\n      animation-name: df-enter-spin, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"flip\"] {\n      animation-name: df-enter-flip, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"skew\"] {\n      animation-name: df-enter-skew, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"blur\"] {\n      animation-name: df-enter-blur, df-enter-fade;\n      animation-composition: add, replace;\n    }\n    &[data-df-entrance=\"wipe\"] {\n      animation-name: df-enter-wipe;\n    }\n    &[data-df-entrance=\"wipe-up\"] {\n      animation-name: df-enter-wipe-up;\n    }\n    &[data-df-entrance=\"iris\"] {\n      animation-name: df-enter-iris;\n    }\n    &[data-df-entrance=\"fade\"] {\n      animation-name: df-enter-fade;\n    }\n  }\n\n  /* stagger: children of a [data-df-stagger] container get graded delays\n     (--df-motion-stagger-step per container) while keeping their own\n     direction. ponytail: beyond the 8th child the delay caps at *7 - long\n     lists should chunk into columns. An inline --df-motion-delay on a child\n     still wins (inline beats any stylesheet rule). */\n  [data-df-stagger] {\n    --df-motion-stagger-step: 120ms;\n    & > :nth-child(1) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 0);\n    }\n    & > :nth-child(2) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 1);\n    }\n    & > :nth-child(3) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 2);\n    }\n    & > :nth-child(4) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 3);\n    }\n    & > :nth-child(5) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 4);\n    }\n    & > :nth-child(6) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 5);\n    }\n    & > :nth-child(7) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 6);\n    }\n    & > :nth-child(n + 8) {\n      --df-motion-delay: calc(var(--df-motion-stagger-step) * 7);\n    }\n  }\n\n  /* SVG draw-in - a distinct primitive, not a DOM entrance: pathLength=\"1\"\n     calibrates distance-along-path so ONE dash rule (1 → 0) fits every\n     geometry regardless of actual path length. (The CSS `path-length`\n     property stays experimental - the SVG attribute is the portable form.) */\n  [data-df-draw][pathLength=\"1\"] {\n    stroke-dasharray: 1;\n    stroke-dashoffset: 1;\n    animation: df-draw var(--df-motion-duration) var(--df-motion-ease) var(--df-motion-delay) both;\n  }\n\n  /* vocabulary - every direction is exactly one keyframes rule */\n\n  @keyframes df-enter-fade {\n    from {\n      opacity: 0;\n    }\n    to {\n      opacity: var(--df-motion-base-opacity);\n    }\n  }\n\n  /* \"up\" travels upward into its final position (from below) */\n  @keyframes df-enter-up {\n    from {\n      transform: translateY(var(--df-motion-distance));\n    }\n    to {\n      transform: translateY(0);\n    }\n  }\n  @keyframes df-enter-down {\n    from {\n      transform: translateY(calc(-1 * var(--df-motion-distance)));\n    }\n    to {\n      transform: translateY(0);\n    }\n  }\n  @keyframes df-enter-left {\n    from {\n      transform: translateX(var(--df-motion-distance));\n    }\n    to {\n      transform: translateX(0);\n    }\n  }\n  @keyframes df-enter-right {\n    from {\n      transform: translateX(calc(-1 * var(--df-motion-distance)));\n    }\n    to {\n      transform: translateX(0);\n    }\n  }\n  @keyframes df-enter-zoom {\n    from {\n      transform: scale(var(--df-motion-scale-in));\n    }\n    to {\n      transform: scale(1);\n    }\n  }\n  @keyframes df-enter-zoom-out {\n    from {\n      transform: scale(var(--df-motion-scale-out));\n    }\n    to {\n      transform: scale(1);\n    }\n  }\n  @keyframes df-enter-pop {\n    0% {\n      transform: scale(0.65);\n    }\n    65% {\n      transform: scale(1.07);\n    }\n    100% {\n      transform: scale(1);\n    }\n  }\n  @keyframes df-enter-spin {\n    from {\n      transform: rotate(var(--df-motion-spin));\n    }\n    to {\n      transform: rotate(0deg);\n    }\n  }\n  @keyframes df-enter-flip {\n    from {\n      transform: perspective(900px) rotateY(-70deg);\n    }\n    to {\n      transform: perspective(900px) rotateY(0deg);\n    }\n  }\n  @keyframes df-enter-skew {\n    from {\n      transform: skewX(var(--df-motion-angle));\n    }\n    to {\n      transform: skewX(0deg);\n    }\n  }\n  @keyframes df-enter-blur {\n    from {\n      filter: blur(var(--df-motion-blur));\n    }\n    to {\n      filter: blur(0);\n    }\n  }\n  @keyframes df-enter-wipe {\n    from {\n      clip-path: inset(0 100% 0 0);\n    }\n    to {\n      clip-path: inset(0);\n    }\n  }\n  @keyframes df-enter-wipe-up {\n    from {\n      clip-path: inset(100% 0 0 0);\n    }\n    to {\n      clip-path: inset(0);\n    }\n  }\n  @keyframes df-enter-iris {\n    from {\n      clip-path: circle(0% at 50% 50%);\n    }\n    to {\n      clip-path: circle(150% at 50% 50%);\n    }\n  }\n\n  @keyframes df-draw {\n    from {\n      stroke-dashoffset: 1;\n    }\n    to {\n      stroke-dashoffset: 0;\n    }\n  }\n\n  /* accessibility: near-instant instead of none - the JS finished/cancel\n     contract behaves identically (a finished 1ms animation still resolves),\n     while nothing visibly moves. REQUIRED for every animation. */\n  @media (prefers-reduced-motion: reduce) {\n    [data-df-entrance],\n    [data-df-draw] {\n      --df-motion-duration: 1ms !important;\n      --df-motion-delay: 0ms !important;\n    }\n  }\n}\n\n/* ── components/anim-canvas/anim-canvas.css ── */\n/* -- Animation Canvas component ----------------------------------\n   Chess-board slide canvas: the root is the viewport (overflow hidden),\n   JS-created .anim-canvas-board carries the pan/zoom transform, slides are\n   absolute cells in board units (--anim-canvas-width/height, literal\n   defaults, token-free artboard like presentation). All motion is the shared\n   df$.anim engine + one WAAPI board pan; this sheet owns only the surface:\n   card-ish slides (allowed tokens), the overview tile affordance, and the\n   optional directional chrome. */\n\n@layer components {\n  .anim-canvas {\n    /* artboard contract - override on the mount for other formats */\n    --anim-canvas-width: 1280;\n    --anim-canvas-height: 720;\n    /* gutter between board cells (board units): separates the overview\n       tiles and shows as a seam while the board pans. 0 = flush cells. */\n    --anim-canvas-gap: 80;\n\n    position: relative;\n    display: block;\n    width: 100%;\n    aspect-ratio: var(--anim-canvas-width) / var(--anim-canvas-height);\n    overflow: hidden;\n    background: var(--muted);\n    border: 1px solid var(--border);\n    border-radius: var(--radius-lg);\n\n    /* the one pan/zoom layer (JS-created; transform-origin pinned so the\n       runtime's translate+scale math stays in raw board units) */\n    & .anim-canvas-board {\n      position: absolute;\n      inset: 0;\n      transform-origin: 0 0;\n      will-change: transform;\n    }\n\n    /* a board cell: card surface, separated from its neighbors by the gap\n       (radius + shadow appear in overview, where every cell is a tile) */\n    & .anim-canvas-slide {\n      position: absolute;\n      box-sizing: border-box;\n      overflow: hidden;\n      background: var(--card);\n      color: var(--card-foreground);\n    }\n\n    /* overview: every slide reads as a clickable tile */\n    &[data-overview] .anim-canvas-slide {\n      cursor: pointer;\n      border-radius: var(--radius-lg);\n      box-shadow: var(--shadow-md);\n\n      &:hover {\n        outline: 2px solid var(--ring);\n        outline-offset: 2px;\n      }\n    }\n\n    /* optional authored chrome: directional + overview buttons\n       ([data-anim-canvas-go=\"east|west|north|south|overview\"]) */\n    & .anim-canvas-controls {\n      position: absolute;\n      inset-block-end: 0.75rem;\n      inset-inline-end: 0.75rem;\n      display: flex;\n      align-items: center;\n      gap: 0.375rem;\n      z-index: 2;\n    }\n\n    & .anim-canvas-control {\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      inline-size: 2rem;\n      block-size: 2rem;\n      padding: 0;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-md);\n      background: var(--card);\n      color: var(--card-foreground);\n      cursor: pointer;\n      font: inherit;\n      line-height: 1;\n      transition: background-color 150ms ease;\n\n      &:hover {\n        background: var(--accent);\n        color: var(--accent-foreground);\n      }\n      &:disabled {\n        opacity: 0.4;\n        cursor: default;\n      }\n    }\n  }\n\n  /* accessibility: honor motion + contrast preferences (REQUIRED). The\n     engine collapses its own durations and the runtime collapses the board\n     pan to 1ms; here the chrome's hover transition flattens. */\n  @media (prefers-reduced-motion: reduce) {\n    .anim-canvas .anim-canvas-control {\n      transition: none;\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .anim-canvas .anim-canvas-control {\n      border-width: 2px;\n    }\n  }\n\n  @media (forced-colors: active) {\n    .anim-canvas {\n      border-color: CanvasText;\n    }\n    .anim-canvas[data-overview] .anim-canvas-slide {\n      outline: 1px solid CanvasText;\n    }\n    .anim-canvas .anim-canvas-control {\n      border-color: ButtonBorder;\n      color: ButtonText;\n      background: ButtonFace;\n    }\n  }\n}\n\n/* ── components/parallax/parallax.css ── */\n/* -- Parallax --------------------------------------------------------\n   Depth on scroll, no script. A .parallax scene is a view timeline (its\n   passage through the scrollport); every .parallax-layer moves along it -\n   far layers lag, near ones lead - so the picture separates into planes.\n   A sticky scene (data-sticky + .parallax-stage) pins its stage while you\n   scroll through it: the layers play over that whole distance (zoom, fade,\n   spin). .parallax-drift moves in-flow elements at their own speed (columns\n   of a photo wall), .parallax-reveal fades and lifts elements into view.\n   Unsupported browsers and reduced motion get the still composition. */\n\n@layer components {\n  .parallax {\n    position: relative;\n    isolation: isolate;\n    overflow: clip;\n    view-timeline-name: --parallax;\n    view-timeline-axis: block;\n  }\n\n  /* a layer fills the scene (or the stage) and moves by --parallax-speed:\n     a percentage of its own height over the passage, or a length */\n  .parallax-layer {\n    --_speed: var(--parallax-speed, 0%);\n\n    position: absolute;\n    /* overscan by 1.5 x the absolute speed: the travel never shows an edge */\n    inset: calc(-1.5 * max(var(--_speed), -1 * var(--_speed))) 0;\n    display: grid;\n    place-items: center;\n    pointer-events: none;\n\n    & > img,\n    & > video,\n    & > svg {\n      width: 100%;\n      height: 100%;\n      object-fit: cover;\n    }\n\n    &[data-depth=\"far\"] {\n      --_speed: var(--parallax-speed, 50%);\n      z-index: -4;\n    }\n    &[data-depth=\"mid\"] {\n      --_speed: var(--parallax-speed, 25%);\n      z-index: -3;\n    }\n    &[data-depth=\"near\"] {\n      --_speed: var(--parallax-speed, -15%);\n      z-index: -2;\n    }\n    &[data-depth=\"front\"] {\n      --_speed: var(--parallax-speed, -35%);\n      z-index: 2;\n    }\n  }\n\n  /* the content plane: in flow, interactive */\n  .parallax-content {\n    position: relative;\n    z-index: 1;\n  }\n\n  /* sticky scene: tall (data-sticky sets the scroll distance, default 300%\n     of the stage), the stage pins while the scene passes - the layers play\n     over the pinned stretch (the timeline's contain range) */\n  .parallax[data-sticky] {\n    overflow: visible;\n    height: calc(var(--parallax-stage, 100dvh) * var(--parallax-length, 3));\n  }\n  .parallax-stage {\n    position: sticky;\n    inset-block-start: 0;\n    height: var(--parallax-stage, 100dvh);\n    overflow: clip;\n    isolation: isolate;\n  }\n\n  /* horizontal scenes (a sideways scroller) */\n  .parallax[data-axis=\"inline\"] {\n    view-timeline-axis: inline;\n  }\n\n  /* in-flow elements at their own speed - a length (6rem) or a percentage */\n  .parallax-drift {\n    --_speed: var(--parallax-speed, 4rem);\n  }\n\n  @keyframes parallax-shift {\n    from {\n      translate: 0 calc(var(--_speed) * -1);\n    }\n    to {\n      translate: 0 var(--_speed);\n    }\n  }\n  @keyframes parallax-shift-inline {\n    from {\n      translate: calc(var(--_speed) * -1) 0;\n    }\n    to {\n      translate: var(--_speed) 0;\n    }\n  }\n  @keyframes parallax-zoom {\n    from {\n      scale: 1;\n    }\n    to {\n      scale: var(--parallax-scale, 2.5);\n    }\n  }\n  @keyframes parallax-fade {\n    from {\n      opacity: 1;\n    }\n    to {\n      opacity: 0;\n    }\n  }\n  @keyframes parallax-spin {\n    to {\n      rotate: var(--parallax-turn, 90deg);\n    }\n  }\n  /* pass: in from small and transparent, hold, out large - words flying by */\n  @keyframes parallax-pass {\n    0% {\n      opacity: 0;\n      scale: 0.5;\n    }\n    35%,\n    65% {\n      opacity: 1;\n      scale: 1;\n    }\n    100% {\n      opacity: 0;\n      scale: 1.8;\n    }\n  }\n  @keyframes parallax-reveal {\n    from {\n      opacity: 0;\n      translate: 0 var(--parallax-rise, 3rem);\n      scale: 0.98;\n    }\n  }\n  @keyframes parallax-reveal-zoom {\n    from {\n      opacity: 0;\n      scale: 0.85;\n    }\n  }\n  @keyframes parallax-reveal-fade {\n    from {\n      opacity: 0;\n    }\n  }\n\n  .parallax-layer,\n  .parallax-drift {\n    animation: parallax-shift linear both;\n  }\n  .parallax[data-axis=\"inline\"] .parallax-layer {\n    animation-name: parallax-shift-inline;\n  }\n  /* layer motions - stacked on the shift */\n  .parallax-layer[data-motion=\"zoom\"] {\n    animation-name: parallax-shift, parallax-zoom;\n  }\n  .parallax-layer[data-motion=\"fade\"] {\n    animation-name: parallax-shift, parallax-fade;\n  }\n  .parallax-layer[data-motion=\"spin\"] {\n    animation-name: parallax-shift, parallax-spin;\n  }\n  .parallax-layer[data-motion=\"zoom fade\"] {\n    animation-name: parallax-shift, parallax-zoom, parallax-fade;\n  }\n  .parallax-layer[data-motion=\"pass\"] {\n    animation-name: parallax-shift, parallax-pass;\n  }\n  .parallax-reveal {\n    animation: parallax-reveal ease-out both;\n  }\n  .parallax-reveal[data-reveal=\"zoom\"] {\n    animation-name: parallax-reveal-zoom;\n  }\n  .parallax-reveal[data-reveal=\"fade\"] {\n    animation-name: parallax-reveal-fade;\n  }\n\n  /* the timelines live in their own rules: a minifier must not fold them\n     into the animation shorthand (reset-only there - dropped) */\n  @supports (animation-timeline: view()) {\n    .parallax-layer {\n      animation-timeline: --parallax;\n      animation-range: cover;\n    }\n    .parallax[data-sticky] .parallax-layer {\n      animation-range: contain;\n    }\n    .parallax-drift {\n      animation-timeline: view();\n      animation-range: cover;\n    }\n    .parallax-reveal {\n      animation-timeline: view();\n      animation-range: entry 0% entry 80%;\n    }\n  }\n  /* no scroll timelines: the still composition (no 0s jump to the end) */\n  @supports not (animation-timeline: view()) {\n    .parallax-layer,\n    .parallax-drift,\n    .parallax-reveal {\n      animation: none;\n    }\n  }\n\n  /* -- Accessibility ------------------------------------------- */\n  @media (prefers-reduced-motion: reduce) {\n    .parallax-layer,\n    .parallax-drift,\n    .parallax-reveal {\n      animation: none;\n    }\n  }\n\n  @media (forced-colors: active) {\n    .parallax-layer {\n      forced-color-adjust: none;\n    }\n  }\n}\n"],"names":[]}