/* ============================================================
   Maison Sakina — Typography
   Cormorant Garamond for headings (elegant, dramatic, large).
   Raleway for body and UI (modern, clean, readable).
   ============================================================ */

:root {
  /* ---- Families ---- */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-heading: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Raleway', -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Raleway', -apple-system, 'Segoe UI', sans-serif;

  /* ---- Weights ---- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* ---- Type scale (px) ----
     Headings are set in Cormorant and run large + light.
     Body is set in Raleway and stays comfortable on mobile. */
  --fs-display: 96px;   /* hero statement */
  --fs-h1: 64px;
  --fs-h2: 46px;
  --fs-h3: 32px;
  --fs-h4: 24px;
  --fs-body-lg: 19px;
  --fs-body: 17px;
  --fs-body-sm: 15px;
  --fs-caption: 13px;
  --fs-eyebrow: 12px;   /* uppercase Raleway overline */

  /* Fluid hero — scales down gracefully on small screens */
  --fs-display-fluid: clamp(52px, 8vw, 96px);   /* @kind font */
  --fs-h1-fluid: clamp(40px, 5.5vw, 64px);      /* @kind font */
  --fs-h2-fluid: clamp(32px, 4vw, 46px);        /* @kind font */

  /* ---- Line heights ---- */
  --lh-tight: 1.04;     /* @kind font */
  --lh-heading: 1.12;   /* @kind font */
  --lh-snug: 1.3;       /* @kind font */
  --lh-body: 1.65;      /* @kind font */
  --lh-relaxed: 1.8;    /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-display: -0.01em;  /* @kind font */
  --ls-heading: 0em;      /* @kind font */
  --ls-body: 0.005em;     /* @kind font */
  --ls-eyebrow: 0.28em;   /* @kind font */
  --ls-button: 0.08em;    /* @kind font */
}

/* ---- Semantic text classes (optional helpers) ---- */
.ms-display {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--fs-display-fluid);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
}
.ms-h1 {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  font-size: var(--fs-h1-fluid);
  line-height: var(--lh-heading);
  color: var(--text-strong);
}
.ms-h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--fs-h2-fluid);
  line-height: var(--lh-heading);
  color: var(--text-strong);
}
.ms-h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--text-strong);
}
.ms-h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  color: var(--text-strong);
}
.ms-body-lg {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
}
.ms-body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.ms-body-sm {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.ms-eyebrow {
  font-family: var(--font-ui);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-eyebrow);
  line-height: 1;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-secondary);
}
