/* Emil motion system: independently paced ambient loops + immediate controls. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-drawer:cubic-bezier(.32,.72,0,1);--ease-ambient:cubic-bezier(.45,0,.55,1)}
.hero,.outdoor-banner{overflow:clip}
.cafe-seal{position:absolute;top:clamp(112px,15svh,168px);right:clamp(32px,6vw,100px);width:clamp(150px,13vw,190px);aspect-ratio:1;pointer-events:none;user-select:none;animation:seal-float 7s var(--ease-ambient) infinite}
.seal-face{position:relative;width:100%;height:100%;border-radius:50%;color:var(--butter);background:rgba(39,43,42,.32)}
.seal-face:after{content:"";position:absolute;inset:23%;border:1px solid color-mix(in oklch,var(--butter) 65%,transparent);border-radius:50%}
.seal-ring{position:absolute;inset:0;width:100%;height:100%;animation:seal-turn 32s linear infinite}
.seal-ring text{font-family:Arial,Helvetica,sans-serif;font-size:11.5px;font-weight:600;fill:currentColor}
.seal-cup{position:absolute;width:46%;height:46%;left:27%;top:26%;overflow:visible}
.seal-steam{animation:coffee-steam 3s var(--ease-ambient) infinite;transform-box:fill-box;transform-origin:center}
.seal-steam:nth-of-type(2){animation-delay:-1s}.seal-steam:nth-of-type(3){animation-delay:-2s}
/* The room recedes as the visitor leaves the hero; outdoor photography follows
   the same scroll direction. Only the photos move, inside their existing clips. */
@supports (animation-timeline:view()) and (animation-range:exit 0% exit 100%) and (view-timeline-name:--colony-hero-scroll) and (animation-duration:auto){
 @media(prefers-reduced-motion:no-preference){
  .hero{view-timeline:--colony-hero-scroll block;view-timeline-inset:0;--hero-scroll-y:6%;--hero-scroll-scale:1.14}
  .hero-slide>.hero-photo{animation:hero-scroll-travel auto linear both;animation-timeline:--colony-hero-scroll;animation-range:exit 0% exit 100%}
 }
 @media(prefers-reduced-motion:no-preference) and (max-width:767px){
  .hero{--hero-scroll-y:4%;--hero-scroll-scale:1.1}
 }
 @media(prefers-reduced-motion:no-preference) and (min-width:768px){
  .outdoor-banner{view-timeline:--colony-outdoor-scroll block;view-timeline-inset:0}
  .outdoor-photo{animation:outdoor-scroll-travel auto linear both;animation-timeline:--colony-outdoor-scroll;animation-range:cover 0% cover 100%}
 }
}
@keyframes hero-scroll-travel{from{transform:translate3d(0,0,0) scale(1.02)}to{transform:translate3d(0,var(--hero-scroll-y),0) scale(var(--hero-scroll-scale))}}
@keyframes outdoor-scroll-travel{from{transform:translate3d(0,-5%,0) scale(1.12)}to{transform:translate3d(0,5%,0) scale(1.12)}}
.colony-bloom{display:block;fill:var(--pink);stroke:var(--accent);stroke-width:1;pointer-events:none}
.colony-bloom circle{fill:var(--butter)}
.intro-people-photo{--intro-photo-lift:10px;animation:intro-photo-float 7s var(--ease-ambient) infinite;animation-play-state:paused}
.intro-photos.is-ambient-active .intro-people-photo:focus-visible{animation-play-state:paused}
.amenities-heading{position:relative;isolation:isolate}
.amenities-flower{position:absolute;left:55%;top:-10px;width:150px;height:150px;z-index:-1;animation:seal-turn 40s linear infinite}
.outdoor-sunwash{position:absolute;inset:-40% -20% -40% 40%;z-index:-1;pointer-events:none;background:linear-gradient(110deg,transparent 18%,color-mix(in oklch,var(--butter) 32%,transparent) 43%,color-mix(in oklch,var(--butter) 8%,transparent) 62%,transparent 76%);animation:sunwash-drift 12s var(--ease-ambient) infinite alternate}
.category-image{animation:category-photo-drift 12s var(--ease-ambient) infinite alternate}
.category-card{--category-lift:6px;animation:category-card-float 8s var(--ease-ambient) infinite}
.category-card:nth-child(2){animation-duration:9s;animation-delay:-2.5s}
.category-card:nth-child(3){animation-duration:8.5s;animation-delay:-4s}
.category-card:nth-child(4){animation-duration:9.5s;animation-delay:-1s}
.category-card:nth-child(2) .ambient-loop{animation-delay:-2s}
.category-card:nth-child(3) .ambient-loop{animation-delay:-4s}
.category-card:nth-child(4) .ambient-loop{animation-delay:-6s}
.category-visual img{transition:transform 400ms var(--ease-out)}
.category-action{transition:background-color 180ms ease,color 180ms ease}
.menu-sheet,.menu-preview-zoom{transition:transform 220ms var(--ease-out)}
.category-card:active .category-visual{transform:scale(.985)}
.ambient-loop{animation-play-state:paused}
.ambient-zone.is-ambient-active .ambient-loop{animation-play-state:running}
.menu-categories.is-ambient-active .category-card:focus-visible{animation-play-state:paused}

.button,.text-link,.icon-button,.social,.menu-toggle,.hero-control,.menu-tab{transition:transform 140ms var(--ease-out),background-color 180ms ease,color 180ms ease,border-color 180ms ease}
.button>.lucide-icon,.text-link>.lucide-icon,.menu-tab>.lucide-icon{transition:transform 200ms var(--ease-out)}
.image-frame img{transition:transform 550ms var(--ease-out)}
.photo-expand{transition:transform 220ms var(--ease-out),background-color 180ms ease}
.desktop-nav a{position:relative}
.desktop-nav a:after{content:'';position:absolute;inset:auto 0 7px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 200ms var(--ease-out)}
.desktop-nav a:focus-visible:after{transform:scaleX(1)}
:where(.button,.text-link,.icon-button,.social,.menu-toggle,.hero-control,.menu-tab):active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){
 .category-card:hover .category-visual img{transform:scale(1.035)}
 .category-card:hover .category-action{background:var(--pink)}
 .menu-categories.is-ambient-active .category-card:hover{animation-play-state:paused}
 .category-card:hover .ambient-loop{animation-play-state:paused}
 .menu-preview-link:hover .menu-sheet{transform:translateY(-3px)}
 .menu-preview-link:hover .menu-preview-zoom{transform:scale(1.08);background:var(--pink)}
 .button:hover{background:var(--pink-hover);border-color:var(--pink-hover);color:var(--ink)}:where(.button).secondary:hover{background:var(--teal);border-color:var(--teal);color:var(--ink)}
 .hero .button:hover,.outdoor-content .button:hover{background:var(--pink-hover);border-color:var(--pink-hover);color:var(--ink)}.hero .button.secondary:hover{background:var(--teal);border-color:var(--teal)}
 .button:where(:not(.gallery-more)):hover>.lucide-icon,.text-link:hover>.lucide-icon{transform:translate(3px,-3px)}
 .text-link:hover{color:var(--accent)}
 .hero-control:hover{background:rgba(0,0,0,.4)}
 .menu-tab:not(.is-selected):hover{background:var(--pink-soft)}
 .social:hover{transform:translateY(-3px)}
 .desktop-nav a:hover:after{transform:scaleX(1)}
 .icon-button:hover{background:var(--teal)}
 .image-frame:hover img{transform:scale(1.045)}
 .image-frame:hover .photo-expand{transform:translate(-3px,-3px);background:var(--pink)}
 .intro-photos.is-ambient-active .intro-people-photo:hover{animation-play-state:paused}
}
html[data-input="keyboard"] :is(.button,.text-link,.icon-button,.social,.menu-toggle,.hero-control,.menu-tab,.image-frame img,.photo-expand,.desktop-nav a:after,.question-chevron),
html[data-input="keyboard"] :is(.button,.text-link,.menu-tab)>.lucide-icon{transition:none}
html[data-input="keyboard"] :is(.button,.text-link,.icon-button,.social,.menu-toggle,.hero-control,.menu-tab):active{transform:none}
html.has-modal .ambient-loop,html.has-modal .hero .hero-photo,html.has-modal .intro-people-photo{animation-play-state:paused}

@keyframes seal-float{0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}50%{transform:translate3d(0,-14px,0) rotate(3deg)}}
@keyframes category-photo-drift{from{transform:scale(1.025) translateY(-2px)}to{transform:scale(1.065) translateY(2px)}}
@keyframes intro-photo-float{0%,100%{translate:0 0}50%{translate:0 calc(-1 * var(--intro-photo-lift))}}
@keyframes category-card-float{0%,100%{translate:0 var(--category-lift)}50%{translate:0 calc(-1 * var(--category-lift))}}
@keyframes seal-turn{to{transform:rotate(360deg)}}
@keyframes coffee-steam{0%{transform:translateY(5px);opacity:.25}45%{opacity:1}100%{transform:translateY(-8px);opacity:.25}}
@keyframes sunwash-drift{from{transform:translate3d(-16%,0,0) rotate(-5deg);opacity:.4}to{transform:translate3d(14%,0,0) rotate(5deg);opacity:.9}}
@media(max-width:1100px){.amenities-flower{width:112px;height:112px;left:51%;top:-12px}}
@media(max-width:1023px){.amenities-flower{display:none}}
@media(max-width:767px){
 .intro-people-photo{--intro-photo-lift:6px}
 .category-card{--category-lift:4px;animation-duration:5s}
 .category-card:nth-child(2){animation-duration:5.5s}
 .category-card:nth-child(3){animation-duration:5.25s}
 .category-card:nth-child(4){animation-duration:6s}
 .category-image{animation-duration:8s}
 .cafe-seal{width:116px;top:clamp(100px,16svh,148px);right:24px}
 .outdoor-sunwash{inset:-20% -35% -20% 20%}
}
@media(max-height:650px){.cafe-seal{width:108px;top:96px;right:28px}}
@media(max-height:540px) and (orientation:landscape){.cafe-seal{display:none}}
@media(prefers-reduced-motion:reduce){
 .category-card,.intro-people-photo{translate:none}
 .category-card:active .category-visual,.category-card:hover .category-visual img,.menu-preview-link:hover .menu-sheet,.menu-preview-link:hover .menu-preview-zoom{transform:none}
 html{scroll-behavior:auto}
 *,*:before,*:after{animation:none!important;transition:none!important}
 .cafe-seal,.seal-ring,.seal-steam,.hero .hero-photo,.intro-people-photo img,.amenities-flower,.outdoor-sunwash{transform:none}
 .seal-steam{opacity:1}.outdoor-sunwash{opacity:.35}
 :is(.button,.text-link,.icon-button,.social,.menu-toggle,.hero-control,.menu-tab):active,
 .image-frame:hover img,.image-frame:hover .photo-expand,.social:hover,.button:hover>.lucide-icon,.text-link:hover>.lucide-icon{transform:none}
}
