/* Food Hives landing. Plain CSS, no build step.
   Shape rule: interactive = pill, media & panels = --r, hexagon = brand motif only. */

:root {
  /* palette from the logo */
  --bee: #FFE11F;        /* kuning lebah */
  --bee-soft: #FFF0A3;
  --honey: #F4A417;      /* oranye madu */
  --honey-soft: #FFE3B0;
  --hive: #7A4A12;       /* cokelat sarang (text-safe on cream) */
  --hive-deep: #3A2409;
  --cream: #FFFAEC;      /* krem hangat */
  --cream-2: #FFF3D2;
  --ink: #231C0F;        /* tinta */
  --ink-soft: #57492F;
  --line: rgb(35 28 15 / .14);

  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --r: 28px;
  --r-sm: 18px;
  --pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --shadow: 0 1px 0 rgb(122 74 18 / .06), 0 24px 48px -20px rgb(122 74 18 / .35);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  /* honeycomb outline tile */
  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V18L28 2l28 16v32L28 66Zm0 32V66m0-64V-30' fill='none' stroke='%237A4A12' stroke-opacity='.13' stroke-width='1.5'/%3E%3C/svg%3E");

  color-scheme: light; /* brand is yellow-on-cream by identity; single light theme */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; } /* body clip propagates to the viewport; clip decorative chips here instead */
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
/* two-tone focus ring: ink ring + bee halo, >= 3:1 on cream, bee yellow and the dark picker */
:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--bee); }
.picker :focus-visible, .picker .btn:focus-visible { outline-color: var(--bee); box-shadow: 0 0 0 6px var(--hive-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.h2, .hero__title, .closing__title {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.75rem); }
.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 1.1rem;
  font-weight: 700; font-size: .95rem; color: var(--hive);
}
.kicker::before {
  content: ""; width: .8em; height: .9em; flex: none;
  background: var(--honey); clip-path: var(--hex);
}
.lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; }
.micro { margin-top: .9rem; font-size: .92rem; color: var(--ink-soft); }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* word-split headline pieces (built by main.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8rem 1.6rem;
  border-radius: var(--pill); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--ink { background: var(--ink); color: var(--bee); box-shadow: 0 10px 24px -12px rgb(35 28 15 / .7); }
.btn--ink:hover { background: var(--hive-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.btn--bee { background: var(--bee); color: var(--ink); }
.btn--bee:hover { background: #fff; }
.btn--sm { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 250 236 / .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo img { width: 48px; height: 48px; border-radius: 12px; }
.nav__links { display: flex; align-items: center; gap: 1.25rem; }
.nav__ig { padding-block: 8px; } /* 44px tap height */
.by-mereka {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft); font-size: .78rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: box-shadow .2s;
}
.by-mereka::after { content: ""; position: absolute; inset: -5px 0; } /* 44px tap area, 34px pill */
.by-mereka:hover { box-shadow: inset 0 0 0 1.5px #0BA9A1; }
.by-mereka img { display: block; height: 17px; width: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px);
  background: var(--comb) center / 56px 98px, var(--cream);
}
.hero::after { /* fade the comb out toward the bottom */
  content: ""; position: absolute; inset: 40% 0 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--cream));
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 1rem + 3.8vw, 4rem); }
.hero__line { display: block; } /* "Sore jadi lengkap." always starts its own line */
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; }

.stage { position: relative; aspect-ratio: 1 / 1.08; perspective: 1400px; }
@media (min-width: 901px) { .stage { width: 116%; margin-right: -8%; justify-self: end; } }
.stage__hex {
  position: absolute; inset: 4% 2% 10%;
  background: var(--bee); clip-path: var(--hex);
}
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.stage__card {
  position: absolute; width: 52%;
  padding: 10px; border-radius: var(--r); background: #fffdf6;
  box-shadow: var(--shadow);
}
.stage__card img, .stage__card video { display: block; width: 100%; height: auto; border-radius: calc(var(--r) - 10px); aspect-ratio: 4 / 5; object-fit: cover; }
.stage__card--back { left: 6%; top: 8%; rotate: -8deg; transform: translateZ(-60px); }
.stage__card--front { right: 8%; top: 20%; rotate: 5deg; transform: translateZ(70px); }
.chip { position: absolute; pointer-events: none; filter: drop-shadow(0 14px 18px rgb(122 74 18 / .35)); }
.chip--a { width: 30%; left: -2%; bottom: 4%; rotate: -14deg; z-index: 2; }
.chip--b { width: 14%; right: 2%; top: 2%; rotate: 32deg; filter: blur(2px) drop-shadow(0 8px 10px rgb(122 74 18 / .3)); }
.chip--c { width: 18%; right: -3%; bottom: 14%; rotate: -40deg; filter: blur(1px) drop-shadow(0 10px 14px rgb(122 74 18 / .3)); z-index: 2; }
.chip--f { width: 15%; left: -4%; top: 6%; rotate: -18deg; filter: blur(1.5px) drop-shadow(0 8px 10px rgb(122 74 18 / .3)); }
.signature {
  position: absolute; left: 50%; bottom: -1%; translate: -50% 0;
  font: italic 600 1.05rem/1.2 var(--f-body); color: var(--hive); white-space: nowrap;
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--bee); border-block: 2px solid var(--ink); }
/* static & wrapped by default (no JS / reduced motion); main.js moves it with scroll only, never on its own (WCAG 2.2.2) */
.marquee__track { display: flex; }
.marquee__list { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; }
.marquee__dupe { display: none; }
.marquee.is-scroll .marquee__track { width: max-content; }
.marquee.is-scroll .marquee__list { flex: none; flex-wrap: nowrap; }
.marquee.is-scroll .marquee__dupe { display: flex; }
.marquee__list li {
  display: flex; align-items: center; gap: 1.6rem; padding: 1rem 1.6rem 1rem 0;
  font: 800 clamp(1.25rem, 1rem + 1vw, 1.85rem)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap;
}
.marquee__list li::after { content: ""; width: .7em; height: .8em; background: var(--ink); clip-path: var(--hex); }

/* ---------- products ---------- */
.product { padding-block: var(--section); }
.product--emping { padding-bottom: calc(var(--section) * .55); }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.product__grid--flip { grid-template-columns: 1.05fr .95fr; }
.product__media { position: relative; }
.product__hexbg {
  position: absolute; width: 78%; aspect-ratio: 1 / 1.1; left: -10%; top: -7%;
  background: var(--honey-soft); clip-path: var(--hex);
}
.frame {
  position: relative; overflow: hidden;
  border-radius: var(--r); background: var(--cream-2);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame { touch-action: pan-y; } /* horizontal swipe switches variant, vertical scroll untouched */
.carousel { position: relative; perspective: 1100px; }
.carousel img { backface-visibility: hidden; -webkit-user-drag: none; user-select: none; }
.carousel .ghost { position: absolute; inset: 0; height: 100%; pointer-events: none; }
.product--emping .frame { max-width: 480px; margin-inline: auto; }
.product__sticker {
  position: absolute; right: 2%; bottom: -5%; width: clamp(88px, 11vw, 124px);
  border-radius: 12px; rotate: 8deg; box-shadow: var(--shadow);
}
.product__panel { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.product--tempe .product__grid {
  padding: clamp(28px, 5vw, 72px);
  border-radius: calc(var(--r) + 12px);
  background: var(--comb) right top / 56px 98px, var(--bee-soft);
}
.product--tempe .frame { max-width: 460px; margin-inline: auto; }
.chip--d { width: 34%; left: -8%; bottom: -8%; rotate: 18deg; z-index: 2; }
.chip--e { width: 20%; right: -4%; top: -6%; rotate: -24deg; filter: blur(1.5px) drop-shadow(0 10px 14px rgb(122 74 18 / .3)); }

.variants { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.variants button {
  min-height: 46px; padding: .55rem 1.3rem;
  border: 2px solid var(--ink); border-radius: var(--pill);
  background: transparent; color: var(--ink);
  font: 700 1rem/1 var(--f-body); cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.variants button:hover { background: rgb(35 28 15 / .06); }
.variants button[aria-pressed="true"] { background: var(--ink); color: var(--bee); }
.variants button:active { transform: scale(.97); }
.variant { margin: 1.4rem 0 1.6rem; padding-left: 1rem; border-left: 3px solid var(--honey); }
.variant__name { font: 800 1.3rem/1.2 var(--f-display); letter-spacing: -.01em; }
.variant__size {
  display: inline-block; margin-left: .35rem; padding: .15rem .55rem; vertical-align: .15em;
  border-radius: var(--pill); background: var(--bee); font: 700 .8rem/1.3 var(--f-body);
}
.variant p { margin-top: .35rem; color: var(--ink-soft); }
.variant .variant__price { font: 800 1.1rem/1.3 var(--f-display); color: var(--hive); }
.mix-note {
  display: inline-block; margin: -.4rem 0 1.4rem; padding: .55rem .95rem;
  border-radius: var(--r-sm); background: var(--bee); font-size: .98rem;
}

/* ---------- story ---------- */
.story { padding-block: var(--section) calc(var(--section) * .6); }
.story__title { max-width: 22ch; }
.story__photo {
  position: relative; overflow: hidden; margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--r); aspect-ratio: 16 / 8;
}
.story__photo img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 45%; }
.story__text { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 56px); align-items: start; }
.story__paras p + p { margin-top: 1.1rem; }
.story__paras p { max-width: 58ch; color: var(--ink-soft); }
.story__paras p:last-child { color: var(--ink); font-weight: 600; }
.story__quote p {
  font: italic 600 clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem)/1.18 var(--f-body);
  letter-spacing: -.02em; color: var(--hive); padding-bottom: .1em;
}
.story__quote::before {
  content: ""; display: block; width: 44px; height: 50px; margin-bottom: 1rem;
  background: var(--bee); clip-path: var(--hex);
}

/* ---------- uses (bento): foto di atas, teks di bawah ---------- */
.uses { padding-block: calc(var(--section) * .6) var(--section); }
.bento { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); grid-template-columns: 1fr 1fr; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r); }
.tile__text { padding: clamp(22px, 3vw, 36px); }
.tile h3 { font: 800 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.tile p { margin-top: .6rem; max-width: 34ch; color: var(--ink-soft); }
.tile__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile--family {
  grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center;
  background: var(--comb) center / 56px 98px, var(--bee);
}
.tile--family p { color: var(--ink); }
.tile--family .tile__media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
.tile--family .tile__media img { object-position: 50% 22%; transform-origin: 55% 35%; }
.tile--family .tile__text { grid-column: 1; grid-row: 1; }
.tile--meal { background: var(--cream-2); }
.tile--gift { background: var(--honey-soft); }

/* Ken Burns: zoom & geser pelan; dijeda di luar layar / via tombol (main.js); mati bila "kurangi animasi" */
[data-kb] img { animation: kb 16s ease-in-out infinite alternate; transform-origin: 60% 45%; }
[data-kb].is-paused img { animation-play-state: paused; }
.tile--meal [data-kb] img { transform-origin: 70% 60%; animation-delay: -5s; }
.tile--gift [data-kb] img { transform-origin: 65% 50%; animation-delay: -10s; }
@keyframes kb {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(-2%, -1.5%); }
}

/* tombol jeda/putar untuk video & Ken Burns (WCAG 2.2.2) */
.vbtn {
  position: absolute; right: 18px; bottom: 18px; z-index: 1;
  width: 44px; height: 44px; border: 0; border-radius: var(--pill);
  background: rgb(35 28 15 / .55); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.vbtn:hover { background: var(--ink); }
.vbtn:active { transform: scale(.92); }
.vbtn::before { /* jeda: dua batang */
  content: ""; display: block; margin: auto; width: 12px; height: 14px;
  border-inline: 4px solid currentColor;
}
.vbtn[aria-pressed="true"]::before { /* putar: segitiga */
  border: 0; background: currentColor; clip-path: polygon(20% 0, 100% 50%, 20% 100%);
}

/* ---------- order ---------- */
.order { padding-block: calc(var(--section) * .5) var(--section); background: linear-gradient(var(--cream), var(--cream-2)); }
.order__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.steps { margin-top: 2.2rem; counter-reset: step; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 40px; height: 44px;
  background: var(--bee); clip-path: var(--hex);
  font: 800 1.1rem/1 var(--f-display);
}
.steps h3 { font: 800 1.15rem/1.3 var(--f-display); }
.steps p { color: var(--ink-soft); font-size: 1rem; }

.picker {
  padding: clamp(20px, 3vw, 36px); border-radius: var(--r);
  background: var(--hive-deep); color: var(--cream);
  box-shadow: 0 30px 60px -30px rgb(58 36 9 / .7);
}
.picker__row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center;
  padding-block: 14px;
}
.picker__row + .picker__row { border-top: 1px solid rgb(255 250 236 / .12); }
.picker__thumb { width: 52px; height: 58px; object-fit: cover; clip-path: var(--hex); }
.picker__label { font-weight: 700; line-height: 1.3; }
.picker__label span { font-weight: 500; color: rgb(255 250 236 / .7); white-space: nowrap; }
.picker__price { display: block; margin-top: 2px; font-size: .9rem; font-weight: 600; color: var(--bee); }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgb(255 250 236 / .08); }
.stepper button {
  width: 44px; height: 44px; border: 0; border-radius: var(--pill);
  background: var(--cream); color: var(--ink);
  font: 700 1.3rem/1 var(--f-body); cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.stepper button:hover { background: var(--bee); }
.stepper button:active { transform: scale(.92); }
.stepper output { min-width: 2.2ch; text-align: center; font: 800 1.2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.picker__summary { margin: 1.2rem 0 1rem; min-height: 1.6em; color: rgb(255 250 236 / .8); }
.picker__summary strong { color: var(--bee); font: 800 1.3rem/1 var(--f-display); }
.picker__summary small { font-size: .88rem; color: rgb(255 250 236 / .7); }
.picker__save { display: block; margin-top: .35rem; font-size: .92rem; font-weight: 700; color: var(--bee); }
.picker__note { margin-top: .9rem; font-size: .9rem; color: rgb(255 250 236 / .72); }

/* ---------- halaman /order ---------- */
.op-page { background: var(--comb) center top / 56px 98px, var(--cream); }
.op { max-width: 640px; padding-block: clamp(32px, 6vw, 64px) clamp(48px, 8vw, 96px); }
.op__title { font: 800 clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -.03em; }
.op__form { margin-top: clamp(24px, 4vw, 36px); }
.op__form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.op__form fieldset + fieldset { margin-top: 1.8rem; }
.op__step { margin-bottom: .4rem; padding: 0; font: 800 1.15rem/1.3 var(--f-display); color: var(--bee); }
.op__field { display: grid; gap: .45rem; margin-top: 1rem; font-weight: 600; }
.op__field input, .op__field textarea {
  width: 100%; padding: .8rem 1rem;
  border: 2px solid transparent; border-radius: var(--r-sm);
  background: var(--cream); color: var(--ink); font: 500 1rem/1.5 var(--f-body);
}
.op__field textarea { min-height: 108px; resize: vertical; }
.op__field ::placeholder { color: rgb(87 73 47 / .6); }
.op__field [aria-invalid="true"] { border-color: #FF9E80; }
.op__error { margin-top: .5rem; font-size: .92rem; font-weight: 700; color: #FFB59E; }
.op__help { margin-top: 1.4rem; text-align: center; color: var(--ink-soft); }
.op__help a { font-weight: 700; text-underline-offset: 3px; }

/* ---------- faq ---------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__title { position: sticky; top: 104px; max-width: 12ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font: 800 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.3 var(--f-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--pill); background: var(--bee);
  font: 700 1.3rem/1 var(--f-body); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; max-width: 60ch; color: var(--ink-soft); }

/* ---------- closing ---------- */
.closing { padding-bottom: clamp(56px, 8vw, 96px); }
.closing__panel {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 128px) var(--gutter);
  border-radius: calc(var(--r) + 12px);
  background: var(--comb) center / 56px 98px, var(--bee);
  text-align: center;
}
.closing__copy { position: relative; z-index: 1; max-width: 560px; margin-inline: auto; }
.closing__title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); }
.closing .lead { margin-inline: auto; color: var(--ink); }
.closing .actions { justify-content: center; }
.closing__pack {
  position: absolute; width: clamp(140px, 14vw, 200px);
  padding: 8px; border-radius: var(--r-sm); background: #fffdf6; box-shadow: var(--shadow);
}
.closing__pack--l { left: 3%; top: 16%; rotate: -10deg; }
.closing__pack--r { right: 3%; top: 38%; rotate: 9deg; }

/* ---------- footer ---------- */
.footer { padding-block: 48px 40px; border-top: 1px solid var(--line); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.footer__info { justify-self: end; text-align: right; color: var(--ink-soft); display: grid; gap: .35rem; }
.footer__info a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.footer__tags { color: var(--hive); font-weight: 600; }
.footer__copy { margin-top: .4rem; font-size: .85rem; }

/* ---------- kredit MerekA ---------- */
.mereka { border-top: 1px solid var(--line); }
.mereka__inner { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); padding-block: 28px; }
.mereka img { display: block; width: 168px; height: auto; flex: none; }
.mereka p { flex: 1 1 300px; color: var(--ink-soft); font-size: .95rem; }
.mereka p b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.mereka p a, .footer__copy a { color: inherit; font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- floating WA (mobile only) ---------- */
.fab { display: none; transition: opacity .3s, visibility .3s, translate .3s var(--ease); }
.fab.is-off { opacity: 0; visibility: hidden; translate: 0 12px; } /* hidden over the order picker */

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .closing__pack { display: none; }
}

@media (max-width: 900px) {
  .hero__grid, .product__grid, .product__grid--flip, .order__grid, .faq__grid, .story__text { grid-template-columns: 1fr; }
  .stage { max-width: 440px; width: 100%; margin: 8px auto 0; }
  .product__grid--flip .product__media { order: -1; }
  .faq__title { position: static; }
}

@media (max-width: 767px) {
  body { padding-bottom: 88px; } /* fab 56px + 16px offset + 16px air */
  .nav__inner { height: 60px; }
  .nav__logo img { width: 44px; height: 44px; }
  .nav__links { gap: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .product__hexbg { width: 90%; left: -12%; }
  .product--tempe .product__panel { padding-inline: 0; }
  .product--tempe .product__grid { border-radius: 0; padding: 48px var(--gutter); }
  .story__photo { aspect-ratio: 4 / 5; }
  .bento, .tile--family { grid-template-columns: 1fr; }
  .tile--family .tile__media, .tile--family .tile__text { grid-column: auto; grid-row: auto; }
  .picker__row { grid-template-columns: 44px 1fr; row-gap: 10px; }
  .picker__thumb { width: 44px; height: 50px; grid-row: span 2; }
  .stepper { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__info { justify-self: start; text-align: left; }
  .fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 30;
    display: inline-flex; align-items: center; gap: .55rem;
    height: 56px; padding: 0 1.4rem 0 1.1rem;
    border-radius: var(--pill); background: var(--ink); color: var(--bee);
    font: 800 1.05rem/1 var(--f-display); text-decoration: none;
    box-shadow: 0 14px 30px -10px rgb(35 28 15 / .6);
  }
  .fab::before { content: ""; width: 18px; height: 20px; background: var(--bee); clip-path: var(--hex); }
}

@media (max-width: 480px) {
  .nav__ig { display: none; } /* IG tetap ada di hero & footer */
  .by-mereka span { display: none; }
  .by-mereka { padding: 0 10px; }
}

/* ---------- motion (hidden states are set by main.js, only for content not yet painted in view) ---------- */
.js-anim [data-hex] img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
