/* V4 "fun tapi jelas": V1's layout and components, V2's marquee, V3's motion pieces.
   Phone first (390), desktop from 900. Brand tokens come from shared/tokens.css. Load-time choreography is CSS
   (html.motion, so it runs on first paint); scroll and interaction motion lives in motion.js. */
:root {
  --ink-soft: #6a5249;             /* secondary text: 6.7:1 on cream, 4.8:1 on honey */
  --paper: #f9e9d1;                /* card surface: sand mixed into cream */
  --field: #fffcf7;
  --field-line: #a08670;           /* 3.3:1 on --field, enough for control borders */
  --line: rgb(59 42 36 / .12);
  --card-red: #862019;             /* exact body colour of the die-cut card art */
  --header-h: 64px;
  --shadow: 0 1px 2px rgb(59 42 36 / .08), 0 12px 28px -14px rgb(59 42 36 / .35);
  --ease: cubic-bezier(.2, .85, .25, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* Oven glow (V3): every band owns a theme. Without motion each band paints its own; with motion (html.glow, app.js)
   the whole page takes the theme of the band crossing the middle of the screen and the registered colours crossfade.
   Text sitting straight on a band uses these four. Cards, sheets, the header and the footer keep fixed brand colours. */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #FDF6EC; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #3B2A24; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #852119; }
@property --soft { syntax: '<color>'; inherits: true; initial-value: #6a5249; }
:is(html.glow[data-theme=cream], html:not(.glow) [data-theme=cream]) { --bg: var(--cream); --fg: var(--ink); --accent: var(--red); --soft: var(--ink-soft); }
:is(html.glow[data-theme=red], html:not(.glow) [data-theme=red]) { --bg: var(--red); --fg: var(--cream); --accent: var(--honey); --soft: var(--sand); }
:is(html.glow[data-theme=blue], html:not(.glow) [data-theme=blue]) { --bg: var(--blue); --fg: var(--ink); --accent: var(--red); --soft: var(--ink); }
:is(html.glow[data-theme=honey], html:not(.glow) [data-theme=honey]) { --bg: var(--honey); --fg: var(--ink); --accent: var(--red); --soft: var(--ink); }
html.glow { transition: --bg .7s ease, --fg .7s ease, --accent .7s ease, --soft .7s ease; }
[data-theme] { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased;
  caret-color: var(--red); accent-color: var(--red);
}
main { overflow-x: clip; } /* the running tagline never widens the page */
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.why :focus-visible, .fold :focus-visible, .box :focus-visible { outline-color: var(--accent); }
.foot :focus-visible, .apps :focus-visible, .bar:focus-visible, .fab:focus-visible { outline-color: var(--honey); }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 12px 16px; border-radius: 12px; background: var(--red); color: var(--cream); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg use[href="#i-wa"] { fill: currentColor; stroke: none; }

/* Lenis (desktop only) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---------- type ---------- */
.sec-title {
  font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch);
  font-size: clamp(2rem, 8.4vw, 3.5rem); line-height: 1; letter-spacing: -.012em; color: var(--accent);
}
.orn { display: inline-block; height: .92em; width: auto; vertical-align: -.1em; margin-left: .22em; rotate: -9deg; }
.sec-lead { margin-top: 10px; color: var(--soft); font-size: 17px; max-width: 52ch; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.eyebrow { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, scale .12s;
}
.btn:active { scale: .97; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: #6d1912; }
.btn-line { border-color: var(--red); color: var(--red); background: transparent; }
.btn-line:hover { background: var(--sand); }
.btn-cream { background: var(--cream); color: var(--red); }
.btn-cream:hover { background: var(--honey); }
.btn-block { width: 100%; min-height: 54px; font-size: 16.5px; white-space: normal; text-align: center; } /* long labels wrap at 320-360 */
.link-btn { border: 0; background: none; padding: 0 4px; min-height: 44px; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.2; background: var(--sand); color: var(--red); }
.tag-fav { background: var(--honey); }
.tag-pre { background: var(--red); color: var(--cream); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
.top-in { height: var(--header-h); display: flex; align-items: center; gap: 6px; }
.brand { display: flex; align-items: center; height: 44px; margin-right: 6px; }
.lockup {
  display: block; width: 100px; aspect-ratio: 1567.2 / 459.9; background: var(--red);
  -webkit-mask: url(../shared/img/brand/logo-lockup.svg) center / contain no-repeat;
  mask: url(../shared/img/brand/logo-lockup.svg) center / contain no-repeat;
}
.pill-biz {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--honey); color: var(--red); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap;
  position: relative;
}
.pill-biz::after { content: ""; position: absolute; inset: -2px 0; } /* 44px hit area */
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--red); }
.nav-btn { margin-left: auto; }
.order-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 11px;
  border: 0; border-radius: 999px; background: transparent; color: var(--red); font-weight: 700;
}
.order-btn-label { display: none; }
.count {
  position: absolute; top: 1px; right: -1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; background: var(--red); color: var(--cream); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--cream);
}

#site-nav {
  position: fixed; inset: calc(var(--header-h) + 8px) 12px auto 12px; width: auto; height: auto; margin: 0;
  padding: 8px; border: 0; border-radius: 22px; background: var(--cream); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgb(59 42 36 / .45);
}
#site-nav:popover-open { display: grid; }
#site-nav::backdrop { background: rgb(40 22 16 / .25); }
#site-nav a {
  display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--red); text-decoration: none;
}
#site-nav a:hover { background: var(--sand); }

/* ---------- box-lid opening (html.intro, first visit per tab, about 1.2 s) ---------- */
.lid { display: none; }
html.intro .lid { display: block; position: fixed; inset: 0; z-index: 90; pointer-events: none; perspective: 900px; perspective-origin: 50% -20%; animation: lid-out .25s .95s forwards; }
.lid-panel { position: absolute; inset: 0; display: grid; place-items: center; transform-origin: 50% 0; background: radial-gradient(110% 70% at 50% 42%, #93291f 0%, var(--red) 55%, #5a150f 100%); animation: lid-lift .95s .06s cubic-bezier(.62, .02, .3, 1) both; }
.lid-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to top, rgb(249 204 133 / .9), rgb(249 204 133 / 0)); opacity: 0; animation: fade-in .4s .15s both; }
.lid-art { width: min(76vw, 540px); height: auto; animation: lid-art .8s both; }
@keyframes lid-lift { 0% { transform: rotateX(0); } 22% { transform: rotateX(-12deg); } 100% { transform: rotateX(-100deg); } }
@keyframes lid-art { from { transform: translateY(14px) scale(.96); opacity: .4; } }
@keyframes lid-out { to { opacity: 0; visibility: hidden; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- hero: V1's category switcher, no masthead (Alice: "simple and clean"); then the marquee ---------- */
.marquee { height: 1.1em; box-sizing: content-box; overflow: clip; padding: 13px 0; border-block: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: clamp(24px, 6.4vw, 44px); }
.mq-track { display: flex; width: max-content; }
.mq-track > div { display: flex; flex: none; align-items: center; }
.mq-track span { padding-inline: .45em; white-space: nowrap; font: 800 1em/1.1 var(--font-display); font-stretch: 125%; color: var(--accent); }
.pearl {
  display: block; flex: none; width: .62em; aspect-ratio: 1020 / 924.9; background: var(--accent);
  -webkit-mask: url(../shared/img/brand/logo-symbol.svg) center / contain no-repeat;
  mask: url(../shared/img/brand/logo-symbol.svg) center / contain no-repeat;
}
@keyframes mq { to { transform: translateX(-100%); } } /* each half slides one full strip; same speed as before */

.hero-wrap { margin-top: 14px; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; gap: 18px; align-content: start; }
.slide-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--sand); }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; }
.slide-photo .slide-sticker {
  position: absolute; top: 10px; right: 10px; width: 88px; height: 72px; object-fit: contain; rotate: 10deg;
  filter: drop-shadow(0 6px 10px rgb(40 22 16 / .35));
}
.slide-meta {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 14px;
  border-radius: 999px; background: var(--cream); color: var(--red); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px -8px rgb(59 42 36 / .5); transform-origin: 0 100%;
}
.slide-text { container-type: inline-size; }
.slide-title {
  font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch);
  font-size: min(12cqi, 6rem); line-height: .95; letter-spacing: -.015em; color: var(--accent);
}
.slide-blurb { margin-top: 10px; font-size: 17px; min-height: 3.1em; max-width: 36ch; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.slide-cta .btn { flex: 1 1 auto; }

.hero-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
html.js .hero-tabs:empty { min-height: 128px; } /* rendered by JS: hold the space so nothing below jumps */
html:not(.js) .marquee { display: none; } /* filled by JS */
.hero-tabs [role="tab"] {
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 10px 8px 8px;
  border: 0; border-radius: 18px; background: var(--paper); color: var(--red); text-align: left;
  transition: background-color .25s, color .25s;
}
.hero-tabs img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.hero-tabs b { display: block; font-size: 15px; line-height: 1.2; }
.hero-tabs small { display: block; font-size: 13px; color: var(--ink-soft); }
.hero-tabs [aria-selected="true"] { background: var(--red); color: var(--cream); }
.hero-tabs [aria-selected="true"] small { color: var(--sand); }

/* ---------- kenapa mysie: the one running tagline, the story, "lapis demi lapis". All cream, like the hero (Alice) ---------- */
.hero, .menu, #lokasi { padding-bottom: 72px; } /* the space between bands belongs to the band above: no gaps for the glow */
.why-band { padding: 72px 0 60px; }
.why-story { margin-top: 16px; font-size: 17px; color: var(--soft); max-width: 58ch; }
.points { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 20px; }
.point { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.point img { width: 52px; height: 52px; object-fit: contain; rotate: -8deg; }
.point:nth-child(2) img { rotate: 7deg; }
.point h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--accent); }
.point p { margin-top: 4px; color: var(--soft); font-size: 15.5px; }
.point a { color: var(--fg); font-weight: 700; text-underline-offset: 3px; }

.fold-stage { display: grid; gap: 22px; padding: 56px 0 64px; }
.fold .eyebrow { color: var(--accent); }
.fold-title {
  margin-top: 8px; font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch);
  font-size: clamp(36px, 10vw, 76px); line-height: .95; letter-spacing: -.015em; color: var(--fg);
}
.fold-count { display: flex; align-items: baseline; gap: .3em; margin-top: 12px; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; color: var(--accent); }
.fold-n { display: inline-block; font-size: clamp(76px, 23vw, 200px); line-height: .82; font-variant-numeric: tabular-nums; }
.fold-n.is-bump { animation: bump .5s var(--spring); }
.fold-count span:last-child { font-size: clamp(20px, 5.4vw, 38px); }
.fold-cap { min-height: 2.6em; margin-top: 8px; font-size: clamp(17px, 4.5vw, 22px); font-weight: 600; }
.fold-art { display: grid; place-items: center; }
.fold-art svg { width: min(100%, 460px); height: auto; overflow: visible; }
.fold-photo { width: min(70vw, 420px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; box-shadow: 0 20px 50px rgb(0 0 0 / .3); }
@keyframes bump { 40% { scale: 1.18; } }

/* ---------- sections ---------- */
.sec { padding-top: 64px; scroll-margin-top: -44px; }
.rail {
  display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
  margin: 18px -16px 0; padding: 4px 16px 6px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* product cards share one tap-to-open pattern */
.card-open { all: unset; cursor: pointer; }
.card-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.card-open:focus-visible { outline: none; }
.card:has(.card-open:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.qty { position: relative; z-index: 1; }

/* qty control: "Tambah" turns into a stepper */
.qty-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px;
  border: 2px solid var(--red); border-radius: 999px; background: var(--cream); color: var(--red); font-weight: 700; font-size: 15px;
  transition: background-color .2s, color .2s, scale .12s;
}
.qty-add:hover { background: var(--red); color: var(--cream); }
.qty-add:active, .qty-step button:active { scale: .94; }
.qty-add .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.qty-step { display: none; align-items: center; justify-content: space-between; min-height: 44px; border-radius: 999px; background: var(--red); color: var(--cream); }
.qty-step button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.qty-step .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.qty-n { min-width: 28px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.qty[data-n]:not([data-n="0"]) .qty-add { display: none; }
.qty[data-n]:not([data-n="0"]) .qty-step { display: flex; }
.qty-step button:focus-visible { outline: 2px solid var(--cream); outline-offset: -4px; }

/* menu */
.chips {
  position: sticky; top: var(--header-h); z-index: 10; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 18px -16px 0; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); background: transparent; color: var(--accent); font-weight: 700; font-size: 15px;
}
.chip span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--sand); color: var(--red); font-size: 13px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.chip[aria-pressed="true"] span { background: color-mix(in srgb, var(--bg) 20%, transparent); color: var(--bg); }
.group { padding-top: 26px; }
.group-head { display: grid; gap: 4px; margin-bottom: 14px; }
.group-head h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 24px; line-height: 1.1; color: var(--accent); }
.group-head p { color: var(--soft); }
.grid { display: grid; gap: 12px; }
.card {
  position: relative; display: grid; grid-template-columns: 108px 1fr; gap: 14px; padding: 12px;
  border-radius: 22px; background: var(--paper); color: var(--ink); transition: box-shadow .25s, translate .25s var(--ease);
}
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: 15px; overflow: hidden; background: var(--sand); align-self: start; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .tag { position: absolute; left: 6px; top: 6px; }
.card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card h4 { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--red); }
.card-desc { font-size: 15px; line-height: 1.5; }
.card .tags { margin-top: 2px; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-foot .price { font-size: 16.5px; }
.card-foot .qty-step { width: 124px; }
.flake { position: absolute; z-index: 3; left: 0; top: 0; width: 7px; height: 6px; border-radius: 1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(133 33 25 / .25), 0 2px 4px rgb(40 22 16 / .35); pointer-events: none; }

@media (hover: hover) {
  .card:hover { box-shadow: var(--shadow); translate: 0 -2px; }
  .hero-tabs [role="tab"]:not([aria-selected="true"]):hover { background: var(--sand); }
  .chip:not([aria-pressed="true"]):hover { background: var(--sand); color: var(--red); }
}

/* ---------- the box (V2): six slots that fill with the order's salt breads ---------- */
.box { padding: 64px 0 72px; overflow: clip; scroll-margin-top: calc(var(--header-h) - 1px); }
.box-grid { display: grid; }
.box-title, .box-sub { font-family: var(--font-display); font-weight: 900; font-stretch: var(--display-stretch); letter-spacing: -.015em; }
.box-title { font-size: clamp(64px, 19vw, 190px); line-height: .9; color: var(--fg); }
.box-sub { margin-top: 10px; font-size: clamp(28px, 8vw, 72px); line-height: 1; color: var(--accent); }
.box-n { display: inline-block; font-size: 1.5em; line-height: .8; }
.box-art { width: calc(100% + 16px); max-width: none; margin: 34px 0 14px; }
.box-text { max-width: 32ch; font-size: 18px; line-height: 1.5; }
.box-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 246px; margin-top: 24px; padding: 12px; border: 2px solid var(--soft); border-radius: 20px; }
.box-slots i { display: grid; place-items: center; height: 42px; border-radius: 999px; border: 2px dashed color-mix(in srgb, var(--soft) 55%, transparent); transition: border-color .3s, background-color .3s; }
.box-slots svg { width: 78%; height: auto; scale: 0; rotate: -30deg; transition: scale .45s var(--spring), rotate .45s var(--spring); }
.box-slots i.on { border: 2px solid var(--soft); background: color-mix(in srgb, var(--soft) 14%, transparent); }
.box-slots i.on svg { scale: 1; rotate: -6deg; }
.box-slots i.on:nth-child(even) svg { rotate: 7deg; }
.box-slots.full { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.box-status { margin-top: 14px; font-weight: 700; color: var(--accent); }
.box-status:empty { display: none; }
.box .btn { margin-top: 20px; }

/* ---------- untuk bisnis ---------- */
.biz { padding: 64px 0; }
.pending {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 32px; padding: 0 12px 0 10px; border-radius: 999px;
  background: var(--cream); color: var(--red); font-size: 13.5px; font-weight: 700;
}
.pending .ic { width: 17px; height: 17px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tile { padding: 14px 14px 16px; border-radius: 20px; background: var(--cream); color: var(--ink); }
.tile dt { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.tile dd { margin-top: 6px; font-weight: 600; font-size: 15px; line-height: 1.42; }
.num { display: inline-block; font-variant-numeric: tabular-nums; }
/* 8am&this proof card: the Ide & Kabar card language (red border, offset shadow), logo + story + collab photo */
.partner { display: grid; grid-template-columns: 52px 1fr; grid-template-areas: "logo text" "photo photo"; gap: 12px; align-items: start; margin-top: 16px; padding: 14px;
  border: 2px solid var(--red); border-radius: 22px; background: var(--cream); color: var(--ink); text-decoration: none; box-shadow: 5px 6px 0 var(--red); }
.partner:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.partner-logo { grid-area: logo; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.partner-text { grid-area: text; display: grid; gap: 4px; min-width: 0; }
.partner-kind { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.partner-title { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 19px; line-height: 1.15; color: var(--red); }
.partner-story { font-size: 14.5px; line-height: 1.45; }
.partner-link { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.partner-photo { grid-area: photo; width: 100%; height: 150px; border-radius: 14px; object-fit: cover; object-position: 50% 38%; }
@media (min-width: 600px) { .partner { grid-template-columns: 60px 1fr 116px; grid-template-areas: "logo text photo"; } .partner-logo { width: 60px; height: 60px; } .partner-photo { height: 150px; } }
.acc { margin-top: 18px; display: grid; gap: 8px; }
.acc details { border-radius: 18px; background: rgb(253 246 236 / .82); color: var(--ink); }
.acc details[open] { background: var(--cream); }
.acc summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 0 14px 0 16px; font-weight: 700; cursor: pointer; border-radius: 18px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { color: var(--red); transition: rotate .25s var(--ease); }
.acc details[open] summary .ic { rotate: 180deg; }
.acc details p { padding: 0 16px 16px; }

.biz-form { margin-top: 28px; padding: 22px 18px; border-radius: 26px; background: var(--cream); color: var(--ink); display: grid; gap: 16px; box-shadow: var(--shadow); }
.biz-form h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 24px; line-height: 1.1; color: var(--red); }
.form-lead { margin-top: -8px; color: var(--ink-soft); font-size: 15px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 14.5px; padding: 0; }
fieldset.field legend { margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--field-line); border-radius: 14px;
  background: var(--field); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #7a6258; opacity: 1; }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(133 33 25 / .18); }
textarea.input { resize: vertical; }
select.input {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23852119' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5 12 15l5.5-5.5'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
input[type="date"].input { appearance: none; min-width: 0; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 52px; }
.input-unit span { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--ink-soft); font-weight: 600; pointer-events: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1.5px solid var(--field-line); background: var(--field); font-weight: 600; font-size: 15px; cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 0; }
.check:has(input:checked) { border-color: var(--red); background: var(--sand); color: var(--red); }
.check:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.preview { padding: 14px; border-radius: 20px; background: var(--paper); }
.preview-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.bubble {
  margin-left: 10%; padding: 10px 14px 12px; border-radius: 18px 18px 6px 18px; background: #fff;
  font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgb(59 42 36 / .14);
}

/* tray filler (V3): the slider fills the tray, one roll per 10 pcs */
.tray { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 2px; padding: 12px 10px; border-radius: 18px; background: #3b2c26; box-shadow: inset 0 0 0 5px #4d3a32, inset 0 8px 18px rgb(0 0 0 / .45); }
.slot { display: grid; place-items: center; aspect-ratio: 1.45; border-radius: 10px; background: rgb(255 255 255 / .05); }
.slot svg { width: 88%; height: auto; scale: 0; rotate: -30deg; transition: scale .4s var(--spring), rotate .4s var(--spring); }
.slot.on svg { scale: 1; rotate: -9deg; }
.slot.on:nth-child(even) svg { rotate: 8deg; }
.range { width: 100%; height: 44px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--honey), var(--red)); }
.range::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--honey), var(--red)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border: 3px solid var(--red); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--sand) 55%, #cfb288); box-shadow: 0 4px 10px rgb(0 0 0 / .3); }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 3px solid var(--red); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--sand) 55%, #cfb288); }
.range:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 999px; }
.vol-row { display: flex; align-items: center; gap: 12px; }
.vol-row .input-unit { flex: 1; }
.tray-key { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.roll-ic { width: 34px; height: 20px; }

/* ---------- ide & kabar (V3 cards on honey) ---------- */
.ide { margin-top: 0; padding-bottom: 64px; }
.idea-rail { grid-auto-columns: min(80vw, 300px); gap: 16px; padding-top: 44px; padding-bottom: 14px; margin-top: 4px; }
.idea { position: relative; padding: 22px 20px 22px; border: 2px solid var(--red); border-radius: 26px; background: var(--cream); color: var(--ink); box-shadow: 6px 7px 0 var(--red); }
.idea-sticker { position: absolute; top: -34px; right: 12px; width: 86px; height: 86px; object-fit: contain; rotate: 8deg; filter: drop-shadow(0 6px 8px rgb(59 42 36 / .25)); }
.idea:nth-child(even) .idea-sticker { rotate: -10deg; }
.idea-kind { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--honey); color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.idea h3 { margin-top: 12px; padding-right: 60px; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 21px; line-height: 1.12; color: var(--red); }
.idea p:last-child { margin-top: 8px; font-size: 15.5px; }

/* ---------- lokasi ---------- */
.places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.place { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 24px; background: var(--paper); color: var(--ink); }
.place h3, .apps h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.15; color: var(--red); }
.place p { color: var(--ink-soft); }
.place .hours { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.place .hours .ic { color: var(--red); }
.place .btn { justify-self: start; margin-top: 6px; }
.apps { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 24px; background: var(--red); color: var(--cream); }
.apps h3 { color: var(--cream); }
.apps p { color: var(--sand); }
.apps-btns, .instant-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.apps-btns { margin-top: 4px; }
.apps .btn { background: var(--cream); color: var(--red); }
.apps .btn:hover { background: var(--honey); }
.apps .btn .ic { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 52px 0 128px; background: var(--red); color: var(--cream); overflow: clip; }
.foot-grid { position: relative; z-index: 1; display: grid; gap: 28px; }
.foot-wm { display: block; width: 168px; height: auto; color: var(--cream); fill: currentColor; overflow: visible; }
.foot-wm use { transform-box: fill-box; transform-origin: 50% 100%; }
.foot-tag { margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.25; color: var(--honey); }
.foot-links { list-style: none; padding: 0; display: grid; gap: 2px; }
.foot-links a { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.foot-links a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.foot-links .ic { color: var(--honey); }
.foot-links span { display: grid; line-height: 1.25; }
.foot-links small { color: var(--sand); font-size: 13.5px; }
.foot-base { position: relative; z-index: 1; margin-top: 28px; }
.foot-credit { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: var(--sand); font-size: 13.5px; text-decoration: none; }
.foot-credit:hover b { text-decoration: underline; text-underline-offset: 3px; }
.foot-mark { position: absolute; right: -70px; bottom: -50px; width: 300px; height: auto; pointer-events: none; overflow: visible; }
.fm-fill { fill: rgb(253 246 236 / .08); }
.fm-lines { opacity: 0; fill: none; stroke: rgb(253 246 236 / .4); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- dock: WhatsApp button or order bar ---------- */
.dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; pointer-events: none; }
.dock > * { pointer-events: auto; }
.fab {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: var(--cream); box-shadow: 0 0 0 2px var(--cream), 0 14px 28px -10px rgb(59 42 36 / .6); /* ring: stays visible over red */
}
.fab .ic { width: 28px; height: 28px; }
.bar {
  flex: 1; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px; border: 0; border-radius: 20px;
  background: var(--red); color: var(--cream); font-weight: 700; font-size: 16px; box-shadow: 0 16px 32px -12px rgb(59 42 36 / .7);
  animation: rise .35s var(--ease);
}
.bar-total { margin-left: auto; font-variant-numeric: tabular-nums; padding-left: 14px; border-left: 1px solid rgb(253 246 236 / .3); }
.dock[data-state="empty"] .bar, .dock[data-state="order"] .fab { display: none; }
@keyframes rise { from { translate: 0 24px; opacity: 0; } }
.flyer { position: fixed; z-index: 60; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #fff, var(--sand) 55%, #c9ab80); box-shadow: 0 0 0 2px var(--red), 0 6px 14px rgb(0 0 0 / .3); }

/* ---------- sheets (dialog) ---------- */
.sheet {
  width: 100%; max-width: none; height: auto; max-height: min(92dvh, 860px); margin: auto 0 0; padding: 0; border: 0;
  border-radius: 26px 26px 0 0; background: var(--cream); color: var(--ink); overflow: hidden;
  box-shadow: 0 -18px 48px -16px rgb(40 22 16 / .5);
  transition: translate .38s var(--ease), display .38s allow-discrete, overlay .38s allow-discrete;
  translate: 0 100%;
}
.sheet[open] { display: flex; flex-direction: column; translate: 0 0; }
@starting-style { .sheet[open] { translate: 0 100%; } }
.sheet::backdrop { background: rgb(40 22 16 / .5); opacity: 0; transition: opacity .38s, display .38s allow-discrete, overlay .38s allow-discrete; }
.sheet[open]::backdrop { opacity: 1; }
@starting-style { .sheet[open]::backdrop { opacity: 0; } }
.sheet-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
.sheet-x {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--cream); color: var(--red); box-shadow: 0 4px 14px -6px rgb(59 42 36 / .5);
}

/* product sheet */
.sheet-product .sheet-x { position: absolute; top: 12px; right: 12px; z-index: 4; }
.ps-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.ps-photo img { width: 100%; height: 100%; object-fit: cover; }
.ps-body { padding: 18px 16px 24px; display: grid; gap: 10px; }
.ps-body h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 27px; line-height: 1.08; color: var(--red); }
.ps-body .price { font-size: 19px; }
.ps-desc { font-size: 16.5px; }
.ps-pre { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--sand); font-size: 15px; }
.ps-pre .ic { color: var(--red); margin-top: 1px; }
.ps-foot { display: flex; align-items: center; gap: 10px; }
.ps-foot .qty { flex: 1; }
.ps-foot .qty-add, .ps-foot .qty-step { width: 100%; min-height: 52px; }
.ps-foot .btn { flex: 1; min-height: 52px; padding: 0 14px; }

/* storage + reheating, printed on Mysie's own die-cut card. The card art is cropped to its pastry "head";
   a CSS body in the same red continues below so any length of copy fits. Insets are measured from the art. */
.care { width: min(100%, 300px); margin: 14px auto 4px; }
.care::before { content: ""; display: block; aspect-ratio: var(--head); background: var(--card) top / 100% auto no-repeat; }
.care-body { margin: -1px var(--r) 0 var(--l); padding: 6px 18px 22px; border-radius: 0 0 22px 22px; background: var(--card-red); color: var(--cream); }
.care-body h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--honey); }
.care-body p { margin: 4px 0 14px; font-size: 14.5px; line-height: 1.5; }
.care-body p:last-child { margin-bottom: 0; }
.care-salt-bread { --head: 520 / 373; --l: 13.3%; --r: 9%; }
.care-croissant { --head: 520 / 432; --l: 12.7%; --r: 9%; }
.care-cake { --head: 520 / 457; --l: 10.8%; --r: 7%; }

/* order sheet */
.os-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.os-head h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 24px; color: var(--red); }
.os-head h2:focus { outline: none; }
.os-head .sheet-x { box-shadow: none; background: var(--paper); }
.sheet-order[data-empty="true"] .os-filled, .sheet-order[data-empty="false"] .os-empty { display: none; }
.os-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 20px 36px; }
.os-empty img { width: 78px; rotate: -6deg; margin-bottom: 10px; }
.os-empty-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--red); }
.os-empty-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
form.os-filled { display: grid; gap: 18px; padding: 8px 16px 22px; }
.os-lines-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink-soft); font-size: 14.5px; margin-bottom: -12px; }
.lines { list-style: none; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.line-name { font-weight: 700; line-height: 1.25; }
.line-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.line .qty-step { width: 116px; }
.os-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: -6px; }
.os-total span { font-weight: 700; }
.os-total b { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 26px; color: var(--red); font-variant-numeric: tabular-nums; }
.nudge { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--honey); }
.slots { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; padding: 8px; border-radius: 10px; background: var(--cream); }
.slots i { width: 14px; height: 20px; border-radius: 7px; border: 1.5px dashed rgb(133 33 25 / .45); }
.slots i.on { background: var(--red); border: 0; }
.nudge p { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--ink); }
.radios { display: grid; gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 16px;
  border: 1.5px solid var(--field-line); background: var(--field); font-weight: 600; cursor: pointer;
}
.radio input { width: 20px; height: 20px; margin: 0; flex: none; }
.radio:has(input:checked) { border-color: var(--red); background: var(--sand); color: var(--red); }
.radio:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.hint { font-size: 14px; color: var(--red); font-weight: 600; }
.instant { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--paper); }
.instant p { font-size: 15px; }
.instant .btn { min-height: 46px; padding: 0 12px; font-size: 15px; }
.fine { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.howto { padding: 14px 16px; border-radius: 18px; background: var(--honey); }
.howto-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--red); }
.howto p + p { margin-top: 4px; font-size: 15.5px; line-height: 1.45; }
@media (max-width: 359.98px) { .top-in { gap: 2px; } .brand { margin-right: 2px; } .pill-biz { padding: 0 10px; font-size: 13px; } }

/* ---------- 600+ ---------- */
@media (min-width: 600px) {
  .order-btn-label { display: inline; }
  .order-btn { padding: 0 14px 0 12px; background: var(--paper); }
  .count { position: static; box-shadow: none; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .places { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .lockup { width: 124px; }
  .pill-biz, .nav-btn { display: none; }
  #site-nav {
    position: static; display: flex; gap: 2px; margin: 0 8px 0 auto; padding: 0; inset: auto;
    background: none; box-shadow: none; border-radius: 0; overflow: visible;
  }
  #site-nav a { min-height: 44px; padding: 0 16px; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; border-radius: 999px; }
  #site-nav .nav-biz { background: var(--honey); }
  #site-nav .nav-biz:hover { background: #f5bd66; }

  .marquee { padding: 16px 0; }

  .hero-wrap { margin-top: 36px; }
  .slide { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .slide-photo { order: 2; aspect-ratio: 5 / 4; border-radius: 32px; }
  .slide-photo .slide-sticker { top: 22px; right: 22px; width: 112px; height: 92px; }
  .slide-title { font-size: min(14cqi, 6rem); }
  .slide-blurb { font-size: 20px; margin-top: 18px; }
  .slide-cta { margin-top: 28px; }
  .slide-cta .btn { flex: none; min-height: 54px; padding: 0 26px; }
  .hero-tabs { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
  html.js .hero-tabs:empty { min-height: 72px; }
  .hero-tabs [role="tab"] { min-height: 72px; padding: 10px 14px 10px 10px; border-radius: 20px; }
  .hero-tabs img { width: 52px; height: 52px; border-radius: 14px; }
  .hero-tabs b { font-size: 16.5px; }

  .hero, .menu, #lokasi { padding-bottom: 112px; }
  .why-band { padding: 104px 0 0; } /* the fold's centred stage below already opens ~200px; both cream, so more reads as a hole */
  .why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
  .points { margin-top: 6px; gap: 26px; }
  .point { grid-template-columns: 64px 1fr; gap: 18px; }
  .point img { width: 64px; height: 64px; }
  .point h3 { font-size: 21px; }
  .fold-stage { grid-template-columns: minmax(320px, .9fr) 1.2fr; align-items: center; gap: 48px; min-height: calc(100svh - var(--header-h)); padding: 48px 0; }
  .fold-art svg { width: min(100%, 640px); max-height: calc(100svh - var(--header-h) - 64px); }

  .sec { padding-top: 104px; }
  .sec-lead { margin-top: 14px; }
  .rail { grid-auto-flow: row; overflow: visible; margin: 28px 0 0; padding: 0; gap: 16px; }
  .idea-rail { grid-template-columns: repeat(3, 1fr); gap: 64px 28px; padding: 44px 0 40px; }
  .idea:nth-child(3n+2) { margin-top: 34px; margin-bottom: -34px; } /* staggered column; layout, so motion can't flatten it */

  .chips { margin: 24px 0 0; padding: 12px 0; }
  .group { padding-top: 36px; }
  .group-head { grid-template-columns: auto 1fr; align-items: baseline; gap: 16px; }
  .group-head h3 { font-size: 30px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 10px 10px 14px; gap: 14px; }
  .card-media { aspect-ratio: 4 / 3; border-radius: 16px; }
  .card-body { padding: 0 6px; }

  .box { padding: 110px 0 120px; }
  .box-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .box-grid > * { grid-column: 1 / span 6; }
  .box-title { grid-column: 1 / -1; }
  .box-sub { grid-column: 1 / span 8; }
  .box-art { grid-column: 7 / -1; grid-row: 3; align-self: center; width: calc(100% + 32px); margin: 0; }
  .box-info { grid-row: 3; margin-top: 40px; }

  .biz { padding: 96px 0 104px; }
  .biz-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .tile { padding: 20px; }
  .tile dd { font-size: 16.5px; }
  .biz-form { margin-top: 0; padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }

  .ide { padding-bottom: 96px; }
  .places { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 28px; gap: 16px; }

  .foot { padding-top: 80px; }
  .foot-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .foot-links { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .foot-wm { width: 220px; }
  .foot { padding-bottom: 120px; }
  .foot-mark { width: 480px; right: 3%; bottom: -90px; }

  .dock { left: auto; right: 24px; bottom: 24px; }
  .bar { flex: none; min-width: 340px; }

  .sheet-product {
    width: min(960px, 100% - 64px); max-height: min(86dvh, 720px); margin: auto; border-radius: 30px;
    display: none; translate: 0 32px; opacity: 0;
    transition: translate .38s var(--ease), opacity .3s, display .38s allow-discrete, overlay .38s allow-discrete;
  }
  .sheet-product[open] { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; translate: 0 0; opacity: 1; }
  @starting-style { .sheet-product[open] { translate: 0 32px; opacity: 0; } }
  .sheet-product .sheet-scroll { display: contents; }
  .ps-photo { grid-row: 1 / 3; aspect-ratio: auto; height: 100%; min-height: 0; }
  .ps-body { padding: 32px 32px 28px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
  .ps-body h2 { font-size: 32px; padding-right: 40px; }
  .ps-foot { padding: 14px 32px 18px; }

  .sheet-order { width: 460px; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 28px 0 0 28px; translate: 100% 0; }
  .sheet-order[open] { translate: 0 0; }
  @starting-style { .sheet-order[open] { translate: 100% 0; } }
}

@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- motion: first-paint choreography (CSS, so it never waits for the network) ---------- */
html.motion { --d: .1s; }
html.intro { --d: .5s; }
@media (prefers-reduced-motion: no-preference) {
  html.motion .mq-track > div { animation: mq 50s linear infinite; will-change: transform; }
  /* the first category photo opens like a pearl, its sticker slaps on, the count pops */
  html.motion:not(.skipped) .hero-track > .slide:first-child .slide-photo { animation: photo-in 1s calc(var(--d) + .35s) cubic-bezier(.2, .8, .2, 1) backwards; }
  html.motion:not(.skipped) .hero-track > .slide:first-child .slide-photo .ph { animation: zoom-out 1.4s calc(var(--d) + .35s) var(--ease) backwards; }
  html.motion:not(.skipped) .hero-track > .slide:first-child .slide-sticker { animation: slap .6s calc(var(--d) + 1s) cubic-bezier(.3, 1.6, .5, 1) backwards; }
  html.motion:not(.skipped) .hero-track > .slide:first-child .slide-meta { animation: pop .5s calc(var(--d) + 1.1s) var(--spring) backwards; }

}
@keyframes pop { from { scale: .4; opacity: 0; } 50% { opacity: 1; } }
@keyframes slap { from { scale: 2.4; rotate: -40deg; opacity: 0; } 45% { opacity: 1; } }
@keyframes photo-in { from { clip-path: inset(22% 18% 22% 18% round 200px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes zoom-out { from { scale: 1.25; } }

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