/* ==========================================================================
   Design tokens: paleta z ulotki gabinetu (krem, beż, taupe, ciemny brąz).
   Taupe i heart służą wyłącznie dekoracji: biały tekst na taupe ma 2,6:1.
   ========================================================================== */

html { font-size: 106.25%; } /* baza 17 px */

:root {
  /* --- Kolory: baza ------------------------------------------------------ */
  --bg: #f1ede8;
  --surface: #faf8f5;
  --surface-2: #e9e0d6;

  --ink: #2e2722;
  --muted: #5f544c;
  --stone: #b9aea4;

  --sand: #d8c8b8;
  --taupe: #a09488;
  --heart: #b09884;

  /* --- Kolory: sekcje ciemne (ciemny brąz zamiast czerni) ---------------- */
  --dark: #4a3e36;
  --dark-2: #3b312b;
  --on-dark: #f6f1eb;
  --on-dark-muted: #d6cabf;

  /* --- Akcent: jeden brąz do przycisków i linków -------------------------- */
  --accent: #5b4a3f;
  --accent-deep: #43362e;
  --accent-soft: #e9e0d6;
  --on-accent: #f6f1eb;

  /* --- Linie i cienie ---------------------------------------------------- */
  --line: rgba(46, 39, 34, 0.14);
  --line-strong: rgba(46, 39, 34, 0.28);
  --line-on-dark: rgba(246, 241, 235, 0.22);
  --shadow-sm: 0 1px 2px rgba(74, 62, 54, 0.06), 0 2px 8px rgba(74, 62, 54, 0.06);
  --shadow-md: 0 18px 40px -22px rgba(74, 62, 54, 0.45);
  --shadow-photo: 0 24px 50px -24px rgba(74, 62, 54, 0.5);

  /* --- Typografia -------------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Mulish Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Mr De Haviland", "Segoe Script", "Brush Script MT", cursive;

  --fs-display: clamp(2.9rem, 1.7rem + 5vw, 5.4rem);
  /* Jeden rozmiar H1 dla całego serwisu: hero go używa, nagłówki podstron biorą 90%. */
  --fs-h1: clamp(2rem, 1rem + 3vw, 3.7rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); /* zawsze mniejszy od H1 podstrony (90% --fs-h1) */
  --fs-h3: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem);
  --fs-h4: 1.2rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.7;
  --tracking-tight: -0.012em;
  --tracking-label: 0.14em;

  /* --- Odstępy (skala 4 px) ---------------------------------------------- */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4.5rem;  --space-9: 7rem;  --space-10: 9rem;

  /* --- Wymiary layoutu --------------------------------------------------- */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 84px;

  /* --- Kształt / ruch ---------------------------------------------------- */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
}

@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; } }
