/* =============================================================================
   RAS Cores — root stylesheet
   -----------------------------------------------------------------------------
   The ONE sheet that depends on the parent theme's handles. Every other child
   sheet depends on this one, so the cascade order is deterministic:

     hello-elementor (reset.css)
       -> hello-elementor-theme-style (theme.css)
         -> ras-root            <- this file
           -> ras-components, ras-* (future)

   Hello Elementor's reset.css is not just a reset — a child sheet that prints
   before it loses every equal-specificity collision. Hence the dependency.

   Rules here must be token-driven. Colors and type come from Elementor
   Variables (--ras-*) and the kit mirror (--e-global-color-ras-*). The single
   sanctioned raw value is rgba(0,0,0,0).

   Created 2026-08-20 (rebuild teardown Phase 3 step 5).
============================================================================== */

/* -----------------------------------------------------------------------------
   1. Design tokens
   -----------------------------------------------------------------------------
   OWNED BY THE TOKEN SEED GENERATOR — do not hand-author values here.

   `elementor-templates/seed-tokens.php` emits, from 04-design-tokens.md:
     - 41 Elementor Variables         -> :root { --ras-*: <light value> }
       (35 colours + 2 fonts + 4 sizes), rendered into the kit's post-{id}.css
     - the kit Global Colors/Fonts mirror -> --e-global-color-ras-*
     - the 15 Global Classes of §3c
     - assets/css/ras-tokens.css — --ras-shadow plus the dark re-declaration

   Seeded 2026-08-20. To change a token value, edit the generator and re-run it;
   never patch the emitted CSS. Variable LABELS are the CSS custom-property
   names, so renaming one is a breaking change across every template.
----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
   2. Animation framework v1.1 FIX #3 (applied 2026-08-20)
   -----------------------------------------------------------------------------
   .sv-hover-lift hardcodes a 4px lift + heavy shadow with no
   --sv-hover-lift-y / --sv-hover-lift-shadow tokens to restyle per project,
   and the framework sheet prints AFTER the child sheets — so a :root override
   here would lose on source order anyway.

   The doubled-class selector is 0-3-0 against the framework's 0-2-0, so it
   wins regardless of order. Values match the prototype's flat hover language:
   the source has NO card translate anywhere, only border/bg/text colour shifts
   (10-animation-architecture.md §5), so the lift stays minimal and the shadow
   is removed entirely — dark mode ships no shadows by design.
----------------------------------------------------------------------------- */

.sv-hover-lift.sv-hover-lift:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: none;
}

/* -----------------------------------------------------------------------------
   3. Condensed heading signature
   -----------------------------------------------------------------------------
   Transducer Variable's condensed axis (wdth 65) cannot ride Elementor
   typography controls or the atomic style schema — font-variation-settings is
   not a Style_Schema prop (04-design-tokens.md §4). One rule, keyed to the
   public Global Class labels, carries it.

   If Typekit is unavailable, Oswald (natively condensed) takes over and these
   axes no-op harmlessly.
----------------------------------------------------------------------------- */

.ras-display,
.ras-h1,
.ras-h2,
.ras-h2-sm,
.ras-h3-card,
.ras-btn-primary,
.ras-condensed {
  font-variation-settings: "slnt" 0, "wdth" 65, "wght" 700;
}

.ras-overline {
  font-variation-settings: "slnt" 0, "wdth" 65, "wght" 400;
}

/* -----------------------------------------------------------------------------
   4. Base
----------------------------------------------------------------------------- */

html {
  font-size: 16px;
}


/* -----------------------------------------------------------------------------
   Animation framework — RAS project token overrides (2026-08-21).
   Entrances read jumpy at the defaults: 32px of travel over 600ms with a late
   reveal. Softer travel, longer settle, expo ease.
----------------------------------------------------------------------------- */
:root {
  --sv-dur: 800ms;
  --sv-dur-slow: 1100ms;
  --sv-distance-md: 20px;
  --sv-distance-lg: 40px;
  --sv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
