/* Syr motion system: "Assured" (A-23, picked by Zacc 30 Oct 2026).
   Proposal for implementation: not loaded by the site yet. Source of the values: motion-lab.html (column B).
   Replaces about 20 ad-hoc durations (.14s to 1.1s) and 5 easing curves in the 28 Oct release. */
:root {
  /* Durations */
  --syr-motion-quick: 200ms;   /* colour, border and fill changes; focus; button hover */
  --syr-motion-base: 450ms;    /* card hover arrow and border; one reading-reveal line; menus and drawers */
  --syr-motion-slow: 900ms;    /* gold line draw; photo zoom on hover; section entrance; sound fade-in */
  --syr-motion-scene: 2300ms;  /* the one signature moment per page (homepage turning vault) */
  --syr-motion-exit: 200ms;    /* A-25: anything closing or leaving (menus, drawers, overlays) exits at quick speed */

  /* Easing */
  --syr-ease-settle: cubic-bezier(.22, .61, .36, 1); /* everything that arrives or responds */
  --syr-ease-glide: cubic-bezier(.65, 0, .35, 1);    /* scroll-scrubbed and signature transforms */
}

/* Rules
   1. One signature moment per page: homepage = turning vault (A-16); LYFE = Syr Sound opening (A-22).
   2. Motion ends. Loops (record spin, sound) run only while their section is fully in view and stop when it leaves.
   3. Nothing moves on page load except video. Entrances start on scroll or interaction.
   4. Animate transform, opacity, colour and clip only. Hover never shifts layout.
   5. Sound starts only on a click or tap: fade in over --syr-motion-slow, fade out over --syr-motion-base.
   6. Reduced motion: movement is removed. State changes become a fade of --syr-motion-quick or less;
      scroll effects show their finished state (reading reveal lit) or today's static layout (LYFE opening). */
@media (prefers-reduced-motion: reduce) {
  :root {
    --syr-motion-base: 150ms;
    --syr-motion-slow: 150ms;
    --syr-motion-scene: 0ms;
  }
}

/* Scope (from the Codex sync, 30 Oct): these tokens set timing only. Each component must also provide its own
   still path under reduced motion (no transforms; opacity only), as the prototypes do.
   Explicit exceptions to the 200ms exit: A-22 sound fades out over 450ms; A-24 page dip is 450ms out / 450ms in.
   Open: the A-16 turning-vault close reverse has no decided duration yet (2.3s scene or 900ms slow). */

/* Mapping of decided moments
   A-16 turning vault    door fade --syr-motion-slow; wheel turn and cards --syr-motion-scene, --syr-ease-glide
   A-17 card hover       border/arrow --syr-motion-base; gold line and photo zoom --syr-motion-slow; --syr-ease-settle
   A-21 reading reveal   each line --syr-motion-base, --syr-ease-settle (triggered at ~62% of the viewport)
   A-22 LYFE opening     scroll-scrubbed with --syr-ease-glide; Listen control appears over --syr-motion-slow
   Book button           fill --syr-motion-quick */
