/* ==========================================================================
   BIG OATS MUSIC — motion & polish layer (demo)
   Loaded after main.css / services.css on every page. Nothing here changes
   layout, copy, colors or fonts; it only adds movement and feedback.
   Everything is switched off under prefers-reduced-motion (see bottom).
   ========================================================================== */

/* ---- Page-load fade ---- */
@keyframes enh-page-in{ from{ opacity:0; } to{ opacity:1; } }
body{ animation:enh-page-in .55s ease-out both; }

/* ---- Scroll progress hairline (gold, top of the window) ---- */
.enh-progress{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:70; pointer-events:none;
  background:linear-gradient(90deg,var(--gold-dim),var(--gold),var(--gold-hi));
  transform-origin:0 50%; transform:scaleX(var(--enh-scroll,0));
  box-shadow:0 0 8px rgba(255,228,92,.45);
}

/* ---- Sticky header: stays put, slims down and turns solid on scroll ---- */
.site-header{
  position:fixed;
  transition:background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header .container{ transition:height .35s ease; }
.site-header .logo-full{ transition:height .35s ease, transform .35s ease; }
.site-header.is-scrolled{
  background:rgba(10,10,10,.88);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.45);
}
.site-header.is-scrolled .container{ height:64px; }
.site-header.is-scrolled .logo-full{ height:40px; }
@media (max-width:820px){ .site-header.is-scrolled .main-nav.is-open{ top:64px; } }
@media (max-width:600px){
  .site-header.is-scrolled .container{ height:56px; }
  .site-header.is-scrolled .logo-full{ height:34px; }
  .site-header.is-scrolled .main-nav.is-open{ top:56px; }
}
/* Anchor jumps land below the fixed header instead of under it */
html{ scroll-padding-top:72px; }

/* Nav links: gold underline slides in from the left instead of snapping */
.main-nav a{ position:relative; border-bottom-color:transparent !important; transition:color .2s ease; }
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform .3s cubic-bezier(.2,.7,.2,1);
}
.main-nav a:hover::after, .main-nav a.is-current::after{ transform:scaleX(1); }
.social-icons a{ transition:border-color .2s ease, background .2s ease, color .2s ease, transform .25s ease; }
.social-icons a:hover{ color:var(--gold); transform:translateY(-2px); }

/* ---- Hero ---- */
.hero{ position:relative; isolation:isolate; overflow:hidden; }
/* Hero entrance: logo, headline, buttons rise in one after another */
@keyframes enh-rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
.hero__logo{ animation:enh-rise .9s cubic-bezier(.2,.7,.2,1) .1s both; }
.hero .hero-heading{ animation:enh-rise .9s cubic-bezier(.2,.7,.2,1) .3s both; }
.hero .hero-ctas{ animation:enh-rise .9s cubic-bezier(.2,.7,.2,1) .5s both; }

/* ---- Scroll reveals (classes are only added by js/enhancements.js, so the
   page is fully visible if JS is off) ---- */
.enh-reveal{
  opacity:0; translate:0 26px;
  transition:opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--enh-delay,0ms);
}
.enh-reveal.is-visible{ opacity:1; translate:0 0; }

/* Section headings: a short gold rule draws in under the title */
.section-head h2, .page-hero h1{ position:relative; }
.section-head h2::after, .page-hero h1::after{
  content:""; display:block; width:56px; height:2px; margin:14px auto 0; background:var(--gold);
  transform:scaleX(0); transition:transform .7s cubic-bezier(.2,.7,.2,1) .25s;
}
.section-head.is-visible h2::after, .page-hero.is-visible h1::after,
html:not(.enh-js) .section-head h2::after, html:not(.enh-js) .page-hero h1::after{ transform:scaleX(1); }

/* ---- Cards: hover lift + soft gold glow ---- */
.track-card, .t-card, .ab-player{
  transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease,
             opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1);
}
.track-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,228,92,.45);
  box-shadow:0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(255,228,92,.12), 0 0 28px rgba(255,228,92,.10);
}
.price-card:hover .price-card__amount{ text-shadow:0 0 18px rgba(255,228,92,.35); }
.price-card__amount{ transition:text-shadow .35s ease; }
.svc-more{ display:inline-block; transition:color .2s ease, transform .25s ease; }
.svc-more:hover{ transform:translateX(4px); }
.svc-incl li::before{ transition:transform .3s ease; }
.price-card:hover .svc-incl li::before{ transform:scale(1.2); }
.t-card:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,.45); }

/* ---- Buttons: lift, glow, a light sheen sweep, and a press-in ---- */
.btn{
  position:relative; overflow:hidden; isolation:isolate;
  transition:background .2s ease, color .2s ease, box-shadow .3s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn::before{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%; z-index:-1; pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-18deg); opacity:0;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 8px 22px rgba(255,228,92,.28); }
.btn:hover::before{ animation:enh-sheen .75s ease forwards; }
.btn:active{ transform:translateY(0) scale(.97); box-shadow:0 3px 10px rgba(255,228,92,.2); }
.btn--outline:hover{ box-shadow:inset 0 0 0 2px var(--gold), 0 8px 22px rgba(255,228,92,.22); }
.btn--outline::before{ background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); }
@keyframes enh-sheen{ 0%{ left:-60%; opacity:1; } 100%{ left:130%; opacity:1; } }
/* Quote buttons get a slow, soft "signal" ring when they scroll into view */
.btn.enh-cta.is-visible{ animation:enh-ring 2.4s ease-out .6s 2; }
@keyframes enh-ring{
  0%{ box-shadow:0 0 0 0 rgba(255,228,92,.45); }
  70%{ box-shadow:0 0 0 14px rgba(255,228,92,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,228,92,0); }
}
.btn--outline.enh-cta.is-visible{ animation-name:enh-ring-outline; }
@keyframes enh-ring-outline{
  0%{ box-shadow:inset 0 0 0 2px var(--gold), 0 0 0 0 rgba(255,228,92,.45); }
  70%{ box-shadow:inset 0 0 0 2px var(--gold), 0 0 0 14px rgba(255,228,92,0); }
  100%{ box-shadow:inset 0 0 0 2px var(--gold), 0 0 0 0 rgba(255,228,92,0); }
}

/* ---- Focus: a clear gold ring that follows rounded shapes ---- */
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:6px; }
.btn:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--black), 0 0 0 5px var(--gold); border-radius:40px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible{
  outline:none; box-shadow:0 0 0 3px rgba(255,228,92,.55); border-radius:6px;
}
.contact-form input, .contact-form textarea{ transition:box-shadow .2s ease; }

/* ---- A/B players: playing state, progress on the waveform ---- */
.ab-player__play{ transition:background .2s ease, color .2s ease, transform .2s ease, box-shadow .3s ease; }
.ab-player__play:hover{ background:rgba(255,228,92,.12); transform:scale(1.06); }
.ab-player.is-playing .ab-player__play{ background:var(--gold); color:#1a1400; animation:enh-beat 1.8s ease-in-out infinite; }
@keyframes enh-beat{
  0%,100%{ box-shadow:0 0 0 0 rgba(255,228,92,.4); }
  50%{ box-shadow:0 0 0 7px rgba(255,228,92,0); }
}
.ab-player.is-playing{ border-color:rgba(255,228,92,.35); box-shadow:0 0 26px rgba(255,228,92,.08); }
.ab-player__switch button{ transition:background .25s ease, color .25s ease, border-color .25s ease; }
.ab-player__switch button:not(.is-active):hover{ border-color:var(--gold-dim); color:var(--white); }
/* Once a track has been started, bars ahead of the playhead dim so the
   waveform doubles as a progress bar. */
.waveform span{ transition:height .25s ease, background .2s ease, opacity .25s ease, transform .25s ease; transform-origin:center; }
.ab-player.has-started .waveform span{ opacity:.35; }
.ab-player.has-started .waveform span.is-played{ opacity:1; }
.ab-player.is-playing .waveform span.is-head{ transform:scaleY(1.25); box-shadow:0 0 8px rgba(255,228,92,.6); }
.ab-player.is-playing .waveform.is-unmixed span.is-head{ box-shadow:0 0 8px rgba(185,182,172,.6); }

/* ---- Filmstrips: soft edge fade + a gentle zoom on hover ---- */
.filmstrip{ position:relative; }
.filmstrip::before, .filmstrip::after{
  content:""; position:absolute; top:0; bottom:0; width:70px; z-index:2; pointer-events:none;
}
.filmstrip::before{ left:0; background:linear-gradient(90deg,rgba(10,10,10,.65),transparent); }
.filmstrip::after{ right:0; background:linear-gradient(270deg,rgba(10,10,10,.65),transparent); }
.filmstrip__item{ overflow:hidden; }
.filmstrip__item img{ transition:transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; filter:saturate(.92); }
.filmstrip__item:hover img{ transform:scale(1.06); filter:saturate(1.08); }

/* ---- Testimonial carousel: smoother glide + nicer arrows/dots ---- */
.carousel__track{ transition:transform .65s cubic-bezier(.65,0,.25,1); }
.carousel__arrow{ transition:opacity .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.carousel__arrow:hover{ transform:scale(1.08); }
.carousel__dots button{ transition:background .3s ease, width .3s ease, border-radius .3s ease; }
.carousel__dots button.is-active{ width:22px; border-radius:4px; }

/* ---- Footer links ---- */
.footer-col a, .footer-brand .privacy-link, .about-contact a, .legal a{ transition:color .2s ease, border-color .2s ease; }
.about-contact a:hover, .legal a:hover, .footer-brand .privacy-link:hover{ border-color:var(--gold); }
.avid-badge{ transition:transform .35s ease; }
.avid-badge:hover{ transform:rotate(-2deg) scale(1.04); }
.about-photos img{ transition:transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease; }
.about-photos img:hover{ transform:scale(1.015); box-shadow:0 14px 34px rgba(0,0,0,.5); }

/* ---- Touch screens: no sticky hover lifts ---- */
@media (hover:none){
  .track-card:hover, .t-card:hover, .btn:hover, .about-photos img:hover{ transform:none; }
  .filmstrip__item:hover img{ transform:none; }
}

/* ---- Reduced motion: switch it all off ---- */
@media (prefers-reduced-motion: reduce){
  body, .hero__logo, .hero .hero-heading, .hero .hero-ctas{ animation:none !important; }
  .enh-reveal{ opacity:1 !important; translate:none !important; transition:none !important; }
  .enh-progress{ display:none; }
  .btn::before{ display:none; }
  .btn.enh-cta.is-visible, .ab-player.is-playing .ab-player__play{ animation:none !important; }
  .track-card:hover, .t-card:hover, .btn:hover, .about-photos img:hover,
  .filmstrip__item:hover img, .svc-more:hover, .social-icons a:hover{ transform:none !important; }
  .section-head h2::after, .page-hero h1::after{ transform:scaleX(1) !important; transition:none !important; }
}

/* ---- Filmstrip directions (Kyle, Nov 13): top strip drifts right, bottom
   strip drifts left. Same keyframes, speed and seamless loop as main.css. ---- */
#filmstrip-1{ animation-direction:reverse; }
#filmstrip-2{ animation-direction:normal; }
