/* ==========================================================================
   Marie Beauty Hub — design tokens
   Extracted from the approved homepage (marie-beauty-hub.html).
   Change brand values here; components reference these variables only.
   ========================================================================== */

:root {
  /* Brand palette (client rebrand, 2026-10-18) */
  --berry: #568600;          /* primary: buttons, wordmark, eyebrows, links — green */
  --berry-hover: #6BA300;    /* button hover */
  --berry-deep: #456B00;     /* pressed state */
  --on-primary: var(--white); /* text/icon color for content sitting on the primary (--berry) background */
  --cream: #FFFFFF;          /* page background */
  --ink: #242923;            /* body text — charcoal */
  --blush: #EFD9C8;          /* hero + page-header bands — soft terracotta tint */
  --blush-deep: #E0B79C;     /* service photo panel — deeper terracotta tint */
  --sage: #C7D8B5;           /* botanical copy panels — soft sage */
  --line: #DCD5C2;           /* hairline rules and borders */
  --muted: #5B6459;          /* secondary text — 6.1:1+ on cream */
  --terracotta: #C66B45;     /* occasional promotional accents, e.g. sale badges */
  --terracotta-deep: #A8532F;

  /* Supporting neutrals used by the approved components */
  --tile: #EFEADA;           /* category tiles */
  --stage: #F3EFE1;          /* product image stage */
  --card: #FFFDF7;           /* product card surface */
  --card-line: #EBE4D0;      /* product card border */
  --sand: #F3ECDA;           /* service copy panel, info notes */
  --clay: #E8C9B8;           /* feature photo panel */
  --white: #ffffff;

  /* Feedback */
  --focus: #D9AD36;          /* focus ring / accent — warm gold */
  --success: #2F6B46;
  --success-bg: #E6EEDD;
  --error: #9b1c2c;
  --error-bg: #f9e6e3;
  --dev: #8a6a1f;            /* development "to confirm" markers */
  --dev-bg: #fbf3dc;

  /* Typography — system stacks, as approved (no web-font download) */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --fs-body: 15px;
  --lh-body: 1.6;
  --fs-h1: clamp(42px, 4.9vw, 73px);
  --fs-h2: clamp(29px, 3.1vw, 46px);
  --fs-h2-feature: clamp(40px, 4.1vw, 60px);
  --fs-page-title: clamp(38px, 4.2vw, 60px);
  --fs-h3: 21px;
  --fs-lead: 18px;
  --fs-small: 13px;
  --fs-xs: 12px;
  --fs-eyebrow: 11px;
  --track-eyebrow: .25em;
  --track-h1: -.045em;

  /* Layout */
  --wrap: 1360px;
  --wrap-narrow: 760px;
  --gutter: 40px;
  --section: 55px;           /* vertical rhythm between sections */
  --header-h: 150px;

  /* Shape */
  --radius: 2px;             /* buttons, inputs */
  --radius-card: 3px;
  --radius-pill: 30px;       /* search field, filter chips */

  /* Motion — short and gentle */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: .18s;
  --dur: .28s;
  --dur-slow: .45s;

  --shadow-soft: 0 3px 20px rgba(36, 41, 35, .08);
  --shadow-lift: 0 14px 34px -18px rgba(36, 41, 35, .35);
  --shadow-drawer: -16px 0 48px rgba(36, 41, 35, .2);
  --backdrop: rgba(36, 41, 35, .6);
}

@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 44px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; --section: 36px; }
}
