/* ============================================================
   ACCONCIATURE NADIA — Design Tokens
   Colors, typography, spacing, radii, shadows, motion
   Fonts loaded via <link> in index.html (preconnect + display=swap)
   ============================================================ */

:root {
  /* ─── COLOR — Base palette ─────────────────────────────── */
  --ink:          #141414;   /* deep near-black, primary surface dark */
  --ink-soft:     #2b2622;   /* slightly warm dark, for stacked layers on ink */
  --ink-mute:     #4a423b;   /* muted warm gray for secondary text on bone */

  --bone:         #f4ede4;   /* primary site background, warm off-white */
  --paper:        #faf6f1;   /* lifted surface above bone (cards, panels) */
  --paper-2:      #efe6da;   /* recessed/quiet surface tone */

  --gold:         #c9a96e;   /* primary accent, decorative */
  --gold-soft:    #d9c19a;   /* tint for backgrounds, dividers */
  --caramel:      #8b6f47;   /* secondary accent — links, labels */
  --bordeaux:     #5a1f2b;   /* rare emotional accent (booking CTA) */

  --white:        #ffffff;
  --black:        #000000;   /* reserved — borders/inset only, never bg */

  /* ─── COLOR — Foreground tokens ────────────────────────── */
  --fg-strong:    var(--ink);
  --fg-default:   #1f1c19;
  --fg-muted:     var(--ink-mute);
  --fg-subtle:    #8a8278;
  --fg-on-dark:   var(--bone);
  --fg-on-dark-muted: rgba(244, 237, 228, 0.66);
  --fg-on-dark-subtle: rgba(244, 237, 228, 0.42);
  --fg-accent:    var(--caramel);
  --fg-accent-strong: var(--bordeaux);

  /* ─── COLOR — Background tokens ────────────────────────── */
  --bg-page:      var(--bone);
  --bg-surface:   var(--paper);
  --bg-recessed:  var(--paper-2);
  --bg-inverse:   var(--ink);
  --bg-overlay:   rgba(20, 20, 20, 0.55);

  /* ─── COLOR — Borders & dividers ───────────────────────── */
  --border-hairline:        rgba(20, 20, 20, 0.12);
  --border-hairline-strong: rgba(20, 20, 20, 0.24);
  --border-on-dark:         rgba(244, 237, 228, 0.14);
  --border-on-dark-strong:  rgba(244, 237, 228, 0.28);
  --border-gold:            var(--gold);

  /* ─── COLOR — Semantic / state ─────────────────────────── */
  --state-focus:    var(--gold);
  --state-success:  #4f7d4a;
  --state-warning:  #c08a3e;
  --state-error:    #a13228;

  /* WhatsApp (brand exception) */
  --wa-green:       #25D366;
  --wa-green-dark:  #128C7E;

  /* ─── TYPOGRAPHY — Families ────────────────────────────── */
  --font-display: "Bodoni Moda", "Bodoni 72", "Didot", "GFS Bodoni", serif;
  --font-sans:    "Manrope", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;

  /* ─── TYPOGRAPHY — Scale (fluid where useful) ──────────── */
  --fs-eyebrow:   12px;
  --fs-xs:        13px;
  --fs-sm:        14px;
  --fs-base:      16px;
  --fs-md:        18px;
  --fs-lg:        22px;
  --fs-xl:        28px;
  --fs-2xl:       36px;
  --fs-3xl:       48px;
  --fs-4xl:       64px;
  --fs-5xl:       96px;
  --fs-display:   clamp(72px, 12vw, 168px);

  /* ─── TYPOGRAPHY — Weights ─────────────────────────────── */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  /* ─── TYPOGRAPHY — Line heights ────────────────────────── */
  --lh-tight:     0.95;
  --lh-snug:      1.12;
  --lh-normal:    1.45;
  --lh-body:      1.55;
  --lh-loose:     1.7;

  /* ─── TYPOGRAPHY — Tracking ────────────────────────────── */
  --ls-display:   -0.02em;
  --ls-tight:     -0.01em;
  --ls-normal:    0;
  --ls-eyebrow:   0.18em;
  --ls-allcaps:   0.06em;

  /* ─── SPACING ──────────────────────────────────────────── */
  --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: 192px;

  --section-py-desktop: var(--space-9);
  --section-py-mobile:  var(--space-7);
  --container-max:      1320px;
  --container-px:       clamp(20px, 4vw, 80px);

  /* ─── RADII ────────────────────────────────────────────── */
  --radius-none:  0;
  --radius-sm:    2px;
  --radius-md:    4px;
  --radius-lg:    8px;       /* used sparingly */
  --radius-pill:  999px;

  /* ─── SHADOWS / ELEVATION ──────────────────────────────── */
  --shadow-none:  none;
  --shadow-xs:    0 1px 2px rgba(20, 20, 20, 0.06);
  --shadow-sm:    0 1px 2px rgba(20, 20, 20, 0.06), 0 4px 12px rgba(20, 20, 20, 0.05);
  --shadow-md:    0 1px 2px rgba(20, 20, 20, 0.06), 0 8px 24px rgba(20, 20, 20, 0.07);
  --shadow-lg:    0 2px 4px rgba(20, 20, 20, 0.08), 0 20px 48px rgba(20, 20, 20, 0.1);
  --shadow-focus: 0 0 0 3px rgba(201, 169, 110, 0.4);

  /* ─── MOTION ───────────────────────────────────────────── */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:      150ms;
  --dur-base:      200ms;
  --dur-slow:      400ms;
  --dur-slower:    600ms;
}

/* ============================================================
   SEMANTIC TYPE STYLES
   Apply via class OR raw element selector
   ============================================================ */

.h-display, .display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--fw-regular);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  font-optical-sizing: auto;
  color: var(--fg-strong);
}

.h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(48px, 7vw, 96px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--fg-strong);
}
.h1--italic { font-style: italic; }

.h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(36px, 5vw, 64px);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--fg-strong);
}

.h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--fg-strong);
}

.h4 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--fg-strong);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-eyebrow);
  line-height: 1.2;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}

.body, p {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--fg-default);
}
.body--sm { font-size: var(--fs-sm); }
.body--lg { font-size: var(--fs-lg); line-height: var(--lh-normal); }

.lede {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-xl);
  line-height: 1.35;
  color: var(--fg-default);
  text-wrap: pretty;
}

.caption {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  line-height: 1.35;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.meta {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-allcaps);
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.link {
  color: var(--caramel);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color var(--dur-base) var(--ease-standard);
}
.link:hover { color: var(--ink); }

/* On dark surfaces */
.on-dark .eyebrow { color: var(--fg-on-dark-muted); }
.on-dark .body, .on-dark p { color: var(--fg-on-dark); }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: var(--fg-on-dark); }
.on-dark .link { color: var(--gold); }
.on-dark .link:hover { color: var(--bone); }

/* Base reset for design previews */
.ds-reset {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ds-reset *, .ds-reset *::before, .ds-reset *::after { box-sizing: border-box; }
