/* ==========================================================================
   CPG.GE — the Georgian face, and the language sheet
   --------------------------------------------------------------------------
   Loaded on cpg.ge only, after holding-shell.css.

   1. The Georgian locale is set the way CPG Properties sets it: "Dachi The
      Lynx" on the headings and the navigation, scoped to Georgian letters so
      a Latin project name inside a Georgian heading keeps the sans; Noto Sans
      Georgian, self-hosted, on buttons and the language rows. The same
      scale, too — headings at 70%, navigation and actions at 92% — because
      the display face runs wide. See fonts/NOTICE-DachiTheLynx.txt.

   2. The language sheet, the way Properties draws it: a white rounded
      sheet with no drawn border, the shadow doing the separating, rows that
      round with it, and the current language marked by a dot in a ring.
   ========================================================================== */

@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/noto-sans-georgian-georgian.woff2") format("woff2");
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/noto-sans-georgian-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Dachi The Lynx";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dachi-the-lynx.woff2") format("woff2");
  unicode-range: U+10D0-10FF, U+2D00-2D2F;
}

:root[data-cpg-platform="holding"] {
  --cpg-font-georgian: "Noto Sans Georgian", Arial, sans-serif;
  --cpg-font-georgian-display: "Dachi The Lynx", var(--cpg-font-georgian);
}

/* --- headings ---------------------------------------------------------------- */
:root:lang(ka) .cpg-body--holding :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--cpg-font-georgian-display) !important;
  font-weight: 400;
  font-synthesis: none;
  zoom: 0.7;
}
:root:lang(ka) .cpg-body--holding :is(h1, h2, h3, h4, h5, h6) :is(em, i, span, strong, b, a, mark) {
  font-family: var(--cpg-font-georgian-display) !important;
  font-style: normal !important;
  font-weight: 400;
}

/* --- the chrome: the bar, the menu, the crumb, the footer's links ------------- */
:root:lang(ka) .cpg-body--holding nav,
:root:lang(ka) .cpg-body--holding nav :is(a, button, summary, span, strong, small),
:root:lang(ka) .cpg-body--holding .cpg-navoverlay :is(a, button, summary, p, span, strong, small),
:root:lang(ka) .cpg-body--holding .cpg-header :is(.cpg-pill, .cpg-navtrigger, .cpg-lang__summary) {
  font-family: var(--cpg-font-georgian-display) !important;
  font-synthesis: none;
}
:root:lang(ka) .cpg-body--holding nav :is(a, button, summary),
:root:lang(ka) .cpg-body--holding .cpg-navoverlay :is(a, button, summary),
:root:lang(ka) .cpg-body--holding .cpg-header :is(.cpg-pill, .cpg-navtrigger) { zoom: 0.92; }

/* --- buttons, actions and the language rows: the sans ----------------------- */
:root:lang(ka) .cpg-body--holding :is(button, .cpg-btn, .cpg-pill, .cpg-lang__link, .cpg-skip-link, .cpg-split__cta, .cpg-story__cta, .cpg-story__link, .cpg-project__story-link, .cpg-project__cta, .cpg-contact__submit, .cpg-outro__cta, .cpg-showcase__link, .cpg-record-split__link) {
  font-family: var(--cpg-font-georgian) !important;
}
:root:lang(ka) .cpg-body--holding :is(.cpg-btn, .cpg-split__cta, .cpg-story__cta, .cpg-outro__cta, .cpg-contact__submit) { zoom: 0.92; }

/* --- the language sheet ---------------------------------------------------------- */
.cpg-body--holding .cpg-lang__menu {
  padding: 0.375rem;
  border: 0;
  border-radius: 1rem;
  background: var(--cpg-white);
  box-shadow:
    0 1px 2px rgba(13, 13, 12, 0.06),
    0 12px 32px -8px rgba(13, 13, 12, 0.22);
}
.cpg-body--holding .cpg-lang__link {
  border-radius: 0.75rem;
  padding-inline: 0.75rem;
  color: var(--cpg-ink);
}
.cpg-body--holding .cpg-lang__link:hover { background: var(--cpg-bone); color: var(--cpg-ink); }
.cpg-body--holding .cpg-lang__link[aria-current="true"]::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid var(--cpg-ink);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cpg-ink) 0 40%, transparent 40%) center / 100% 100% no-repeat;
  box-sizing: border-box;
}

/* The menu built to the kkcg reference: the row across the bar, its panel
   cells and the sheet's destinations take the same face as the chrome. */
:root:lang(ka) .cpg-body--holding :is(.cpg-topnav__link, .cpg-topnav__cell-label, .cpg-sheetnav__link, .cpg-sheetnav__child, .cpg-navclose, .cpg-navoverlay__lang) {
  font-family: var(--cpg-font-georgian-display) !important;
  font-synthesis: none;
}
