/* ==========================================================
   Cafe Citra Lestari — Redesign
   ========================================================== */
:root {
  --forest: #1f2e25;
  --forest-2: #2c4033;
  --moss: #3e5946;
  --cream: #f6f0e6;
  --cream-2: #ece3d4;
  --paper: #fbf8f2;
  --caramel: #c27a45;
  --caramel-2: #a5602f;
  --ink: #1d1a16;
  --muted: #6f675c;
  --line: rgba(29, 26, 22, .12);
  /* accents for the livelier homepage */
  --honey: #f2b84b;
  --honey-soft: #fbe3b0;
  --rose: #e9897b;
  --rose-soft: #f8d7cf;
  --sage: #9cb79a;
  --sage-soft: #dde8d6;
  --espresso: #3a2518;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius: 22px;
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body.lock { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
em { font-style: italic; color: var(--caramel); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
::selection { background: var(--caramel); color: #fff; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--forest); color: var(--cream);
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
body.is-loaded .loader { clip-path: inset(0 0 100% 0); }
.loader__cup { position: relative; color: var(--cream); }
.loader__fill { fill: var(--caramel); transform-origin: bottom; transform: scaleY(0); animation: fill 1.3s var(--ease) .1s forwards; transform-box: fill-box; }
@keyframes fill { to { transform: scaleY(1); } }
.steam { position: absolute; bottom: 100%; width: 4px; height: 18px; border-radius: 4px; background: var(--cream); opacity: 0; animation: steam 1.6s ease-in-out infinite; }
.steam.s1 { left: 18px; } .steam.s2 { left: 30px; animation-delay: .3s; } .steam.s3 { left: 42px; animation-delay: .6s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.6); } 40% { opacity: .7; } 100% { opacity: 0; transform: translateY(-14px) scaleY(1.2); } }
.loader__word { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; margin: 0; opacity: 0; animation: fadeUp .8s var(--ease) .4s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Grain, progress, cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); } 40% { transform: translate(3%,-4%); } 60% { transform: translate(-2%,5%); } 80% { transform: translate(4%,-2%); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--caramel); transform-origin: left; transform: scaleX(0); }

.cursor { position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-active { opacity: 1; }
.cursor span {
  display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--caramel); mix-blend-mode: multiply;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
}
.cursor.is-hover span { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(194,122,69,.25); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 500; font-size: 15px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light::before { background: var(--caramel); }
.btn--light:hover { color: #fff; }
.btn--ghost { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(246,240,230,.45); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--forest); }
.btn--dark { background: var(--forest); color: var(--cream); }
.btn--dark::before { background: var(--caramel); }
.btn--block { width: 100%; }
.btn--lg { padding: 20px 38px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(1180px, calc(100% - 28px)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  color: var(--cream);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s, transform .6s var(--ease), top .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251,248,242,.78); color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -18px rgba(31,46,37,.35), inset 0 0 0 1px rgba(255,255,255,.6);
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; }
.nav__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--caramel); color: #fff; font-family: var(--serif); font-size: 14px; font-style: italic; letter-spacing: .02em;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; opacity: .8; transition: opacity .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); color: var(--forest); transition: background .3s, color .3s;
}
.nav.is-scrolled .cart-btn { background: var(--forest); color: var(--cream); }
.cart-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--caramel); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 50px) 40px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 50px) 40px); visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .05s; } .mobile-menu.is-open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .15s; } .mobile-menu.is-open a:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open a:first-child { transition-delay: .3s; }

/* ---------- Common ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #e7b48c; }
.title { font-size: clamp(38px, 5.6vw, 76px); margin-bottom: 26px; }
.title--light { color: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.section__head .title { max-width: 14ch; margin-bottom: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.note { margin-top: 40px; font-size: 13px; color: var(--muted); text-align: center; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-img img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.reveal-img.in img { transform: scale(1); }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.in .w > span, .w.in > span, [data-split].in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(60px, 10vh, 110px); color: var(--cream); overflow: hidden;
}
.hero__bg { position: absolute; inset: -10% 0 -10% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease); }
body.is-loaded .hero__bg img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 20% 100%, rgba(20,30,24,.92) 0%, rgba(20,30,24,.55) 45%, rgba(20,30,24,.15) 100%),
  linear-gradient(180deg, rgba(20,30,24,.45) 0%, transparent 30%); }
.hero__inner { max-width: 760px; }
.hero__eyebrow { color: var(--cream); opacity: .9; }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7bd389; box-shadow: 0 0 0 0 rgba(123,211,137,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(123,211,137,0); } 100% { box-shadow: 0 0 0 0 rgba(123,211,137,0); } }
.hero__title { font-size: clamp(56px, 11vw, 152px); font-weight: 300; line-height: .95; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title em { color: #e7b48c; font-weight: 300; }
body.is-loaded .hero__title .line > span { transform: none; }
.hero__lead, .hero__cta, .hero__eyebrow { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.is-loaded .hero__eyebrow { opacity: .9; transform: none; transition-delay: .1s; }
body.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: .45s; }
body.is-loaded .hero__cta { opacity: 1; transform: none; transition-delay: .6s; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 46ch; color: rgba(246,240,230,.85); margin-bottom: 34px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__card {
  position: absolute; right: var(--gutter); bottom: clamp(60px, 10vh, 110px); width: 260px;
  border-radius: var(--radius); overflow: hidden; background: rgba(246,240,230,.12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(246,240,230,.25), 0 30px 60px -20px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(40px) rotate(4deg); transition: opacity 1s var(--ease) .8s, transform 1.2s var(--ease) .8s;
  transform-style: preserve-3d;
}
body.is-loaded .hero__card { opacity: 1; transform: rotate(-3deg); }
.hero__card img { height: 220px; width: 100%; object-fit: cover; }
.hero__card-body { display: grid; gap: 2px; padding: 16px 18px 18px; }
.hero__card-body strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.hero__card-body > span:last-child { opacity: .8; font-size: 14px; }
.badge { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--caramel); color: #fff; margin-bottom: 6px; }

.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--cream), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--caramel); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest); color: var(--cream); padding: 22px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); font-style: italic; font-weight: 300; }
.marquee__track b { color: var(--caramel); font-style: normal; font-weight: 400; font-size: .6em; align-self: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.08; }
.about__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(31,46,37,.5); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { inset: 0 22% 18% 0; }
.about__img--b { inset: 46% 0 0 44%; border: 8px solid var(--paper); transition-delay: .2s; }
.about__stamp { position: absolute; left: 50%; top: 40%; width: 128px; height: 128px; transform: translate(-50%, -50%); display: grid; place-items: center;
  background: var(--caramel); color: #fff; border-radius: 50%; box-shadow: 0 20px 40px -12px rgba(165,96,47,.6); z-index: 2; }
.about__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__stamp text { font-size: 10.5px; letter-spacing: .22em; fill: #fff; font-weight: 600; font-family: var(--sans); }
.about__stamp > svg.cup { position: static; width: 34px; height: 34px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text > p { font-size: 18px; max-width: 48ch; }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); padding: 30px 0 0; margin: 30px 0 0; list-style: none; border-top: 1px solid var(--line); }
.stats li { display: grid; }
.stats strong { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-weight: 300; line-height: 1; color: var(--forest); }
.stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Menu ---------- */
.menu { background: var(--cream); max-width: none; border-radius: 40px 40px 0 0; }
.menu > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.filters { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.filters button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .4s; }
.filters button[aria-selected="true"] { color: var(--cream); }
.filters__pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--forest); transition: transform .55s var(--ease), width .55s var(--ease); }

.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(31,46,37,.35);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 1px 0 var(--line), 0 50px 80px -40px rgba(31,46,37,.5); }
.card.is-entering { opacity: 0; transform: translateY(30px) scale(.97); }
.card.is-leaving { opacity: 0; transform: scale(.94); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__cat { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(251,248,242,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--forest); }
.card__sold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(31,46,37,.55); color: var(--cream); font-family: var(--serif); font-size: 24px; font-style: italic; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 22px; flex: 1; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 24px; }
.card__price { font-weight: 600; color: var(--caramel-2); white-space: nowrap; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; flex: 1; }
.add {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--forest); color: var(--cream); font-size: 14px; font-weight: 500;
  transition: background .3s, transform .3s var(--ease);
}
.add:hover { background: var(--caramel); }
.add:active { transform: scale(.94); }
.add i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.15); font-style: normal; transition: transform .4s var(--ease); }
.add:hover i { transform: rotate(90deg); }
.add[disabled] { background: var(--cream-2); color: var(--muted); cursor: not-allowed; }

.fly { position: fixed; z-index: 160; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .8s cubic-bezier(.5,-0.3,.7,.4), opacity .8s; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature ---------- */
.feature { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 120px var(--gutter); overflow: hidden; color: var(--cream); }
.feature__img { position: absolute; inset: -15% 0; z-index: -1; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,30,24,.88) 0%, rgba(20,30,24,.5) 55%, rgba(20,30,24,.1) 100%); }
.feature__content { max-width: 560px; }
.feature__content > p { font-size: 18px; color: rgba(246,240,230,.85); margin-bottom: 32px; }

/* ---------- Steps ---------- */
.steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; z-index: 1; padding: 34px 30px 36px; border-radius: var(--radius); background: var(--cream); transition: transform .5s var(--ease), background .5s, color .5s, opacity 1s var(--ease); }
.step:hover { transform: translateY(-8px); background: var(--forest); color: var(--cream); }
.step:hover p { color: rgba(246,240,230,.75); }
.step__num { position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-size: 54px; font-style: italic; font-weight: 300; line-height: 1; color: var(--caramel); opacity: .35; }
.step__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--forest); margin-bottom: 26px; transition: transform .6s var(--ease); }
.step:hover .step__icon { transform: rotate(-10deg) scale(1.08); }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; transition: color .5s; }
.steps__line { position: absolute; left: 8%; right: 8%; top: 50%; width: 84%; height: 40px; z-index: 0; overflow: visible; }
.steps__line path { fill: none; stroke: var(--caramel); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: .5; }

/* ---------- Gallery (horizontal scroll) ---------- */
.gallery { height: 260vh; position: relative; background: var(--forest); }
.gallery__track { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); will-change: transform; }
.gallery figure { flex: 0 0 auto; margin: 0; position: relative; width: clamp(260px, 32vw, 460px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.gallery figure:nth-child(even) { aspect-ratio: 4 / 5; transform: translateY(40px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--cream); font-family: var(--serif); font-size: 22px; font-style: italic; text-shadow: 0 2px 20px rgba(0,0,0,.5); }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.info-card { display: grid; gap: 4px; padding: 10px 0; margin-bottom: 30px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--caramel); margin-top: 2px; }
.info-row div { display: grid; }
.info-row strong { font-weight: 600; }
.info-row span { color: var(--muted); }
.location__map { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 40px 80px -40px rgba(31,46,37,.5); background: var(--cream-2); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) sepia(.12); }

/* ---------- CTA + Footer ---------- */
.cta { margin: 0 var(--gutter); padding: clamp(80px, 12vw, 150px) var(--gutter); border-radius: 40px; background: var(--forest); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 60vw; height: 60vw; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(194,122,69,.35), transparent 60%); animation: glow 8s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-40%, -60%) scale(1.2); } }
.cta__title { position: relative; font-size: clamp(42px, 7vw, 104px); font-weight: 300; margin-bottom: 40px; }
.cta__title em { color: #e7b48c; }
.cta .btn { position: relative; }

.footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 60px var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand div { display: grid; }
.footer__brand strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.footer__brand span { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 22px; font-size: 14px; }
.footer__links a { opacity: .7; transition: opacity .3s; }
.footer__links a:hover { opacity: 1; color: var(--caramel); }
.footer__copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin: 0; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 130; background: rgba(20,30,24,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 140; width: min(440px, calc(100% - 24px));
  display: flex; flex-direction: column; border-radius: 28px; background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.45);
  transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .7s var(--ease), visibility 0s .7s;
}
.cart.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 14px; }
.cart__head h2 { font-size: 30px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: transform .4s var(--ease), background .3s; }
.icon-btn:hover { transform: rotate(90deg); background: var(--cream-2); }
.cart__view { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 0 26px 26px; }
.cart__view[hidden] { display: none; }
.cart__items { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.citem img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.citem strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; }
.citem small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--cream); }
.qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 16px; transition: background .2s; }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.cart__empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; }
.cart__empty p { margin: 0; }
.cart__empty .btn { margin-top: 18px; }
.cart__empty-cup { font-size: 48px; animation: float 3s ease-in-out infinite; margin-bottom: 8px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-6deg); } }
.cart__foot { padding-top: 18px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 18px; }
.cart__total strong { font-family: var(--serif); font-size: 28px; font-weight: 400; }

.checkout { overflow-y: auto; gap: 12px; }
.checkout h3 { font-size: 28px; }
.checkout > p { margin: -6px 0 6px; }
.link-back { align-self: flex-start; font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 4px; }
.link-back:hover { color: var(--caramel); }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(194,122,69,.15); }
.field span { position: absolute; left: 17px; top: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-9px) scale(.78); }
.field.error input { border-color: #c0392b; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pay { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.pay legend { font-weight: 600; margin-bottom: 8px; }
.pay label { cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay label > span { display: grid; padding: 14px 16px 14px 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; position: relative; transition: border-color .3s, background .3s; font-weight: 500; }
.pay label > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); transition: border .3s; }
.pay small { font-weight: 400; color: var(--muted); font-size: 13px; }
.pay input:checked + span { border-color: var(--forest); background: var(--cream); }
.pay input:checked + span::before { border: 5.5px solid var(--forest); }
.pay input:focus-visible + span { outline: 2px solid var(--caramel); outline-offset: 2px; }

.success { justify-content: center; align-items: center; text-align: center; gap: 6px; }
.success h3 { font-size: 34px; margin-top: 10px; }
.success .btn { margin-top: 20px; }
.success__check { width: 96px; height: 96px; }
.success__check circle { fill: none; stroke: var(--forest); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; }
.success__check path { fill: none; stroke: var(--caramel); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.success:not([hidden]) .success__check circle { animation: draw .8s var(--ease) forwards; }
.success:not([hidden]) .success__check path { animation: draw .6s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 170; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 999px;
  background: var(--forest); color: var(--cream); font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0,0,0,.4);
  transition: transform .6s var(--ease), opacity .4s, visibility .6s; width: max-content; max-width: calc(100% - 32px); text-align: center; opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ==========================================================
   Homepage refresh: colour, playful shapes, more motion
   ========================================================== */

/* Hero: hand-drawn underline, stacked product cards, rotating order sticker */
.hero__title em { position: relative; display: inline-block; color: var(--honey); }
.squiggle { position: absolute; left: 0; right: 0; bottom: -.06em; width: 100%; height: .22em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--rose); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) 1s; }
body.is-loaded .squiggle path { stroke-dashoffset: 0; }
.hero__shade { background:
  radial-gradient(120% 80% at 20% 100%, rgba(26,20,14,.9) 0%, rgba(26,20,14,.5) 45%, rgba(26,20,14,.1) 100%),
  radial-gradient(60% 60% at 90% 10%, rgba(233,137,123,.28), transparent 70%),
  linear-gradient(180deg, rgba(26,20,14,.45) 0%, transparent 30%); }
.hero__card { animation: floaty 6s ease-in-out infinite; animation-delay: 2s; }
.hero__card--back { right: calc(var(--gutter) + 190px); bottom: calc(clamp(60px, 10vh, 110px) + 120px); width: 200px; z-index: 0; transition-delay: 1s; animation-delay: 3s; }
.hero__card--back img { height: 150px; }
body.is-loaded .hero__card--back { opacity: .92; transform: rotate(7deg); }
@keyframes floaty { 50% { translate: 0 -12px; } }

.sticker { position: absolute; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; z-index: 3; }
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker__ring text { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; fill: currentColor; }
.sticker--hero { right: calc(var(--gutter) + 290px); bottom: clamp(30px, 5vh, 60px); background: var(--honey); color: var(--espresso);
  box-shadow: 0 20px 40px -14px rgba(242,184,75,.7); opacity: 0; scale: .4; transition: opacity .6s var(--ease) 1.4s, scale .9s cubic-bezier(.34,1.56,.64,1) 1.4s, background .3s; }
body.is-loaded .sticker--hero { opacity: 1; scale: 1; }
.sticker--hero:hover { background: var(--rose); }
.sticker__icon { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.sticker--hero:hover .sticker__icon { transform: rotate(45deg); }

/* Two ribbons crossing at an angle */
.ribbons { position: relative; height: clamp(150px, 15vw, 210px); overflow: hidden; background: var(--paper); display: grid; place-items: center; }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 18px 0; overflow: hidden; }
.ribbon--a { background: var(--honey); color: var(--espresso); transform: rotate(-3deg); z-index: 2; box-shadow: 0 14px 30px -18px rgba(58,37,24,.5); }
.ribbon--b { background: var(--forest); color: var(--cream); transform: rotate(3deg); }
.ribbon--b .marquee__track { animation-direction: reverse; animation-duration: 40s; font-style: normal; font-family: var(--sans); font-weight: 600; font-size: clamp(15px, 1.5vw, 19px); text-transform: uppercase; letter-spacing: .12em; }
.ribbon--a .marquee__track { font-weight: 500; }
.ribbon--a .marquee__track b { color: var(--rose); }
.ribbon--b .marquee__track b { font-size: 1em; }
.ribbons:hover .marquee__track { animation-play-state: paused; }

/* Soft colour blobs and floating coffee beans */
.about, .steps { position: relative; isolation: isolate; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.blob--honey { width: 420px; height: 420px; background: var(--honey-soft); left: -120px; top: 10%; }
.blob--sage { width: 360px; height: 360px; background: var(--sage-soft); right: -80px; bottom: 0; animation-delay: -6s; }
.blob--rose { width: 460px; height: 460px; background: var(--rose-soft); left: 50%; top: 30%; margin-left: -230px; opacity: .45; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.12); } }
.bean { position: absolute; left: var(--x); top: var(--y); z-index: -1; width: calc(26px * var(--s)); height: calc(36px * var(--s)); border-radius: 50%;
  background: var(--espresso); opacity: .85; rotate: var(--r); animation: beanFloat 7s ease-in-out infinite; animation-delay: calc(var(--s) * -4s); pointer-events: none; }
.bean::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--caramel); transform: rotate(8deg); }
@keyframes beanFloat { 50% { transform: translateY(-16px) rotate(18deg); } }

/* About: colourful stats, wobbling stamp */
.about__stamp { background: var(--rose); box-shadow: 0 20px 40px -12px rgba(233,137,123,.7); }
.about__img--b { border-color: var(--honey); }
.stats li { position: relative; padding: 16px 18px 14px; border-radius: 18px; background: var(--honey-soft); min-width: 120px; transition: transform .4s var(--ease); }
.stats li:nth-child(2) { background: var(--sage-soft); }
.stats li:nth-child(3) { background: var(--rose-soft); }
.stats li:hover { transform: translateY(-6px) rotate(-2deg); }
.stats { border-top: 0; gap: 12px; flex-wrap: wrap; }
.stats strong { color: var(--espresso); }

/* Menu: giant outline word, colourful category chips, playful cards */
.menu { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--honey-soft) 0%, var(--cream) 28%, var(--cream) 100%); }
.menu__word { position: absolute; top: clamp(20px, 4vw, 50px); left: 50%; transform: translateX(-50%); max-width: none !important; font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(120px, 24vw, 360px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(165,96,47,.22); white-space: nowrap; pointer-events: none; user-select: none; }
.menu .section__head, .menu__grid, .menu .note { position: relative; }
.filters { background: #fff; }
.filters__pill { background: var(--espresso); }
.card { border-radius: 28px; background: #fff; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s var(--ease), rotate .6s var(--ease); }
.card:nth-child(3n+1) { --tint: var(--honey); }
.card:nth-child(3n+2) { --tint: var(--rose); }
.card:nth-child(3n+3) { --tint: var(--sage); }
.card:hover { box-shadow: 0 0 0 3px var(--tint), 0 50px 80px -40px rgba(58,37,24,.55); }
.card__media { margin: 10px 10px 0; border-radius: 20px; }
.card__cat { background: var(--tint); color: var(--espresso); }
.card__price { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: var(--espresso); color: var(--honey);
  font-size: 15px; box-shadow: 0 10px 20px -8px rgba(0,0,0,.4); transform: rotate(4deg); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card__price { transform: rotate(-4deg) scale(1.08); }
.card__row { padding-right: 0; }
.add { background: var(--espresso); }
.add:hover { background: var(--tint, var(--caramel)); color: var(--espresso); }

/* Feature: honey glow + price sticker */
/* Own stacking context so the dark overlay reliably sits above the photo (both were z-index -1). */
.feature { isolation: isolate; }
.feature__img { z-index: -2; }
.feature::before { background: linear-gradient(90deg, rgba(26,20,14,.94) 0%, rgba(40,26,17,.82) 38%, rgba(58,37,24,.35) 68%, rgba(26,20,14,.05) 100%); }
.feature .title em, .feature .title { color: var(--cream); }
.sticker--feature { right: clamp(24px, 10vw, 180px); top: 50%; margin-top: -90px; width: 180px; height: 180px; background: var(--rose); color: #fff;
  box-shadow: 0 30px 60px -20px rgba(233,137,123,.8); animation: floaty 5s ease-in-out infinite; }
.sticker--feature .sticker__ring text { font-size: 9.5px; }
.sticker__price { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; }

/* Steps: one colour per step, line draws itself */
.steps { background: var(--paper); overflow: hidden; }
.steps__inner { position: relative; }
.step { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.step:nth-child(1) { --tint: var(--honey); --tint-soft: var(--honey-soft); }
.step:nth-child(2) { --tint: var(--rose); --tint-soft: var(--rose-soft); }
.step:nth-child(3) { --tint: var(--sage); --tint-soft: var(--sage-soft); }
.step__icon { background: var(--tint-soft); color: var(--espresso); }
.step__num { color: var(--tint); opacity: 1; font-weight: 500; }
.step:hover { background: var(--tint); color: var(--espresso); transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 30px 50px -30px rgba(58,37,24,.6); }
.step:hover p { color: rgba(58,37,24,.8); }
.step:hover .step__num { color: var(--espresso); }
.step:hover .step__icon { background: #fff; }
.steps__line { opacity: 1; transform: none; }
.steps__line path { stroke: var(--rose); stroke-width: 2.5; opacity: .9; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .4s; }
.steps__line.in path { stroke-dashoffset: 0; }

/* Gallery: intro panel, tilted photo cards */
.gallery { background: var(--espresso); }
.gallery__intro { flex: 0 0 auto; width: min(380px, 70vw); color: var(--cream); }
.gallery__intro .title { font-size: clamp(34px, 4vw, 54px); }
.gallery__intro p:not(.eyebrow) { color: rgba(246,240,230,.75); margin-bottom: 6px; }
.gallery__intro small { color: rgba(246,240,230,.5); }
.gallery figure { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transition: rotate .6s var(--ease); }
.gallery figure:nth-child(odd) { rotate: -2deg; }
.gallery figure:nth-child(even) { rotate: 2deg; }
.gallery figure:hover { rotate: 0deg; }
.gallery figcaption { left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--honey); color: var(--espresso); font-size: 18px; text-shadow: none; }

/* Location */
.location__map { box-shadow: 0 0 0 8px var(--honey-soft), 0 40px 80px -40px rgba(58,37,24,.5); }
.info-row svg { color: var(--rose); }

/* CTA: honey card with floating food photos */
.cta { background: var(--honey); color: var(--espresso); }
.cta::before { background: radial-gradient(circle, rgba(233,137,123,.55), transparent 60%); }
.cta__title em { color: var(--espresso); font-weight: 400; }
.cta .btn--light { background: var(--espresso); color: var(--cream); }
.cta .btn--light::before { background: var(--rose); }
.cta__float { position: absolute; width: clamp(90px, 11vw, 160px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff;
  box-shadow: 0 20px 40px -14px rgba(58,37,24,.5); animation: floaty 6s ease-in-out infinite; pointer-events: none; }
.cta__float--a { left: 6%; top: 14%; rotate: -8deg; }
.cta__float--b { right: 7%; top: 10%; rotate: 10deg; animation-delay: -2s; width: clamp(80px, 9vw, 130px); }
.cta__float--c { left: 12%; bottom: 10%; rotate: 6deg; animation-delay: -4s; width: clamp(70px, 8vw, 120px); }
.cta__float--d { right: 11%; bottom: 12%; rotate: -6deg; animation-delay: -3s; }

/* Footer: giant brand word */
.footer { position: relative; overflow: hidden; padding-top: 80px; }
.footer__big { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(64px, 14vw, 210px); line-height: .85; letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--caramel), var(--rose), var(--honey)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 30px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__card { display: none; }
  .about, .location { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__line { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .menu__grid { grid-template-columns: 1fr; }
  .menu { border-radius: 28px 28px 0 0; }
  .filters { width: 100%; overflow-x: auto; }
  .filters button { padding: 10px 14px; flex: 1; }
  .section__head { margin-bottom: 36px; }
  .gallery { height: auto; }
  .gallery__track { position: relative; height: auto; padding: 60px 16px; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
  .gallery figure { width: 78vw; scroll-snap-align: center; }
  .gallery figure:nth-child(even) { transform: none; }
  .cta { margin: 0 16px; border-radius: 28px; }
  .hero__cta .btn { flex: 1; }
  .hero__scroll { display: none; }
  .stats { gap: 18px; }
}

/* ==========================================================
   App: account, modals, order & admin pages
   ========================================================== */
.btn--line { color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.btn--line::before { background: var(--cream); }
.btn--danger { background: #9c3b2b; color: #fff; }
.btn--danger::before { background: #7d2c1f; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy > span { opacity: .35; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.link { color: var(--caramel-2); text-decoration: underline; text-underline-offset: 3px; }
.notice { font-size: 13.5px; padding: 12px 14px; border-radius: 12px; background: #fbefe2; color: #7a4a24; margin: 0; }
.notice--error { background: #fbe7e3; color: #8a2f20; }
.field-error { display: block; color: #a8321f; font-size: 12.5px; margin: 6px 4px 0; }
.field.error input, .field.error textarea, .field.error select { border-color: #c0392b; }
.dropzone.error, fieldset.error { outline: 1px solid #c0392b; outline-offset: 4px; border-radius: 14px; }

/* account button + menu */
.account { position: relative; }
.account__btn { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 6px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(246,240,230,.4); transition: box-shadow .3s, background .3s; }
.nav.is-scrolled .account__btn, .in-app .account__btn { box-shadow: inset 0 0 0 1px var(--line); }
body[data-role="guest"] .account__btn { padding-left: 16px; }
.account__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--caramel); color: #fff; font-family: var(--serif); font-size: 15px; }
.account__avatar:empty { display: none; }
.account__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line); display: grid; animation: pop .35s var(--ease); transform-origin: top right; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-6px); } }
.account__menu a, .account__menu button { text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.account__menu a:hover, .account__menu button:hover { background: var(--cream); }
.account__who { display: grid; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account__who span { font-size: 12.5px; color: var(--muted); }
.mobile-menu__account { display: grid; gap: 4px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(246,240,230,.15); }
.mobile-menu .mobile-menu__account a, .mobile-menu__account button { font-family: var(--sans); font-size: 18px; text-align: left; padding: 4px 0; }

/* in-app: solid nav, hide homepage-only chrome */
.in-app .nav { background: rgba(251,248,242,.85); color: var(--ink); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 40px -18px rgba(31,46,37,.25), inset 0 0 0 1px rgba(255,255,255,.6); }
.in-app .cart-btn { background: var(--forest); color: var(--cream); }
.in-app .nav__links a.is-active::after { transform: scaleX(0); }
.in-app .footer { display: none; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,30,24,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal__card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 28px; background: var(--paper); padding: 34px 30px 30px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.5); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.modal--wide .modal__card { width: min(780px, 100%); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal h3 { font-size: 30px; margin-bottom: 8px; padding-right: 40px; }

.auth__tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); margin-bottom: 24px; }
.auth__tabs button { position: relative; z-index: 1; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .35s; }
.auth__tabs button[aria-selected="true"] { color: var(--cream); }
.auth__pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--forest); transition: transform .5s var(--ease), width .5s var(--ease); }
.auth__form { display: none; gap: 12px; }
.auth[data-mode="login"] [data-form="login"], .auth[data-mode="register"] [data-form="register"] { display: grid; animation: fadeUp .5s var(--ease); }
.auth__form .btn { margin-top: 6px; }
.auth__form > p { margin: -4px 0 6px; }

.confirm { display: grid; gap: 12px; }
.confirm__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 10px; }

/* cart extras */
.gate { justify-content: flex-start; }
.gate__body { display: grid; gap: 12px; text-align: center; justify-items: center; margin: auto 0; }
.gate__body .btn { width: 100%; }
.gate__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; margin-bottom: 8px; }
.gate__icon svg { width: 34px; height: 34px; }
.gate h3 { font-size: 28px; }
.cart__summary { display: grid; gap: 6px; font-size: 14px; color: var(--muted); padding-top: 6px; }
.cart__summary div { display: flex; justify-content: space-between; gap: 12px; }
.success .btn--line { margin-top: 6px; }

/* pages */
.app { min-height: 100svh; padding: 120px var(--gutter) 80px; max-width: 1180px; margin: 0 auto; }
.page { animation: fadeUp .6s var(--ease); }
.page--loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--cream-2); border-top-color: var(--caramel); animation: spin .8s linear infinite; }
.page__title { font-size: clamp(40px, 6vw, 68px); margin-bottom: 10px; overflow-wrap: anywhere; }
.page__head .muted { font-size: 17px; margin: 0; }
.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 60px 20px; border-radius: var(--radius); background: var(--cream); }
.empty p { margin: 0; }
.empty .btn { margin-top: 12px; }
.empty .btn + .btn { margin-top: 0; }
.menu__grid .empty { grid-column: 1 / -1; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--cream-2); color: var(--ink); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.status[data-status="baru"] { background: #e6edf7; color: #2c4f7c; }
.status[data-status="diproses"] { background: #fbefe2; color: #8a4f1f; }
.status[data-status="siap-diambil"] { background: #e3f1e6; color: #24623a; }
.status[data-status="selesai"] { background: #e9ece9; color: #3c4a41; }
.status[data-status="ditolak"], .status[data-status="dibatalkan"], .status[data-status="pay-ditolak"] { background: #f8e4e0; color: #8a2f20; }
.status[data-status="pay-diterima"] { background: #e3f1e6; color: #24623a; }
.status[data-status="pay-belum-diverifikasi"], .status[data-status="warn"] { background: #fdf1d6; color: #7a5410; }
.status[data-status="pay-belum-dibayar"] { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

.olist { display: grid; gap: 12px; }
.ocard { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity 1s var(--ease); }
.ocard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(31,46,37,.35); }
.ocard__imgs { display: flex; }
.ocard__imgs img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 3px solid #fff; }
.ocard__imgs img + img { margin-left: -22px; }
.ocard__main { min-width: 0; }
.ocard__top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ocard__main p { margin: 4px 0 6px; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12.5px; color: var(--muted); }
.ocard__total { font-family: var(--serif); font-size: 22px; display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.ocard__total span { font-family: var(--sans); color: var(--caramel); transition: transform .4s var(--ease); }
.ocard:hover .ocard__total span { transform: translateX(4px); }

.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.detail__main, .detail__side { display: grid; gap: 16px; min-width: 0; }
.detail__title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.detail__title h2 { font-size: 30px; margin-right: 6px; overflow-wrap: anywhere; }
.panel { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.panel h3 { font-size: 22px; }
.panel p { margin: 0; }
.panel--ready { background: #e7f3ea; box-shadow: none; }
.panel--warn { background: #fdf4e3; box-shadow: none; }
.panel--quiet { background: transparent; }
.panel summary, .history summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.panel summary::-webkit-details-marker, .history summary::-webkit-details-marker { display: none; }
.panel summary::after, .history summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--caramel); transition: transform .3s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }
details.panel form, details.panel .actions { display: grid; gap: 12px; margin-top: 10px; }
details.panel .actions { display: flex; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14.5px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }

.progress-steps { --pad: 24px; list-style: none; margin: 0; padding: 26px var(--pad); border-radius: var(--radius); background: var(--forest); color: var(--cream); display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.progress-steps::before, .progress-steps::after { content: ""; position: absolute; top: 44px; left: calc(var(--pad) + (100% - 2 * var(--pad)) / 8); height: 2px; }
.progress-steps::before { right: calc(var(--pad) + (100% - 2 * var(--pad)) / 8); background: rgba(246,240,230,.2); }
.progress-steps::after { width: calc((100% - 2 * var(--pad)) * .75 * var(--at) / 3); background: var(--caramel); transform-origin: left; animation: grow 1.2s var(--ease) .3s both; }
@keyframes grow { from { transform: scaleX(0); } }
.progress-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; opacity: .55; }
.progress-steps li.done, .progress-steps li.current { opacity: 1; }
.ps__dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-2); box-shadow: 0 0 0 2px rgba(246,240,230,.25); font-weight: 600; }
.done .ps__dot { background: var(--caramel); box-shadow: none; }
.current .ps__dot { background: var(--cream); color: var(--forest); animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(194,122,69,.7); } 100% { box-shadow: 0 0 0 14px rgba(194,122,69,0); } }
.ended { padding: 22px 24px; border-radius: var(--radius); background: #f8e4e0; color: #7b2a1c; }
.ended p { margin: 6px 0 0; }

.items { padding: 20px 24px; border-radius: var(--radius); background: var(--cream); }
.items__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.items__row img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.items__row small { display: block; color: var(--muted); }
.items__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.items__total strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.history { padding: 18px 24px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.history ol { margin: 14px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.history li::marker { color: var(--caramel); }

.dropzone { position: relative; display: grid; gap: 10px; padding: 22px; border-radius: 16px; border: 1.5px dashed rgba(29,26,22,.25); background: var(--paper); cursor: pointer; transition: border-color .3s, background .3s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--caramel); background: #fdf6ee; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__ui { display: grid; justify-items: center; text-align: center; font-size: 14px; }
.dropzone__ui b { color: var(--caramel-2); }
.dropzone__ui small { color: var(--muted); }
.dropzone__preview { display: flex; align-items: center; gap: 12px; font-size: 13.5px; overflow-wrap: anywhere; }
.dropzone__preview img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.dropzone__file { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--forest); color: var(--cream); font-weight: 600; font-size: 13px; flex: none; }
.proof { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--cream); font-size: 14px; overflow-wrap: anywhere; }
.proof img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }

/* admin */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--cream); margin-bottom: 28px; }
.tabs a { padding: 10px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { background: var(--forest); color: var(--cream); }
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.subhead { font-size: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.chip span { font-size: 11.5px; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--cream); color: var(--muted); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--forest); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--forest); color: var(--cream); box-shadow: none; }
.chip[aria-selected="true"] span { background: rgba(255,255,255,.15); color: var(--cream); }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-width: min(300px, 100%); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; background: transparent; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--caramel); }

.ptable { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 16px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: opacity .3s; }
.prow.is-off { opacity: .6; }
.prow img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.prow__main { min-width: 0; }
.prow__main strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.prow__main small { color: var(--muted); }
.prow__flags { display: flex; gap: 18px; flex-wrap: wrap; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--cream-2); transition: background .3s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch input:checked + span { background: var(--moss); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--caramel); outline-offset: 2px; }
.switch em { font-style: normal; color: var(--muted); min-width: 84px; }
.cats { display: grid; gap: 8px; margin-top: 14px; }
.catrow { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 14px 12px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.catrow--new { grid-template-columns: 1fr auto; background: var(--cream); box-shadow: none; padding: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--forest); margin: 2px 0 0; flex: none; }
.complete { display: grid; gap: 12px; }
.complete .btn { justify-self: start; }

.pform { display: grid; gap: 16px; }
.pform__grid { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.pform__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--cream); }
.pform__fields { display: grid; gap: 12px; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select { width: 100%; padding: 22px 40px 8px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f675c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field--select span { transform: translateY(-9px) scale(.78); }
.field select:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(194,122,69,.15); }

/* recap */
.range { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.range label { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.range input { font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.tile { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tile:first-child { background: var(--forest); color: var(--cream); box-shadow: none; }
.tile span { font-size: 13px; color: var(--muted); }
.tile:first-child span, .tile:first-child small { color: rgba(246,240,230,.75); }
.tile strong { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.tile small { font-size: 12.5px; color: var(--muted); }
.chart-card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chart-card__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.chart-card__head h3 { font-size: 24px; }
.chart-card__head p { margin: 4px 0 0; font-size: 13.5px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--cream); }
.seg button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis text { font-size: 11px; fill: var(--muted); font-family: var(--sans); }
.chart .grid { stroke: var(--line); stroke-dasharray: 2 4; }
.chart .base { stroke: rgba(29,26,22,.3); }
.chart .bar { fill: var(--caramel-2); transform-origin: bottom; transform-box: fill-box; animation: barUp .9s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes barUp { from { transform: scaleY(0); } }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .cursor-line { stroke: var(--ink); stroke-opacity: .25; stroke-width: 1; }
.chart__tip { position: absolute; top: 0; transform: translateX(-50%); display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--forest); color: var(--cream); font-size: 13px; pointer-events: none; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.chart__tip span { font-family: var(--serif); font-size: 18px; }
.chart__tip small { opacity: .75; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtable th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rtable td { padding: 12px; border-bottom: 1px solid var(--line); }
.rtable th:not(:first-child), .rtable td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.rtable tfoot td { font-weight: 600; border-bottom: 0; }

.toast[data-type="error"] { background: #8a2f20; }

/* live order updates */
.live { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: 12.5px; color: var(--muted); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: #3f9b5a; box-shadow: 0 0 0 0 rgba(63,155,90,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(63,155,90,0); } 100% { box-shadow: 0 0 0 0 rgba(63,155,90,0); } }
.tabs a { position: relative; }
.tabs__badge { position: absolute; top: -4px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--caramel); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; animation: pop .4s var(--ease); }
.tabs__badge[hidden] { display: none; }
.ocard.is-new { box-shadow: 0 0 0 2px var(--caramel), 0 18px 40px -24px rgba(194,122,69,.6); }
.ocard.is-new .ocard__top strong::after { content: "BARU MASUK"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--caramel); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .08em; vertical-align: middle; }
.ocard.is-arriving { animation: arrive .9s var(--ease) both; }
.ocard.is-updated, .panel.is-updated { animation: flashUpdate 2.4s var(--ease); }
@keyframes flashUpdate { 0%, 40% { box-shadow: 0 0 0 2px var(--caramel), 0 18px 40px -24px rgba(194,122,69,.6); background: #fdf6ee; } 100% { box-shadow: 0 0 0 1px var(--line); background: #fff; } }
[data-part="actions"]:empty { display: none; }
@keyframes arrive { 0% { opacity: 0; transform: translateY(-16px) scale(.98); background: #fdf1e4; } 60% { background: #fdf1e4; } 100% { opacity: 1; transform: none; background: #fff; } }

@media (max-width: 1000px) {
  .detail { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 56px 1fr auto; }
  .prow__flags { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 820px) {
  .account__btn { padding: 0 6px; }
  .account__label { display: none; }
  body[data-role="guest"] .account__btn { padding: 0 14px; }
  body[data-role="guest"] .account__label { display: inline; }
}
@media (max-width: 600px) {
  .app { padding-top: 100px; }
  .nav__brand .nav__name { display: none; }
  .ocard { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .ocard__imgs { display: none; }
  .ocard__main p { white-space: normal; }
  .ocard__total { font-size: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .tabs { display: flex; }
  .tabs a { flex: 1; text-align: center; padding: 10px 8px; }
  .progress-steps { --pad: 8px; }
  .progress-steps li { font-size: 11.5px; }
  .catrow { grid-template-columns: 1fr auto auto; padding-left: 16px; }
  .catrow .muted { display: none; }
  .pform__grid { grid-template-columns: 1fr; }
  .pform__img img { width: 120px; }
  .modal__card { padding: 28px 20px 22px; }
  .chart-card { padding: 18px 12px; }
  .search { width: 100%; }
  .range { width: 100%; }
  .range label { flex: 1; }
}

/* Homepage refresh: tablet & phone */
@media (max-width: 1000px) {
  .sticker--hero { right: var(--gutter); bottom: auto; top: 110px; width: 104px; height: 104px; }
  .sticker--hero .sticker__ring text { font-size: 12px; }
  .sticker--feature { width: 130px; height: 130px; margin-top: 0; top: auto; bottom: 40px; right: var(--gutter); }
  .sticker__price { font-size: 21px; }
  .gallery__intro { width: min(320px, 75vw); }
  .gallery figure:nth-child(odd), .gallery figure:nth-child(even) { rotate: 0deg; }
}
@media (max-width: 600px) {
  .sticker--hero { width: 86px; height: 86px; top: 96px; }
  .sticker--hero .sticker__ring text { font-size: 13px; letter-spacing: .14em; }
  .sticker__icon { width: 24px; height: 24px; }
  .ribbons { height: 120px; }
  .ribbon { padding: 12px 0; }
  .blob { width: 260px !important; height: 260px !important; }
  .bean { display: none; }
  .stats li { min-width: 0; flex: 1; padding: 12px 12px 10px; }
  .menu__word { font-size: 34vw; top: 30px; }
  .card__media { margin: 8px 8px 0; }
  .sticker--feature { width: 108px; height: 108px; bottom: 24px; }
  .sticker--feature .sticker__ring text { font-size: 11px; }
  .sticker__price { font-size: 17px; }
  .feature__content { padding-bottom: 110px; }
  /* Text sits over the whole photo on phones, so darken it evenly instead of left-to-right. */
  .feature::before { background: linear-gradient(180deg, rgba(26,20,14,.55) 0%, rgba(26,20,14,.82) 40%, rgba(26,20,14,.7) 100%); }
  .gallery__intro { display: none; }
  .cta__float { width: 64px !important; border-width: 4px; }
  .cta__float--a { left: 4%; top: 6%; }
  .cta__float--b { right: 4%; top: 5%; }
  .cta__float--c { left: 6%; bottom: 5%; }
  .cta__float--d { right: 5%; bottom: 6%; }
  .footer__big { font-size: 17vw; }
}

/* ==========================================================
   App pages refresh: same colours & shapes as the homepage
   ========================================================== */
body.in-app { background: var(--paper); }
.in-app .app { position: relative; }
.ico { width: 22px; height: 22px; flex: none; }

/* tone palette shared by status cards, order cards and filter tiles */
[data-tone="honey"] { --t: var(--honey); --t-soft: var(--honey-soft); --t-ink: #6b4a0e; }
[data-tone="rose"] { --t: var(--rose); --t-soft: var(--rose-soft); --t-ink: #7b2f22; }
[data-tone="sage"] { --t: var(--sage); --t-soft: var(--sage-soft); --t-ink: #2f5233; }
[data-tone="red"] { --t: #c9533f; --t-soft: #f6dcd6; --t-ink: #7d2617; }
[data-tone="muted"] { --t: #b9b0a3; --t-soft: #efebe4; --t-ink: #5a5248; }
[data-tone="plain"] { --t: var(--espresso); --t-soft: #fff; --t-ink: var(--espresso); }

/* Colourful header band */
.page__head { position: relative; isolation: isolate; overflow: hidden; margin: 0 0 30px; padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: 32px; background: var(--honey-soft); }
.page__head::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--honey); opacity: .55; filter: blur(2px); }
.page__head::after { content: ""; position: absolute; z-index: -1; right: 140px; bottom: -90px; width: 160px; height: 160px; border-radius: 50%; background: var(--rose); opacity: .35; }
.page__head--forest { background: var(--espresso); color: var(--cream); }
.page__head--forest::before { background: var(--caramel); opacity: .45; }
.page__head--forest::after { background: var(--honey); opacity: .3; }
.page__head--forest .eyebrow { color: var(--honey); }
.page__head--forest .page__sub { color: rgba(246,240,230,.75); }
.page__head--forest .link-back { color: rgba(246,240,230,.7); }
.page__head .bean { z-index: 0; opacity: .6; }
.page__head--forest .bean { background: #f6f0e6; opacity: .15; }
.page__head .page__title { margin-bottom: 6px; }
.page__sub { margin: 0; font-size: 16.5px; color: rgba(58,37,24,.75); max-width: 56ch; }
.page__head .link-back { display: block; width: fit-content; margin-bottom: 14px; color: rgba(58,37,24,.7); }
.admin-body > .link-back { display: block; width: fit-content; margin-bottom: 10px; }
.admin-body > .detail__title { margin-bottom: 14px; }
.page__cta { margin-top: 18px; }
.page__head .tabs { margin: 22px 0 0; background: rgba(255,255,255,.12); }
.page__head .tabs a { color: rgba(246,240,230,.75); }
.page__head .tabs a:hover { color: #fff; }
.page__head .tabs a.is-active { background: var(--honey); color: var(--espresso); }

/* Status hero card */
.shero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-bottom: 20px; padding: 24px 26px; border-radius: 28px;
  background: var(--t-soft); color: var(--t-ink); box-shadow: inset 0 0 0 2px var(--t); }
.shero__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--t); color: #fff; }
.shero__icon .ico { width: 32px; height: 32px; }
[data-tone="honey"] .shero__icon { color: var(--espresso); }
.shero__text h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; color: var(--espresso); }
.shero__text p { margin: 0; }
.shero__text .btn { margin-top: 12px; }
.shero__code { display: grid; justify-items: center; gap: 4px; padding: 14px 18px; border-radius: 20px; background: #fff; text-align: center; }
.shero__code small { font-size: 12px; color: var(--muted); }
.shero__code strong { font-family: var(--serif); font-size: 34px; letter-spacing: .06em; color: var(--espresso); line-height: 1.1; }
.shero--slim { padding: 16px 18px; border-radius: 22px; }
.shero--slim .shero__icon { width: 48px; height: 48px; border-radius: 14px; }
.shero--slim .shero__icon .ico { width: 24px; height: 24px; }
.shero--slim .shero__text h2 { font-size: 22px; }
.current .ps__dot { background: var(--honey); color: var(--espresso); }
.done .ps__dot { background: var(--rose); }
.progress-steps { background: var(--espresso); }
.progress-steps::after { background: var(--rose); }

/* Order cards */
.group-title { display: flex; align-items: center; gap: 10px; font-size: 26px; margin: 8px 0 14px; }
.group-title span { font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--honey-soft); color: var(--espresso); }
.olist--past { margin-bottom: 10px; }
.olist--past .ocard { opacity: .82; }
.olist--past .ocard:hover { opacity: 1; }
.olist + .group-title { margin-top: 34px; }
.ocard { position: relative; border-radius: 24px; padding-left: 22px; overflow: hidden; }
.ocard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--t, var(--line)); }
.ocard:hover { box-shadow: 0 0 0 2px var(--t, var(--line)), 0 24px 40px -24px rgba(58,37,24,.35); }
.ocard__hint { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--t-ink); font-weight: 600; font-size: 14px; }
.ocard__hint .ico { width: 18px; height: 18px; padding: 3px; border-radius: 7px; background: var(--t-soft); box-sizing: content-box; }
.ocard__todo { margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: var(--t); color: var(--espresso); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.ocard__top strong { font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.ocard__top { gap: 14px; }
.pbar { display: inline-flex; gap: 4px; }
.pbar i { width: 22px; height: 6px; border-radius: 3px; background: var(--cream-2); }
.pbar i.on { background: var(--t, var(--caramel)); }
.ocard__total { color: var(--espresso); }

/* Panels & key boxes */
.panel { border-radius: 24px; }
.panel--focus { box-shadow: 0 0 0 2px var(--honey), 0 24px 40px -28px rgba(242,184,75,.8); }
.panel--focus h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--honey); vertical-align: middle; }
.paybox { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--honey-soft); color: var(--espresso); }
.paybox span { font-size: 14px; }
.paybox strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.items { background: var(--sage-soft); }
.dropzone { border-color: var(--honey); background: #fffaf0; }
.empty { background: var(--honey-soft); }
.empty--big { padding: 80px 20px; }
.live { margin-top: -10px; }

/* Bank accounts & transfer proof */
.banks { display: grid; gap: 8px; }
.banks .paybox { flex-wrap: wrap; }
.banks .paybox .btn { margin-left: auto; }
.bank { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.bank__logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--espresso); color: var(--honey); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.bank:nth-child(3n+2) .bank__logo { background: var(--rose); color: #fff; }
.bank:nth-child(3n) .bank__logo { background: var(--sage); color: var(--espresso); }
.bank__info { display: grid; min-width: 0; line-height: 1.3; }
.bank__info small { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bank__info strong { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .03em; color: var(--espresso); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank__info span { font-size: 13.5px; color: var(--muted); }
.bank.is-off { opacity: .55; }
.banks--compact .bank { padding: 10px 12px; }
.banks--compact .bank__logo { width: 40px; height: 40px; font-size: 12px; }
.banks--compact .bank__info strong { font-size: 18px; }
.banks--admin .bank { grid-template-columns: auto 1fr auto auto auto; padding: 14px 16px; }
.btn.is-copied { background: var(--sage); color: var(--espresso); }
.transfer-info { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--honey-soft); }
.transfer-info > .muted { margin: 0; font-size: 13.5px; color: rgba(58,37,24,.8); }
.spinner--sm { width: 22px; height: 22px; border-width: 2.5px; margin: 6px auto; }

.paysteps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 18px; }
.paysteps > li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.paysteps > li > div { display: grid; gap: 10px; min-width: 0; }
.paysteps > li > div > strong { font-size: 15.5px; }
.paysteps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--honey); color: var(--espresso); font-weight: 700; }
.paysteps > li + li .paysteps__n { background: var(--rose); color: #fff; }

.dropzone { padding: 26px 18px; border-width: 2px; border-radius: 20px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.dropzone:hover { transform: translateY(-2px); }
.dropzone__ui { gap: 2px; }
.dropzone__ui .ico { width: 34px; height: 34px; margin: 0 auto 6px; padding: 8px; box-sizing: content-box; border-radius: 50%; background: var(--honey); color: var(--espresso); }
.dropzone__ui b { font-size: 15.5px; }
.dropzone__ui > span { font-size: 13.5px; color: var(--muted); }
.dropzone__ui small { margin-top: 6px; }
.dropzone.has-file { padding: 14px; border-style: solid; border-color: var(--sage); background: var(--sage-soft); }
.dropzone.has-file .dropzone__ui { display: none; }
.dropzone__preview > span:last-child { display: grid; min-width: 0; }
.dropzone__preview b { overflow-wrap: anywhere; }
.dropzone__preview small { color: var(--muted); }
.dropzone__preview img { width: 72px; height: 72px; }

.success__transfer { width: 100%; display: grid; gap: 14px; margin: 10px 0 6px; text-align: left; }
.proof-form { display: grid; gap: 10px; }
.proof-form__title { margin: 6px 0 0; font-weight: 600; }
.proof-form__later { margin: 0; font-size: 13px; text-align: center; }
.proof-done { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--sage-soft); color: #2f5233; }
.proof-done .ico { width: 30px; height: 30px; flex: none; }
.proof-done div { display: grid; gap: 2px; }
.proof-done span { font-size: 13.5px; }
.cart .success { justify-content: flex-start; overflow-y: auto; padding-top: 10px; }
.proof--big { flex-direction: column; align-items: stretch; }
.proof--big img { width: 100%; height: auto; max-height: 360px; object-fit: contain; background: #fff; border-radius: 12px; }
.proof--big > span { display: grid; }
.proof--big small { color: var(--muted); }

/* Admin: filter tiles, list rows with one-click actions */
.ftiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.ftile { display: grid; gap: 2px; justify-items: start; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.ftile strong { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; color: var(--espresso); }
.ftile span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ftile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--t); }
.ftile[aria-selected="true"] { background: var(--t-soft); box-shadow: inset 0 0 0 2.5px var(--t); }
.ftile[aria-selected="true"] span { color: var(--t-ink); }
.ftile[data-tone="plain"][aria-selected="true"] { background: var(--espresso); }
.ftile[data-tone="plain"][aria-selected="true"] strong, .ftile[data-tone="plain"][aria-selected="true"] span { color: var(--cream); }
.arow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.arow--plain { grid-template-columns: 1fr; }
.arow__act .btn { min-width: 130px; }
.olist { gap: 10px; }

/* Admin menu & recap pick up the palette */
.prow, .catrow, .tile, .chart-card { border-radius: 22px; }
.tile:first-child { background: var(--espresso); }
.tile:nth-child(2) { background: var(--honey-soft); box-shadow: none; }
.tile:nth-child(3) { background: var(--rose-soft); box-shadow: none; }
.switch input:checked + span { background: var(--sage); }
.catrow--new { background: var(--honey-soft); }
.chip[aria-pressed="true"] { background: var(--espresso); }

@media (max-width: 1000px) {
  .ftiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .page__head { border-radius: 24px; margin-bottom: 22px; }
  .page__head::before { width: 180px; height: 180px; right: -60px; top: -60px; }
  .page__head .bean { display: none; }
  .page__head .tabs { display: flex; }
  .shero { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .shero__icon { width: 50px; height: 50px; border-radius: 16px; }
  .shero__code { grid-column: 1 / -1; }
  /* One compact row that scrolls sideways, so the orders stay near the top. */
  .ftiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
  .ftiles::-webkit-scrollbar { display: none; }
  .ftile { flex: 0 0 auto; grid-template-columns: auto auto; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 16px; scroll-snap-align: start; }
  .ftile strong { font-size: 22px; }
  .ftile span { white-space: nowrap; }
  .ocard__hint { flex-wrap: wrap; }
  .ocard__todo { margin-left: 0; }
  .paybox { flex-direction: column; gap: 2px; }
  .banks .paybox .btn { margin-left: 0; margin-top: 6px; }
  /* Keep the copy button beside the number; shrink the logo instead. */
  .bank { gap: 10px; padding: 10px 12px; }
  .bank__logo { width: 40px; height: 40px; border-radius: 12px; font-size: 11.5px; }
  .bank__info strong { font-size: 18px; }
  .bank > .btn { padding: 9px 14px; }
  .banks--admin .bank { grid-template-columns: auto 1fr auto; }
  .banks--admin .bank .switch { grid-column: 1 / 3; }
  .banks--admin .bank .switch em { min-width: 0; }
  .banks--admin .bank > [data-bank-edit] { grid-column: 3; grid-row: 1; }
  .banks--admin .bank > [data-bank-del] { grid-column: 3; grid-row: 2; }
  .paysteps > li { grid-template-columns: 1fr; gap: 8px; }
  .page__head .tabs a { padding: 10px 6px; font-size: 13.5px; }
  .arow { grid-template-columns: 1fr; gap: 6px; }
  .arow__act .btn { width: 100%; }
  .ocard { padding-left: 18px; }
  .pbar i { width: 16px; }
}


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-img, .w > span, .hero__title .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
  .squiggle path, .steps__line path { stroke-dashoffset: 0 !important; }
  .sticker--hero { opacity: 1 !important; scale: 1 !important; }
}
