/* ============================================================
   CHATEAU DES BEBES — Colors & Type Foundations
   Ported from the Claude Design handoff (colors_and_type.css).
   A playful, premium baby brand. Hand-drawn pastels + rounded type.
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Gotham Rounded";
  src: url("../fonts/GothamRounded-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Rounded";
  src: url("../fonts/GothamRounded-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Mulish = open-licensed fallback / lightweight UI alternative to Graphik */
@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ----------------------------------------------------------------
     OFFICIAL PALETTE — Château des Bébés Brand Guidelines, "Color Guide".
     ---------------------------------------------------------------- */
  --cosmic-latte: #FFF8E7;
  --apricot:      #FBCEB1;
  --light-pink:   #FBC0C1;
  --tidewater:    #BADED8;
  --cloudburst:   #4C9796;

  --cream:    var(--cosmic-latte);
  --blush:    var(--light-pink);
  --peach:    var(--apricot);
  --mint:     var(--tidewater);
  --teal:     var(--cloudburst);
  --teal-ink: #3A7473;
  --eggshell: #FCF1E5;

  --butter:   #F8D880;
  --cocoa:    #C8A068;
  --cocoa-dk: #806850;

  --ink:      #303838;
  --ink-70:   rgba(48, 56, 56, 0.70);
  --ink-50:   rgba(48, 56, 56, 0.50);
  --ink-30:   rgba(48, 56, 56, 0.30);
  --ink-12:   rgba(48, 56, 56, 0.12);

  --blush-wash:  #FDEAEA;
  --mint-wash:   #E8F4F1;
  --peach-wash:  #FDEEE2;
  --butter-wash: #FEF6D8;

  --white: #FFFFFF;

  --bg:        var(--cream);
  --bg-alt:    var(--eggshell);
  --surface:   var(--white);
  --fg1:       var(--ink);
  --fg2:       var(--ink-70);
  --fg3:       var(--ink-50);
  --line:      var(--ink-12);
  --outline:   var(--ink);

  --accent:        var(--teal);
  --accent-hover:  var(--teal-ink);
  --on-accent:     var(--cream);

  --success: #5FA88A;
  --error:   #E07A6B;
  --warning: var(--butter);

  --font-display: "Gotham Rounded", "Mulish", system-ui, sans-serif;
  --font-body:    "Graphik", "Mulish", system-ui, sans-serif;
  --font-ui:      "Mulish", "Graphik", system-ui, sans-serif;

  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   22px;
  --text-xl:   28px;
  --text-2xl:  36px;
  --text-3xl:  46px;
  --text-4xl:  60px;
  --text-5xl:  78px;

  --leading-tight: 1.1;
  --leading-snug:  1.25;
  --leading-body:  1.6;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --radius-pill: 999px;

  --border-hair: 1px solid var(--line);
  --border-ink:  2.5px solid var(--ink);

  --shadow-sm: 0 2px 6px rgba(48, 56, 56, 0.07);
  --shadow-md: 0 6px 18px rgba(48, 56, 56, 0.10);
  --shadow-lg: 0 16px 40px rgba(48, 56, 56, 0.12);
  --shadow-pop: 4px 4px 0 var(--ink);
}

.cdb-h1, .cdb-h2, .cdb-h3, .cdb-eyebrow { font-family: var(--font-display); color: var(--fg1); }

.cdb-h1 { font-weight: 700; font-size: var(--text-4xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.cdb-h2 { font-weight: 700; font-size: var(--text-2xl); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); }
.cdb-h3 { font-weight: 500; font-size: var(--text-lg); line-height: var(--leading-snug); }

.cdb-eyebrow {
  font-weight: 700; font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--teal);
}

.cdb-body  { font-family: var(--font-body); font-weight: 400; font-size: var(--text-base); line-height: var(--leading-body); color: var(--fg2); }
.cdb-lead  { font-family: var(--font-body); font-weight: 300; font-size: var(--text-md);  line-height: var(--leading-body); color: var(--fg2); }
.cdb-caption { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--fg3); }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-ink); }
