/* ============ FKKG Radensegoro — gaya situs publik ============ */
:root {
  --ink: #14172b;
  --ink-2: #4a4f6a;
  --ink-3: #8a8fa8;
  --paper: #f7f5f0;
  --card: #ffffff;
  --line: rgba(20, 23, 43, .09);
  --night: #0b1026;
  --night-2: #141b3d;
  --brand: #f5b324;
  --brand-2: #ff7a45;
  --c: var(--brand);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(20,23,43,.05), 0 12px 32px -12px rgba(20,23,43,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: min(1200px, 100% - clamp(32px, 6vw, 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(11, 16, 38, .72); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); padding: 8px 0; box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.light:not(.scrolled) { color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; }
.site-header.light:not(.scrolled) .nav { color: var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: conic-gradient(from 200deg, #E0A11B, #0E9F6E, #2F5BEA, #7C4DDB, #E23D4B, #E0A11B);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo small { display: block; font-family: var(--font); font-weight: 500; font-size: .7rem; opacity: .7; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; opacity: .85; transition: background .25s, opacity .25s; }
.nav-links a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.site-header.light:not(.scrolled) .nav-links a:hover { background: rgba(20,23,43,.06); }
.nav-links .btn-admin { background: #fff; color: var(--ink); opacity: 1; }
.nav-links .btn-admin:hover { background: var(--brand); }
.site-header.light:not(.scrolled) .btn-admin { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; border-radius: 12px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 16px auto; flex-direction: column; align-items: stretch; padding: 12px;
    background: rgba(11,16,38,.96); border-radius: 20px; color: #fff; backdrop-filter: blur(12px);
    transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
  }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; }
  .site-header.light:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.1); }
  .site-header.light:not(.scrolled) .btn-admin { background: #fff; color: var(--ink); }
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .95rem; transition: transform .3s var(--ease), box-shadow .3s, background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--night); box-shadow: 0 10px 30px -8px rgba(245,179,36,.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(245,179,36,.75); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--ink); color: #fff; }

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--night); color: #fff; overflow: hidden;
  display: flex; align-items: center; padding: 110px 0 120px; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: #E0A11B; top: -140px; left: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 460px; height: 460px; background: #2F5BEA; bottom: -160px; right: -80px; animation: drift2 22s ease-in-out infinite alternate; }
.blob.b3 { width: 380px; height: 380px; background: #E23D4B; top: 30%; left: 45%; opacity: .35; animation: drift3 20s ease-in-out infinite alternate; }
.blob.b4 { width: 300px; height: 300px; background: #0E9F6E; bottom: 10%; left: 10%; opacity: .3; animation: drift2 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(140px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, -90px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-120px, 80px) scale(.85); } }
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: .82rem; font-weight: 600;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.eyebrow .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--night); animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(.5); } }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); margin: 22px 0 8px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .grad .w > span {
  background: linear-gradient(90deg, #ffd36e, #ff8a5b, #ff5f7e, #8f7bff, #4fd1a5, #ffd36e);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .9s var(--ease) forwards, sweep 8s linear infinite;
  animation-delay: calc(var(--i) * 70ms + 200ms), 0s;
}
@keyframes sweep { to { background-position: 300% 0; } }
.hero .lead-title { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-family: var(--font-display); font-weight: 600; color: rgba(255,255,255,.92); max-width: 30ch; }
.hero .lead { margin-top: 14px; color: rgba(255,255,255,.68); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Animasi teks per-kata */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Orbit lima wilayah */
.orbit-wrap { position: relative; aspect-ratio: 1; width: min(100%, 500px); justify-self: center; container-type: inline-size; --r: calc(50cqw - 10px); }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); }
.orbit-ring.r2 { inset: 18%; border-style: solid; border-color: rgba(255,255,255,.08); }
.orbit-ring.r3 { inset: 36%; border-color: rgba(255,255,255,.1); }
.orbit-core {
  position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #2a3570, #10163a 70%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.03), 0 0 80px rgba(245,179,36,.35); animation: corePulse 4s ease-in-out infinite;
}
.orbit-core b { display: block; font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.4rem); }
.orbit-core span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.02), 0 0 120px rgba(245,179,36,.5); } }
.orbit { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit-wrap:hover .orbit, .orbit-wrap:hover .orbit-node > a { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.orbit-node > a {
  position: absolute; width: 92px; height: 92px; left: -46px; top: -46px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: #fff; background: var(--c);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent), 0 18px 40px -10px var(--c);
  animation: spin 60s linear infinite reverse; transition: box-shadow .3s;
}
.orbit-node > a > span { display: grid; place-items: center; transform: rotate(calc(var(--a) * -1)); transition: transform .35s var(--ease); }
.orbit-node > a:hover > span { transform: rotate(calc(var(--a) * -1)) scale(1.12); }
.orbit-node > a:hover { box-shadow: 0 0 0 12px color-mix(in srgb, var(--c) 30%, transparent), 0 24px 50px -10px var(--c); }
.orbit-node svg { width: 28px; height: 28px; fill: #fff; }
.orbit-node b { font-size: .7rem; line-height: 1.15; font-weight: 700; margin-top: 2px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px;
  border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { padding: 96px 0 80px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .orbit-wrap { width: min(80vw, 380px); order: -1; --r: calc(50cqw - 26px); }
  .orbit-node > a { width: 70px; height: 70px; left: -35px; top: -35px; }
  .orbit-node svg { width: 20px; height: 20px; }
  .orbit-node b { font-size: .58rem; }
  .scroll-cue { display: none; }
}

/* ---------- Statistik ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -60px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 26px 24px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--ink-2); font-size: .9rem; font-weight: 500; }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat { padding: 18px; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Marquee ---------- */
.marquee { margin: 70px 0 0; overflow: hidden; padding: 18px 0; background: var(--ink); color: #fff; transform: rotate(-1.5deg) scale(1.02); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.7rem); white-space: nowrap; }
.marquee-track i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seksi umum ---------- */
.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.section-head p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 700px) { .section { padding: 70px 0; } .section-head { margin-bottom: 28px; } }

/* Reveal saat scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Kartu wilayah ---------- */
.wilayah-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.w-card {
  --c: #999; grid-column: span 2; position: relative; border-radius: 28px; padding: 26px; min-height: 300px;
  display: flex; flex-direction: column; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, var(--c), color-mix(in srgb, var(--c) 45%, #0b1026));
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 20px 40px -24px var(--c);
}
.w-card:nth-child(-n+2) { grid-column: span 3; min-height: 340px; }
.w-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 45%);
}
.w-card:hover::before { opacity: 1; }
.w-card:hover { box-shadow: 0 36px 60px -24px var(--c); }
.w-card .num { font-family: var(--font-display); font-size: 6.5rem; font-weight: 800; line-height: .8; position: absolute; right: 18px; top: 14px; opacity: .16; letter-spacing: -.06em; z-index: -1; pointer-events: none; }
.w-card .icon { width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.18); display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .5s var(--ease); }
.w-card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.w-card .icon svg { width: 32px; height: 32px; fill: #fff; }
.w-card .label { margin-top: auto; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.w-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 8px; }
.w-card p { opacity: .86; font-size: .93rem; max-width: 36ch; }
.w-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-right: 58px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .78rem; font-weight: 600; }
.w-card .go {
  position: absolute; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--c);
  display: grid; place-items: center; transform: scale(.8) rotate(-45deg); opacity: .9; transition: transform .45s var(--ease);
}
.w-card:hover .go { transform: scale(1) rotate(0); }
.w-card .go svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .wilayah-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .w-card, .w-card:nth-child(-n+2) { grid-column: span 1; min-height: 260px; }
  .w-card:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .wilayah-grid { grid-template-columns: 1fr; }
  .w-card, .w-card:first-child, .w-card:nth-child(-n+2) { grid-column: auto; min-height: 230px; padding: 22px; }
  .w-card .num { font-size: 5rem; }
}

/* ---------- Kartu berita ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(20,23,43,.05), 0 28px 50px -20px rgba(20,23,43,.3); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: color-mix(in srgb, var(--c) 30%, #e9e6df); position: relative; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.news-card p { color: var(--ink-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-3); font-weight: 600; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.news-card.featured { grid-column: span 2; grid-row: span 2; }
.news-card.featured .thumb { aspect-ratio: 16/9; }
.news-card.featured h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .news-card.featured { grid-column: auto; grid-row: auto; } }

/* ---------- Tentang ---------- */
.about { background: var(--night); color: #fff; border-radius: 36px; padding: clamp(28px, 6vw, 70px); position: relative; overflow: hidden; }
.about::after { content: ''; position: absolute; width: 500px; height: 500px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,36,.35), transparent 65%); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; position: relative; z-index: 1; }
.about h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px; }
.about p { color: rgba(255,255,255,.72); }
.vm { display: grid; gap: 16px; }
.vm-box { background: rgba(255,255,255,.06); border-radius: 20px; padding: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.vm-box h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; font-family: var(--font); }
.vm-box ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.8); }
.vm-box li + li { margin-top: 6px; }
.contact-list { display: grid; gap: 10px; margin-top: 28px; }
.contact-list div { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.85); font-size: .93rem; }
.contact-list svg { width: 20px; height: 20px; flex: none; stroke: var(--brand); fill: none; stroke-width: 2; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } .about { border-radius: 26px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 30px; color: var(--ink-2); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr) auto; gap: 36px; align-items: start; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer-col h4 { font-family: var(--font); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { width: fit-content; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .visit-box { grid-column: 1 / -1; max-width: 420px; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } .footer-brand, .visit-box { grid-column: 1 / -1; } }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--ink-3); }

/* ---------- Halaman wilayah ---------- */
.w-hero { position: relative; color: #fff; padding: 130px 0 90px; overflow: hidden; isolation: isolate; background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 35%, #0b1026) 75%); }
.w-hero-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.w-hero .shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); z-index: -1; }
.w-hero .s1 { width: 420px; height: 420px; right: -120px; top: -120px; animation: drift3 16s ease-in-out infinite alternate; }
.w-hero .s2 { width: 220px; height: 220px; right: 22%; bottom: -80px; animation: drift1 14s ease-in-out infinite alternate; background: rgba(0,0,0,.12); }
.w-hero .big-num { position: absolute; right: 4%; bottom: -6%; font-family: var(--font-display); font-weight: 800; font-size: clamp(12rem, 30vw, 24rem); line-height: .8; opacity: .1; z-index: -1; letter-spacing: -.08em; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; opacity: .8; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { text-decoration: underline; }
.w-hero .icon-lg { width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: 20px; backdrop-filter: blur(6px); }
.w-hero .icon-lg svg { width: 42px; height: 42px; fill: #fff; }
.w-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; }
.w-hero .tagline { font-size: clamp(1.05rem, 2vw, 1.35rem); font-family: var(--font-display); margin-top: 10px; opacity: .92; }
.w-hero .desc { max-width: 60ch; margin-top: 16px; opacity: .78; }
.w-info { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.w-info .info { background: rgba(255,255,255,.12); padding: 12px 18px; border-radius: 16px; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.w-info .info small { display: block; font-size: .72rem; opacity: .72; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.w-info .info b { font-size: 1rem; }

.tabs-bar { position: sticky; top: 64px; z-index: 30; background: rgba(247,245,240,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: all .25s; display: inline-flex; gap: 8px; align-items: center; }
.tabs a .count { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(20,23,43,.07); }
.tabs a.active { background: var(--c); color: #fff; }
.tabs a.active .count { background: rgba(255,255,255,.25); }
.w-section { padding: 70px 0 20px; scroll-margin-top: 120px; }
.w-section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.w-section .sub { color: var(--ink-2); margin-bottom: 28px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { border: 0; padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .85rem; color: var(--ink-2); transition: all .2s; }
.filters button.active { background: var(--ink); color: #fff; box-shadow: none; }

.program-list { display: grid; gap: 14px; position: relative; }
.program {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; background: var(--card);
  padding: 22px; border-radius: 20px; box-shadow: var(--shadow); transition: transform .35s var(--ease);
}
.program:hover { transform: translateX(6px); }
.program .pnum { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.program h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.program p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.program .when { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.program .when svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.status { padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.status.rencana { background: #eef1ff; color: #3949ab; }
.status.berjalan { background: #fff4dd; color: #a86400; }
.status.selesai { background: #e3f7ee; color: #0b7a52; }
@media (max-width: 600px) {
  .program { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .program .status { grid-column: 2; justify-self: start; grid-row: 1; }
  .program > div:nth-child(2) { grid-column: 1 / -1; }
}

.gallery { columns: 3 260px; column-gap: 14px; }
.gallery button { all: unset; cursor: zoom-in; display: block; margin-bottom: 14px; border-radius: 18px; overflow: hidden; position: relative; break-inside: avoid; background: #e6e2da; }
.gallery img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,24,.92); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; color: #fff; transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { margin-top: 14px; opacity: .85; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 24px; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

.other-wilayah { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.other-wilayah a { --c: #999; padding: 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; transition: transform .35s var(--ease), background .35s, color .35s; }
.other-wilayah a:hover { transform: translateY(-4px); background: var(--c); color: #fff; }
.other-wilayah .mini { width: 44px; height: 44px; border-radius: 14px; background: var(--c); display: grid; place-items: center; flex: none; transition: background .35s; }
.other-wilayah a:hover .mini { background: rgba(255,255,255,.2); }
.other-wilayah .mini svg { width: 24px; height: 24px; fill: #fff; }
.other-wilayah small { display: block; font-size: .74rem; opacity: .7; font-weight: 600; }
.other-wilayah b { font-family: var(--font-display); font-size: 1.05rem; }
.other-wilayah a > span:last-child { min-width: 0; }
@media (max-width: 900px) { .other-wilayah { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .other-wilayah { grid-template-columns: minmax(0, 1fr); gap: 10px; } .other-wilayah a { padding: 14px 16px; } }

.empty { padding: 40px 24px; text-align: center; color: var(--ink-3); background: var(--card); border-radius: 20px; border: 2px dashed var(--line); }

/* ---------- Detail berita ---------- */
.article-hero { padding: 120px 0 0; }
.article { width: min(780px, 100% - 32px); margin-inline: auto; }
.article h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 18px 0; letter-spacing: -.03em; }
.article .cover { width: min(1080px, 100% - 32px); margin: 36px auto; border-radius: 28px; overflow: hidden; aspect-ratio: 16/8; background: #e6e2da; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.08rem; line-height: 1.85; color: #2b2f47; }
.article-body p + p { margin-top: 1.2em; }
.article-body p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .9; padding: 6px 10px 0 0; font-weight: 800; color: var(--c); }
.lead-text { font-size: 1.2rem; color: var(--ink-2); font-weight: 500; }

/* ---------- Loading & 404 ---------- */
.skeleton { background: linear-gradient(90deg, #ebe8e1 25%, #f4f2ec 50%, #ebe8e1 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.page-loader { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.page-loader.done { opacity: 0; visibility: hidden; }
.page-loader .ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(#E0A11B, #0E9F6E, #2F5BEA, #7C4DDB, #E23D4B, #E0A11B); mask: radial-gradient(circle, transparent 54%, #000 56%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); animation: spin 1s linear infinite; }

/* ============ Logo wilayah (pengganti ikon bawaan) ============ */
.wlogo { display: block; width: 100%; height: 100%; object-fit: contain; }
.w-card .icon:has(.wlogo), .w-hero .icon-lg:has(.wlogo), .other-wilayah .mini:has(.wlogo), .wil-contact .mini:has(.wlogo) { background: #fff; padding: 5px; overflow: hidden; }
.w-hero .icon-lg:has(.wlogo) { width: 92px; height: 92px; padding: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.orbit-node .wlogo { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; }
@media (max-width: 900px) { .orbit-node .wlogo { width: 30px; height: 30px; padding: 3px; } }

/* ============ Logo resmi ============ */
.logo-img { flex: none; display: grid; place-items: center; width: 62px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform .4s var(--ease); }
.logo-img img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo-img { transform: scale(1.06) rotate(-2deg); }
@media (max-width: 760px) { .logo-img { width: 54px; height: 38px; } }
.orbit-core { inset: 27%; background: radial-gradient(circle at 50% 45%, rgba(140,225,255,.28), rgba(20,30,80,.9) 62%, #10163a); }
.orbit-core > div { display: grid; justify-items: center; gap: 6px; width: 100%; }
.core-logo { width: 84%; height: auto; max-height: 30cqw; object-fit: contain; filter: drop-shadow(0 0 16px rgba(120,220,255,.55)) drop-shadow(0 8px 16px rgba(0,0,0,.4)); animation: coreFloat 6s ease-in-out infinite; }
.orbit-core span { font-size: .58rem; }
@keyframes coreFloat { 50% { transform: translateY(-4px) scale(1.03); } }

/* ============ Footer: logo, medsos, pengunjung ============ */
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand > div > span { display: block; max-width: 30ch; margin-top: 2px; }
.footer-logo { flex: none; width: 120px; }
.footer-logo img { width: 100%; height: auto; max-height: 110px; object-fit: contain; object-position: left center; }
.footer-brand b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.footer-brand > div > span { font-size: .84rem; }
.social-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.social-row a, .about-cta .soc { --sc: #333; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 12%, #fff); transition: transform .25s var(--ease), background .25s; }
.social-row a svg { width: 19px; height: 19px; fill: var(--sc); transition: fill .25s; }
.social-row a:hover { transform: translateY(-3px); background: var(--sc); }
.social-row a:hover svg { fill: #fff; }
.visit-box { background: var(--card); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); min-width: 240px; }
.vb-title { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.vb-title svg { width: 18px; height: 18px; stroke: var(--brand-2); fill: none; stroke-width: 2; }
.vb-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.vb-nums b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.vb-nums small { font-size: .74rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 560px) { .footer-logo { width: 96px; } .visit-box { min-width: 0; } }

/* Tombol kontak & medsos di bagian Tentang */
.contact-list .about-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.about-cta .soc { background: rgba(255,255,255,.1); }
.contact-list .about-cta .soc svg { width: 19px; height: 19px; fill: #fff; stroke: none; }
.about-cta .soc:hover { background: var(--sc); transform: translateY(-3px); }
.contact-list .about-cta .btn svg { stroke: currentColor; width: 18px; height: 18px; }

/* ============ Halaman Kontak ============ */
.contact-hero { padding-bottom: 60px; }
.contact-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-bottom: 40px; }
.contact-head h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin-bottom: 14px; }
.contact-head .lead-text { max-width: 52ch; }
.contact-head > div { min-width: 0; }
.contact-logo { width: clamp(180px, 26vw, 300px); height: auto; max-height: 260px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(20,23,43,.25)); animation: fadeUp .9s var(--ease) var(--d, 0ms) forwards, coreFloat 6s ease-in-out 1.2s infinite; }
@media (max-width: 760px) { .contact-head { grid-template-columns: 1fr; } .contact-logo { order: -1; width: 200px; } }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), box-shadow .35s; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(20,23,43,.35); }
.cc-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--night); margin-bottom: 10px; }
.cc-icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 2; }
.cc-icon.fill { background: #25D366; }
.cc-icon.fill svg { fill: #fff; stroke: none; }
.contact-card small { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-card b { font-size: 1.02rem; word-break: break-word; }
.cc-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--brand-2); }
.cc-cta svg { width: 16px; height: 16px; transition: transform .25s; }
a.contact-card:hover .cc-cta svg { transform: translateX(4px); }
.contact-sub { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 50px 0 18px; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.social-card { --sc: #333; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--ease), background .35s, color .35s; min-width: 0; }
.social-card:hover { transform: translateY(-4px); background: var(--sc); color: #fff; }
.sc-icon { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--sc); transition: background .35s; }
.sc-icon svg { width: 24px; height: 24px; fill: #fff; }
.social-card:hover .sc-icon { background: rgba(255,255,255,.2); }
.social-card b { display: block; font-family: var(--font-display); }
.social-card small { display: block; font-size: .78rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-card > span:last-child { min-width: 0; }
.map-box { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #e6e2da; aspect-ratio: 16 / 7; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-box { aspect-ratio: 4 / 3; } }
.wil-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.wil-contact { --c: #999; display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); border-top: 4px solid var(--c); transition: transform .35s var(--ease); }
.wil-contact:hover { transform: translateY(-4px); }
.wil-contact .mini { width: 44px; height: 44px; border-radius: 14px; background: var(--c); display: grid; place-items: center; flex: none; }
.wil-contact .mini svg { width: 24px; height: 24px; fill: #fff; }
.wil-contact small { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.wil-contact b { display: block; font-family: var(--font-display); margin-bottom: 6px; }
.wil-contact em { display: flex; gap: 6px; align-items: flex-start; font-style: normal; font-size: .84rem; color: var(--ink-2); margin-top: 3px; }
.wil-contact em svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: var(--c); fill: none; stroke-width: 2; }

/* ============ Galeri video ============ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.video-card { all: unset; cursor: pointer; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.video-card:hover, .video-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 40px -18px rgba(20,23,43,.4); }
.video-card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.vthumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 30%, #0b1026)); overflow: hidden; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video-card:hover .vthumb img { transform: scale(1.06); }
.vplay { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.vplay svg { width: 26px; height: 26px; fill: var(--c); margin-left: 4px; }
.video-card:hover .vplay { transform: scale(1.12); }
.vbody { padding: 14px 16px 16px; display: grid; gap: 4px; }
.vbody b { font-family: var(--font-display); font-size: 1.02rem; }
.vbody small { color: var(--ink-2); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-modal { position: fixed; inset: 0; z-index: 100; background: rgba(8,10,24,.94); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal figure { margin: 0; width: min(1100px, 100%); color: #fff; text-align: center; transform: scale(.96); transition: transform .4s var(--ease); }
.video-modal.open figure { transform: none; }
.vframe { aspect-ratio: 16 / 9; width: 100%; max-height: 80vh; border-radius: 16px; overflow: hidden; background: #000; margin: 0 auto; }
.vframe.tall { aspect-ratio: 9 / 16; width: auto; height: min(80vh, 740px); max-width: 100%; }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal figcaption { margin-top: 14px; opacity: .85; }

.cursor-glow { position: fixed; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(255,211,110,.14), transparent 65%); transform: translate(-50%, -50%); left: 0; top: 0; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}
