/* Lemma Core · components (lab: work/spike; moves to site/ with the system page)

   CTA · the site's one call to action (Eric, 22 Oct 2026: "dale"). Neither Tailwind nor Material: our own, on the site's tokens, with
   Material's state rules. Times italic, a 1 px rule under it in the text's colour. Hover and press: the rule thickens to 2 px and the
   colour stays, on every ground (Eric, 22 Oct: "dale"; the mint read 2.8 : 1 on the open panel and 1.8 : 1 on paper); the header size,
   which has no rule, draws a 1 px one. On paper the text is the section green #006D5F (5.95 : 1). Keyboard focus: a 2 px ring, 6 px out. The hit area is at least 48 px tall and the look is unchanged. Two sizes: section
   (--cta-size, 24 at 1920, the number's size) and header (.cta--small, no rule). The label, everywhere: "Let’s talk" (Eric, 22 Oct). No boxes, no arrows.
   Entering (.-draw, then .-ruled once its words have landed): the text first, then the rule draws from left to right (Eric: "primero sale
   el texto y después se dibuja la línea"); leaving, the rule goes first. A ground sets --cta-ink (the text); the .is-*
   classes show the states on the system page. */
.cta { position: relative; display: inline-block; font: italic var(--cta-size, 24px)/1 var(--serif, 'Times New Roman', Times, serif);
  color: var(--cta-ink, #F3EEDF); text-decoration: none; border-bottom: 1px solid transparent; }
.cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform-origin: 0 50%; }
.cta.-draw::after { transform: scaleX(0); transition: transform .18s cubic-bezier(.4, 0, 1, 1); }
.cta.-draw.-ruled::after { transform: none; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.cta::before { content: ''; position: absolute; left: -8px; right: -8px; top: 50%; height: max(48px, 100%); transform: translateY(-50%); }
.cta:hover::after, .cta:active::after, .cta.is-hover::after, .cta.is-active::after { height: 2px; bottom: -2px; }
.cta:focus-visible, .cta.is-focus { outline: 2px solid var(--cta-ink, #F3EEDF); outline-offset: 6px; }
.cta--small { border-bottom: 0; font-size: var(--cta-small, 16px); }
.cta--small::after { display: none; }
.cta--small:hover::after, .cta--small:active::after, .cta--small.is-hover::after, .cta--small.is-active::after { display: block; height: 1px; bottom: -1px; }
@media (prefers-reduced-motion: reduce) { .cta.-draw::after { transition: none; } }
