/* =============================================================
   Body Healing Studio — Colors & Type
   "Movement that heals" · Varkiza, Greece
   Calm · Minimal · Editorial · Mediterranean · Warm-earthy
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap&subset=greek,greek-ext,latin,latin-ext');

:root {

  /* ---------- Palette: sage-green page, cream cards ---------- */

  --bhs-sage:          #6F7E62;
  --bhs-sage-deep:     #556049;
  --bhs-sage-soft:     #8A9680;
  --bhs-sage-pale:     #C6CDB9;

  --bhs-bone:          #F6F1EA;
  --bhs-bone-deep:     #ECE5DA;
  --bhs-linen:         #FBF7F0;
  --bhs-white:         #FFFEFB;

  --bhs-char:          #2E332A;
  --bhs-char-soft:     #3E4439;

  --bhs-oak:           #B69373;
  --bhs-pebble:        #C9BFAE;
  --bhs-stone:         #8C8377;

  --bhs-terracotta:         #C56A3F;
  --bhs-terracotta-deep:    #9F4D27;
  --bhs-terracotta-soft:    #E5A887;
  --bhs-peach-glow:         #F2CFB4;

  --bhs-ink:           #2B2823;
  --bhs-ink-soft:      #5C554C;
  --bhs-ink-mute:      #8C857B;
  --bhs-rule:          #D9CFBF;

  /* Semantic aliases */
  --bg:                var(--bhs-sage);
  --bg-card:           var(--bhs-bone);
  --bg-card-deep:      var(--bhs-bone-deep);
  --bg-dark:           var(--bhs-char);
  --bg-footer:         var(--bhs-sage-deep);

  --fg:                var(--bhs-bone);
  --fg-muted:          var(--bhs-sage-pale);
  --fg-on-card:        var(--bhs-ink);
  --fg-on-card-muted:  var(--bhs-ink-soft);
  --fg-on-dark:        var(--bhs-bone);
  --fg-on-dark-muted:  #B8BDAE;
  --fg-subtle:         var(--bhs-ink-mute);

  --brand:             var(--bhs-sage);
  --brand-deep:        var(--bhs-sage-deep);
  --accent:            var(--bhs-terracotta);
  --accent-deep:       var(--bhs-terracotta-deep);

  --rule:              rgba(43, 40, 35, 0.12);
  --rule-on-sage:      rgba(246, 241, 234, 0.22);
  --rule-dark:         rgba(246, 241, 234, 0.18);

  /* ---------- Typography ------------------------------------- */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --fs-display:   clamp(56px, 8vw, 104px);
  --fs-h1:        clamp(44px, 5.5vw, 72px);
  --fs-h2:        clamp(32px, 3.6vw, 48px);
  --fs-h3:        clamp(24px, 2.4vw, 32px);
  --fs-h4:        20px;
  --fs-lead:      19px;
  --fs-body:      16px;
  --fs-small:     14px;
  --fs-micro:     12px;
  --fs-eyebrow:   11px;

  --lh-tight:     1.04;
  --lh-snug:      1.2;
  --lh-body:      1.6;
  --lh-loose:     1.8;

  --ls-display:   -0.015em;
  --ls-tight:     -0.01em;
  --ls-normal:    0;
  --ls-wide:      0.04em;
  --ls-eyebrow:   0.22em;

  /* ---------- Spacing & layout ------------------------------ */
  --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;
  --space-10: 128px;
  --space-11: 160px;

  --container:       1240px;
  --container-text:  640px;
  --gutter:          32px;

  --radius-0:  0px;
  --radius-1:  2px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --border-hair:  1px solid var(--rule);
  --border-ink:   1px solid var(--bhs-ink);
  --border-stone: 1px solid var(--bhs-stone);

  --shadow-none:   none;
  --shadow-card:   0 1px 0 rgba(42,42,36,0.04), 0 12px 32px -20px rgba(42,42,36,0.22);
  --shadow-lift:   0 2px 0 rgba(42,42,36,0.04), 0 22px 44px -24px rgba(42,42,36,0.28);

  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   160ms;
  --dur-base:   260ms;
  --dur-slow:   480ms;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--fg);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  text-wrap: pretty;
  margin: 0;
}

.display   { font-size: var(--fs-display); line-height: 0.98; }
h1         { font-size: var(--fs-h1); }
h2         { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3         { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4         { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 500; letter-spacing: var(--ls-normal); }

p, li {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  margin: 0 0 1em 0;
  text-wrap: pretty;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fg);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.meta, small {
  font-size: var(--fs-small);
  color: var(--fg-subtle);
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur-fast) var(--ease-out);
}
a:hover { opacity: 0.6; }

hr {
  border: 0;
  border-top: var(--border-hair);
  margin: var(--space-7) 0;
}

::selection {
  background: var(--bhs-terracotta);
  color: var(--bhs-bone);
}

/* ── New design-system tokens (white & sage redesign) ── */
:root {
  --bhs-page:        #EDF3EB;
  --bhs-green:       #496640;
  --bhs-forest:      #2B3D27;
  --bhs-green-pale:  #DAE9D5;
  /* Override semantic aliases to light-background scheme */
  --bg:              var(--bhs-page);
  --fg:              var(--bhs-ink);
}
html, body {
  background: var(--bhs-page);
  color: var(--bhs-ink);
}
