/* THE KIT'S TITLES (ui/TitleBlock.astro; Maayan, 2026-11-14): a title and the line under it, for the marketing pages. The
   hero is the home's (DnD for Kids): the display face, bold, tight; its line the kit's lead. Tokens only. */
.g-tb__t { margin: 0 0 var(--g-3); font-family: var(--g-font-display); font-weight: var(--g-w-bold); line-height: 1.1; letter-spacing: var(--g-track-tight); color: var(--g-text); }
.g-tb__s { margin: 0; font-family: var(--g-font-book); line-height: 1.5; color: var(--g-text); }
.g-tb--hero .g-tb__t { font-size: var(--g-t-hero); }
.g-tb--hero .g-tb__s { font-size: var(--g-t-title2); }
.g-tb--section .g-tb__t { font-size: var(--g-t-large); }
.g-tb--section .g-tb__s { font-size: var(--g-t-title3); }
.g-tb--feature .g-tb__t { margin-bottom: var(--g-2); font-size: var(--g-t-title); }
.g-tb--feature .g-tb__s { font-size: var(--g-t); color: var(--g-text-2); }
.g-tb--small .g-tb__t { margin-bottom: var(--g-1); font-size: var(--g-t-title2); }
.g-tb--small .g-tb__s { font-size: var(--g-t-sub); color: var(--g-text-2); }
.g-tb--lead .g-tb__t { margin: 0; font-family: var(--g-font-book); font-weight: normal; font-size: var(--g-t-title2); line-height: 1.5; letter-spacing: normal; }
.g-tb--center { text-align: center; margin-inline: auto; }
/* a phone: a step smaller each, so the title and its line leave room in the first screen for what comes after (Maayan,
   2026-11-14: "on mobile this typography ... has to be smaller so things wont take all the fold") */
@media (max-width: 640px) {
  .g-tb--hero .g-tb__t { font-size: var(--g-t-title); }
  .g-tb--hero .g-tb__s { font-size: var(--g-t); }
  .g-tb--section .g-tb__t { font-size: var(--g-t-title2); }
  .g-tb--section .g-tb__s { font-size: var(--g-t); }
  .g-tb--feature .g-tb__t { font-size: var(--g-t-title3); }
  .g-tb--feature .g-tb__s { font-size: var(--g-t-sub); }
  .g-tb--small .g-tb__t { font-size: var(--g-t); }
}

/* THE BATTLE CRY (Maayan, 2026-11-18: "this promo has font size, color and light effect - this is a saved style in design
   system called battleCry"): a title in capitals, gold, a light band passing slowly through its letters (a moving gradient,
   never a glow), a very light shadow so it reads on a picture. The promo's title (publicBlocks.js promoHtml), the home's
   H1 (TitleBlock cry) and Create a Growl's (CreatePane.astro); /design-system shows it. Tokens: tokens.css --g-cry-* */
:is(.g-battlecry, .g-tb .g-battlecry) { margin: 0; font-family: var(--g-font-book); font-size: var(--g-cry-size); font-weight: var(--g-w-bold); line-height: 1.1; letter-spacing: var(--g-cry-track); text-transform: uppercase;
  color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(100deg, var(--g-cry-ink) 42%, var(--g-cry-glint) 50%, var(--g-cry-ink) 58%); background-size: 300% 100%;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / .35)); animation: g-battlecry-glint var(--g-cry-time) ease-in-out infinite alternate; }
.g-tb .g-battlecry { margin-bottom: var(--g-5); }   /* a title block's cry: room under it before its line */
:is([lang="he"], [lang="ja"], [lang="zh"]) .g-battlecry, .g-battlecry:is(:lang(he), :lang(ja), :lang(zh)) { letter-spacing: 0; text-transform: none; }
@keyframes g-battlecry-glint { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { :is(.g-battlecry, .g-tb .g-battlecry) { animation: none; } }
