/* Sunny Studio — subtle motion (scroll reveals, hero entrance, gold line draw, soft hovers).
   Turned off automatically for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance (CSS only, runs once on load) */
  @keyframes ss-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes ss-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes ss-logo { from { opacity: 0; transform: scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes ss-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  @keyframes ss-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes ss-spark { from { opacity: 0; transform: rotate(-90deg) scale(.4); } to { opacity: 1; transform: none; } }

  .hero .inner > * { animation: ss-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero .inner > *:nth-child(1) { animation-delay: .15s; }
  .hero .inner > *:nth-child(2) { animation-delay: .35s; }
  .hero .inner > *:nth-child(3) { animation-delay: .55s; }
  .hero .inner > *:nth-child(4) { animation-delay: .75s; }
  .hero .inner > *:nth-child(5) { animation-delay: .95s; }
  .hero .inner > *:nth-child(6) { animation-delay: 1.1s; }
  .hero .inner > .logo { animation-name: ss-logo; animation-duration: 1.4s; }
  .hero .foot { animation: ss-fade 1.4s 1.3s both; }
  .hero .lineart { animation: ss-fade 2.4s .4s both, ss-float 9s 2.8s ease-in-out infinite; }
  .hero .lineart.r { animation-delay: .7s, 3.4s; }
  .hero .lineart.flower { animation-delay: 1s, 4s; animation-duration: 2.4s, 7s; }

  /* Scroll reveal (motion.js adds .ss-r to elements below the fold, then .ss-in when they appear) */
  .ss-r { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ss-d, 0s); }
  .ss-r.ss-in { opacity: 1; transform: none; }
  .ss-r.ss-zoom { transform: translateY(20px) scale(.97); }
  .ss-r.ss-zoom.ss-in { transform: none; }

  /* Gold divider: lines draw out from the centre, spark turns in */
  .sec-title.ss-r .rule::before { transform-origin: right; transform: scaleX(0); }
  .sec-title.ss-r .rule::after { transform-origin: left; transform: scaleX(0); }
  .sec-title.ss-r .rule svg { opacity: 0; }
  .sec-title.ss-in .rule::before, .sec-title.ss-in .rule::after { animation: ss-line 1.1s .35s cubic-bezier(.2,.7,.2,1) forwards; }
  .sec-title.ss-in .rule svg { animation: ss-spark .9s .25s cubic-bezier(.2,.7,.2,1) forwards; }

  /* Soft hovers */
  .gallery .ph, .tpl-row, .promo-link { overflow: hidden; }
  .gallery .ph img, .gallery .ph video, .promo-banner, .tpl-row img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
  .gallery .ph:hover img, .gallery .ph:hover video, .promo-link:hover .promo-banner { transform: scale(1.04); }
  .tpl-row img:hover { transform: translateY(-6px) rotate(-1deg); }
  .pkg, .feat, .svc, .step { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .5s; }
  .pkg:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
  .pkg.feat:hover { box-shadow: 0 24px 60px rgba(205,174,120,.18); }
  .feat:hover, .svc:hover, .step:hover { transform: translateY(-4px); }
}
