{"version":3,"sourceRoot":null,"mappings":"AASA,kBACE,0tBAqCE,gGASA,wYAsBE,kDAIA,yBAGA,0BAIA,8HAIA,oIAIA,uiCA2BF,gCAUA,0aAgBE,0IASF,oFAkBA,2XAgBE,iHASA,wCAQF,6OAaA,4IAUA,4ZAeE,mFAGA,sCAMF,4OAUA,uQAYE,4GAGA,gEAGA,4DAMF,kCAGA,sSAeA,+IAQA,kIAQA,2FAYF,uCACE,8EAMF,+BACE,wGAMF,8BACE,+FAKA","sources":["dist/sections/presentations.css"],"sourcesContent":["/* ── components/presentation/presentation.css ── */\n/* -- Presentation component ------------------------------------\n   Fixed-coordinate deck runtime: an artboard (default 1600×900) uniformly\n   scaled to the mount, declarative entrance animations, native <progress>\n   advance, presenter notes. Local --presentation-* custom properties are the\n   deck's art-direction contract (literal defaults, token-free on purpose: a\n   slide surface must stay identical under every theme); consumers override\n   them per deck. */\n\n@layer components {\n  .presentation {\n    /* artboard contract - override on the mount for other formats */\n    --presentation-width: 1600;\n    --presentation-height: 900;\n    /* live uniform scale, owned by presentation.js (ResizeObserver) */\n    --presentation-scale: 1;\n    /* slide surfaces (fixed art direction, like the taxonomy badge colors) */\n    --presentation-ink: #0d1424;\n    --presentation-ink-foreground: #e9eef8;\n    --presentation-paper: #ffffff;\n    --presentation-paper-foreground: #101828;\n    --presentation-accent: #38bdf8;\n    /* motion: entrances come from the SHARED motion component (motion.css\n       keyframes + [data-df-entrance]); a deck only tunes the --df-motion-*\n       defaults for its artboard scale - per-element inline vars still win */\n    --presentation-out: cubic-bezier(0.16, 1, 0.3, 1);\n    --presentation-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n    /* slow and deliberate: slide transitions (df$.anim, default 1500ms),\n       entrances and the chart stage share one tempo */\n    --presentation-duration: 1500ms;\n    --df-motion-duration: var(--presentation-duration);\n    --df-motion-ease: var(--presentation-out);\n    --df-motion-distance: 3.5rem; /* artboard units - scales with the deck */\n\n    position: relative;\n    display: grid;\n    width: 100%;\n    aspect-ratio: var(--presentation-width) / var(--presentation-height);\n    overflow: hidden;\n    background: var(--presentation-ink);\n    color: var(--presentation-ink-foreground);\n    font-family: var(--font-sans);\n\n    /* fullscreen MODE: when native fullscreen is active this element already\n       owns the viewport; when the request was DENIED (embeds without\n       allow=\"fullscreen\") the same attribute pins it as a fixed overlay —\n       one honest mode, two carriers. */\n    &[data-fullscreen] {\n      position: fixed;\n      inset: 0;\n      z-index: 50;\n      width: 100vw;\n      height: 100vh;\n      aspect-ratio: auto;\n    }\n\n    & > [data-slide] {\n      position: absolute;\n      inset-block-start: 0;\n      inset-inline-start: 0;\n      inline-size: calc(var(--presentation-width) * 1px);\n      block-size: calc(var(--presentation-height) * 1px);\n      /* uniform artboard scale via zoom, NOT transform: the slide's\n         transform belongs to the df$.anim transitions (slide/zoom/spin/flip\n         keyframes animate transform - a scale() here would be overwritten\n         mid-transition and the slide would jump to artboard size) */\n      zoom: var(--presentation-scale);\n      display: flex;\n      flex-direction: column;\n      justify-content: center;\n      padding: calc(var(--presentation-height) * 0.08px) calc(var(--presentation-width) * 0.07px);\n      box-sizing: border-box;\n      /* the TRANSITION is the df$.anim engine (presentation.js plays a\n         data-anim-out on the leaving slide and a data-anim-in on the\n         arriving one); CSS only says who is on stage: the active slide on\n         top, the leaving slide beneath it until its out-animation ends */\n      visibility: hidden;\n\n      &[data-active],\n      &[data-leaving] {\n        visibility: visible;\n      }\n      &[data-active] {\n        z-index: 1;\n      }\n      &[data-leaving] {\n        z-index: 0;\n      }\n\n      &[data-theme=\"ink\"] {\n        --presentation-surface: var(--presentation-ink);\n        --presentation-on-surface: var(--presentation-ink-foreground);\n      }\n      &[data-theme=\"paper\"] {\n        --presentation-surface: var(--presentation-paper);\n        --presentation-on-surface: var(--presentation-paper-foreground);\n      }\n      &[data-theme] {\n        background: var(--presentation-surface);\n        color: var(--presentation-on-surface);\n        /* shipped components on a slide (table, badge, avatar, button, card)\n           speak the SLIDE's surface, not the page theme: the existing\n           semantic tokens are re-pointed at the deck's art direction, so a\n           paper slide stays legible in dark mode and vice versa */\n        --background: var(--presentation-surface);\n        --foreground: var(--presentation-on-surface);\n        --card: var(--presentation-surface);\n        --card-foreground: var(--presentation-on-surface);\n        --primary: var(--presentation-on-surface);\n        --primary-foreground: var(--presentation-surface);\n        --secondary: color-mix(in oklch, var(--presentation-on-surface) 10%, var(--presentation-surface));\n        --secondary-foreground: var(--presentation-on-surface);\n        --muted: color-mix(in oklch, var(--presentation-on-surface) 7%, var(--presentation-surface));\n        --muted-foreground: color-mix(in oklch, var(--presentation-on-surface) 64%, var(--presentation-surface));\n        --accent: color-mix(in oklch, var(--presentation-on-surface) 10%, var(--presentation-surface));\n        --accent-foreground: var(--presentation-on-surface);\n        --border: color-mix(in oklch, var(--presentation-on-surface) 18%, var(--presentation-surface));\n        --input: color-mix(in oklch, var(--presentation-on-surface) 24%, var(--presentation-surface));\n        --ring: var(--presentation-accent);\n      }\n    }\n\n    /* charts on the artboard read at slide scale: the chart theme adapter\n       derives every label, gap and stroke from --chart-font-size */\n    & .chart {\n      --chart-font-size: 24px;\n    }\n\n    /* -- the chart stage: ONE chart for the whole deck (chart.deck()) -------\n       A deck-level layer in artboard coordinates (same scale transform as\n       the slides) stacked ABOVE them, so every slide keeps its own surface.\n       Slides that name a data-chart-state show it; the chart morphs from\n       state to state while the slides crossfade underneath. Hidden = faded\n       out in step with the slide fade, never unmounted. */\n    & > .presentation-stage {\n      position: absolute;\n      inset-block-start: 0;\n      inset-inline-start: 0;\n      z-index: 2;\n      inline-size: calc(var(--presentation-width) * 1px);\n      block-size: calc(var(--presentation-height) * 1px);\n      transform: scale(var(--presentation-scale));\n      transform-origin: top left;\n      visibility: hidden;\n      opacity: 0;\n      pointer-events: none;\n      transition:\n        opacity var(--presentation-duration) var(--presentation-out),\n        visibility 0s linear var(--presentation-duration);\n\n      &[data-visible] {\n        visibility: visible;\n        opacity: 1;\n        pointer-events: auto;\n        transition: opacity var(--presentation-duration) var(--presentation-out);\n      }\n    }\n    /* a curtain (blocksIn → blocksOut) passes over the SLIDES; the chart\n       stage steps aside while it runs and returns with the arriving slide */\n    &[data-curtain] > .presentation-stage[data-visible] {\n      opacity: 0;\n      transition-duration: 300ms;\n    }\n\n    /* -- entrances: the SHARED motion component owns the vocabulary --------\n       Slides simply carry [data-df-entrance] / [data-df-draw] / [data-df-\n       stagger] elements; the keyframes + --df-motion-* tunables live in\n       motion.css (shipped in the same all.css bundle). The deck runtime\n       REPLAYS every entrance when its slide activates - revisiting a slide\n       re-runs its entrance, and animations (unlike transitions) fire\n       deterministically on first application, so decks animate correctly on\n       load without a rendered \"from\" state. */\n\n    /* -- in-slide chrome (artboard coordinates, scales with the deck) ------ */\n\n    /* header line: a mono eyebrow strip with a hairline rule, pinned to the\n       slide's top edge - section label left, optional meta right */\n    & .presentation-header {\n      position: absolute;\n      inset-block-start: 0;\n      inset-inline: 0;\n      display: flex;\n      align-items: baseline;\n      gap: 1.25rem;\n      padding: 3.5rem 4.5rem 1.75rem;\n      font-family: var(--font-mono);\n      font-size: 1.5rem;\n      letter-spacing: 0.14em;\n      text-transform: uppercase;\n      color: color-mix(in oklch, currentColor 65%, transparent);\n      border-block-end: 1px solid color-mix(in oklch, currentColor 16%, transparent);\n\n      /* the accent tick gives the line a deliberate start, not a stray rule */\n      &::before {\n        content: \"\";\n        inline-size: 2.75rem;\n        block-size: 0.3rem;\n        align-self: center;\n        background: var(--presentation-accent);\n      }\n\n      /* the LAST span (meta) rides to the right edge - label stays with the tick */\n      & > :last-child {\n        margin-inline-start: auto;\n      }\n    }\n\n    /* slide number: NN ⁄ NN in the bottom corner - the fraction slash (U+2044)\n       is inherently slanted, so the motif needs no extra decoration. The\n       runtime fills the text; authors just drop the element into a slide. */\n    & .presentation-slide-number {\n      position: absolute;\n      inset-block-end: 2.75rem;\n      /* bottom-LEFT: the bottom-right corner belongs to the deck controls */\n      inset-inline-start: 4.5rem;\n      font-family: var(--font-mono);\n      font-size: 1.6rem;\n      font-weight: 500;\n      letter-spacing: 0.08em;\n      color: color-mix(in oklch, currentColor 55%, transparent);\n    }\n\n    /* -- chrome (outside slide coordinates, viewport-fixed) -------------- */\n    & .presentation-controls {\n      position: absolute;\n      inset-block-end: 1rem;\n      inset-inline-end: 1rem;\n      display: flex;\n      align-items: center;\n      gap: 0.375rem;\n      z-index: 3;\n    }\n\n    & .presentation-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 color-mix(in oklch, var(--presentation-paper-foreground) 18%, transparent);\n      border-radius: var(--radius-md);\n      background: color-mix(in oklch, var(--presentation-paper) 82%, transparent);\n      color: var(--presentation-paper-foreground);\n      cursor: pointer;\n      font: inherit;\n      line-height: 1;\n\n      &:hover {\n        background: color-mix(in oklch, var(--presentation-paper) 95%, transparent);\n      }\n      &:disabled {\n        opacity: 0.4;\n        cursor: default;\n      }\n    }\n\n    & .presentation-counter {\n      font-family: var(--font-mono);\n      font-size: 0.75rem;\n      padding-inline: 0.5rem;\n      color: var(--presentation-ink-foreground);\n      background: color-mix(in oklch, var(--presentation-ink) 60%, transparent);\n      border-radius: var(--radius-sm);\n    }\n\n    /* native <progress> - the platform's completion indicator */\n    & .presentation-progress {\n      position: absolute;\n      inset-block-end: 0;\n      inset-inline: 0;\n      inline-size: 100%;\n      block-size: 3px;\n      margin: 0;\n      border: none;\n      background: color-mix(in oklch, var(--presentation-ink-foreground) 18%, transparent);\n      accent-color: var(--presentation-accent);\n      z-index: 3;\n\n      &::-webkit-progress-bar {\n        background: color-mix(in oklch, var(--presentation-ink-foreground) 18%, transparent);\n      }\n      &::-webkit-progress-value {\n        background: var(--presentation-accent);\n      }\n      &::-moz-progress-bar {\n        background: var(--presentation-accent);\n      }\n    }\n\n    /* presenter notes - hidden until the deck toggles [data-notes] */\n    & .presentation-note {\n      display: none;\n    }\n    &[data-notes] > [data-slide][data-active] > .presentation-note {\n      display: block;\n      position: absolute;\n      inset-block-end: 0;\n      inset-inline: 0;\n      margin: 0;\n      padding: 1.25rem 4rem;\n      font-size: 1.75rem;\n      line-height: 1.4;\n      background: color-mix(in oklch, #000000 82%, transparent);\n      border-block-start: 1px solid color-mix(in oklch, #ffffff 20%, transparent);\n      color: #ffffff;\n    }\n\n    /* slide typography helpers (fixed artboard sizes, not site type scale) */\n    & .presentation-eyebrow {\n      font-family: var(--font-mono);\n      font-size: 1.5rem;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n      opacity: 0.7;\n      margin: 0 0 1rem;\n    }\n    & .presentation-title {\n      font-size: 5.5rem;\n      line-height: 1.05;\n      letter-spacing: -0.02em;\n      font-weight: 700;\n      margin: 0 0 1.5rem;\n      text-wrap: balance;\n    }\n    & .presentation-lede {\n      font-size: 2rem;\n      line-height: 1.4;\n      opacity: 0.85;\n      margin: 0;\n      text-wrap: pretty;\n    }\n  }\n\n  /* accessibility: honor motion + contrast preferences (REQUIRED). Entrances\n     flatten via motion.css's own 1ms rule (keeps the JS finished contract);\n     here only the deck's own slide-fade transition flattens. */\n  @media (prefers-reduced-motion: reduce) {\n    .presentation > [data-slide],\n    .presentation > .presentation-stage {\n      transition: none;\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .presentation .presentation-control {\n      border-width: 2px;\n      border-color: var(--presentation-paper-foreground);\n    }\n  }\n\n  @media (forced-colors: active) {\n    .presentation .presentation-control {\n      border-color: CanvasText;\n      color: CanvasText;\n      background: Canvas;\n    }\n    .presentation .presentation-progress {\n      border-block-start: 1px solid CanvasText;\n    }\n  }\n}\n"],"names":[]}