/* =========================================================
   Toko Ricky — gaya "Playful Pop": biru terang, kuning, krem, garis hitam tebal
   ========================================================= */
:root {
  --blue: #0f8b8d;   /* teal */
  --coral: #ff7a59;
  --blue-d: #0b6d6f;
  --yellow: #ffd166; /* kuning lembut */
  --cream: #fdf6ec;
  --paper: #fffdf8;
  --ink: #1d2433;
  --ink-2: #5a5f6b;
  --line: 2px solid var(--ink);
  --pop: 4px 4px 0 var(--ink);
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
mark { background: var(--yellow); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.wrap { width: min(1080px, 100%); margin: 0 auto; }

/* ---------- Latar: kertas krem bertitik (seperti buku catatan) ---------- */
body { background: radial-gradient(circle at 1px 1px, rgba(29, 36, 51, .13) 1.2px, transparent 1.6px) 0 0 / 22px 22px, var(--cream); }
#page { position: relative; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: var(--line); border-radius: 12px;
  font-weight: 800; font-size: .9rem; box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-buy { background: var(--coral); }
.btn-ghost { background: var(--paper); }
.btn-sm { padding: 7px 14px; font-size: .8rem; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.tag {
  display: inline-block; font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border: var(--line); border-radius: 7px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
}
.title { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -.01em; margin: 14px 0 28px; text-transform: uppercase; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad); transition: background .3s, box-shadow .3s;
}
body.scrolled .top { background: var(--paper); box-shadow: 0 3px 0 var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; color: var(--paper); transition: color .3s; }
body.scrolled .brand { color: var(--ink); }
.brand svg { width: 24px; height: 24px; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.nav { display: flex; gap: 4px; padding: 5px; border: var(--line); border-radius: 14px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.nav a { padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: .82rem; }
.nav a:hover, .nav a.on { background: var(--yellow); }

/* ---------- Hero parallax ---------- */
/* Langit pagi + gunung siang (sama persis dengan lapisan transisi dari situs utama) */
.hero { position: relative; min-height: 100svh; background: linear-gradient(180deg, #0f8b8d 0%, #3a9e9b 34%, #9fd0c4 60%, #ffdcb6 82%) top / 100% 100svh no-repeat, #0c4447; color: var(--paper); overflow: hidden; border-bottom: var(--line); }
.hero-land.front { z-index: 1; }
.hero-scene { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px; padding: 110px var(--pad) 80px; max-width: 1280px; margin: 0 auto; }
[data-speed] { will-change: transform; }
.hero-word {
  position: absolute; left: 50%; bottom: -4vw; translate: -50% 0; z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-size: 24vw; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16);
}
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles i { position: absolute; width: 18px; height: 18px; background: var(--yellow); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sparkles i:nth-child(3n) { background: var(--paper); width: 12px; height: 12px; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .tag { color: var(--ink); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: .95; text-transform: uppercase; margin: 18px 0 26px; }
.hero h1 mark { text-shadow: none; display: inline-block; transform: rotate(-2deg); margin-top: 8px; padding: 0 .14em; border: var(--line); box-shadow: var(--pop); }
.hero-lead { font-size: clamp(.92rem, 1.1vw, 1.02rem); max-width: 32em; color: #f3f7f6; font-weight: 500; }
/* Langit pagi terang di dekat cakrawala: bayangan lembut supaya teks putih tetap terbaca */
.hero h1, .hero-lead { text-shadow: 0 2px 22px rgba(6, 58, 60, .55), 0 1px 3px rgba(6, 58, 60, .35); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--ink); }

.hero-art { position: relative; z-index: 2; height: min(540px, 64vh); }
/* Mainan fisika: posisinya diatur toys.js, mulai tersembunyi sampai dijatuhkan */
.toy { position: absolute; left: 0; top: 0; visibility: hidden; will-change: transform; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.toy.held { cursor: grabbing; }
.toy.held .slide, .toy-pill.held { box-shadow: 9px 9px 0 var(--ink); }
.toy-a0 { width: min(54%, 44vh); } .toy-a1 { width: min(38%, 31vh); } .toy-a2 { width: min(35%, 28vh); }
.toy-cap { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); border: var(--line); box-shadow: 3px 3px 0 var(--ink); }
.toy-cap svg { width: 58%; height: 58%; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.toy-pill { white-space: nowrap; font-weight: 800; font-size: .8rem; padding: 6px 13px; border: var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.toy-p1 { background: var(--yellow); } .toy-p2 { background: var(--coral); }
.toy-star { width: 40px; height: 40px; }
.toy-star svg { width: 100%; height: 100%; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.toy-star-c svg { fill: var(--coral); } .toy-star-w svg { fill: var(--paper); }
.toy-hint { position: absolute; right: 4%; top: 2%; font-weight: 800; font-size: .9rem; color: var(--paper); rotate: 4deg; pointer-events: none; text-shadow: 0 1px 8px rgba(6, 58, 60, .5); transition: opacity .6s ease; }
.toy-hint.gone { opacity: 0; }
.burst {
  width: 108px; height: 108px; display: grid; place-items: center; z-index: 4;
  background: var(--yellow); color: var(--ink); text-align: center; font-family: var(--display); line-height: .9;
  clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 82% 27%, 100% 32%, 92% 50%, 100% 68%, 82% 73%, 79% 91%, 61% 85%, 50% 100%, 39% 85%, 21% 91%, 18% 73%, 0% 68%, 8% 50%, 0% 32%, 18% 27%, 21% 9%, 39% 15%);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.burst span { font-size: 1.7rem; transform: rotate(-8deg); }
.burst small, .burst b { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.burst b { font-size: 1.7rem; }
.b1 { background: var(--coral); }

/* ---------- Mockup slide (digambar dengan HTML, bukan gambar) ---------- */
.slide {
  aspect-ratio: 16 / 9; width: 100%; background: var(--paper); color: var(--ink); border: var(--line); border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink); overflow: hidden; display: flex; flex-direction: column; font-size: clamp(6px, .9vw, 11px);
}
.slide-bar { height: 2.2em; flex: none; display: flex; align-items: center; gap: .5em; padding: 0 1em; background: var(--yellow); border-bottom: var(--line); }
.slide-bar i { width: .8em; height: .8em; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.slide-bar b { margin-left: auto; font-size: .9em; letter-spacing: .1em; text-transform: uppercase; }
.slide-body { flex: 1; position: relative; padding: 1.6em 2em; display: flex; flex-direction: column; gap: .9em; }
.slide h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 3em; line-height: .95; }
.slide h5 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8em; line-height: 1; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.slide .s-sub { font-weight: 700; font-size: 1.05em; color: var(--ink-2); }
.slide .ln { height: .7em; border-radius: 99px; background: #d9d4c4; }
.slide .ln.s { width: 55%; } .slide .ln.m { width: 72%; }
.slide .box3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; flex: 1; }
.slide .box3 div { border: 2px solid var(--ink); border-radius: .6em; padding: .7em; display: flex; flex-direction: column; justify-content: space-between; }
.slide .box3 b { font-family: var(--display); font-weight: 400; font-size: 2em; color: var(--blue); }
.slide .bars { flex: 1; display: flex; align-items: flex-end; gap: 1.2em; padding: 0 .4em; border-bottom: 2px solid var(--ink); }
.slide .bars i { flex: 1; background: var(--blue); border: 2px solid var(--ink); border-bottom: 0; border-radius: .3em .3em 0 0; }
.slide .bars i:nth-child(even) { background: var(--yellow); }
.slide .badge { position: absolute; right: 1.6em; bottom: 1.4em; width: 9em; height: 9em; display: grid; place-items: center; background: var(--blue); clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 82% 27%, 100% 32%, 92% 50%, 100% 68%, 82% 73%, 79% 91%, 61% 85%, 50% 100%, 39% 85%, 21% 91%, 18% 73%, 0% 68%, 8% 50%, 0% 32%, 18% 27%, 21% 9%, 39% 15%); }
.slide .badge svg { width: 55%; height: 55%; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.slide .chip { align-self: flex-start; font-weight: 800; font-size: .9em; padding: .2em .7em; border: 2px solid var(--ink); border-radius: .4em; background: var(--yellow); }


/* ---------- Section umum ---------- */
.sec { padding: clamp(64px, 10vh, 110px) var(--pad); }
.sec-yellow .tag { background: var(--paper); }

/* Kartu produk */
/* Etalase geser: panggung menempel di layar, rak (track) digeser JS ke samping */
.shelf { position: relative; }
.shelf-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 56px; }
.shelf-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 10px var(--pad) 16px; will-change: transform; }
.shelf-intro { width: min(360px, 80vw); flex: none; }
.shelf-intro .title { margin-bottom: 22px; }
.shelf-hint { margin-top: 22px; font-weight: 800; font-size: .85rem; color: var(--blue-d); }
.shelf-hint b { font-weight: 800; }
.on-hp { display: none; }
@media (max-width: 760px) { .on-hp { display: inline; } }
.shelf-hint span { display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 6px 0; } }
.shelf.still .shelf-hint, .shelf.still .shelf-bar { display: none; }
.shelf-bar { margin: 0 var(--pad); height: 6px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); overflow: hidden; }
.shelf-bar i { display: block; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; }
.products { display: flex; align-items: stretch; gap: 26px; }
.products > * { flex: none; }
.shelf .product { width: min(820px, 72vw); }
.shelf .pcard { width: 320px; }
.shelf .soon { width: 280px; }
.product {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--paper); border: var(--line); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink); overflow: hidden; grid-column: 1 / -1;
}
.product-art { background: var(--blue); border-right: var(--line); padding: clamp(28px, 4vw, 54px); display: grid; place-items: center; position: relative; overflow: hidden; }
.product-art .slide { transform: rotate(-3deg); max-width: 520px; }
.product-info { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.product-info .tag { align-self: flex-start; }
.product-info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.02; text-transform: uppercase; }
.product-info .sub { font-weight: 700; color: var(--blue); margin-top: -6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges span { font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--cream); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.price b { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.price small { font-weight: 700; color: var(--ink-2); }
.soon { grid-column: auto; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px; border: 3px dashed var(--ink); border-radius: 22px; background: transparent; }
.soon h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; }

/* Isi paket: kartu menyebar mengikuti scroll */
.pack { position: relative; height: 260vh; }
.pack-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 76px var(--pad) 28px; }
.pack-head .tag { color: var(--ink); }
.pack-head .title { margin: 14px 0 0; }
.pack-head .title mark { text-shadow: none; }
/* Kotak kipas yang mengalah: menyusut duluan supaya judul, poin & tombol selalu muat di layar */
.pack-cards { position: relative; flex: 1 1 auto; min-height: 0; max-height: 400px; }
.deck { position: absolute; left: 50%; top: 50%; width: 300px; }
.deck .slide { box-shadow: 6px 6px 0 var(--ink); }
.deck-label {
  position: absolute; left: 50%; bottom: -22px; translate: -50% 0; white-space: nowrap;
  font-weight: 800; font-size: .8rem; padding: 5px 12px; border: var(--line); border-radius: 10px; background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.pack-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pack-extras li { font-weight: 700; font-size: .82rem; padding: 6px 12px; border: var(--line); border-radius: 10px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.pack-extras li::before { content: "✓ "; color: var(--blue); }
.pack .deck-label { background: var(--coral); }

/* Fitur */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--paper); border: var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--pop); }
.feature:nth-child(2n) { background: var(--yellow); transform: translateY(26px); }
.feature b { display: grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 50%; background: var(--blue); color: var(--paper); font-family: var(--display); font-weight: 400; margin-bottom: 18px; }
.feature h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.feature p { font-size: .86rem; color: var(--ink-2); }

/* Langkah */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--paper); border: var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--pop); font-weight: 800; font-size: .95rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--blue); margin-bottom: 8px; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; translate: 0 -50%; z-index: 2; font-weight: 800; font-size: 1.4rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-wrap .muted { margin: -14px 0 22px; }
.faq { display: grid; gap: 14px; }
.faq details { background: var(--paper); border: var(--line); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; font-weight: 800; font-size: .95rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-size: .92rem; color: var(--ink-2); }

/* CTA */
.cta { padding: 40px var(--pad) clamp(80px, 12vh, 130px); }
.cta-box { position: relative; text-align: center; background: var(--blue); color: var(--paper); border: var(--line); border-radius: 28px; box-shadow: 7px 7px 0 var(--ink); padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 70px); }
.cta-box .tag { color: var(--ink); }
.cta-box .title { max-width: 18ch; margin: 18px auto 30px; }
.cta-box .muted { color: #e6e9f2; margin-top: 18px; }
.cta-box .btn { color: var(--ink); }
.b3 { position: absolute; right: -30px; top: -40px; }

/* Footer */
.foot { border-top: var(--line); background: var(--paper); padding: 26px var(--pad); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.home-link { font-weight: 700; border-bottom: 2px solid var(--ink); }
.home-link:hover { background: var(--coral); }

/* ---------- Kartu miring ikut kursor + kilau (sudut diatur app.js lewat --ax/--ay/--ang) ---------- */
.features, .products { perspective: 900px; }
.tilt { position: relative; rotate: var(--ax, 0) var(--ay, 1) 0 var(--ang, 0deg); transition: rotate .5s var(--ease), box-shadow .25s var(--ease); }
.tilt.tilting { transition: rotate .08s linear, box-shadow .25s var(--ease); }
/* Kartu katalog yang juga "muncul pelan" tetap butuh transisi opacity/transform */
.tilt.reveal { transition: rotate .5s var(--ease), box-shadow .25s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.tilt.reveal.tilting { transition: rotate .08s linear, box-shadow .25s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%); }
.tilt.tilting::after { opacity: 1; }

/* ---------- Transisi section bawah (digerakkan app.js mengikuti scroll) ---------- */
/* Stabilo: highlight kuning menyapu dari kiri saat judul terlihat (judul hero tidak ikut) */
.title mark { background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 0% 100% no-repeat; transition: background-size .9s var(--ease) .2s; }
.title.lit mark { background-size: 100% 100%; }
.feature { will-change: transform, opacity; }
/* Cara beli: jalur putus-putus yang terisi coral, bintang berjalan di ujungnya */
.steps-track { --p: 0; position: relative; height: 8px; margin: 0 0 26px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px) 0 50% / 100% 2px no-repeat; }
.steps-track i { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 99px; background: var(--coral); transform: scaleX(var(--p)); transform-origin: 0 50%; }
.steps-track b { position: absolute; top: 50%; left: calc(var(--p) * 100%); translate: -50% -50%; font-size: 1.5rem; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); }
/* Tiap langkah "dicap": jatuh dari agak besar & miring, lalu menempel */
.steps li { opacity: 0; scale: 1.3; rotate: -7deg; box-shadow: 0 0 0 var(--ink); transition: opacity .25s ease, scale .45s cubic-bezier(.34, 1.56, .64, 1), rotate .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease .15s; }
.steps li:nth-child(2n) { rotate: 6deg; }
.steps li.on { opacity: 1; scale: 1; rotate: 0deg; box-shadow: var(--pop); }
#faq .faq details, .cta-box { will-change: transform; }
.b3 { transform-origin: 50% 50%; }

/* ---------- Muncul pelan saat terlihat ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Transisi antardomain ---------- */
/* Masuk: isi hero datang satu per satu dengan efek pegas.
   Pakai properti `scale`/`rotate` terpisah supaya tidak bentrok dengan transform parallax dari JS. */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }
.hero-copy > * { transition: transform 1s var(--spring), opacity .6s ease; }
.hero-copy > :nth-child(2) { transition-delay: .1s; }
.hero-copy > :nth-child(3) { transition-delay: .22s; }
.hero-copy > :nth-child(4) { transition-delay: .32s; }
html.intro .hero-copy > * { opacity: 0; transform: translateY(70px) rotate(-3deg); }
.hero-word { transition: scale 1.8s var(--ease), opacity 1s ease; }
html.intro .hero-word { opacity: 0; scale: 1.8; }
/* Datang dari situs utama: pemandangan pagi sudah sama, isi hero cukup muncul pelan tanpa pegas */
html.arrive .hero-copy > * { opacity: 0; transform: translateY(26px); }
html.arrive .hero-word { opacity: 0; scale: 1; }
html.soft .hero-copy > * { transition-property: transform, opacity; transition-duration: 1.2s, 1s; transition-timing-function: cubic-bezier(.2, .7, .25, 1), ease; }
html.intro .top { opacity: 0; }
.top { transition: opacity .8s .5s, background .3s, box-shadow .3s; }

/* Ke situs utama: isi halaman memudar, tinggal langit & gunung — lalu matahari terbenam */
#page { transition: opacity .7s ease; }
body.leaving #page, body.leaving .top { opacity: 0; transition: opacity .7s ease; }

/* ---------- Responsif ---------- */
@media (max-width: 980px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2n) { transform: none; }
  .steps li:not(:last-child)::after { display: none; }
  .product { grid-template-columns: 1fr; }
  .product-art { border-right: 0; border-bottom: var(--line); }
}
@media (max-width: 760px) {
  .shelf-stage { position: static; height: auto; overflow: visible; padding: 64px 0 40px; }
  /* HP: judul di atas, cuma rak produknya yang digeser jari */
  .shelf-track { display: block; width: auto; padding: 0; }
  .shelf-intro { width: auto; padding: 0 20px 22px; }
  .products { align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; padding: 6px 20px 22px; }
  .products::-webkit-scrollbar { display: none; }
  .products > * { scroll-snap-align: start; }
  .shelf .product { width: 84vw; }
  .shelf .pcard { width: 76vw; }
  .shelf .soon { width: 70vw; }
  .on-desk { display: none; }
  .shelf-bar { display: none; }
  .nav { display: none; }
  .top { padding: 12px 16px; }
  .hero-scene { grid-template-columns: 1fr; padding: 78px 20px 56px; gap: 0; }
  .hero-art { height: 40vh; order: -1; margin: 0 2vw; }
  .toy-a0 { width: min(58%, 36vh); } .toy-a1, .toy-a2 { width: min(42%, 26vh); }
  .toy-cap { width: 54px; height: 54px; }
  .toy-pill { font-size: .78rem; padding: 6px 12px; }
  .toy-hint { font-size: .78rem; top: -6%; }
  .hero h1 { font-size: clamp(2rem, 9.5vw, 2.7rem); margin: 14px 0 20px; }
  .hero-lead { font-size: .9rem; }
  .actions { margin-top: 22px; }
  .btn { padding: 10px 16px; font-size: .86rem; }
  .btn-sm { padding: 8px 14px; font-size: .82rem; }
  .pack-stage { padding: 84px 20px 30px; justify-content: flex-start; }
  .pack-head .title { font-size: clamp(1.6rem, 7.5vw, 2rem); }
  .pack-cards { max-height: none; }
  .pack-stage { gap: 14px; padding-bottom: 20px; }
  .pack-extras { margin-top: 0; gap: 6px; }
  .pack-extras li { font-size: .72rem; padding: 4px 9px; box-shadow: 2px 2px 0 var(--ink); }
  .pack-foot { gap: 10px; }
  .deck-label { font-size: .66rem; padding: 3px 8px; bottom: -12px; }
  .dl-unit { display: none; } /* label kipas dipersingkat: "Sempro · 25" */
  .burst { width: 82px; height: 82px; }
  .burst span, .burst b { font-size: 1.3rem; }
  .features, .steps { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .b3 { right: -10px; top: -46px; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) {
  html.intro .hero-copy > *, html.intro .hero-word { opacity: 1; transform: none; scale: 1; rotate: 0deg; }
  .reveal { opacity: 1; transform: none; }
  .title mark { background-size: 100% 100%; }
  .steps li { opacity: 1; scale: 1; rotate: 0deg; box-shadow: var(--pop); }
  .pack { height: auto; }
  .pack-stage { position: static; height: auto; }
  .pack-cards { flex: none; height: 340px; }
}

/* =========================================================
   Multi-produk: katalog, ilustrasi per jenis produk, panel detail
   ========================================================= */
.hide { display: none !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-weight: 800; font-size: .8rem; padding: 6px 14px; border: var(--line); border-radius: 99px; background: var(--paper); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.chips button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.chips button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }

.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: var(--line); border-radius: 20px; box-shadow: var(--pop); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pcard:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.pcard-art { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; aspect-ratio: 16 / 11; padding: 26px; background: var(--c); border-bottom: var(--line); overflow: hidden; }
.pcard-art > * { width: 86%; transition: transform .5s var(--ease); }
.pcard:hover .pcard-art > * { scale: 1.04; }
.pcard-art > .book, .pcard-art > .doc, .detail-art > .book, .detail-art > .doc, .product-art > .book, .product-art > .doc { width: 46%; }
.pcard-info { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.pcard-tag { font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.pcard h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.05; text-transform: uppercase; }
.pcard .sub { font-weight: 700; color: var(--ink-2); font-size: .92rem; margin-top: -4px; }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pcard-price { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.pcard-btns { display: flex; gap: 8px; }
.sample { position: absolute; z-index: 2; top: 14px; left: 14px; font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); transform: rotate(-4deg); }
[data-sample] { opacity: .55; cursor: not-allowed; }
/* Coming soon: kartu sama, tapi lebih gelap & redup supaya jelas belum bisa dibeli */
.pcard.is-soon { align-self: center; background: #e7dccb; box-shadow: 4px 4px 0 rgba(29, 36, 51, .55); }
.pcard.is-soon .pcard-art { cursor: default; filter: brightness(.68) saturate(.7); }
.pcard.is-soon .pcard-art > * { scale: 1 !important; }
.pcard.is-soon h3, .pcard.is-soon .sub { color: #4b4f5a; }
.pcard.is-soon .pcard-tag { color: var(--blue-d); opacity: .75; }
.soon-tag {
  position: absolute; z-index: 2; top: 14px; right: 14px; rotate: 4deg; white-space: nowrap;
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border: var(--line); border-radius: 8px; background: var(--ink); color: var(--yellow); box-shadow: 3px 3px 0 rgba(29, 36, 51, .35);
}
.soon-note { font-weight: 800; font-size: .82rem; padding: 6px 12px; border: 2px dashed #4b4f5a; border-radius: 10px; color: #4b4f5a; }
.product-art { background: var(--c, var(--blue)); }

/* E-book */
.book { position: relative; aspect-ratio: 3 / 4; display: flex; transform: rotate(-4deg); filter: drop-shadow(5px 5px 0 var(--ink)); }
.book-spine { width: 9%; background: color-mix(in srgb, var(--c) 70%, #000); border: var(--line); border-right: 0; border-radius: 8px 0 0 8px; }
.book-front { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8%; padding: 14% 12%; background: var(--paper); border: var(--line); border-radius: 0 10px 10px 0; font-size: clamp(6px, .8vw, 10px); }
.book-front h4 { font-family: var(--display); font-weight: 400; font-size: 2.4em; line-height: .95; text-transform: uppercase; }
.book-front .chip { align-self: flex-start; font-weight: 800; font-size: 1em; padding: .2em .7em; border: 2px solid var(--ink); border-radius: .4em; background: var(--c); color: var(--paper); }
.book-star { position: absolute; right: 10%; bottom: 8%; width: 32%; }
.book-star svg { width: 100%; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.book .ln, .doc .ln, .planner .ln { display: block; height: .7em; border-radius: 99px; background: #d9d4c4; }
.book .ln.s, .doc .ln.s, .planner .ln.s { width: 55%; }
.book .ln.m, .doc .ln.m, .planner .ln.m { width: 75%; }

/* CV / dokumen */
.doc { aspect-ratio: 3 / 4; display: flex; flex-direction: column; gap: 9%; padding: 12% 11%; background: var(--paper); border: var(--line); border-radius: 8px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(3deg); font-size: clamp(6px, .8vw, 10px); }
.doc-head { display: flex; align-items: center; gap: 10%; }
.doc-head > div { flex: 1; display: flex; flex-direction: column; gap: .6em; }
.doc-photo { width: 30%; aspect-ratio: 1; border-radius: 50%; border: var(--line); }
.doc h4 { font-family: var(--display); font-weight: 400; font-size: 1.5em; line-height: 1; text-transform: uppercase; }
.doc-sec { display: flex; flex-direction: column; gap: .6em; }
.doc-sec b { width: 34%; height: .9em; border: 2px solid var(--ink); border-radius: 99px; }

/* Planner */
.plan { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2em; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; align-content: start; }
.cal i { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: .3em; background: var(--paper); }
.checks { display: flex; flex-direction: column; gap: .8em; }
.checks li { display: flex; align-items: center; gap: .6em; }
.checks li i { flex: none; width: 1.3em; height: 1.3em; border: 2px solid var(--ink); border-radius: .3em; }
.checks li.on i { background: var(--ink); }
.checks .ln { flex: 1; }


/* Unggulan */
.pack-name { font-weight: 800; margin-top: 10px; color: var(--blue-d); }
.pack-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }
.pack-foot .pack-extras { margin-top: 0; }
.pack-actions { margin-top: 0; justify-content: center; color: var(--ink); }

.cta-actions { justify-content: center; margin-top: 0; }

/* Panel detail */
.detail { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.detail-bg { position: absolute; inset: 0; background: rgba(17, 17, 17, .55); opacity: 0; transition: opacity .35s; }
.detail-card {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); border-left: var(--line); box-shadow: -8px 0 0 var(--ink);
  transform: translateX(105%); transition: transform .5s var(--ease);
}
.detail.open { pointer-events: auto; }
.detail.open .detail-bg { opacity: 1; }
.detail.open .detail-card { transform: none; }
.detail-x { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 3; width: 42px; height: 42px; border: var(--line); border-radius: 12px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); font-weight: 800; cursor: pointer; }
.detail-body { padding: 0 28px 120px; display: flex; flex-direction: column; gap: 12px; }
.detail-art { display: grid; place-items: center; margin: 0 -28px 10px; padding: 70px 40px 40px; background: var(--c); border-bottom: var(--line); }
.detail-art > .slide, .detail-art > .planner { width: 90%; }
.detail-body .tag { align-self: flex-start; }
.detail-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.02; text-transform: uppercase; }
.detail-body .sub { font-weight: 700; color: var(--blue); margin-top: -6px; }
.detail-body h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; margin-top: 12px; }
.d-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-parts li { display: flex; flex-direction: column; padding: 12px; border: var(--line); border-radius: 12px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.d-parts b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.d-parts span { font-size: .85rem; color: var(--ink-2); font-weight: 700; }
.d-extras li, .d-feats li { padding-left: 22px; position: relative; font-size: .95rem; }
.d-extras li::before, .d-feats li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; color: var(--blue); }
.d-feats { display: grid; gap: 10px; }
.d-feats b { display: block; }
.d-feats span { color: var(--ink-2); font-size: .9rem; }
.detail-body .faq summary { font-size: .95rem; padding: 14px 18px; }
.sample-note { font-weight: 700; font-size: .85rem; padding: 8px 12px; border: 2px dashed var(--ink); border-radius: 10px; background: var(--paper); }
.detail-buy {
  position: fixed; bottom: 0; right: 0; width: min(520px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 28px; background: var(--paper); border-top: var(--line); border-left: var(--line);
}
.detail-buy b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.detail-buy small { font-size: .78rem; color: var(--ink-2); font-weight: 700; }

@media (max-width: 980px) {
}
@media (max-width: 640px) {
  .detail-card { border-left: 0; box-shadow: none; }
  .detail-body { padding: 0 20px 120px; }
  .detail-art { margin: 0 -20px 10px; }
  .detail-buy { border-left: 0; padding: 14px 20px; }
  .d-parts { gap: 6px; }
}

/* Ukuran teks ilustrasi mengikuti lebar kotaknya (bukan layar), jadi pas di hero, kartu, panel & kipas */
.toy-art, .pcard-art, .detail-art, .product-art, .deck { container-type: inline-size; }
.slide { font-size: 2.05cqw; }
.book-front { font-size: 2.3cqw; }
.doc { font-size: 2.1cqw; }
.book, .doc { color: var(--ink); }
.toy-art .book, .toy-art .doc { width: 62%; }
.detail-x { position: fixed; top: 14px; right: 14px; float: none; margin: 0; }
.detail-buy .btn { white-space: nowrap; flex: none; }
button.btn { font-family: inherit; color: var(--ink); }
/* Langit transisi Ricky ↔ Toko: malam dan pagi di atas gunung yang sama dengan header parallax.
   Malam selalu di bawah; pagi (langit, matahari, gunung siang) memudar di atasnya. */
.sky { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.sky.on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.sky-night, .sky-day { position: absolute; inset: 0; }
.sky-night {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #eef3ff 99%, transparent), radial-gradient(1.5px 1.5px at 33% 32%, #cfe0ff 99%, transparent),
    radial-gradient(2px 2px at 58% 14%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 74% 36%, #a9c8ff 99%, transparent),
    radial-gradient(2px 2px at 86% 12%, #eef3ff 99%, transparent), radial-gradient(1.5px 1.5px at 22% 40%, #cfe0ff 99%, transparent),
    radial-gradient(1.5px 1.5px at 47% 6%, #fff 99%, transparent), radial-gradient(2px 2px at 93% 28%, #cfe0ff 99%, transparent),
    radial-gradient(ellipse at 50% 40%, #1b2a4e, #060b18 70%);
}
.sky-day { background: linear-gradient(180deg, #0f8b8d 0%, #3a9e9b 34%, #9fd0c4 60%, #ffdcb6 82%); opacity: 0; transition: opacity 1.5s ease; }
.sky.day .sky-day { opacity: 1; }
.sky-land, .hero-land { position: absolute; top: 0; left: 0; right: 0; height: 120svh; pointer-events: none; }
.sky-land .m { position: absolute; inset: 0; }
.sky-land img, .hero-land img { position: absolute; top: 0; left: 0; width: 100%; height: 117.5%; object-fit: cover; object-position: 50% 100%; }
.sky-land img.d { opacity: 0; transition: opacity 1.5s ease; }
.sky.day img.d { opacity: 1; }
.sun {
  position: absolute; left: 50%; top: 50svh; width: clamp(90px, 15vmin, 170px); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, #fffaf0 0 55%, #ffe7c2 75%); box-shadow: 0 0 60px 24px rgba(255, 222, 176, .55), 0 0 160px 70px rgba(255, 214, 160, .3);
}
.sky .sun { translate: -50% 45svh; opacity: 0; transition: translate 1.6s cubic-bezier(.55, 0, .7, .4), opacity 1s ease .5s; }
.sky.day .sun { translate: -50% -50%; opacity: 1; transition: translate 1.9s cubic-bezier(.2, .7, .25, 1), opacity .8s ease; }
/* Kamera sedikit mendongak lalu kembali: lapis dekat bergeser paling jauh */
.sky.go .m { animation: sky-bob 1.9s ease-in-out; }
.sky .m1 { --b: 1.5%; } .sky .m2 { --b: 3%; } .sky .m4 { --b: 6%; }
@keyframes sky-bob { 50% { translate: 0 var(--b); } }
