/* Halaman detail: produk, orang, katalog. Memakai token dari hub.css */
.phero { padding: 140px 0 96px; }
.phero.thin { padding-bottom: 72px; }
.phero h1 { max-width: 18ch; }
.pgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pcover { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; padding: 0; }
.pcover img { width: 100%; height: 100%; object-fit: cover; }
.pcover .cover-glyph { font-size: 8rem; }
.tags.big { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags.big li { font-size: 13px; padding: 5px 12px; }
.btn[aria-disabled="true"] { cursor: default; opacity: .6; pointer-events: none; }

.narrow { max-width: 760px; }
.narrow-left { max-width: 760px; margin-top: 56px; }
.prose p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.prose p + p { margin-top: 1.1em; }

.grid.features { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feature { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature .num { color: var(--accent); font-size: 13px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: 15px; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.grid.gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.shot:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* orang */
.person { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.avatar.xl { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 4rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-strong); }
.avatar.xl img { width: 100%; height: 100%; object-fit: cover; }
.work { position: relative; }
.work small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.work .stretch { position: absolute; inset: 0; border-radius: inherit; }
.empty-page { padding: 120px 0 60px; }
.empty-page h1 { margin: 10px 0 14px; }

/* katalog */
.item { color: inherit; }
.price { font-weight: 700; font-size: 1.15rem; color: var(--accent); margin-top: auto; padding-top: 6px; }
.price small { font-weight: 500; font-size: .8em; color: var(--muted); }
.price.big { font-size: 2rem; margin: 6px 0 4px; }
.pill { font: 500 12px var(--mono); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill[data-status="available"] { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.pill[data-status="preorder"] { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: transparent; }
.pill[data-status="sold_out"] { color: var(--warn); background: rgba(248, 113, 113, .12); border-color: transparent; }

.detail { padding-top: 120px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.dgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.dmain { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; padding: 0; }
.dmain img { width: 100%; height: 100%; object-fit: cover; }
.dmain .cover-glyph { font-size: 9rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { width: 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .25s var(--ease); }
.thumb:hover { border-color: var(--line-strong); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.dinfo { display: flex; flex-direction: column; gap: 12px; }
.dinfo h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.15; }
.dinfo .lead { margin-top: 4px; }
.specs { margin: 18px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding: 12px 16px; font-size: 15px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

@media (max-width: 860px) {
  .pgrid, .dgrid { grid-template-columns: 1fr; gap: 32px; }
  .person { grid-template-columns: 1fr; gap: 28px; }
  .avatar.xl { width: 140px; height: 140px; font-size: 3rem; }
  .phero { padding: 112px 0 64px; }
  .detail { padding-top: 96px; }
}

/* form pesan / kontak */
.form-card { padding: 28px; margin-top: 40px; text-align: left; max-width: 760px; margin-inline: auto; }
.cta .form-card { margin-top: 48px; }
.order-card { margin: 56px 0 0; max-width: none; }
.order-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.order-card > .muted { margin-bottom: 18px; }
.iform { display: grid; gap: 16px; }
.iform label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.iform .req { color: var(--warn); }
.iform input, .iform textarea { width: 100%; font: 16px var(--sans); color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.iform textarea { resize: vertical; min-height: 110px; }
.iform input:focus, .iform textarea:focus { outline: 0; border-color: var(--line-strong); box-shadow: 0 0 0 4px var(--accent-soft); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.iform .err { color: var(--warn); font-size: 13px; }
.iform .small { font-size: 13px; margin: -4px 0 0; }
.iform .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.notice.ok { background: var(--accent-soft); border: 1px solid var(--line-strong); color: var(--text); }
.notice.ok strong { color: var(--accent); }

/* tombol WhatsApp melayang */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .85); }

@media (max-width: 640px) {
  .frow { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
}

/* studi kasus */
.section.tight { padding: 40px 0; }
.meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 28px 0 0; }
.meta div { display: grid; gap: 2px; }
.meta dt { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.meta dd { margin: 0; font-weight: 500; }
.case-cover { overflow: hidden; padding: 0; }
.case-cover img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }

/* testimoni */
.grid.testimonials { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.quote { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.quote blockquote::before { content: "“"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption small { display: block; color: var(--muted); font-size: 13px; }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }
.stars span { color: rgba(255, 255, 255, .18); }
.avatar.sm { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 14px; color: var(--accent); background: var(--accent-soft); }
.avatar.sm img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .25s var(--ease), background .25s var(--ease); }
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p + p { margin-top: .8em; }
.avatar.sm { margin: 0; }
.quote figcaption > span:last-child { text-align: left; }

/* blog & halaman dinamis */
.page-top { padding-top: 68px; }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card.post { color: inherit; }
.small { font-size: 13px; }
.pager { display: flex; justify-content: space-between; margin-top: 40px; }
.article { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 12px; }
.byline { margin-bottom: 28px; }
.article-cover { overflow: hidden; padding: 0; margin-bottom: 36px; }
.article-cover img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.prose.md { color: var(--text); }
.prose.md p, .prose.md li { color: #c3cdd8; }
.prose.md h2 { font-size: 1.6rem; margin: 2em 0 .6em; letter-spacing: -.01em; }
.prose.md h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose.md a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose.md ul, .prose.md ol { margin: 1em 0 1em 1.4em; padding: 0; list-style: revert; }
.prose.md blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-strong); color: var(--muted); }
.prose.md code { font: .9em var(--mono); background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; }
.prose.md pre { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; }
.prose.md pre code { background: none; padding: 0; }
.prose.md img { border-radius: 14px; margin: 1.4em 0; }
.prose.md hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.tags.big li a:hover { color: var(--accent); }
.cap { font-size: 13px; text-align: center; padding: 10px 14px; }
