:root {
  --bg: #F7F7F7;
  --ink: #1A1A1A;
  --gray: #4B5563;
  --sage: #D3D8C7;
  --mist: #D9D9D6;
  --olive: #2E3521;
  --lime: #C6F24E;
  --pill: #2B2B2B;
  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --script: 'Caveat', cursive;
  /* layout: full-screen hero, then scroll-driven sticky stages, then the order-note tool and a marquee footer */
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

.small { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.3; }
.huge { font-weight: 400; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.9; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding: 0 20px; color: #fff; transition: color .3s ease; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header.dark { color: var(--ink); }
.site-header .logo { justify-self: start; text-decoration: none; padding: 12px 0; display: inline-flex; align-items: center; gap: 10px; }
/* logo asli Bhagawanta; warnanya ikut warna teks header (putih di atas foto, gelap setelah digulir) */
.logo-mark { width: 30px; height: 33px; flex: none; background: currentColor; -webkit-mask: url(/media/logo-mark.png) center / contain no-repeat; mask: url(/media/logo-mark.png) center / contain no-repeat; }
.logo-text { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
/* header jadi bilah buram setelah melewati hero, supaya teks di belakangnya tidak bertabrakan */
.site-header { transition: color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.site-header.dark:not(.menu-open) { background: rgba(247,247,247,.84); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 rgba(26,26,26,.06); }

/* produk berupa foto JPG (belum ada versi tanpa background): dibuat seperti tatakan/stiker bundar */
.prod.is-photo { width: clamp(190px, 22vw, 320px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; outline: 2px dashed var(--olive); outline-offset: 8px; filter: drop-shadow(0 26px 22px rgba(0,0,0,.22)); }
.prod-grid article img.is-photo { width: min(260px, 100%); height: auto; aspect-ratio: 1; margin-inline: auto; object-fit: cover; border-radius: 50%; border: 6px solid #fff; outline: 2px dashed var(--olive); outline-offset: 6px; }
.nav-pill { justify-self: center; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--pill); color: #fff; font-size: 11px; white-space: nowrap; }
.nav-pill a { color: #fff; text-decoration: none; padding: 9px 12px; }
.nav-pill .clock { padding: 9px 4px 9px 10px; font-variant-numeric: tabular-nums; }
.nav-pill .tz { padding: 9px 12px 9px 4px; }
.menu-btn { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font-family: inherit; }
.menu-btn .dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.overlay { position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 20px 40px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.overlay.open { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.overlay a { text-decoration: none; font-size: clamp(56px, 11vw, 168px); }
.overlay a:nth-child(even) { color: var(--sage); }
@media (max-width: 640px) { .nav-pill { display: none; } }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 40%, rgba(0,0,0,.25)); }
.marquee-wrap { position: absolute; left: 0; right: 0; top: 9%; overflow: hidden; color: #fff; pointer-events: none; }
.marquee { display: flex; width: max-content; white-space: nowrap; }
.marquee span { padding-right: .3em; }
.hero .marquee { font-size: clamp(96px, 15vw, 236px); }
.hero-tags { position: absolute; right: 20px; top: 42%; text-align: right; color: #fff; overflow: hidden; }
.hero-tags p { margin: 0; }
.hero-caption { position: absolute; left: 20px; bottom: 22px; margin: 0; max-width: 30ch; color: #fff; }
.hero-scroll { position: absolute; right: 20px; bottom: 12px; color: #fff; text-decoration: none; padding: 10px 0; }
.loader-name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; text-align: center; color: var(--gray); font-size: 11px; font-weight: 500; text-transform: uppercase; z-index: 3; }
.counter-wrap { position: absolute; right: 20px; bottom: 0; overflow: hidden; z-index: 3; }
.counter { display: flex; font-size: clamp(140px, 22vw, 330px); font-weight: 400; line-height: 1; letter-spacing: -0.05em; color: var(--sage); font-variant-numeric: tabular-nums; }
.digit { display: block; height: 1em; overflow: hidden; }
.digit > span { display: flex; flex-direction: column; }
.digit > span > span { display: block; height: 1em; }
.is-loading .hero-photo { clip-path: inset(50% 50% 50% 50%); }
.is-loading .marquee-wrap, .is-loading .hero-tags, .is-loading .hero-caption, .is-loading .hero-scroll, .is-loading .site-header { opacity: 0; }
html:not(.is-loading) .loader-name, html:not(.is-loading) .counter-wrap { display: none; }

/* stickers */
.drag { position: absolute; z-index: 6; cursor: grab; touch-action: none; }
.st-bean { width: 96px; height: 84px; border-radius: 26px; background: var(--lime); display: flex; align-items: center; justify-content: center; transform: rotate(-10deg); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.st-tag { padding: 14px 24px; background: var(--olive); color: var(--lime); font-size: 22px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transform: rotate(-28deg); box-shadow: 0 6px 16px rgba(0,0,0,.18); text-transform: uppercase; }
.st-badge { width: 132px; height: 132px; transform: rotate(6deg); }
.st-pill { padding: 12px 20px 10px; border-radius: 999px; background: #fff; border: 2px solid var(--olive); color: var(--olive); display: flex; flex-direction: column; align-items: center; transform: rotate(-14deg); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.st-pill b { font-size: 26px; font-weight: 600; line-height: 1; }
.st-pill small { font-size: 9px; font-weight: 600; letter-spacing: .2em; }
.st-script { font-family: var(--script); font-size: 58px; font-weight: 700; color: var(--ink); line-height: 1; transform: rotate(-8deg); white-space: nowrap; }

/* about */
.about { position: relative; background: var(--bg); padding: 28px 20px 140px; display: flex; flex-direction: column; gap: 72px; }
.about-labels { display: flex; justify-content: space-between; gap: 24px; color: var(--gray); }
.about-labels p { margin: 0; }
.about-text { margin: 0 0 0 auto; max-width: 1180px; text-align: right; font-size: clamp(32px, 4.7vw, 76px); font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; color: var(--gray); text-wrap: balance; }

/* sticky stages */
.pin { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.welcome { height: 400vh; }
.discover { height: 300vh; }
.explore { height: 450vh; background: var(--bg); }

.welcome-small { position: absolute; left: 6%; top: 15%; margin: 0; color: var(--gray); z-index: 2; white-space: pre-line; }
.welcome-big { position: absolute; left: 0; top: 50%; margin: -0.45em 0 0; white-space: nowrap; font-size: clamp(150px, 24vw, 380px); color: var(--mist); z-index: 1; }
.float { position: absolute; z-index: 2; object-fit: cover; }
.f0 { left: 4%; top: 52%; width: clamp(160px, 24vw, 360px); aspect-ratio: 1 / 1; }
.f1 { left: 36%; top: 8%; width: clamp(110px, 12vw, 180px); aspect-ratio: 3 / 4; }
.f2 { right: 6%; top: 10%; width: clamp(130px, 15vw, 230px); aspect-ratio: 4 / 5; }
.f3 { left: 30%; top: 62%; width: clamp(70px, 7vw, 110px); object-fit: contain; }
.f4 { right: 18%; top: 58%; width: clamp(150px, 19vw, 290px); aspect-ratio: 4 / 5; }
.f5 { left: 58%; top: 34%; width: clamp(100px, 10vw, 160px); aspect-ratio: 1 / 1; }
.f6 { right: 3%; top: 64%; width: clamp(60px, 6vw, 96px); object-fit: contain; }

.reveal-box { position: absolute; inset: 0; overflow: hidden; }
.reveal-box img { width: 100%; height: 100%; object-fit: cover; }
.card { position: absolute; right: 0; bottom: 0; width: min(100%, 720px); background: var(--bg); padding: 48px 32px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.card h2 { margin: 0; font-size: clamp(36px, 4.4vw, 68px); font-weight: 500; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; text-wrap: balance; }
.card p { margin: 0; max-width: 46ch; color: var(--gray); }
.btn-dark { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px; background: var(--olive); color: #fff; text-decoration: none; }
.btn-dark:hover { color: var(--lime); }

.explore-words { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; gap: clamp(120px, 20vw, 300px); font-size: clamp(48px, 9vw, 150px); color: var(--sage); white-space: nowrap; }
.explore-words h2 { margin: 0; font: inherit; color: inherit; }
.prod { position: absolute; left: 50%; top: 50%; width: clamp(150px, 19vw, 280px); height: clamp(190px, 26vw, 380px); transform: translate(-50%, -50%); object-fit: contain; filter: drop-shadow(0 26px 22px rgba(0,0,0,.22)); }
.prod-wrap { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.prod-wrap img { position: absolute; left: 0; top: 0; }
.prod-label { position: absolute; left: 20px; right: 20px; bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; color: var(--gray); }
.prod-label .ink { color: var(--ink); }
.prod-label .right { text-align: right; }
.prod-grid { display: none; padding: 96px 20px; flex-direction: column; gap: 48px; }
.prod-grid-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px 24px; }
.prod-grid article { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 12px; color: var(--gray); }
.prod-grid article img { height: 260px; object-fit: contain; }
.prod-grid .name { color: var(--ink); font-size: 18px; }

/* note */
.note { position: relative; color: #fff; background: var(--olive); overflow: clip; }
.note-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.note::before { content: ""; position: absolute; inset: 0; background: rgba(46,53,33,.62); z-index: 1; }
.note-inner { position: relative; z-index: 2; padding: 110px 20px 24px; display: flex; flex-direction: column; gap: 56px; }
.note-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.note-head h2 { margin: 0; font-size: clamp(52px, 8.4vw, 132px); max-width: 9ch; }
.note-head p { margin: 0; max-width: 30ch; }
.note-stage { position: relative; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.note-card { position: relative; width: min(100%, 640px); aspect-ratio: 4 / 3; background: var(--olive); box-shadow: 0 30px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px; text-align: center; overflow: hidden; }
.note-card .ghost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 4%; font-size: clamp(80px, 15vw, 220px); font-weight: 600; line-height: 1; color: rgba(247,247,247,.06); text-transform: uppercase; }
.note-card p { position: relative; margin: 0; }
.note-main { font-size: clamp(26px, 4vw, 48px); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip { padding: 4px 8px; background: var(--lime); color: var(--olive); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.btn-white { position: relative; min-height: 56px; padding: 0 36px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 500 16px var(--font); text-transform: uppercase; cursor: pointer; }
.picker { position: sticky; bottom: 16px; z-index: 8; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px; border-radius: 28px; background: rgba(20,24,12,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.group > span { font-size: 11px; padding-right: 4px; }
.opt { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(247,247,247,.55); font: 500 12px var(--font); text-transform: uppercase; cursor: pointer; background: transparent; color: var(--bg); white-space: nowrap; }
.opt[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.reset { margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(247,247,247,.55); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* footer */
.site-footer { background: var(--bg); padding: 48px 0 24px; display: flex; flex-direction: column; gap: 120px; }
.footer-cols { padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; color: var(--gray); }
.footer-cols p { margin: 0; white-space: pre-line; }
.footer-cols .right { text-align: right; }
.footer-marquee { overflow: hidden; color: var(--sage); }
.footer-marquee .marquee { font-size: clamp(110px, 17vw, 270px); }

/* tombol pesan WhatsApp */
.note-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--lime); color: var(--olive); font: 600 16px var(--font); text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 24px rgba(198,242,78,.25); }
.btn-wa.is-empty { opacity: .75; }
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--olive); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.22); opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.foot-link { text-decoration: none; border-bottom: 1px solid currentColor; }

/* sentuhan interaksi */
.float, .prod-grid img, .note-bg { transition: opacity .6s ease, scale .5s ease; }
.img-wait { opacity: 0 !important; }
.float:hover { scale: 1.04; }
.prod-grid article img { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.prod-grid article:hover img { transform: translateY(-6px) rotate(-3deg); }
.btn-white, .btn-wa, .btn-dark { transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-white:hover, .btn-wa:hover, .btn-dark:hover { transform: translateY(-2px); }
.btn-wa:hover { box-shadow: 0 14px 30px rgba(198,242,78,.4); }
.wa-float.show:hover { transform: translateY(-3px) scale(1.05); }
.opt { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.opt:hover { border-color: #fff; }
.overlay a { transition: color .2s ease; }
.overlay a:hover { color: var(--olive); }
.foot-link:hover { color: var(--olive); }

/* reduced motion or no JS animation */
.no-motion .welcome, .no-motion .discover { height: auto; }
.no-motion .stage { position: relative; }
.no-motion .explore { height: auto; }
.no-motion .explore .stage { display: none; }
.no-motion .prod-grid { display: flex; }
@media (max-width: 640px) {
  .st { scale: 0.62; }
  .prod-label { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 36px 20px 28px; }
  /* stiker di bagian Tentang pindah ke bawah, tidak menutupi paragraf */
  .about .drag { top: auto !important; bottom: 40px; left: 20px !important; }
  /* panel pilihan tidak lagi melayang menutupi kartu catatan; daftar menu digeser ke samping */
  .note-stage { min-height: 0; }
  .picker { position: relative; bottom: auto; flex-direction: column; align-items: stretch; gap: 14px; border-radius: 22px; }
  .group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; min-width: 0; }
  .group::-webkit-scrollbar { display: none; }
  .group > span { flex: none; width: 48px; }
  .reset { margin-left: 0; align-self: flex-end; }
  .note-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-wa, .btn-white { justify-content: center; }
  .note-stage .drag { display: none; }
  .wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .float, .prod-grid img, .note-bg, .btn-white, .btn-wa, .btn-dark, .wa-float, .opt, .site-header { transition: none; }
  .float:hover, .prod-grid article:hover img, .btn-white:hover, .btn-wa:hover, .btn-dark:hover { transform: none; scale: none; }
}
