/* Sinar Lawas: mid-century modern palette.
   Warm sand base, teak brown ink, burnt orange as the main colour, mustard + olive teal as accents.
   WhatsApp green is used only on the chat buttons so the "order" action is always recognisable. */
/* Fonts are self-hosted (latin subset) so no visitor data goes to Google. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/outfit-latin.woff2") format("woff2"); }
@font-face { font-family: "Shrikhand"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/shrikhand-latin.woff2") format("woff2"); }

:root {
  --wa-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2l-.4-.2Z'/%3E%3C/svg%3E");
  --sand: #fbf4e6;
  --sand-2: #fde4cc;
  --paper: #fffdf8;
  --peach: #fde4cc;
  --sage: #dfe9cf;
  --sky: #d6ebe8;
  --butter: #fcebb5;
  --ink: #3a2a1e;
  --muted: #6a5444;
  --line: #f0e1c8;
  --rust: #c4521f;
  --rust-press: #a8441a;
  --mustard: #f2b63c;
  --olive: #1f6e66;
  --olive-2: #d6ebe8;
  --wa: #1f6e66;
  --wa-press: #17544e;
  --soft: 0 14px 30px -18px rgba(120, 72, 30, .35);
  --r: 24px;
  --wrap: 1160px;
  --pad: clamp(18px, 5vw, 44px);
  --display: "Shrikhand", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 60; padding: 10px 14px; color: #fff; background: var(--ink); border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--sand); box-shadow: 0 10px 24px -22px rgba(120, 72, 30, .6); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 400 1.375rem/1 var(--display); text-decoration: none; }
.brand__mark { width: 32px; height: 32px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; border-radius: 999px; }
.nav a:hover { background: var(--butter); }
.top__cta { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .top__cta { margin-left: 8px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { color: #fff; background: var(--rust); box-shadow: 0 14px 26px -14px rgba(196, 82, 31, .7); }
.btn--primary:hover { background: var(--rust-press); }
.btn--ghost { color: var(--ink); background: var(--paper); box-shadow: var(--soft); }
.btn--ghost:hover { background: var(--butter); }
.btn--wa { color: #fff; background: var(--wa); }
.btn--wa::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--wa-ico) center / contain no-repeat; mask: var(--wa-ico) center / contain no-repeat; }
.btn--wa:hover { background: var(--wa-press); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(20px, 4vw, 56px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(42% 34% at 100% 6%, var(--butter) 0 60%, transparent 61%),
    radial-gradient(38% 30% at -4% 92%, var(--sage) 0 60%, transparent 61%),
    radial-gradient(30% 22% at 58% 100%, var(--peach) 0 60%, transparent 61%),
    var(--sand);
}
.hero__grid { display: grid; gap: 26px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; font-size: .8125rem; font-weight: 600; color: var(--olive); background: var(--sky); border-radius: 999px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
.display { margin: 12px 0 0; font: 400 clamp(2.2rem, 6.4vw, 4.1rem)/1.06 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.lede { margin: 16px 0 0; max-width: 36em; font-size: 1.0625rem; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust { display: grid; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: baseline; }
.trust li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mustard); transform: translateY(-1px); }
.trust b { color: var(--ink); font-weight: 600; }

.hero__media { position: relative; margin: 0; order: -1; }
.hero__media::before { content: ""; position: absolute; inset: 8% -4% -4% 6%; z-index: 0; border-radius: 200px 200px var(--r) var(--r); background: var(--mustard); transform: rotate(3deg); }
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 52%; background: #1a120c;
  border-radius: 200px 200px var(--r) var(--r);
}
.hero__badge {
  position: absolute; z-index: 2; right: 14px; bottom: 14px; box-shadow: 0 0 0 4px var(--sand); display: grid; place-items: center; width: 108px; height: 108px;
  border-radius: 50%; color: var(--ink); background: var(--butter); text-align: center; line-height: 1.15;
  transform: rotate(-8deg);
}
.hero__badge-k { align-self: end; font-size: .8125rem; font-weight: 600; }
.hero__badge-v { align-self: start; font: 400 1.125rem/1.1 var(--display); padding: 0 8px; }

@media (max-width: 519px) {
  .hero { padding-top: 14px; }
  .hero__grid { gap: 18px; }
  .hero__media img { aspect-ratio: 2 / 1; border-radius: 120px 120px var(--r) var(--r); }
  .display { font-size: 2rem; margin-top: 8px; }
  .lede { margin-top: 10px; font-size: 1rem; }
  .cta-row { margin-top: 18px; }
  .cta-row .btn--ghost { min-height: 46px; }
  .hero__badge { width: 88px; height: 88px; right: 10px; top: 10px; bottom: auto; }
  .hero__badge-v { font-size: .9375rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .trust { display: none; }
}
@media (max-width: 519px) and (max-height: 700px) {
  .hero__media img { aspect-ratio: 2 / 1; }
  .display { font-size: 1.7rem; }
  .lede { display: none; }
}
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__media { order: 0; }
  .hero__media img { aspect-ratio: 4 / 5; object-position: 50% 30%; border-radius: 300px 300px var(--r) var(--r); }
  .hero__badge { right: -16px; top: auto; bottom: 22%; width: 124px; height: 124px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; transform: rotate(-1.2deg); margin: -6px -10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 14px 0; color: var(--ink); background: var(--mustard); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: slide 36s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 40px; font: 400 1.25rem/1 var(--display); white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: .875rem; color: var(--rust); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block { padding: clamp(56px, 8vw, 104px) 0; }
.block--sand { background: var(--peach); border-radius: 40px 40px 0 0; }
.head { max-width: 42em; }
.kicker { margin: 0 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.kicker--light { color: var(--olive); }
.h2 { margin: 0; font: 400 clamp(1.9rem, 4.6vw, 3rem)/1.1 var(--display); text-wrap: balance; }
.aside { margin: 14px 0 0; color: var(--muted); text-wrap: pretty; }
.split { display: grid; gap: 28px; }
@media (min-width: 860px) {
  .split { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
  .split > .head { position: sticky; top: 96px; }
}

/* filters */
.filters { display: flex; gap: 8px; margin: 26px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 4px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .9375rem/1 var(--sans); color: var(--ink); background: var(--butter);
}
.chip:nth-child(3n+2) { background: var(--sky); }
.chip:nth-child(3n) { background: var(--peach); }
.chip[aria-pressed="true"] { color: #fff; background: var(--rust); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper); border-radius: var(--r); box-shadow: var(--soft); }
.card__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: 8px 8px 0; border-radius: 18px; background: var(--peach); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img img { transform: scale(1.04); } }
.card__tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; font-size: .75rem; font-weight: 700; border-radius: 999px; color: var(--ink); background: var(--butter); }
.card__tag--low { color: #fff; background: var(--rust); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 12px 14px; }
.card__cat { font-size: .75rem; font-weight: 600; color: var(--olive); }
.card__name { margin: 0; font: 600 .9375rem/1.3 var(--sans); overflow-wrap: anywhere; }
.card__spec { margin: 0; font-size: .8125rem; color: var(--muted); }
.card__price { margin: auto 0 0; padding-top: 6px; font: 400 1.125rem/1.2 var(--display); }
.card__price s { display: block; margin-top: 2px; font: 400 .8125rem/1.2 var(--sans); color: var(--muted); }
.card .btn { margin-top: 10px; width: 100%; min-height: 44px; padding: 0 10px; font-size: .875rem; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .card__body { padding: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* room / why section */
.room { padding: clamp(56px, 8vw, 104px) 0; color: var(--ink); background: var(--sage); border-radius: 40px 40px 0 0; }
.room__grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: end; }
.room__img { width: 100%; object-fit: cover; border-radius: var(--r); }
.room__img--a { aspect-ratio: 3 / 4; border-radius: 160px 160px var(--r) var(--r); }
.room__img--b { aspect-ratio: 1; }
.room__copy { grid-column: 1 / -1; padding-top: 18px; }
.points { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); }
.points li { padding: 14px 16px; background: rgba(255, 253, 248, .75); border-radius: 18px; }
.points b { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 860px) {
  .room__grid { grid-template-columns: .8fr .7fr 1.1fr; gap: 24px; align-items: center; }
  .room__img--b { align-self: end; aspect-ratio: 4 / 5; }
  .room__copy { grid-column: auto; padding: 0 0 0 40px; }
}

/* steps */
.steps { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 22px; background: var(--butter); border-radius: var(--r); }
.steps li:nth-child(2) { background: var(--sky); }
.steps li:nth-child(3) { background: var(--peach); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 400 1.25rem/1 var(--display); color: var(--ink); background: var(--paper); }
.steps h3 { margin: 14px 0 4px; font: 400 1.375rem/1.2 var(--display); }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.market { margin: 22px 0 0; color: var(--muted); }
.market a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; font-weight: 600; color: var(--rust); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 14px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 1.25rem; color: var(--ink); background: var(--butter); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.aside a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--rust); }

/* closer */
.closer {
  padding: clamp(56px, 8vw, 96px) 0; color: var(--ink);
  background: radial-gradient(30% 60% at 0% 100%, #f7c9a9 0 60%, transparent 61%), radial-gradient(26% 50% at 100% 0%, var(--butter) 0 60%, transparent 61%), var(--mustard);
}
.closer__in { text-align: center; }
.closer p { max-width: 34em; margin: 14px auto 24px; color: var(--ink); }
.closer .btn--wa { box-shadow: 0 14px 26px -14px rgba(31, 110, 102, .8); }

/* footer */
.foot { padding: 32px 0 calc(100px + env(safe-area-inset-bottom)); font-size: .8125rem; color: var(--muted); }
.foot p { margin: 0 0 8px; max-width: 62em; }
.foot b { color: var(--ink); }
@media (min-width: 860px) { .foot { padding-bottom: 40px; } }

/* sticky mobile bar */
.sticky {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px;
  color: var(--ink); background: var(--paper); border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(120, 72, 30, .55);
  transform: translateY(160%); transition: transform .25s ease;
}
.sticky.is-on { transform: none; }
.sticky__txt { display: grid; line-height: 1.25; font-size: .9375rem; }
.sticky__txt span { font-size: .75rem; color: var(--muted); }
@media (min-width: 860px) { .sticky { display: none; } }

.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 50; max-width: calc(100% - 40px);
  padding: 10px 16px; border-radius: 12px; font-size: .875rem; font-weight: 600; color: #fff; background: var(--ink);
  opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .2s ease;
}
.toast.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* gentler, not zero: keep fades and colour changes, drop movement and scaling */
  *, *::before, *::after { animation: none !important; transition-property: opacity, background-color, color !important; }
}

/* rotating pastel photo mats so the grid feels playful, not uniform */
.card:nth-child(4n+2) .card__img { background: var(--sage); }
.card:nth-child(4n+3) .card__img { background: var(--sky); }
.card:nth-child(4n) .card__img { background: var(--butter); }

/* rotated marquee bleeds past the edges on purpose; clip it without creating a scroll container */
main { overflow-x: clip; }
.kicker, .aside a, .market a { color: var(--rust-press); }

/* refinements after review */
.hero {
  background:
    radial-gradient(34% 26% at 104% 0%, var(--peach) 0 60%, transparent 61%),
    radial-gradient(40% 32% at -6% 96%, var(--sage) 0 60%, transparent 61%),
    var(--sand);
}
.marquee { padding: 16px 0; }
.hero__badge { background: var(--rust); color: #fff; box-shadow: 0 0 0 4px var(--sand); }
.hero__badge-k, .hero__badge-v { font-family: var(--display); }
.hero__badge-k { font-size: .8125rem; }
.btn--ghost { background: var(--sky); box-shadow: none; }
.btn--ghost:hover { background: #c3e2de; }
.trust { color: var(--ink); }
.card__img { border-radius: 16px; }
@media (min-width: 860px) {
  .display { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
  .room__grid { align-items: center; }
  .room__img--a { align-self: start; }
  .room__img--b { align-self: center; }
}
@media (max-width: 859px) {
  .hero { background: radial-gradient(46% 26% at -8% 98%, var(--sage) 0 60%, transparent 61%), var(--sand); }
  .hero__media::before { inset: 6% -2% -3% 4%; transform: rotate(2deg); }
  .hero__badge { top: auto; bottom: 14px; right: auto; left: 14px; transform: rotate(-8deg); }
}
/* keep the main price on the same line across cards, with or without an old price */
.card__price { min-height: 2.6em; }
@media (max-width: 859px) {
  .hero { background: var(--sand); }
  .hero__badge { bottom: 10px; left: 10px; width: 80px; height: 80px; }
}
