/* The gift ideas drawing (content/gift-motifs.mjs, animated by gift-lines.js): the engraving studio's fine ink lines on paper,
   gold only for gold. Lines keep their weight at any size. */
.gl { display: block; width: 100%; height: auto; overflow: visible; }
.gl path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.gl .gl-ink { stroke: #1d1814; stroke-width: 1.2; }
.gl .gl-soft { stroke: rgba(29, 24, 20, .42); stroke-width: .85; }
.gl .gl-gold { stroke: #a8792a; stroke-width: 1.25; }
.gl .gl-grid { stroke: rgba(29, 24, 20, .085); stroke-width: .7; }
.gl .gl-face { fill: var(--gl-paper, #f7f3ec); stroke: none; }
.gl .gl-flame { fill: #f4d88e; stroke: #a8792a; stroke-width: 1; transform-box: fill-box; transform-origin: 50% 100%; }
.gl .gl-bubble { stroke: #a8792a; stroke-width: .8; }
.gl .gl-words { font: 400 .92px 'Great Vibes', cursive; fill: #2a211a; letter-spacing: .01px; }
.gl--icon .gl-ink { stroke-width: 1.1; }

/* the hero's motion (gift-lines.js adds .is-live); still for anyone who prefers less motion */
.gl[data-gift-lines] .gl-motif { opacity: 0; }
.gl[data-gift-lines] .gl-motif.is-on { opacity: 1; }
/* until the script starts, the drawing waits unseen (and appears anyway after 2.5 s if the script never runs) */
.gl-js .gl[data-gift-lines]:not(.is-live) > g:not(.gl-motif), .gl-js .gl[data-gift-lines]:not(.is-live) > .gl-motif.is-on { opacity: 0; animation: gl-appear .4s 2.5s forwards; }
@keyframes gl-appear { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .gl .gl-motif.is-on .gl-flame { animation: gl-flicker 1.6s ease-in-out infinite; }
  .gl .gl-motif.is-on .gl-bubble { animation: gl-rise 2.4s ease-in infinite; }
  .gl .gl-motif.is-on .gl-bubble:nth-of-type(2n) { animation-delay: .7s; }
  .gl .gl-motif.is-on .gl-bubble:nth-of-type(3n) { animation-delay: 1.3s; }
}
@keyframes gl-flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(.92, 1.08) rotate(-2deg); } 60% { transform: scale(1.04, .95) rotate(2deg); } }
@keyframes gl-rise { 0% { transform: translateY(4px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
