/* =========================================================
   JPPM — Jejaring Penelitian dan Pengabdian Masyarakat
   Gaya: lembut, tenang, akademis
   ========================================================= */
:root {
  --ink: #16233f;
  --navy: #1b2f57;
  --brand: #1d56a8;
  --brand-600: #174a8f;
  --brand-soft: #edf2f9;
  --brand-line: #d6e1f0;
  --sky-300: #a7bfe2;
  --accent: #b98030;
  --accent-soft: #f6efe3;
  --body: #3d4a5f;
  --muted: #6c7686;
  --line: #e6e3dc;
  --line-cool: #e5e9ef;
  --bg: #ffffff;
  --surface: #ffffff;
  --section-alt: #edf2f9;
  --on-primary: #ffffff;
  --hero-bg: #f8f6f1; --hero-ink: #16233f; --hero-body: #3d4a5f; --hero-muted: #6c7686; --hero-line: #e6e3dc;
  --hero-surface: #ffffff; --hero-surface-2: #ffffff; --hero-accent: #b98030; --hero-em: #1d56a8; --hero-btn: #1b2f57; --hero-btn-ink: #ffffff;
  --header-bg: rgba(255,255,255,.94); --header-ink: #16233f; --header-muted: #3d4a5f; --header-hover: #edf2f9; --header-active: #1d56a8;
  --footer-bg: #16233f;
  --paper: #f8f6f1;
  --success: #2f8a57;
  --danger: #c0473f;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(22, 35, 63, .05);
  --shadow: 0 8px 24px -14px rgba(22, 35, 63, .18);
  --shadow-lg: 0 18px 40px -20px rgba(22, 35, 63, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.25, .6, .25, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; overflow-wrap: break-word; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
em { font-style: normal; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.ic { width: 20px; height: 20px; flex: none; }
.ic.xs { width: 14px; height: 14px; vertical-align: -2px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .94rem; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .ic { width: 17px; height: 17px; }
.btn-sm { padding: 8px 15px; font-size: .86rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary, .btn-accent { background: var(--navy); color: var(--on-primary); }
.btn-primary:hover, .btn-accent:hover { background: var(--brand); color: var(--on-primary); }
.btn-outline, .btn-glass { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover, .btn-glass:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { color: var(--navy); background: var(--brand-soft); }
.btn-ghost:hover { background: var(--brand-line); color: var(--navy); }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: inherit; transition: background .2s; }
.icon-btn:hover { background: var(--brand-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.link-arrow .ic { width: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(3px); }
.eyebrow { display: inline-block; margin: 0 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-600); font-size: .74rem; font-weight: 600; }
a.chip:hover { background: var(--brand-line); color: var(--navy); }
.chip-soft { background: var(--paper); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-aktif, .status-live { background: rgba(47, 138, 87, .14); color: var(--success); }
.status-beta, .status-soon { background: var(--brand-soft); color: var(--brand-600); }
.status-segera { background: var(--accent-soft); color: var(--accent); }
.status-done { background: var(--paper); color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: var(--header-ink); background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, height .3s, background .3s; }
.site-header.scrolled { height: 68px; border-color: var(--hero-line); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .35); }
.site-header .btn-primary { background: var(--hero-btn); color: var(--hero-btn-ink); }
.site-header .btn-primary:hover { filter: brightness(1.08); }
.site-header .icon-btn:hover { background: var(--header-hover); }
.header-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand img { width: 46px; height: 46px; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.18; color: var(--header-ink); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--header-muted); background: none; border: 0; transition: background .2s, color .2s; }
.main-nav > ul > li > button .ic { width: 15px; height: 15px; transition: transform .25s; opacity: .6; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { color: var(--header-ink); background: var(--header-hover); }
.main-nav .active { color: var(--header-active) !important; font-weight: 600; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 8px; border: 1px solid var(--line-cool); box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-drop.open > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop.open > button .ic { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .has-drop:hover > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-drop:hover > button .ic { transform: rotate(180deg); }
}
.drop a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.drop a:hover { background: var(--paper); color: var(--ink); }
.drop a > .ic { margin-top: 3px; color: var(--brand); width: 18px; height: 18px; }
.drop a span { display: flex; flex-direction: column; }
.drop a b { font-weight: 600; font-size: .9rem; }
.drop a small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.drop a.drop-sm { padding: 6px 12px 6px 16px; font-size: .88rem; }
.drop a.drop-sm .ic { width: 6px; color: var(--sky-300); margin-top: 9px; }
.drop a.drop-cta { margin-top: 6px; border-top: 1px solid var(--line-cool); border-radius: 0 0 10px 10px; padding-top: 12px; }
.drop-wide .drop { min-width: 540px; }
.drop-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 10px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drop-head a { padding: 0; font-size: .82rem; text-transform: none; letter-spacing: 0; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.drop-head a:hover { background: none; }
.drop-head .ic { width: 14px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-grid a { align-items: center; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; }
.nav-mobile-cta { display: none; }

/* ---------- Pencarian & notifikasi ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(22, 35, 63, .45); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; padding: 14vh 20px 20px; animation: fade .2s; }
.search-box { width: min(680px, 100%); display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-lg); }
.search-box > .ic { color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; padding: 12px 0; background: none; }
.search-hints { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; color: rgba(255, 255, 255, .85); font-size: .88rem; }
.search-hints a { color: #fff; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.toasts { position: fixed; top: 92px; right: 20px; z-index: 300; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-cool); box-shadow: var(--shadow-lg); font-size: .92rem; color: var(--ink); animation: fade .3s; }
.toast-success .ic { color: var(--success); }
.toast-error .ic { color: var(--danger); }
.toast button { margin-left: auto; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); }

/* ---------- Hero beranda ---------- */
.hero { position: relative; background: var(--hero-bg); padding: calc(var(--header-h) + 72px) 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .about-grid > *, .form-layout > *, .contact-grid > *, .about-layout > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: var(--hero-surface); border: 1px solid var(--hero-line); font-size: .85rem; color: var(--hero-body); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hero-accent); }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.9vw, 4.4rem); line-height: 1.06; letter-spacing: -.025em; color: var(--hero-ink); margin: 24px 0 22px; overflow-wrap: normal; }
.hero-title em, .section-title em, .page-hero h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
.hero-title em, .page-hero h1 em { color: var(--hero-em); }
.hero-text { font-size: 1.12rem; color: var(--hero-body); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; font-size: .86rem; }
.hero-platforms > span { color: var(--hero-muted); margin-right: 4px; }
.hero-platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--hero-surface); border: 1px solid var(--hero-line); color: var(--hero-ink); font-weight: 500; }
.hero-platforms a:hover { border-color: var(--hero-accent); color: var(--hero-ink); }
.hero-platforms .pf-icon { width: 28px; height: 28px; border-radius: 50%; }
.hero-platforms .pf-icon .ic { width: 15px; height: 15px; }

/* Logo dikelilingi bidang keilmuan & kegiatan */
.hero-visual { display: grid; place-items: center; padding: 30px 0; }
.orbit { --size: min(420px, 34vw); position: relative; width: var(--size); aspect-ratio: 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--hero-line); }
.ring.r1 { inset: 0; border-style: dashed; }
.ring.r2 { inset: 17%; }
.ring.r3 { inset: 31%; background: var(--hero-surface-2); box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .45); }
.orbit-logo { position: absolute; inset: 37%; width: 26%; height: 26%; object-fit: contain; }
.orbit-track { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.orbit-node { --a: calc(360deg / var(--n) * var(--i)); position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--size) / 2)) rotate(calc(-1 * var(--a))); }
.orbit-node b { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 6px 13px; border-radius: 999px; font-size: .76rem; font-weight: 500; color: var(--hero-body); background: var(--hero-surface-2); border: 1px solid var(--hero-line); box-shadow: var(--shadow-sm); animation: counter 120s linear infinite; }
.orbit-node:nth-child(odd) b { color: var(--hero-em); }

.hero-news { display: flex; align-items: center; gap: 16px; margin-top: 56px; padding: 16px 0 0; border-top: 1px solid var(--hero-line); color: var(--hero-ink); }
.hero-news:hover { color: var(--hero-em); }
.hero-news-label { flex: none; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-accent); }
.hero-news-title { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-news-date { flex: none; display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--hero-muted); }

/* Tombol di area gelap */
:is(.hero, .page-hero, .profile-hero, .error-page, .article-head) .btn-primary { background: var(--hero-btn); color: var(--hero-btn-ink); }
:is(.hero, .page-hero, .profile-hero, .error-page, .article-head) .btn-primary:hover { filter: brightness(1.08); }
:is(.hero, .page-hero, .profile-hero, .error-page, .article-head) .btn-outline { background: transparent; border-color: var(--hero-line); color: var(--hero-ink); }
:is(.hero, .page-hero, .profile-hero, .error-page, .article-head) .btn-outline:hover { border-color: var(--hero-accent); color: var(--hero-ink); }
:is(.hero, .page-hero, .profile-hero, .error-page, .article-head) .eyebrow { color: var(--hero-accent); }

/* ---------- Statistik ---------- */
.stats-band { background: var(--hero-bg); padding: 0 0 64px; }
.stats-band.stats-flat { padding: 44px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 32px; position: relative; }
.stats-grid::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--hero-line); }
.stats-flat .stats-grid { padding-top: 0; }
.stats-flat .stats-grid::before { display: none; }
.stat { padding: 0 24px; border-left: 1px solid var(--hero-line); }
.stats-flat .stat { border-color: var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 500; line-height: 1; color: var(--hero-ink); }
.stats-flat .stat strong { color: var(--brand); }
.stat span { display: block; margin-top: 10px; font-size: .9rem; color: var(--hero-muted); }
.stats-flat .stat span { color: var(--muted); }

/* ---------- Mitra (opsional, nonaktif secara bawaan) ---------- */
.marquee-wrap { padding: 30px 0; border-bottom: 1px solid var(--line-cool); overflow: hidden; }
.marquee-label { text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 500; color: var(--muted); }
.marquee-item .ic { color: var(--sky-300); }
.marquee-item img { height: 32px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- Section ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0 88px; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--section-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0; }
.section-lead { max-width: 600px; margin: 12px 0 0; font-size: 1.04rem; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about-copy p { font-size: 1.06rem; }
.about-copy .section-title { margin-bottom: 20px; }
.pillars { display: grid; gap: 14px; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.pillar:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.pillar-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.pillar-icon .ic { width: 22px; height: 22px; }
.pillar h3 { margin: 2px 0; font-size: 1.1rem; }
.pillar p { margin: 0; font-size: .94rem; color: var(--muted); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--body); font-size: .88rem; font-weight: 500; transition: all .2s; }
.tab small { color: var(--muted); margin-left: 2px; }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: var(--on-primary); }
.tab.active small { color: var(--sky-300); }

/* ---------- Kartu berita ---------- */
.news-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; transition: opacity .3s; }
.news-grid.loading { opacity: .4; pointer-events: none; }
.news-grid .post-feature { grid-row: span 3; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-cool); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color .25s, box-shadow .25s; }
.post-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.03); }
.post-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.post-placeholder img { width: 56px !important; height: 56px !important; object-fit: contain !important; opacity: .35; filter: brightness(.4); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.post-meta .chip { position: relative; z-index: 1; }
.post-title { font-size: 1.04rem; line-height: 1.42; margin: 0 0 8px; font-weight: 600; }
.post-title a { color: var(--ink); }
.post-card:hover .post-title a { color: var(--brand); }
.post-title a::after { content: ""; position: absolute; inset: 0; }
.post-excerpt { font-size: .92rem; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: auto; display: flex; gap: 16px; font-size: .8rem; color: var(--muted); }
.post-foot span { display: inline-flex; align-items: center; gap: 5px; }
.post-feature .post-media { aspect-ratio: 16 / 11; }
.post-feature .post-body { padding: 24px 26px 26px; }
.post-feature .post-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.3; }
.post-compact { flex-direction: row; }
.post-compact .post-media { width: 36%; flex: none; aspect-ratio: auto; min-height: 118px; }
.post-compact .post-body { padding: 14px 16px; }
.post-compact .post-title { font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-compact .post-meta .chip { display: none; }
.post-mini { flex-direction: row; }
.post-mini .post-media { width: 104px; flex: none; aspect-ratio: 1; }
.post-mini .post-body { padding: 12px 16px; justify-content: center; }
.post-mini .post-title { font-size: .92rem; margin: 0; }
.post-mini .post-meta { margin-bottom: 4px; }
.post-mini .chip { display: none; }

/* ---------- Bidang ---------- */
.fields-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.field-card { position: relative; padding: 28px 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.field-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.field-no { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 1.1rem; color: var(--sky-300); }
.field-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.field-icon .ic { width: 22px; height: 22px; }
.field-card h3 { font-size: 1.08rem; }
.field-card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Agenda ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.event-list { display: grid; gap: 12px; }
.event-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.event-grid.is-past { opacity: .85; }
.event-card { position: relative; display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-cool); color: var(--body); transition: border-color .25s, box-shadow .25s; }
.event-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); color: var(--body); }
.event-date { flex: none; width: 74px; padding: 12px 0; border-radius: 12px; text-align: center; background: var(--brand-soft); color: var(--navy); line-height: 1; }
.event-date b { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.event-date span { display: block; font-size: .8rem; font-weight: 600; margin-top: 4px; text-transform: uppercase; color: var(--brand); }
.event-date small { display: block; font-size: .7rem; margin-top: 4px; color: var(--muted); }
.event-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.event-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.event-body strong { color: var(--ink); font-size: 1.02rem; line-height: 1.38; font-weight: 600; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .84rem; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-arrow { margin-left: auto; width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-cool); color: var(--navy); transition: all .25s; }
.event-card:hover .event-arrow { background: var(--navy); border-color: var(--navy); color: var(--on-primary); }
.event-list.compact .event-card { padding: 12px; gap: 12px; }
.event-list.compact .event-date { width: 56px; padding: 8px 0; }
.event-list.compact .event-date b { font-size: 1.35rem; }
.event-list.compact .event-arrow, .event-list.compact .event-meta span:last-child { display: none; }
.event-list.compact strong { font-size: .92rem; }
.popular { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: sticky; top: 96px; }
.popular h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.popular h3 .ic { color: var(--accent); }
.popular ol { list-style: none; margin: 0; padding: 0; }
.popular li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 13px 0; border-top: 1px solid var(--line-cool); }
.popular li:first-child { border-top: 0; padding-top: 0; }
.popular .rank { grid-row: span 2; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--sky-300); }
.popular a { color: var(--ink); font-weight: 500; font-size: .94rem; line-height: 1.45; }
.popular a:hover { color: var(--brand); }
.popular small { color: var(--muted); font-size: .8rem; }

/* ---------- Platform ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-cool); color: var(--muted); transition: border-color .25s, box-shadow .25s; }
.platform-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); color: var(--muted); }
.platform-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.platform-card strong { font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.platform-tagline { font-weight: 500; font-size: .9rem; color: var(--brand); }
.platform-desc { font-size: .92rem; flex: 1; }
.platform-url { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.platform-url .ic { width: 15px; transition: transform .25s; }
.platform-card:hover .platform-url .ic { transform: translate(2px, -2px); }
.platform-grid.light { margin-bottom: 48px; }
.platform-cta { border-style: dashed; background: transparent; border-color: var(--brand-line); }
.pf-ghost { background: transparent !important; border: 1px dashed var(--brand-line); color: var(--brand) !important; }
.pf-icon { --pf: var(--brand); width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; overflow: hidden; color: var(--pf); background: var(--brand-soft); background: color-mix(in srgb, var(--pf) 11%, #fff); }
.pf-icon .ic { width: 23px; height: 23px; }
.pf-icon img { width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
.drop-grid .pf-icon { width: 36px; height: 36px; border-radius: 10px; }
.drop-grid .pf-icon .ic { width: 18px; height: 18px; margin: 0; color: var(--pf); }

/* ---------- Tim ---------- */
.team-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.team-card { text-align: center; padding: 28px 18px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--body); transition: border-color .25s, box-shadow .25s; }
.team-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); color: var(--body); }
.team-photo { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--brand-soft); color: var(--brand); font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { display: block; font-size: .74rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.team-card strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.4; font-weight: 600; }
.team-card small { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; }

/* ---------- Ajakan ---------- */
.cta-section { padding-top: 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { display: block; padding: 40px; border-radius: 20px; color: var(--body); border: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.cta-card:hover { box-shadow: var(--shadow); color: var(--body); }
.cta-news { background: var(--paper); border-color: var(--line); }
.cta-join { background: var(--brand-soft); border-color: var(--brand-line); }
.cta-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--surface); color: var(--brand); margin-bottom: 22px; border: 1px solid var(--line-cool); }
.cta-icon .ic { width: 22px; height: 22px; }
.cta-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.cta-card p { max-width: 440px; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding: 24px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.inline-cta strong { display: block; color: var(--ink); font-size: 1.05rem; }
.inline-cta span { color: var(--muted); font-size: .94rem; }

/* ---------- Header halaman dalam ---------- */
.page-hero, .article-head, .profile-hero, .error-page { position: relative; background: var(--hero-bg); border-bottom: 1px solid var(--hero-line); color: var(--hero-body); }
:is(.page-hero, .article-head, .profile-hero, .error-page) h1 { color: var(--hero-ink); }
.page-hero { padding: calc(var(--header-h) + 56px) 0 64px; }
.page-hero-inner { max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; margin: 0 0 16px; }
.page-hero .lead, .profile-hero .lead, .error-page .lead { font-size: 1.1rem; color: var(--hero-body); max-width: 660px; margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .84rem; margin-bottom: 24px; color: var(--hero-muted); }
.crumbs a { color: var(--hero-muted); }
.crumbs a:hover { color: var(--hero-ink); }
.hero-search { display: flex; gap: 10px; align-items: center; margin-top: 24px; max-width: 620px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.hero-search .ic { color: var(--muted); }
.hero-search input { flex: 1; border: 0; outline: 0; font-size: 1.02rem; background: none; min-width: 0; }

.filter-bar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; }
.filter-bar .tabs { margin: 0; }
select { padding: 10px 38px 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236c7686' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: .92rem; cursor: pointer; }
.directory-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-input { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: var(--paper); }
.search-input .ic { color: var(--muted); }
.search-input input { flex: 1; border: 0; outline: 0; background: none; padding: 11px 0; min-width: 0; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.list-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 10px 0 20px; }
.list-title .ic { color: var(--brand); }
.list-title small { color: var(--muted); font-weight: 400; }
.journal-banner { margin-bottom: 20px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--body); }
.journal-banner > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.journal-banner strong { color: var(--ink); }
.journal-banner:hover { color: var(--body); box-shadow: var(--shadow); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination .dots { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pagination a:hover { border-color: var(--navy); }
.pagination a.current { background: var(--navy); border-color: var(--navy); color: var(--on-primary); }
.pagination .dots { border: 0; background: none; }
.empty { padding: 52px 24px; border-radius: var(--radius); border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.empty .ic { width: 36px; height: 36px; color: var(--sky-300); margin: 0 auto 12px; }
.empty p { margin: 0; }

/* ---------- Artikel ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--brand); }
.article-head { padding: calc(var(--header-h) + 52px) 0 110px; }
.article-head.no-cover { padding-bottom: 56px; }
.article-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.22; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 20px; font-size: .9rem; color: var(--hero-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .author { color: var(--hero-ink); font-weight: 600; }
.article-meta .author img { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: var(--hero-surface-2); border: 1px solid var(--hero-line); }
.article-cover { margin-top: -80px; position: relative; z-index: 2; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); cursor: zoom-in; }
.article-layout { display: grid; grid-template-columns: 52px minmax(0, 1fr) 290px; gap: 44px; padding-top: 52px; padding-bottom: 80px; }
.article-layout.two { grid-template-columns: minmax(0, 1fr) 330px; padding-top: 0; padding-bottom: 0; }
.share-rail { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.share-rail span { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.share-rail a, .share-rail button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--body); transition: all .2s; }
.share-rail a:hover, .share-rail button:hover { background: var(--navy); color: var(--on-primary); border-color: var(--navy); }
.share-rail .ic { width: 17px; height: 17px; }
.article-side { display: flex; flex-direction: column; gap: 20px; }
.side-box { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.side-box h3 { font-size: 1.02rem; margin-bottom: 14px; }
.side-cta { display: block; background: var(--brand-soft); border-color: var(--brand-line); color: var(--body); }
.side-cta h3 { margin-top: 10px; }
.side-cta > .ic { width: 26px; height: 26px; color: var(--brand); }
.side-cta p { font-size: .92rem; }
a.side-cta:hover { color: var(--body); box-shadow: var(--shadow); }
.mini-list { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.mini-list li { counter-increment: m; position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
.mini-list li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; font-family: var(--serif); color: var(--sky-300); }
.mini-list a { display: block; color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.45; }
.mini-list a:hover { color: var(--brand); }
.mini-list small { color: var(--muted); font-size: .78rem; }

.prose { font-size: 1.07rem; line-height: 1.85; color: var(--body); min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .5em; }
.prose a { text-decoration: underline; text-decoration-color: var(--sky-300); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 12px; margin: 0 auto; cursor: zoom-in; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; line-height: 1.5; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prose .wp-block-gallery figure { margin: 0; position: relative; }
.prose .wp-block-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.prose .wp-block-gallery figcaption { position: absolute; inset: auto 0 0; padding: 24px 12px 10px; margin: 0; color: var(--on-primary); background: linear-gradient(transparent, rgba(0, 0, 0, .6)); border-radius: 0 0 10px 10px; text-align: left; font-size: .8rem; }
.prose .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 240px; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: 12px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose th { background: var(--paper); font-weight: 600; color: var(--ink); }
.prose iframe { max-width: 100%; border-radius: 12px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose .wp-block-button__link { display: inline-block; padding: 11px 22px; background: var(--navy); color: var(--on-primary); border-radius: 999px; text-decoration: none; font-weight: 600; }
.prose .rounded { border-radius: 16px; margin-bottom: 28px; }
.tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tag-list .ic { color: var(--muted); }
.tag-list a { padding: 4px 13px; border-radius: 999px; background: var(--paper); font-size: .86rem; text-decoration: none; color: var(--body); }
.tag-list a:hover { background: var(--brand-soft); color: var(--brand); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.post-nav a:hover { border-color: var(--brand-line); }
.post-nav .next { text-align: right; align-items: flex-end; }
.post-nav small { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.post-nav span { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Tentang, tim, anggota ---------- */
.about-layout { display: grid; grid-template-columns: 320px 1fr; gap: 64px; }
.sticky { position: sticky; top: 100px; }
.timeline { list-style: none; margin: 26px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--brand-line); }
.timeline li { position: relative; padding: 0 0 22px 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.timeline b { display: block; color: var(--ink); font-weight: 600; }
.timeline span { font-size: .92rem; color: var(--muted); }
.legal-card { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 20px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.legal-card .ic { width: 30px; height: 30px; color: var(--accent); }
.legal-card strong { display: block; color: var(--ink); }
.legal-card span { font-size: .92rem; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.partner-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--body); }
.partner-logo { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; overflow: hidden; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-card strong { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.partner-card small { color: var(--muted); font-size: .8rem; }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.board-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--body); transition: border-color .25s, box-shadow .25s; }
.board-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); color: var(--body); }
.board-card .team-photo { width: 80px; height: 80px; margin: 0; flex: none; font-size: 1.5rem; }
.board-info { display: flex; flex-direction: column; }
.board-info strong { color: var(--ink); line-height: 1.4; font-weight: 600; }
.board-info small { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.board-lead { grid-column: span 3; padding: 32px; background: var(--paper); }
.board-lead .team-photo { width: 112px; height: 112px; font-size: 2.2rem; background: var(--surface); border: 1px solid var(--line); }
.board-lead strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member-card { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--body); transition: border-color .25s, box-shadow .25s; }
.member-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); color: var(--body); }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-family: var(--serif); font-size: 1.1rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-info { display: flex; flex-direction: column; min-width: 0; }
.member-role { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 2px; }
.member-info strong { color: var(--ink); line-height: 1.38; font-size: .97rem; font-weight: 600; }
.member-info small { color: var(--muted); font-size: .84rem; margin-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags em { padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--body); font-size: .74rem; }
.tags.big em { font-size: .88rem; padding: 6px 14px; }
.stack-list { display: grid; gap: 12px; }
.profile-hero { padding: calc(var(--header-h) + 52px) 0 56px; }
.profile-inner { display: flex; gap: 36px; align-items: center; }
.profile-photo { flex: none; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--hero-surface-2); border: 1px solid var(--hero-line); color: var(--brand); font-family: var(--serif); font-size: 3rem; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 6px; }
.profile-hero .crumbs { margin-bottom: 16px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lead-sub { font-size: .95rem; color: var(--hero-accent); font-weight: 600; }
.hero-tags { margin-top: 14px; }
.hero-tags em { background: var(--hero-surface); border-color: var(--hero-line); color: var(--hero-ink); }
.profile-main .list-title { margin-top: 36px; }
.identity-card { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.identity-card .list-title { margin: 0 0 14px; }
.identity { margin: 0; display: grid; }
.identity > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.identity > div:first-child { border-top: 0; }
.identity dt { color: var(--muted); font-size: .9rem; }
.identity dd { margin: 0; color: var(--ink); font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.identity dd a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.na { color: var(--muted); font-weight: 400; font-style: italic; opacity: .8; }
.back-link-box { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
@media (max-width: 680px) {
  .identity-card { padding: 20px 18px; }
  .identity > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-tags { justify-content: center; }
}

.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pub-list li { display: flex; gap: 22px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pub-list li:hover { border-color: var(--brand-line); }
.pub-list li > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pub-year { flex: none; font-family: var(--serif); font-size: 1.4rem; color: var(--sky-300); min-width: 60px; }
.pub-list strong { color: var(--ink); font-size: 1.02rem; line-height: 1.45; font-weight: 600; }
.pub-list strong a { color: var(--ink); }
.pub-list strong a:hover { color: var(--brand); }
.pub-list small { color: var(--muted); }
.doi { font-size: .82rem; font-weight: 600; }

/* ---------- Galeri ---------- */
.masonry { columns: 4 250px; column-gap: 14px; }
.masonry-item { position: relative; break-inside: avoid; margin: 0 0 14px; border-radius: 12px; overflow: hidden; background: var(--paper); }
.masonry-item img { width: 100%; cursor: zoom-in; transition: transform .5s var(--ease); }
.masonry-item:hover img { transform: scale(1.02); }
.masonry-item figcaption { position: absolute; inset: auto 0 0; padding: 36px 14px 12px; color: #fff; font-size: .84rem; line-height: 1.4; background: linear-gradient(transparent, rgba(22, 35, 63, .78)); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; gap: 6px; }
.masonry-item:hover figcaption { opacity: 1; }
.masonry-item figcaption a { color: #fff; font-weight: 600; font-size: .8rem; display: inline-flex; gap: 4px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(16, 24, 40, .92); display: flex; align-items: center; justify-content: center; padding: 40px 80px; animation: fade .2s; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; text-align: center; font-size: .92rem; }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.activity-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.activity-col { padding: 34px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.activity-col .pillar-icon { margin-bottom: 16px; background: var(--surface); }
.activity-col h2 { font-size: 1.6rem; }
.numbered { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--serif); font-size: 1.05rem; color: var(--brand); }
.numbered strong { color: var(--ink); font-weight: 600; }
.numbered span { font-size: .92rem; color: var(--muted); }

/* ---------- Formulir ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.form-card { padding: 38px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; }
.form-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.form-step { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; }
.form-step:first-of-type { margin-top: 0; }
.form-step span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .88rem; }
.form-step h2 { margin: 0; font-size: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 86, 168, .1); }
.field textarea { resize: vertical; line-height: 1.6; }
.hint { color: var(--muted); font-size: .8rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 24px; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 140px; padding: 20px; margin-bottom: 18px; border-radius: 14px; border: 1px dashed var(--brand-line); background: var(--paper); text-align: center; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ic { width: 26px; height: 26px; color: var(--brand); margin-bottom: 6px; }
.dropzone strong { color: var(--ink); font-size: .94rem; font-weight: 600; }
.dropzone small { color: var(--muted); font-size: .8rem; }
.dropzone.has-file small { color: var(--success); font-weight: 600; }
.dz-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: .92rem; }
.checklist .ic { color: var(--success); width: 17px; margin-top: 4px; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; gap: 14px; }
.flow li { counter-increment: f; position: relative; padding-left: 42px; display: flex; flex-direction: column; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: .86rem; border: 1px solid var(--brand-line); }
.flow b { color: var(--ink); font-weight: 600; }
.flow span { font-size: .88rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--body); }
a.info-card:hover { border-color: var(--brand-line); color: var(--body); }
.info-card .pillar-icon { width: 42px; height: 42px; background: var(--surface); }
.info-card h3 { font-size: .98rem; margin: 0 0 4px; }
.info-card p { margin: 0; font-size: .94rem; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.event-facts dl { margin: 16px 0 20px; display: grid; gap: 4px; }
.event-facts dt { display: flex; gap: 8px; align-items: center; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }
.event-facts dt .ic { width: 16px; color: var(--brand); }
.event-facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.event-facts .btn { margin-top: 10px; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 120px 0 80px; }
.error-code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; margin: 0; color: var(--hero-muted); opacity: .5; }
.error-page h1 { font-size: 2rem; }
.error-page .lead { margin: 0 auto 26px; }
.error-search { display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto 24px; padding: 4px 18px; border-radius: 999px; background: var(--hero-surface); border: 1px solid var(--hero-line); }
.error-search .ic { color: var(--hero-muted); }
.error-search input { flex: 1; background: none; border: 0; outline: 0; padding: 10px 0; color: var(--hero-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .66); padding: 72px 0 28px; font-size: .94rem; }
.footer-cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 0 0 52px; margin-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta .eyebrow { color: var(--hero-accent); }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.subscribe { position: relative; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); flex-wrap: wrap; }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; padding: 10px 18px; }
.subscribe input::placeholder { color: rgba(255, 255, 255, .45); }
.subscribe .btn { background: var(--hero-btn); color: var(--hero-btn-ink); }
.subscribe .btn:hover { filter: brightness(1.08); }
.subscribe-msg { position: absolute; top: calc(100% + 8px); left: 20px; margin: 0; font-size: .85rem; color: var(--hero-accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand-text { color: #fff; font-size: 1.05rem; }
.footer-tagline { margin: 18px 0 6px; font-family: var(--serif); font-style: italic; color: var(--hero-accent); }
.footer-brand p:not(.footer-tagline) { max-width: 340px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { width: 17px; color: var(--sky-300); margin-top: 4px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); }
.socials a:hover { background: rgba(255, 255, 255, .1); }
.socials .ic { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #25a85a; color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
.wa-float:hover { color: #fff; background: #1f9450; }
.wa-float .ic { width: 26px; height: 26px; }
.to-top { position: fixed; right: 28px; bottom: 86px; z-index: 90; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--navy); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top .ic { transform: rotate(-45deg); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Animasi halus ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1200px) {
  .main-nav > ul > li > a, .main-nav > ul > li > button { padding: 8px 9px; font-size: .9rem; }
  .hide-sm { display: none; }
  .article-layout { grid-template-columns: 48px minmax(0, 1fr); }
  .article-layout .article-side { grid-column: 2; }
}
@media (max-width: 1060px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); margin: 0; padding: 92px 22px 30px; overflow-y: auto; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .35s var(--ease); z-index: 1; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav-open .main-nav { transform: none; }
  .nav-open .header-actions { position: relative; z-index: 2; }
  .nav-open .header-actions .icon-btn { color: var(--ink); }
  html.nav-lock, html.nav-lock body { overflow: hidden; }
  .main-nav button, .main-nav a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(22, 35, 63, .35); z-index: 90; }
  .nav-open .site-header { z-index: 120; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .main-nav > ul > li > a, .main-nav > ul > li > button { color: var(--body); }
  .main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { color: var(--ink); }
  .main-nav .active { color: var(--brand) !important; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-cool); }
  .main-nav > ul > li > a, .main-nav > ul > li > button { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1rem; border-radius: 0; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover { background: none; }
  .drop, .drop-wide .drop { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .has-drop:hover > .drop { transform: none; }
  .has-drop.open > .drop { display: block; transform: none; }
  .drop-grid { grid-template-columns: 1fr; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2.2rem, 8.4vw, 4.2rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .about-grid, .split, .about-layout, .contact-grid, .form-layout, .footer-cta { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .post-feature { grid-column: span 2; grid-row: auto; }
  .post-grid, .fields-grid, .platform-grid, .member-grid, .board-grid { grid-template-columns: repeat(2, 1fr); }
  .board-lead { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .popular, .sticky, .form-aside { position: static; }
  .article-layout.two { grid-template-columns: 1fr; }
  .contact-grid .form-card { order: -1; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .stats-grid::before { left: 16px; right: 16px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 40px 0 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text { font-size: .84rem; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-title { font-size: clamp(2rem, 9.4vw, 3rem); }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-actions .btn { flex: 1; }
  .hero-news { flex-wrap: wrap; gap: 6px 10px; }
  .hero-news-title { white-space: normal; flex-basis: 100%; order: 2; }
  .hero-news-date { order: 3; }
  .stat { padding: 0 14px; }
  .news-grid, .post-grid, .fields-grid, .platform-grid, .member-grid, .board-grid, .cta-grid, .activity-cols, .event-grid, .form-row, .post-nav, .footer-grid { grid-template-columns: 1fr; }
  .news-grid .post-feature, .board-lead { grid-column: auto; }
  .board-card, .board-lead { flex-direction: column; text-align: center; }
  .board-info { align-items: center; }
  .cta-card { padding: 30px 24px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .article-layout .article-side { grid-column: auto; }
  .share-rail { position: static; flex-direction: row; justify-content: center; order: 2; }
  .share-rail span { writing-mode: initial; transform: none; margin: 0 6px 0 0; }
  .article-head { padding-bottom: 96px; }
  .article-cover { margin-top: -64px; }
  .prose { font-size: 1.02rem; }
  .profile-inner { flex-direction: column; text-align: center; gap: 22px; }
  .profile-photo { width: 128px; height: 128px; }
  .profile-links, .profile-hero .crumbs { justify-content: center; }
  .pub-list li { flex-direction: column; gap: 6px; }
  .form-card { padding: 24px 18px; }
  .directory-filter > * { flex: 1 1 100%; }
  .journal-banner { flex-wrap: wrap; }
  .event-card { gap: 14px; padding: 14px; }
  .event-date { width: 62px; }
  .event-arrow { display: none; }
  .lightbox { padding: 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .subscribe { border-radius: 18px; }
  .subscribe input { flex-basis: 100%; }
  .subscribe .btn { width: 100%; }
  .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .to-top { right: 20px; bottom: 74px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; }
}
