/* ==========================================================================
   Mazeruang — hijau modern, komponen semi-solid
   Token warna ada di bagian paling atas. Override milikmu taruh di custom.css.
   ========================================================================== */

:root {
  --bg: #F5F9F5;
  --surface: rgba(255, 255, 255, .75);
  --surface-solid: #FFFFFF;
  --ink: #10231A;
  --ink-2: #2C4235;
  --ink-3: #35503F;
  --muted: #52665A;
  --accent: #2E7D4F;          /* hijau utama: antara hijau akar dan hijau daun */
  --accent-ink: #1E5C39;      /* teks di atas isian hijau transparan */
  --on-accent: #FFFFFF;
  --deep: #1F5F3B;            /* hijau akar: blok sorotan */
  --footer: #12301F;
  --leaf: #8FD19A;            /* hijau daun */
  --ph: #DCEBDD;              /* latar foto kosong */
  --on-deep: #FFFFFF;
  --on-deep-2: #D7EEDD;
  --on-deep-3: #BFE3C8;
  --footer-ink: #E8F1EA;
  --footer-muted: #B5CABB;
  --warn-bg: rgba(214, 120, 40, .10);
  --warn-line: rgba(214, 120, 40, .30);
  --warn-ink: #8A440C;
  --warn-text: #4A2C12;
  --line: color-mix(in srgb, var(--accent) 14%, transparent);
  --tint-bg: color-mix(in srgb, var(--accent) 7%, transparent);
  --tint-line: color-mix(in srgb, var(--accent) 17%, transparent);
  --semi-bg: color-mix(in srgb, var(--accent) 11%, transparent);
  --semi-line: color-mix(in srgb, var(--accent) 24%, transparent);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(255, 255, 255, .8);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-pill: 999px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1200px;
  --header-h: 72px;
}

:root[data-theme='dark'] {
  --bg: #0B1A12;
  --surface: rgba(255, 255, 255, .05);
  --surface-solid: #14251B;
  --ink: #E8F1EA;
  --ink-2: #C9D8CD;
  --ink-3: #B6C8BB;
  --muted: #9BB3A4;
  --accent: #86CF94;
  --accent-ink: #A8DDB3;
  --on-accent: #0B1A12;
  --deep: #173F29;
  --footer: #07120C;
  --ph: #1A2E21;
  --glass: rgba(11, 26, 18, .72);
  --glass-line: rgba(255, 255, 255, .12);
  --warn-bg: rgba(240, 150, 70, .12);
  --warn-line: rgba(240, 150, 70, .32);
  --warn-ink: #F3B47A;
  --warn-text: #F1D9C4;
}
:root[data-theme='dark'] img { filter: brightness(.9); }

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
button { font: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.section { padding: 56px 0; }
.section--tight { padding: 28px 0; }

/* ---------- Permukaan semi-solid ---------- */
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.tint { background: var(--tint-bg); border: 1px solid var(--tint-line); border-radius: var(--r-md); }
.deep { background: var(--deep); color: var(--on-deep); border-radius: var(--r-lg); }
.deep h1, .deep h2, .deep h3 { color: var(--on-deep); }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--glass-line); }
.glass-dark { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .24); color: var(--on-deep); }
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.ph { display: block; width: 100%; height: 100%; min-height: 160px; background: var(--ph); }

/* ---------- Teks kecil ---------- */
.eyebrow { margin: 0 0 6px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: var(--on-deep-3); }
.label { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; color: var(--muted); }
.label--accent { color: var(--accent); }
.label--light { color: var(--on-deep-3); }
.meta { margin: 0; font: 400 11px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }

/* ---------- Chip, pill, tombol ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; font: 600 12px/1.2 var(--font); color: var(--accent-ink); background: var(--semi-bg); border: 1px solid var(--semi-line); padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; }
a.chip:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.chip--solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--semi-line); background: var(--tint-bg); color: var(--accent-ink); font: 600 13px var(--font); cursor: pointer; }
.pill:hover { color: var(--accent-ink); background: var(--semi-bg); }
.pill[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 600 14px var(--font); border: 1px solid transparent; cursor: pointer; text-align: center; }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { color: var(--on-accent); background: color-mix(in srgb, var(--accent) 88%, black); }
.btn-semi { background: var(--semi-bg); color: var(--accent-ink); border-color: var(--semi-line); }
.btn-semi:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.btn-line { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-light { background: #fff; color: #1E5C39; }
.btn-light:hover { color: #1E5C39; background: #EEF6EF; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.2); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--semi-line); background: var(--tint-bg); color: var(--accent-ink); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--accent-ink); background: var(--semi-bg); }

/* Segmented control (Semua / Bangunan / Ruangan) */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--tint-bg); border: 1px solid var(--tint-line); }
.segmented button { min-height: 42px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--accent-ink); font: 600 14px var(--font); cursor: pointer; }
.segmented button[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.segmented--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.segmented--light button { color: #fff; }
.segmented--light button[aria-pressed='true'] { background: #fff; color: #1E5C39; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body.scrolled .site-header { box-shadow: 0 6px 24px rgba(16, 35, 26, .06); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; }
.brand-name { font: 800 22px/1 var(--font); letter-spacing: -.025em; }
.brand-logo { max-height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-desktop ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop > ul { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-desktop li { position: relative; }
.nav-desktop a { display: block; padding: 10px 14px; border-radius: var(--r-pill); font: 600 14px/1.2 var(--font); color: var(--ink); white-space: nowrap; }
.nav-desktop a:hover { background: var(--tint-bg); color: var(--accent-ink); }
.nav-desktop a.active { background: var(--semi-bg); color: var(--accent-ink); }
.dropmenu li.has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.dropmenu li > ul { position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px; display: block; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(16, 35, 26, .10); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; z-index: 5; }
.dropmenu li.flip-x > ul { left: auto; right: 0; }
.dropmenu li:hover > ul, .dropmenu li:focus-within > ul, .dropmenu li.open > ul { opacity: 1; visibility: visible; transform: none; }
.dropmenu li > ul a { border-radius: 12px; }
.dropmenu li > ul ul { left: 100%; top: -8px; }

.menu-btn { display: none; }
.menu-btn .ico-close, .menu-btn.active .ico-open { display: none; }
.menu-btn.active .ico-close { display: inline-flex; }
.menu-btn span { display: inline-flex; }
.overlay { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; background: var(--bg); overflow-y: auto; padding: 24px 0 96px; }
.overlay.open { display: block; }
body.overlay-open { overflow: hidden; }
.overlay-menu ul { list-style: none; margin: 0; padding: 0; }
.overlay-menu a { display: block; padding: 14px 0; color: var(--ink); font: 700 22px/1.2 var(--font); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.overlay-menu a.active { color: var(--accent); }
.overlay-menu ul ul { padding-left: 16px; }
.overlay-menu ul ul a { font: 600 16px var(--font); color: var(--muted); }

.theme-toggle .icon { display: none; }
:root[data-theme-preference='light'] .theme-toggle .icon-sun,
:root[data-theme-preference='dark'] .theme-toggle .icon-moon,
:root[data-theme-preference='auto'] .theme-toggle .icon-auto,
:root:not([data-theme-preference]) .theme-toggle .icon-auto { display: inline-flex; }

@media (max-width: 1100px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
}

/* Progress baca */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 50; background: var(--tint-bg); }
.read-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Judul section ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-title { margin: 0; font: 800 34px/1.12 var(--font); letter-spacing: -.025em; }
.block-title { margin: 0 0 12px; font: 800 24px/1.2 var(--font); }

/* ---------- Kartu artikel ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--ph); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 2px 6px 8px; display: flex; flex-direction: column; gap: 8px; }
.card-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.card-title { margin: 0; font: 700 17px/1.32 var(--font); letter-spacing: -.01em; }
.card-excerpt { margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.card--lg { padding: 14px; }
.card--lg .card-media { aspect-ratio: 16 / 11; }
.card--lg .card-title { font: 800 26px/1.2 var(--font); letter-spacing: -.02em; }
.card--sm { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; }
.card--sm .card-media { aspect-ratio: 1 / 1; }
.card--sm .card-title { font-size: 17px; }
.card--sm .card-body { padding: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.grid-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-bottom: 24px; }
.feat-side { display: flex; flex-direction: column; gap: 24px; }
.feat-side .card { flex: 1; }
@media (max-width: 520px) { .card--sm { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } }

.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split-main { flex: 999 1 560px; min-width: 0; }
.split > aside, .side-col { flex: 1 1 300px; min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Hero beranda ---------- */
.home-hero { padding-top: 28px; }
.home-hero-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ph); min-height: 520px; display: flex; align-items: flex-end; }
.home-hero-media { position: absolute; inset: 0; }
.home-hero-media img, .home-hero-media .ph { width: 100%; height: 100%; object-fit: cover; }
.home-hero-card { position: relative; margin: 24px; max-width: 580px; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.home-hero-title { margin: 0; font: 800 42px/1.08 var(--font); letter-spacing: -.03em; }
.home-hero-text, .home-hero-copy p { margin: 0; color: var(--ink-3); font-size: 16px; line-height: 1.6; }
.home-hero-copy h1 { margin: 0 0 10px; font: 800 42px/1.08 var(--font); letter-spacing: -.03em; }
@media (max-width: 640px) {
  .home-hero-frame { min-height: 0; flex-direction: column; align-items: stretch; }
  .home-hero-media { position: relative; aspect-ratio: 4 / 3; }
  .home-hero-card { margin: -40px 12px 12px; padding: 22px; }
  .home-hero-title, .home-hero-copy h1 { font-size: 30px; }
}

/* Per ruang */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.room { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 6; background: var(--ph); }
.room img, .room .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room:hover img { transform: scale(1.04); }
.room-name { position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: var(--r-sm); padding: 10px 12px; font: 700 14px var(--font); color: var(--ink); }

/* Blok Tips & Trik */
.band { padding: 56px 40px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; border-radius: 32px; }
.band-head { width: 100%; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.band-intro { max-width: 600px; }
.band-title { margin: 6px 0 10px; font: 800 42px/1.08 var(--font); letter-spacing: -.03em; }
.band-text p { margin: 0; color: var(--on-deep-2); font-size: 16px; line-height: 1.6; }
.band-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.band-grid[hidden] { display: none; }
.band-card { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.band-card:hover { color: #fff; background: rgba(255,255,255,.16); }
.band-no { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.band-card-title { font: 700 17px/1.35 var(--font); }
.band-card-text { font-size: 14px; line-height: 1.55; color: var(--on-deep-2); }
@media (max-width: 640px) { .band { padding: 36px 20px; border-radius: var(--r-lg); } .band-title { font-size: 32px; } }

/* Tahap (beranda) */
.stage-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stage-tile { height: 100%; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.stage-tile-name { font: 700 15px/1.35 var(--font); }
.stage-no { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: var(--semi-bg); border: 1px solid var(--semi-line); color: var(--accent-ink); flex: none; }
.stage-no.is-first { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Gaya desain */
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.style-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.style-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 64px; border-radius: 12px; overflow: hidden; }
.style-name { font: 700 17px var(--font); padding: 0 4px; }
.style-desc { font-size: 13px; line-height: 1.5; color: var(--muted); padding: 0 4px 4px; }

/* Newsletter & kotak tanya */
.newsletter, .ask { padding: 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 12px; }
.newsletter-title { margin: 0; font: 800 23px/1.25 var(--font); letter-spacing: -.02em; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form label { font-size: 13px; font-weight: 600; }
.newsletter-form input { min-height: 48px; border: 1px solid var(--semi-line); border-radius: var(--r-pill); padding: 0 18px; font: inherit; font-size: 14px; background: var(--surface); color: var(--ink); }

/* ---------- Hero halaman (pilar, default) ---------- */
.page-hero { padding-top: 28px; }
.page-hero-panel { padding: 48px 40px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px; }
.page-hero-panel.deep { border-radius: 32px; }
.page-title { margin: 0; font: 800 52px/1.04 var(--font); letter-spacing: -.03em; }
.page-sub { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.deep .page-sub { color: var(--on-deep-2); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.deep .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; }
.filter-note a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; }
.list-intro { margin-bottom: 28px; }
.empty { padding: 24px; color: var(--muted); }
@media (max-width: 640px) { .page-hero-panel { padding: 32px 22px; } .page-title { font-size: 36px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--accent); }
.crumbs--light { color: var(--on-deep-3); }
.crumbs--light a:hover { color: #fff; }

/* ---------- Hub (Tips & Trik, Bangun & Renovasi) ---------- */
.hub-hero { padding-top: 28px; }
.hub-hero-panel { padding: 56px 40px; border-radius: 32px; display: flex; flex-direction: column; gap: 18px; }
.hub-hero-panel--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hub-hero-main { max-width: 660px; display: flex; flex-direction: column; gap: 16px; }
.hub-title { margin: 0; font: 800 56px/1.02 var(--font); letter-spacing: -.03em; max-width: 760px; }
.hub-sub { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--on-deep-2); }
.hub-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.hub-search { flex: 1 1 340px; max-width: 520px; min-height: 54px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; gap: 10px; padding: 0 20px; color: #fff; }
.hub-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; }
.hub-search input::placeholder { color: var(--on-deep-3); }
.hub-search input:focus { outline: none; }
.hub-search:focus-within { border-color: #fff; }
.series-card { flex: 0 1 320px; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.series-card:hover { color: #fff; background: rgba(255,255,255,.16); }
.series-title { font: 700 19px/1.3 var(--font); }
.series-text { font-size: 14px; line-height: 1.55; color: var(--on-deep-2); }
.series-steps { display: grid; grid-auto-flow: column; gap: 4px; margin-top: 4px; }
.series-steps i { height: 6px; border-radius: 4px; background: rgba(255,255,255,.22); }
.series-steps i:first-child { background: var(--leaf); }
@media (max-width: 640px) { .hub-hero-panel { padding: 36px 22px; } .hub-title { font-size: 38px; } }

.quick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.quick { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.quick .label { color: var(--accent); }
.quick-text { font: 600 15px/1.5 var(--font); }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.topic { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.topic-head { display: flex; align-items: center; gap: 14px; }
.topic-ico { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--semi-bg); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.topic-name { display: block; font: 700 17px var(--font); }
.topic-list, .link-list, .stage-items, .popular-list { list-style: none; margin: 0; padding: 0; }
.topic-list li, .link-list li, .stage-items li, .popular-list li { border-top: 1px solid var(--line); }
.topic-list a, .link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font: 500 14px/1.45 var(--font); }
.topic-list a span:last-child, .link-list a span:last-child { color: var(--accent); }
[data-group-section][hidden], .quick[hidden], .stage-items li[hidden] { display: none; }

.popular { flex: 999 1 520px; padding: 28px; }
.popular-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; }
.popular-list .num { font-size: 18px; color: var(--accent); }
.popular-title { font: 600 15px/1.4 var(--font); }

.stage-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.stage { padding: 24px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; }
.stage .stage-no { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; }
.stage-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stage-title { margin: 0; font: 800 26px/1.15 var(--font); }
.stage-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.stage-items a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; font: 600 15px/1.4 var(--font); }
.stage-empty { margin: 0; font-size: 14px; }
.quick-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.4 var(--font); color: var(--accent-ink); background: var(--tint-bg); border: 1px dashed color-mix(in srgb, var(--accent) 38%, transparent); border-radius: var(--r-pill); padding: 8px 14px; }
@media (max-width: 560px) { .stage { grid-template-columns: 1fr; } }

.side-box { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.side-sub { margin: 6px 0 0; font: 700 13px var(--font); }
.side-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.side-text--light { color: var(--on-deep); }
.side-link { font: 700 13px var(--font); color: var(--accent-ink); }
.term-name { margin: 0; font: 800 24px var(--font); }
.side-box.deep { border-radius: var(--r-md); }

/* ---------- Artikel ---------- */
.post-hero { padding-top: 28px; }
.post-hero-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ph); min-height: 540px; display: flex; align-items: flex-end; }
.post-hero-media { position: absolute; inset: 0; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-card { position: relative; margin: 24px; max-width: 700px; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.post-hero-media--below { position: relative; margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 12 / 5; }
.photo-credit { margin: 10px 0 0; font: 400 12px var(--mono); color: var(--muted); }
.post-hero-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; padding-top: 12px; }
.post-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.post-title { margin: 0; font: 800 48px/1.05 var(--font); letter-spacing: -.03em; }
.post-sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-3); }
.post-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 12px/1.5 var(--mono); letter-spacing: .03em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 640px) {
  .post-hero-frame { min-height: 0; flex-direction: column; align-items: stretch; }
  .post-hero-media { position: relative; aspect-ratio: 4 / 3; }
  .post-hero-card { margin: -40px 12px 12px; padding: 22px; }
  .post-title { font-size: 32px; }
}

.summary { flex: 1 1 340px; min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-self: stretch; }
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary-title { font: 700 15px var(--font); }
.summary-badge { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 5px 12px; border-radius: var(--r-pill); }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.summary-cell { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.summary-cell .label { color: var(--on-deep-3); font-size: 10px; }
.summary-cell .value { font: 700 15px/1.35 var(--font); }
.summary-cell .value--text { font-weight: 500; font-size: 14px; line-height: 1.5; }

.post-layout { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; padding-top: 48px; padding-bottom: 40px; }
.toc-col { flex: 0 1 220px; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 12px; }
.toc-title { margin: 0; padding: 6px 14px 8px; font: 500 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 9px 14px; font-size: 14px; line-height: 1.4; color: var(--muted); border-radius: 12px; }
.toc a.is-active { background: var(--semi-bg); color: var(--accent-ink); font-weight: 700; }
.post { flex: 999 1 560px; min-width: 0; max-width: 720px; }
@media (max-width: 900px) { .toc-col { flex-basis: 100%; } .toc { position: static; } .post-layout { gap: 24px; } }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 28px; }
.info-cell { padding: 16px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.info-cell .label { font-size: 10px; }
.info-cell .value { font: 700 15px var(--font); }

/* Isi artikel */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 20px; }
.post-content > p:first-of-type { font-size: 21px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.prose h2 { margin: 44px 0 14px; font: 800 28px/1.2 var(--font); letter-spacing: -.02em; }
.prose h3 { margin: 32px 0 10px; font: 700 21px/1.3 var(--font); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: var(--r-md); }
.prose figure { margin: 28px 0; }
.prose figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.prose code { font: 0.9em var(--mono); background: var(--tint-bg); padding: 2px 6px; border-radius: 6px; }
.prose abbr[title], .term { text-decoration: none; border-bottom: 1.5px dotted var(--accent); color: var(--accent-ink); cursor: help; }

/* Kutipan: blok hijau */
.prose blockquote { margin: 32px 0; padding: 28px 32px; background: var(--deep); border-radius: 24px; color: #fff; }
.prose blockquote p { margin: 0; font: 700 22px/1.45 var(--font); letter-spacing: -.01em; }
/* Kotak Tips / Perhatian / Trik cepat (lihat mazeruang.js) */
.prose blockquote.box { padding: 20px 22px 20px 74px; position: relative; border-radius: var(--r-md); background: var(--tint-bg); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); color: var(--ink-2); }
.prose blockquote.box p { font: 400 16px/1.65 var(--font); letter-spacing: 0; margin: 0 0 8px; }
.prose blockquote.box p:last-child { margin-bottom: 0; }
.prose blockquote.box strong:first-child { display: block; font-size: 14px; color: var(--accent-ink); margin-bottom: 2px; }
.prose blockquote.box::before { content: ''; position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; background: var(--semi-bg) center / 20px no-repeat; }
.prose blockquote.box--tip::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.prose blockquote.box--quick::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.prose blockquote.box--warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-text); }
.prose blockquote.box--warn strong:first-child { color: var(--warn-ink); }
.prose blockquote.box--warn::before { background-color: color-mix(in srgb, #D67828 16%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A4D0E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l10 18H2L12 3zM12 10v5M12 18v.5'/%3E%3C/svg%3E"); }
.prose blockquote.box a { color: inherit; }

/* Daftar langkah bernomor: ordered list yang tiap butirnya diawali **Judul** */
.prose ol.steps { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.prose ol.steps > li { counter-increment: step; position: relative; margin: 0; padding: 20px 20px 20px 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 16px; line-height: 1.65; }
.prose ol.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 20px; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font: 500 15px var(--mono); }
.prose ol.steps > li > strong:first-child { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }

/* Checklist: butir list yang diawali [ ] */
.prose ul.checklist { list-style: none; padding: 8px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.prose ul.checklist li { margin: 0; border-bottom: 1px solid var(--line); }
.prose ul.checklist li:last-child { border-bottom: 0; }
.prose ul.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; font-size: 16px; line-height: 1.5; cursor: pointer; }
.prose ul.checklist input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }

/* Tabel */
.table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--tint-line); border-radius: var(--r-md); background: var(--surface); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--tint-bg); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 700; color: var(--ink); }

/* Palet, produk, sebelum-sesudah */
.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0 0 28px; }
.swatch { padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.swatch-color { display: block; height: 90px; border-radius: var(--r-sm); background: var(--ph); margin-bottom: 8px; }
.swatch-name { padding: 0 6px; font: 700 14px var(--font); color: var(--ink); line-height: 1.3; }
.swatch-meta { padding: 0 6px 4px; font: 400 11px var(--mono); color: var(--muted); line-height: 1.4; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.product { padding: 10px; display: flex; flex-direction: column; gap: 6px; line-height: 1.35; }
.product-media { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ph); margin-bottom: 6px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.product-kind { padding: 0 6px; font: 400 10px var(--mono); letter-spacing: .12em; color: var(--muted); }
.product-name { padding: 0 6px; font: 700 15px var(--font); color: var(--ink); }
.product-price { padding: 0 6px; font: 400 13px var(--mono); }
.product .btn { min-height: 44px; margin: 4px 6px 6px; text-decoration: none; }
.affiliate-note { font-size: 12px !important; color: var(--muted); margin-top: 12px !important; }
.compare { position: relative; margin: 28px 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 14 / 9; background: var(--ph); --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + figcaption, .compare:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare-label { position: absolute; top: 12px; border-radius: var(--r-pill); padding: 5px 12px; font: 700 12px var(--font); color: var(--ink); pointer-events: none; }
.compare-label--before { left: 12px; }
.compare-label--after { right: 12px; }
.compare figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; }

/* Pelajari lebih dalam, navigasi tahap */
.deeper { margin: 28px 0 8px; padding: 24px; border-radius: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; color: #fff; }
.deeper:hover { color: #fff; filter: brightness(1.08); }
.deeper-badge { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.deeper-text { display: flex; flex-direction: column; gap: 4px; }
.deeper .label { color: var(--on-deep-3); }
.deeper-title { font: 700 18px/1.35 var(--font); }
.deeper-cta { font: 600 13px var(--font); color: var(--on-deep-2); }
.stage-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 32px; }
.stage-link { padding: 18px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 6px; }
.stage-link--next { background: var(--accent); color: var(--on-accent); text-align: right; }
.stage-link--next:hover { color: var(--on-accent); }
.stage-link--next .label { color: inherit; opacity: .85; }
.stage-name { font: 700 15px var(--font); }
.disclaimer { margin: 28px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

.post-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.author { margin-top: 28px; padding: 22px; display: flex; gap: 18px; align-items: center; }
.author-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; }
.author-name { margin: 4px 0 2px; font: 700 17px var(--font); }
.author-bio { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* ---------- Pagination, pesan ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); border: 1px solid var(--semi-line); background: var(--tint-bg); color: var(--accent-ink); font-weight: 600; }
.page-btn.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.page-btn.is-gap { border: 0; background: none; }
.messages { margin-bottom: 20px; }
.toast { padding: 14px 18px; border-radius: var(--r-sm); background: var(--tint-bg); border: 1px solid var(--tint-line); }
.toast-error { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-text); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; background: var(--footer); color: var(--footer-ink); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 56px 0 40px; }
.footer-brand { max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--footer-muted); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.footer-head { margin: 0 0 4px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8FAE99; }
.footer-link { font-size: 14px; color: var(--footer-ink); }
.footer-link:hover { color: var(--leaf); }
.footer-bottom { padding: 20px 0 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--footer-muted); }

/* ---------- Form Grav (plugin form) ---------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-input, .form-select { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--semi-line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; }
textarea.form-input { min-height: 120px; }
.button-wrapper button, .form-group button { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 600; cursor: pointer; }

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