/*
Theme Name: Pakar Iklan Insight
Theme URI: https://insight.pakariklan.com
Author: Pakar Iklan
Author URI: https://pakariklan.com
Description: Tema laporan insight panjang bergaya parallax untuk Pakar Iklan. Setiap bagian laporan (hero, bab, angka, grafik, temuan, linimasa, tes interaktif, CTA, sumber) adalah blok yang dapat diedit di editor WordPress. Bahasa Indonesia sebagai bahasa utama, bahasa Inggris melalui Polylang.
Version: 1.1.5
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pakar-iklan-insight
Tags: one-column, custom-logo, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   Tokens (Pakar Iklan design system)
   ========================================================================== */
:root {
	--jati: #7a4e33;
	--kuningan: #9a8350;
	--basal: #2e3337;
	--white: #ffffff;
	--pasir: #f7f2e7;
	--tanah-liat: #a9634f;
	--kunyit: #c79a4e;
	--lumut: #6f7458;
	--abu-arang: #4d5357;
	--abu-batu: #7e7b7a;
	--abu-hangat: #b0a499;
	--abu-perak: #bdbbb8;
	--wa: #25d366;

	--font-display: Jost, "Futura PT", Arial, sans-serif;
	--font-text: "DM Sans", Arial, Helvetica, sans-serif;

	--space-xs: 8px;
	--space-s: 16px;
	--space-m: 24px;
	--space-l: 40px;
	--space-xl: 64px;
	--space-canvas: 96px;

	--gutter: 20px;
	--max: 1200px;
	--header-h: 64px;
	--bar-h: 60px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--slow: 1.1s;
}
@media (min-width: 700px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; --header-h: 80px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
	margin: 0;
	font-family: var(--font-text);
	font-size: 17px;
	line-height: 1.65;
	color: var(--basal);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .3px; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--kunyit); outline-offset: 3px; }
::selection { background: var(--jati); color: var(--white); }
strong { font-weight: 500; }

.pi-skip { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--basal); color: var(--white); padding: 12px 18px; }
.pi-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.pi-container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.pi-icon { width: 20px; height: 20px; flex: none; }

.pi-eyebrow {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--jati);
	margin: 0 0 var(--space-s);
}
.pi-eyebrow-light { color: rgba(255, 255, 255, .82); }
@media (min-width: 900px) { .pi-eyebrow { font-size: 13px; letter-spacing: 7px; } }

.pi-lead { font-size: 19px; line-height: 1.6; color: var(--abu-arang); max-width: 46em; }
@media (min-width: 900px) { .pi-lead { font-size: 21px; } }
.pi-caption { font-size: 13px; line-height: 1.55; color: var(--abu-arang); margin: var(--space-s) 0 0; max-width: 60em; }

sup.pi-cite { font-size: .62em; line-height: 0; margin-left: 2px; font-family: var(--font-display); font-weight: 500; letter-spacing: .5px; }
sup.pi-cite a { text-decoration: none; color: var(--kuningan); padding: 0 1px; }
sup.pi-cite a:hover { color: var(--jati); text-decoration: underline; }

/* Hairline frame motif */
.pi-rules { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pi-rules span { position: absolute; left: 0; right: 0; height: 1px; background: var(--white); opacity: .2; }
.pi-hero .pi-rules span { opacity: .12; }
.pi-rules span:nth-child(1) { top: 24%; }
.pi-rules span:nth-child(2) { top: calc(24% + 40px); }
.pi-rules span:nth-child(3) { top: calc(24% + 80px); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.pi-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 14px 26px;
	font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
	text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pi-btn .pi-icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pi-btn:hover .pi-icon { transform: translateX(4px); }
.pi-btn-primary { background: var(--jati); color: var(--white); }
.pi-btn-primary:hover { background: var(--basal); }
.pi-btn-light { background: var(--white); color: var(--basal); }
.pi-btn-light:hover { background: var(--pasir); color: var(--jati); }
.pi-btn-ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.pi-btn-ghost:hover { background: var(--white); color: var(--basal); }
.pi-btn-small { min-height: 42px; padding: 10px 18px; font-size: 12px; letter-spacing: 2px; }
.pi-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-l); }
@media (max-width: 520px) { .pi-actions .pi-btn { width: 100%; } }

/* ==========================================================================
   Header
   ========================================================================== */
.pi-header {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	height: var(--header-h);
	color: var(--white);
	transition: background .35s var(--ease), transform .4s var(--ease);
}
.pi-header.is-scrolled { background: var(--basal); }
.admin-bar .pi-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .pi-header { top: 32px; } }
.pi-header-inner { height: 100%; display: flex; align-items: center; gap: var(--space-m); }
.pi-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.pi-brand-logo { max-height: 40px; width: auto; }
.pi-mark-header { width: 30px; height: auto; }
.pi-wordmark { font-family: var(--font-display); font-weight: 300; font-size: 16px; letter-spacing: .3em; white-space: nowrap; }
.pi-brand-tag {
	font-family: var(--font-display); font-weight: 500; font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
	padding: 4px 0 4px 12px; border-left: 1px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .8);
}
@media (max-width: 420px) { .pi-wordmark { display: none; } }

/* Chapter rail (desktop) */
.pi-rail { position: fixed; right: 20px; top: 50%; z-index: 54; transform: translate(12px, -50%); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pi-rail.is-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.pi-rail ol { list-style: none; margin: 0; padding: 10px 0; background: rgba(46, 51, 55, .88); }
.pi-rail a { display: flex; align-items: center; justify-content: flex-end; height: 34px; padding: 0 12px; text-decoration: none; color: rgba(255, 255, 255, .6); position: relative; }
.pi-rail-num { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 1px; min-width: 18px; text-align: right; transition: color .3s var(--ease); }
.pi-rail-dot { display: inline-flex; justify-content: flex-end; }
.pi-rail-dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pi-rail a::before { content: ""; width: 0; height: 1px; background: var(--kunyit); margin-right: 8px; transition: width .4s var(--ease); }
.pi-rail a.is-active { color: var(--kunyit); }
.pi-rail a.is-active::before { width: 14px; }
.pi-rail-label {
	position: absolute; right: 100%; top: 50%; transform: translate(8px, -50%); white-space: nowrap;
	padding: 7px 12px; background: var(--basal); color: var(--white);
	font-family: var(--font-display); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
	opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.pi-rail a:hover .pi-rail-label, .pi-rail a:focus-visible .pi-rail-label { opacity: 1; transform: translate(0, -50%); }
.pi-rail a:hover { color: var(--white); }
@media (max-width: 1199px) { .pi-rail { display: none; } }
.pi-nav-num { font-weight: 500; color: var(--kunyit); font-size: 11px; letter-spacing: 1px; }

.pi-header-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.pi-lang { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; }
.pi-lang a { text-decoration: none; color: rgba(255, 255, 255, .6); padding: 6px 2px; }
.pi-lang a.is-current, .pi-lang a:hover { color: var(--white); }
.pi-lang-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .35); }
.pi-toc-btn {
	display: inline-flex; align-items: center; gap: 8px; color: var(--white);
	font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 8px 4px;
}
.pi-header-cta { background: var(--white); color: var(--basal); }
.pi-header-cta:hover { background: var(--pasir); color: var(--jati); }
@media (max-width: 899px) {
	.pi-header-cta, .pi-toc-btn { display: none; }
}

.pi-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.pi-progress span { display: block; height: 100%; width: 100%; background: var(--kunyit); transform: scaleX(0); transform-origin: left; }

/* Table of contents drawer */
.pi-toc { position: fixed; inset: 0; z-index: 80; background: rgba(46, 51, 55, .55); }
.pi-toc[hidden] { display: none; }
.pi-toc-panel {
	position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
	background: var(--basal); color: var(--white); padding: 28px var(--gutter) calc(32px + var(--safe-b));
	overflow-y: auto; animation: piSlide .45s var(--ease);
}
@media (max-width: 899px) {
	.pi-toc-panel { top: auto; left: 0; width: 100%; max-height: 86vh; animation-name: piSheet; }
}
@keyframes piSlide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes piSheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.pi-toc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-m); }
.pi-toc-head .pi-eyebrow { margin: 0; }
.pi-toc-close { color: var(--white); padding: 8px; margin-right: -8px; }
.pi-toc-close .pi-icon { width: 24px; height: 24px; }
.pi-toc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--kuningan); }
.pi-toc-list a {
	display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(154, 131, 80, .45);
	font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.25; text-decoration: none;
}
.pi-toc-list a.is-active { color: var(--kunyit); }
.pi-toc-list .pi-nav-num { min-width: 26px; font-size: 13px; }
.pi-toc-lang { display: flex; gap: 20px; margin-top: var(--space-l); font-family: var(--font-display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.pi-toc-lang a { text-decoration: none; color: rgba(255, 255, 255, .6); }
.pi-toc-lang a.is-current { color: var(--white); border-bottom: 1px solid var(--kunyit); }

/* Mobile bottom bar (thumb zone) */
.pi-bottombar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
	display: grid; grid-template-columns: 1fr 1fr 1.3fr;
	height: calc(var(--bar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
	background: var(--basal); border-top: 1px solid rgba(154, 131, 80, .5);
	transform: translateY(100%); transition: transform .4s var(--ease);
}
.pi-bottombar.is-visible { transform: none; }
.pi-bottombar > * {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	color: var(--white); text-decoration: none;
	font-family: var(--font-display); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
}
.pi-bottombar > a[href="#top"] .pi-icon { transform: rotate(180deg); }
.pi-bottombar .is-cta { flex-direction: row; gap: 8px; background: var(--jati); font-size: 12px; letter-spacing: 2px; }
.pi-bottombar .is-cta .pi-icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .pi-bottombar { display: none; } }

/* WhatsApp */
.pi-wa {
	position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 56;
	display: inline-flex; align-items: center; gap: 10px; height: 56px; min-width: 56px; padding: 0 16px;
	background: var(--wa); color: #0b3d1f; text-decoration: none; border-radius: 28px;
	font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
	transition: transform .3s var(--ease), bottom .4s var(--ease);
}
.pi-wa .pi-icon { width: 26px; height: 26px; }
.pi-wa:hover { transform: translateY(-2px); }
.pi-wa-label { display: none; }
@media (min-width: 900px) { .pi-wa-label { display: inline; } .pi-wa { right: 24px; bottom: 24px; } }
@media (max-width: 899px) { body.pi-report-page .pi-wa.is-raised { bottom: calc(var(--bar-h) + 14px + var(--safe-b)); } }

/* ==========================================================================
   Parallax primitives
   ========================================================================== */
[data-parallax] { position: relative; overflow: hidden; }
.pi-px-wrap { position: absolute; inset: 0; overflow: hidden; }
.pi-px {
	position: absolute; left: 0; top: -15%; width: 100%; height: 130%;
	object-fit: cover; will-change: transform;
}

/* Reveal on scroll: slow, restrained fades */
.pi-js .pi-reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.pi-js .pi-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pi-js .pi-reveal { opacity: 1; transform: none; transition: none; }
	.pi-px { top: 0; height: 100%; transform: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.pi-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); background: var(--jati); overflow: hidden; }
.pi-hero-media { position: absolute; inset: 0; }
.pi-hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(122, 78, 51, .94) 0%, rgba(122, 78, 51, .84) 48%, rgba(122, 78, 51, .55) 100%); }
@media (max-width: 899px) { .pi-hero-shade { background: rgba(122, 78, 51, .86); } }
.pi-hero-inner { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.pi-hero-title { font-size: clamp(40px, 7.4vw, 96px); line-height: 1.02; letter-spacing: .5px; max-width: 13.5em; margin-bottom: var(--space-m); }
.pi-hero-title strong { font-weight: 300; color: #f1dcb6; }
.pi-hero-lead { font-size: 18px; line-height: 1.6; max-width: 36em; color: rgba(255, 255, 255, .88); margin: 0; }
@media (min-width: 900px) { .pi-hero-lead { font-size: 20px; } }
.pi-hero-band { position: relative; z-index: 3; background: var(--basal); padding: 28px 0 24px; }
.pi-hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .pi-hero-stats { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.pi-hero-stats li { padding: 10px 18px 12px 0; border-top: 1px solid var(--kuningan); display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 900px) { .pi-hero-stats li { border-top: 0; border-left: 1px solid var(--kuningan); padding: 4px 24px; } .pi-hero-stats li:first-child { border-left: 0; padding-left: 0; } }
@media (max-width: 899px) { .pi-hero-stats li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--kuningan); } }
.pi-figure { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; letter-spacing: .5px; color: var(--white); }
.pi-figure-label { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .72); max-width: 22em; }
.pi-hero-note { margin: 18px 0 0; font-size: 12px; letter-spacing: .5px; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Sections
   ========================================================================== */
.pi-section { position: relative; padding: 0 0 clamp(64px, 9vw, 128px); }
.pi-section-head { padding-top: clamp(72px, 10vw, 144px); padding-bottom: var(--space-l); }
.pi-section-head-after { padding-top: var(--space-xl); padding-bottom: var(--space-m); }
.pi-section-kicker { display: flex; align-items: baseline; gap: 18px; margin-bottom: var(--space-m); }
.pi-section-kicker .pi-eyebrow { margin: 0; }
.pi-num { font-family: var(--font-display); font-weight: 300; font-size: 15px; letter-spacing: 3px; color: var(--kuningan); padding-right: 18px; border-right: 1px solid var(--kuningan); }
.pi-section-title { font-size: clamp(32px, 5vw, 64px); line-height: 1.06; max-width: 15em; margin-bottom: var(--space-m); }
.pi-section-title strong { font-weight: 300; color: var(--jati); }
.pi-section .pi-section-body > * + * { margin-top: clamp(48px, 6vw, 80px); }
.pi-section-body > .pi-parallax { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }

/* Tones */
.pi-tone-pasir { background: var(--pasir); }
.pi-tone-basal { background: var(--basal); color: var(--white); }
.pi-tone-jati { background: var(--jati); color: var(--white); }
.pi-tone-basal .pi-lead, .pi-tone-jati .pi-lead { color: rgba(255, 255, 255, .82); }
.pi-tone-basal .pi-eyebrow, .pi-tone-jati .pi-eyebrow { color: var(--kunyit); }
.pi-tone-jati .pi-eyebrow { color: #f1dcb6; }
.pi-tone-basal .pi-section-title strong, .pi-tone-jati .pi-section-title strong { color: var(--kunyit); }
.pi-tone-basal .pi-caption, .pi-tone-jati .pi-caption { color: rgba(255, 255, 255, .62); }
.pi-tone-basal sup.pi-cite a, .pi-tone-jati sup.pi-cite a { color: var(--kunyit); }

/* Opening photo band */
.pi-band { min-height: 72vh; display: flex; align-items: flex-end; color: var(--white); background: var(--basal); }
.pi-band-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(46, 51, 55, .92) 0%, rgba(46, 51, 55, .55) 55%, rgba(46, 51, 55, .35) 100%); }
.pi-tone-jati .pi-band-shade { background: linear-gradient(0deg, rgba(122, 78, 51, .95) 0%, rgba(122, 78, 51, .6) 60%, rgba(122, 78, 51, .4) 100%); }
.pi-band-inner { position: relative; z-index: 3; padding-top: 160px; padding-bottom: clamp(48px, 7vw, 88px); }
.pi-band .pi-num { display: inline-block; color: var(--kunyit); border-color: var(--kunyit); margin-bottom: var(--space-m); }
.pi-band .pi-section-title { color: var(--white); margin: 0; }
.pi-band .pi-section-title strong { color: #f1dcb6; }

/* Prose (core blocks inside a section) */
.pi-prose > p, .pi-prose > ul:not([class]), .pi-prose > ol:not([class]), .pi-prose > h3, .pi-prose > h4 { max-width: 46em; }
.pi-prose > h3, .pi-block-heading { font-size: clamp(24px, 2.6vw, 32px); font-weight: 350; margin-bottom: var(--space-m); }
.pi-prose > p { font-size: 18px; }
.pi-prose > ul:not([class]), .pi-prose > ol:not([class]) { padding-left: 1.2em; }

/* ==========================================================================
   Stats
   ========================================================================== */
.pi-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--abu-perak); }
@media (min-width: 640px) { .pi-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pi-stats { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.pi-stat { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--abu-perak); display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .pi-stat { padding-left: 24px; border-left: 1px solid var(--abu-perak); } .pi-stat:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (min-width: 1000px) { .pi-stat { border-bottom: 0; } .pi-stat:nth-child(odd) { padding-left: 24px; border-left: 1px solid var(--abu-perak); } .pi-stat:first-child { padding-left: 0; border-left: 0; } }
.pi-stat-value { white-space: nowrap; font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--jati); letter-spacing: .5px; }
.pi-stat-label { font-size: 15px; line-height: 1.5; color: var(--basal); }
.pi-stat-source { font-size: 12px; color: var(--abu-arang); letter-spacing: .3px; }
.pi-tone-basal .pi-stats, .pi-tone-basal .pi-stat, .pi-tone-jati .pi-stats, .pi-tone-jati .pi-stat { border-color: rgba(154, 131, 80, .7); }
.pi-tone-basal .pi-stat-value { color: var(--kunyit); }
.pi-tone-jati .pi-stat-value { color: var(--white); }
.pi-tone-basal .pi-stat-label, .pi-tone-jati .pi-stat-label { color: rgba(255, 255, 255, .88); }
.pi-tone-basal .pi-stat-source, .pi-tone-jati .pi-stat-source { color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Bar chart
   ========================================================================== */
.pi-chart { margin: 0; padding: clamp(24px, 4vw, 48px); background: var(--white); border-top: 2px solid var(--jati); }
.pi-tone-white .pi-chart { background: var(--pasir); }
.pi-tone-basal .pi-chart { background: rgba(255, 255, 255, .04); border-top-color: var(--kunyit); }
.pi-chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-bottom: var(--space-l); }
.pi-chart-title { font-family: var(--font-display); font-weight: 350; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; max-width: 30em; }
.pi-chart-sub { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--abu-arang); align-self: flex-end; }
.pi-tone-basal .pi-chart-sub { color: rgba(255, 255, 255, .6); }
.pi-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pi-bar { display: grid; grid-template-columns: minmax(120px, 34%) 1fr 64px; align-items: center; gap: 16px; }
@media (max-width: 640px) { .pi-bar { grid-template-columns: 1fr 56px; gap: 6px 12px; } .pi-bar-label { grid-column: 1 / -1; } }
.pi-bar-label { font-size: 14px; line-height: 1.35; }
.pi-bar-track { height: 14px; background: rgba(176, 164, 153, .28); position: relative; }
.pi-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--abu-hangat); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 120ms + 200ms); }
.pi-bar.is-hl .pi-bar-fill { background: var(--jati); }
.pi-tone-basal .pi-bar.is-hl .pi-bar-fill { background: var(--kunyit); }
.pi-tone-basal .pi-bar-fill { background: rgba(176, 164, 153, .55); }
.pi-chart.is-in .pi-bar-fill, .pi-no-motion .pi-bar-fill { transform: none; }
.pi-bar-value { font-family: var(--font-display); font-weight: 400; font-size: 17px; text-align: right; }
.pi-bar.is-hl .pi-bar-value { color: var(--jati); font-weight: 500; }
.pi-tone-basal .pi-bar.is-hl .pi-bar-value { color: var(--kunyit); }
@media (prefers-reduced-motion: reduce) { .pi-bar-fill { transform: none; transition: none; } }

/* ==========================================================================
   Evidence list
   ========================================================================== */
.pi-evidence-list { list-style: none; margin: 0; padding: 0; counter-reset: ev; border-top: 1px solid var(--kuningan); }
.pi-evidence-list li { counter-increment: ev; display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 24px 0; border-bottom: 1px solid var(--abu-perak); }
@media (min-width: 900px) { .pi-evidence-list li { grid-template-columns: 56px 1fr 260px; align-items: baseline; } .pi-evidence-list li::before { content: counter(ev, decimal-leading-zero); font-family: var(--font-display); font-weight: 300; font-size: 15px; letter-spacing: 2px; color: var(--kuningan); } }
.pi-evidence-finding { margin: 0; font-size: 18px; line-height: 1.55; }
.pi-evidence-source { margin: 0; font-size: 13px; line-height: 1.45; color: var(--abu-arang); }
.pi-evidence-source a { display: inline-flex; align-items: flex-start; gap: 6px; text-decoration: none; }
.pi-evidence-source a:hover { color: var(--jati); text-decoration: underline; }
.pi-evidence-source .pi-icon { width: 14px; height: 14px; margin-top: 2px; }
.pi-tone-basal .pi-evidence-list li, .pi-tone-jati .pi-evidence-list li { border-color: rgba(154, 131, 80, .5); }
.pi-tone-basal .pi-evidence-source, .pi-tone-jati .pi-evidence-source { color: rgba(255, 255, 255, .65); }

/* ==========================================================================
   Points
   ========================================================================== */
.pi-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--abu-perak); border: 1px solid var(--abu-perak); }
@media (min-width: 800px) { .pi-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pi-points { grid-template-columns: repeat(3, 1fr); } }
.pi-point { background: var(--white); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.pi-tone-pasir .pi-point { background: var(--pasir); }
.pi-tone-basal .pi-points { background: rgba(154, 131, 80, .5); border-color: rgba(154, 131, 80, .5); }
.pi-tone-basal .pi-point { background: var(--basal); }
.pi-point-num { font-family: var(--font-display); font-weight: 300; font-size: 44px; line-height: 1; color: var(--kuningan); }
.pi-point-title { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.pi-point p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--abu-arang); }
.pi-tone-basal .pi-point p { color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   Quote
   ========================================================================== */
.pi-quote { margin: 0; padding: var(--space-l) 0 var(--space-l) clamp(24px, 4vw, 56px); border-left: 1px solid var(--kuningan); max-width: 960px; }
.pi-quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.22; margin: 0; }
.pi-quote p strong { font-weight: 300; color: var(--jati); }
.pi-tone-basal .pi-quote p strong, .pi-tone-jati .pi-quote p strong { color: var(--kunyit); }
.pi-quote cite { display: block; margin-top: var(--space-m); font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--abu-arang); }

/* ==========================================================================
   Parallax photo band
   ========================================================================== */
.pi-parallax { min-height: 78vh; display: flex; align-items: center; color: var(--white); background: var(--basal); }
.pi-parallax-shade { position: absolute; inset: 0; z-index: 1; background: rgba(46, 51, 55, .62); }
.pi-parallax-inner { position: relative; z-index: 3; padding-top: 96px; padding-bottom: 96px; }
.pi-parallax-text { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.12; max-width: 17em; margin: 0; }
.pi-parallax-text strong { font-weight: 300; color: #f1dcb6; }
.pi-parallax-caption { position: absolute; z-index: 3; right: var(--gutter); bottom: 18px; margin: 0; font-size: 11px; letter-spacing: .5px; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Compare
   ========================================================================== */
.pi-compare { border-top: 1px solid var(--basal); }
.pi-compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.pi-compare-row > span { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--abu-perak); font-size: 16px; line-height: 1.5; }
.pi-compare-row > span + span { padding-left: 20px; border-left: 1px solid var(--abu-perak); }
.pi-compare-row > span:first-child { color: var(--abu-arang); }
.pi-compare-head > span { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--basal) !important; }
.pi-compare-head .pi-icon { width: 18px; height: 18px; }
.pi-compare-head > span:first-child .pi-icon { color: var(--tanah-liat); }
.pi-compare-head > span + span .pi-icon { color: var(--lumut); }
.pi-compare-row > span + span { background: rgba(247, 242, 231, .7); }
.pi-tone-pasir .pi-compare-row > span + span { background: var(--white); }
@media (min-width: 900px) { .pi-compare-row > span { padding-top: 22px; padding-bottom: 22px; font-size: 17px; } .pi-compare-row > span + span { padding-left: 28px; } }

/* ==========================================================================
   Timeline
   ========================================================================== */
.pi-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pi-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--kuningan); }
.pi-timeline li { position: relative; padding: 0 0 32px 40px; }
.pi-timeline li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--jati); }
@media (min-width: 900px) {
	.pi-timeline::before { left: 207px; }
	.pi-timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 56px; padding-left: 0; }
	.pi-timeline li::before { left: 203px; }
}
.pi-tl-date { display: block; font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--kuningan); padding-top: 2px; margin-bottom: 6px; }
.pi-tl-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.pi-tl-body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--abu-arang); max-width: 40em; }
.pi-tone-basal .pi-tl-body p { color: rgba(255, 255, 255, .75); }
.pi-tone-basal .pi-timeline li::before { background: var(--kunyit); }

/* ==========================================================================
   Note
   ========================================================================== */
.pi-note { background: var(--white); border-top: 2px solid var(--kuningan); padding: clamp(24px, 3vw, 40px); max-width: 980px; }
.pi-tone-white .pi-note { background: var(--pasir); }
.pi-tone-basal .pi-note { background: rgba(255, 255, 255, .05); }
.pi-note-title { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--jati); margin-bottom: var(--space-s); }
.pi-tone-basal .pi-note-title { color: var(--kunyit); }
.pi-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pi-note li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; }
.pi-note li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--kuningan); }

/* ==========================================================================
   Quiz
   ========================================================================== */
.pi-quiz-section { background: var(--basal); color: var(--white); padding: clamp(80px, 10vw, 144px) 0; position: relative; }
.pi-quiz-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 1000px) { .pi-quiz-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.pi-quiz-intro .pi-section-title { color: var(--white); }
.pi-quiz-intro .pi-section-title strong { color: var(--kunyit); }
.pi-quiz-intro .pi-lead { color: rgba(255, 255, 255, .78); }
.pi-quiz-intro .pi-eyebrow { color: var(--kunyit); }
.pi-quiz { border-top: 1px solid var(--kuningan); padding-top: var(--space-l); min-height: 360px; }
.pi-quiz.is-started { border-top: 0; padding-top: 0; }
.pi-quiz-count { font-family: var(--font-display); font-weight: 300; font-size: 40px; margin-bottom: var(--space-m); }
.pi-quiz-progress { display: flex; gap: 6px; margin-bottom: var(--space-l); }
.pi-quiz-progress span { flex: 1; height: 2px; background: rgba(255, 255, 255, .18); }
.pi-quiz-progress span.is-done { background: var(--kunyit); }
.pi-quiz-step { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--kunyit); margin-bottom: var(--space-s); }
.pi-quiz-q { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; margin-bottom: var(--space-l); }
.pi-quiz-opts { display: grid; gap: 10px; margin-bottom: var(--space-l); }
.pi-quiz-opt {
	display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 12px; width: 100%; text-align: left;
	padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-size: 16px; line-height: 1.45;
	transition: border-color .3s var(--ease), background .3s var(--ease);
}
.pi-quiz-opt:hover:not([disabled]) { border-color: var(--kunyit); background: rgba(255, 255, 255, .04); }
.pi-quiz-opt .k { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 2px; color: var(--kunyit); text-transform: uppercase; }
.pi-quiz-opt .pi-icon { width: 20px; height: 20px; opacity: 0; }
.pi-quiz-opt[disabled] { cursor: default; }
.pi-quiz-opt.is-right { border-color: var(--kunyit); background: rgba(199, 154, 78, .14); }
.pi-quiz-opt.is-right .pi-icon { opacity: 1; color: var(--kunyit); }
.pi-quiz-opt.is-wrong { border-color: var(--tanah-liat); background: rgba(169, 99, 79, .16); }
.pi-quiz-opt.is-wrong .pi-icon { opacity: 1; color: #e3a594; }
.pi-quiz-opt.is-dim { opacity: .5; }
.pi-quiz-feedback { padding: 20px 22px; background: rgba(255, 255, 255, .05); border-left: 2px solid var(--kunyit); margin-bottom: var(--space-l); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); animation: piFade .6s var(--ease); }
.pi-quiz-feedback strong { color: var(--white); font-weight: 500; }
.pi-quiz-feedback sup.pi-cite a { color: var(--kunyit); }
@keyframes piFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pi-quiz-result .pi-quiz-score { font-family: var(--font-display); font-weight: 300; font-size: clamp(72px, 10vw, 128px); line-height: 1; color: var(--kunyit); margin-bottom: var(--space-s); }
.pi-quiz-result .pi-quiz-score small { font-size: .35em; color: rgba(255, 255, 255, .6); letter-spacing: 2px; }
.pi-quiz-result p:not([class]) { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 34em; }
.pi-quiz-result .pi-actions { margin-top: var(--space-m); }
.pi-quiz-retry { margin-top: var(--space-s); color: rgba(255, 255, 255, .7); font-family: var(--font-display); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.pi-cta { position: relative; color: var(--white); }
.pi-cta-field { min-height: 86vh; display: flex; align-items: center; background: var(--jati); }
.pi-cta-shade { position: absolute; inset: 0; z-index: 1; background: rgba(122, 78, 51, .88); }
.pi-cta-inner { position: relative; z-index: 3; padding-top: 128px; padding-bottom: 128px; }
.pi-cta-mark { width: 64px; height: auto; margin-bottom: var(--space-l); }
.pi-cta-title { font-size: clamp(38px, 6.4vw, 84px); line-height: 1.04; max-width: 12em; margin-bottom: var(--space-m); }
.pi-cta-title strong { font-weight: 300; color: #f1dcb6; }
.pi-cta .pi-lead { color: rgba(255, 255, 255, .85); max-width: 38em; }
.pi-cta-band { background: var(--basal); padding: 32px 0; }
.pi-facts { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 900px) { .pi-facts { grid-template-columns: repeat(4, 1fr); } }
.pi-facts li { padding: 12px 20px 12px 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--kuningan); }
@media (min-width: 900px) { .pi-facts li { border-top: 0; border-left: 1px solid var(--kuningan); padding: 4px 24px; } .pi-facts li:first-child { border-left: 0; padding-left: 0; } }
@media (max-width: 899px) { .pi-facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--kuningan); } }

/* ==========================================================================
   Sources
   ========================================================================== */
.pi-sources { background: var(--pasir); padding: clamp(64px, 8vw, 112px) 0; }
.pi-sources-title { font-size: clamp(26px, 3vw, 36px); font-weight: 350; margin-bottom: var(--space-l); }
.pi-sources-list { margin: 0; padding: 0 0 0 2.2em; columns: 1; font-size: 14px; line-height: 1.55; color: var(--abu-arang); }
@media (min-width: 1000px) { .pi-sources-list { columns: 2; column-gap: 64px; } }
.pi-sources-list li { padding: 6px 0 6px 6px; break-inside: avoid; scroll-margin-top: calc(var(--header-h) + 24px); }
.pi-sources-list li::marker { font-family: var(--font-display); color: var(--kuningan); }
.pi-sources-list li:target { background: rgba(199, 154, 78, .18); }
.pi-sources-list a { text-decoration: none; }
.pi-sources-list a:hover { color: var(--jati); text-decoration: underline; }
.pi-sources-note { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--abu-hangat); }

/* ==========================================================================
   Footer
   ========================================================================== */
.pi-footer { background: var(--basal); color: rgba(255, 255, 255, .78); padding: clamp(56px, 7vw, 96px) 0 calc(32px + var(--safe-b)); font-size: 15px; }
@media (max-width: 899px) { body.pi-report-page .pi-footer { padding-bottom: calc(var(--bar-h) + 32px + var(--safe-b)); } }
.pi-footer-grid { display: grid; gap: var(--space-l); padding-bottom: var(--space-xl); border-bottom: 1px solid rgba(154, 131, 80, .6); }
@media (min-width: 900px) { .pi-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.pi-footer .pi-brand { color: var(--white); margin-bottom: var(--space-m); }
.pi-mark-footer { width: 40px; height: auto; }
.pi-footer-brand p { max-width: 30em; }
.pi-footer-label { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--kunyit); margin-bottom: var(--space-s); }
.pi-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pi-footer a { text-decoration: none; }
.pi-footer a:hover { color: var(--white); text-decoration: underline; }
.pi-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-top: var(--space-m); font-size: 12px; color: rgba(255, 255, 255, .5); }
.pi-footer-base p { margin: 0; max-width: 60em; }

/* ==========================================================================
   Plain pages
   ========================================================================== */
.pi-plain-head { background: var(--jati); color: var(--white); padding: calc(var(--header-h) + 72px) 0 56px; }
.pi-plain-head h1 { font-size: clamp(34px, 5vw, 60px); margin: 0; }
.pi-plain-body { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.pi-post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--kuningan); }
.pi-post-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--abu-perak); text-decoration: none; }
.pi-post-date { grid-column: 1; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--abu-arang); }
.pi-post-title { grid-column: 1; font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1.2; }
.pi-post-list .pi-icon { grid-column: 2; grid-row: 1 / 3; color: var(--jati); }
body:not(.pi-report-page) .pi-header { background: var(--basal); }

/* Core image inside a chapter */
.pi-prose > .wp-block-image { margin-left: 0; margin-right: 0; max-width: 980px; }
.pi-prose > .wp-block-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.pi-prose > .wp-block-image figcaption { margin-top: 10px; font-size: 12px; color: var(--abu-arang); text-align: left; }
.pi-tone-basal .wp-block-image figcaption, .pi-tone-jati .wp-block-image figcaption { color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   CTA band (between chapters)
   ========================================================================== */
.pi-ctaband {
	display: grid; gap: var(--space-m); align-items: center;
	padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
	background: var(--jati); color: var(--white); position: relative; overflow: hidden;
}
.pi-ctaband::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: rgba(255, 255, 255, .14); }
.pi-ctaband-basal { background: var(--basal); }
.pi-ctaband-kuningan { background: var(--kuningan); }
.pi-tone-jati .pi-ctaband { background: var(--basal); }
@media (min-width: 900px) { .pi-ctaband { grid-template-columns: 1fr auto; gap: var(--space-xl); } }
.pi-ctaband .pi-eyebrow { margin-bottom: 10px; color: #f1dcb6; }
.pi-ctaband-line { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.22; margin: 0; max-width: 22em; position: relative; }
.pi-ctaband-line strong { font-weight: 300; color: #f1dcb6; }
.pi-ctaband-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
@media (max-width: 520px) { .pi-ctaband-actions .pi-btn { width: 100%; } }

.pi-btn-wa { background: var(--wa); color: #0b3d1f; }
.pi-btn-wa:hover { background: #1fbe5b; color: #0b3d1f; }
.pi-btn-outline { border-color: var(--basal); color: var(--basal); }
.pi-btn-outline:hover { background: var(--basal); color: var(--white); }
.pi-btn-block { width: 100%; }

/* ==========================================================================
   Booking form
   ========================================================================== */
.pi-booking { background: var(--pasir); padding: clamp(80px, 10vw, 144px) 0; position: relative; }
.pi-booking-grid { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 1000px) { .pi-booking-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.pi-promises { list-style: none; margin: var(--space-l) 0 0; padding: 0; display: grid; gap: 14px; border-top: 1px solid var(--kuningan); padding-top: var(--space-m); }
.pi-promises li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.pi-promises .pi-icon { color: var(--jati); width: 22px; height: 22px; }
.pi-booking-alt { margin-top: var(--space-xl); }
.pi-booking-alt .pi-actions { margin-top: var(--space-s); }
.pi-booking-alt-label { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--abu-arang); margin: 0; }
.pi-booking-email { margin: var(--space-m) 0 0; font-size: 15px; color: var(--abu-arang); }
.pi-booking-email a { color: var(--jati); }
.pi-booking-card { background: var(--white); border-top: 3px solid var(--jati); padding: clamp(24px, 4vw, 48px); }
.pi-form { display: grid; gap: 18px; }
.pi-form[hidden], .pi-booking-success[hidden] { display: none; }
.pi-form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .pi-form-row { grid-template-columns: 1fr 1fr; } }
.pi-field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.pi-field > span, .pi-field legend { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--abu-arang); padding: 0; margin-bottom: 6px; }
.pi-field input, .pi-field select, .pi-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--basal); background: var(--white);
	border: 1px solid var(--abu-perak); border-radius: 0; padding: 13px 14px; min-height: 50px;
	transition: border-color .25s var(--ease);
}
.pi-field textarea { min-height: 96px; resize: vertical; }
.pi-field input:focus, .pi-field select:focus, .pi-field textarea:focus { outline: none; border-color: var(--jati); box-shadow: inset 0 0 0 1px var(--jati); }
.pi-field input:user-invalid { border-color: var(--tanah-liat); }
.pi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pi-chips legend { width: 100%; }
.pi-chip { position: relative; cursor: pointer; }
.pi-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pi-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--abu-perak); font-size: 14px; transition: all .2s var(--ease); }
.pi-chip input:checked + span { background: var(--jati); border-color: var(--jati); color: var(--white); }
.pi-chip input:focus-visible + span { outline: 2px solid var(--kunyit); outline-offset: 2px; }
.pi-form-note { margin: 0; font-size: 12px; color: var(--abu-arang); }
.pi-form-error { margin: 0; padding: 12px 14px; background: rgba(169, 99, 79, .12); border-left: 2px solid var(--tanah-liat); font-size: 14px; }
.pi-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pi-booking-success { text-align: left; padding: var(--space-l) 0; }
.pi-booking-mark { width: 56px; height: auto; margin-bottom: var(--space-m); }
.pi-booking-success-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.pi-bottombar .is-cta { font-size: 11px; letter-spacing: 1.5px; }

/* ==========================================================================
   Hero: photo-led layout (v1.1)
   ========================================================================== */
.pi-px-wrap.is-flipped .pi-px { transform-origin: center; }
.pi-px-wrap.is-flipped { transform: scaleX(-1); }
.pi-hero.is-photo .pi-hero-shade {
	background:
		linear-gradient(180deg, rgba(46, 51, 55, .5) 0, rgba(46, 51, 55, 0) 160px),
		linear-gradient(90deg, rgba(122, 78, 51, .97) 0%, rgba(122, 78, 51, .9) 30%, rgba(122, 78, 51, .4) 52%, rgba(122, 78, 51, 0) 70%);
}
.pi-hero.is-photo .pi-rules { display: none; }
.pi-hero.is-photo .pi-hero-title { font-size: clamp(44px, 5.8vw, 88px); max-width: 7.6em; }
.pi-hero.is-photo .pi-hero-lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 24em; }
.pi-hero.is-photo .pi-hero-inner > * { max-width: 46%; }
@media (max-width: 899px) {
	.pi-hero.is-photo { min-height: 0; }
	.pi-hero.is-photo .pi-hero-media { position: relative; height: 58svh; min-height: 360px; flex: none; }
	.pi-hero.is-photo .pi-hero-shade {
		bottom: auto; height: 58svh; min-height: 360px;
		background:
			linear-gradient(180deg, rgba(46, 51, 55, .55) 0, rgba(46, 51, 55, 0) 120px),
			linear-gradient(180deg, rgba(122, 78, 51, 0) 50%, rgba(122, 78, 51, .85) 82%, var(--jati) 100%);
	}
	.pi-hero.is-photo .pi-hero-inner { padding-top: 0; margin-top: -88px; padding-bottom: 40px; }
	.pi-hero.is-photo .pi-hero-inner > * { max-width: none; }
	.pi-hero.is-photo .pi-rules { display: none; }
}
.pi-stat-icon { display: block; color: var(--kunyit); margin-bottom: 4px; }
.pi-stat-icon .pi-icon { width: 30px; height: 30px; }
@media (min-width: 900px) { .pi-hero-stats li { flex-direction: column; } }

/* Points with icons */
.pi-point-icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--kuningan); color: var(--kuningan); }
.pi-point-icon .pi-icon { width: 28px; height: 28px; }
.pi-tone-basal .pi-point-icon, .pi-tone-jati .pi-point-icon { color: var(--kunyit); border-color: var(--kunyit); }
