/* ============================================================
   Greeny's — Landing page
   Palet sage green (selaras greeny.css): #F1F4ED #4F6B54 #344C3D #8EA58C
   Berdiri sendiri — tidak memengaruhi halaman marketplace lain.
   ============================================================ */

:root {
  --bg: #F1F4ED;
  --bg-soft: #E7EEE1;
  --card: #FFFFFF;
  --ink: #2A352A;
  --muted: #54624F;
  --primary: #4F6B54;
  --primary-deep: #344C3D;
  --sage: #8EA58C;
  --sage-light: #BFCFBB;
  --radius: 20px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(.22, .8, .26, .99);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--primary);
  animation: pulseMark 1.4s var(--ease) infinite alternate;
}
.preloader__mark span { color: var(--sage); }
@keyframes pulseMark {
  from { transform: scale(.96); opacity: .6; }
  to   { transform: scale(1.04); opacity: 1; }
}

/* ---------- navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(241, 244, 237, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(42, 53, 42, .08);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.35rem;
  color: var(--primary);
  display: flex; align-items: center; gap: 10px;
}
.nav__logo .leaf {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 4px 18px rgba(79, 107, 84, .35);
}
.nav__links { display: none; }
.nav__links a {
  font-size: .93rem; font-weight: 600; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--primary); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  border: 0;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s;
}
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 10px 26px rgba(79, 107, 84, .3);
}
.btn--primary:hover { background: var(--primary-deep); transform: translateY(-3px); }
.btn--ghost {
  border: 1.5px solid var(--sage-light); color: var(--primary);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--primary); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--primary-deep); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.nav .btn { padding: 10px 22px; font-size: .88rem; }
/* set tombol di dalam menu khusus tampilan mobile */
.nav__links .nav__actions { display: none; }

/* toggle tema */
.nav__iconrow { display: none; }

.theme-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--sage-light);
  background: transparent; color: var(--primary);
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.theme-btn:hover { border-color: var(--primary); transform: rotate(15deg); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .ico-sun { display: none; }
html.dark .theme-btn .ico-sun { display: block; }
html.dark .theme-btn .ico-moon { display: none; }
/* ---------- nav split editorial: logo tengah, menu kiri-kanan ---------- */
.nav__inner--split {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
}
.nav__logo--center { justify-self: center; }
.nav__side { display: flex; align-items: center; gap: 24px; }
.nav__side--left { justify-self: start; }
.nav__side--right { justify-self: end; }
.nav__side a:not(.btn):not(.theme-btn) {
  font-size: .93rem; font-weight: 600; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav__side a:not(.btn):not(.theme-btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__side a:not(.btn):not(.theme-btn):hover { color: var(--primary); }
.nav__side a:not(.btn):not(.theme-btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav:not(.scrolled) .nav__side a:not(.btn):not(.theme-btn) { color: #C4D2BE; }
.nav:not(.scrolled) .nav__side a:not(.btn):not(.theme-btn):hover { color: #fff; }
.nav:not(.scrolled) .nav__side a:not(.btn):not(.theme-btn)::after { background: #CDE3C6; }

.nav__burger {
  display: none; background: none; border: 0;
  width: 42px; height: 42px; position: relative; z-index: 110;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--ink); transition: .35s var(--ease);
}
/* di atas hero gelap (belum scroll) garis burger harus terang */
.nav:not(.scrolled) .nav__burger span { background: #EAF2E6; }
html.dark .nav__burger span { background: #DCE6D7; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero: hutan gelap atmosferik (foto + glow + partikel) ---------- */
.hero {
  min-height: 100svh;
  display: grid; align-items: center;
  position: relative;
  padding: 150px 0 130px;
  overflow: hidden;
  color: #EAF2E6;
  background:
    linear-gradient(160deg, rgba(16, 26, 19, .92) 0%, rgba(24, 38, 28, .88) 45%, rgba(31, 48, 36, .92) 100%),
    url("https://images.unsplash.com/photo-1440342359743-84fcb8c21f21?q=80&w=1800&auto=format&fit=crop") center 40% / cover no-repeat fixed,
    #16201A;
}
/* tepi bawah "tinta jatuh" menuju section terang */
.hero::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -2px;
  height: 84px; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='ink' x='-20%25' y='-120%25' width='140%25' height='340%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-80' y='58' width='1600' height='120' fill='%23ffffff' filter='url(%23ink)'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
html.dark .hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='ink' x='-20%25' y='-120%25' width='140%25' height='340%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-80' y='58' width='1600' height='120' fill='%23101712' filter='url(%23ink)'/%3E%3C/svg%3E");
}
/* blob organik bercahaya, morph pelan */
.hero__blobs i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
  animation: blobDrift 16s ease-in-out infinite alternate;
}
.hero__blobs .b1 {
  width: 46vw; height: 46vw; right: -12vw; top: -14vw;
  background: radial-gradient(circle, rgba(142, 165, 140, .5), transparent 65%);
}
.hero__blobs .b2 {
  width: 34vw; height: 34vw; left: -10vw; bottom: -8vw;
  background: radial-gradient(circle, rgba(79, 107, 84, .55), transparent 65%);
  animation-delay: -6s;
}
.hero__blobs .b3 {
  width: 20vw; height: 20vw; left: 42vw; top: 52%;
  background: radial-gradient(circle, rgba(205, 227, 198, .28), transparent 65%);
  animation-delay: -11s; animation-duration: 22s;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4vw, -3vw) scale(1.18); }
}
/* navbar transparan di atas hero gelap: teks terang; balik normal saat scrolled */
.nav:not(.scrolled) .nav__logo { color: #EAF2E6; }
.nav:not(.scrolled) .nav__links a { color: #C4D2BE; }
.nav:not(.scrolled) .nav__links a:hover,
.nav:not(.scrolled) .nav__links a.active { color: #fff; }
.nav:not(.scrolled) .nav__links a::after { background: #CDE3C6; }
.nav:not(.scrolled) .theme-btn { color: #CDE3C6; border-color: rgba(234, 242, 230, .3); }
.nav:not(.scrolled) .btn--ghost { border-color: rgba(234, 242, 230, .35); color: #EAF2E6; }

/* ---------- hero editorial: teks di tengah, visual di bawah ---------- */
.hero__grid {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 56px;
}
.hero__grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow::after {
  content: ""; width: 42px; height: 2px; background: currentColor;
}
.hero__title { font-size: clamp(2.7rem, 6.2vw, 4.8rem); }
.hero__title .leafword {
  font-family: "Playfair Display", serif;
  font-style: italic; font-weight: 600;
}
.hero__sub { max-width: 620px; }
.hero__actions, .hero__stats { justify-content: center; }

/* teks hero di atas latar gelap */
.hero .hero__eyebrow { color: #CDE3C6; }
.hero .hero__eyebrow::before { background: #CDE3C6; }
.hero .hero__title { color: #F1F6EF; }
.hero .hero__title .leafword { color: #A9C5A0; }
.hero .hero__title .leafword::after { background: rgba(142, 165, 140, .32); }
.hero .hero__sub { color: #C4D2BE; }
.hero .stat__num { color: #DCEBD5; }
.hero .stat__label { color: #A8BBA1; }
.hero .btn--ghost { border-color: rgba(234, 242, 230, .35); color: #EAF2E6; }
.hero .btn--ghost:hover { border-color: #CDE3C6; color: #CDE3C6; }
.hero__scroll { color: #A8BBA1; }
.hero__leafmark path { stroke: #CDE3C6; }
.hero__leafmark { opacity: .55; }
.hero__chip { color: var(--ink); }
html.dark .hero__chip { color: #DCE6D7; }

/* daun berjatuhan (di-spawn landing.js) */
.hero__leaves { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__leaves span {
  position: absolute; top: -6vh;
  animation: leafFall linear infinite;
  opacity: .5; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}
@keyframes leafFall {
  0%   { transform: translateY(-8vh) translateX(0) rotate(0deg); }
  25%  { transform: translateY(24vh) translateX(4vw) rotate(80deg); }
  50%  { transform: translateY(52vh) translateX(-3vw) rotate(170deg); }
  75%  { transform: translateY(80vh) translateX(3vw) rotate(260deg); }
  100% { transform: translateY(112vh) translateX(-2vw) rotate(350deg); }
}
.hero__leafmark {
  position: absolute; right: -6vw; top: 8%;
  width: clamp(340px, 42vw, 640px);
  opacity: .09;
  pointer-events: none; user-select: none;
  animation: swayLeaf 12s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes swayLeaf {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(5deg); }
}
.hero__grid { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--primary); font-size: .85rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--primary); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.12; letter-spacing: -.02em;
}
.hero__title em { font-style: normal; color: var(--primary); }
.hero__title .leafword {
  position: relative; color: var(--primary);
}
.hero__title .leafword::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 12px; background: rgba(142, 165, 140, .35);
  z-index: -1; border-radius: 6px;
}
.hero__sub { margin-top: 22px; max-width: 500px; color: var(--muted); font-size: 1.08rem; }
.hero__actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 42px; margin-top: 48px; flex-wrap: wrap; }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.2rem; color: var(--primary-deep); line-height: 1;
}
.stat__label { color: var(--muted); font-size: .85rem; margin-top: 6px; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__img {
  width: min(430px, 78vw); aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 240px 240px var(--radius) var(--radius);
  box-shadow: 0 40px 90px rgba(42, 53, 42, .25), 0 0 0 12px rgba(255, 255, 255, .6);
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.hero__chip {
  position: absolute; background: #fff;
  border-radius: 16px; padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(42, 53, 42, .16);
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; font-weight: 700;
  animation: floaty 7s ease-in-out infinite;
}
.hero__chip .dot {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(79, 107, 84, .12);
}
.hero__chip small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.hero__chip--1 { top: 8%; left: -4%; animation-delay: .8s; }
.hero__chip--2 { bottom: 10%; right: -6%; animation-delay: 1.6s; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted); font-size: .72rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  display: grid; justify-items: center; gap: 8px; z-index: 3;
}
.hero__scroll::after {
  content: ""; width: 2px; height: 40px;
  background: linear-gradient(var(--primary), transparent);
  animation: dropline 1.8s var(--ease) infinite;
}
@keyframes dropline {
  from { transform: scaleY(0); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: top; }
  to   { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid rgba(191, 207, 187, .5);
  padding: 16px 0; overflow: hidden;
  background: #fff;
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.marquee__track span b { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--tint { background: var(--bg-soft); }
.section__head { max-width: 620px; margin-bottom: 52px; }
.section__head--split {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section__eyebrow {
  color: var(--sage); font-size: .8rem; font-weight: 800;
  letter-spacing: .26em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sage); }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.18; letter-spacing: -.01em;
}
.section__title em { font-style: normal; color: var(--primary); }
.section__desc { margin-top: 14px; color: var(--muted); }

/* ---------- kategori ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; display: flex; align-items: flex-end;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(42, 53, 42, .22); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 36, 28, .82));
}
.cat-card__body { position: relative; z-index: 2; padding: 22px; color: #fff; width: 100%; }
.cat-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.cat-card__count { font-size: .82rem; opacity: .85; }
.cat-card__go {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--primary-deep);
  display: grid; place-items: center; font-weight: 800;
  transform: rotate(-45deg);
  transition: transform .35s var(--ease), background .35s;
}
.cat-card:hover .cat-card__go { transform: rotate(0deg); background: #fff; }

/* ---------- kenapa greeny ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--card); border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(191, 207, 187, .45);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(42, 53, 42, .12); }
.why-card__icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(79, 107, 84, .1); margin-bottom: 20px;
}
.why-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; }
.why-card__desc { color: var(--muted); font-size: .93rem; margin-top: 10px; }

/* ---------- produk unggulan ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(191, 207, 187, .45);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(42, 53, 42, .16); }
.prod-card__imgwrap { overflow: hidden; aspect-ratio: 1; position: relative; }
.prod-card__imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.prod-card:hover .prod-card__imgwrap img { transform: scale(1.08); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 13px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--primary); color: #fff;
}
.prod-card__body { padding: 18px 20px 22px; }
.prod-card__cat { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.prod-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.prod-card__price { color: var(--primary-deep); font-weight: 800; margin-top: 10px; }

/* ---------- community band ---------- */
.band {
  border-radius: calc(var(--radius) * 1.6);
  background:
    radial-gradient(90% 130% at 90% 0%, rgba(142, 165, 140, .5), transparent 60%),
    var(--primary-deep);
  color: #fff;
  padding: 70px 60px;
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.band__leaf {
  position: absolute; right: -40px; bottom: -60px;
  width: 280px; opacity: .12; pointer-events: none;
}
.band__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2;
}
.band__title em { font-style: normal; color: #CDE3C6; }
.band p { margin-top: 14px; opacity: .85; }
.band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- footer ---------- */
.footer {
  background: #E2EADC;
  border-top: 1px solid rgba(191, 207, 187, .6);
  padding: 60px 0 28px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer h4 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; margin-bottom: 16px; color: var(--primary-deep);
}
.footer li { margin-bottom: 9px; }
.footer li a, .footer li span { color: var(--muted); font-size: .92rem; transition: color .3s; }
.footer li a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(191, 207, 187, .6);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}

/* ---------- dark mode (selaras palet dark greeny.css) ---------- */
html.dark {
  color-scheme: dark;
  --bg: #141B16;
  --bg-soft: #1B241D;
  --card: #212C23;
  --ink: #DCE6D7;
  --muted: #AEC0A9;
  --primary: #8EA58C;
  --primary-deep: #5C7460;
  --sage: #8EA58C;
  --sage-light: #3A4A3C;
}
html.dark .preloader { background: var(--bg); }
html.dark .nav.scrolled {
  background: rgba(20, 27, 22, .9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}
html.dark .nav__logo .leaf { background: var(--primary-deep); }
html.dark .btn--primary { background: var(--primary-deep); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
html.dark .btn--primary:hover { background: #6b8570; }
html.dark .btn--light { background: #DCE6D7; color: #18211A; }
/* dark mode: foto tetap ada, overlay lebih pekat */
html.dark .hero {
  background:
    linear-gradient(160deg, rgba(10, 16, 12, .93) 0%, rgba(15, 24, 18, .9) 45%, rgba(19, 30, 23, .93) 100%),
    url("https://images.unsplash.com/photo-1440342359743-84fcb8c21f21?q=80&w=1800&auto=format&fit=crop") center 40% / cover no-repeat fixed,
    #101712;
}
html.dark #kenapa {
  background:
    linear-gradient(160deg, rgba(8, 13, 10, .92) 0%, rgba(14, 22, 17, .9) 100%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1600&auto=format&fit=crop") center / cover no-repeat fixed;
}
html.dark .hero__title .leafword::after { background: rgba(92, 116, 96, .45); }
html.dark .hero__img { box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 12px rgba(220, 230, 215, .08); }
html.dark .hero__chip { background: #212C23; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
html.dark .hero__chip .dot { background: rgba(142, 165, 140, .15); }
html.dark .marquee { background: #101712; border-color: rgba(58, 74, 60, .6); }
html.dark .why-card, html.dark .prod-card { border-color: rgba(58, 74, 60, .7); }
html.dark .why-card:hover, html.dark .prod-card:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
html.dark .why-card__icon { background: rgba(142, 165, 140, .12); }
html.dark .prod-card__price { color: #CDE3C6; }
html.dark .stat__num { color: #CDE3C6; }
html.dark .cat-card__go { background: rgba(33, 44, 35, .9); color: #DCE6D7; }
html.dark .cat-card:hover .cat-card__go { background: #212C23; }
html.dark .band { background: none; }
html.dark #jualan {
  background:
    linear-gradient(160deg, rgba(8, 13, 10, .92) 0%, rgba(14, 22, 17, .9) 100%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1600&auto=format&fit=crop") center / cover no-repeat fixed;
}
html.dark .footer { background: #101712; border-color: rgba(58, 74, 60, .6); }
html.dark .footer h4 { color: #CDE3C6; }
html.dark .footer__bottom { border-color: rgba(58, 74, 60, .6); }
@media (max-width: 768px) {
  html.dark .nav__links { background: rgba(16, 23, 18, .97); }
}

/* ---------- pengisi ruang: blob aksen di section terang ---------- */
#kategori, #produk, #kenapa, #jualan { overflow: hidden; }
#kategori::before, #produk::before {
  content: ""; position: absolute; pointer-events: none;
  width: 40vw; height: 40vw; border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(142, 165, 140, .22), transparent 65%);
}
#kategori::before { top: -14vw; right: -14vw; }
#produk::before { bottom: -14vw; left: -14vw; }

/* ---------- section "Kenapa": band hutan berkabut (ritme gelap-terang ala kyoto) ---------- */
#kenapa {
  background:
    linear-gradient(160deg, rgba(14, 22, 16, .9) 0%, rgba(22, 34, 25, .88) 100%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1600&auto=format&fit=crop") center / cover no-repeat fixed;
  color: #EAF2E6;
}
#kenapa .section__eyebrow { color: #CDE3C6; }
#kenapa .section__eyebrow::before { background: #CDE3C6; }
#kenapa .section__title { color: #F1F6EF; }
#kenapa .section__title em { color: #A9C5A0; }
#kenapa .section__desc { color: #C4D2BE; }
#kenapa .why-card {
  background: rgba(22, 34, 25, .55);
  border-color: rgba(205, 227, 198, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#kenapa .why-card:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .45); }
#kenapa .why-card__title { color: #F1F6EF; }
#kenapa .why-card__desc { color: #B9C9B3; }
#kenapa .why-card__icon { background: rgba(205, 227, 198, .14); }

/* section jualan = band gelap full-bleed (selang-seling terang-gelap ala #kenapa) */
#jualan {
  background:
    linear-gradient(160deg, rgba(14, 22, 16, .9) 0%, rgba(22, 34, 25, .88) 100%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1600&auto=format&fit=crop") center / cover no-repeat fixed;
  color: #EAF2E6;
}
#jualan .band { background: none; padding: 20px 0; border-radius: 0; }
#jualan .band__title { color: #F1F6EF; }
#jualan .band p { color: #C4D2BE; opacity: 1; }

/* ---------- motion pack: stagger kolom + soft-press ---------- */
/* kolom genap turun dikit ala dribbble (desktop saja) */
@media (min-width: 1025px) {
  .prod-grid > *:nth-child(even),
  .cat-grid > *:nth-child(even) { margin-top: 26px; }
}
/* tombol "ketekan" 3D halus saat diklik */
.btn:active {
  transform: translateY(1px) scale(.985) !important;
  box-shadow: 0 4px 12px rgba(42, 53, 42, .18), inset 0 2px 6px rgba(0, 0, 0, .14) !important;
}
.theme-btn:active { transform: scale(.9) !important; }
/* kartu ber-tilt: bantu GPU + kedalaman */
.prod-card, .cat-card, .why-card { will-change: transform; transform-style: preserve-3d; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-clip.in { clip-path: inset(0 0 0% 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { gap: 48px; }
  .nav__side { display: none; }
  .nav__inner--split { grid-template-columns: 42px 1fr 42px; }
  .nav__logo--center { grid-column: 2; grid-row: 1; }
  .nav__burger { grid-column: 3; grid-row: 1; display: block; }
  .band { grid-template-columns: 1fr; padding: 50px 40px; }
  .band__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav__links {
    display: flex;
    position: fixed; inset: 0;
    background: rgba(241, 244, 237, .97);
    backdrop-filter: blur(18px);
    flex-direction: column; justify-content: center; align-items: center;
    font-size: 1.25rem; gap: 28px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s, visibility .4s;
    z-index: 105;
  }
  html.dark .nav__links { background: rgba(16, 23, 18, .97); }
  .nav__links.open { opacity: 1; visibility: visible; }
  .nav__links .nav__actions {
    display: flex; flex-direction: column; gap: 14px; margin-top: 10px;
  }
  .nav__links .nav__iconrow { display: flex; gap: 14px; justify-content: center; }
  .nav__links .nav__iconrow .theme-btn { width: 46px; height: 46px; color: #CDE3C6; border-color: rgba(234,242,230,.35); }
  .nav__links a { text-decoration: none; }
  .nav__links .nav__actions .btn { padding: 16px 48px; font-size: 1.05rem; }
}
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__chip--1 { left: 0; } .hero__chip--2 { right: 0; }
}
