/* AISEMUT Digital: hitam & oranye, garis tunggal seperti logo */
:root {
  --ink: #0e0c0a;
  --ink-2: #171310;
  --ink-3: #241d17;
  --line: #3a2f25;
  --orange: #e8772e;
  --orange-hot: #ff8f45;
  --orange-deep: #b8561a;
  --cream: #f6efe4;
  --cream-2: #d9cbb8;     /* secondary text, warm not gray: 10.9:1 on ink */
  --cream-3: #a8957d;     /* captions: 6.4:1 on ink */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 78rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--orange-deep) var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--orange); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-deep); }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--orange-hot); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--orange); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.5rem;
  background: var(--orange); color: var(--ink);
  font-weight: 800; text-decoration: none; letter-spacing: -0.01em;
  border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .8);
  transition: transform .4s var(--ease-out), background .2s, box-shadow .4s var(--ease-out);
}
.btn:hover { background: var(--orange-hot); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .9); }
.btn:active { transform: translateY(0); }
.btn--small { padding: .6rem 1.15rem; font-size: .9375rem; font-weight: 700; box-shadow: none; }
.btn--ghost { background: rgb(246 239 228 / .08); color: var(--cream); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .16); }
.btn--ghost:hover { background: rgb(246 239 228 / .16); }

/* two-line section heading: statement, then a quieter second line */
.duo { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.duo span { display: block; color: var(--cream-3); }
.duo--center { text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--cream-2); text-decoration: none; }
.link-arrow svg { width: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.link-arrow:hover { color: var(--orange-hot); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- nav: transparent on the hero, a floating capsule once you scroll ---------- */
.nav { position: fixed; inset: .75rem 0 auto; z-index: 20; padding: 0 var(--pad); pointer-events: none;
  transition: translate .5s var(--ease-out); }
.nav.is-away { translate: 0 calc(-100% - 1.5rem); }
.nav__bar {
  --glass: rgb(14 12 10 / .28);
  position: relative; max-width: var(--maxw); margin: 0 auto; pointer-events: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .45rem .45rem .45rem 1rem; border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(100deg, rgb(232 119 46 / .7), rgb(246 239 228 / .1) 28%, rgb(246 239 228 / .06) 70%, rgb(232 119 46 / .45)) border-box;
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 10px 30px -20px rgb(0 0 0 / .8);
  transition: box-shadow .4s, padding .4s var(--ease-out);
}
.nav.is-stuck .nav__bar {
  --glass: rgb(14 12 10 / .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 16px 36px -18px rgb(0 0 0 / .95), 0 0 0 4px rgb(232 119 46 / .04), inset 0 1px 0 rgb(246 239 228 / .07);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.nav__brand img { width: 50px; height: auto; transition: rotate .5s var(--ease-out); }
.nav__brand:hover img { rotate: -8deg; }
.nav__brand b, .footer__logo b { color: var(--orange); font-weight: 800; }
.nav__links { position: relative; display: flex; margin: 0 auto; padding: .25rem; border-radius: 999px; background: rgb(246 239 228 / .05); }
.nav__links a { position: relative; z-index: 1; padding: .45rem 1rem; border-radius: 999px;
  text-decoration: none; color: var(--cream-2); font-weight: 600; font-size: .9375rem; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--cream); }
.nav__links a.is-on { color: var(--ink); }
.nav__pill { position: absolute; z-index: 0; top: .25rem; bottom: .25rem; left: 0; width: 0; border-radius: 999px;
  background: var(--orange); opacity: 0; box-shadow: 0 6px 14px -8px var(--orange);
  transition: translate .5s var(--ease-out), width .5s var(--ease-out), opacity .3s; }
.nav__follow { display: none; }
.nav__cta { flex: none; transition: opacity .35s, translate .45s var(--ease-out), visibility .35s, transform .4s var(--ease-out), background .2s; }
.nav__cta { padding-left: .4rem; }
.nav__chip { position: relative; flex: none; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--ink); transition: rotate .5s var(--ease-out); }
.nav__cta:hover .nav__chip { rotate: -12deg; }

/* scroll progress: an ant walks the bottom edge of the capsule */
.nav__trail { position: absolute; left: 1.6rem; right: 1.6rem; bottom: -1px; height: 2px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.nav.is-stuck .nav__trail { opacity: 1; }
.nav__fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(232 119 46 / 0), var(--orange)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.nav__ant { position: absolute; bottom: -2px; left: calc(var(--p, 0) * 100%); width: 22px; translate: -60% 0; }
.nav__ant .ant, .footer__ant .ant { position: static; width: 100%; fill: var(--orange); }
.nav.is-walking .ant__leg--a, .footer__ant .ant__leg--a { animation: step .22s steps(1) infinite; }
.nav.is-walking .ant__leg--b, .footer__ant .ant__leg--b { animation: step .22s steps(1) .11s infinite; }

.nav__toggle { display: none; }
@media (max-width: 760px) {
  .nav__bar { gap: .75rem; padding-left: .85rem; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; place-content: center; gap: 5px; width: 2.6rem; height: 2.6rem; flex: none;
    border: 0; border-radius: 50%; background: rgb(246 239 228 / .08); color: var(--cream); cursor: pointer; }
  .nav__toggle i { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: currentColor; transition: translate .35s var(--ease-out), rotate .35s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { translate: 0 3.5px; rotate: 45deg; }
  .nav__toggle[aria-expanded="true"] i:last-of-type { translate: 0 -3.5px; rotate: -45deg; }
  .nav__links { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; margin: 0;
    flex-direction: column; padding: .5rem; border-radius: 1.4rem;
    background: var(--ink-2); border: 1px solid rgb(246 239 228 / .1);
    box-shadow: 0 24px 40px -20px rgb(0 0 0 / .95);
    opacity: 0; visibility: hidden; translate: 0 -.5rem; transition: opacity .3s, translate .4s var(--ease-out), visibility .3s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; translate: 0 0; }
  .nav.is-open .nav__bar { background: rgb(14 12 10 / .9); border-color: rgb(246 239 228 / .1); }
  .nav__links a { padding: .9rem 1rem; font-size: 1.125rem; font-weight: 700; }
  .nav__links a.is-on { background: var(--orange); }
  .nav__follow { display: block; }
  .nav__pill { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden;
  padding-top: clamp(6.5rem, 15vh, 9rem); text-align: center; }
.hero__copy { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); pointer-events: none; }
.hero__copy a, .hero__copy .rotator { pointer-events: auto; }
.hero__copy::before { content: ""; position: absolute; inset: -5rem -12% -3.5rem; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(16 9 26 / .72), rgb(16 9 26 / .35) 60%, transparent); }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem); margin: 0 auto; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  text-shadow: 0 2px 0 rgb(20 10 30 / .35), 0 10px 34px rgb(14 8 24 / .6);
}
.h1__line { display: block; }
.hero__task, .hero__who { display: block; }
.hero__who { color: var(--cream-2); }
.hero__lead {
  margin: 1.25rem auto 0; max-width: 40ch; font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.55;
  color: var(--cream); font-weight: 500; text-shadow: 0 1px 2px rgb(14 8 24 / .7), 0 6px 20px rgb(14 8 24 / .55);
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: .7rem; margin-top: 1.75rem; }

/* the brand moment: an orange stroke draws under "berdampak." and one ant walks it to the end */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark__line { position: absolute; left: -.06em; bottom: -.16em; width: calc(100% + .7em); max-width: none; height: .3em; overflow: visible; pointer-events: none; }
.mark__line { clip-path: inset(-50% 100% -50% 0); animation: draw 1.2s var(--ease-out) 1.05s forwards; }
.mark__line path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (max-width: 720px) { .mark__line path { stroke-width: 5; } }
@keyframes draw { to { clip-path: inset(-50% 0 -50% 0); } }
.mark__walk { position: absolute; left: 0; right: -.7em; bottom: .02em; height: .34em; pointer-events: none;
  translate: -100% 0; opacity: 0; animation: walk 2.6s cubic-bezier(.45, .05, .2, 1) 1.35s forwards; }
.ant { position: absolute; right: -.08em; bottom: 0; width: .6em; height: auto; overflow: visible;
  fill: var(--ink); stroke: var(--orange-hot); stroke-width: 1.6; stroke-linejoin: round; }
.ant__leg { fill: none; stroke: var(--orange-hot); stroke-width: 1.8; stroke-linecap: round; }
.ant__feel { fill: none; stroke: var(--orange-hot); stroke-width: 1.6; stroke-linecap: round; transform-origin: 33px 9px; }
.ant__eye { fill: var(--cream); stroke: none; }
.ant__leg--b { opacity: 0; }
.mark__walk .ant__leg--a { animation: step .22s steps(1) 1.35s 11; }
.mark__walk .ant__leg--b { animation: step .22s steps(1) 1.46s 11; }
.ant__feel { animation: feel 2.8s ease-in-out 4s infinite; }
@keyframes walk { 0% { opacity: 0; translate: -100% 0; } 8% { opacity: 1; } 100% { opacity: 1; translate: 0 0; } }
@keyframes step { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes feel { 0%, 70%, 100% { rotate: 0deg; } 80% { rotate: -14deg; } 90% { rotate: 8deg; } }
.mark:hover .ant { animation: hop .5s var(--ease-out); }
@keyframes hop { 40% { translate: 0 -.22em; rotate: -8deg; } }

/* the task in the lead gets a highlighter swipe, like a note in a schoolbook */
.hero .rotator { color: var(--cream); font-weight: 800; padding: 0 .18em; margin: 0 -.06em;
  background: linear-gradient(transparent 52%, rgb(232 119 46 / .85) 52%, rgb(232 119 46 / .85) 92%, transparent 92%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone; text-shadow: none; }

/* hero buttons: solid, readable over the 3D street, a real press */
.btn--hero { justify-content: center; min-height: 3.25rem; padding: .8rem 1.5rem; font-size: 1rem; font-weight: 800; letter-spacing: -0.015em;
  box-shadow: 0 1px 0 rgb(255 220 190 / .35) inset, 0 14px 30px -12px rgb(232 119 46 / .7), 0 6px 14px -6px rgb(0 0 0 / .6); }
.btn--hero:hover { box-shadow: 0 1px 0 rgb(255 220 190 / .4) inset, 0 20px 38px -14px rgb(255 143 69 / .8), 0 8px 18px -8px rgb(0 0 0 / .6); }
.btn--hero:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
.btn__icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: translate .45s var(--ease-out); }
.btn--hero:hover .btn__icon { translate: .22em 0; }
.btn--ink { background: rgb(246 239 228 / .14); color: var(--cream); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0 0 1.5px rgb(246 239 228 / .55) inset, 0 10px 24px -12px rgb(0 0 0 / .8); }
.btn--ink:hover { background: rgb(246 239 228 / .22); box-shadow: 0 0 0 1.5px var(--cream) inset, 0 14px 30px -12px rgb(0 0 0 / .85); }
@media (max-width: 760px) {
  .hero__cta { flex-direction: column; align-items: center; gap: .6rem; }
  .hero__cta .btn--hero { width: min(100%, 19rem); }
}

/* the whole first screen is the kampung at dusk; the copy floats in the sky */
.scene { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; }
.scene::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; pointer-events: none;
  background: linear-gradient(rgb(14 12 10 / 0), rgb(14 12 10 / .85) 55%, var(--ink)); }
.scene__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__bg .draw { fill: none; stroke: #ffd2a8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
.scene__bg .fill { fill: #24142a; }
.scene__bg .tree .fill { fill: #1e1122; }
.scene__bg .awning { stroke: var(--orange); opacity: .9; }
.scene__bg .sign { fill: var(--orange); font: 800 15px var(--font); letter-spacing: .12em; }
.scene__bg .win { fill: #ffb062; opacity: .9; animation: lamp 7s ease-in-out infinite; }
.scene__bg .win--2 { animation-delay: -2.2s; }
.scene__bg .win--3 { animation-delay: -4.1s; }
.scene__bg .win--4 { animation-delay: -5.6s; }
@keyframes lamp { 0%, 100% { opacity: .9; } 46% { opacity: .9; } 50% { opacity: .3; } 58% { opacity: .9; } }
.scene__bg .stars circle { animation: twinkle 4s ease-in-out infinite; }
.scene__bg .stars circle:nth-child(2n) { animation-delay: -1.7s; }
@keyframes twinkle { 50% { opacity: .2; } }
.scene__bg .sun-glow { animation: sun 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sun { 50% { transform: scale(1.06); opacity: .85; } }
.scene__bg .cloud { animation: drift 60s linear infinite alternate; }
.scene__bg .cloud--2 { animation-duration: 80s; animation-direction: alternate-reverse; }
.scene__bg .cloud--3 { animation-duration: 45s; }
@keyframes drift { to { transform: translateX(70px); } }
.scene__bg .sawah path { animation: shimmer 5s ease-in-out infinite; }
.scene__bg .sawah path:nth-child(2) { animation-delay: -2s; }
@keyframes shimmer { 50% { opacity: .45; } }
.scene__bg .wifi .arc { fill: none; stroke: #fff1d6; stroke-width: 3; stroke-linecap: round; animation: wifi 2.4s var(--ease-out) infinite; }
.scene__bg .wifi .arc--2 { animation-delay: .25s; }
.scene__bg .wifi .arc--3 { animation-delay: .5s; }
@keyframes wifi { 0% { opacity: 0; } 30% { opacity: 1; } 70%, 100% { opacity: 0; } }
.scene__bg .ground { display: none; }

.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__tags { position: absolute; inset: 0; pointer-events: none; }
.scene.is-3d .bubble { left: 0; top: 0; right: auto; transform-origin: 50% 100%; }
.scene.is-3d .bubble.is-away { opacity: 0; }

.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; max-width: min(19rem, 36vw);
  padding: .7rem 1rem; border-radius: 1.1rem 1.1rem 1.1rem .3rem;
  background: var(--cream); color: var(--ink);
  font-size: clamp(.75rem, 1.05vw, .9375rem); font-weight: 600; line-height: 1.4;
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / .7);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 0 100%;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  min-height: 2.6em;
}
.bubble.is-on { opacity: 1; transform: none; }
.bubble::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--orange-deep); animation: caret 1s steps(1) infinite; }
.bubble--ai::after { background: var(--ink); }
.bubble.is-done::after { content: none; }
@keyframes caret { 50% { opacity: 0; } }
.bubble--ai { background: var(--orange); border-radius: 1.1rem 1.1rem .3rem 1.1rem; transform-origin: 100% 100%; }
.bubble--ai::before { content: "AI semut"; display: block; font-size: .72em; font-weight: 800; letter-spacing: .02em; opacity: .7; }
.bubble--a { left: 6%; top: 30%; }
.bubble--b { right: 4%; top: 24%; }
.bubble--c { left: 26%; top: 17%; }
@media (max-width: 720px) {
  .bubble { max-width: 62vw; font-size: .8125rem; }
  .bubble--a { left: 5%; top: 0; }
  .bubble--b { right: 5%; top: 16%; }
  .bubble--c { display: none; }
  .scene::after { height: 13%; }
}

/* ---------- jalur (sticky 3D stage) ---------- */
.jalur { position: relative; margin-top: clamp(4rem, 10vh, 7rem); }
.jalur__sticky {
  height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  padding: clamp(4.5rem, 10vh, 6rem) var(--pad) 1.25rem;
  overflow: hidden;
}
.jalur__copy { width: 100%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1.25rem 3rem; }
.jalur__copy .duo { grid-column: 1; }
.pilar__dots { grid-column: 1; grid-row: 2; justify-self: start; display: flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgb(246 239 228 / .06); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .1); }
.pilar__dots button { font: 600 .875rem var(--font); color: var(--cream-3); background: none; border: 0; padding: .45rem .95rem; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.pilar__dots button:hover { color: var(--cream); }
.pilar__dots button.is-active { background: var(--orange); color: var(--ink); }
.pilar { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: grid; }
.pilar__item { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out); pointer-events: none; }
.pilar__item.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.pilar__item h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
.pilar__item p { margin-top: .6rem; color: var(--cream-2); max-width: 48ch; font-size: 1rem; }
.pilar__item .pilar__name { margin-top: .8rem; color: var(--orange); font-weight: 700; font-size: .875rem; }

.stage {
  position: relative; min-height: 0; width: 100%; max-width: 92rem; margin: 0 auto;
  border-radius: clamp(18px, 2.2vw, 30px); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 110%, #3a1f14 0%, var(--ink-2) 55%, #120f0c 100%);
  box-shadow: 0 0 0 1px rgb(246 239 228 / .08);
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.stage__loading { position: absolute; inset: auto 0 30%; text-align: center; color: var(--cream-3); font-weight: 600; transition: opacity .5s; }
.stage.is-ready .stage__loading { opacity: 0; }
.stage__tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0;
  padding: .3rem .65rem; border-radius: 999px;
  background: rgb(14 12 10 / .82); border: 1px solid var(--line);
  color: var(--cream); font-size: .8125rem; font-weight: 700; white-space: nowrap;
  translate: -50% -100%;
  opacity: 0; transition: border-color .3s, background .3s, opacity .4s var(--ease-out);
}
.tag.is-shown { opacity: 1; }
.tag small { color: var(--cream-3); font-weight: 500; margin-left: .35rem; }
.tag.is-hot { border-color: var(--orange); background: var(--ink-3); }
.pin {
  position: absolute; left: 0; top: 0; translate: -50% 45%;
  font-size: .75rem; font-weight: 700; color: var(--cream-3); white-space: nowrap;
  padding: .15rem .5rem; border-radius: 999px; background: rgb(14 12 10 / .6);
  transition: color .4s, background .4s, opacity .4s;
}
.pin small { font-weight: 500; margin-left: .3rem; opacity: .8; }
.pin.is-past { color: var(--cream-2); }
.pin.is-now { color: var(--ink); background: var(--orange); }
.rute {
  position: absolute; left: 50%; bottom: 1.1rem; translate: -50% 0; width: min(34rem, calc(100% - 2rem));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem;
  padding: .6rem .9rem; border-radius: 999px; background: rgb(14 12 10 / .72); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgb(246 239 228 / .1);
  font-size: .75rem; font-weight: 700; color: var(--cream-3);
}
.rute__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rute__fill { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.rute__now { grid-column: 1 / -1; grid-row: 1; justify-self: center; translate: 0 -1.9rem; padding: .2rem .6rem; border-radius: 999px; background: var(--cream); color: var(--ink); }
.stage__caption { text-align: center; color: var(--cream-3); font-size: .875rem; }
@media (max-width: 820px) {
  .jalur__copy { grid-template-columns: 1fr; }
  .pilar { grid-column: 1; grid-row: auto; }
  .pilar__dots { grid-row: auto; }
  .pilar__dots button { padding: .4rem .7rem; font-size: .8125rem; }
  .pilar__item p { display: none; }
  .tag small { display: none; }
}

/* ---------- angka (stat rows) ---------- */
.angka, .produk { max-width: var(--maxw); margin: 0 auto; padding: clamp(6rem, 14vh, 9rem) var(--pad) 0; }
/* stats: four stops on one ant trail; each stop lights up as the ant (scroll) reaches it */
.angka__board { position: relative; margin-top: clamp(2.5rem, 6vh, 3.5rem); }
.angka__rows { position: relative; z-index: 1; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.angka__rows div { display: grid; grid-template-rows: auto auto 1fr; align-content: start; justify-items: start; gap: 1rem; }
.angka__rows dt { display: contents; }
.angka__ico { position: relative; z-index: 1; width: clamp(5.5rem, 8vw, 7rem); aspect-ratio: 1; border-radius: 1.4rem;
  background: radial-gradient(70% 70% at 50% 100%, rgb(255 160 90 / .4), transparent 70%), linear-gradient(#2a1838, #4c2443);
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgb(246 239 228 / .1);
  filter: saturate(.35) brightness(.7); transition: filter .5s, box-shadow .5s, scale .6s cubic-bezier(.34, 1.56, .64, 1); }
.angka__rows dt > span:last-child { font-size: clamp(3rem, 5.4vw, 4.75rem); font-weight: 500; letter-spacing: -0.05em; line-height: .9;
  font-variant-numeric: tabular-nums; color: var(--cream-3); transition: color .5s; }
.angka__rows dd { margin: 0; color: var(--cream-3); font-size: .9375rem; max-width: 26ch; }
.angka__rows dd b { display: block; margin-bottom: .3rem; color: var(--cream); font-size: 1.0625rem; font-weight: 600; }
.angka__rows .is-on .angka__ico { filter: none; scale: 1.04; box-shadow: 0 0 0 6px var(--ink), 0 0 0 7.5px var(--orange), 0 18px 36px -14px rgb(232 119 46 / .7); }
.angka__rows .is-on dt > span:last-child { color: var(--cream); }
.angka__rows div:hover .angka__ico { scale: 1.1; rotate: -4deg; }

.angka__trail { --p: 0; position: absolute; z-index: 0; pointer-events: none; }
.angka__trail::before { content: ""; position: absolute; inset: -1px 0 auto; border-top: 2px dashed rgb(232 119 46 / .35); }
.angka__fill { position: absolute; inset: -1px 0 auto; height: 2px; background: var(--orange); transform-origin: left; scale: var(--f, 0) 1; }
.angka__ant { position: absolute; top: 0; left: calc(var(--p) * 100%); width: 28px; translate: -50% -80%; }
.angka__ant .ant { position: static; width: 100%; fill: var(--orange); }
.angka__ant .ant__leg--a { animation: step .22s steps(1) infinite; }
.angka__ant .ant__leg--b { animation: step .22s steps(1) .11s infinite; }
.angka__rows .is-hit .angka__ico { animation: arrive .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes arrive { 0% { scale: 1.04; } 25% { scale: 1.14 .92; } 55% { scale: .97 1.08; } 100% { scale: 1.04; } }
.angka__trail.is-vert::before { inset: 0 auto 0 -1px; border-top: 0; border-left: 2px dashed rgb(232 119 46 / .35); }
.angka__trail.is-vert .angka__fill { inset: 0 auto 0 -1px; width: 2px; height: auto; transform-origin: top; scale: 1 var(--f, 0); }
.angka__trail.is-vert .angka__ant { left: 0; top: calc(var(--p) * 100%); translate: -50% -50%; rotate: 90deg; }

@media (max-width: 1000px) { .angka__rows { grid-template-columns: 1fr 1fr; row-gap: 3rem; } }
@media (max-width: 640px) {
  .angka__rows { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .angka__rows div { grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 1.25rem; row-gap: .5rem; }
  .angka__ico { grid-row: span 2; width: 5rem; border-radius: 1.1rem; }
  .angka__rows dt > span:last-child { font-size: 2.75rem; align-self: end; }
}

/* ---------- produk: bento of little dusk windows, each one drawn like the kampung ---------- */
.produk__grid { list-style: none; margin: clamp(2.5rem, 6vh, 3.5rem) 0 0; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "a a b c" "a a d e" "f g h h"; }
.kartu { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.25rem;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .08);
  transition: translate .5s var(--ease-out), box-shadow .4s; }
.kartu:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgb(232 119 46 / .55), 0 26px 40px -26px rgb(0 0 0 / .95); }
.kartu__art { position: relative; aspect-ratio: 200 / 120; overflow: hidden;
  background: radial-gradient(70% 60% at 70% 100%, rgb(255 160 90 / .55), transparent 70%), linear-gradient(#2a1838, #4c2443 62%, #7c3542); }
.kartu__art::after { content: ""; position: absolute; inset: auto 0 0; height: 14%; background: rgb(20 10 24 / .45); }
.kartu__art svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.kartu__art svg :is(rect, path, circle, ellipse):not(.nl) { stroke: #1a0c05; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.kartu__art svg text { font-family: var(--font); }
.kartu__body { display: grid; align-content: start; gap: .4rem; padding: 1.1rem 1.3rem 1.35rem; }
.kartu h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.kartu p { color: var(--cream-3); font-size: .9375rem; }
.kartu__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.via, .gratis { padding: .22rem .65rem; border-radius: 999px; font-weight: 700; font-size: .8125rem; }
.via { background: var(--orange); color: var(--ink); }
.gratis { color: #9fe7bd; box-shadow: inset 0 0 0 1px rgb(159 231 189 / .45); }
.kartu--big .kartu__art { flex: 1; aspect-ratio: auto; min-height: 17rem; }
.kartu--big .kartu__body { padding: 1.4rem 1.6rem 1.7rem; }
.kartu--big h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.kartu--big p { font-size: 1.0625rem; max-width: 38ch; color: var(--cream-2); }
.kartu--wide { flex-direction: row; }
.kartu--wide .kartu__art { flex: 1 1 50%; aspect-ratio: auto; }
.kartu--wide .kartu__body { flex: 1 1 50%; align-content: center; }

/* the Lottie plays on top of the drawing; the drawing hides once the animation has loaded */
.lottie { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.is-lottie > svg { opacity: 0; }

@media (max-width: 1000px) {
  .produk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d e" "f g" "h h"; }
  .kartu--big .kartu__art { min-height: 0; aspect-ratio: 200 / 110; flex: none; }
}
@media (max-width: 560px) {
  .produk__grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h"; gap: .85rem; }
  .kartu--wide { flex-direction: column; }
  .kartu--wide .kartu__art { aspect-ratio: 200 / 120; flex: none; }
}

/* ---------- follow (aurora CTA) ---------- */
.follow { position: relative; isolation: isolate; margin-top: clamp(5rem, 12vh, 8rem); padding: clamp(5rem, 13vh, 8rem) var(--pad); overflow: hidden; text-align: center; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 32%, rgb(232 119 46 / .35), transparent 70%),
    radial-gradient(35% 45% at 72% 36%, rgb(178 79 104 / .3), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgb(232 119 46 / .12), transparent 70%);
  filter: blur(10px); animation: aurora 14s ease-in-out infinite alternate;
  /* fade in from nothing at the top edge so the glow flows out of the section above instead of starting on a hard line */
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 30%, #000 80%, transparent); }
@keyframes aurora { to { transform: translateX(4%) scaleY(1.1); } }
.follow h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 16ch; }
.follow__wrap { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); text-align: left; }
.follow__note { margin-top: 1.1rem; max-width: 40ch; color: var(--cream-3); font-size: 1.0625rem; }
.follow__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .7rem; max-width: 30rem; }
.follow__list a {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 1rem; align-items: center;
  padding: .8rem 1.25rem .8rem .8rem; border-radius: 1.25rem; text-decoration: none;
  background: rgb(246 239 228 / .05); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .12);
  backdrop-filter: blur(8px);
  transition: background .3s, color .3s, box-shadow .3s, transform .5s var(--ease-out);
}
.follow__list a:hover, .follow__list a:focus-visible { background: var(--orange); color: var(--ink); box-shadow: 0 18px 34px -18px rgb(232 119 46 / .8); }
.follow__list a:hover small, .follow__list a:focus-visible small { color: rgb(14 12 10 / .75); }
.follow__ico { position: relative; grid-row: span 2; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 1rem; background: var(--ink); overflow: hidden; }
.follow__list svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.follow__list span { font-size: 1.0625rem; font-weight: 700; align-self: end; }
.follow__list small { grid-column: 2; color: var(--cream-3); font-size: .875rem; align-self: start; }
.follow__go { grid-column: 3; grid-row: 1 / span 2; font-size: 1.25rem; transition: translate .4s var(--ease-out); }
.follow__list a:hover .follow__go { translate: 4px 0; }

/* mascot stage: a lit podium the ant stands on, region chips underneath */
.maskot { margin: 0; display: grid; justify-items: center; gap: .9rem; }
.maskot__stage { position: relative; width: min(100%, 27rem); aspect-ratio: 1; }
.maskot__stage::before { content: ""; position: absolute; inset: 8% 8% 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(232 119 46 / .32), rgb(232 119 46 / .08) 60%, transparent); }
.maskot__stage::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, #3a2418, #1c120c 70%); box-shadow: inset 0 3px 0 rgb(232 119 46 / .55), 0 18px 30px -12px rgb(0 0 0 / .9); }
.maskot__ring { position: absolute; left: 12%; right: 12%; bottom: 8.5%; height: 21%; border-radius: 50%; border: 2px dashed rgb(232 119 46 / .55);
  animation: ring 2.4s ease-in-out infinite alternate; }
@keyframes ring { to { scale: 1.07; opacity: .45; } }
.maskot canvas { position: relative; z-index: 1; width: 100%; height: 100%; cursor: pointer; }
.maskot canvas:focus-visible { outline: 2px solid var(--orange); outline-offset: -6px; border-radius: 1.5rem; }
.maskot figcaption { display: grid; gap: .15rem; text-align: center; }
.maskot__name { font-weight: 700; font-size: 1rem; }
.maskot small { color: var(--cream-3); font-size: .8125rem; }
.maskot__picks { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.maskot__picks button { font: inherit; font-size: .8125rem; font-weight: 600; color: var(--cream-2); cursor: pointer;
  padding: .4rem .85rem; border: 0; border-radius: 999px; background: rgb(246 239 228 / .06); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .14);
  transition: background .25s, color .25s, scale .3s var(--ease-out); }
.maskot__picks button:hover { background: rgb(246 239 228 / .14); }
.maskot__picks button:active { scale: .94; }
.maskot__picks button[aria-pressed="true"] { background: var(--orange); color: var(--ink); box-shadow: none; }
.maskot__picks button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 860px) {
  .follow__wrap { grid-template-columns: 1fr; text-align: center; }
  .follow h2, .follow__note, .follow__list { margin-left: auto; margin-right: auto; }
  .follow__list a { text-align: left; }
  .maskot__stage { width: min(100%, 20rem); }
}
@media (prefers-reduced-motion: reduce) { .maskot__ring { animation: none; } }

/* ---------- footer: acronym, columns, then a giant wordmark an ant keeps crossing ---------- */
.footer { position: relative; overflow: hidden; padding: 4.5rem var(--pad) 0;
  background: radial-gradient(60rem 22rem at 50% 115%, rgb(232 119 46 / .16), transparent 70%); }
.footer::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px); }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2.2fr repeat(3, 1fr); gap: 2.5rem; }
.footer__logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.footer__logo img { width: 52px; height: auto; }
.footer__acro { margin-top: 1.25rem; max-width: 34ch; color: var(--cream-2); font-size: 1rem; line-height: 1.5; }
.footer__acro b { color: var(--orange); font-weight: 800; }
.footer__note { margin-top: .75rem; max-width: 36ch; color: var(--cream-3); font-size: .9375rem; }
.footer nav { display: grid; align-content: start; justify-items: start; gap: .7rem; font-size: .9375rem; }
.footer nav p { color: var(--cream); font-size: .9375rem; font-weight: 700; margin-bottom: .35rem; }
.footer nav a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--cream-3);
  transition: color .25s, translate .4s var(--ease-out); }
.footer nav a:hover { color: var(--orange-hot); translate: 4px 0; }
.footer__social svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { position: relative; z-index: 2; max-width: var(--maxw); margin: 3.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: var(--cream-3); font-size: .875rem; }
.footer__up { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem .35rem .35rem; border-radius: 999px;
  text-decoration: none; color: var(--cream); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .3s, color .3s, scale .15s; }
.footer__up:active { scale: .96; }
.footer__up svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .4s var(--ease-out); }
.footer__up:hover { color: var(--orange-hot); box-shadow: inset 0 0 0 1px var(--orange); }
.footer__up:hover svg { translate: 0 -3px; }
.footer__markwrap { position: relative; margin-top: 1.5rem; }
.footer__mark {
  margin: 0 0 -0.24em; text-align: center; white-space: nowrap;
  font-size: 22.5vw; font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px var(--line); paint-order: stroke fill; user-select: none;
}
.footer__mark span { display: inline-block; transition: color .9s, -webkit-text-stroke-color .5s, translate .6s var(--ease-out); }
.footer__mark.is-in span { color: var(--ink-3); transition-delay: calc(var(--i) * 110ms), 0s, 0s; }
.footer__mark.is-in span:hover { color: var(--orange); -webkit-text-stroke-color: var(--orange); translate: 0 -0.08em; transition-delay: 0s; transition-duration: .3s, .3s, .6s; }
/* Lottie: the ants carry their gifts along the top of the letters into the sarang on the T */
.footer__barisan { --w: clamp(300px, 50vw, 820px); position: absolute; right: 1vw; top: calc(3.6vw - var(--w) * .145); width: var(--w); aspect-ratio: 400 / 60;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); pointer-events: none; }
.footer__tag { max-width: var(--maxw); margin: 0 auto 3rem; font-size: clamp(2rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--cream); }
.footer__tag span { color: var(--orange); }
.footer__chip { position: relative; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; transition: translate .4s var(--ease-out); }
.footer__up:hover .footer__chip { translate: 0 -3px; }
.footer__ico { position: relative; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .55rem; background: var(--ink-2, #17130f); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) {
  .footer { padding-top: 3.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__social { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 1.25rem; }
  .footer__social p { grid-column: 1 / -1; }
  .footer__bottom { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 720px) { .rute { bottom: .7rem; padding: .4rem .75rem; gap: .5rem; } .pin small { display: none; } }

/* ---------- interactive touches (fx.js, mascot.js) ---------- */
.hero h1 .w { display: inline-block; animation: rise 1s var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 90ms); }
@keyframes rise { from { opacity: 0; translate: 0 .45em; filter: blur(10px); } }

/* ecosystem: two marquee rows, AISEMUT's own products (orange) then business partners (quiet until hovered) */
.eko { max-width: var(--maxw); margin: 0 auto; padding: clamp(1.5rem, 4vh, 2.5rem) var(--pad) 0; display: grid; gap: 0; }
.eko__row { min-width: 0; padding: 1rem 0; border-top: 1px dashed rgb(246 239 228 / .14); }
.eko__row:last-child { border-bottom: 1px dashed rgb(246 239 228 / .14); }
.eko__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.eko ul { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.eko ul.is-looping { animation: loop var(--dur, 30s) linear infinite; }
.eko__row--partner ul.is-looping { animation-direction: reverse; }
.eko__track:hover ul { animation-play-state: paused; }
.eko li { display: flex; align-items: center; gap: .6rem; padding: .3rem clamp(1.25rem, 3vw, 2.25rem); white-space: nowrap;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -0.03em; color: var(--cream-2); transition: color .3s, opacity .3s; }
.eko b { font-weight: 800; }
.eko__mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .7rem; background: var(--orange); color: var(--ink);
  transition: rotate .4s cubic-bezier(.34, 1.56, .64, 1), scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.eko__mark svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eko li:hover .eko__mark { rotate: -8deg; scale: 1.12; }
.eko li img { display: block; width: auto; height: clamp(3.2rem, 5vw, 4.25rem); transition: scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.eko li:hover img { scale: 1.08; }
.eko__row--partner .eko__mark { background: rgb(246 239 228 / .08); color: var(--cream-2); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .18); }
.eko__row--partner li:hover .eko__mark { background: var(--orange); color: var(--ink); box-shadow: none; }
@keyframes loop { to { transform: translateX(-50%); } }


.produk__grid li::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), rgb(232 119 46 / .16), transparent 70%);
}
.produk__grid li:hover::after { opacity: 1; }
.produk__grid li > * { position: relative; z-index: 1; }

.pulau {
  position: absolute; z-index: 2; top: 1rem; left: 50%; translate: -50% 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; width: calc(100% - 2rem);
}
.pulau button {
  font: 600 .8125rem var(--font); color: var(--cream-2); cursor: pointer;
  padding: .4rem .8rem; border: 0; border-radius: 999px;
  background: rgb(14 12 10 / .7); box-shadow: inset 0 0 0 1px rgb(246 239 228 / .12); backdrop-filter: blur(8px);
  transition: background .3s, color .3s;
}
.pulau button:hover { color: var(--cream); background: rgb(36 29 23 / .9); }
.pulau button.is-active { background: var(--cream); color: var(--ink); }


.spark-burst { position: fixed; z-index: 60; width: 0; height: 0; pointer-events: none; }
.spark-burst b { position: absolute; left: -1px; top: -12px; width: 2px; height: 9px; border-radius: 2px; background: var(--orange-hot); transform-origin: 1px 12px; animation: spark-fly .55s var(--ease-out) forwards; }
@keyframes spark-fly { from { transform: rotate(var(--r)) translateY(0); opacity: 1; } to { transform: rotate(var(--r)) translateY(-14px) scaleY(.3); opacity: 0; } }

@media (max-width: 720px) {
  .pulau { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .pulau button { flex: none; }
}

/* ---------- intro (first visit) ---------- */
.intro { display: none; }
.has-intro .intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: var(--ink); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
  clip-path: inset(0 0 0 0);
}
.has-intro.is-in .intro { clip-path: inset(0 0 100% 0); pointer-events: none; }
.has-intro:not(.is-in) { overflow: hidden; }
.intro__logo { width: 120px; height: auto; animation: logo-in 1s var(--ease-out) both; }
@keyframes logo-in { from { opacity: 0; scale: .6; rotate: -12deg; filter: blur(8px); } }
.intro__word { display: flex; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
.intro__word span { display: inline-block; animation: rise .9s var(--ease-out) both; animation-delay: calc(300ms + var(--n, 0) * 60ms); }
.intro__word span:nth-child(1) { --n: 0; } .intro__word span:nth-child(2) { --n: 1; } .intro__word span:nth-child(3) { --n: 2; }
.intro__word span:nth-child(4) { --n: 3; } .intro__word span:nth-child(5) { --n: 4; } .intro__word span:nth-child(6) { --n: 5; }
.intro__word span:nth-child(7) { --n: 6; }
.intro__word span:nth-child(-n+2) { color: var(--orange); }
.intro__trail { width: min(16rem, 60vw); height: 6px; position: relative; overflow: hidden; border-radius: 6px;
  background: radial-gradient(circle, var(--line) 2px, transparent 2.5px) 0 50% / 12px 6px repeat-x; }
.intro__fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease-out);
  background: radial-gradient(circle, var(--orange) 2.5px, transparent 3px) 0 50% / 12px 6px repeat-x; animation: march .6s linear infinite; }
@keyframes march { to { background-position: 12px 50%; } }
.intro__line { color: var(--cream-3); font-size: .9375rem; font-weight: 600; animation: rise 1s var(--ease-out) .8s both; }
.has-intro:not(.is-in) .hero h1 .w, .has-intro:not(.is-in) .hero__lead, .has-intro:not(.is-in) .hero__cta, .has-intro:not(.is-in) .scene { animation-play-state: paused; }
.has-intro .hero__lead, .has-intro .hero__cta { animation: rise 1s var(--ease-out) both; animation-delay: .55s; }
.has-intro .hero__cta { animation-delay: .7s; }
.has-intro .scene { animation: frame-in 1.4s var(--ease-out) .5s both; }
@keyframes frame-in { from { opacity: 0; scale: 1.04; } }

.rotator { color: var(--orange); font-weight: 700; white-space: nowrap; }
.has-intro:not(.is-in) .mark__line, .has-intro:not(.is-in) .mark__walk, .has-intro:not(.is-in) .mark__walk .ant__leg { animation-play-state: paused; }
