/* Color Time — единая типографика сайта (одобрено Джейн и Марией 22.10.2026).
   2 шрифта, 10 стилей:
     Inter — 1 заголовок страницы (300, капс, +2%) · 2 раздел (300, капс, +3%) · 3 карточка (400, капс, +5%)
             4 текст (400, жирное 600) · 5 мелкий · 6 кнопка (500) · 7 плашка (400/500)
     Playfair Display — 8 акцентная фраза (400, без капса и курсива) · 9 цена (400, ровные цифры) · 10 название (500)
   Слой поверх готовых страниц: подключается apply_typography.py (маркер ct-type в <head>, data-ct на <html>).
   Убирает Fraunces, Kaftan Serif, Inter 100/700/800/900 и Playfair 600/700. Префикс #allrecords —
   иначе правила Tilda (#allrecords b{font-weight:700}) перебивают. */

/* ---- везде: жирное в тексте — 600 */
html[data-ct] #allrecords strong,
html[data-ct] #allrecords b { font-weight: 600 !important; }

/* ---- главная: «Coffee & tea – always complimentary!» был Inter 100 */
html[data-ct="home"] #allrecords .font-thin { font-weight: 300 !important; }
html[data-ct="home"] #allrecords .font-serif.font-semibold { font-weight: 500 !important; font-variant-numeric: lining-nums; }

/* ---- /party: цены — Playfair, как во всём сайте */
html[data-ct="party"] #allrecords .ctp .price b,
html[data-ct="party"] #allrecords .ctp .lad .tab b,
html[data-ct="party"] #allrecords .ctp .sc .p {
  font-family: 'Playfair Display', Georgia, serif !important; font-weight: 400 !important;
  letter-spacing: 0 !important; font-variant-numeric: lining-nums; }

/* ---- /plate-painting, /tea, /loyalty: заголовок был Inter Black */
html[data-ct="promo"] #allrecords h1.font-black {
  font-weight: 300 !important; letter-spacing: .02em !important; line-height: 1.04 !important; }
html[data-ct="promo"] #allrecords .font-bold { font-weight: 500 !important; }

/* ---- /news и /guide */
html[data-ct="journal"] #allrecords .ct-display {
  font-weight: 300 !important; letter-spacing: .02em !important; line-height: 1.04 !important; }
html[data-ct="journal"] #allrecords h2.font-extrabold,
html[data-ct="journal"] #allrecords span.font-extrabold {
  font-family: 'Playfair Display', Georgia, serif !important; font-weight: 500 !important; letter-spacing: 0 !important; }
html[data-ct="journal"] #allrecords div.font-extrabold { font-weight: 600 !important; }
html[data-ct="journal"] #allrecords div.font-extrabold.uppercase { font-weight: 400 !important; letter-spacing: .05em !important; }
html[data-ct="journal"] #allrecords .ct-btn,
html[data-ct="journal"] #allrecords .nf-tag,
html[data-ct="journal"] #allrecords .font-bold { font-weight: 500 !important; }
html[data-ct="journal"] #allrecords .g-num { font-weight: 300 !important; letter-spacing: 0 !important; }

/* ---- /pottery-painting (было Fraunces) */
html[data-ct="offsite"] #allrecords .font-serif { font-family: 'Playfair Display', Georgia, serif !important; font-style: normal !important; }
html[data-ct="offsite"] #allrecords h1.font-serif {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; text-transform: uppercase;
  letter-spacing: .02em !important; line-height: 1.04 !important; font-size: 40px; }
@media (min-width: 768px) { html[data-ct="offsite"] #allrecords h1.font-serif { font-size: 52px; } }
@media (min-width: 1024px) { html[data-ct="offsite"] #allrecords h1.font-serif { font-size: 60px; } }
html[data-ct="offsite"] #allrecords h2.font-serif { font-weight: 400 !important; letter-spacing: -.01em !important; }
html[data-ct="offsite"] #allrecords h3.font-serif {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; text-transform: uppercase;
  letter-spacing: .03em !important; line-height: 1.12 !important; }
html[data-ct="offsite"] #allrecords span.font-serif { font-weight: 400 !important; font-variant-numeric: lining-nums; }
html[data-ct="offsite"] #allrecords .font-bold { font-weight: 600 !important; }
html[data-ct="offsite"] #allrecords a.font-bold,
html[data-ct="offsite"] #allrecords a[class*="font-bold"],
html[data-ct="offsite"] #allrecords span.uppercase.font-bold { font-weight: 500 !important; }

/* ---- /paintingclass (было Fraunces) */
html[data-ct="workshop"] #allrecords .font-serif { font-family: 'Playfair Display', Georgia, serif !important; font-style: normal !important; font-weight: 400 !important; }
html[data-ct="workshop"] #allrecords h1.font-serif,
html[data-ct="workshop"] #allrecords h2.font-serif.font-semibold {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; text-transform: uppercase;
  letter-spacing: .03em !important; line-height: 1.1 !important; }
html[data-ct="workshop"] #allrecords h2.font-serif:not(.font-semibold) {
  font-family: Inter, sans-serif !important; font-weight: 400 !important; text-transform: uppercase;
  letter-spacing: .05em !important; font-size: 17px !important; line-height: 1.2 !important; }
@media (min-width: 1024px) { html[data-ct="workshop"] #allrecords h2.font-serif:not(.font-semibold) { font-size: 19px !important; } }

/* ---- /gift-cards (было Kaftan Serif) */
html[data-ct="gifts"] #allrecords .gcp h1 {
  font-family: 'Playfair Display', Georgia, serif !important; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: -.01em !important; }
html[data-ct="gifts"] #allrecords .gcp h2 {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; letter-spacing: .03em !important; }
html[data-ct="gifts"] #allrecords .gcp .gc-serif {
  font-family: 'Playfair Display', Georgia, serif !important; font-weight: 400 !important; font-variant-numeric: lining-nums; }
html[data-ct="gifts"] #allrecords .gc-chip-label { font-weight: 500 !important; }

/* ---- /gallery (было Kaftan Serif) */
html[data-ct="gallery"] #allrecords #rec-gallery h1 {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; letter-spacing: .02em !important; }

/* ---- каталог */
html[data-ct="catalog"] #allrecords h1.font-kaftan {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; letter-spacing: .02em !important; }
html[data-ct="catalog"] #allrecords h3.font-serif { font-weight: 500 !important; }
html[data-ct="catalog"] #allrecords span.font-serif { font-weight: 400 !important; font-variant-numeric: lining-nums; }
html[data-ct="catalog"] #allrecords span.text-brand-pink-dark.font-bold:not(.font-serif) {
  font-family: 'Playfair Display', Georgia, serif !important; font-weight: 400 !important; font-variant-numeric: lining-nums; }
html[data-ct="catalog"] #allrecords h3.font-bold.uppercase { font-weight: 500 !important; letter-spacing: .05em !important; }

/* ---- /terms: заголовки — Inter капсом */
html[data-ct="terms"] #allrecords h1.font-serif {
  font-family: Inter, sans-serif !important; font-weight: 300 !important; text-transform: uppercase;
  letter-spacing: .02em !important; line-height: 1.05 !important; }
html[data-ct="terms"] #allrecords h2.font-serif {
  font-family: Inter, sans-serif !important; font-weight: 400 !important; text-transform: uppercase;
  letter-spacing: .05em !important; font-size: 19px !important; line-height: 1.25 !important; }

/* ---- /specials и /custom-gifts: цены */
html[data-ct="specials"] #allrecords .font-serif.font-semibold { font-weight: 400 !important; font-variant-numeric: lining-nums; }
html[data-ct="cgifts"] #allrecords .font-serif.font-semibold { font-weight: 500 !important; font-variant-numeric: lining-nums; }
html[data-ct="catalog"] #allrecords .font-bold { font-weight: 600 !important; }
html[data-ct="catalog"] #allrecords h3.font-bold.uppercase { font-weight: 500 !important; }

/* главная: первый экран остаётся Playfair Display (Джейн, 22.10) — заголовок «It's always a good time…» не трогаем */

/* заглавные: дефис и скобки поднимаются к середине букв (OFF-SITE, RAINY DAY…) */
html[data-ct] #allrecords h1.font-black, html[data-ct] #allrecords .ct-display,
html[data-ct="offsite"] #allrecords h1.font-serif, html[data-ct="offsite"] #allrecords h3.font-serif,
html[data-ct="workshop"] #allrecords h1.font-serif, html[data-ct="workshop"] #allrecords h2.font-serif,
html[data-ct="gifts"] #allrecords .gcp h2, html[data-ct="gallery"] #allrecords #rec-gallery h1,
html[data-ct="catalog"] #allrecords h1.font-kaftan, html[data-ct="terms"] #allrecords h1.font-serif,
html[data-ct="terms"] #allrecords h2.font-serif { font-feature-settings: "case" 1; }
