/* Lapisan animasi beranda (referensi lusion.co). Semua gerak dijalankan motion.js.
   Kalau JS gagal atau pengunjung memilih kurangi gerak, halaman tampil seperti biasa. */

/* Elemen yang akan dianimasikan disembunyikan sebentar sampai motion.js siap. */
.hm-pre .hm-hero h1, .hm-pre .hm-hero__lead, .hm-pre .hm-dive, .hm-pre .hm-hero__note,
.hm-pre .hm-hero__shot, .hm-pre .hm-regen, .hm-pre .hm-stat, .hm-pre .hm-path__head h2,
.hm-pre .hm-path__head p, .hm-pre .hm-tl li, .hm-pre .mt-embed-head > *, .hm-pre .hm-card, .hm-pre .hm-talk h2, .hm-pre .hm-talk__lead, .hm-pre .hm-form > div,
.hm-pre .hm-brands h2, .hm-pre .hm-logos li, .hm-pre .hm-brands__more, .hm-pre .hm-kol h2,
.hm-pre .hm-kol__btn, .hm-pre .hm-blog h2, .hm-pre .hm-blog__txt, .hm-pre .hm-post,
.hm-pre .hm-eyebrow, .hm-pre .hm-stage__cue, .hm-pre .hm-reel__w, .hm-pre .hm-reel__card, .hm-pre .hm-reel__label,
.hm-pre .hm-cta__in > *, .hm-pre .hm-next > * { visibility: hidden; }

/* ===== Layar pembuka ===== */
.hm-loader { display: none; }
.hm-load body { overflow: hidden; }
.hm-load .hm-loader { display: block; position: fixed; inset: 0; z-index: 3000; pointer-events: none; }
.hm-loader__panel { position: absolute; inset: 0; will-change: transform; }
.hm-loader__panel--blue { background: #1308FE; }
.hm-loader__panel--ink { background: #0c0b12; color: #fff; }
.hm-loader__in { position: absolute; inset: 0; padding: 32px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.hm-loader__logo { width: 120px; height: auto; }
.hm-loader__tag { position: absolute; right: 40px; top: 40px; margin: 0; font: 500 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; text-align: right; color: rgba(255, 255, 255, .6); }
.hm-loader__num { display: flex; align-items: flex-end; font: 500 clamp(96px, 17vw, 260px)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.06em; }
.hm-loader__d { display: block; height: 1em; overflow: hidden; }
.hm-loader__d span { display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.35, 0, 0, 1); }
.hm-loader__d i { display: block; height: 1em; font-style: normal; }
.hm-loader__pct { margin: 0 0 .12em .1em; font-size: .22em; color: #1308FE; }
.hm-loader__bar { position: absolute; left: 40px; right: 40px; bottom: 28px; height: 2px; background: rgba(255, 255, 255, .12); }
.hm-loader__bar span { display: block; height: 100%; background: #1308FE; transform: scaleX(0); transform-origin: 0 50%; }
/* Keluar: isi memudar, lalu panel hitam dan biru menyapu ke atas (CSS saja, tidak menunggu skrip). */
.hm-loader-out .hm-loader__in { opacity: 0; transform: translateY(-6%); transition: opacity .4s cubic-bezier(.5, 0, .75, 0), transform .4s cubic-bezier(.5, 0, .75, 0); }
.hm-loader-out .hm-loader__panel--ink { transform: translateY(-100%); transition: transform 1s cubic-bezier(.87, 0, .13, 1) .15s; }
.hm-loader-out .hm-loader__panel--blue { transform: translateY(-100%); transition: transform 1s cubic-bezier(.87, 0, .13, 1) .27s; }
@media (max-width: 720px) {
  .hm-loader__in { padding: 24px 20px; }
  .hm-loader__logo { width: 96px; }
  .hm-loader__tag { right: 20px; top: 30px; font-size: 11px; }
  .hm-loader__bar { left: 20px; right: 20px; }
}

/* ===== Hero 3D ===== */
.hm .hm-hero { position: relative; }
.hm .hm-hero__text, .hm .hm-hero__shot, .hm .hm-regen { position: relative; z-index: 1; }
.hm .hm-hero__3d { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hm .hm-hero__3d canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 960px) and (min-width: 721px) {
  .hm .hm-hero__3d { opacity: .85; }
}
@media (max-width: 720px) {
  .hm .hm-hero__3d { position: relative; top: 0; width: 100%; height: 0; margin: 0; opacity: 1; }
  .hm .hm-hero__3d.is-3d { height: 280px; margin: 8px 0 -12px; }
}
.hm .hm-hero__shot { transform-origin: 50% 0; }
.hm .hm-hero__shot img { will-change: transform; }

/* ===== Bilah progres scroll ===== */
.hm-progress { position: fixed; left: 0; top: 0; z-index: 1001; width: 100%; height: 3px; background: #1308FE; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ===== Kursor ===== */
.hm-cursor { position: fixed; left: 0; top: 0; z-index: 2500; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid #fff; border-radius: 50%; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: opacity .3s, width .4s cubic-bezier(.35, 0, 0, 1), height .4s cubic-bezier(.35, 0, 0, 1), margin .4s cubic-bezier(.35, 0, 0, 1), background-color .4s; }
.hm-cursor.is-on { opacity: 1; }
.hm-cursor.is-on.is-off { opacity: 0; }
.hm-cursor.is-link { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: #fff; }

/* ===== Linimasa: garis biru tergambar mengikuti scroll ===== */
.hm-motion .hm .hm-tl { position: relative; }
.hm-motion .hm .hm-tl::after { content: ""; position: absolute; left: 15px; top: 16px; bottom: 52px; width: 2px; background: #1308FE; transform: scaleY(var(--rail, 0)); transform-origin: 50% 0; }
@media (min-width: 961px) {
  .hm-motion .hm .hm-path__head { position: sticky; top: 120px; }
}

/* ===== Marquee layanan ===== */
.hm .hm-marquee { overflow: hidden; margin-top: 110px; padding: 6px 0; border-top: 1px solid rgba(19, 8, 254, .18); border-bottom: 1px solid rgba(19, 8, 254, .18); }
.hm .hm-marquee__track { display: flex; width: max-content; will-change: transform; }
.hm .hm-marquee__track span { flex: none; padding-right: .4em; font: 800 clamp(48px, 8.4vw, 132px)/1.12 var(--hm-wide); font-stretch: 112%; letter-spacing: -.01em; white-space: nowrap; color: #1308FE; }
.hm .hm-marquee__track b { font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px #1308FE; }
.hm .hm-marquee__track i { display: inline-block; width: .42em; height: .42em; margin: 0 .3em .12em; border-radius: 50%; background: #000; vertical-align: middle; font-style: normal; }
@media (max-width: 720px) { .hm .hm-marquee { margin-top: 72px; } }

/* ===== Hover ===== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hm .hm-card__img img { transition: transform .7s cubic-bezier(.35, 0, 0, 1), box-shadow .7s cubic-bezier(.35, 0, 0, 1); }
  .hm .hm-card:hover .hm-card__img img { transform: translateY(-6px) rotate(-2deg) scale(1.04); box-shadow: 0 26px 22px -14px rgba(19, 8, 254, .45); }
  .hm .hm-logos img { transition: transform .5s cubic-bezier(.35, 0, 0, 1); }
  .hm .hm-logos li:hover img { transform: scale(1.12) rotate(-3deg); }
  .hm .hm-post { transition: transform .6s cubic-bezier(.35, 0, 0, 1), box-shadow .6s cubic-bezier(.35, 0, 0, 1); }
  .hm .hm-post:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -24px rgba(19, 8, 254, .5); }
  .hm .hm-post__img { overflow: hidden; }
  .hm .hm-post__img img { transition: transform .9s cubic-bezier(.35, 0, 0, 1); }
  .hm .hm-post:hover .hm-post__img img { transform: scale(1.07); }
  .hm .hm-stat { transform-style: preserve-3d; }
}
.hm-motion .hm .hm-talk__img { overflow: hidden; }
.hm-motion .hm .hm-kol { will-change: clip-path; }

/* ===== Bahasa visual ala studio: label mono, tanda plus di sudut, kartu membulat ===== */
.hm-mono { font: 500 12px/1.4 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.hm .hm-eyebrow { margin: 0 0 18px; color: #1308FE; }
.hm .hm-eyebrow--svc { max-width: 1120px; margin: 0 auto 36px; padding: 0 24px; }
.hm-plus { position: absolute; z-index: 2; width: 14px; height: 14px; pointer-events: none; }
.hm-plus::before, .hm-plus::after { content: ""; position: absolute; background: #1308FE; }
.hm-plus::before { left: 6px; top: 0; width: 2px; height: 14px; }
.hm-plus::after { left: 0; top: 6px; width: 14px; height: 2px; }
.hm-plus--tl { top: 20px; left: 20px; } .hm-plus--tr { top: 20px; right: 20px; }
.hm-plus--bl { bottom: 20px; left: 20px; } .hm-plus--br { bottom: 20px; right: 20px; }

/* ===== Hero di dalam kartu ===== */
.hm .hm-hero { padding-top: 0; }
.hm .hm-stage { position: relative; isolation: isolate; overflow: hidden; margin: 16px 16px 0; padding: 92px 0 120px; border-radius: 32px; background: #eef0fb; transform-origin: 50% 0; }
.hm .hm-stage .hm-hero__text { max-width: none; margin: 0; padding: 0 clamp(24px, 6vw, 120px); }
.hm .hm-stage__cue { position: absolute; left: clamp(24px, 6vw, 120px); bottom: 40px; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 0; color: #000; }
.hm .hm-stage__cue span { display: block; width: 44px; height: 1.5px; background: #000; transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) { .hm .hm-stage__cue span { animation: hm-cue 2.2s cubic-bezier(.35, 0, 0, 1) infinite; } }
@keyframes hm-cue { 0% { transform: scaleX(0); transform-origin: 0 50%; } 45% { transform: scaleX(1); transform-origin: 0 50%; } 55% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
.hm .hm-hero__shot { margin-top: 48px; }
@media (min-width: 961px) {
  .hm .hm-hero h1 { font-size: clamp(49px, 3.9vw, 74px); line-height: 1.22; letter-spacing: -.01em; }
  .hm .hm-hero__lead { font-size: clamp(20px, 1.4vw, 24px); max-width: clamp(650px, 46vw, 800px); }
  .hm .hm-path__head h2 { font-size: clamp(32px, 2.6vw, 48px); }
  .hm .hm-brands h2 { font-size: clamp(41px, 3vw, 56px); }
  .hm .hm-blog h2, .hm .hm-kol h2 { font-size: clamp(42px, 3.3vw, 62px); }
}
@media (max-width: 720px) {
  .hm .hm-stage { margin: 8px 8px 0; padding: 52px 0 64px; border-radius: 24px; }
  .hm .hm-stage .hm-hero__text { padding: 0 18px; }
  .hm .hm-hero__3d { position: relative; inset: auto; }
  .hm .hm-hero__3d.is-3d { height: 280px; margin: 12px 0 -8px; }
  .hm .hm-stage__cue { left: 18px; bottom: 22px; }
  .hm-plus--tl, .hm-plus--tr { top: 14px; } .hm-plus--bl, .hm-plus--br { bottom: 14px; }
  .hm-plus--tl, .hm-plus--bl { left: 14px; } .hm-plus--tr, .hm-plus--br { right: 14px; }
}

/* ===== Reel: LAJU [video] LABS ===== */
.hm .hm-reel { position: relative; margin-top: 96px; }
.hm .hm-reel__pin { position: relative; display: flex; align-items: center; justify-content: center; gap: 2.4vw; min-height: 560px; height: 100vh; overflow: hidden; }
.hm .hm-reel__label { position: absolute; top: 32px; left: clamp(24px, 6vw, 120px); margin: 0; color: #1308FE; }
.hm .hm-reel__w { position: relative; z-index: 1; font: 800 clamp(56px, 10.5vw, 190px)/1 var(--hm-wide); font-stretch: 112%; letter-spacing: -.02em; color: #000; }
.hm .hm-reel__card { position: relative; z-index: 2; flex: none; width: min(38vw, 640px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #0c0b12; will-change: transform; }
.hm .hm-reel__card video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .hm .hm-reel { margin-top: 64px; }
  .hm .hm-reel__pin { flex-direction: column; gap: 14px; height: 100svh; min-height: 520px; }
  .hm .hm-reel__w { font-size: 24vw; }
  .hm .hm-reel__card { width: calc(100% - 32px); border-radius: 18px; }
}


/* ===== Kartu layanan: jatuh lalu terbalik ===== */
.hm-motion .hm .hm-card { position: relative; transform-style: preserve-3d; }
.hm-motion .hm .hm-card > :not(.hm-card__back) { -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(1px); }
.hm .hm-card__back { display: none; }
.hm-motion .hm .hm-card__back { display: block; position: absolute; inset: -14px; border-radius: 18px; background-color: #1308FE; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.6px); background-size: 16px 16px; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 30px 50px -30px rgba(19, 8, 254, .6); pointer-events: none; }
.hm-motion .hm .hm-card__back i { position: absolute; left: 50%; top: 50%; width: 64px; height: 72px; margin: -36px 0 0 -26px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ===== Ajakan penutup: layar biru berpola titik ===== */
.hm .hm-cta { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(92vh, 860px); margin: 96px 16px 16px; border-radius: 32px; background-color: #1308FE; background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1.6px); background-size: 22px 22px; color: #fff; }
.hm .hm-cta .hm-plus::before, .hm .hm-cta .hm-plus::after { background: #fff; }
.hm .hm-cta__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm .hm-cta__in { position: relative; z-index: 1; width: 100%; padding: 96px clamp(24px, 6vw, 120px); }
.hm .hm-cta__in .hm-mono { margin: 0; color: rgba(255, 255, 255, .75); }
.hm .hm-cta h2 { max-width: 640px; margin: 18px 0 40px; font: 500 clamp(40px, 5vw, 86px)/1.04 var(--hm-sans); letter-spacing: -.03em; color: #fff; }
.hm .hm-cta__act { display: flex; flex-wrap: wrap; gap: 14px; }
.hm .hm-cta__btn { display: inline-flex; align-items: center; height: 56px; padding: 0 30px; border-radius: 999px; background: #fff; color: #1308FE; font: 600 15px/1 var(--hm-sans); letter-spacing: .04em; text-decoration: none; }
.hm .hm-cta__btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.hm .hm-cta__btn:hover { background: #000; color: #fff; }
@media (max-width: 720px) {
  .hm .hm-cta { align-items: flex-end; min-height: 760px; margin: 64px 8px 8px; border-radius: 24px; }
  .hm .hm-cta__in { padding: 40px 22px 48px; }
  .hm .hm-cta h2 { font-size: 40px; }
  .hm .hm-cta__btn { height: 52px; padding: 0 24px; }
}

/* ===== Halaman berikutnya ===== */
.hm .hm-next { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 64vh; padding: 80px 24px; color: #000; text-align: center; text-decoration: none; }
.hm .hm-next__label { color: #1308FE; }
.hm .hm-next__title { font: 500 clamp(64px, 12vw, 210px)/.95 var(--hm-sans); letter-spacing: -.05em; }
.hm .hm-next__title em { font-style: normal; color: #1308FE; }
.hm .hm-next__bar { display: block; width: min(420px, 64vw); height: 2px; background: rgba(0, 0, 0, .12); }
.hm .hm-next__bar i { display: block; height: 100%; background: #1308FE; transform: scaleX(0); transform-origin: 0 50%; }
.hm .hm-next__hint { color: rgba(0, 0, 0, .55); }
.hm .hm-next:hover .hm-next__title em { color: #000; }

/* ===== Transisi keluar ke halaman lain ===== */
/* Terjun (dive3d.js): disembunyikan sampai motion.js memastikan perangkat sanggup 3D */
.hm .hm-fall { display: none; position: relative; margin-top: 56px; }
.hm .hm-fall.is-on { display: block; }
.hm .hm-fall__pin { position: relative; height: 100vh; overflow: hidden; }
.hm .hm-fall__screen { position: absolute; inset: 0; overflow: hidden; background: #020207; transform-origin: 50% 50%; will-change: transform, clip-path; }
.hm .hm-fall__gl, .hm .hm-fall__gl canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hm .hm-fall__bezel { position: absolute; z-index: 1; border: 12px solid #0e0d16; box-shadow: 0 30px 80px rgba(19, 8, 254, .18); transform-origin: 50% 50%; pointer-events: none; opacity: 0; }
.hm .hm-fall__txt { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: .14em; margin: 0; color: #fff; font: 500 clamp(17px, 2.2vw, 38px)/1.05 var(--hm-sans); letter-spacing: -.005em; text-transform: uppercase; transform: translateY(-50%); pointer-events: none; visibility: hidden; }
.hm .hm-fall__ln { display: flex; gap: .34em; white-space: nowrap; }
.hm .hm-fall__txt b { display: inline-block; font-weight: inherit; opacity: 0; will-change: transform, opacity; }
@media (max-width: 720px) {
  .hm .hm-fall { margin-top: 40px; }
  .hm .hm-fall__pin { height: 100svh; }
}

/* Meteran "terus scroll/tarik ke Lacak Tools" di ujung halaman */
.hm-pull { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 6100; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 20px 14px; border-radius: 16px; background: rgba(4, 3, 15, .88); color: #fff; font-size: 12px; letter-spacing: .04em; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .35s cubic-bezier(.16, 1, .3, 1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hm-pull.is-on { opacity: 1; transform: translate(-50%, 0); }
.hm-pull b { display: block; width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.hm-pull i { display: block; height: 100%; background: #1308FE; box-shadow: 0 0 12px #7870ff; transform: scaleX(0); transform-origin: left; transition: transform .12s linear; }
.hm-wipe { position: fixed; inset: 0; z-index: 4000; background: #1308FE; pointer-events: none; transform: translateY(100%); }


/* Lorong 3D ke /lacak (lorong-lacak.js): kamus la·cak, bidikan pelacak, penanda jejak. */
.hm-warp { position: fixed; inset: 0; z-index: 6000; pointer-events: none; visibility: hidden; opacity: 0; background: #020207; overflow: hidden; }
.hm-warp.is-live { visibility: visible; }
.hm-warp.is-go { pointer-events: auto; }
.hm-warp__gl, .hm-warp__gl canvas, .hm-warp__2d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-warp__def { position: absolute; left: 50%; top: 50%; width: min(92vw, 900px); text-align: center; color: #fff; transform: translate(-50%, -50%); will-change: transform, opacity, filter; }
.hm-warp__def .hm-mono { color: rgba(255, 255, 255, .6); }
.hm-warp__def b { display: block; margin: 14px 0 18px; font: 800 clamp(72px, 15vw, 200px)/.95 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.045em; }
.hm-warp__def p { margin: 4px 0 0; font: 500 clamp(13px, 1.25vw, 16px)/1.5 'JetBrains Mono', ui-monospace, Menlo, monospace; color: rgba(255, 255, 255, .82); }
.hm-warp__def em { color: #8f8aff; font-style: italic; }
.hm-warp__ret { position: absolute; left: 0; top: 0; width: 120px; height: 50px; opacity: 0; will-change: transform; }
.hm-warp__ret i { position: absolute; width: 14px; height: 14px; border: 2px solid #fff; }
.hm-warp__ret i:nth-child(1) { left: -6px; top: -6px; border-right: 0; border-bottom: 0; }
.hm-warp__ret i:nth-child(2) { right: -6px; top: -6px; border-left: 0; border-bottom: 0; }
.hm-warp__ret i:nth-child(3) { left: -6px; bottom: -6px; border-right: 0; border-top: 0; }
.hm-warp__ret i:nth-child(4) { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.hm-warp__ret span { position: absolute; left: -6px; top: calc(100% + 12px); padding: 3px 7px; background: #fff; color: #04030f; font-size: 11px; white-space: nowrap; }
.hm-warp__hud { position: absolute; left: 24px; right: 24px; top: 22px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .72); opacity: 0; }
@media (max-width: 720px) { .hm-warp__hud { left: 16px; right: 16px; top: 16px; } .hm-warp__ret span { font-size: 10px; } }
