/*
Theme Name: BABYBOON (Sober Child)
Theme URI: https://babyboon.com
Author: BABYBOON
Author URI: https://babyboon.com
Description: BABYBOON 90's Collection. Child theme of Sober, carrying the brand design system as CSS custom properties so that styling survives Sober updates.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sober
Template: sober
*/

/* ---------------------------------------------------------------------------
   BABYBOON design tokens.

   These mirror the active Novamira design system exactly (slug:
   babyboon-90s-collection) and are the same values the 700 social frames were
   rendered against. Defining them changes nothing on its own: nothing below
   applies a token to an element yet. That is deliberate, so activating this
   theme is visually inert and safe to roll back.
   --------------------------------------------------------------------------- */

:root {
  /* The seven colourways. These are grounds, not accents. */
  --bb-navy:      #24487C;
  --bb-wine:      #75152B;
  --bb-amber:     #CE8614;
  --bb-pine:      #163F33;
  --bb-powder:    #BCCDE0;
  --bb-rose:      #DED1D3;
  --bb-fog:       #D9D8D8;

  /* Ground and ink. Ink is never used as a background. */
  --bb-offwhite:  #F5F2EE;
  --bb-surface:   #FFFFFF;
  --bb-ink:       #1C2024;

  /* Amber is the single locked interface accent, sitewide. */
  --bb-accent:        var(--bb-amber);
  --bb-accent-ink:    var(--bb-offwhite);

  /* Hairline: ink at low opacity, never a grey of its own. */
  --bb-hairline: rgba(28, 32, 36, 0.14);

  /* Type. Salt Shaker and Khorafi are the display faces; both fall back to the
     text faces until the webfonts are licensed and installed. */
  --bb-font-display:     "Salt Shaker", "Poppins", sans-serif;
  --bb-font-text:        "Poppins", sans-serif;
  --bb-font-display-ar:  "Khorafi", "Alexandria", sans-serif;
  --bb-font-text-ar:     "Alexandria", sans-serif;

  /* Salt Shaker renders large for its nominal size and needs leading trimmed
     rather than added. Khorafi runs larger again. */
  --bb-leading-display:  1.08;
  --bb-leading-body:     1.7;
  --bb-tracking-label:   0.26em;

  /* Spacing scale. Density dial is low: space is the brand. */
  --bb-space-xs:  8px;
  --bb-space-sm:  16px;
  --bb-space-md:  32px;
  --bb-space-lg:  64px;
  --bb-space-xl:  112px;

  /* Two radii and one pill. */
  --bb-radius-sm:   4px;
  --bb-radius-md:   12px;
  --bb-radius-pill: 999px;

  /* Running text measure. */
  --bb-measure: 66ch;
}

/* Arabic is a parallel system, not a fallback: its own faces, and never
   letter-tracked. */
:root:lang(ar),
[dir="rtl"] {
  --bb-font-display: var(--bb-font-display-ar);
  --bb-font-text:    var(--bb-font-text-ar);
  --bb-tracking-label: 0;
}
