/* YouthVoice brand layer. Colors, type, and shapes live in tokens.css; this file adds the logo and motif helpers. */
@import url("tokens.css");

/* Logo images. Size with font-size or height on the parent. */
.yv-wm-img { height: 1em; width: auto; display: inline-block; vertical-align: middle; }
img.yv-mark { width: 1.6em; height: auto; display: inline-block; vertical-align: middle; }
.yv-lockup { height: 100%; width: auto; display: block; }

/* Soft circles behind a dark hero (replaces the old grain): one lifted dusk, one faint mint. Flat shapes only, no gradients. */
.yv-grain { position: relative; isolation: isolate; overflow: clip; }
.yv-grain::before, .yv-grain::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.yv-grain::before { width: 460px; height: 460px; right: -140px; top: -170px; background: var(--yv-dusk-light); }
.yv-grain::after { width: 320px; height: 320px; left: -120px; bottom: -150px; background: var(--yv-mint); opacity: .16; }

/* Waveform line, used as a brand motif. */
.yv-wave-line { display: block; width: 100%; height: 48px; overflow: visible; }
.yv-wave-line path { fill: none; stroke: var(--yv-mint-deep); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .yv-wave-line path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: yv-draw 2.4s cubic-bezier(.6, .1, .2, 1) .3s forwards; }
  @keyframes yv-draw { to { stroke-dashoffset: 0; } }
}
