/* ==========================================================================
   OSIS — sistem desain v3
   Dipakai bersama oleh situs publik dan panel admin. Tanpa build step.
   Warna tema (--g1/--g2/--g3/--ang) diisi dari Pengaturan admin
   lewat app/Views/partials/theme.php.
   ========================================================================== */

:root {
  /* tema (nilai bawaan; ditimpa dari pengaturan admin) */
  --g1: #1746d6; --g2: #3b2fc9; --g3: #7b2cbf; --ang: 135deg;
  --grad: linear-gradient(var(--ang), var(--g1), var(--g2), var(--g3));
  --brand: var(--g2); --brand-ink: #2f25a3; --tint: #eeedfb; --tint-2: #dedbf7;

  /* netral */
  --ink: #12142b; --text: #1d2036; --muted: #575c75; --faint: #8a8fa6;
  --line: #e3e5ee; --line-2: #cfd3e2;
  --bg: #fff; --soft: #f6f7fb; --soft-2: #eceef6;
  --hl: #ffe14d;                       /* stabilo: aksen tetap, apa pun tema warnanya */

  /* status */
  --ok: #0e7a4e; --ok-bg: #e3f5ec; --warn: #8a5208; --warn-bg: #fdf0d6; --err: #b4233c; --err-bg: #fde8eb;

  /* bentuk */
  --r1: 4px; --r2: 8px; --r3: 10px; --rp: 999px;
  --sh-pop: 0 18px 40px -14px rgba(18, 20, 43, .38);

  /* tipografi */
  --f-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* tata letak */
  --wrap: 68rem; --pad: clamp(1rem, 3.5vw, 1.75rem); --head-h: 3.5rem;
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --brand-ink: color-mix(in srgb, var(--g2) 82%, #000);
    --tint: color-mix(in srgb, var(--g2) 8%, #fff);
    --tint-2: color-mix(in srgb, var(--g2) 15%, #fff);
  }
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; font-size: 87.5%; }
html.is-admin { font-size: 81.25%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--f-body); font-size: 1rem; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
main { flex: 1; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: calc(48rem + var(--pad) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 200; background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: var(--r2); box-shadow: var(--sh-pop); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.display { font-stretch: 108%; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; }
.xs { font-size: .8125rem; }
.strong { font-weight: 700; }
.center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, .75rem); }
.row-between { justify-content: space-between; }
.ico { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 1rem; height: 1rem; }

/* tautan bergaris stabilo */
.link { font-weight: 700; color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .22em; text-decoration-color: var(--hl); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--brand); }
/* sorotan stabilo saat judul disentuh */
.hl { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 94% / 0 .4em; transition: background-size .35s cubic-bezier(.2, .7, .2, 1); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
a:hover .hl, a:focus-visible .hl, .hl:hover { background-size: 100% .4em; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.4rem; padding: .5rem 1.1rem; border: 1px solid transparent; border-radius: var(--rp); font-weight: 700; font-size: .9rem; line-height: 1.1; text-align: center; cursor: pointer; transition: transform .18s, box-shadow .2s, background-color .2s, color .2s, border-color .2s, filter .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 10px 22px -10px var(--g2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--hl); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #8f1a2f; }
.btn-danger-ghost { background: #fff; color: var(--err); border-color: #efc0c8; }
.btn-danger-ghost:hover { background: var(--err-bg); }
.btn-sm { min-height: 2rem; padding: .3rem .8rem; font-size: .8125rem; }
.btn-lg { min-height: 2.7rem; padding: .6rem 1.4rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; cursor: progress; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.icon-btn:hover { color: var(--ink); border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.icon-btn-glass:hover { background: rgba(255, 255, 255, .28); color: #fff; border-color: #fff; }

/* ---------- Formulir ---------- */
.label { display: block; margin-bottom: .3rem; font-weight: 700; font-size: .875rem; color: var(--ink); }
.req { color: var(--err); }
.opt { font-weight: 500; color: var(--faint); }
.input { width: 100%; min-height: 2.4rem; padding: .5rem .8rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r2); line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--faint); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint-2); }
.input::placeholder { color: var(--faint); }
textarea.input { min-height: 5.5rem; line-height: 1.65; resize: vertical; }
select.input { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23575c75' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1rem; cursor: pointer; }
input[type=color].input { padding: .25rem; cursor: pointer; }
input[type=file].input { padding: .5rem; }
.hint { margin-top: .4rem; font-size: .8125rem; color: var(--muted); }
.field-end { text-align: right; font-size: .75rem; color: var(--faint); margin-top: .3rem; }
.search { position: relative; flex: 1 1 14rem; max-width: none; }
.search .ico { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; width: 1.05rem; height: 1.05rem; }
.search .input { padding-left: 2.65rem; border-radius: var(--r2); }
.sel { display: inline-block; }
.sel .input { border-radius: var(--r2); font-weight: 600; padding-left: 1.1rem; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.alert { padding: .7rem .9rem; border-radius: var(--r2); font-size: .875rem; }
.alert-err { background: var(--err-bg); color: #7a1427; border: 1px solid #f3c2ca; }
.alert-warn { background: var(--warn-bg); color: #5f3805; border: 1px solid #f0d9a3; }
.alert ul { margin: .35rem 0 0 1.1rem; list-style: disc; }

/* pilihan kapsul & saklar */
.chip-opt { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.1rem; padding: .35rem .9rem; border-radius: var(--rp); border: 1px solid var(--line-2); background: #fff; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: all .18s; }
.chip-opt:hover { border-color: var(--ink); color: var(--ink); }
input:checked + .chip-opt { background: var(--ink); border-color: var(--ink); color: #fff; }
input:focus-visible + .chip-opt { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch { position: relative; flex: none; width: 2.9rem; height: 1.6rem; border-radius: var(--rp); background: var(--line-2); transition: background .2s; }
.switch::after { content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .22s cubic-bezier(.3, .8, .3, 1.2); }
input:checked + .switch { background: var(--grad); }
input:checked + .switch::after { transform: translateX(1.3rem); }
input:focus-visible + .switch { outline: 2px solid var(--brand); outline-offset: 2px; }
.check-row { display: flex; align-items: center; gap: .75rem; cursor: pointer; user-select: none; }

/* unggah foto */
.upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: 1.1rem .9rem; text-align: center; border: 2px dashed var(--line-2); border-radius: var(--r2); background: var(--soft); color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--brand); background: var(--tint); color: var(--brand-ink); }
.upload-zone:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.file-card { display: flex; align-items: center; gap: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--r2); background: #fff; }
.file-card img { object-fit: cover; border: 1px solid var(--line); flex: none; }
.file-card .thumb-sq { width: 7rem; height: 4.75rem; border-radius: var(--r2); }
.file-card .thumb-round { width: 4rem; height: 4rem; border-radius: 50%; }

/* ---------- Segmen / tab ---------- */
.seg { display: inline-flex; gap: .125rem; max-width: 100%; overflow-x: auto; padding: .25rem; border-radius: var(--rp); background: var(--soft-2); scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.tab-btn { flex: none; padding: .4rem .9rem; border-radius: var(--rp); font-weight: 700; font-size: .875rem; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(18, 20, 43, .18); }
.tab-n { margin-left: .3rem; font-size: .75rem; opacity: .6; font-variant-numeric: tabular-nums; }

/* ---------- Lencana ---------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .65rem; border-radius: var(--rp); font-size: .75rem; font-weight: 700; background: var(--soft-2); color: var(--muted); white-space: nowrap; }
.badge::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-info { background: var(--tint-2); color: var(--brand-ink); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.pill { display: inline-flex; align-items: center; padding: .15rem .65rem; border-radius: var(--rp); font-size: .75rem; font-weight: 700; background: var(--tint); color: var(--brand-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -16px rgba(18, 20, 43, .35); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark { flex: none; width: 2.1rem; height: 2.1rem; object-fit: contain; }
.brand-mark-ph { display: grid; place-items: center; border-radius: var(--r2); background: var(--grad); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: .95rem; }
.brand-txt { min-width: 0; line-height: 1.15; }
.brand-name { display: block; font-family: var(--f-display); font-weight: 800; font-size: .95rem; letter-spacing: -.02em; color: var(--ink); }
.brand-sub { display: block; font-size: .7rem; color: var(--muted); }
.nav { display: none; align-items: center; gap: .15rem; }
.nav a, .nav .dd-btn { position: relative; padding: .4rem .7rem; border-radius: var(--rp); font-weight: 600; font-size: .875rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover, .nav .dd-btn:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current=page] { color: var(--ink); }
.nav a[aria-current=page]::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .1rem; height: 2px; border-radius: 3px; background: var(--hl); }
.nav .btn { margin-left: .5rem; color: #fff; }
.nav .btn::after { display: none !important; }
.nav .btn[aria-current=page] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--hl); }
.nav .btn:hover { color: #fff; background: var(--grad); }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: .3rem; }
.dd-btn .ico { width: .9rem; height: .9rem; stroke-width: 2.4; transition: transform .2s; }
.dd-btn[aria-expanded=true] .ico { transform: rotate(180deg); }
.dd-btn-pill { border: 1px solid var(--line-2); padding: .4rem .85rem !important; font-size: .8125rem !important; font-weight: 700 !important; margin-left: .35rem; }
.dd-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 50; min-width: 13rem; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--sh-pop); animation: pop .18s ease; }
.dd-panel a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; border-radius: 8px; font-size: .9375rem; font-weight: 500; color: var(--text); }
.dd-panel a:hover { background: var(--soft); color: var(--ink); }
.dd-panel a[aria-current=true] { font-weight: 700; color: var(--brand-ink); }
.dd-panel a::after { display: none !important; }
.menu-btn { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-right: -.5rem; border-radius: 50%; color: var(--ink); }
.menu-btn:hover { background: var(--soft); }
.mobile-menu { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s .3s; }
.mobile-menu.open { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.mobile-menu > div { overflow: hidden; }
.mobile-menu nav { padding: .5rem var(--pad) 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu nav > a { display: block; padding: .65rem .5rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu nav > a[aria-current=page] { color: var(--brand-ink); }
.mobile-menu .btn { margin-top: 1rem; }
.mobile-menu .pl { margin-top: 1.1rem; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.mobile-menu .pl-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.mobile-menu .pl-list a { padding: .4rem .9rem; border: 1px solid var(--line-2); border-radius: var(--rp); font-size: .875rem; }
.mobile-menu .pl-list a[aria-current=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn, .mobile-menu { display: none; } }

/* ---------- Info berjalan ---------- */
.ticker { background: var(--ink); color: #e8eaf6; font-size: .8125rem; }
.ticker-in { display: flex; align-items: center; gap: 1rem; }
.ticker-tag { flex: none; background: var(--hl); color: var(--ink); font-weight: 800; padding: .15rem .65rem; border-radius: var(--r1); font-size: .8125rem; }
.ticker-view { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); mask: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; padding-block: .4rem; animation: tick 40s linear infinite; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { margin-inline: 2rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; min-height: clamp(calc(var(--hero-h, 400px) * .6), 46vw, var(--hero-h, 400px)); display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: kenburns 9s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 43, .9), rgba(18, 20, 43, .55) 58%, rgba(18, 20, 43, .3)), linear-gradient(0deg, rgba(18, 20, 43, .75), transparent 45%); }
.hero-period { position: absolute; z-index: -1; right: -2%; top: 4%; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(5rem, 18vw, 12rem); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .11); white-space: nowrap; user-select: none; pointer-events: none; }
.hero-body { flex: 1; display: flex; align-items: flex-end; }
.hero-inner { width: 100%; display: grid; gap: 1.5rem; align-items: end; padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.hero-copy { min-width: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.chip-glass { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: var(--rp); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 600; }
.chip-glass img { width: 1rem; height: 1rem; object-fit: contain; }
.hero-title { font-size: clamp(1.7rem, 4.4vw, 2.9rem); font-stretch: 110%; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff; max-width: 22ch; overflow-wrap: break-word; }
.hero-sub { margin-top: .75rem; max-width: 32rem; font-size: clamp(.875rem, 1.5vw, 1rem); color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.hero-foot { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(18, 20, 43, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .55rem; }
.hero-cap { flex: 1 1 18rem; min-width: 0; transition: opacity .3s; }
.hero-cap small { display: block; font-size: .6875rem; color: rgba(255, 255, 255, .65); font-weight: 600; }
.hero-cap strong { display: block; font-family: var(--f-display); font-size: .9rem; line-height: 1.25; }
.hero-cap a { font-size: .8125rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.hero-ctl { display: flex; align-items: center; gap: 1rem; }
.hero-bars { display: flex; gap: .35rem; width: 7rem; }
.hero-bars button { position: relative; flex: 1; height: 1.5rem; }
.hero-bars button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: rgba(255, 255, 255, .3); }
.hero-bars [data-fill] { position: absolute; left: 0; top: 50%; height: 3px; width: 0; transform: translateY(-50%); border-radius: 3px; background: var(--hl); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrows .icon-btn { width: 2rem; height: 2rem; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* satu momen masuk yang terorkestrasi: judul naik berurutan, tiket jatuh dan mengendap */
.js .hero [data-in] { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .hero .ticket-wrap[data-in] { animation: settle .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { 0% { opacity: 0; transform: translateY(-22px) rotate(-2.5deg); } 60% { opacity: 1; transform: translateY(4px) rotate(.6deg); } 100% { opacity: 1; transform: none; } }

/* ---------- Tiket aspirasi (elemen khas) ---------- */
.ticket-wrap { --stub: 4.25rem; filter: drop-shadow(0 18px 26px rgba(18, 20, 43, .3)); }
.ticket { display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: var(--r3);
  -webkit-mask: radial-gradient(circle 12px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat; }
.ticket-main { padding: 1.1rem 1.1rem 1rem; }
.ticket-main h2 { font-size: 1.1rem; }
.ticket-main p { margin: .3rem 0 .75rem; font-size: .825rem; color: var(--muted); }
.ticket-input { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.ticket-input::placeholder { text-transform: none; letter-spacing: .02em; font-weight: 500; font-family: var(--f-body); }
.ticket-stub { height: var(--stub); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.5rem; font-size: .875rem; color: var(--muted); border-top: 2px dashed var(--line-2); background: var(--soft); }

/* ---------- Statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { display: block; padding: 1rem .9rem 1rem 0; transition: background .2s; }
.stat:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .3rem; font-size: .8125rem; color: var(--muted); }
.stat:hover span { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(even) { padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); border-top: 0; }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Bagian halaman ---------- */
.section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-soft { background: var(--soft); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1rem, 2.2vw, 1.5rem); }
.sec-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.025em; }
.sec-head p { margin-top: .3rem; font-size: .9rem; max-width: 34rem; color: var(--muted); }

.page-head { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .75rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--line-2); }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs [aria-current=page] { color: var(--text); font-weight: 600; }
.page-head h1 { margin-top: .6rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.page-head .lead { margin-top: .5rem; max-width: 40rem; font-size: .95rem; color: var(--muted); }
.page-body { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 5vw, 3.5rem); }

.empty { padding: 2.25rem 1.25rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r3); background: var(--soft); }
.empty strong { display: block; font-family: var(--f-display); font-size: 1rem; color: var(--ink); }
.empty p { margin-top: .4rem; color: var(--muted); font-size: .9375rem; }

/* ---------- Mengenal OSIS ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .about-grid.has-chair { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.about-text { margin-top: .9rem; font-size: 1rem; color: var(--muted); max-width: 38rem; }
.vision { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.vision h3, .mission h3 { font-size: 1rem; font-family: var(--f-body); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.vision p { margin-top: .6rem; font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.mission { margin-top: 1.75rem; }
.mission ul { margin-top: .9rem; display: grid; gap: .8rem; }
.mission li { display: flex; gap: .85rem; line-height: 1.55; }
.mission li::before { content: ''; flex: none; width: .55rem; height: .55rem; margin-top: .55rem; border-radius: 2px; background: var(--hl); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.chair { border-radius: var(--r3); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.chair-photo { position: relative; aspect-ratio: 5 / 4; background: var(--grad); }
.chair-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chair-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-stretch: 112%; font-size: 3.5rem; font-weight: 800; color: rgba(255, 255, 255, .92); }
.chair-name { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.4rem 1.2rem; background: linear-gradient(0deg, rgba(18, 20, 43, .85), transparent); color: #fff; }
.chair-name strong { display: block; font-family: var(--f-display); font-size: 1.1rem; }
.chair-name span { font-size: .875rem; opacity: .85; }
.chair-body { padding: 1.1rem; }
.chair-body h3 { font-size: 1rem; }
.chair-msg { position: relative; margin-top: .8rem; overflow: hidden; color: var(--muted); line-height: 1.75; transition: max-height .5s ease; }
.chair-msg p + p { margin-top: .8rem; }
.chair-msg.is-long { max-height: 10rem; }
.chair-fade { position: absolute; inset: auto 0 0 0; height: 4.5rem; background: linear-gradient(0deg, #fff, transparent); pointer-events: none; }

/* ---------- Program kerja ---------- */
.prog-list { border-top: 1px solid var(--line); }
.prog { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 760px) { .prog { grid-template-columns: 3.5rem minmax(0, 1fr) 11rem; gap: 1.5rem; align-items: center; } }
.prog-date { text-align: center; line-height: 1; padding-top: .15rem; }
.prog-date b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); }
.prog-date span { display: block; margin-top: .3rem; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.prog-date.is-empty b { color: var(--line-2); }
.prog-main { display: flex; gap: 1rem; min-width: 0; }
.prog-thumb { flex: none; width: 4.5rem; height: 3.5rem; border-radius: var(--r2); object-fit: cover; background: var(--soft-2); }
.prog-top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.prog-div { font-size: .8125rem; font-weight: 700; color: var(--brand-ink); }
.prog h3 { margin-top: .25rem; font-size: 1.05rem; letter-spacing: -.015em; }
.prog p { margin-top: .3rem; font-size: .85rem; color: var(--muted); }
.prog-aside { grid-column: 2; }
@media (min-width: 760px) { .prog-aside { grid-column: auto; } }
.prog-range { font-size: .8125rem; color: var(--muted); margin-bottom: .6rem; }
.prog-pct { display: flex; justify-content: space-between; font-size: .8125rem; margin-bottom: .35rem; color: var(--muted); }
.prog-pct b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: .4rem; border-radius: var(--rp); background: var(--soft-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--grad); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar-indeterminate { position: relative; }
.bar-indeterminate::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: var(--grad); animation: indet 1.6s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- Berita ---------- */
.thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r2); overflow: hidden; background: var(--grad); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
a:hover > .thumb img, a:focus-visible > .thumb img { transform: scale(1.04); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .65rem; font-size: .75rem; color: var(--muted); }
.meta .cat { font-weight: 700; color: var(--brand-ink); }
.news-card { display: flex; flex-direction: column; gap: .9rem; height: 100%; }
.news-card h3 { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.015em; }
.news-card p { font-size: .85rem; color: var(--muted); }
.news-grid { display: grid; gap: 1.5rem 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.news-feature { display: grid; gap: 1.25rem 2.5rem; align-items: center; }
.news-feature .thumb { aspect-ratio: 4 / 3; border-radius: var(--r3); }
.news-feature h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.news-feature .sum { margin-top: .6rem; font-size: .9rem; color: var(--muted); }
@media (min-width: 860px) { .news-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.news-split { display: grid; gap: 1.75rem; }
@media (min-width: 960px) { .news-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; } .news-split .news-feature { grid-template-columns: 1fr; align-items: start; } .news-split .news-feature .thumb { aspect-ratio: 16 / 10; } }
.news-rows { display: grid; align-content: start; }
.news-row { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: .8rem; padding-block: .85rem; border-bottom: 1px solid var(--line); align-items: start; }
.news-rows .news-row:first-child { padding-top: 0; }
.news-row h3 { margin-top: .25rem; font-size: .925rem; line-height: 1.28; letter-spacing: -.01em; }
.news-row .thumb { aspect-ratio: 4 / 3; border-radius: 10px; }

/* ---------- Kegiatan ---------- */
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) .75rem; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 min(72%, 15rem); scroll-snap-align: start; }
.act { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5; border-radius: var(--r3); overflow: hidden; background: var(--ink); color: #fff; }
.act-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); }
.act-grid .act { aspect-ratio: 4 / 4.4; }
.act > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.act:hover > img { transform: scale(1.05); }
.act-ph { position: absolute; inset: 0; z-index: -2; background: var(--grad); }
.act::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 20, 43, .9), rgba(18, 20, 43, .05) 62%); }
.act-in { position: absolute; inset: auto 0 0 0; padding: .9rem; }
.act-date { display: inline-block; padding: .1rem .5rem; border-radius: var(--r1); background: var(--hl); color: var(--ink); font-weight: 800; font-size: .75rem; }
.act h3 { margin-top: .5rem; font-size: 1.05rem; line-height: 1.15; color: #fff; }
.act p { margin-top: .25rem; font-size: .8rem; color: rgba(255, 255, 255, .8); }

/* ---------- Anggota ---------- */
.group-title { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.group-title h3 { font-size: 1.1rem; }
.group-title span { font-size: .875rem; color: var(--muted); }
.members { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .members { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.member-photo { aspect-ratio: 1; border-radius: var(--r3); overflow: hidden; background: var(--grad); display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-photo b { font-family: var(--f-display); font-stretch: 118%; font-size: 2.4rem; font-weight: 800; color: rgba(255, 255, 255, .92); }
.member strong { display: block; margin-top: .6rem; font-family: var(--f-display); font-size: .9rem; line-height: 1.2; }
.member span { display: block; margin-top: .15rem; font-size: .8rem; font-weight: 600; color: var(--brand-ink); }
.member small { display: block; margin-top: .15rem; font-size: .8125rem; color: var(--muted); }
.duo { display: grid; gap: 1.75rem 3rem; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA aspirasi ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r3); padding: clamp(1.75rem, 5vw, 4rem); display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.2fr 1fr; } }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-stretch: 110%; font-weight: 800; letter-spacing: -.035em; }
.cta p.lead { margin-top: 1rem; max-width: 30rem; color: rgba(255, 255, 255, .78); }
.cta .btn { margin-top: 1.75rem; }
.steps { display: grid; gap: 1rem; counter-reset: s; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r2); background: rgba(255, 255, 255, .05); counter-increment: s; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--hl); color: var(--ink); font-weight: 800; font-size: .875rem; }
.steps-light li { border-color: var(--line); background: #fff; }
.steps-light li::before { background: var(--ink); color: #fff; }
.steps-light b { color: var(--ink); }

/* ---------- Artikel ---------- */
.read-bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; pointer-events: none; }
.read-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.article-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; } }
.article-head h1 { margin-top: .75rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.byline .av { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-right: .6rem; border-radius: 50%; background: var(--tint-2); color: var(--brand-ink); font-weight: 800; font-size: .8125rem; }
.byline b { color: var(--ink); }
.byline .who { display: inline-flex; align-items: center; }
.figure { margin-top: 1.75rem; }
.figure img { width: 100%; max-height: 24rem; object-fit: cover; border-radius: var(--r3); cursor: zoom-in; }
.lead-in { margin-top: 1.25rem; max-width: 42rem; font-size: 1.1rem; line-height: 1.55; font-weight: 500; color: var(--ink); }
.prose { margin-top: 1.25rem; max-width: 42rem; font-size: 1rem; line-height: 1.75; color: #262a42; }
.prose p + p { margin-top: 1.3em; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share-label { font-size: .875rem; font-weight: 700; color: var(--muted); margin-right: .25rem; }
.share-box { margin-top: 2.5rem; padding: 1.25rem; border-radius: var(--r2); background: var(--soft); }
.share-box p { margin-bottom: .75rem; font-weight: 700; color: var(--ink); }
.aside-block + .aside-block { margin-top: 2.25rem; }
.aside-block h2 { padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); font-size: 1.05rem; }
.mini { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: .9rem; padding-block: .85rem; border-bottom: 1px solid var(--line); align-items: start; }
.mini .thumb { aspect-ratio: 1; border-radius: 10px; }
.mini h3 { font-size: .95rem; line-height: 1.3; letter-spacing: -.005em; font-family: var(--f-body); font-weight: 700; }
.mini small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--muted); }
.rank { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .6rem; padding-block: .85rem; border-bottom: 1px solid var(--line); align-items: start; }
.rank > b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--line-2); font-variant-numeric: tabular-nums; }
.rank h3 { font-size: .95rem; line-height: 1.3; font-family: var(--f-body); font-weight: 700; }
.rank small { display: block; margin-top: .25rem; font-size: .75rem; color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.cats a { padding: .4rem .9rem; border: 1px solid var(--line-2); border-radius: var(--rp); font-size: .875rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.cats a:hover { border-color: var(--ink); color: var(--ink); background: var(--hl); }
@media (min-width: 1000px) { .article-aside { position: sticky; top: 5.5rem; align-self: start; } }
.related { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

/* ---------- Aspirasi ---------- */
.aspirasi-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .aspirasi-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.25rem; } .aspirasi-aside { position: sticky; top: 5.5rem; } }
.panel { padding: clamp(1rem, 2.5vw, 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.panel-soft { background: var(--soft); border-color: transparent; }
.form-stack > * + * { margin-top: 1.25rem; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; font-weight: 700; color: var(--ink); }
.identity { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease, opacity .3s; }
.identity.is-off { grid-template-rows: 0fr; opacity: 0; }
.identity > div { overflow: hidden; }
.identity-grid { display: grid; gap: 1rem; padding-top: 1rem; }
@media (min-width: 640px) { .identity-grid { grid-template-columns: 1fr 1fr; } }
.ticket-light .ticket { background: #fff; }
.ticket-light .ticket-wrap, .ticket-wrap.is-light { filter: drop-shadow(0 8px 16px rgba(18, 20, 43, .16)); }

.track-card { border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; background: #fff; }
.track-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.1rem; background: var(--soft); border-bottom: 2px dashed var(--line-2); }
.track-code { font-family: var(--f-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.35rem, 3.6vw, 1.8rem); letter-spacing: .04em; color: var(--ink); line-height: 1.1; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.75rem 1.5rem 0; }
.stepper li { position: relative; text-align: center; font-size: .875rem; color: var(--muted); }
.stepper li::before { content: ''; position: absolute; top: 1.1rem; right: 50%; left: -50%; height: 3px; background: var(--soft-2); }
.stepper li:first-child::before { display: none; }
.stepper li.done::before { background: var(--ink); }
.stepper .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: 0 auto .5rem; border-radius: 50%; background: var(--soft-2); color: var(--muted); font-weight: 800; font-size: .875rem; }
.stepper li.done .dot { background: var(--ink); color: #fff; }
.stepper li.now .dot { background: var(--hl); color: var(--ink); box-shadow: 0 0 0 4px var(--tint-2); }
.stepper li.now { color: var(--ink); font-weight: 700; }
.track-body { padding: 1.1rem; display: grid; gap: 1.1rem; }
.track-body h2 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 700; }
.pre { white-space: pre-line; }
.reply { padding: 1.25rem; border-radius: var(--r2); background: var(--soft); }
.reply.has { background: var(--tint); }
.shot { max-height: 18rem; border-radius: var(--r2); border: 1px solid var(--line); object-fit: cover; cursor: zoom-in; width: auto; }

/* ---------- Paginasi ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; font-size: .8125rem; color: var(--muted); }
.pager b { color: var(--ink); }
.pager nav { display: flex; flex-wrap: wrap; gap: .35rem; }
.pager a, .pager span.p { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .6rem; border: 1px solid var(--line-2); border-radius: var(--r2); font-weight: 700; background: #fff; transition: all .15s; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager span.p.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager span.p.off { background: var(--soft); border-color: transparent; color: var(--line-2); }
.pager span.gap { padding: 0 .25rem; align-self: center; color: var(--faint); }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: var(--ink); color: #b9bdd6; font-size: .85rem; }
.foot-grid { display: grid; gap: 1.75rem; padding-block: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; } }
.foot-brand { display: flex; align-items: center; gap: .75rem; }
.foot-brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.foot-brand strong { font-family: var(--f-display); font-size: 1.05rem; color: #fff; letter-spacing: -.02em; }
.foot-about { margin-top: 1rem; max-width: 24rem; line-height: 1.7; }
.site-footer h2 { font-family: var(--f-body); font-size: .85rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: .75rem; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.foot-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.foot-social a { padding: .4rem .95rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--rp); font-size: .875rem; font-weight: 600; }
.foot-social a:hover { background: var(--hl); color: var(--ink); border-color: var(--hl); text-decoration: none; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: .9rem; font-size: .75rem; color: #8f94b3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; opacity: 0; pointer-events: none; transform: translateY(.75rem); transition: opacity .3s, transform .3s, background .2s; box-shadow: 0 8px 20px -8px rgba(18, 20, 43, .5); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Toast, dialog, lightbox ---------- */
#toasts { position: fixed; z-index: 120; top: 1rem; right: 1rem; left: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; pointer-events: none; }
.toast { pointer-events: auto; width: 100%; max-width: 22rem; display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .85rem; background: var(--ink); color: #fff; border-radius: var(--r2); box-shadow: var(--sh-pop); font-size: .85rem; animation: toastIn .4s cubic-bezier(.2, .9, .3, 1.15); }
.toast.out { animation: toastOut .25s ease forwards; }
.toast .t-ico { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; }
.toast .t-ico svg { width: .95rem; height: .95rem; }
.toast-success .t-ico { background: #17a56b; color: #fff; }
.toast-error .t-ico { background: #e5484d; color: #fff; }
.toast-info .t-ico { background: var(--hl); color: var(--ink); }
.toast .msg { flex: 1; line-height: 1.45; padding-top: .1rem; word-break: break-word; }
.toast .x { flex: none; color: #9aa0c2; font-size: 1.35rem; line-height: 1; padding: 0 .15rem; }
.toast .x:hover { color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(16px); } }
.modal-wrap { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-back { position: absolute; inset: 0; background: rgba(18, 20, 43, .5); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal-card { position: relative; width: 100%; max-width: 23rem; padding: 1.25rem; background: #fff; border-radius: var(--r3); box-shadow: var(--sh-pop); animation: pop .28s cubic-bezier(.2, .9, .3, 1.15); }
.modal-card h3 { font-size: 1.2rem; }
.modal-card .mdMsg { margin-top: .6rem; font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.5rem; }
.lightbox { position: fixed; inset: 0; z-index: 140; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; background: rgba(18, 20, 43, .92); animation: fade .2s ease; cursor: zoom-out; }
.lightbox img { max-width: min(96vw, 1200px); max-height: 82vh; border-radius: var(--r2); object-fit: contain; animation: pop .3s cubic-bezier(.2, .9, .3, 1.1); }
.lightbox p { margin-top: .9rem; max-width: 40rem; text-align: center; font-size: .9rem; color: #dfe2f5; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
[data-lightbox] { cursor: zoom-in; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; width: 1em; height: 1em; margin-right: .1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- Panel admin ---------- */
.adm { display: flex; min-height: 100vh; background: var(--soft); }
.adm-side { position: fixed; inset: 0 auto 0 0; z-index: 50; width: 14.5rem; display: flex; flex-direction: column; background: var(--ink); color: #b9bdd6; transform: translateX(-100%); transition: transform .3s ease; }
.adm-side.open { transform: none; }
.adm-back { position: fixed; inset: 0; z-index: 45; background: rgba(18, 20, 43, .5); backdrop-filter: blur(2px); }
.adm-brand { display: flex; align-items: center; gap: .75rem; height: var(--head-h); padding: 0 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.adm-brand img { width: 1.9rem; height: 1.9rem; object-fit: contain; }
.adm-brand strong { font-family: var(--f-display); font-size: .95rem; letter-spacing: -.01em; }
.adm-nav { flex: 1; overflow-y: auto; padding: .5rem; font-size: .9rem; }
.adm-group { padding: .9rem .65rem .3rem; font-size: .7rem; font-weight: 700; color: #7c82a8; }
.adm-nav a { position: relative; display: flex; align-items: center; gap: .65rem; padding: .45rem .65rem; border-radius: var(--r2); font-weight: 600; transition: background .15s, color .15s; }
.adm-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-nav a[aria-current=page] { background: rgba(255, 255, 255, .1); color: #fff; }
.adm-nav a[aria-current=page]::before { content: ''; position: absolute; left: -.5rem; top: .45rem; bottom: .45rem; width: 3px; border-radius: 0 4px 4px 0; background: var(--hl); }
.adm-nav .count { margin-left: auto; padding: .05rem .5rem; border-radius: var(--rp); background: var(--hl); color: var(--ink); font-size: .75rem; font-weight: 800; }
.adm-foot { padding: .5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; font-weight: 600; }
.adm-foot a { display: block; padding: .4rem .65rem; border-radius: var(--r2); }
.adm-foot a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-foot a.out:hover { color: #ff9aa5; }
.adm-main { flex: 1; min-width: 0; }
.adm-top { position: sticky; top: 0; z-index: 30; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--pad); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.adm-top h1 { font-size: 1.05rem; letter-spacing: -.02em; }
.adm-user { display: flex; align-items: center; gap: .6rem; padding: .25rem .75rem .25rem .25rem; border-radius: var(--rp); font-weight: 600; font-size: .875rem; }
.adm-user:hover { background: var(--soft); }
.adm-user .av { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; }
.adm-content { padding: clamp(.85rem, 2.2vw, 1.25rem); max-width: 78rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .adm-side { position: sticky; top: 0; height: 100vh; transform: none; flex: none; }
  .adm-back, .adm-menu { display: none !important; }
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.card-pad { padding: clamp(.9rem, 2.2vw, 1.25rem); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.card-head h2, .card h2.t { font-size: .95rem; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.table th { padding: .55rem .75rem; text-align: left; font-weight: 700; font-size: .75rem; color: var(--muted); white-space: nowrap; background: var(--soft); border-bottom: 1px solid var(--line); }
.table th a { display: inline-flex; align-items: center; gap: .25rem; }
.table th a:hover, .table th a.on { color: var(--ink); }
.table td { padding: .5rem .75rem; vertical-align: middle; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--soft); }
.table .nowrap { white-space: nowrap; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions form { display: inline; }
.table .thumb-mini { width: 2.75rem; height: 2rem; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.kpis { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.kpi { display: block; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r3); transition: border-color .2s, transform .2s; }
.kpi:hover { border-color: var(--ink); transform: translateY(-2px); }
.kpi .ico { color: var(--brand-ink); }
.kpi b { display: block; margin-top: .5rem; font-family: var(--f-display); font-stretch: 106%; font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: .8rem; color: var(--muted); }
.dash-grid { display: grid; gap: .9rem; margin-top: .9rem; }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.list-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.list-row:hover { background: var(--soft); }
.list-row:last-child { border-bottom: 0; }
.avatar { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--tint-2); color: var(--brand-ink); font-size: .75rem; font-weight: 800; }
.status-bar { display: flex; height: .6rem; border-radius: var(--rp); overflow: hidden; background: var(--soft-2); }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; }
.bg-rose { background: #e5484d; } .bg-amber { background: #f5a524; } .bg-green { background: #17a56b; }
.kv { display: grid; gap: .75rem 1.25rem; font-size: .85rem; }
@media (min-width: 640px) { .kv { grid-template-columns: 1fr 1fr; } }
.kv dt { font-size: .8125rem; color: var(--muted); }
.kv dd { margin: .15rem 0 0; font-weight: 700; color: var(--ink); }
.save-bar { position: sticky; bottom: .75rem; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .55rem; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: var(--r3); box-shadow: 0 14px 30px -14px rgba(18, 20, 43, .35); }
.form-narrow { max-width: 42rem; }
.form-grid { display: grid; gap: .9rem; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid.three { grid-template-columns: repeat(3, 1fr); } .form-grid.four { grid-template-columns: repeat(4, 1fr); } }
.swatch { height: 5.5rem; border-radius: var(--r2); display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--ink); }
.auth-card { width: 100%; max-width: 21rem; padding: 1.5rem; background: #fff; border-radius: var(--r3); box-shadow: var(--sh-pop); animation: pop .4s ease; }
.auth-card h1 { font-size: 1.3rem; }

/* ---------- Halaman galat ---------- */
.err-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.err-page .code { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 24vw, 12rem); line-height: .85; letter-spacing: -.05em; color: var(--ink); }
.err-page .code span { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 100% .22em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}

/* tambahan admin */
.hidden-sm { display: none; }
@media (min-width: 760px) { .hidden-sm { display: inline; } }
.adm-content > .alert { margin-bottom: 1.25rem; }
.page-title { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-stretch: 108%; font-weight: 800; letter-spacing: -.03em; }
.adm-top > .row:first-child { flex: 1; min-width: 0; }
.adm-top > .row:last-child { flex: none; }
.adm-top select { max-width: 8.5rem; }
@media (min-width: 640px) { .adm-top select { max-width: none; } }

/* kolom isian tetap 16px di layar sentuh agar iOS tidak memperbesar halaman saat fokus */
@media (max-width: 640px) { .input, select.input, textarea.input { font-size: 16px; } }

/* ---------- Foto pengurus (beranda) ---------- */
.team { margin: 0; }
.team-photo { position: relative; overflow: hidden; border-radius: var(--r3); background: var(--grad); aspect-ratio: 16 / 7; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.team-cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem .9rem; background: linear-gradient(0deg, rgba(18, 20, 43, .82), transparent); color: #fff; pointer-events: none; }
.team-cap strong { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.team-cap span { font-size: .8rem; opacity: .85; }
@media (max-width: 640px) { .team-photo { aspect-ratio: 4 / 3; } }

/* ---------- Produk ---------- */
.aff-strip { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .aff-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .aff-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aff-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; min-width: 0; min-height: 10.5rem; padding: 1.1rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.aff-logo:hover, .aff-logo:focus-visible { border-color: var(--brand); box-shadow: 0 12px 24px -16px rgba(18, 20, 43, .45); transform: translateY(-2px); }
.aff-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 6rem; overflow: hidden; }
.aff-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.aff-name { font-size: .85rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.aff-logo:hover .aff-name { color: var(--brand-ink); }
.aff-ph { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: var(--r2); background: var(--tint-2); color: var(--brand-ink); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; }
.aff-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.aff-card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; overflow: hidden; padding: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r3); transition: border-color .2s, box-shadow .2s; }
.aff-card:hover { border-color: var(--brand); box-shadow: 0 14px 28px -18px rgba(18, 20, 43, .45); }
.aff-card-logo { display: flex; align-items: center; justify-content: center; height: 8rem; padding: 1rem; overflow: hidden; border-radius: var(--r2); background: var(--soft); }
.aff-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.aff-card h3 { font-size: 1rem; }
.aff-card p { flex: 1; font-size: .85rem; color: var(--muted); }
.aff-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .8125rem; font-weight: 700; color: var(--brand-ink); }
.aff-card:hover .aff-link { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- Tombol bagikan: warna & ikon tiap media ---------- */
.share .btn { gap: .4rem; }
.btn-brand { color: #fff; border-color: transparent; }
.btn-brand:hover { filter: brightness(1.1); color: #fff; }
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-tg { background: #26a5e4; }
.ico-fill { fill: currentColor; stroke: none; }
.ico-fill.ico-sm { width: .95rem; height: .95rem; }

/* ---------- Halaman Kontak (daftar) ---------- */
.contact-wrap { max-width: 50rem; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-row { display: grid; gap: .3rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .contact-row { grid-template-columns: 11rem minmax(0, 1fr); } }
.contact-row dt { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.contact-row dt .ico { width: 1rem; height: 1rem; margin-top: .05rem; color: var(--brand-ink); }
.contact-row dd { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }
.contact-row dd a { font-weight: 600; color: var(--brand-ink); }
.contact-row dd a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.contact-soc { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.contact-soc a { display: inline-flex; align-items: center; gap: .4rem; }
.contact-sec-title { margin: 1.75rem 0 .75rem; font-family: var(--f-display); font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r2); background: var(--soft); }
.map-frame iframe { display: block; width: 100%; height: 22rem; border: 0; }

/* ---------- Sorotan kontak (beranda, sebelum footer) ---------- */
.cta-contact { background: var(--grad); color: #fff; padding-block: clamp(1.5rem, 3.5vw, 2.25rem); }
.cta-contact-in { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 900px) { .cta-contact-in { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; } }
.cta-contact h2 { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-stretch: 106%; font-weight: 800; letter-spacing: -.02em; }
.cta-contact p { margin-top: .3rem; font-size: .9rem; color: rgba(255, 255, 255, .88); max-width: 34rem; }
.cta-items { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .9rem; font-size: .85rem; font-weight: 600; }
.cta-items span { display: inline-flex; align-items: center; gap: .45rem; }
.cta-items a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- Footer (tata letak seperti portal kampus: logo + kolom tautan + pil tautan) ---------- */
.site-footer.ft { margin-top: auto; background: transparent; color: #fff; font-size: 1rem; }
.ft-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.5rem 1.5rem 0 0; background: var(--ink); }
.ft-panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ft-bg, none) center / cover no-repeat; }
.ft-panel.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23, 70, 214, .86); }
.ft-grid { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.25rem) 1.25rem; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); gap: 0; } }
.ft-left { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .35); }
@media (min-width: 900px) { .ft-left { padding: 0 2rem 0 0; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .35); } }
.ft-logo img { display: block; width: 8.5rem; height: 8.5rem; object-fit: contain; }
.ft-name { max-width: 14rem; font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: #fff; }
.ft-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .4rem; }
.ft-social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid rgba(255, 255, 255, .85); border-radius: .7rem; color: #fff; transition: background .15s, color .15s; }
.ft-social a:hover { background: #fff; color: var(--brand-ink); }
.ft-social .ico { width: 1.25rem; height: 1.25rem; }
.ft-right { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
@media (min-width: 900px) { .ft-right { padding-left: 2.75rem; } }
.ft-cols { display: grid; gap: 1.75rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ft-cols { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); } }
.ft-col h3 { margin-bottom: 1rem; font-family: var(--f-body); font-size: 1.2rem; font-weight: 800; line-height: 1.2; color: #fff; letter-spacing: 0; }
.ft-col li { padding: .28rem 0; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.ft-col a { color: #fff; }
.ft-col a:hover, .ft-pill a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.ft-pill { align-self: center; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .1rem; max-width: 100%; padding: .75rem 1.6rem; border: 2px solid #fff; border-radius: 2rem; font-size: .9rem; font-weight: 700; }
.ft-pill a { color: #fff; }
.ft-pill i { font-style: normal; margin-inline: .6rem; opacity: .7; font-weight: 400; }
.ft-copy { padding-block: .5rem 1.25rem; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .8); }
.to-top { width: 2.9rem; height: 2.9rem; border-radius: .7rem; background: #fff; color: var(--ink); border: 1px solid var(--line-2); }

/* ---------- Warna mengikuti tema (publik & admin) ---------- */
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --ink: color-mix(in srgb, var(--g2) 22%, #06070f);
    --hl: color-mix(in srgb, var(--g3) 38%, #fff);
    --soft: color-mix(in srgb, var(--g2) 3.5%, #fff);
    --soft-2: color-mix(in srgb, var(--g2) 9%, #fff);
    --line: color-mix(in srgb, var(--g2) 8%, #e4e6ee);
    --line-2: color-mix(in srgb, var(--g2) 14%, #cdd1de);
  }
  .hero-shade { background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 90%, transparent), color-mix(in srgb, var(--ink) 55%, transparent) 58%, color-mix(in srgb, var(--ink) 30%, transparent)), linear-gradient(0deg, color-mix(in srgb, var(--ink) 75%, transparent), transparent 45%); }
  .hero-foot { background: color-mix(in srgb, var(--ink) 45%, transparent); }
  .act::after { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 90%, transparent), transparent 62%); }
  .chair-name, .team-cap { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 85%, transparent), transparent); }
  .adm-back, .modal-back { background: color-mix(in srgb, var(--ink) 55%, transparent); }
}

/* ---------- Kartu statistik berikon ---------- */
.stat-sec { padding-block: 1.25rem 0; }
.stat-cards { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-card { --c: var(--g1); display: flex; align-items: center; gap: .8rem; min-width: 0; padding: .85rem .95rem; border: 1px solid var(--line); border-radius: var(--r3); background: var(--tint); color: var(--brand-ink); transition: transform .2s, box-shadow .2s; }
.stat-card.c1 { --c: var(--g2); }
.stat-card.c2 { --c: var(--g3); }
.stat-card.c3 { --c: color-mix(in srgb, var(--g1) 50%, var(--g3)); }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(18, 20, 43, .4); }
.sc-ico { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--r2); background: var(--tint-2); }
.sc-ico .ico { width: 1.3rem; height: 1.3rem; }
.sc-txt { flex: 1; min-width: 0; line-height: 1.15; }
.sc-txt b { display: block; font-family: var(--f-display); font-stretch: 106%; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc-txt span { display: block; margin-top: .2rem; font-size: .8rem; opacity: .75; }
.sc-arrow { flex: none; opacity: .8; }
@media (max-width: 480px) { .sc-arrow { display: none; } .sc-ico { width: 2.2rem; height: 2.2rem; } }

/* ---------- Carousel kegiatan: geser dengan mouse ---------- */
.rail { cursor: grab; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rail img { -webkit-user-drag: none; }

/* ---------- Bintang program (admin) ---------- */
.star-btn { border: 0; background: none; padding: .1rem .3rem; font-size: 1.25rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: transform .15s, color .15s; }
.star-btn:hover { transform: scale(1.2); color: #f5a524; }
.star-btn.on { color: #f5a524; }

/* ---------- Warna mengikuti tema: permukaan gelap, header, halaman ---------- */
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --ink: color-mix(in srgb, var(--g2) 30%, #05060d);
    --dg: linear-gradient(var(--ang), color-mix(in srgb, var(--g1) 55%, #000), color-mix(in srgb, var(--g2) 55%, #000) 55%, color-mix(in srgb, var(--g3) 55%, #000));
    --soft: color-mix(in srgb, var(--g2) 5%, #fff);
    --soft-2: color-mix(in srgb, var(--g2) 11%, #fff);
  }
  .foot-dark { background: var(--dg); }
  .adm-side { background: var(--dg); }
  .auth { background: var(--dg); }
  .ticker { background: color-mix(in srgb, var(--g2) 62%, #000); }
  .page-head { background: linear-gradient(var(--ang), color-mix(in srgb, var(--g1) 9%, #fff), color-mix(in srgb, var(--g3) 9%, #fff)); border-bottom: 1px solid var(--line); }
  .adm { background: color-mix(in srgb, var(--g2) 5%, #f7f8fc); }
  .site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
  .cta-contact, .hero-fallback { background: var(--grad); }
}

@supports (color: color-mix(in srgb, red, blue)) {
  .ft-panel { background: linear-gradient(var(--ang), color-mix(in srgb, var(--g1) 82%, #000), color-mix(in srgb, var(--g2) 82%, #000) 55%, color-mix(in srgb, var(--g3) 82%, #000)); }
  .ft-panel.has-bg::after { background: linear-gradient(var(--ang), color-mix(in srgb, color-mix(in srgb, var(--g1) 82%, #000) 86%, transparent), color-mix(in srgb, color-mix(in srgb, var(--g2) 82%, #000) 86%, transparent) 55%, color-mix(in srgb, color-mix(in srgb, var(--g3) 82%, #000) 86%, transparent)); }
}

.ft-panel.flat { border-radius: 0; }

/* ==========================================================================
   Palet tunggal: permukaan berwarna (sidebar admin, footer, info berjalan, tombol,
   penanda aktif, sorotan) memakai WARNA TEMA PERSIS dari Pengaturan admin,
   tanpa varian yang digelapkan. Hanya teks dan garis netral yang tetap, demi keterbacaan.
   ========================================================================== */
:root { --hl: var(--g3); }
::selection { background: var(--tint-2); color: var(--ink); }

.adm-side { background: var(--grad); color: rgba(255, 255, 255, .9); }
.adm-group { color: rgba(255, 255, 255, .62); }
.adm-nav a[aria-current=page]::before { background: #fff; }
.adm-nav .count { background: #fff; color: var(--brand-ink); }
.adm-foot a.out:hover { color: #fff; }
.auth { background: var(--grad); }
.ticker { background: var(--grad); }
.ticker-tag { background: #fff; color: var(--brand-ink); }
.ft-panel { background: var(--grad); }
.cta, .hero { background: var(--grad); }
.act { background: var(--brand); }

.btn-dark, .adm-user .av, .steps-light li::before, .stepper li.done::before, .stepper li.done .dot { background: var(--brand); }
.btn-light:hover { background: var(--tint); }
input:checked + .chip-opt, .pager span.p.on, .mobile-menu .pl-list a[aria-current=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cats a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.act-date, .steps li::before, .toast-info .t-ico, .stepper li.now .dot { background: var(--g3); color: #fff; }
.hero-bars [data-fill] { background: #fff; }
.hero-cap a { text-decoration-color: #fff; }
.mission li::before { outline-color: var(--brand-ink); }

@supports (color: color-mix(in srgb, red, blue)) {
  .ft-panel.has-bg::after { background: linear-gradient(var(--ang), color-mix(in srgb, var(--g1) var(--ft-ov, 85%), transparent), color-mix(in srgb, var(--g2) var(--ft-ov, 85%), transparent) 55%, color-mix(in srgb, var(--g3) var(--ft-ov, 85%), transparent)); }
  .hero-shade { background: linear-gradient(90deg, color-mix(in srgb, var(--g1) 92%, transparent), color-mix(in srgb, var(--g2) 62%, transparent) 58%, color-mix(in srgb, var(--g3) 22%, transparent)), linear-gradient(0deg, color-mix(in srgb, var(--g2) 70%, transparent), transparent 45%); }
  .hero-foot { background: color-mix(in srgb, var(--g2) 55%, transparent); }
  .act::after { background: linear-gradient(0deg, color-mix(in srgb, var(--g2) 92%, transparent), transparent 62%); }
  .chair-name, .team-cap { background: linear-gradient(0deg, color-mix(in srgb, var(--g2) 88%, transparent), transparent); }
  .adm-back, .modal-back { background: color-mix(in srgb, var(--g2) 55%, transparent); }
}

/* ---------- Banner publik: lapisan gradasi abu netral (foto tetap terlihat) ---------- */
.hero-shade,
.hero-shade { background:
  linear-gradient(90deg, rgb(20 22 28 / calc(var(--hs, 45) / 100)), rgb(20 22 28 / calc(var(--hs, 45) / 100 * .5)) 55%, rgb(20 22 28 / calc(var(--hs, 45) / 100 * .08))),
  linear-gradient(0deg, rgb(20 22 28 / calc(var(--hs, 45) / 100 * .85)), transparent 42%); }
.hero-foot { background: rgb(20 22 28 / .42); }
@supports (color: color-mix(in srgb, red, blue)) {
  .hero-shade { background:
    linear-gradient(90deg, rgb(20 22 28 / calc(var(--hs, 45) / 100)), rgb(20 22 28 / calc(var(--hs, 45) / 100 * .5)) 55%, rgb(20 22 28 / calc(var(--hs, 45) / 100 * .08))),
    linear-gradient(0deg, rgb(20 22 28 / calc(var(--hs, 45) / 100 * .85)), transparent 42%); }
  .hero-foot { background: rgb(20 22 28 / .42); }
}

/* ==========================================================================
   Banner publik: efek kaca buram (glassmorphism) yang halus.
   Foto hampir tanpa lapisan; teks berada di panel kaca tipis.
   --hs (0-85) diatur dari Pengaturan admin.
   ========================================================================== */
.hero-shade,
.hero-shade { background:
  linear-gradient(0deg, rgb(15 17 24 / calc(var(--hs, 45) / 100 * .55)), transparent 38%),
  rgb(15 17 24 / calc(var(--hs, 45) / 100 * .22)); }
.hero-copy {
  width: fit-content; max-width: min(100%, 38rem);
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.1rem, 2.6vw, 1.75rem);
  border: 1px solid rgb(255 255 255 / .24); border-radius: calc(var(--r3) + 4px);
  background: linear-gradient(135deg, rgb(255 255 255 / .16), rgb(255 255 255 / .05)), rgb(15 17 24 / calc(var(--hs, 45) / 100 * .22));
  -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .22);
}
.hero-title, .hero-sub { text-shadow: 0 1px 12px rgb(0 0 0 / .28); }
.hero-foot { border-top: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
@supports (color: color-mix(in srgb, red, blue)) {
  .hero-shade { background:
    linear-gradient(0deg, rgb(15 17 24 / calc(var(--hs, 45) / 100 * .55)), transparent 38%),
    rgb(15 17 24 / calc(var(--hs, 45) / 100 * .22)); }
  .hero-foot { background: rgb(255 255 255 / .08); }
}

/* ---------- Banner: gambar selalu tampil utuh (tidak terpotong) ---------- */
.hero-slide { background: var(--ink); overflow: hidden; }
.hero-slide::before { content: ""; position: absolute; inset: -8%; background: var(--bg) center / cover no-repeat; filter: blur(28px) saturate(1.1); transform: scale(1.05); }
.hero-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-slide.is-active img { animation: none; }

/* ---------- Panel kaca teks banner: dibuat lebih tipis ---------- */
.hero-copy {
  border: 1px solid rgb(255 255 255 / .16);
  background: linear-gradient(135deg, rgb(255 255 255 / .07), rgb(255 255 255 / .015)), rgb(15 17 24 / calc(var(--hs, 45) / 100 * .1));
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  box-shadow: 0 8px 24px -14px rgb(0 0 0 / .3), inset 0 1px 0 rgb(255 255 255 / .14);
}
.hero-title, .hero-sub { text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
.hero-foot { background: rgb(255 255 255 / .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top-color: rgb(255 255 255 / .16); }
@supports (color: color-mix(in srgb, red, blue)) { .hero-foot { background: rgb(255 255 255 / .05); } }

/* ---------- Banner: kembali memenuhi banner (cover) dengan titik fokus yang bisa diatur ---------- */
.hero-slide::before { content: none; }
.hero-slide img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center 35%); }
.hero-slide.is-active img { animation: kenburns 9s ease-out both; }

/* ---------- Panel kaca teks banner: blur dikurangi lagi ---------- */
.hero-copy { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1); } }
