/* Lu Beauty Brows · signature (signature.css)
   Her Lb as a crisp vector at any size from 48 to 180 px tall, in her brown ink by default.
   Size: --lu-sig-size (height). Ink: --lu-sig-ink, or any `color` on a parent (it uses currentColor). */

.lu-signature {
  display: block;
  height: var(--lu-sig-size, 96px);
  width: auto;
  aspect-ratio: 594 / 819;
  color: var(--lu-sig-ink, #5C483A);
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.lu-signature > path { fill: currentColor; }   /* the ink only, never the mask strokes */

/* Ready-made sizes (height). Anything from 48 to 180 px stays crisp: it is a vector. */
.lu-signature--48 { --lu-sig-size: 48px; }
.lu-signature--64 { --lu-sig-size: 64px; }
.lu-signature--96 { --lu-sig-size: 96px; }
.lu-signature--128 { --lu-sig-size: 128px; }
.lu-signature--180 { --lu-sig-size: 180px; }

/* On her olive or ink spreads: sand ink. */
.lu-signature--sand { --lu-sig-ink: #E7DAC7; }

/* Under 48 px (nav, favicon) her finest strokes fall below a pixel: this variant adds about half a pixel of ink.
   Use it on the still monogram (signatureMarkup({ animate: false })), never on one that writes itself. */
.lu-signature--bold > path { stroke: currentColor; stroke-width: 14px; stroke-linejoin: round; paint-order: stroke; }

/* Between first paint and the engine arming the mask, the finished ink would flash.
   With JavaScript on (html.lu-js) and motion allowed, it waits hidden; if the engine never
   arrives, it shows anyway after 2.5 s. No JavaScript, or reduced motion: always visible. */
@media (prefers-reduced-motion: no-preference) {
  .lu-js .lu-signature[data-signature]:not([data-signature-state]) {
    opacity: 0;
    animation: lu-sig-failsafe 0.4s ease 2.5s forwards;
  }
}
@keyframes lu-sig-failsafe { to { opacity: 1; } }

@media print {
  .lu-signature { opacity: 1 !important; animation: none !important; }
}
