/* Hakka Grill – motion v3: scroll "cinema" hero, moving band, scroll reveal, mobile action bar */
:root{--hg-hdr:0px;--hg-cta:0px}

/* ---------- scroll reveal ---------- */
.hg-reveal{opacity:0;transform:translate3d(0,36px,0);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.hg-reveal.hg-in{opacity:1;transform:none}

/* ---------- cinema hero ---------- */
.hk-cinema{position:relative;height:260svh;background:#001f25}
.hk-cinema__pin{position:sticky;top:var(--hg-hdr);height:calc(100svh - var(--hg-hdr) - var(--hg-cta));min-height:520px;overflow:hidden;background:#001f25}
.hk-cinema .hk-hero{position:relative;z-index:2;height:100%;display:flex;align-items:center;background:transparent}
.hk-cinema .hk-hero__in{width:100%}
.hk-cinema .hk-hero__text{will-change:transform,opacity}
.hk-cinema .hk-hero__img{will-change:transform,opacity;display:flex;align-items:center;justify-content:center}
.hk-cinema .hk-hero__img img{height:min(540px,68svh);width:100%;object-fit:contain;border-radius:0;filter:drop-shadow(0 28px 30px rgba(0,0,0,.45));animation:hgFloat 7s ease-in-out infinite alternate}
@keyframes hgFloat{from{transform:translate3d(0,0,0) rotate(-1.5deg)}to{transform:translate3d(0,-12px,0) rotate(1.5deg)}}

.hk-cine{position:absolute;inset:0;pointer-events:none;z-index:1}
.hk-cine__flare{position:absolute;inset:0;background:radial-gradient(ellipse at 68% 78%,rgba(239,109,28,.45),transparent 62%);opacity:0}
.hk-cine__word{position:absolute;top:4%;left:4%;font:400 clamp(160px,34vw,560px)/1 Prata,Georgia,serif;letter-spacing:-.02em;color:transparent;-webkit-text-stroke:1px rgba(244,234,214,.55);opacity:.1;white-space:nowrap;will-change:transform}
.hk-cine__dish{position:absolute;opacity:0;will-change:transform,opacity;filter:drop-shadow(0 30px 34px rgba(0,0,0,.5))}
.hk-cine__noodles{width:min(58vw,880px);right:-6vw;top:6%}
.hk-cine__wings{width:min(52vw,820px);left:-8vw;bottom:2%}
.hk-cine__title{position:absolute;z-index:3;left:6%;top:30%;font-family:Prata,Georgia,serif;font-size:clamp(56px,10.5vw,170px);line-height:.92;color:#F4EAD6;opacity:0;text-shadow:0 6px 40px rgba(0,0,0,.45);transform-origin:left center;will-change:transform,opacity}
.hk-cine__title span,.hk-cine__title em{display:block}
.hk-cine__title em{font-style:normal;color:#D39B2A}
.hk-cine__bar{position:absolute;z-index:4;left:6%;right:6%;bottom:14px;height:2px;background:rgba(244,234,214,.18)}
.hk-cine__bar i{display:block;height:100%;background:#D39B2A;transform:scaleX(0);transform-origin:left;will-change:transform}

@media (max-width:700px){
  .hk-cinema{height:240svh}
  .hk-cinema__pin{min-height:0}
  .hk-cinema .hk-hero__in{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:10px;height:100%;padding-top:18px;padding-bottom:26px}
  .hk-cinema .hk-hero__text{flex:0 0 auto;gap:10px}
  .hk-cinema .hk-hero__img{order:2;flex:1 1 auto;min-height:0}
  .hk-cinema .hk-hero__img img{height:100%;max-height:44svh}
  .hk-cinema .hk-h1{font-size:34px}
  .hk-cinema .hk-lead{font-size:14px;margin:0}
  .hk-cinema .hk-btns{gap:8px}
  .hk-cinema .hk-btns .hk-btn{flex:1 1 auto;min-height:42px;padding:0 14px;font-size:14px}
  .hk-cine__noodles{width:112vw;right:-30vw;top:30%}
  .hk-cine__wings{width:104vw;left:-28vw;bottom:6%}
  .hk-cine__title{top:22%;font-size:clamp(50px,15vw,90px)}
  .hk-cine__word{top:26%;font-size:60vw;left:0}
}


/* background photo + shade so the dishes melt into the scene */
.hk-cine__bg{position:absolute;inset:-6%;background:url(/assets/home2/hero.jpg) 60% 50%/cover no-repeat;opacity:.24;transform:scale(1.1);will-change:transform,opacity}
.hk-cine__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,22,27,.94) 0%,rgba(0,31,37,.72) 42%,rgba(0,31,37,.2) 100%),linear-gradient(0deg,rgba(0,18,22,.9),transparent 45%)}
.hk-cine__flare{opacity:.35}
.hk-cinema .hk-hero__img{position:relative}
.hk-cine__dish img{display:block;width:100%;height:auto}
/* dish names travel with each dish */
.hk-dish-label{position:absolute;left:10%;bottom:10%;z-index:2;display:inline-flex;align-items:center;gap:.55em;padding:.5em 1em;border-radius:999px;background:rgba(0,22,27,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(244,234,214,.28);color:#F4EAD6;font:400 clamp(12px,1.3vw,17px)/1 Prata,Georgia,serif;letter-spacing:.12em;white-space:nowrap;pointer-events:none}
.hk-dish-label b{color:#D39B2A;font-weight:400}
@media (max-width:700px){
  .hk-cine__shade{background:linear-gradient(180deg,rgba(0,22,27,.95) 0%,rgba(0,31,37,.75) 40%,rgba(0,31,37,.25) 100%),linear-gradient(0deg,rgba(0,18,22,.85),transparent 40%)}
  .hk-cine__bg{background-position:55% 70%}
  .hk-dish-label{font-size:11px;left:6%;bottom:6%}
}

/* ---------- moving band ---------- */
.hg-marquee{background:#D39B2A;color:#00252C;overflow:hidden;white-space:nowrap;padding:.8rem 0;font-family:Prata,Georgia,serif;letter-spacing:.08em;font-size:clamp(.85rem,1.6vw,1.05rem)}
.hg-track{display:inline-flex;align-items:center;animation:hgScroll 42s linear infinite;will-change:transform}
.hg-track span{padding:0 1rem}
.hg-track i{font-style:normal;opacity:.6;padding:0 .4rem}
.hg-marquee:hover .hg-track{animation-play-state:paused}
@keyframes hgScroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* ---------- cards ---------- */
.hk-card{transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s,opacity .9s cubic-bezier(.16,1,.3,1)}
.hk-card img{transition:transform .8s cubic-bezier(.16,1,.3,1)}
@media (hover:hover){
  .hk-card:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(0,37,44,.18)}
  .hk-card:hover img{transform:scale(1.06)}
}

/* ---------- mobile action bar ---------- */
.hg-cta{position:fixed;left:0;right:0;bottom:0;z-index:1030;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#00252C;box-shadow:0 -4px 18px rgba(0,0,0,.25)}
.hg-cta>*{min-height:46px;border-radius:999px;font:700 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;display:flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #F4EAD6;background:transparent;color:#F4EAD6;cursor:pointer}
.hg-cta>a{background:#D39B2A;border-color:#D39B2A;color:#00252C}
@media (min-width:992px){.hg-cta{display:none}}
@media (max-width:991.98px){
  :root{--hg-cta:calc(66px + env(safe-area-inset-bottom))}
  app-site{display:block;padding-bottom:calc(66px + env(safe-area-inset-bottom))}
}

/* ---------- reduced motion: no pinning, no flying dishes ---------- */
@media (prefers-reduced-motion:reduce){
  .hg-reveal{opacity:1;transform:none;transition:none}
  .hk-cinema{height:auto}
  .hk-cinema__pin{position:relative;top:0;height:auto;min-height:0;overflow:visible}
  .hk-cinema .hk-hero{height:auto}
  .hk-cinema .hk-hero__in{height:auto}
  .hk-cinema .hk-hero__img img{height:min(540px,60svh);max-height:none;animation:none}
  .hk-cine,.hk-cine__bar{display:none}
  .hk-cinema .hk-hero{background:#001f25}
  .hg-track{animation:none}
}
.hk-cine__noodles .hk-dish-label{left:30%;bottom:8%}.hk-cine__wings .hk-dish-label{left:auto;right:14%;bottom:4%}@media (max-width:700px){.hk-cine__noodles .hk-dish-label{left:34%;bottom:4%}.hk-cine__wings .hk-dish-label{left:auto;right:14%;bottom:2%}}
.hk-cinema .hk-hero,.hk-cinema .hk-hero__in{background:transparent !important}.hk-cinema,.hk-cinema__pin{background:#001a1f}.hk-cine__bg{opacity:.55}.hk-cine__shade{background:linear-gradient(90deg,rgba(0,22,27,.8) 0%,rgba(0,31,37,.42) 45%,rgba(0,31,37,.08) 100%),linear-gradient(0deg,rgba(0,18,22,.65),transparent 40%) !important}@media (max-width:700px){.hk-cine__shade{background:linear-gradient(180deg,rgba(0,22,27,.82) 0%,rgba(0,31,37,.45) 42%,rgba(0,31,37,.12) 100%),linear-gradient(0deg,rgba(0,18,22,.6),transparent 35%) !important}}
