@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat.woff2') format('woff2'); font-weight: 600; font-display: swap; }

/* Idea Project: hitam & emas dari logo, kertas hangat, oranye genteng & hijau taman dari rumahnya */
:root {
  --paper: #fbf8f2;
  --sand: #f3eee4;
  --sand-2: #ebe3d4;
  --white: #ffffff;
  --ink: #161513;
  --ink-2: #5a554c;
  --ink-3: #8a8478;
  --line: #e6dfd2;
  --gold: #c19a3f;
  --gold-2: #ecdcae;
  --gold-ink: #7a5c16;
  --tile: #b4532f;
  --sage: #8fb070;
  --sky: #dbe7ee;
  --wa: #1f8f4e;

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Jakarta', system-ui, sans-serif;
  --hand: 'Caveat', cursive;

  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 0 rgba(22, 21, 19, .04), 0 18px 40px -22px rgba(22, 21, 19, .35);
  --shadow-lg: 0 1px 0 rgba(22, 21, 19, .04), 0 30px 60px -28px rgba(22, 21, 19, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; caret-color: var(--gold);
  scrollbar-color: var(--sand-2) var(--paper);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .45;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: .98; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.6rem); }
h3 { font-size: 1.3rem; font-stretch: 104%; letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.lede { color: var(--ink-2); font-size: 1.1rem; max-width: 34em; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 1.55rem; line-height: 1; color: var(--gold-ink); }
.i { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --sh: rgba(22, 21, 19, .22);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.45em; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--sh);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sh); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sh); }
.btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: 0 4px 0 var(--sh); }
.btn-wa { --bg: var(--wa); --sh: rgba(20, 90, 50, .35); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --sh: rgba(122, 92, 22, .4); }
.btn-ghost { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 0 rgba(22, 21, 19, .06); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 0 rgba(22, 21, 19, .08); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .93rem; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-block: 12px; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; }
.brand b { display: block; font: 800 1.05rem/1 var(--display); font-stretch: 125%; letter-spacing: .06em; }
.brand small { display: block; margin-top: 3px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav .btn-hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(20px, 3vw, 40px) 0 clamp(30px, 4vw, 56px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(20px, 4vw, 56px); min-height: min(calc(100svh - 150px), 720px); }
.hero h1 { font-size: clamp(2.4rem, 3vw + .8rem, 4rem); margin: 12px 0 16px; }
.hero h1 em { font-style: normal; color: var(--gold-ink); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; right: 0; bottom: -.1em; width: 104%; height: .26em; overflow: visible; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; padding: 0; list-style: none; font-size: .94rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { color: var(--gold); }

.stage { position: relative; display: grid; place-items: center; }
.stage::before {
  content: ""; position: absolute; width: 96%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 46% 46%, #f6e7c2 0 36%, rgba(246, 231, 194, 0) 70%);
}
.stage-svg { width: 100%; height: auto; max-height: 560px; cursor: pointer; overflow: visible; }
.stage-svg text { font-family: var(--body); }
.chip-card {
  position: absolute; background: var(--white); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: grid; gap: 2px; font-size: .82rem; color: var(--ink-2); animation: float 6s ease-in-out infinite;
}
.chip-card b { font: 800 1.35rem/1.1 var(--display); font-stretch: 96%; letter-spacing: -.02em; color: var(--ink); }
.chip-card a { color: var(--gold-ink); font-weight: 700; text-decoration: none; }
.chip-card a:hover { text-decoration: underline; }
.chip-price { left: 2%; top: 6%; }
.chip-time { right: 2%; top: 4%; animation-delay: -3s; }
.stage-note { position: absolute; left: 4%; bottom: 4%; display: flex; align-items: center; gap: 6px; }
.stage-note svg { width: 34px; height: 24px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; row-gap: 0; }
  .hero-grid > div:first-child { display: contents; }
  .stage { margin-top: 10px; order: 1; }
  .qc { order: 2; margin-top: 8px; }
  .chip-price { top: 0; }
}

/* hitungan kasar di hero */
.hero .lede { max-width: 30em; }
.qc { margin-top: 26px; padding: 18px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow-lg); display: grid; gap: 16px; max-width: 560px; }
.qc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qc-in { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; }
.qc-q { grid-column: 1 / -1; }
.qc .seg span { height: 42px; }
.qc-out { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.qc-out .lbl { display: block; }
.qc-out b { display: block; font: 800 clamp(1.6rem, 1.6vw + .8rem, 2.2rem)/1.05 var(--display); font-stretch: 94%; letter-spacing: -.03em; margin: 4px 0 3px; }
.qc-out small { color: var(--ink-2); font-size: .82rem; }
@media (max-width: 480px) { .qc { padding: 14px; } .qc-in { grid-template-columns: 1fr 1fr; } .qc-in > fieldset { grid-column: 1 / -1; } .qc-out .btn { width: 100%; } }

/* katalog */
.kat-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kat-tools .pills { flex: none; }
@media (max-width: 860px) { .kat-nav { display: none; } }
.kat {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(20px, (100% - 1200px) / 2) 24px; scroll-padding-inline: max(20px, (100% - 1200px) / 2);
}
.kat::-webkit-scrollbar { display: none; }
.kcard { flex: 0 0 clamp(270px, 24vw, 292px); scroll-snap-align: start; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.kcard[hidden] { display: none; }
.kcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kimg { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 46% 46%, #f6e7c2 0 32%, var(--paper) 72%); overflow: hidden; }
.kimg img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s var(--ease); }
.kcard:hover .kimg img { transform: scale(1.04); }
.kiso { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); opacity: 0; transition: opacity .35s; }
.kiso text { font-family: var(--body); }
.kcard.is-3d .kimg img { opacity: 0; }
.kcard.is-3d .kiso { opacity: 1; }
.kimg .tag { position: absolute; left: 12px; top: 12px; }
.k3d { position: absolute; right: 10px; top: 10px; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: var(--gold); font: 800 .8rem/1 var(--display); letter-spacing: .04em; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.k3d:hover { transform: translateY(-1px); }
.kbody { padding: 16px 16px 16px; display: grid; gap: 12px; flex: 1; align-content: start; }
.kspec { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--ink-2); }
.kspec li { padding: 5px 9px; border-radius: 999px; background: var(--sand); }
.kspec b { color: var(--ink); font-variant-numeric: tabular-nums; }
.kfoot { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.kprice span { display: block; font-size: .74rem; color: var(--ink-3); font-weight: 600; }
.kprice b { font: 800 1.2rem/1.05 var(--display); font-stretch: 94%; letter-spacing: -.02em; }
.kfoot .btn-sm { min-height: 40px; }
.kfoot .btn-icon { width: 40px; min-height: 40px; }
.kprice b { white-space: nowrap; }
@media (max-width: 480px) { .kfoot { grid-template-columns: 1fr auto; } .kprice { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 6px; } .kfoot .btn-sm:not(.btn-icon) { width: 100%; } }
.kat-note { margin-top: 2px; font-size: .86rem; color: var(--ink-3); }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: slide 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; font: 700 1.15rem/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.sec-head > div:first-child { display: grid; gap: 12px; max-width: 640px; }
.bg-sand { background: var(--sand); }

/* bento proyek */
.pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 540px; justify-content: flex-end; }
@media (max-width: 860px) { .pills { justify-content: flex-start; flex-basis: 100%; } }
.pills button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink-2); font: 600 .92rem/1 var(--body);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, color .2s, box-shadow .2s;
}
.pills button:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pills button[aria-pressed=true] { background: var(--ink); color: #fff; box-shadow: none; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 12vw, 172px); gap: 14px; }
.tile-p {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--sand-2);
  box-shadow: var(--shadow); cursor: zoom-in; border: 0; padding: 0; text-align: left;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile-p:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile-p:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.tile-p img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile-p:hover img { transform: scale(1.05); }
.tile-p .tag { position: absolute; left: 12px; top: 12px; }
.tile-p .cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); font-weight: 650; font-size: .9rem; color: var(--ink);
  transform: translateY(calc(100% + 14px)); transition: transform .4s var(--ease);
}
.tile-p:hover .cap, .tile-p:focus-visible .cap, .tile-p:nth-child(1) .cap { transform: none; }
.tag {
  display: inline-flex; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  font: 700 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.tag-gold { background: var(--gold); color: var(--ink); }
.bento-foot { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .tile-p:nth-child(n+6) { display: none; }
}

/* infografik biaya */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.info-card { background: var(--white); border-radius: 28px; padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--shadow); position: relative; }
.info-card .hand { position: absolute; left: 24px; top: 18px; }
.info-svg { width: 100%; height: auto; max-height: 520px; }
.info-svg text { font-family: var(--body); }
.donut-row { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; margin-top: 26px; }
.donut { width: 170px; height: 170px; }
.donut text { font-family: var(--display); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.legend b { font-variant-numeric: tabular-nums; }
.tiers { display: grid; gap: 10px; margin-top: 26px; }
.tier { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; font-size: .92rem; }
.tier-bar { position: relative; height: 34px; border-radius: 10px; background: var(--sand); }
.tier-bar span {
  position: absolute; top: 0; bottom: 0; border-radius: 10px; background: var(--c);
  display: flex; align-items: center; padding: 0 10px; font-weight: 700; font-size: .82rem; white-space: nowrap; color: var(--ink);
  transform-origin: left; transition: transform 1s var(--ease);
}
.js .tiers:not(.in) .tier-bar span { transform: scaleX(.05); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .donut-row { grid-template-columns: 1fr; justify-items: center; } }

/* timeline */
.road { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.road::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px);
}
.stop { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; }
.stop-ico {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 6px 0 rgba(22, 21, 19, .12);
}
.stop-ico svg { width: 32px; height: 32px; }
.stop:last-child .stop-ico { background: var(--gold); }
.stop h3 { font-size: 1.1rem; }
.stop p { font-size: .9rem; color: var(--ink-2); max-width: 22ch; }
.dur { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 700; }
.dur-free { background: var(--gold); color: var(--ink); }
@media (max-width: 820px) {
  .road { grid-template-columns: 1fr; gap: 14px; }
  .road::before { left: 34px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 14px, transparent 14px 24px); }
  .stop { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 4px; }
  .stop-ico { grid-row: span 3; }
  .stop p { max-width: none; }
}

/* cta */
.cta-card {
  position: relative; overflow: hidden; border-radius: 32px; isolation: isolate;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
}
.cta-card h2 { font-size: clamp(2.2rem, 3.6vw + 1rem, 4.2rem); color: var(--paper); }
.cta-card .lede { color: #c9c2b4; margin-top: 16px; }
.cta-card .hero-cta { margin-top: 26px; }
.cta-card .btn-ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(251, 248, 242, .3); }
.cta-sun { position: absolute; z-index: -1; right: -60px; top: -80px; width: 380px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #f0d68f, var(--gold) 60%, #8d6a1f); opacity: .9; }
.cta-art { width: 100%; max-width: 420px; justify-self: end; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; } .cta-art { justify-self: center; max-width: 300px; } }

footer { padding: 40px 0 110px; color: var(--ink-2); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
footer a { font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.fine { font-size: .82rem; color: var(--ink-3); flex-basis: 100%; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(31, 143, 78, .7), 0 4px 0 rgba(20, 90, 50, .35);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.wa-float.show { transform: none; }
.wa-float .i { width: 26px; height: 26px; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(22, 21, 19, .94); color: var(--paper); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 56px 0 24px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { font-size: .95rem; color: #c9c2b4; }
.lightbox button { background: none; border: 0; color: var(--paper); cursor: pointer; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.lightbox button:hover { background: rgba(251, 248, 242, .1); }
.lightbox .i { width: 26px; height: 26px; }
.lb-close { position: absolute; top: 10px; right: 10px; }
.lb-nav { justify-self: center; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 44px 1fr 44px; } }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

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

/* =================== HALAMAN KALKULATOR =================== */
.app { padding: 8px 0 28px; }
.app-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: stretch; min-height: calc(100svh - 180px); }
.app-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.app-title h1 { font-size: clamp(1.8rem, 2.4vw + .6rem, 2.6rem); }

.wiz { background: var(--white); border-radius: 28px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; min-height: 0; }
.steps-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; counter-reset: st; }
.steps-nav button {
  position: relative; display: grid; justify-items: start; gap: 6px; padding: 0 0 10px; border: 0; background: none; cursor: pointer;
  font: 700 .85rem/1.1 var(--body); color: var(--ink-3); text-align: left;
}
.steps-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--sand-2); }
.steps-nav button[aria-selected=true], .steps-nav button.done { color: var(--ink); }
.steps-nav button.done::after { background: var(--ink); }
.steps-nav button[aria-selected=true]::after { background: var(--gold); }
.steps-nav small { font: 600 .72rem/1 var(--body); letter-spacing: .08em; color: var(--ink-3); }
.panel { flex: 1; display: grid; align-content: start; gap: 16px; animation: panelIn .45s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } }
.panel .hand { margin-bottom: -4px; }
.wiz-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }

.row { display: grid; gap: 12px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 6px; }
.field > span:not(.unit), .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.wiz input[type=number], .wiz select, .qc input[type=number] {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 0;
  background: var(--sand); color: var(--ink); font: 700 1.05rem/1 var(--body); font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s;
}
.wiz select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23161513' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.wiz input:hover, .wiz select:hover, .qc input:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.wiz input:focus, .wiz select:focus, .qc input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.unit { position: relative; }
.unit input { padding-right: 40px; }
.tapak { margin-top: 4px; padding: 14px; border-radius: 18px; background: var(--paper); display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; border: 1.5px dashed var(--line); }
.tapak svg { width: 150px; height: 130px; }
.tapak svg text { font-family: var(--body); }
.tapak dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.tapak dt { color: var(--ink-2); }
.tapak dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .tapak { grid-template-columns: 1fr; justify-items: center; } }
.unit::after { content: "m"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--sand); }
.seg label { position: relative; }
.seg input, .mat input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; height: 42px; border-radius: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 2px 0 rgba(22, 21, 19, .1), 0 4px 12px -6px rgba(22, 21, 19, .3); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }

.stepper { display: grid; grid-template-columns: 50px 1fr 50px; height: 50px; border-radius: 14px; background: var(--sand); overflow: hidden; }
.stepper button { border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.stepper button:hover { background: var(--sand-2); }
.stepper button:disabled { color: var(--ink-3); opacity: .4; cursor: default; background: none; }
.stepper output { display: grid; place-items: center; font: 800 1.35rem/1 var(--display); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 10px; border-radius: 999px; cursor: pointer;
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .94rem; color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--sand); flex: none; }
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3 7 3 3 5-6' fill='none' stroke='%23161513' stroke-width='2.2'/%3E%3C/svg%3E") center/12px no-repeat; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); }
.chip[hidden] { display: none; }

.mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mat { position: relative; cursor: pointer; }
.mat-card { display: grid; grid-template-rows: 46px auto; height: 100%; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .25s var(--ease); }
.mat:hover .mat-card { transform: translateY(-2px); }
.mat input:checked + .mat-card { box-shadow: inset 0 0 0 2.5px var(--ink), 0 6px 0 rgba(22, 21, 19, .1); }
.mat input:focus-visible + .mat-card { outline: 3px solid var(--gold); outline-offset: 2px; }
.mat-body { padding: 8px 10px 10px; display: grid; gap: 6px; }
.mat-body b { font-size: .9rem; line-height: 1.15; }
.meters { display: grid; gap: 3px; font-size: .68rem; color: var(--ink-3); font-weight: 600; }
.meter { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 6px; }
.meter i { display: flex; gap: 2px; }
.meter i::before, .meter i::after, .meter i span { content: ""; }
.dots { display: flex; gap: 3px; }
.dots s { width: 100%; height: 5px; border-radius: 3px; background: var(--sand-2); }
.dots s.on { background: var(--gold); }

/* material swatches */
.sw-bata { background-color: #b9654a; background-image: linear-gradient(transparent 46%, #eadfd2 46%, #eadfd2 54%, transparent 54%), linear-gradient(90deg, transparent 47%, #eadfd2 47%, #eadfd2 53%, transparent 53%); background-size: 100% 23px, 46px 11.5px; }
.sw-hebel { background-color: #efebe3; background-image: linear-gradient(transparent 94%, #cfc8bb 94%), linear-gradient(90deg, transparent 97%, #cfc8bb 97%); background-size: 100% 23px, 70px 23px; }
.sw-batako { background-color: #aeaaa2; background-image: radial-gradient(#97938b 1px, transparent 1.5px), linear-gradient(transparent 92%, #8a867f 92%), linear-gradient(90deg, transparent 96%, #8a867f 96%); background-size: 6px 6px, 100% 23px, 60px 23px; }
.sw-baja { background-color: #c3c8cc; background-image: repeating-linear-gradient(60deg, transparent 0 14px, #8b9196 14px 17px), repeating-linear-gradient(-60deg, transparent 0 14px, #8b9196 14px 17px); }
.sw-kayu { background-color: #8a5a32; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 9px, rgba(255,255,255,.07) 9px 11px, transparent 11px 20px); }
.sw-dak { background-color: #b9b5ad; background-image: radial-gradient(rgba(0,0,0,.18) 1px, transparent 1.5px), radial-gradient(rgba(255,255,255,.25) 1px, transparent 1.5px); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 4px; }

/* panel visual */
.vis { background: var(--white); border-radius: 28px; box-shadow: var(--shadow); padding: 20px 22px 18px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-height: 0; position: relative; overflow: hidden; }
.price-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; }
.price-top .lbl { display: block; margin-bottom: 4px; }
.price-big { font: 800 clamp(2rem, 2.6vw + .6rem, 3rem)/1 var(--display); font-stretch: 94%; letter-spacing: -.035em; }
.stats { display: flex; flex-wrap: wrap; gap: 6px; }
.stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--sand); font-size: .84rem; color: var(--ink-2); }
.stat b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vtabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--sand); width: max-content; max-width: 100%; }
.vtabs button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font: 700 .9rem/1 var(--body); color: var(--ink-2); cursor: pointer; }
.vtabs button[aria-selected=true] { background: var(--white); color: var(--ink); box-shadow: 0 2px 0 rgba(22, 21, 19, .1); }
.view { position: relative; min-height: 270px; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle at 45% 45%, #f6e7c2 0 30%, var(--paper) 70%); overflow: hidden; }
.view[hidden] { display: none; }
.view > svg { width: 100%; height: 100%; max-height: 440px; }
.view svg text { font-family: var(--body); }
.view-tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; align-items: center; }
.view-note { position: absolute; left: 14px; bottom: 10px; font-size: 1.2rem; }
.floor-tabs { position: absolute; left: 12px; top: 12px; display: flex; gap: 4px; }
.floor-tabs button { min-height: 34px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 .85rem/1 var(--body); cursor: pointer; color: var(--ink-2); }
.floor-tabs button[aria-selected=true] { background: var(--ink); color: #fff; box-shadow: none; }
.view-plan { background: #fff; background-image: linear-gradient(var(--sand) 1px, transparent 1px), linear-gradient(90deg, var(--sand) 1px, transparent 1px); background-size: 22px 22px; }
.view-plan svg { padding: 52px 12px 8px; max-height: 460px; }
.view-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.view-photo .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.94); font-size: .9rem; }
.warn { padding: 10px 14px; border-radius: 14px; background: #fbefd2; color: #5e4510; font-size: .88rem; }
.warn[hidden] { display: none; }

.hook { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 14px 14px 16px; border-radius: 20px; background: var(--ink); color: var(--paper); }
.hook-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.hook b { display: block; font: 800 1.02rem/1.15 var(--display); font-stretch: 104%; }
.hook p { font-size: .86rem; color: #c9c2b4; margin-top: 2px; }
.hook p strong { color: var(--gold); }
@media (max-width: 560px) { .hook { grid-template-columns: auto 1fr; } .hook .btn { grid-column: 1 / -1; } }

.sticky-bar { display: none; }
@media (max-width: 980px) {
  .app-grid { grid-template-columns: 1fr; min-height: 0; }
  .vis { order: -1; }
  .view { min-height: 260px; }
  .sticky-bar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg);
  }
  .sticky-bar b { font: 800 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; }
  .sticky-bar small { display: block; font-size: .72rem; color: #c9c2b4; }
  .app { padding-bottom: 90px; }
}
@media (max-width: 480px) {
  .wiz, .vis { padding: 16px; border-radius: 22px; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .mats { grid-template-columns: 1fr; }
  .mat-card { grid-template-rows: auto; grid-template-columns: 64px 1fr; }
}
.brand b { white-space: nowrap; }
@media (max-width: 420px) {
  .nav .btn-wa span { display: none; }
  .nav .btn-wa { width: 44px; padding: 0; }
}

/* =================== HALAMAN LINK =================== */
.lt-wrap { width: min(480px, 100% - 32px); margin-inline: auto; padding: 36px 0 40px; display: grid; gap: 18px; }
.lt-head { display: grid; justify-items: center; gap: 6px; text-align: center; }
.lt-logo { width: 76px; height: 76px; margin-bottom: 6px; filter: drop-shadow(0 10px 18px rgba(22, 21, 19, .25)); }
.lt-head h1 { font-size: 1.7rem; letter-spacing: -.01em; }
.lt-head p { color: var(--ink-2); font-size: .95rem; }
.lt-hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 8px; padding: 14px 18px 14px 8px; border-radius: 26px; background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.lt-hero::before { content: ""; position: absolute; left: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(193, 154, 63, .45), transparent 65%); }
.lt-hero svg { width: 100%; height: 150px; position: relative; }
.lt-hero-txt { display: grid; gap: 4px; position: relative; }
.lt-hero .hand { color: var(--gold); font-size: 1.3rem; }
.lt-hero b { white-space: nowrap; font: 800 clamp(1.05rem, 4.6vw, 1.3rem)/1.05 var(--display); font-stretch: 94%; letter-spacing: -.02em; }
.lt-hero small { color: #c9c2b4; font-size: .82rem; }
.lt-links { display: grid; gap: 10px; }
.lt-link {
  display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; padding: 12px 18px 12px 12px;
  border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 0 rgba(22, 21, 19, .06); transition: transform .25s var(--ease), box-shadow .25s;
}
.lt-link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 0 rgba(22, 21, 19, .1); }
.lt-link:active { transform: translateY(1px); }
.lt-link b { display: block; font: 800 1.08rem/1.15 var(--display); font-stretch: 104%; }
.lt-link small { color: var(--ink-2); font-size: .86rem; }
.lt-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--gold-ink); }
.lt-ico .i { width: 24px; height: 24px; }
.lt-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 0 rgba(20, 90, 50, .35); }
.lt-wa:hover { box-shadow: 0 6px 0 rgba(20, 90, 50, .35); }
.lt-wa small { color: #d7f0e0; }
.lt-wa .lt-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.lt-foot { text-align: center; font-size: .9rem; color: var(--ink-3); }
.lt-foot a { color: var(--gold-ink); font-weight: 700; text-decoration: none; }
