:root {
  color-scheme: light;
  --bg: #f3f2ec;
  --paper: #fbfaf6;
  --ink: #17211b;
  --muted: #535e57;
  --line: #d6d9cf;
  --pine: #22362b;
  --pine-2: #2f4a3a;
  --moss: #dfe6da;
  --amber: #e39a3b;
  --amber-ink: #8a4d0c;
  --ok: #1f6b43;
  --warn: #8a4d0c;
  --bad: #a3322a;
  --r: 14px;
  --r-lg: 22px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --safe: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* demo strip */
.demo-strip { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; align-items: center; padding: 8px 16px; background: var(--amber); color: #1f1405; font-size: 13px; text-align: center; }
.demo-strip a { font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; background: rgba(243, 242, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 18px/1 var(--head); color: var(--pine); min-height: 44px; }
.wordmark svg { width: 28px; height: 28px; }
.btn-ghost { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; }
.btn-ghost:hover { border-color: var(--pine); }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; background: #1d2b23; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 28, 22, .35) 0%, rgba(18, 28, 22, .7) 55%, rgba(18, 28, 22, .92) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 40px 16px 28px; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem); font-weight: 700; margin: 4px 0 8px; letter-spacing: -.03em; }
.hero-area { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e6ebe3; margin: 0; }
.hero-area .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero-tag { font-size: 17px; max-width: 34ch; color: #f0f2ec; }
.tonight { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a1; box-shadow: 0 0 0 0 rgba(126, 226, 161, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(126, 226, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 161, 0); } }
.links { display: grid; gap: 10px; }
.link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: var(--r); text-decoration: none; font-weight: 500; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .32); color: #fff; backdrop-filter: blur(6px); transition: background .2s; }
.link:hover { background: rgba(255, 255, 255, .22); }
.link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link-primary { background: var(--amber); color: #1f1405; border-color: var(--amber); font-weight: 700; font-size: 17px; min-height: 58px; }
.link-primary:hover { background: #eeab52; }
.link-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.link-row .link { flex-direction: column; gap: 4px; font-size: 13px; min-height: 64px; padding: 8px 4px; }

/* search */
.search { max-width: 1180px; margin: 0 auto; padding: 36px 16px 48px; scroll-margin-top: 64px; }
.search-head p { color: var(--muted); max-width: 52ch; }
.search-bar { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 8px; }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; min-height: 64px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); text-align: left; cursor: pointer; }
button.field:hover { border-color: var(--pine); }
.field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.field-value { font-weight: 700; font-size: 16px; }
.field-guests { flex-direction: row; justify-content: space-between; align-items: center; cursor: default; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.stepper button:hover { border-color: var(--pine); }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: 17px; }
.search-note { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }

.units { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.unit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.unit-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--moss); }
.unit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.unit:hover .unit-img img { transform: scale(1.03); }
.unit.is-off .unit-img img { filter: grayscale(.7); opacity: .75; }
.unit-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.unit-kind { font-size: 13px; color: var(--muted); margin: 0 0 2px; }
.unit h3 { font-size: 1.3rem; margin-bottom: 4px; }
.unit-fac { font-size: 14px; color: var(--muted); }
.unit-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.unit-price { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.unit-price strong { color: var(--ink); font-size: 18px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin: 0; }
.badge-ok { background: #d9efe0; color: var(--ok); }
.badge-full { background: #eceae4; color: #4b4f4a; }
.badge-warn { background: #f8e6cd; color: var(--warn); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--pine); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--pine-2); }
.btn:disabled { background: #a9b0a8; cursor: not-allowed; }
.btn-soft { background: var(--moss); color: var(--pine); }
.btn-soft:hover { background: #d2dccb; }
.btn-big { width: 100%; min-height: 56px; font-size: 16px; }
.linkbtn { background: none; border: 0; padding: 6px 0; min-height: 36px; color: var(--pine); text-decoration: underline; font-weight: 700; cursor: pointer; }

/* info */
.info { max-width: 1180px; margin: 0 auto; padding: 8px 16px 56px; display: grid; gap: 24px; }
.info-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.info-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 10px; margin: 0 0 20px; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--moss); color: var(--pine); }
.policy { padding-left: 18px; margin: 0 0 18px; }
.policy li { margin-bottom: 4px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-weight: 700; }
.faq p { color: var(--muted); }

.foot { background: var(--pine); color: #e6ebe3; padding: 28px 16px; text-align: center; }
.foot p { margin: 0 0 4px; }
.foot-small { font-size: 13px; color: #c4cdc3; }

/* dialog sheet */
.sheet { border: 0; padding: 0; width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: up .28s ease-out; }
.sheet::backdrop { background: rgba(12, 18, 14, .55); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet-close { flex: none; display: flex; justify-content: flex-end; margin: 0; padding: 6px 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sheet-close button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--moss); cursor: pointer; font-size: 16px; }
.sheet-body { overflow-y: auto; padding: 20px 16px calc(16px + var(--safe)); overscroll-behavior: contain; }
.sheet-body > h2 { font-size: 1.6rem; }
.sheet-body h2:focus { outline: none; }
.sheet-body h3 { margin-top: 18px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sheet-actions .btn { flex: 1 1 180px; }
.sheet-actions.sticky { position: sticky; bottom: calc(-16px - var(--safe)); margin: 16px -16px calc(-16px - var(--safe)); padding: 12px 16px calc(12px + var(--safe)); background: linear-gradient(transparent, var(--paper) 30%); }
.sheet-small .sheet-body { padding-top: 24px; }

.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: -20px -16px 8px; }
.gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; background: var(--moss); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-hint { font-size: 13px; color: var(--muted); text-align: right; margin: 0 0 8px; }

/* kalender */
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cal-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; }
.cal-arrow:disabled { opacity: .35; cursor: default; }
.cal-hint { margin: 0; font-weight: 700; font-size: 14px; color: var(--pine); }
.cal-months { display: grid; gap: 18px; }
.cal-title { font-weight: 700; margin: 0 0 6px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { min-height: 50px; padding: 4px 0; border: 0; border-radius: 10px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; }
.cal-day:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--pine); }
.cal-num { font-weight: 700; font-size: 15px; line-height: 1.1; }
.cal-price { font-size: 12px; color: var(--ok); line-height: 1.1; }
.cal-day.is-past { background: transparent; color: #a3a8a0; cursor: default; }
.cal-day.is-full { background: repeating-linear-gradient(135deg, #ecebe5 0 6px, #e2e0d9 6px 12px); color: #6b706a; }
.cal-day.is-full .cal-num { text-decoration: line-through; }
.cal-day.is-full:disabled { cursor: not-allowed; }
.cal-day.is-endable { background: #fff; color: var(--ink); }
.cal-day.is-endable .cal-num, .cal-day.is-end .cal-num { text-decoration: none; }
.cal-day.in-range { background: var(--moss); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--pine); color: #fff; }
.cal-day.is-start .cal-price, .cal-day.is-end .cal-price { color: #d8ecd9; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; border: 1px solid var(--line); }
.lg-free { background: #fff; } .lg-full { background: repeating-linear-gradient(135deg, #ecebe5 0 3px, #d9d7cf 3px 6px); } .lg-sel { background: var(--pine); }

/* opsi unit */
.opts { margin-top: 16px; display: grid; gap: 4px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.opt small { display: block; color: var(--muted); font-size: 13px; }
.addons { border: 0; padding: 0; margin: 12px 0 0; }
.addons legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; background: #fff; cursor: pointer; }
.check input, .radio input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pine); flex: none; }
.check small, .radio small { display: block; color: var(--muted); font-size: 13px; }
.check:has(input:checked), .radio:has(input:checked) { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.summary { margin-top: 16px; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.sum-dates { font-weight: 700; margin-bottom: 8px; }
.bd { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.bd td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.bd td:last-child { text-align: right; white-space: nowrap; }
.bd-total td { font-weight: 700; font-size: 16px; border-bottom: 0; padding-top: 8px; }
.err { color: var(--bad); font-weight: 500; }
.err:empty { display: none; }

/* checkout */
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; }
.steps li { flex: 1; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.steps li.on { color: var(--pine); border-color: var(--pine); }
.mini { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.mini img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.mini span { display: block; font-size: 14px; color: var(--muted); }
.form { display: grid; gap: 4px; }
.form label:not(.check):not(.radio) { font-weight: 700; font-size: 14px; margin-top: 8px; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]), .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9beb4; border-radius: 12px; font: inherit; background: #fff; }
.form textarea { min-height: 72px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--pine); outline: 2px solid var(--pine); outline-offset: 0; }
.hint { font-size: 13px; color: var(--muted); margin: 2px 0 4px; }
.paytype { border: 0; padding: 0; margin: 14px 0 6px; }
.paytype legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }

.hold { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: var(--r); background: #f8e6cd; color: var(--warn); font-size: 14px; }
.hold strong { font-variant-numeric: tabular-nums; font-size: 16px; }
.pay-card { padding: 16px; border-radius: var(--r); background: var(--pine); color: #fff; margin-bottom: 14px; }
.pay-card .hint { color: #d3ddd4; }
.pay-card .linkbtn { color: #fff; }
.pay-label { font-size: 14px; color: #c9d6cc; margin: 0; }
.pay-amount { font: 700 clamp(2rem, 1.5rem + 3vw, 2.6rem)/1.1 var(--head); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.pay-amount mark { background: var(--amber); color: #1f1405; border-radius: 6px; padding: 0 4px; }
.pay-methods { display: grid; gap: 12px; }
.qris, .bank { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.qris h3, .bank h3 { margin: 0 0 8px; }
.qr { width: 180px; margin: 0 auto; }
.qr svg { width: 100%; height: auto; }
.qr-name { text-align: center; font-weight: 700; margin: 6px 0 0; font-size: 14px; }
.qris .hint { text-align: center; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 4px; font-size: 15px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 700; }
.wait { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 12px; }
.wait p { margin: 0; }
.spinner { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--moss); border-top-color: var(--pine); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .04em; }
.tip { padding: 12px 14px; border-radius: var(--r); background: #fdf3e4; border: 1px dashed var(--amber); font-size: 14px; }

/* voucher */
.voucher { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; margin: 12px 0; }
.v-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--pine); color: #fff; font: 700 17px/1.2 var(--head); }
.v-ok { font: 700 13px/1 var(--body); background: #d9efe0; color: var(--ok); padding: 5px 9px; border-radius: 999px; }
.v-main { display: grid; gap: 14px; padding: 16px; }
.v-qr { text-align: center; }
.v-qr svg { width: 160px; height: auto; margin: 0 auto; }
.v-qr .code { margin: 6px 0 0; font-size: 17px; }
.v-main dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 0; font-size: 15px; }
.v-main dt { color: var(--muted); }
.v-main dd { margin: 0; font-weight: 500; }
.v-foot { margin: 0; padding: 10px 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }

/* tablet */
@media (min-width: 700px) {
  .search-bar { grid-template-columns: 1.6fr 1fr; }
  .units { grid-template-columns: repeat(2, 1fr); }
  .info { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .info-photo { aspect-ratio: 3 / 4; position: sticky; top: 80px; }
  .pay-methods { grid-template-columns: 1fr 1fr; }
  .v-main { grid-template-columns: 180px 1fr; align-items: center; }
  .sheet { max-width: 720px; margin: auto; border-radius: var(--r-lg); max-height: 90dvh; }
  .sheet-small { max-width: 460px; }
  .gallery { margin: -20px -24px 8px; }
  .gallery figure { aspect-ratio: 16 / 9; }
  .sheet-body { padding: 20px 24px 24px; }
  .sheet-actions.sticky { margin: 16px -24px -24px; padding: 12px 24px 20px; bottom: -24px; }
  .cal-months { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
/* desktop: hero split, link-in-bio jadi panel kanan */
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 56px; padding: 120px 24px 64px; min-height: 620px; }
  .links { padding: 20px; border-radius: var(--r-lg); background: rgba(14, 22, 17, .45); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
  .search { padding: 64px 24px; display: grid; grid-template-columns: 300px 1fr; gap: 12px 40px; align-items: start; }
  .search-side { position: sticky; top: 84px; }
  .search-bar { grid-template-columns: 1fr; }
  .units .unit:first-child { grid-column: span 2; flex-direction: row; }
  .units .unit:first-child .unit-img { aspect-ratio: auto; flex: 1.2; min-height: 300px; }
  .units .unit:first-child .unit-body { flex: 1; padding: 24px; }
  .units .unit:first-child h3 { font-size: 1.8rem; }
  .info { padding: 24px 24px 80px; grid-template-columns: 420px 1fr; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
