/* YUN Featured Slider */
html:has(.yun-sl){overflow-x:clip}
.yun-sw{
 --teal:143,208,220;
 position:relative;box-sizing:border-box;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);
 overflow:hidden;color:#fff;background-color:#0a1416;isolation:isolate;-webkit-font-smoothing:antialiased;
}
.yun-sw *,.yun-sw *::before,.yun-sw *::after{box-sizing:border-box}
.yun-sw::before,.yun-sw::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.yun-sw::before{background:
 radial-gradient(52% 58% at 14% 80%,rgba(31,112,122,.60),transparent 70%),
 radial-gradient(46% 42% at 94% 4%,rgba(31,92,102,.38),transparent 70%),
 linear-gradient(180deg,#0a1416,#0d1a1d)}
.yun-sw::after{opacity:.10;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
.yun-sw--clear{background-color:transparent}
.yun-sw--clear::before,.yun-sw--clear::after{display:none}

/* ===== desktop slider ===== */
.yun-sl{
 --cw:clamp(250px,min(33.33vw,calc((100svh - 200px)*.8)),560px);
 --pad:var(--yh-pad,clamp(20px,2.75vw,48px));
 --ease:cubic-bezier(.65,0,.35,1);--out:cubic-bezier(.16,1,.3,1);
 position:relative;box-sizing:border-box;width:100%;min-height:100vh;min-height:100svh;padding:100px 0 56px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.yun-sl__inner{position:relative;width:100%;display:flex;justify-content:center}

/* eyebrow */
.yun-sl__eyebrow{position:absolute;z-index:6;left:var(--pad);top:9px;
 width:calc(50% - var(--cw)/2 + 12px - var(--pad));display:flex;align-items:flex-end;gap:14px;pointer-events:none}
.yun-sl__eyebrow b{font-weight:400;font-size:11px;line-height:1.65;letter-spacing:.2em;text-transform:uppercase;color:rgba(var(--teal),.72);width:min-content}
.yun-sl__eyebrow i{flex:1;height:1px;margin-bottom:.55em;background:rgba(var(--teal),.28)}

/* stage */
.yun-sl__stage{position:relative;width:var(--cw);aspect-ratio:4/5}
.yun-sl__slide{position:absolute;inset:0;display:block;color:inherit;text-decoration:none;visibility:hidden;pointer-events:none;z-index:0;outline-offset:6px}
.yun-sl__slide.is-active{visibility:visible;pointer-events:auto;z-index:2}
.yun-sl__slide.is-leaving{visibility:visible;z-index:1;pointer-events:none}

.yun-sl__card{position:absolute;inset:0;overflow:hidden;background:#0d1a1d;opacity:0}
.yun-sl__card img,.yun-sl__ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
 transform:scale(1.18);filter:brightness(.35)}
.yun-sl__ph{background:
 radial-gradient(80% 60% at 70% 20%,hsl(var(--h) 60% 40%/.55),transparent 70%),
 linear-gradient(165deg,hsl(var(--h) 45% 24%),hsl(var(--h) 55% 7%))}

.yun-sl__title{position:absolute;z-index:3;left:50%;top:50%;width:calc(var(--cw)*1.24);max-width:92vw;transform:translate(-50%,-50%);
 margin:0;text-align:center;font-family:var(--yun-sl-font,Inter,'Inter var',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif);font-weight:400;
 font-size:calc(var(--cw)*.215);line-height:.94;letter-spacing:-.015em;color:#fff;text-wrap:balance;
 text-shadow:0 0 40px rgba(0,0,0,.28)}
.yun-sl__title span{display:block;opacity:0;transform:translateY(.12em);filter:blur(8px)}

.yun-sl__desc{position:absolute;z-index:3;left:calc(100% + var(--cw)*.064);top:68%;margin:0;
 width:clamp(170px,calc(var(--cw)*.62),280px);font-size:clamp(12px,calc(var(--cw)*.036),15px);line-height:1.65;color:rgba(255,255,255,.82)}
.yun-sl__desc .w{display:inline-block;opacity:0;transform:translateY(.5em)}

/* states: hidden slides snap back instantly */
.yun-sl__slide:not(.is-active):not(.is-leaving) *{transition:none!important}

/* incoming */
.yun-sl__slide.is-active .yun-sl__card{opacity:1;transition:opacity .9s var(--ease)}
.yun-sl__slide.is-active .yun-sl__card img,.yun-sl__slide.is-active .yun-sl__ph{transform:scale(1);filter:brightness(1);
 transition:transform 1.9s var(--out),filter 1.5s var(--ease)}
.yun-sl__slide.is-active .yun-sl__title span{opacity:1;transform:none;filter:blur(0);
 transition:opacity .9s ease .15s,transform 1.2s var(--out) .15s,filter .9s ease .15s}
.yun-sl__slide.is-active .yun-sl__desc .w{opacity:1;transform:none;
 transition:opacity .8s ease calc(.45s + var(--i)*22ms),transform 1s var(--out) calc(.45s + var(--i)*22ms)}

/* outgoing: stays under the incoming card and fades behind it */
.yun-sl__slide.is-leaving .yun-sl__card{opacity:1}
.yun-sl__slide.is-leaving .yun-sl__card img,.yun-sl__slide.is-leaving .yun-sl__ph{transform:scale(1.03);filter:brightness(.5);
 transition:transform 1.4s var(--ease),filter 1s var(--ease)}
.yun-sl__slide.is-leaving .yun-sl__title span{opacity:0;transform:translateY(-.06em);filter:blur(3px);
 transition:opacity .8s ease,transform .9s var(--ease),filter .8s ease}
.yun-sl__slide.is-leaving .yun-sl__desc .w{opacity:0;transition:opacity .35s ease calc(var(--i)*8ms)}

/* dots */
.yun-sl__dots{display:flex;align-items:center;gap:10px;margin-top:16px;position:relative;z-index:6}
.yun-sl__dot{position:relative;display:block;width:5px;height:5px;padding:0;border:0;border-radius:5px;cursor:pointer;
 background:rgba(255,255,255,.28);transition:width .6s var(--out);overflow:hidden}
.yun-sl__dot::after{content:"";position:absolute;inset:-10px -5px}
.yun-sl__dot i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:inherit;background:#fff}
.yun-sl__dot.is-active{width:22px}
.yun-sl__dot.is-active i{width:100%;animation:yun-sl-fill var(--dur,6s) linear forwards}
.yun-sl.no-auto .yun-sl__dot.is-active i{animation:none;width:5px}
.yun-sl.is-paused .yun-sl__dot.is-active i{animation-play-state:paused}
@keyframes yun-sl-fill{from{width:5px}to{width:100%}}

/* cursor follower */
.yun-sl__cur{display:none}
@media (hover:hover) and (pointer:fine){
 .yun-sl__cur{display:block;position:fixed;left:0;top:0;z-index:50;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .3s ease}
 .yun-sl__cur.is-on{opacity:1}
 .yun-sl__ring{position:absolute;left:-44px;top:-44px;width:88px;height:88px;border-radius:50%;border:1px solid rgba(255,255,255,.5);
  background:rgba(255,255,255,.03);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  transition:transform .5s var(--out),opacity .3s ease}
 .yun-sl__lab{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:6.5em;text-align:center;
  font-size:9.5px;line-height:1.6;letter-spacing:.2em;text-transform:uppercase;color:#fff;transition:opacity .2s ease}
 .yun-sl__cur.is-view .yun-sl__ring{opacity:0;transform:scale(.4)}
 .yun-sl__cur.is-view .yun-sl__lab{width:max-content;white-space:nowrap}
 .yun-sl__cur.is-swap .yun-sl__lab{opacity:0}
}
.yun-sl__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.yun-sl__sr:focus{width:auto;height:auto;clip:auto;z-index:60;left:var(--pad);bottom:12px;padding:8px 12px;background:#fff;color:#000}

/* ===== mobile carousel ===== */
.yun-slm{display:none}
@media (max-width:782px){
 .yun-sl{display:none}
 .yun-slm{
  --cw:clamp(200px,min(75vw,calc((100svh - 300px)*.8)),380px);--pad:20px;
  display:flex;flex-direction:column;padding:var(--yun-sl-mt,20px) 0 28px;
 }
 .yun-slm__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0 var(--pad);margin-bottom:30px}
 .yun-slm__head h2{margin:0;font-family:var(--yun-sl-font,Inter,'Inter var',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif);font-weight:400;
  font-size:clamp(26px,8vw,36px);line-height:1.05;letter-spacing:-.01em;color:#fff}
 .yun-slm__head h2 em{font-style:normal;color:rgba(var(--teal),.92)}
 .yun-slm__all{flex:none;margin-bottom:4px;padding-bottom:6px;font-size:12px;line-height:1;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45)}
 .yun-slm__track{position:relative;display:flex;margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;outline-offset:-2px}
 .yun-slm__track::-webkit-scrollbar{display:none}
 .yun-slm__track::before,.yun-slm__track::after{content:"";flex:none;width:calc((100% - var(--cw))/2)}
 .yun-slm__track.is-drag{cursor:grabbing;user-select:none;-webkit-user-select:none}
 .yun-slm__item{flex:none;display:block;width:var(--cw);color:inherit;text-decoration:none;scroll-snap-align:center;scroll-snap-stop:always;
  transform-origin:50% calc(var(--cw)*.625);transform:scale(.86);opacity:.5;will-change:transform,opacity;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none}
 .yun-slm__card{display:block;position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#0d1a1d}
 .yun-slm__card img,.yun-slm__ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none;user-select:none}
 .yun-slm__ph{background:
  radial-gradient(80% 60% at 70% 20%,hsl(var(--h) 60% 40%/.55),transparent 70%),
  linear-gradient(165deg,hsl(var(--h) 45% 24%),hsl(var(--h) 55% 7%))}
 .yun-slm__cap{display:block;padding:18px 8px 0;text-align:center}
 .yun-slm__cap b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  font-family:var(--yun-sl-font,Inter,'Inter var',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif);font-weight:400;font-size:clamp(22px,7vw,30px);line-height:1.1;
  letter-spacing:-.01em;color:#fff;text-wrap:balance}
 .yun-slm__cap i{display:block;min-height:1em;margin-top:12px;font-style:normal;font-size:11px;line-height:1;letter-spacing:.2em;text-transform:uppercase;color:rgba(var(--teal),.7)}
 .yun-slm__foot{display:flex;align-items:flex-end;justify-content:space-between;padding:0 var(--pad);margin-top:28px}
 .yun-slm__count{font-size:12px;line-height:1;letter-spacing:.14em;color:rgba(var(--teal),.65);font-variant-numeric:tabular-nums}
 .yun-slm__det{padding-bottom:6px;font-size:12px;line-height:1;letter-spacing:.14em;text-transform:uppercase;color:#fff;text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.45);visibility:hidden}
}
@media (prefers-reduced-motion:reduce){
 .yun-sl *{transition-duration:.01ms!important;transition-delay:0s!important}
}

/* page background turns white once the visitor scrolls past the slider */

/* tombol "All work": garis bawah bercahaya dengan kilau yang bergerak */
@media (max-width:782px){
 .yun-slm__all{position:relative;border-bottom-color:rgba(var(--teal),.55);text-shadow:0 0 12px rgba(var(--teal),.55);
  box-shadow:0 8px 14px -10px rgba(var(--teal),.9)}
 .yun-slm__all::after{content:"";position:absolute;left:0;bottom:-1px;width:42%;height:1px;pointer-events:none;
  background:linear-gradient(to right,rgba(255,255,255,0),#fff,rgba(255,255,255,0));
  box-shadow:0 0 8px 2px rgba(var(--teal),.9),0 0 18px 4px rgba(255,255,255,.35);
  animation:yun-sl-shine 2.8s cubic-bezier(.6,0,.3,1) infinite}
}
@keyframes yun-sl-shine{0%{transform:translateX(-100%);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateX(240%);opacity:0}}
@media (prefers-reduced-motion:reduce){.yun-slm__all::after{animation:none;opacity:.8;transform:none;width:100%}}

/* latar slider memudar ke putih saat pengunjung bergerak ke section berikutnya (.is-white dipasang oleh slider.js); dari hero tidak berubah */
.yun-sw{--ease-w:cubic-bezier(.4,0,.2,1);transition:background-color .9s var(--ease-w),color .9s var(--ease-w)}
.yun-sw::before,.yun-sw::after{transition:opacity .9s var(--ease-w)}
.yun-sw.is-white{background-color:var(--yun-sl-after,#fff);color:#0b1a1f}
.yun-sw.is-white::before,.yun-sw.is-white::after{opacity:0}
.yun-sl__eyebrow b,.yun-sl__desc,.yun-slm__head h2,.yun-slm__all,.yun-slm__cap b,.yun-slm__cap i,.yun-slm__count,.yun-slm__det,.yun-sl__dot,.yun-sl__dot i{transition:color .9s var(--ease-w),background-color .9s var(--ease-w),border-color .9s var(--ease-w)}
.yun-sw.is-white .yun-sl__eyebrow b,.yun-sw.is-white .yun-slm__count,.yun-sw.is-white .yun-slm__cap i{color:#1f707a}
.yun-sw.is-white .yun-slm__head h2 em{color:#1f707a}
.yun-sw.is-white .yun-sl__eyebrow i{background:rgba(11,26,31,.25)}
.yun-sw.is-white .yun-sl__desc,.yun-sw.is-white .yun-slm__head h2,.yun-sw.is-white .yun-slm__all,.yun-sw.is-white .yun-slm__cap b,.yun-sw.is-white .yun-slm__det{color:#0b1a1f}
.yun-sw.is-white .yun-slm__det{border-bottom-color:rgba(11,26,31,.45)}
.yun-sw.is-white .yun-slm__all{border-bottom-color:rgba(31,112,122,.7);text-shadow:0 0 12px rgba(31,112,122,.35)}
.yun-sw.is-white .yun-sl__dot{background:rgba(11,26,31,.22)}
.yun-sw.is-white .yun-sl__dot i{background:#0b1a1f}

/* kursor "View Work": outer glow */
@media (hover:hover) and (pointer:fine){
 .yun-sl__lab{text-shadow:0 0 6px rgba(255,255,255,.95),0 0 14px rgba(var(--teal),.95),0 0 28px rgba(var(--teal),.7),0 0 46px rgba(var(--teal),.45);animation:yun-sl-glow 2.6s ease-in-out infinite alternate}
 .yun-sl__ring{box-shadow:0 0 12px 1px rgba(255,255,255,.35),0 0 28px 4px rgba(var(--teal),.5),0 0 54px 8px rgba(var(--teal),.28);animation:yun-sl-glow 2.6s ease-in-out infinite alternate}
}
@keyframes yun-sl-glow{from{filter:brightness(.9)}to{filter:brightness(1.25)}}
@media (prefers-reduced-motion:reduce){.yun-sl__lab,.yun-sl__ring{animation:none}}

/* font Inter (gaya yun.co.id): bobot dan ukuran disesuaikan dari serif sebelumnya */
.yun-sw .yun-sl__title{font-weight:500;font-size:calc(var(--cw)*.165);line-height:1.04;letter-spacing:-.035em}
.yun-sw .yun-sl__desc{font-weight:400}
@media (max-width:782px){
 .yun-sw .yun-slm__head h2{font-weight:500;font-size:clamp(24px,7vw,32px);line-height:1.1;letter-spacing:-.035em}
 .yun-sw .yun-slm__cap b{font-weight:500;font-size:clamp(19px,5.6vw,25px);line-height:1.15;letter-spacing:-.03em}
}
