/* ==========================================================
   Kuya Coco's Barber Studio: Design Tokens
   Direction A · "Gold Badge" (Dark Premium)
   Contrast ratios: WCAG 2.x, see reports/accessibility-report.md
   ========================================================== */
:root {
  /* ---- Color primitives ---- */
  --c-charcoal:    #15171A; /* Primary: page background                    */
  --c-surface:     #24272D; /* Neutral: cards, panels                       */
  --c-raised:      #2C3037; /* Neutral: selected option, hover surface      */
  --c-line:        #3A3E45; /* Neutral: decorative dividers only (no meaning) */
  --c-line-strong: #8C8578; /* Neutral: input / chip borders (4.91:1 on bg)  */
  --c-gold:        #D4AF5A; /* Secondary: brand gold from the logo badge    */
  --c-gold-hover:  #E3C47C; /* Secondary: hover / pressed                   */
  --c-red:         #B8322A; /* Accent: barber-pole red (bg with white text)  */
  --c-red-text:    #F0897F; /* Accent: error text on dark (7.35:1)           */
  --c-cream:       #F3ECDD; /* Neutral: main text                           */
  --c-muted:       #B9B2A5; /* Neutral: secondary text (8.53:1 on bg)       */
  --c-white:       #FFFFFF;

  /* ---- Semantic roles ---- */
  --bg:            var(--c-charcoal);
  --bg-surface:    var(--c-surface);
  --bg-raised:     var(--c-raised);
  --text:          var(--c-cream);       /* 15.27:1 on bg · 12.72:1 on surface */
  --text-muted:    var(--c-muted);       /*  8.53:1 on bg ·  7.11:1 on surface */
  --text-accent:   var(--c-gold);        /*  8.62:1 on bg ·  7.18:1 on surface */
  --text-on-gold:  var(--c-charcoal);    /*  8.62:1 */
  --text-error:    var(--c-red-text);
  --border:        var(--c-line);
  --border-input:  var(--c-line-strong);
  --focus:         var(--c-gold);
  /* RULE: never put gold or muted text on cream/white (gold on cream = 1.77:1) */

  /* ---- Typography ---- */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: 64px;  /* Hero headline          · Playfair 700 · lh 1.05 */
  --fs-h1:      48px;  /* Page title             · Playfair 700 · lh 1.1  */
  --fs-h2:      32px;  /* Section title          · Playfair 700 · lh 1.15 */
  --fs-h3:      24px;  /* Card title             · Playfair 700 · lh 1.2  */
  --fs-price:   32px;  /* Price                  · Playfair 700           */
  --fs-lead:    18px;  /* Intro paragraph        · Inter 400 · lh 1.6     */
  --fs-body:    16px;  /* Body (minimum)         · Inter 400 · lh 1.55    */
  --fs-label:   14px;  /* UPPERCASE eyebrow / nav label only · Inter 600  */

  /* ---- Space (4-pt scale) ---- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* ---- Shape & elevation ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25);

  /* ---- Layout ---- */
  --container: 1440px;
  --gutter: 80px;
  --tap: 44px;          /* minimum tap target */
  --header-h: 80px;
  --bottom-nav-h: 68px;
  --mcta-h: 76px;
}

@media (max-width: 760px) {
  :root {
    --fs-display: 40px;
    --fs-h1:      34px;
    --fs-h2:      26px;
    --fs-h3:      20px;
    --fs-price:   26px;
    --fs-lead:    16px;
    --gutter: 16px;
    --header-h: 60px;
  }
}
