/* Cinematic layer: trailer-style type, film grain, light sweeps */
:root{--display:"Oswald","Bebas Neue","Arial Narrow","Helvetica Neue",Arial,sans-serif;--flame:#ff8a3d}
h1,h2.rv,.hero h1,.page-hero h1{font-family:var(--display)!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.005em}
.hero h1{font-size:clamp(52px,7.6vw,124px)!important;line-height:.92!important}
.page-hero h1{font-size:clamp(40px,5.8vw,84px)!important;line-height:.96!important}
h2.rv{line-height:1.02!important}
h1 em,h2 em{font-style:normal!important;background:linear-gradient(180deg,#ffd2a1 0%,#ff9b4a 45%,#c0612a 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 0 22px rgba(255,120,40,.35))}
html:lang(zh) h1,html:lang(zh) h2,html:lang(th) h1,html:lang(th) h2{font-family:var(--sans)!important;font-weight:700!important;letter-spacing:0}

/* film grain over the whole page */
body:after{content:"";position:fixed;inset:-50%;z-index:9999;pointer-events:none;opacity:.07;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 animation:grain 1s steps(6) infinite}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,3%)}80%{transform:translate(3%,1%)}100%{transform:translate(0,0)}}

/* anamorphic flare sweeping across hero images */
.hero .media:before,.page-hero:before{content:"";position:absolute;left:-40%;top:58%;width:80%;height:2px;z-index:3;pointer-events:none;
 background:linear-gradient(90deg,rgba(255,140,60,0),rgba(255,170,90,.55),rgba(255,140,60,0));filter:blur(1px);box-shadow:0 0 30px 6px rgba(255,120,40,.18);
 animation:flare 9s ease-in-out infinite}
@keyframes flare{0%,55%{transform:translateX(0);opacity:0}62%{opacity:1}85%{opacity:.6}100%{transform:translateX(190%);opacity:0}}

/* cinematic letterbox bars on the home hero */
.hero{box-shadow:inset 0 -6px 0 #000}

/* headings wipe up when revealed */
h2.rv{clip-path:inset(0 0 100% 0);transform:translateY(20px)}
h2.rv.in{clip-path:inset(0 0 0 0);transition:clip-path 1.1s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.7,.2,1),opacity 1s}

/* image hover: slow push-in like a dolly shot */
.gallery img,.mosaic img,.factory img{transition:transform 1.6s cubic-bezier(.2,.7,.2,1),filter 1.6s}
.gallery figure:hover img,.mosaic a:hover img,.mosaic figure:hover img,.factory figure:hover img{transform:scale(1.045);filter:contrast(1.06) saturate(1.05)}

@media (prefers-reduced-motion:reduce){body:after,.hero .media:before,.page-hero:before{animation:none;display:none}h2.rv{clip-path:none}}
