/* Wedding Berries design tokens (Phase 02). Single source of truth for the design system.
   The Admin "Advanced Settings Editor" will later write overrides to these same variables. */
:root {
  /* Colour: neutrals */
  --wb-ivory: #FBF7F2;      /* page background */
  --wb-cream: #F3EBE1;      /* alternate section background */
  --wb-line: #E6DAD0;       /* borders, dividers */
  --wb-ink: #2A1F24;        /* primary text, dark sections */
  --wb-muted: #6F6168;      /* secondary text (5.5:1 on ivory) */

  /* Colour: brand */
  --wb-berry: #7A1F3D;      /* primary brand, buttons, links (9.4:1 on ivory) */
  --wb-berry-deep: #5A1530; /* hover / pressed */
  --wb-rose: #B76E79;       /* rose-gold: decoration and LARGE text only (3.6:1) */
  --wb-rose-text: #8E4B57;  /* rose-gold safe for body-size text (6.0:1) */
  --wb-gold: #C9A27A;       /* fine detail; on dark sections only (6.8:1 on ink) */

  /* Semantic */
  --color-bg: var(--wb-ivory);
  --color-bg-alt: var(--wb-cream);
  --color-bg-dark: var(--wb-ink);
  --color-text: var(--wb-ink);
  --color-text-soft: var(--wb-muted);
  --color-text-on-dark: var(--wb-ivory);
  --color-accent: var(--wb-berry);
  --color-accent-hover: var(--wb-berry-deep);
  --color-border: var(--wb-line);
  --color-focus: #1F5FBF;

  /* Typography */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h3: calc(clamp(1.5rem, 1.3rem + 1vw, 2rem) * var(--h-scale, 1));
  --fs-h2: calc(clamp(2rem, 1.5rem + 2.4vw, 3.5rem) * var(--h-scale, 1));
  --fs-h1: calc(clamp(2.6rem, 1.6rem + 5vw, 6rem) * var(--h-scale, 1));
  --w-head: 500;   /* heading weight, set from the chosen display font */
  --w-brand: 600;  /* wordmark weight */
  --logo-h: 46px;
  --lh-tight: 1.08;
  --lh-body: 1.7;
  --tracking-eyebrow: 0.22em;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: clamp(4.5rem, 3rem + 7vw, 9rem);  /* section padding */

  /* Layout */
  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 3rem);
  --header-h: 76px;

  /* Shape and depth */
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 40px rgba(42, 31, 36, 0.08);

  /* Motion (Phase 04 will build on these) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.5s;
  --dur-slow: 1.1s;
}
