/* ==========================================================================
   DANNIE'S COZY ESSENTIALS — design tokens
   Skin: "Patchwork Play" (client-chosen) · Logo: The Cozy Crest
   Palette source: client "Bright Blooms" board + crest cocoa ink.
   Structure: Cave Nexus house system (tinted ramp, alpha-derived muted,
   one scoped accent per world, hairline borders) — light inversion.

   COMPOSITION CONTRACT (locked 2026-09-08 — do not regress):
   - Hero display reaches 88px+ at desktop: clamp(3.2rem, 8.5vw, 9rem)
   - Hero : body ratio >= 6:1 (144px : 17px ~ 8.5:1)
   - No 1fr 1fr content splits. Ratios in use: 7fr 5fr, 1fr 1.618fr, 3fr 2fr
   - Card grids: explicit column counts per breakpoint. No auto-fit/auto-fill.
   - Measures per page: full-bleed, 1380px, 1120px, 62ch  (4 distinct)
   - Container breaks: full-bleed hero video band, checkerboard marquee,
     sticker figures pulled past panel edges
   - Section padding >= 12vh desktop; hero >= 88vh
   ========================================================================== */

:root {
  /* --- primitives: Bright Blooms ------------------------------------ */
  --bb-pink:   #FD5D8F;   /* Pink Panter  */
  --bb-coral:  #FF6875;   /* Bright Bloom */
  --bb-petal:  #FF9B60;   /* Orange Petal */
  --bb-fresh:  #FF98A8;   /* Fresh Coral  */
  --bb-blush:  #FFB4C9;   /* Creamy Blush */
  --bb-peach:  #FFC89A;   /* Pumped Pastel*/

  /* --- primitives: derived from the approved marks ------------------- */
  --bb-cocoa:  #3B2A22;   /* crest centre ink        */
  --bb-berry:  #A63D52;   /* Yarn Over lettering ink */
  --bb-pink-deep:  #D64478;
  --bb-coral-deep: #E04E5C;
  --bb-petal-deep: #E07B3C;

  /* --- primitives: Danielle's sticker world (added 2026-12-03) ---------
     The pets' stickers (Bella, Frank, Zion, Dobby) are the brand's hook:
     kraft ribbon banners, wheat sprigs, denim-blue aprons. */
  --st-kraft:   #EAD7B7;   /* ribbon banner           */
  --st-kraft-2: #F6EAD6;   /* banner highlight        */
  --st-wheat:   #C98B2B;   /* wheat sprigs            */
  --st-apron:   #3E6FA8;   /* the aprons              */
  --st-brown:   #6B4A2E;   /* banner lettering        */

  /* --- primitives: tinted cream ramp (never pure white) --------------- */
  --bb-cream-0: #FFF8F3;
  --bb-cream-1: #FFF1E9;
  --bb-cream-2: #FFEAE2;
  --bb-tint-pink:  #FFE4EB;
  --bb-tint-peach: #FFEBD8;

  /* --- semantic -------------------------------------------------------- */
  --bg:        var(--bb-cream-0);
  --bg-raised: var(--bb-cream-1);
  --bg-panel:  var(--bb-cream-2);
  --world-yarn:  var(--bb-tint-pink);
  --world-dough: var(--bb-tint-peach);

  --ink:    var(--bb-cocoa);
  --muted:  rgba(59, 42, 34, .76);
  --faint:  rgba(59, 42, 34, .62);
  --link:   #A82A55;

  --accent:       var(--bb-pink);
  --accent-deep:  var(--bb-pink-deep);
  --accent-soft:  var(--bb-blush);
  --accent-2:      var(--bb-petal);   /* scoped: Dan's Dough world */
  --accent-2-deep: var(--bb-petal-deep);
  --accent-2-soft: var(--bb-peach);

  --line:   rgba(59, 42, 34, .13);
  --line-2: rgba(214, 68, 120, .32);
  --wa:     #25D366;
  --wa-deep:#1DA851;

  --card-bg: #FFFDFA;              /* sticker face — warmest near-white */
  --sticker-edge: #FFFDFA;

  /* --- type ------------------------------------------------------------ */
  --font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body:    'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-hand:    'Caveat', 'Segoe Script', cursive;

  --size-hero:    clamp(3.2rem, 8.5vw, 9rem);
  --size-h2:      clamp(2.1rem, 4.6vw, 3.9rem);
  --size-h3:      clamp(1.35rem, 2.2vw, 1.8rem);
  --size-body:    1.0625rem;
  --size-micro:   .72rem;
  --track-micro:  .32em;

  /* --- shape & depth ---------------------------------------------------- */
  --radius:    26px;
  --radius-sm: 14px;
  --shadow-soft:    0 10px 34px rgba(166, 61, 82, .12);
  --shadow-lift:    0 18px 44px rgba(166, 61, 82, .18);
  --offset-shadow:  0 4px 0;

  /* --- motion ----------------------------------------------------------- */
  --ease-out:   cubic-bezier(.23, 1, .32, 1);
  --dur-micro:  .18s;
  --dur-ui:     .3s;
  --dur-reveal: .55s;

  /* --- component -------------------------------------------------------- */
  --btn-bg: var(--accent);
  --btn-bg-shadow: var(--accent-deep);
  --btn-fg: var(--bb-cocoa);
  --nav-h: 76px;
  --measure-wide: 1380px;
  --measure-mid: 1120px;
  --measure-text: 62ch;
}
