/* ============================================================================
   Krásné písmo — design tokeny.
   Sloučené ORIGINÁLNÍ soubory cdDesign/_ds/…/tokens/{colors,typography,spacing,effects}.css,
   hodnoty 1:1 (ruční, „liché" hodnoty jsou záměr — nezaokrouhlovat na 4/8px mřížku).
   Jediné místo s konkrétními barvami a rozměry; všude jinde jen var(--token).
   Písmo zde systémová Georgia — od 2026-11 ho (i paletu a rohy) přepisuje blok „Ateliér" na konci souboru.
   Při aktualizaci design systému přegenerovat: hlavička + cat čtyř zdrojových souborů.
   ========================================================================== */
:root{
  /* Base palette — verbatim from css/style.css :root */
  --wine:#3f1232;
  --pink:#d4144f;
  --rose:#f05d7d;
  --blush:#fff3f6;
  --cream:#fffdf9;
  --text:#3d2b35;
  --muted:#7b6973;
  --line:#efd7df;

  /* Extended tints found inline in the source CSS */
  --blush-2:#fff0f4;        /* .icon background */
  --blush-3:#ffe7ee;        /* .logo-card::before bubble */
  --blush-4:#f7d7e2;        /* .logo-card::after bubble */
  --line-strong:#f8dde5;    /* section top/bottom borders */
  --paper:#fffdfd;          /* input background */
  --paper-2:#fffdfa;        /* body gradient start */
  --white:#ffffff;
  --on-wine:#f5dfe7;        /* body copy on wine ground */

  /* Semantic aliases */
  --text-body:var(--text);
  --text-muted:var(--muted);
  --text-heading:var(--wine);
  --text-accent:var(--pink);
  --text-on-dark:var(--white);
  --text-on-dark-muted:var(--on-wine);

  --surface-page:var(--white);
  --surface-card:rgba(255,255,255,.94);
  --surface-card-solid:var(--white);
  --surface-soft:var(--blush);
  --surface-icon:var(--blush-2);
  --surface-input:var(--paper);
  --surface-inverse:var(--wine);
  --surface-glass:rgba(255,255,255,.88);   /* sticky header */
  --surface-popover:rgba(255,255,255,.98);
  --surface-pill:rgba(255,255,255,.93);    /* gallery caption capsule */

  --border-default:var(--line);
  --border-section:var(--line-strong);
  --border-header:rgba(239,215,223,.8);
  --border-focus:var(--rose);

  --action-primary:var(--pink);
  --action-primary-text:var(--white);
  --action-secondary-bg:var(--white);
  --action-secondary-text:var(--wine);
  --action-inverse:var(--wine);
  --action-inverse-text:var(--white);

  /* Backgrounds (compositions, not single colours) */
  --bg-body:radial-gradient(circle at top left,rgba(240,93,125,.08),transparent 28%),linear-gradient(180deg,#fffdfa 0%,#fff 100%);
  --bg-section-soft-down:linear-gradient(180deg,var(--blush),#fff);
  --bg-section-soft-up:linear-gradient(180deg,#fff 0%,var(--blush) 100%);
  --bg-gallery-empty:linear-gradient(145deg,#fff8fa,#f1d5df);
}
:root{
  /* One family only: the system serif Georgia, referenced not embedded. */
  --font-serif:Georgia,"Times New Roman",serif;
  --font-body:var(--font-serif);
  --font-display:var(--font-serif);

  --weight-regular:400;
  --weight-bold:700;

  --leading-body:1.6;
  --leading-heading:1.12;

  /* Fluid display sizes, verbatim from the source clamp() calls */
  --size-h1:clamp(3rem,7vw,5.6rem);
  --size-h2-hero:clamp(2.2rem,4vw,3.5rem);   /* .about-copy h2, .contact h2 */
  --size-h2:clamp(2rem,4vw,3.1rem);          /* .section-head h2 */
  --size-h3:clamp(1.7rem,3vw,2.4rem);        /* product copy h3 */
  --size-card-title:1.3rem;                  /* .card h3, .price strong */
  --size-term-title:1.2rem;
  --size-price:1.55rem;
  --size-lead:1.16rem;                       /* hero paragraph, brand wordmark */
  --size-about:1.08rem;
  --size-body:1rem;
  --size-body-sm:.97rem;
  --size-nav:.96rem;
  --size-label:.95rem;
  --size-caption:.92rem;
  --size-small:.9rem;
  --size-eyebrow:.78rem;

  --tracking-h1:-0.04em;
  --tracking-eyebrow:.18em;

  /* H1 is italic — the brand's single strongest typographic signal */
  --h1-style:italic; /* @kind font */
}
:root{
  /* The source uses odd, hand-set values — kept exactly, never snapped to a 4/8 grid. */
  --space-2:2px;
  --space-5:5px;
  --space-7:7px;
  --space-9:9px;
  --space-10:10px;
  --space-12:12px;
  --space-14:14px;
  --space-17:17px;
  --space-18:18px;
  --space-20:20px;
  --space-22:22px;
  --space-24:24px;
  --space-25:25px;
  --space-28:28px;
  --space-30:30px;
  --space-34:34px;
  --space-38:38px;
  --space-50:50px;
  --space-58:58px;

  --container-width:min(1120px,calc(100% - 36px)); /* @kind spacing */
  --container-width-sm:min(100% - 24px,1120px); /* @kind spacing */

  --section-y:78px;
  --section-y-sm:58px;
  --hero-y:84px 0 70px; /* @kind spacing */
  --gap-cards:20px;
  --gap-gallery:18px;
  --gap-form:18px;
  --gap-nav:24px;

  --control-height:48px;
  --control-padding-x:22px;
  --nav-height:78px;
  --nav-height-sm:70px;
  --tap-target:44px;
  --input-padding:13px 14px;
  --card-padding:28px;
  --panel-padding:38px;
  --contact-padding:50px;
}
:root{
  /* Radii — large and soft; pills for anything clickable, circles for marks */
  --radius:26px;            /* source base token */
  --radius-contact:36px;
  --radius-portrait:28px;
  --radius-gallery:22px;
  --radius-term:22px;
  --radius-popover:16px;
  --radius-panel-sm:20px;
  --radius-option:14px;
  --radius-input:13px;
  --radius-menu-item:10px;
  --radius-pill:999px;
  --radius-circle:50%;

  /* Shadows — always wine-tinted, never neutral black */
  --shadow:0 18px 45px rgba(63,18,50,.10);        /* source base token */
  --shadow-card:0 10px 30px rgba(63,18,50,.05);
  --shadow-card-strong:0 10px 30px rgba(63,18,50,.06);
  --shadow-gallery:0 10px 28px rgba(63,18,50,.06);
  --shadow-pill:0 5px 16px rgba(63,18,50,.08);
  --shadow-nav-cta:0 8px 22px rgba(63,18,50,.14);
  --shadow-primary:0 12px 25px rgba(212,20,79,.20);
  --focus-ring:0 0 0 3px rgba(240,93,125,.12);

  --blur-header:blur(14px); /* @kind other */

  --transition:.2s ease; /* @kind other */
  --lift-hover:translateY(-2px); /* @kind other */
}
:root{
  /* Doplněno z návrhu c:\tmp\index.html (2026-10-18) — v design systému nejsou:
     světle růžový nadtitulek a obrysové tlačítko na vínovém kontaktním panelu. */
  --eyebrow-on-dark:#ff9fb8;
  --border-on-dark:#8c5478;
}

/* ============================================================================
   Ateliér — nový design 2026-11 (cdDesign/novy-design-2026-11/Krasne_pismo_novy_design.html).
   PŘEPISUJE hodnoty výše: homepage kreslí atelier.css přímo podle vzoru, tenhle blok přebarví
   zbylé kp- komponenty (profil produktu, poptávka, stavové stránky), ať k ní ladí.
   Paleta vzoru: --ink … --edge doslova; dvě písma (Cormorant Garamond + DM Sans,
   hostovaná webem — fonts.css), téměř ostré rohy (2–3 px), stín vínový jako dosud.
   ========================================================================== */
:root{
  /* Paleta vzoru (doslova) */
  --ink:#34182d;
  --wine:#4a1c39;
  --raspberry:#ad4765;
  --blush:#f2e0e4;
  --ivory:#faf7f2;
  --paper:#fffefb;
  --gold:#b69b74;
  --muted:#806e77;
  --edge:#eadddf;
  --shadow:0 22px 58px rgba(52,24,45,.10);

  /* Staré názvy palety → paleta vzoru */
  --pink:var(--raspberry);
  --rose:var(--raspberry);
  --cream:#fffaf6;
  --text:var(--ink);
  --line:#eee4e2;
  --line-strong:#e9dddd;
  --blush-2:#f6ecee;
  --paper-2:#fffdfa;
  --on-wine:#eadbe2;

  --text-heading:var(--ink);
  --surface-page:var(--ivory);
  --surface-card:#fff;
  --surface-soft:#f8f2ee;
  --surface-inverse:#3c1a31;
  --surface-glass:rgba(255,254,251,.97);
  --surface-popover:#fffdfa;
  --surface-pill:rgba(255,254,251,.94);
  --border-header:#ece3e3;
  --action-primary:var(--wine);

  --bg-body:var(--ivory);
  --bg-section-soft-down:linear-gradient(180deg,#f8f2ee 0%,var(--ivory) 100%);
  --bg-section-soft-up:linear-gradient(120deg,#fffdf9 8%,#f8f2ee 65%,#f1e6e8 100%);  /* pozadí hero vzoru */
  --bg-gallery-empty:linear-gradient(140deg,#fffcf6,#f4ece5);                       /* papírová karta vzoru */

  --eyebrow-on-dark:#dcb2bc;
  --border-on-dark:#b99fa8;

  /* Písmo: titulky Cormorant Garamond (bez tučného řezu — 500), text DM Sans */
  --font-serif:'Cormorant Garamond',Georgia,serif;
  --font-sans:'DM Sans',Arial,sans-serif;
  --font-body:var(--font-sans);
  --font-display:var(--font-serif);
  --weight-heading:500;
  --leading-body:1.8;
  --leading-heading:1.03;
  --h1-style:normal; /* @kind font */
  --tracking-h1:-0.045em;
  --tracking-eyebrow:.23em;

  --size-h1:clamp(68px,7.5vw,112px);
  --size-h2-hero:clamp(43px,5vw,65px);
  --size-h2:clamp(43px,5vw,65px);
  --size-h3:clamp(2rem,3vw,2.7rem);
  --size-card-title:1.7rem;
  --size-price:2rem;

  --container-width:min(1200px,calc(100% - 68px)); /* @kind spacing */
  --container-width-sm:min(100% - 36px,610px); /* @kind spacing */
  --section-y:104px;
  --section-y-sm:64px;

  /* Rohy: vzor je téměř ostrý */
  --radius:3px;
  --radius-contact:3px;
  --radius-portrait:3px;
  --radius-gallery:3px;
  --radius-term:3px;
  --radius-popover:3px;
  --radius-panel-sm:3px;
  --radius-option:2px;
  --radius-input:2px;
  --radius-menu-item:2px;
  --radius-pill:2px;

  --shadow-card:0 10px 30px rgba(52,24,45,.05);
  --shadow-card-strong:0 14px 38px rgba(52,24,45,.07);
  --shadow-gallery:0 10px 28px rgba(52,24,45,.06);
  --shadow-pill:0 5px 16px rgba(52,24,45,.08);
  --focus-ring:0 0 0 3px rgba(173,71,101,.14);
}
