/* ==========================================================================
   ONEMØRE Studio — design tokeny · „Inkoust a mosaz"
   Zdroj: DESIGN.md (schválený směr). Hodnoty jsou závazné.
   ========================================================================== */

:root {
  /* == Barvy — role, ne odstíny (kontrasty ověřeny v IDENTITA.md) == */
  --c-papir:        #F4F1EA;  /* základní pozadí */
  --c-karta:        #FCFBF7;  /* karty, zvednuté plochy */
  --c-inkoust:      #20281F;  /* text, inverzní sekce */
  --c-inkoust-60:   #525B4E;  /* sekundární text (AA na papíru i kartě) */
  --c-mosaz:        #A97B2F;  /* akcent: grafika + text ≥ 24 px */
  --c-mosaz-tmava:  #7A5717;  /* akcentní text malý na světlé */
  --c-mosaz-svetla: #C9A05C;  /* akcentní text na inkoustu */
  --c-linka:        #DCD6C6;  /* vlasové linky, rámečky, kóty */
  --c-inkoust-hover:#2B362A;  /* hover primárního tlačítka */

  /* Aliasy pro původní kostru (aby nic nespadlo) */
  --bg: var(--c-papir);
  --surface: var(--c-karta);
  --ink: var(--c-inkoust);
  --ink-soft: var(--c-inkoust-60);
  --brand: var(--c-mosaz);
  --on-brand: var(--c-papir);
  --line: var(--c-linka);

  /* == Písma == */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  /* == Type scale == */
  --text-display: clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);   /* 40→72 */
  --text-h2:      clamp(1.9rem, 1.35rem + 2.4vw, 3rem);     /* 30→48 */
  --text-h3:      clamp(1.35rem, 1.18rem + 0.8vw, 1.75rem); /* 22→28 */
  --text-cislo:   clamp(2.75rem, 1.9rem + 3.8vw, 4.75rem);  /* 44→76 */
  --text-lead:    clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-small:   0.875rem;
  --text-mono:    0.8125rem;

  --leading-heading: 1.08;
  --leading-body:    1.6;

  /* == Spacing == */
  --space-1: .25rem; --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem;   --space-12: 3rem;  --space-16: 4rem;
  --space-section: clamp(4rem, 2.5rem + 7vw, 8rem);
  --space-section-gap: clamp(2rem, 1.5rem + 2vw, 3.25rem);

  /* == Layout == */
  --container: 72rem;               /* 1152 */
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --prose: 42rem;

  /* == Tvary a stíny — papír, ne software == */
  --r-s: 3px; --r-m: 10px;
  --stin-karta: 0 1px 2px rgb(32 40 31 / .05), 0 8px 24px rgb(32 40 31 / .07);
  --stin-karta-hover: 0 2px 4px rgb(32 40 31 / .06), 0 14px 32px rgb(32 40 31 / .10);

  /* == Motion == */
  --dur-fast: 150ms;
  --dur-base: 350ms;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* Static / reduced-motion: vše viditelné bez animací */
html.is-static [data-reveal],
html.is-static [data-reveal-item],
html.is-static .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
