/* ==========================================================================
   SC Desa HTML — 06 Minimal (editorial)
   Template oleh sharecode.id — MIT License
   Daftar isi:
   1. Font & variabel   2. Dasar   3. Tata letak   4. Header & navigasi
   5. Hero & page head  6. Komponen   7. Halaman khusus   8. Footer
   9. Overlay (lightbox, modal, toast)   10. Utilitas & responsif
   ========================================================================== */

/* 1. Font & variabel ------------------------------------------------------ */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Warna — ganti di sini untuk mengubah seluruh tema */
  --paper: #ffffff;
  --paper-2: #f6f5f0;
  --paper-3: #eceae1;
  --ink: #1a1a1a;
  --ink-2: #3d3d38;
  --muted: #5f5f58;
  --line: #e2e0d7;
  --line-strong: #1a1a1a;
  --olive: #6b8e23;          /* aksen dekoratif & teks besar */
  --olive-ink: #4f6b17;      /* aksen untuk teks kecil (kontras AA) */
  --olive-soft: #eef2e2;
  --danger: #a3341f;

  /* Tipografi */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Ukuran */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Dasar --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--olive-ink); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(42px, 6.4vw, 96px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 20px; }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--olive); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
::selection { background: var(--olive); color: #fff; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Tata letak ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section.tight { padding: calc(var(--section) * .6) 0; }
.section.alt { background: var(--paper-2); }
.section.flush { border-top: 0; }

/* Grid editorial: label di kiri, isi di kanan */
.sec { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: clamp(24px, 5vw, 80px); }
.sec-label { position: relative; }
.sec-label .inner { position: sticky; top: calc(var(--header-h) + 32px); }
.sec-no { font-family: var(--font-head); font-style: italic; font-size: 15px; color: var(--olive-ink); display: block; margin-bottom: 6px; }
.sec-name { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.sec-label p { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 220px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 16ch; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-ink); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 40px 0; padding: 0 0 0 28px; border-left: 2px solid var(--olive); font-family: var(--font-head); font-style: italic; font-size: 26px; line-height: 1.4; }
.dropcap::first-letter { font-family: var(--font-head); float: left; font-size: 4.6em; line-height: .85; padding: 6px 12px 0 0; color: var(--olive); }

/* 4. Header & navigasi --------------------------------------------------- */
.topline { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topline .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topline a { text-decoration: none; }
.topline span + span::before { content: "·"; margin: 0 10px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .nav-wrap { height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-head); font-size: 21px; line-height: 1.05; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a, .main-nav .dd-btn { display: block; white-space: nowrap; padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; background: none; border: 0; position: relative; }
.main-nav > ul > li > a::after, .main-nav .dd-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav .dd-btn:hover::after, .main-nav [aria-current="page"]::after, .main-nav .is-active > .dd-btn::after { transform: scaleX(1); }
.main-nav [aria-current="page"], .main-nav .is-active > .dd-btn { color: var(--olive-ink); }
.main-nav [aria-current="page"]::after, .main-nav .is-active > .dd-btn::after { background: var(--olive); }
.has-dd { position: relative; }
.dd-btn svg { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; transition: transform .2s; }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 10px 0; background: #fff; border: 1px solid var(--line-strong); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.dd a { padding: 9px 20px !important; }
.dd a:hover { background: var(--paper-2); }
.dd a::after { display: none; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd.open .dd-btn svg { transform: rotate(180deg); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: .25s; white-space: nowrap; }
.nav-cta:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: #fff; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* 5. Hero & page head ---------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero-meta b { color: var(--ink); font-weight: 700; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero-figure { margin: 0; }
.slides { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease), transform 6s linear; transform: scale(1.04); }
.slide.is-active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.slide-bar figcaption { font-family: var(--font-head); font-style: italic; font-size: 15px; color: var(--ink-2); min-height: 2.6em; }
.slide-ctrl { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.slide-ctrl .count { font-variant-numeric: tabular-nums; margin-right: 6px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: .2s; }
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

/* Strip fakta di bawah hero */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.facts > div { padding: 22px 24px 26px; border-right: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 22px; }

/* Kepala halaman dalam */
.page-head { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 13px; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); opacity: .35; }
.crumb a { text-decoration: none; }
.page-head-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: end; }
.page-head h1 { margin: 0; font-size: clamp(42px, 6vw, 88px); }
.page-head .lede { margin: 0; }
.page-no { font-family: var(--font-head); font-style: italic; color: var(--olive-ink); font-size: 16px; margin-bottom: 12px; display: block; }

/* 6. Komponen ------------------------------------------------------------- */
/* Tombol */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; transition: .25s var(--ease); }
.btn:hover { background: var(--olive-ink); border-color: var(--olive-ink); color: #fff; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn svg, .link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg, .link-arrow:hover svg { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

/* Sambutan */
.welcome { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.welcome figure { margin: 0; }
.welcome figure img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.welcome figcaption { font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; }
.welcome figcaption b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 400; font-size: 18px; }
.pull { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; letter-spacing: -0.015em; margin: 0 0 28px; }
.pull::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .6; color: var(--olive); margin-bottom: 6px; }
.sign { font-family: var(--font-head); font-style: italic; font-size: 28px; color: var(--olive-ink); }

/* Statistik */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; display: block; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 14px; color: var(--muted); display: block; margin-top: 10px; }
.ratio { margin-top: 48px; }
.ratio-bar { display: flex; height: 10px; background: var(--paper-3); margin: 12px 0; }
.ratio-bar span { display: block; height: 100%; }
.ratio-legend { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.ratio-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: 0; }

/* Daftar layanan bergaris */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 1px solid var(--line-strong); }
.svc-list a { display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), color .2s; }
.svc-list a:hover { padding-left: 10px; }
.svc-list .n { font-family: var(--font-head); font-style: italic; color: var(--olive-ink); font-size: 15px; }
.svc-list b { font-weight: 500; font-size: 17px; display: block; }
.svc-list small { color: var(--muted); font-size: 13px; }
.svc-list svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.svc-list a:hover svg { transform: translate(3px, -3px); }

/* Berita */
.news-feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.news-feature .thumb { aspect-ratio: 3/2; }
.news-feature h3 { font-size: clamp(26px, 2.8vw, 40px); }
.thumb { display: block; overflow: hidden; background: var(--paper-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a:hover > .thumb img, .thumb:hover img { transform: scale(1.04); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.meta .cat { color: var(--olive-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.news-rows { list-style: none; margin: 0; padding: 0; }
.news-row { display: grid; grid-template-columns: 60px 1fr 200px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-row .idx { font-family: var(--font-head); font-size: 34px; color: var(--paper-3); -webkit-text-stroke: 1px var(--ink); line-height: 1; }
.news-row h3 { font-size: 22px; margin: 0 0 6px; }
.news-row h3 a { text-decoration: none; }
.news-row h3 a:hover { text-decoration: underline; }
.news-row p { margin: 0; font-size: 15px; color: var(--muted); }
.news-row .thumb { aspect-ratio: 3/2; }

/* Kartu berita (halaman daftar) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; }
.post { display: flex; flex-direction: column; }
.post .thumb { aspect-ratio: 3/2; margin-bottom: 18px; }
.post h3 { font-size: 23px; margin-bottom: 10px; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; }
.post p { font-size: 15px; color: var(--muted); }
.post.wide { grid-column: span 2; }
.post.wide .thumb { aspect-ratio: 16/8; }
.post.wide h3 { font-size: 32px; }

/* Agenda */
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.agenda li { display: grid; grid-template-columns: 110px 1fr 220px 120px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agenda .date { font-family: var(--font-head); line-height: 1; }
.agenda .date b { font-size: 48px; font-weight: 400; letter-spacing: -0.04em; display: block; }
.agenda .date span { font-size: 13px; font-family: var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.agenda h3 { font-size: 21px; margin: 0 0 4px; }
.agenda p { margin: 0; font-size: 14px; color: var(--muted); }
.agenda .where, .agenda .when { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.agenda .where svg, .agenda .when svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--olive-ink); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--line-strong); text-transform: uppercase; }
.tag.olive { border-color: var(--olive); color: var(--olive-ink); background: var(--olive-soft); }
.tag.done { border-color: var(--line); color: var(--muted); }

/* Galeri ringkas & penuh */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.mosaic a { overflow: hidden; display: block; position: relative; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic a:hover img { transform: scale(1.05); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); overflow: hidden; aspect-ratio: 3/2; cursor: zoom-in; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-top: 10px; }
.gallery figcaption span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.gallery .is-hidden, .is-hidden { display: none !important; }
.empty { padding: 40px 0; color: var(--muted); font-family: var(--font-head); font-style: italic; font-size: 20px; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.video-card button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.video-card .vthumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
.video-card .vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.9); }
.video-card .play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 10px 18px 10px 10px; font-size: 14px; font-weight: 700; transition: .25s; }
.video-card .play i { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; }
.video-card .play svg { width: 14px; height: 14px; margin-left: 2px; }
.video-card .dur { position: absolute; right: 16px; top: 16px; background: rgba(26, 26, 26, .85); color: #fff; font-size: 12px; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.video-card button:hover img { transform: scale(1.04); }
.video-card button:hover .play { background: var(--ink); color: #fff; }
.video-card button:hover .play i { background: var(--olive); }
.video-card h3 { font-size: 23px; margin: 18px 0 6px; }
.video-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Peta ilustratif */
.map-box { display: grid; grid-template-columns: 8fr 4fr; border: 1px solid var(--line-strong); }
.map-box figure { margin: 0; border-right: 1px solid var(--line-strong); background: var(--paper-2); }
.map-box dl { margin: 0; padding: 28px; display: grid; gap: 18px; align-content: start; }
.map-box dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.map-box dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 20px; }

/* Kutipan warga (slider testimoni) */
.quotes { position: relative; }
.quote-track { display: grid; }
.quote-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); }
.quote-item.is-active { opacity: 1; visibility: visible; }
.quote-item blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.25; letter-spacing: -0.02em; }
.quote-item footer { margin-top: 28px; font-size: 14px; color: var(--muted); }
.quote-item footer b { color: var(--ink); }
.quote-nav { display: flex; gap: 8px; margin-top: 36px; align-items: center; }
.dots { display: flex; gap: 6px; margin-left: 12px; }
.dots button { width: 28px; height: 2px; border: 0; padding: 0; background: var(--line); }
.dots button[aria-current="true"] { background: var(--ink); }

/* Tabs */
.tabs [role="tablist"] { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs [role="tab"] { background: none; border: 0; padding: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--muted); position: relative; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--olive); }
.tabs [role="tabpanel"][hidden] { display: none; }

/* Akordeon */
.acc { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; font-family: var(--font-head); font-size: 21px; letter-spacing: -0.01em; }
.acc-btn .pm { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: rotate(0); }
.acc-panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.acc-panel > div { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.acc-panel ul { margin: 0 0 12px; }

/* Tabel */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 16px 14px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
td.r, th.r { text-align: right; }
tr.total td { font-weight: 700; border-bottom: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
tbody tr:hover td { background: var(--paper-2); }
caption { text-align: left; font-size: 14px; color: var(--muted); padding: 0 0 12px; caption-side: top; }

/* Grafik batang (CSS) */
.bars { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 220px 1fr 140px; gap: 16px; align-items: center; font-size: 14px; }
.bar-track { height: 26px; background: var(--paper-2); position: relative; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 0; transition: width 1.4s var(--ease); }
.bar-fill.olive { background: var(--olive); }
.bar-row .v { text-align: right; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 24px; font-size: 13px; color: var(--muted); margin-top: 16px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.donut-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.donut { position: relative; }
.donut svg circle { fill: none; stroke-width: 18; }
.donut .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .center b { font-family: var(--font-head); font-weight: 400; font-size: 44px; line-height: 1; }
.donut .center span { font-size: 13px; color: var(--muted); }
.kv { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv li span:first-child { display: flex; align-items: center; gap: 10px; }
.kv li i { width: 10px; height: 10px; display: inline-block; }
.kv li b { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Kartu orang (perangkat) */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(.25); transition: filter .4s; }
.person:hover img { filter: none; }
.person h3 { font-size: 20px; margin: 16px 0 2px; }
.person p { font-size: 14px; color: var(--muted); margin: 0; }
.lead-person { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead-person img { aspect-ratio: 1; width: 100%; object-fit: cover; }

/* Struktur organisasi */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node { border: 1px solid var(--line-strong); background: #fff; padding: 12px 18px; text-align: center; min-width: 180px; }
.org-node b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 17px; }
.org-node span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.org-node.key { background: var(--ink); color: #fff; }
.org-node.key span { color: #c9c9c0; }
.org-v { width: 1px; height: 28px; background: var(--line-strong); }
.org-row { display: flex; gap: 20px; justify-content: center; position: relative; padding-top: 28px; flex-wrap: wrap; }
.org-row::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--line-strong); }
.org-row > div { position: relative; }
.org-row > div::before { content: ""; position: absolute; top: -28px; left: 50%; width: 1px; height: 28px; background: var(--line-strong); }
.org-side { display: flex; gap: 40px; align-items: center; }
.org-side .dash { width: 60px; border-top: 1px dashed var(--line-strong); }

/* Langkah alur */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); counter-reset: step; }
.steps li { padding: 24px 20px 0 0; position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 44px; line-height: 1; display: block; margin-bottom: 14px; color: var(--olive); }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); }

/* Toolbar pencarian/filter */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.search { position: relative; min-width: min(340px, 100%); }
.search input { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 15px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.result-info { font-size: 14px; color: var(--muted); }

/* Daftar dokumen */
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.docs li { display: grid; grid-template-columns: 54px 1fr 130px 110px 140px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-ico { width: 44px; height: 54px; border: 1px solid var(--line-strong); display: grid; place-items: end center; font-size: 10px; font-weight: 700; padding-bottom: 6px; position: relative; background: #fff; }
.doc-ico::before { content: ""; position: absolute; top: -1px; right: -1px; border-style: solid; border-width: 0 12px 12px 0; border-color: var(--paper) var(--paper) var(--line-strong) var(--line-strong); }
.docs h3 { font-size: 18px; margin: 0 0 2px; }
.docs p { margin: 0; font-size: 13px; color: var(--muted); }
.docs .sz { font-size: 13px; color: var(--muted); }
.docs .dl { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; justify-self: end; }
.docs .dl svg { width: 16px; height: 16px; }

/* Pengumuman */
.notice { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 32px; }
.notice h3 { font-size: 24px; margin-bottom: 8px; }
.notice p { margin: 0; color: var(--ink-2); }
.notice .when { font-size: 14px; color: var(--muted); }
.notice.pin { background: var(--olive-soft); padding: 28px; border: 1px solid var(--olive); margin-bottom: 8px; }

/* Kartu produk / potensi */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.item .thumb { aspect-ratio: 1; margin-bottom: 16px; }
.item h3 { font-size: 22px; margin-bottom: 4px; }
.item .price { font-family: var(--font-head); font-size: 20px; color: var(--olive-ink); }
.item p { font-size: 15px; color: var(--muted); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature-row:nth-child(even) .thumb { order: 2; }
.feature-row .thumb { aspect-ratio: 4/3; }
.feature-row h3 { font-size: clamp(28px, 3vw, 42px); }
.spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 20px 0 28px; font-size: 14px; }
.spec dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.spec dd { margin: 0; font-weight: 500; }
.umkm-table td:first-child { font-family: var(--font-head); font-size: 18px; }

/* Visi misi & nilai */
.vm-big { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 50px); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.mission { list-style: none; padding: 0; margin: 0; counter-reset: m; border-top: 1px solid var(--line-strong); }
.mission li { counter-increment: m; display: grid; grid-template-columns: 60px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.mission li::before { content: counter(m, decimal-leading-zero); font-family: var(--font-head); font-style: italic; color: var(--olive-ink); }

/* Timeline sejarah */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; background: #fff; border: 1px solid var(--ink); border-radius: 50%; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .yr { font-family: var(--font-head); font-size: 32px; line-height: 1.2; color: var(--olive); }
.timeline h3 { font-size: 21px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); margin: 0; max-width: 60ch; }

/* Batas wilayah (kompas) */
.borders { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.borders div { padding: 24px; border-bottom: 1px solid var(--line); }
.borders div:nth-child(odd) { border-right: 1px solid var(--line); }
.borders div:nth-last-child(-n+2) { border-bottom: 0; }
.borders dt { font-family: var(--font-head); font-style: italic; color: var(--olive-ink); font-size: 16px; }
.borders dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; }

/* Formulir */
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font: inherit; font-size: 16px; border-radius: 0; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--olive); }
.field .err { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 5px; accent-color: var(--olive); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.contact-list li > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding-top: 3px; }
.map-frame { border: 1px solid var(--line-strong); aspect-ratio: 16/7; width: 100%; filter: grayscale(.6); }

/* CTA / band */
.band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.band .container { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: end; }
.band h2 { margin: 0; color: #fff; }
.band h2 em { color: #b5cc7a; }
.band p { color: #cfcfc6; margin: 16px 0 0; max-width: 56ch; }
.band .btn { background: #fff; color: var(--ink); border-color: #fff; justify-self: end; }
.band .btn:hover { background: var(--olive); border-color: var(--olive); color: #fff; }

/* Detail artikel */
.article-head { max-width: 900px; }
.article-cover { margin: 48px 0; }
.article-cover img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.article-cover figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }
.article-layout { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(24px, 5vw, 80px); }
.share { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--header-h) + 32px); font-size: 14px; }
.share b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.share a, .share button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-decoration: none; font-size: 14px; }
.share svg { width: 18px; height: 18px; }
.author { display: flex; gap: 16px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; }
.author img { width: 64px; height: 64px; border-radius: 50%; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); margin-top: 48px; }
.pager a { padding: 24px 0; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.pager small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pager span { font-family: var(--font-head); font-size: 21px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 64px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Kalender mini agenda */
.cal { border: 1px solid var(--line-strong); padding: 24px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-head); font-size: 22px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 13px; gap: 4px; }
.cal-grid b { font-size: 11px; color: var(--muted); letter-spacing: .1em; padding-bottom: 6px; }
.cal-grid span { padding: 8px 0; }
.cal-grid .ev { background: var(--olive-soft); color: var(--olive-ink); font-weight: 700; position: relative; }
.cal-grid .today { background: var(--ink); color: #fff; }
.cal-grid .off { color: #bdbdb4; }

/* 404 */
.nf { min-height: 70vh; display: grid; align-items: center; padding: 80px 0; }
.nf .big { font-family: var(--font-head); font-size: clamp(120px, 24vw, 320px); line-height: .85; letter-spacing: -0.06em; margin: 0; }
.nf .big em { color: var(--olive); }

/* 8. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-strong); padding: clamp(56px, 7vw, 96px) 0 0; background: var(--paper); }
.foot-word { font-family: var(--font-head); font-size: clamp(44px, 8.4vw, 132px); line-height: .95; letter-spacing: -0.045em; margin: 0 0 clamp(40px, 5vw, 72px); }
.foot-word em { color: var(--olive); }
.foot-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; padding-bottom: 56px; }
.foot-grid h2 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid p { font-size: 15px; color: var(--ink-2); }
.foot-news { display: flex; border-bottom: 1px solid var(--line-strong); margin-top: 8px; }
.foot-news input { flex: 1; border: 0; padding: 12px 0; font: inherit; font-size: 15px; background: transparent; min-width: 0; }
.foot-news input:focus { outline: none; }
.foot-news button { border: 0; background: none; padding: 0 0 0 12px; }
.foot-news button svg { width: 20px; height: 20px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: .2s; }
.socials a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* 9. Overlay -------------------------------------------------------------- */
.overlay { position: fixed; inset: 0; z-index: 120; background: rgba(255, 255, 255, .97); display: none; align-items: center; justify-content: center; padding: 70px 80px; }
.overlay.open { display: flex; animation: fade .3s var(--ease); }
.overlay.dark { background: rgba(18, 18, 16, .94); color: #fff; }
.overlay-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: 1px solid currentColor; background: transparent; display: grid; place-items: center; color: inherit; }
.overlay-close svg { width: 20px; height: 20px; }
.lb-figure { margin: 0; max-width: 1100px; width: 100%; }
.lb-figure img { width: 100%; max-height: 74vh; object-fit: contain; background: var(--paper-2); }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-family: var(--font-head); font-size: 18px; }
.lb-figure figcaption span { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--ink); background: #fff; display: grid; place-items: center; }
.lb-nav svg { width: 20px; height: 20px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.video-frame { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 16px 22px; display: flex; gap: 12px; align-items: center; font-size: 15px; max-width: calc(100% - 32px); transition: transform .45s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: #b5cc7a; flex-shrink: 0; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; border: 1px solid var(--ink); background: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 10. Utilitas & animasi -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 32px; }
.center { text-align: center; }
.note { font-size: 13px; color: var(--muted); border-left: 2px solid var(--olive); padding-left: 14px; }
.box { border: 1px solid var(--line-strong); padding: 28px; }
.box.soft { border-color: var(--line); background: var(--paper-2); }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px; }
.req-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 1.5px; background: var(--olive); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsif ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav a, .main-nav .dd-btn { padding: 8px 8px; font-size: 13.5px; }
  .main-nav > ul > li > a::after, .main-nav .dd-btn::after { left: 8px; right: 8px; }

}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 24px var(--gutter) 48px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; border-top: 1px solid var(--line); }
  .site-header.scrolled .main-nav { inset: 62px 0 0 0; }
  .menu-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); counter-increment: nav; }
  .main-nav > ul > li > a, .main-nav .dd-btn { font-family: var(--font-head); font-size: 28px; font-weight: 400; padding: 14px 0; width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; }
  .main-nav > ul > li > a::before, .main-nav .dd-btn::before { content: counter(nav, decimal-leading-zero); font-size: 13px; font-style: italic; color: var(--olive-ink); width: 22px; }
  .main-nav > ul > li > a::after, .main-nav .dd-btn::after { display: none; }
  .dd-btn svg { margin-left: auto; width: 18px; height: 18px; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 12px 36px; display: none; min-width: 0; }
  .has-dd:hover .dd, .has-dd:focus-within .dd { display: none; }
  .has-dd.open .dd { display: block; }
  .dd a { padding: 8px 0 !important; font-size: 17px; }
  .nav-cta.mobile-only { margin-top: 24px; }
  body.menu-open { overflow: hidden; }
  .hero-grid, .page-head-grid, .news-feature, .lead-person, .band .container, .article-layout, .donut-wrap { grid-template-columns: 1fr; }
  .band .btn { justify-self: start; }
  .slides { aspect-ratio: 4/3; }
  .sec { grid-template-columns: 1fr; gap: 28px; }
  .sec-label .inner { position: static; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
  .sec-label p { flex-basis: 100%; max-width: none; margin-top: 0; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .post-grid, .items { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .agenda li { grid-template-columns: 90px 1fr 180px; }
  .agenda li > :last-child { grid-column: 2; }
  .share { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .docs li { grid-template-columns: 54px 1fr 110px 130px; }
  .docs li .sz:nth-of-type(1) { display: none; }
  .map-box { grid-template-columns: 1fr; }
  .map-box figure { border-right: 0; border-bottom: 1px solid var(--line-strong); }
}
@media (max-width: 760px) {
  .topline .container > :last-child { display: none; }
  .facts, .stats { grid-template-columns: 1fr 1fr; }
  .facts > div, .stat { border-bottom: 1px solid var(--line); }
  .facts > div:nth-child(odd), .stat:nth-child(odd) { padding-left: 0; }
  .facts > div:nth-child(2n), .stat:nth-child(2n) { border-right: 0; }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(2n) { padding-left: 20px; }
  .facts > div { padding-left: 20px; }
  .welcome { grid-template-columns: 1fr; }
  .welcome figure { max-width: 220px; }
  .svc-list { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 44px 1fr; }
  .news-row .thumb { display: none; }
  .agenda li { grid-template-columns: 72px 1fr; gap: 6px 16px; }
  .agenda li > :nth-child(n+3) { grid-column: 2; }
  .agenda .date b { font-size: 38px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic a:nth-child(n+6) { display: none; }
  .gallery, .video-grid, .post-grid, .items, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .post.wide { grid-column: auto; }
  .people { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .docs li { grid-template-columns: 44px 1fr; }
  .docs li > :nth-child(n+3) { grid-column: 2; justify-self: start; }
  .docs .sz { display: none; }
  .notice { grid-template-columns: 1fr; gap: 8px; }
  .feature-row { grid-template-columns: 1fr; padding: 40px 0; }
  .feature-row:nth-child(even) .thumb { order: 0; }
  .form .row, .borders { grid-template-columns: 1fr; }
  .borders div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .borders div:last-child { border-bottom: 0 !important; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; text-align: left; }
  .map-frame { aspect-ratio: 4/3; }
  .overlay { padding: 70px 12px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .spec { grid-template-columns: 1fr 1fr; }
  .org-side { flex-direction: column; gap: 0; }
  .org-side .dash { width: 0; height: 20px; border-top: 0; border-left: 1px dashed var(--line-strong); }
  .org-row { flex-direction: column; align-items: center; gap: 12px; }
  .org-row::before { left: 50%; right: auto; width: 1px; height: 100%; }
  .org-row > div::before { display: none; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 18px; }
  .brand-name small { font-size: 10px; letter-spacing: .1em; }
  .hero-actions { gap: 18px; }
  .stats .num { font-size: 38px; }
}

/* Tombol CTA: versi desktop di header, versi mobile di dalam panel menu */
.mobile-only { display: none !important; }
@media (max-width: 1180px) { .nav-cta.desk-only { display: none; } }
@media (max-width: 1024px) { .nav-cta.mobile-only { display: inline-flex !important; } }
.nav-cta { flex-shrink: 0; }
.nav-cta svg, .btn svg, .link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.brand { flex-shrink: 0; }
@media (max-width: 760px) {
  .topline .container > div:first-child span + span { display: none; }
  .facts dd { font-size: 18px; }
  .ratio-legend { flex-direction: column; gap: 4px; }
}
/* Bagan organisasi: muat 5 kotak sebaris di desktop */
@media (min-width: 761px) {
  .org-node { min-width: 0; padding: 12px 14px; }
  .org-row { gap: 12px; flex-wrap: nowrap; }
  .org-row::before { left: 9%; right: 9%; }
  .org-row .org-node b { font-size: 15px; }
}
.video-card .vthumb { display: block; }
.field label.check { display: flex; font-weight: 400; letter-spacing: 0; font-size: 14px; margin: 0; }
.field .check input { width: 18px; height: 18px; padding: 0; border: 0; flex-shrink: 0; margin-top: 2px; }
/* Header: rapatkan menu agar CTA tetap muat di layar 1280–1440 */
@media (min-width: 1025px) {
  .nav-wrap { gap: 16px; }
  .main-nav a, .main-nav .dd-btn { padding: 8px 9px; }
  .main-nav > ul > li > a::after, .main-nav .dd-btn::after { left: 9px; right: 9px; }
}
@media (max-width: 1360px) { .nav-cta.desk-only { display: none; } }
td.r, th.r { white-space: nowrap; }
@media (max-width: 760px) {
  .table-wrap table { min-width: 560px; }
  .donut { max-width: 240px; }
  .lead-person img { max-width: 320px; }
}
/* backdrop-filter membuat panel menu fixed terkurung di header — matikan di mobile */
@media (max-width: 1024px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 1024px) { .main-nav, .site-header.scrolled .main-nav { inset: auto 0 0 0; top: var(--nav-top, var(--header-h)); } }
