/* playbgt.com /start hero: original art layer + entrance motion (BGT-048 L3).
   Author: BGT Video Producer, original, 2026-11-16. Owned by Solid State Strategies.
   Add-on only: does not change copy, links, tracking attributes or the signup form.
   Option B (recommended): .start-hero--art replaces the photo layer with the inline SVG.
   Option A: keep the photo, add the SVG as a right-side layer over the existing overlay. */

/* ---------- layout ---------- */
.start-hero--art { background: radial-gradient(120% 90% at 80% 60%, #16406A 0%, #123A5C 38%, #0B2A44 100%); }
.start-hero--art .start-hero-bg, .start-hero--art .start-hero-overlay { display: none; }
.start-hero-art-wrap { position: relative; z-index: 2; pointer-events: none; }
.start-hero-art-wrap svg { display: block; width: 100%; height: auto; }
/* mobile: art sits under the copy, small and quiet, so the H1 and CTA stay first on screen */
.start-hero--art .wrap.start-hero-inner { padding-bottom: 1rem; }
.start-hero--art { flex-direction: column; align-items: stretch; }
.start-hero--art .start-hero-art-wrap { width: min(92vw, 420px); margin: 0 auto 1.5rem; }
@media (min-width: 960px) {
  .start-hero--art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .start-hero--art .wrap.start-hero-inner { grid-column: 1; justify-self: end; width: 100%; max-width: 38rem; padding: 4.5rem 1rem 3.5rem 1.5rem; }
  .start-hero--art .start-hero-art-wrap { grid-column: 2; width: min(100%, 600px); margin: 0; justify-self: start; }
}
/* Option A: photo kept, art layered at right on wide screens only */
.start-hero--layer .start-hero-art-wrap { display: none; }
@media (min-width: 960px) { .start-hero--layer .start-hero-art-wrap { display: block; position: absolute; right: 2vw; bottom: 0; width: min(46vw, 600px); z-index: 1; opacity: .96; } }

/* ---------- entrance motion: plays once on load, settles, never loops ---------- */
.bgt-hero-art g[class^="h-"] { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bgt-hero-art .h-fade { animation: bgtHeroFade 420ms ease-out both; animation-delay: var(--d); }
  .bgt-hero-art .h-rays { animation: bgtHeroRays 520ms cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d); transform-origin: 50% 100%; }
  .bgt-hero-art .h-book { animation: bgtHeroBook 640ms cubic-bezier(.34,1.3,.64,1) both; animation-delay: var(--d); }
  .bgt-hero-art .h-pop  { animation: bgtHeroPop 420ms cubic-bezier(.2,.9,.3,1.25) both; animation-delay: var(--d); }
  .bgt-hero-art .h-drop { animation: bgtHeroDrop 460ms cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d); }
  .bgt-hero-art .h-roll { animation: bgtHeroRoll 520ms cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d); }
}
@keyframes bgtHeroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bgtHeroRays { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bgtHeroBook { from { opacity: 0; transform: translateY(36px) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes bgtHeroPop  { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes bgtHeroDrop { from { opacity: 0; transform: translateY(-30px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes bgtHeroRoll { from { opacity: 0; transform: translate(-24px, -14px) rotate(-160deg); } to { opacity: 1; transform: none; } }
/* Copy, H1 and CTA never animate: they paint at once (keeps LCP on the text). Only the decorative art moves. */

/* Contrast fix (found during this audit, also affects the LIVE /start hero today):
   bgt-site.css sets .bgt-btn-ghost { color: var(--bgt-navy) !important }, which beats the page's
   .start-hero-actions .bgt-btn-ghost { color: #fff }, so "Explore playBGT" renders navy on the navy overlay
   (computed rgb(18,58,92) on transparent, about 1.1:1). White on the hero navy is about 11:1. */
.start-hero-actions .bgt-btn-ghost { color: #fff !important; }
.start-hero-actions .bgt-btn-ghost:hover, .start-hero-actions .bgt-btn-ghost:focus-visible { color: #fff !important; }
.start-hero-actions .bgt-btn:focus-visible { outline: 3px solid #FCC14A; outline-offset: 3px; }
