/* =====================================================================
   TEMPLATE WEB LPK JEPANG — STYLE PUBLIK
   Warna aksen (--accent, --accent-50 … --accent-900, --on-accent, --accent-text)
   diisi otomatis dari Admin → Pengaturan → Tampilan & Warna (lihat Theme.php).
   Pendekatan: mobile-first. Breakpoint: 640px, 900px, 1100px.
   ===================================================================== */

:root {
  --accent: #b42318; --accent-rgb: 180 35 24;
  --accent-50: #fbf2f1; --accent-100: #f6e2e0; --accent-200: #e9bab6; --accent-300: #da918c;
  --accent-700: #941d14; --accent-800: #75170f; --accent-900: #51100b;
  --accent-text: #b42318; --on-accent: #fff;

  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --line-2: #f1f5f9;
  --bg: #fff; --bg-soft: #f8fafc;
  --success: #15803d; --danger: #b91c1c; --warning: #b45309;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .06);
  --shadow: 0 10px 30px -12px rgb(15 23 42 / .18);
  --shadow-lg: 0 24px 60px -20px rgb(15 23 42 / .28);
  --container: 1200px; --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; } /* cegah geser ke samping di HP tanpa merusak header sticky */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgb(var(--accent-rgb) / .45); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
@media (max-width: 899px) { .hide-md { display: none !important; } }
@media (max-width: 639px) { .hide-sm { display: none !important; } }

/* ---------- Tombol & chip ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: .9em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgb(var(--accent-rgb) / .8); }
.btn--accent:hover { background: var(--accent-700); color: var(--on-accent); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--light { background: #fff; color: var(--accent-800); }
.btn--light:hover { background: var(--accent-50); color: var(--accent-900); }
.btn--ghost-light { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn--ghost-light:hover { background: rgb(255 255 255 / .12); color: #fff; border-color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--accent-50); color: var(--accent-text); }
.icon-btn .icon { width: 22px; height: 22px; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .8em; border-radius: 999px; background: var(--line-2); color: var(--ink-2); font-size: .8rem; font-weight: 600; text-decoration: none; line-height: 1.4; transition: background .2s, color .2s; }
a.chip:hover { background: var(--accent-100); color: var(--accent-800); }
.chip.is-active, .chip--accent { background: var(--accent); color: var(--on-accent); }
.chip small { opacity: .7; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--accent-100); }

/* ---------- Topbar ---------- */
.topbar { background: var(--accent-900); color: rgb(255 255 255 / .82); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar__info li { display: flex; align-items: center; gap: 6px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
@media (max-width: 639px) { .topbar { display: none; } }

/* ---------- Pita situs demo (hanya tampil di mode demo) ---------- */
.demo-bar { background: var(--ink); color: #fff; font-size: .82rem; }
.demo-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-block: 8px; text-align: center; }
.demo-bar .icon { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; } /* svg bawaan display:block → paksa sebaris dengan teks */
.demo-bar a { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:hover { color: var(--accent-200); }

.social { list-style: none; display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.social a:hover { background: rgb(255 255 255 / .14); color: #fff; }
.social .icon { width: 16px; height: 16px; }
.social--footer { margin-top: 18px; gap: 8px; }
.social--footer a { width: 40px; height: 40px; background: rgb(255 255 255 / .08); }
.social--footer a:hover { background: var(--accent); }

/* ---------- Header & navigasi ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
/* Efek kaca buram di lapisan terpisah: jika dipasang langsung di header, panel menu HP (position: fixed) ikut terkurung di dalam header. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 23 42 / .35); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-800)); color: var(--on-accent); flex-shrink: 0; box-shadow: 0 8px 18px -10px rgb(var(--accent-rgb) / .9); }
.brand__mark .icon { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__tagline { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.site-header__actions { display: flex; align-items: center; gap: 4px; }

.main-nav__list { list-style: none; }
.nav-link { display: block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; }
.nav-sub { list-style: none; }
.nav-sub a { display: block; text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.nav-sub a:hover, .nav-sub a.is-active { color: var(--accent-text); background: var(--accent-50); }

/* Navigasi HP: panel geser dari kanan */
@media (max-width: 1099px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; visibility: hidden; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); padding-bottom: 24px; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
  .main-nav__title { font-weight: 700; color: var(--ink); }
  .main-nav__list { padding: 8px 12px; }
  .nav-item { position: relative; border-bottom: 1px solid var(--line-2); }
  .nav-link { padding: 14px 12px; }
  .nav-item.is-active > .nav-link { color: var(--accent-text); }
  .nav-sub-toggle { position: absolute; right: 4px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
  .nav-sub-toggle .icon { transition: transform .25s; }
  .nav-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav-sub { display: none; padding: 0 0 10px 12px; }
  .nav-sub.is-open { display: block; }
  .nav-sub a { padding: 10px 14px; border-radius: 10px; }
  .main-nav__cta { margin: 16px 24px 0; }
  .nav-backdrop { position: fixed; inset: 0; background: rgb(15 23 42 / .45); z-index: 60; opacity: 0; transition: opacity .3s; }
  .nav-backdrop.is-visible { opacity: 1; }
  body.nav-open { overflow: hidden; }
  /* Header harus di atas lapisan gelap (backdrop), karena panel menu berada di dalam header. */
  body.nav-open .site-header { z-index: 70; }
}
/* Navigasi desktop: dropdown saat hover/fokus */
@media (min-width: 1100px) {
  .nav-toggle, .main-nav__head, .nav-backdrop { display: none !important; }
  .main-nav { display: flex; align-items: center; gap: 12px; }
  .main-nav__list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; display: flex; align-items: center; }
  .nav-link { padding: 10px 12px; border-radius: 10px; transition: color .2s, background .2s; }
  .nav-item.has-sub > .nav-link { padding-right: 2px; }
  .nav-link:hover, .nav-item:hover > .nav-link { color: var(--accent-text); }
  .nav-item.is-active > .nav-link { color: var(--accent-text); }
  .nav-item.is-active > .nav-link::after { content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--accent); }
  .nav-sub-toggle { border: 0; background: transparent; padding: 10px 8px 10px 2px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
  .nav-sub-toggle .icon { width: 15px; height: 15px; transition: transform .2s; }
  .nav-item:hover .nav-sub-toggle .icon { transform: rotate(180deg); }
  .nav-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .nav-sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
  .nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub, .nav-sub.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-sub a { padding: 9px 14px; border-radius: 9px; }
  .main-nav__cta { padding: .62em 1.15em; font-size: .9rem; }
}

/* ---------- Hero beranda ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgb(255 255 255 / .16), transparent 60%), linear-gradient(135deg, var(--accent-900), var(--accent-700) 55%, var(--accent)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero--image::after { background: linear-gradient(100deg, rgb(var(--accent-rgb) / .1), transparent), linear-gradient(90deg, rgb(2 6 23 / .82) 0%, rgb(2 6 23 / .55) 50%, rgb(2 6 23 / .15) 100%); mask-image: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; padding-block: clamp(72px, 12vw, 150px) clamp(110px, 14vw, 170px); max-width: var(--container); }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.hero__title { color: #fff; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; max-width: 15ch; margin: 18px 0 16px; text-wrap: balance; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 56ch; color: rgb(255 255 255 / .88); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Statistik ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin: 0; overflow: hidden; }
.stats__item { padding: 22px 16px; text-align: center; display: flex; flex-direction: column-reverse; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stats__item dd { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--accent-text); letter-spacing: -.03em; line-height: 1.1; }
.stats__item dt { font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: 4px; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } .stats__item { border-bottom: 0; padding: 30px 16px; } .stats__item:last-child { border-right: 0; } }

/* ---------- Section ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--accent-200); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; }
.section-title--sm { font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin-bottom: 18px; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .grid--people { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- Kartu ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-50); }
.card__media--square { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card__title { font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* seluruh kartu dapat diklik */
.card__title a:hover { color: var(--accent-text); }
.card__text { color: var(--muted); font-size: .94rem; margin: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .83rem; color: var(--muted); margin: 0; }
.meta > * { display: inline-flex; align-items: center; gap: 6px; }
.meta .chip { position: relative; z-index: 1; }
.meta--lg { font-size: .9rem; margin-bottom: 18px; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent-300); background: linear-gradient(135deg, var(--accent-50), var(--accent-100)); }
.placeholder .icon { width: 40px; height: 40px; }
.placeholder--portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-100); color: var(--accent-800); font-weight: 700; font-size: .9rem; }
.avatar--xl { width: 96px; height: 96px; font-size: 1.8rem; background: #fff; box-shadow: var(--shadow); }

/* ---------- Sambutan ---------- */
.welcome { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.welcome__media { position: relative; max-width: 420px; }
.welcome__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.welcome__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: var(--accent-100); z-index: -1; }
.welcome__text { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 24px; }
@media (min-width: 900px) { .welcome { grid-template-columns: 5fr 7fr; } }
@media (max-width: 899px) { .welcome__media { margin-inline: auto 24px; width: 80%; } }

/* ---------- Visi ---------- */
.vision { background: linear-gradient(135deg, var(--accent-800), var(--accent-900)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.vision__inner { padding-block: clamp(56px, 8vw, 88px); max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.vision__icon { width: 48px; height: 48px; color: var(--accent-300); margin-bottom: 16px; }
.vision__text { margin: 0 0 26px; font-size: clamp(1.25rem, 2.8vw, 1.85rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: #fff; text-wrap: balance; }

/* ---------- Pengumuman & agenda (beranda) ---------- */
.info-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 7fr 5fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.panel .section-head { margin-bottom: 18px; }
.panel .section-title { font-size: 1.4rem; }
.notice-list { list-style: none; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-2); }
.notice:first-child { border-top: 0; padding-top: 0; }
.notice__title { font-size: 1rem; margin: 4px 0 0; line-height: 1.45; }
.notice__title a { color: var(--ink); text-decoration: none; }
.notice__title a:hover { color: var(--accent-text); }
.date-badge { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 14px; background: var(--accent-50); color: var(--accent-800); line-height: 1; }
.date-badge__day { font-size: 1.4rem; font-weight: 800; }
.date-badge__month { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.date-badge--lg { width: 76px; height: 82px; }
.date-badge--lg .date-badge__day { font-size: 1.8rem; }
.date-badge--lg .date-badge__month { font-size: .68rem; text-align: center; }

.event-list { list-style: none; display: grid; gap: 4px; }
.event-item { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.event-item:first-child { border-top: 0; }
.event-item__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ev, var(--accent)); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ev, var(--accent)) 18%, transparent); }
.event-item__date { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ev, var(--accent-text)); }
.event-item__title { margin: 2px 0 0; font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.event-item__desc { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.event-item__meta { margin: 4px 0 0; font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.event-list--detail .event-item { padding: 16px 0; }

/* Warna kategori agenda */
.ev--seleksi { --ev: #2563eb; }
.ev--pelatihan { --ev: #d97706; }
.ev--keberangkatan { --ev: #dc2626; }
.ev--sosialisasi { --ev: #7c3aed; }
.ev--ujian { --ev: #0891b2; }
.ev--lainnya { --ev: #64748b; }

/* ---------- Mosaic galeri beranda ---------- */
.mosaic { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
.mosaic__item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--accent-50); }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__caption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgb(2 6 23 / .78)); color: #fff; display: flex; flex-direction: column; font-size: .8rem; }
.mosaic__caption strong { font-size: .98rem; line-height: 1.3; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }

/* ---------- CTA PPDB ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent), var(--accent-800)); color: rgb(255 255 255 / .9); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band__title { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 60ch; }

/* ---------- Header halaman dalam ---------- */
.page-header { background: linear-gradient(180deg, var(--accent-50), #fff); border-bottom: 1px solid var(--line-2); padding-block: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(var(--accent-rgb) / .12), transparent 70%); pointer-events: none; }
.page-header__title { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; margin: 10px 0 8px; max-width: 30ch; text-wrap: balance; }
.page-header__lead { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 60ch; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 500; display: inline-block; max-width: 40ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

/* ---------- Konten & tata letak dengan sidebar ---------- */
.with-aside { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .with-aside { grid-template-columns: minmax(0, 1fr) 300px; } .with-aside--wide { grid-template-columns: minmax(0, 1fr) 320px; } .aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.content-figure { margin: 0 0 28px; }
.content-figure img { border-radius: var(--radius); width: 100%; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card__title { font-size: 1rem; margin-bottom: 12px; }
.aside-nav { list-style: none; display: grid; gap: 2px; }
.aside-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .94rem; }
.aside-nav a:hover { background: var(--line-2); color: var(--ink); }
.aside-nav a.is-active { background: var(--accent-50); color: var(--accent-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.aside-list { list-style: none; display: grid; gap: 14px; }
.aside-list a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; line-height: 1.4; }
.aside-list a:hover { color: var(--accent-text); }
.aside-list time { font-size: .8rem; color: var(--muted); }
.aside-card .btn { margin-top: 16px; }

/* Tipografi isi artikel/halaman (konten dari editor admin) */
.prose { color: var(--ink-2); font-size: 1.04rem; line-height: 1.8; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 1.1em 1.4em; background: var(--accent-50); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: 1.1rem; font-weight: 500; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose a { font-weight: 500; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--accent-50); color: var(--ink); font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: var(--bg-soft); }
.prose pre { background: var(--ink); color: #e2e8f0; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; }
.prose--article { font-size: 1.08rem; }
.signature { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.signature strong { color: var(--ink); font-size: 1.05rem; }
.signature span { color: var(--muted); font-size: .9rem; }

/* ---------- Artikel ---------- */
.article__header { background: linear-gradient(180deg, var(--accent-50), #fff); padding-block: clamp(32px, 5vw, 56px) 28px; }
.article__title { font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 800; line-height: 1.18; letter-spacing: -.03em; margin: 14px 0 18px; text-wrap: balance; }
.article__cover { margin: 0 0 32px; }
.article__cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article .prose { margin-bottom: 36px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 24px; }
.share__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); margin-right: 6px; }
.share__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.share__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.share__btn .icon { width: 18px; height: 18px; }
.share__btn.is-copied { background: var(--success); border-color: var(--success); color: #fff; }

/* ---------- Toolbar, pencarian, paginasi ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.search-inline { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; min-width: min(100%, 300px); transition: border-color .2s, box-shadow .2s; }
.search-inline:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.search-inline input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; padding: 6px 0; }
.search-inline button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.search-big { display: flex; gap: 10px; margin-bottom: 28px; }
.search-big input { flex: 1; min-width: 0; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 1.05rem; outline: 0; }
.search-big input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.result-info { color: var(--muted); margin-bottom: 20px; }
.result-list { list-style: none; display: grid; gap: 14px; }
.result { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.result__title { font-size: 1.12rem; margin: 8px 0 6px; }
.result__title a { color: var(--ink); text-decoration: none; }
.result__title a:hover { color: var(--accent-text); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination__link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pagination__link:hover { border-color: var(--accent); color: var(--accent-text); }
.pagination__link.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pagination__gap { color: var(--muted); padding: 0 4px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-50); color: var(--accent); margin-bottom: 12px; }
.empty__icon .icon { width: 28px; height: 28px; }

/* ---------- Pengumuman ---------- */
.stack { display: grid; gap: 16px; }
.notice-card { position: relative; display: flex; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.notice-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.notice-card.is-pinned { border-color: var(--accent-200); background: linear-gradient(90deg, var(--accent-50), #fff 40%); }
.notice-card__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.notice-card__title { font-size: 1.15rem; margin: 0; }
.notice-card__title a { color: var(--ink); text-decoration: none; }
.notice-card__title a::after { content: ""; position: absolute; inset: 0; }
.notice-card__title a:hover { color: var(--accent-text); }
@media (max-width: 479px) { .notice-card { flex-direction: column; gap: 12px; } }
.attachment { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 8px 0 4px; border: 1.5px dashed var(--accent-200); border-radius: var(--radius); background: var(--accent-50); text-decoration: none; color: var(--ink); }
.attachment:hover { border-style: solid; color: var(--ink); }
.attachment__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.attachment__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.attachment__body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment__body small { color: var(--muted); }

/* ---------- Kalender ---------- */
.calendar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); min-width: 0; }
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar__title { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.calendar__head .icon-btn { border: 1px solid var(--line); }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calendar__dow { padding: 10px 4px; text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.calendar__dow.is-sunday, .calendar__cell.is-sunday .calendar__num { color: var(--danger); }
.calendar__cell { min-height: 92px; padding: 6px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-width: 0; }
.calendar__cell:nth-child(7n) { border-right: 0; }
.calendar__cell.is-empty { background: var(--bg-soft); }
.calendar__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.calendar__cell.is-today .calendar__num { background: var(--accent); color: var(--on-accent); }
.calendar__events { list-style: none; display: grid; gap: 3px; margin-top: 4px; }
.ev { font-size: .7rem; line-height: 1.3; padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--ev) 14%, #fff); color: color-mix(in srgb, var(--ev) 80%, #000); border-left: 3px solid var(--ev); font-weight: 600; }
.ev span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev--more { --ev: var(--muted); }
@media (max-width: 639px) {
  .calendar__cell { min-height: 54px; padding: 4px 2px; text-align: center; }
  .calendar__num { width: 26px; height: 26px; font-size: .8rem; }
  .calendar__events { display: flex; justify-content: center; gap: 3px; flex-wrap: wrap; }
  .ev { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--ev); }
  .ev span, .ev--more { display: none; }
}
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 8px; font-size: .85rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ev); }
.calendar__subtitle { font-size: 1.15rem; margin: 28px 0 6px; }

/* ---------- Galeri ---------- */
.album-card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgb(2 6 23 / .65); color: #fff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(4px); }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--accent-50); cursor: zoom-in; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.photo-grid__item:hover img { transform: scale(1.06); opacity: .92; }
.back-link { margin-top: 32px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(2 6 23 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(2 6 23 / .6); }
.lightbox__figure { margin: 0; width: min(1200px, 84vw); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox__figure figcaption { font-size: .92rem; color: rgb(255 255 255 / .8); text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgb(255 255 255 / .25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- Profil, guru, prestasi ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 36px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts__item { padding: 18px 20px; border-radius: var(--radius); background: var(--accent-50); border: 1px solid var(--accent-100); }
.facts__item dt { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.facts__item dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.link-card { padding: 26px; gap: 10px; }
.link-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-50); color: var(--accent-text); margin-bottom: 6px; transition: background .3s, color .3s; }
.link-card__icon .icon { width: 26px; height: 26px; }
.link-card:hover .link-card__icon { background: var(--accent); color: var(--on-accent); }
.link-card .link-arrow { margin-top: auto; padding-top: 8px; }
.staff-group + .staff-group { margin-top: 56px; }
.person { text-align: center; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--accent-50), var(--accent-100)); display: grid; place-items: center; margin-bottom: 14px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 1rem; margin: 0 0 2px; }
.person__role { margin: 0; color: var(--accent-text); font-weight: 600; font-size: .88rem; }
.person__meta { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.achievement__rank { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--accent-800); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow-sm); }
.achievement__rank .icon { color: #d97706; }
.detail-list { list-style: none; display: grid; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .88rem; color: var(--ink-2); }
.detail-list li { display: flex; align-items: center; gap: 8px; }
.detail-list .icon { color: var(--accent-text); }

/* ---------- Unduhan ---------- */
.file-list { list-style: none; display: grid; gap: 12px; margin-bottom: 40px; }
.file-item { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.file-item__icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-50); color: var(--accent-text); flex-shrink: 0; }
.file-item__icon::after { content: attr(data-ext); position: absolute; bottom: -6px; right: -6px; padding: 1px 6px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-size: .6rem; font-weight: 800; }
.file-item__body { flex: 1; min-width: 0; }
.file-item__title { font-size: 1rem; margin: 0 0 4px; }
.file-item .btn { padding-inline: 1em; }

/* ---------- Kontak & formulir ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-50); color: var(--accent-text); flex-shrink: 0; }
.info-card h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.info-card p { margin: 0; color: var(--ink); font-weight: 500; }
.info-card a { color: inherit; text-decoration: none; }
.info-card a:hover { color: var(--accent-text); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; outline: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: .84rem; font-weight: 500; }
.req { color: var(--danger); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: .94rem; margin-bottom: 18px; }
.alert .icon { margin-top: 2px; }
.alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert--danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.map-embed { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; min-height: 300px; background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Halaman error ---------- */
.error-page { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.error-page__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--accent), var(--accent-800)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }
.error-page__title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0; }
.error-page__text { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.error-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: rgb(226 232 240 / .72); font-size: .94rem; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(48px, 7vw, 72px); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; } }
.footer-about p { margin: 18px 0 0; max-width: 40ch; }
.footer-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--accent-300); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.footer-meta { display: flex; gap: 16px; }

/* ---------- Tombol melayang ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgb(37 211 102 / .7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.to-top { position: fixed; right: 24px; bottom: 86px; z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top[hidden] { display: none; }


/* =====================================================================
   KOMPONEN KHUSUS LPK JEPANG (multi-bahasa, program, lowongan, fitur eksklusif)
   ===================================================================== */

/* ---------- Bahasa Jepang: font bawaan perangkat (tanpa unduhan tambahan) ---------- */
html[lang="ja"] { --font: "Plus Jakarta Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif; }
html[lang="ja"] body { line-height: 1.8; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: 0; line-height: 1.4; }
html[lang="ja"] .hero__title { line-height: 1.3; max-width: 20ch; }
html[lang="ja"] .eyebrow { letter-spacing: .08em; }

.translation-note { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; font-size: .88rem; }
.translation-note .container { display: flex; align-items: center; gap: 8px; padding-block: 10px; }

/* ---------- Pemilih bahasa ---------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ink); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--accent-50); color: var(--accent-text); }
.lang-switch summary .icon { width: 20px; height: 20px; }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; list-style: none; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 80; }
.lang-switch__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.lang-switch__menu a:hover { background: var(--line-2); color: var(--ink); }
.lang-switch__menu a.is-active { background: var(--accent-50); color: var(--accent-text); font-weight: 700; }
.lang-switch__code { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--line-2); font-size: .7rem; font-weight: 800; color: var(--ink); }
.lang-switch__menu a.is-active .lang-switch__code { background: var(--accent); color: var(--on-accent); }
.main-nav__langs { display: none; }
@media (max-width: 1099px) {
  .lang-switch { display: none; } /* di HP, pilihan bahasa ada di dalam panel menu */
  .main-nav__langs { display: flex; gap: 8px; margin: 18px 24px 0; padding-top: 18px; border-top: 1px solid var(--line); }
  .main-nav__langs a { flex: 1 1 0; min-width: 0; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
  .main-nav__langs a.is-active { border-color: var(--accent); background: var(--accent-50); color: var(--accent-text); }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  .brand__tagline { display: none; }
  .nav-link { padding-inline: 9px; font-size: .9rem; }
}

/* ---------- Hero LPK ---------- */
.hero__sun { position: absolute; right: -8%; top: -18%; width: min(62vw, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .16), rgb(255 255 255 / .04) 60%, transparent 70%); pointer-events: none; z-index: -1; }
.hero__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.hero__title { max-width: 17ch; }
.hero-card { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); border-radius: var(--radius-lg); padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 8px; }
.hero-card__title { display: flex; align-items: center; gap: 8px; margin: 0 4px 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.hero-card__link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.hero-card__link:hover { transform: translateX(4px); color: var(--ink); box-shadow: var(--shadow); }
.hero-card__link > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-50); color: var(--accent-text); }
.hero-card__link span { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.hero-card__link small { font-weight: 500; color: var(--muted); font-size: .8rem; }
@media (max-width: 999px) { .hero-card { display: none; } }

/* ---------- Section tambahan ---------- */
.section-lead { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
/* Motif ombak Jepang (seigaiha) dari CSS murni — tanpa gambar */
.section--pattern {
  --p1: var(--bg-soft); --p2: rgb(var(--accent-rgb) / .045);
  background-color: var(--p1);
  background-image:
    radial-gradient(circle at 100% 150%, var(--p1) 24%, var(--p2) 24% 28%, var(--p1) 28% 36%, var(--p2) 36% 40%, transparent 40%),
    radial-gradient(circle at 0 150%, var(--p1) 24%, var(--p2) 24% 28%, var(--p1) 28% 36%, var(--p2) 36% 40%, transparent 40%),
    radial-gradient(circle at 50% 100%, var(--p1) 10%, var(--p2) 10% 23%, var(--p1) 23% 30%, var(--p2) 30% 43%, var(--p1) 43% 50%, var(--p2) 50% 63%, var(--p1) 63% 71%, transparent 71%),
    radial-gradient(circle at 100% 50%, var(--p1) 5%, var(--p2) 5% 15%, var(--p1) 15% 20%, var(--p2) 20% 29%, var(--p1) 29% 34%, var(--p2) 34% 44%, var(--p1) 44% 49%, transparent 49%),
    radial-gradient(circle at 0 50%, var(--p1) 5%, var(--p2) 5% 15%, var(--p1) 15% 20%, var(--p2) 20% 29%, var(--p1) 29% 34%, var(--p2) 34% 44%, var(--p1) 44% 49%, transparent 49%);
  background-size: 100px 50px;
}
.section--ink { background: radial-gradient(900px 400px at 0% 0%, rgb(var(--accent-rgb) / .35), transparent 60%), #0b1220; color: rgb(226 232 240 / .8); }
.section--ink .section-title { color: #fff; }
.section--ink .eyebrow { color: var(--accent-200); }
.section--ink .section-lead { color: rgb(226 232 240 / .7); }

/* ---------- Kartu program ---------- */
.program-card { padding: 24px; gap: 12px; }
.program-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.program-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent-50); color: var(--accent-text); transition: background .3s, color .3s; }
.program-card__icon .icon { width: 28px; height: 28px; }
.program-card:hover .program-card__icon { background: var(--accent); color: var(--on-accent); }
.program-card__more { margin-top: auto; padding-top: 6px; }

/* ---------- Kartu lowongan ---------- */
.job-card .card__body { gap: 10px; }
.job-card.is-closed { opacity: .72; }
.job-card__loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.job-card__loc .icon { color: var(--accent-text); }
.job-card__salary { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-50); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.job-card__salary strong { font-size: 1.15rem; color: var(--accent-800); letter-spacing: -.01em; }
.job-card__salary span { color: var(--muted); font-size: .85rem; }
.job-card__salary small { width: 100%; color: var(--ink-2); font-size: .8rem; }
.chip--muted { background: var(--line); color: var(--muted); }
.sector { background: var(--accent-50); color: var(--accent-800); }

/* ---------- Alur langkah ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps__item { position: relative; display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps__num { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; box-shadow: 0 0 0 5px var(--accent-100); }
.steps__title { font-size: 1rem; margin: 6px 0 4px; }
.steps__text { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Kartu layanan online (fitur eksklusif) ---------- */
.tool-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); color: #fff; text-decoration: none; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.tool-card:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .25); color: #fff; transform: translateY(-3px); }
.tool-card__icon { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--on-accent); }
.tool-card__icon .icon { width: 26px; height: 26px; }
.tool-card__body { display: flex; flex-direction: column; min-width: 0; }
.tool-card__body strong { font-size: 1.02rem; }
.tool-card__body span { font-size: .86rem; color: rgb(226 232 240 / .7); }
.tool-card__arrow { margin-left: auto; opacity: .5; transition: transform .2s, opacity .2s; }
.tool-card:hover .tool-card__arrow { opacity: 1; transform: translateX(3px); }

/* ---------- Testimoni ---------- */
.testimonial { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.testimonial__quote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.7; flex: 1; }
.testimonial__quote::before { content: "“"; position: absolute; right: 22px; top: 18px; font-size: 4.5rem; line-height: 1; color: var(--accent-100); font-family: Georgia, serif; pointer-events: none; }
.testimonial__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.testimonial__who > span { display: flex; flex-direction: column; min-width: 0; }
.testimonial__who strong { color: var(--ink); }
.testimonial__who small { color: var(--muted); font-size: .82rem; }
.testimonial__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.stars { margin: 0; color: #f59e0b; letter-spacing: 2px; font-size: 1rem; }
.stars span { color: var(--line); }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.03); }
.video-facade__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -8px rgb(0 0 0 / .6); }
.video-facade__play .icon { width: 28px; height: 28px; margin-left: 3px; }
.video-embed { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Logo mitra ---------- */
.partners-title { text-align: center; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logo-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-strip li { display: grid; place-items: center; min-width: 140px; height: 72px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logo-strip img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-strip li:hover img { filter: none; opacity: 1; }
.logo-strip__text { font-weight: 700; font-size: .85rem; color: var(--ink-2); text-align: center; }
.partners-more { text-align: center; margin: 20px 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kotak ajakan & catatan ---------- */
.callout { display: grid; gap: 16px; align-items: center; margin-top: 40px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--accent-50), #fff); border: 1px solid var(--accent-100); }
@media (min-width: 768px) { .callout { grid-template-columns: auto 1fr auto; } }
.callout__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--on-accent); }
.callout__icon .icon { width: 28px; height: 28px; }
.callout__title { font-size: 1.15rem; margin-bottom: 4px; }
.callout p { margin: 0; color: var(--ink-2); }
.note { display: flex; align-items: flex-start; gap: 8px; margin: 24px 0 0; font-size: .88rem; color: var(--muted); }
.note .icon { margin-top: 3px; flex-shrink: 0; }
.note-card { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.note-card h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.note-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---------- Detail program & lowongan ---------- */
.facts--inline, .facts--grid { margin-bottom: 28px; }
@media (min-width: 640px) { .facts--inline { grid-template-columns: repeat(3, 1fr); } .facts--grid { grid-template-columns: repeat(2, 1fr); } }
.facts__item dt { display: flex; align-items: center; gap: 6px; }
.facts__item dt .icon { width: 1em; height: 1em; }
.facts--grid .facts__item dd { font-size: 1rem; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card--accent { border-color: var(--accent-200); box-shadow: 0 20px 40px -28px rgb(var(--accent-rgb) / .6); display: grid; gap: 10px; }
.aside-card--accent .btn { margin-top: 0; }
.aside-card--accent .muted { margin: 4px 0 0; }
.check-list { list-style: none; display: grid; gap: 8px; margin: 0 0 6px; font-size: .92rem; color: var(--ink-2); }
.check-list li { display: flex; gap: 8px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 3px; }
.salary-box { margin: 0 0 4px; display: flex; flex-direction: column; }
.salary-box span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.salary-box strong { font-size: 1.6rem; font-weight: 800; color: var(--accent-800); letter-spacing: -.02em; line-height: 1.2; }
.salary-box small { color: var(--ink-2); }

/* ---------- Formulir pendaftaran ---------- */
.form-section { border: 0; margin: 0; padding: 0 0 8px; display: grid; gap: 18px; min-width: 0; }
.form-section + .form-section { padding-top: 22px; border-top: 1px solid var(--line-2); }
.form-section legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 4px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.form-section legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85rem; }
.field__help { margin: 0; font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); cursor: pointer; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.alert--info { background: var(--accent-50); color: var(--accent-900); border: 1px solid var(--accent-100); }
.alert--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.mini-steps { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.mini-steps li::marker { color: var(--accent); font-weight: 800; }
.aside-card__title { display: flex; align-items: center; gap: 8px; }

.success-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.success-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--success); margin-bottom: 14px; box-shadow: 0 0 0 10px #f0fdf4; }
.success-card__icon .icon { width: 36px; height: 36px; }
.success-card__title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.success-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.code-box { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 22px 0 10px; padding: 20px 28px; border: 2px dashed var(--accent-200); border-radius: var(--radius); background: var(--accent-50); }
.code-box span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.code-box strong { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: .08em; color: var(--accent-800); }
.summary { display: grid; gap: 0; width: 100%; margin: 18px 0 0; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line-2); }
.summary > div:first-child { border-top: 0; }
.summary dt { color: var(--muted); font-size: .88rem; }
.summary dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Cek status ---------- */
.tool-form { display: grid; gap: 16px; margin-bottom: 24px; }
.tool-form .btn { justify-self: start; }
.status-result { display: grid; gap: 20px; }
.status-result__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.status-result__head h2 { margin: 0 0 4px; font-size: 1.4rem; }
.status-result__head p { margin: 0; }
.status-result__sub { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0; }
.status-pill { padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .88rem; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline__item { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.timeline__item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item.is-done:not(:last-child)::before { background: var(--accent); }
.timeline__dot { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--muted); font-weight: 700; font-size: .85rem; position: relative; z-index: 1; }
.timeline__dot .icon { width: 18px; height: 18px; }
.timeline__item > div { display: flex; flex-direction: column; padding-top: 6px; }
.timeline__item strong { color: var(--muted); font-weight: 600; }
.timeline__item small { color: var(--muted); font-size: .8rem; }
.timeline__item.is-done .timeline__dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.timeline__item.is-done strong { color: var(--ink); }
.timeline__item.is-current .timeline__dot { border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 6px var(--accent-100); animation: pulse 2s infinite; }
.timeline__item.is-current strong { color: var(--accent-text); font-weight: 800; }
.timeline__item.is-paused .timeline__dot { border-color: var(--warning); color: var(--warning); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px var(--accent-50); } }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(8, 1fr); gap: 4px; }
  .timeline__item { flex-direction: column; align-items: center; text-align: center; padding-bottom: 0; gap: 8px; }
  .timeline__item:not(:last-child)::before { left: calc(50% + 18px); right: calc(-50% + 18px); top: 17px; bottom: auto; width: auto; height: 2px; }
  .timeline__item > div { padding-top: 0; }
  .timeline__item strong { font-size: .8rem; line-height: 1.35; }
}
.status-notes { list-style: none; display: grid; gap: 10px; }
.status-notes li { padding: 14px 16px; border-radius: 12px; background: var(--accent-50); border-left: 4px solid var(--accent); }
.status-notes time { font-size: .8rem; color: var(--muted); }
.status-notes p { margin: 4px 0 0; color: var(--ink); }

/* ---------- Verifikasi sertifikat ---------- */
.search-big--flush { margin: 0; }
.verify-card { display: flex; gap: 18px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); border: 2px solid; margin-bottom: 8px; }
.verify-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.verify-card p { margin: 0; }
.verify-card__icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
.verify-card__icon .icon { width: 30px; height: 30px; }
.verify-card__body { flex: 1; min-width: 0; }
.verify-card.is-valid { border-color: #86efac; background: #f0fdf4; }
.verify-card.is-valid .verify-card__icon { background: var(--success); color: #fff; }
.verify-card.is-valid h2 { color: #166534; }
.verify-card.is-invalid { border-color: #fecaca; background: #fef2f2; }
.verify-card.is-invalid .verify-card__icon { background: var(--danger); color: #fff; }
.verify-card.is-invalid h2 { color: #991b1b; }
.verify-card .summary { background: #fff; }
@media (max-width: 479px) { .verify-card { flex-direction: column; } .search-big--flush { flex-direction: column; } }

/* ---------- Kalkulator & cek kelayakan ---------- */
.calc { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .calc__result { position: sticky; top: calc(var(--header-h) + 20px); } }
.calc__form { display: grid; gap: 18px; }
.calc__form .section-title { display: flex; align-items: center; gap: 10px; margin: 0; }
.input-affix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-affix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.input-affix span { display: grid; place-items: center; padding: 0 12px; background: var(--bg-soft); color: var(--muted); font-weight: 700; font-size: .9rem; border-right: 1px solid var(--line); white-space: nowrap; }
.input-affix--end span { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.field .input-affix input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; }
.range-value { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--accent-50); color: var(--accent-text); font-weight: 800; }
.field input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; padding: 0; border: 0; box-shadow: none; }
.calc__result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); min-width: 0; }
.result-hero { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--accent), var(--accent-800)); color: rgb(255 255 255 / .85); margin-bottom: 18px; }
.result-hero span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.result-hero small span { font-size: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; }
.result-hero strong { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.result-list { margin: 0; display: grid; }
.result-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.result-list > div:first-child { border-top: 0; }
.result-list dt { color: var(--ink-2); font-size: .94rem; }
.result-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.result-list dd small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.result-list .is-minus dd { color: var(--danger); }
.result-list .is-strong dt, .result-list .is-strong dd { font-weight: 800; }
.result-list .is-accent dd { color: var(--success); font-size: 1.1rem; }
.split-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--line-2); margin: 16px 0 8px; }
.split-bar span { display: block; height: 100%; width: 0; transition: width .4s var(--ease); }
.split-bar__living { background: #f59e0b; }
.split-bar__saving { background: var(--success); }
.split-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: .82rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot--living { background: #f59e0b; }
.dot--saving { background: var(--success); }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; padding: 0; width: 100%; }
.segmented label { position: relative; flex: 1 1 auto; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .9rem; color: var(--ink-2); background: #fff; transition: all .2s; white-space: nowrap; }
.segmented input:checked + span { border-color: var(--accent); background: var(--accent-50); color: var(--accent-text); }
.segmented input:focus-visible + span { outline: 3px solid rgb(var(--accent-rgb) / .45); outline-offset: 2px; }
.check-group { display: grid; gap: 10px; }
.elig-placeholder { text-align: center; color: var(--muted); padding: 32px 12px; }
.elig-summary { margin: 0 0 14px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.elig-list { list-style: none; display: grid; gap: 10px; }
.elig-item { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); }
.elig-item__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.elig-item__name { font-weight: 700; color: var(--ink); }
.elig-item__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.elig-item.is-ok { border-color: #86efac; background: #f0fdf4; }
.elig-item.is-ok .elig-item__badge { background: var(--success); color: #fff; }
.elig-item.is-no .elig-item__badge { background: var(--line); color: var(--ink-2); }
.elig-item__reasons { margin: 0; padding-left: 1.1em; font-size: .86rem; color: var(--danger); }
.elig-item__links { display: flex; gap: 14px; font-size: .88rem; font-weight: 600; }
.elig-warnings { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.elig-warnings li { padding: 10px 14px; border-radius: 12px; background: #fffbeb; color: #92400e; font-size: .88rem; border: 1px solid #fde68a; }

/* ---------- Belajar kana ---------- */
.kana-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-bottom: 24px; }
.segmented--pill label { flex: 0 0 auto; }
.segmented--pill span { border-radius: 999px; }
.kana-panel > .muted { display: flex; align-items: center; justify-content: center; gap: 6px; }
.kana-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 560px; margin-inline: auto; }
.kana-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 1; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: all .2s; font-family: var(--font); }
.kana-cell:hover, .kana-cell.is-playing { border-color: var(--accent); background: var(--accent-50); transform: translateY(-2px); }
.kana-cell__char { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.1; color: var(--ink); font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
.kana-cell__romaji { font-size: .78rem; color: var(--muted); font-weight: 600; }
.kana-cell--empty { visibility: hidden; }
.quiz { max-width: 520px; margin-inline: auto; text-align: center; padding: clamp(20px, 4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.quiz__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.quiz__char { display: block; margin: 16px auto 4px; width: 160px; height: 160px; border-radius: 32px; border: 0; background: linear-gradient(135deg, var(--accent-50), var(--accent-100)); color: var(--ink); font-size: 5.5rem; line-height: 160px; cursor: pointer; font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
.quiz__prompt { color: var(--muted); }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.quiz__options button { padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 1.15rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s; }
.quiz__options button:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-50); }
.quiz__options button.is-correct { border-color: var(--success); background: #dcfce7; color: #166534; }
.quiz__options button.is-wrong { border-color: var(--danger); background: #fee2e2; color: #991b1b; }
.quiz__feedback { min-height: 1.6em; font-weight: 700; }
.quiz__feedback.is-correct { color: var(--success); }
.quiz__feedback.is-wrong { color: var(--danger); }

/* ---------- Halaman lain ---------- */
.month-title { font-size: 1.2rem; margin: 32px 0 10px; display: flex; align-items: center; gap: 10px; }
.month-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.event-list.panel { padding: 8px 20px; }
.past-events { margin-top: 36px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.past-events summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.past-events .event-list { margin-top: 12px; }
.person__bio { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.partner-card__logo { display: grid; place-items: center; height: 120px; padding: 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.partner-card__logo img { max-height: 84px; width: auto; object-fit: contain; }
.partner-card__logo .placeholder { border-radius: var(--radius-sm); }
.partner-card .link-arrow { position: relative; z-index: 1; margin-top: auto; }
.faq-list { display: grid; gap: 10px; margin-bottom: 36px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--accent-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex-shrink: 0; color: var(--muted); transition: transform .25s; }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--accent-text); }
.faq__answer { padding: 0 20px 20px; color: var(--ink-2); line-height: 1.75; }
.info-card--clock small { display: block; font-weight: 500; }
.footer-badges { list-style: none; display: grid; gap: 8px; margin: 16px 0 0; font-size: .85rem; }
.footer-badges li { display: flex; align-items: center; gap: 8px; }
.footer-badges .icon { color: var(--accent-300); }
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { color: #fff; }

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .to-top, .share, .aside, .pagination, .translation-note, .success-card__actions, .page-header .breadcrumb { display: none !important; }
  .content-card { border: 0; padding: 0; }
  .section { padding-block: 0; }
  .code-box { border-color: #000; background: none; }
  body { color: #000; }
}
@media (min-width: 1100px) { .brand__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 210px; line-height: 1.25; } }
