/* ZVET MEDIA – reference cards and mobile contrast */
.reference-card{display:flex;flex-direction:column;position:relative;min-width:0}
.reference-card .reference-main{display:block;color:inherit;text-decoration:none}
.reference-card .tile-visual{height:auto;aspect-ratio:4/3;background:#f4f2f1;padding:clamp(12px,2vw,24px);overflow:hidden}
.reference-card .tile-visual>img,.reference-card .tile-visual>svg{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.reference-card:hover .tile-visual{transform:none}
.reference-card .tile-bottom{flex:1}
.reference-card .tile-meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px}
.reference-card .reference-external{color:#323249;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;min-height:44px}
.reference-card a:focus-visible{outline:3px solid #5533a7;outline-offset:-3px}
@media(max-width:990px){
 .hero,.subhero,.legal-banner{background:#171822!important}
 .hero .hero-sweep{background:linear-gradient(145deg,#171822,#191b2a)!important}
 .subhero::before{opacity:.26!important}
 /* Same landscape wave geometry as desktop, proportionally scaled rather than stretched to the tall hero. */
 body :is(.hero,.subhero,.legal-banner)::after{opacity:.72!important;left:-24%;top:25%;width:148%;height:auto;aspect-ratio:1.75;filter:none!important;animation:zvet-mobile-wave 16s ease-in-out infinite alternate!important}
 body :is(.hero,.subhero,.legal-banner).zvet-wave-ready::after{display:none!important}
 body .zvet-single-wave{display:block!important;inset:auto 0 auto!important;top:25%!important;width:100%!important;height:auto!important;aspect-ratio:1.8;opacity:.85}
 body .zvet-single-wave canvas{position:absolute;inset:0;width:100%;height:100%}
 .hero{--tone:#2679f6;--tone-light:#d92bbc}
 .legal-banner{--tone:#2679f6;--tone-light:#d92bbc}
 .legal-banner .legal-version{color:#d4d4e0!important}
 .hero .hero-lead,.subhero .subhero-content>p,.legal-banner .legal-intro{color:#f3f2f7!important}
 .hero .small-overline,.subhero .small-overline,.legal-banner .small-overline,.hero .hero-sidenote{color:#e0e0ec!important}
 .hero .headline-gradient{background-image:linear-gradient(105deg,#51e8f4 0%,#80b3ff 23%,#b293ff 43%,#f27bdc 64%,#ff927a 80%,#ffd06d 100%)!important}
 .subhero .subhero-title em{background-image:linear-gradient(105deg,color-mix(in srgb,var(--tone-light,#8adfff) 70%,white),color-mix(in srgb,var(--tone,#6f9aff) 38%,white),#ffc5eb)!important}
 .hero .button-wire,.subhero .button-wire{border-color:#e0e0ec!important;color:#fff!important;background:#15172052}
 .hero .button-wire:hover,.subhero .button-wire:hover{background:#ffffff24}
}
@media(max-width:640px){
 .hero .hero-ctas{display:grid;grid-template-columns:1fr;gap:12px}
 .hero .hero-ctas .button{width:100%;justify-content:center;min-height:48px;font-size:14px}
 .hero .hero-left,.subhero .subhero-content{padding-block:46px 38px}
 .hero .hero-headline{font-size:clamp(39px,10vw,64px);letter-spacing:-.06em}
 .hero .hero-sidenote{line-height:1.6;margin-top:30px}
 .reference-card .tile-visual{padding:12px}
 .reference-card .tile-meta{align-items:center}
}

/* Keep reference header legible and artwork clear of its category label. */
.reference-card .reference-main{position:relative;padding-top:48px;background:#f4f2f1;color:#242531}
.reference-card .tile-top{color:#30313e;padding:16px 18px}
.reference-card .tile-visual>svg{overflow:visible}

@keyframes zvet-mobile-wave{from{transform:translate(-1%,1%)}to{transform:translate(1%,-1%)}}
@media(max-width:990px) and (prefers-reduced-motion:reduce){body :is(.hero,.subhero,.legal-banner)::after{animation:none!important;transform:none!important}}
