/* Göktürk Kuru Temizleme v7.9.13
   Consolidated, late-loaded corrections for the audited animation.
   All machine animation phases share a 22s cycle with atelier-home.js PHASE.

   0-18%  : acceptance on the entrance hanger
   18-34% : intake with the door OPEN
   34-42% : door closing, no visible garment crossing
   42-69% : closed-drum wash
   69-77% : door opening
   77-86% : clean garment exits and reaches the delivery hanger
   86-90% : hanging for inspection
   90-95.5% : transfer from hanger to price dock
   95.5% : JS commits the product and its price together
*/
:root{--dur:22s}
/* New additions are SVG content; they must not resize the machine. */
.scene .ready-hanger-rack{pointer-events:none}
.scene .ready-hanger{opacity:.78;filter:drop-shadow(0 2px 4px rgba(4,18,32,.3))}

/* All critical moving parts use the same continuous timeline. */
.scene.run .dirty-motion{animation:g13Intake var(--dur) linear infinite!important}
.scene.run .clean-motion{animation:g13Delivery var(--dur) linear infinite!important}
.scene.run .drum-motion{animation:g13Wash var(--dur) linear infinite!important}
.scene.run .door-motion{animation:g13Door var(--dur) linear infinite!important}
.scene.run .door-shadow-motion{animation:g13DoorShadow var(--dur) linear infinite!important}
.scene.run .price-flight-path{animation:g13PriceFlight var(--dur) linear infinite!important}
.scene.run .price-flight-spin{animation:g13PriceTilt var(--dur) linear infinite!important}
.scene.run .wash-halo{animation:g13WashHalo var(--dur) linear infinite!important}
.scene.run .pulse-ring{animation:g13WashHalo var(--dur) linear infinite!important}
.scene.run .spark-motion{animation:g13Spark var(--dur) linear infinite!important}
.scene.run .dirt-marks{animation:g13Stain var(--dur) linear infinite!important}

/* Hook local point is approximately (75,-17). Entrance hanger hook is x=102,y=137.
   outbound-anchor transform is (447,177), so delivery hook at x=911,y=137
   corresponds to translation (389,-28). */
@keyframes g13Intake{
  0%,5%{opacity:0;transform:translate(-88px,-8px) rotate(0deg) scale(1)}
  7%{opacity:1;transform:translate(-88px,-8px) rotate(0deg) scale(1)}
  13%,18%{opacity:1;transform:translate(-88px,-8px) rotate(0deg) scale(1)}
  23%{opacity:1;transform:translate(-10px,-5px) rotate(0deg) scale(1)}
  28%{opacity:1;transform:translate(160px,28px) rotate(2deg) scale(.91)}
  32%{opacity:.7;transform:translate(296px,96px) rotate(4deg) scale(.7)}
  34%,100%{opacity:0;transform:translate(330px,132px) rotate(4deg) scale(.58)}
}
@keyframes g13Door{
  0%,33%{transform:scaleX(-.64)}
  42%,69%{transform:scaleX(1)}
  77%,100%{transform:scaleX(-.64)}
}
@keyframes g13DoorShadow{
  0%,33%{opacity:.19;transform:scaleX(-.64)}
  42%,69%{opacity:.13;transform:scaleX(1)}
  77%,100%{opacity:.19;transform:scaleX(-.64)}
}
@keyframes g13Wash{
  0%,42%{transform:rotate(0deg)}
  47%{transform:rotate(200deg)}
  55%{transform:rotate(1020deg)}
  64%{transform:rotate(1940deg)}
  69%,100%{transform:rotate(2160deg)}
}
@keyframes g13Delivery{
  0%,76.5%{opacity:0;transform:translate(0,0) scale(.46) rotate(-8deg)}
  78%{opacity:.72;transform:translate(48px,-5px) scale(.62) rotate(-5deg)}
  81%{opacity:1;transform:translate(165px,-12px) scale(.83) rotate(-3deg)}
  86%,90.1%{opacity:1;transform:translate(389px,-28px) scale(1) rotate(0deg)}
  91.6%{opacity:0;transform:translate(389px,-28px) scale(1) rotate(0deg)}
  100%{opacity:0;transform:translate(389px,-28px) scale(1) rotate(0deg)}
}
@keyframes g13PriceFlight{
  0%,90%{opacity:0;transform:translate3d(0,0,0) scale(1)}
  90.8%{opacity:1;transform:translate3d(0,0,0) scale(1)}
  93.2%{opacity:1;transform:translate3d(calc(var(--flight-dx) * .65),calc(var(--flight-dy) * .65 - 9px),0) scale(1)}
  95.5%{opacity:1;transform:translate3d(var(--flight-dx),var(--flight-dy),0) scale(1)}
  95.9%,100%{opacity:0;transform:translate3d(var(--flight-dx),var(--flight-dy),0) scale(1)}
}
@keyframes g13PriceTilt{
  0%,91%{transform:rotate(0deg)}
  92.6%{transform:rotate(-3deg)}
  94.6%{transform:rotate(2deg)}
  95.5%,100%{transform:rotate(0deg)}
}
@keyframes g13WashHalo{
  0%,41%,70%,100%{opacity:.12;transform:scale(.94)}
  49%,62%{opacity:.68;transform:scale(1.07)}
}
@keyframes g13Spark{
  0%,77%{opacity:0;transform:scale(.5) rotate(-20deg)}
  85%{opacity:.9;transform:scale(1.05) rotate(8deg)}
  94%{opacity:.65;transform:scale(.95) rotate(0)}
  100%{opacity:0;transform:scale(1.05)}
}
@keyframes g13Stain{0%,39%{opacity:1}48%,100%{opacity:0}}

/* Panel actually 20% smaller than the audited desktop 448 x 264 px.
   Keep the mascot exactly 102px on desktop. */
.hero .intro{
  grid-template-columns:minmax(0,1fr) minmax(0,358px)!important;
  column-gap:clamp(20px,2.8vw,46px)!important;
}
.hero .intro-right{
  width:358px!important;min-width:0!important;max-width:358px!important;
}
.hero .intro .intro-right .story-message--gulenay{
  width:358px!important;height:212px!important;min-height:212px!important;max-height:212px!important;
  grid-template-columns:103px minmax(0,1fr)!important;
  gap:9px!important;padding:12px 13px 12px 10px!important;
  border-radius:25px 25px 25px 13px!important;
}
.hero .intro .intro-right .story-foam--gulenay{
  width:102px!important;height:102px!important;
}
.hero .intro .intro-right .gulenay-bubble-plume{
  width:90px!important;height:92px!important;bottom:74px!important;
}
.hero .intro .intro-right .speech-stage{height:108px!important;min-height:108px!important}
.hero .intro .intro-right .intro-copy--speech{gap:8px!important}
.hero .intro .intro-right .speech-panel{gap:5px!important}
.hero .intro .intro-right .speech-panel-line{font-size:12.8px!important;line-height:1.38!important}
.hero .intro .intro-right .speech-panel-line--lead{font-size:14px!important}
.hero .intro .intro-right .speech-kicker{font-size:10px!important;padding:6px 10px!important}
.hero .intro .intro-right .story-message--gulenay::after{left:67px!important}
@media(max-width:1100px){
 .hero .intro{grid-template-columns:minmax(0,1fr)!important}
 .hero .intro-right{width:min(100%,358px)!important;max-width:358px!important}
 .hero .intro .intro-right .story-message--gulenay{width:100%!important}
}
@media(max-width:680px){
  .hero .intro .intro-right .story-message--gulenay{
    width:100%!important;height:232px!important;min-height:232px!important;max-height:232px!important;
    grid-template-columns:72px minmax(0,1fr)!important;gap:9px!important;padding:12px 11px!important;
  }
  .hero .intro .intro-right .story-foam--gulenay{width:70px!important;height:70px!important}
  .hero .intro .intro-right .gulenay-bubble-plume{width:66px!important;height:66px!important;bottom:51px!important}
  .hero .intro .intro-right .speech-stage{height:130px!important;min-height:130px!important}
  .hero .intro .intro-right .speech-panel-line{font-size:12px!important}
  .hero .intro .intro-right .speech-panel-line--lead{font-size:13px!important}
}
@media(max-width:360px){
 .hero .intro .intro-right .story-message--gulenay{height:245px!important;min-height:245px!important;max-height:245px!important;grid-template-columns:61px minmax(0,1fr)!important;gap:7px!important;padding:11px 8px!important}
 .hero .intro .intro-right .story-foam--gulenay{width:61px!important;height:61px!important}
 .hero .intro .intro-right .speech-stage{height:143px!important;min-height:143px!important}
}
/* Keep the fixed mascot actually on the left edge, not 10px away. */
.gulenay-float-fab{left:0!important}
@media(max-width:760px){.gulenay-float-fab{left:0!important}}
/* The app pauses the timeline on browser tab suspension. */
.scene.tab-hidden *, .scene.tab-hidden *::before, .scene.tab-hidden *::after{
  animation-play-state:paused!important;
}

/* Reduced-motion accessibility is a static, meaningful delivery illustration. */
@media(prefers-reduced-motion:reduce){
  .scene.run .dirty-motion,.scene.run .clean-motion,.scene.run .door-motion,
  .scene.run .door-shadow-motion,.scene.run .drum-motion,.scene.run .wash-halo,
  .scene.run .pulse-ring,.scene.run .spark-motion,.scene.run .dirt-marks,
  .scene.run .price-flight-path,.scene.run .price-flight-spin,
  .scene.run .wash-bubble,.scene.run .flow-fill{
    animation:none!important;transition:none!important;
  }
  .scene.run .dirty-motion{opacity:0!important}
  .scene.run .clean-motion{opacity:1!important;transform:translate(389px,-28px) scale(1)!important}
  .scene.run .door-motion,.scene.run .door-shadow-motion{transform:scaleX(-.64)!important}
  .scene.run .drum-motion{transform:rotate(0deg)!important}
  .scene.run .price-flight-path{opacity:0!important}
  .scene.run .wash-halo,.scene.run .pulse-ring{opacity:.12!important}
  .scene.run .flow-fill{transform:scaleX(1)!important}
  .scene.run .wash-header-price{opacity:1!important;transform:none!important}
  .gulenay-float-fab{transition:none!important}
}
