:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --emerald: #2563EB;
  --emerald-ink: #1D4ED8;
  --accent: #3B82F6;
  --gold: #8B5CF6;
  --gold-soft: #A78BFA;
  --hero-bg: #020617;
  --hero-bg-2: #0F172A;
  --hero-ink: #F8FAFC;
  --hero-muted: #94A3B8;
  --hero-line: rgba(248, 250, 252, .14);
  --term-bg: #020617;
  --term-ink: #CBD5E1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px -16px rgba(15, 23, 42, .22);
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #020617;
    --surface: #0F172A;
    --surface-2: #1E293B;
    --ink: #F8FAFC;
    --muted: #94A3B8;
    --line: #334155;
    --emerald: #60A5FA;
    --emerald-ink: #93C5FD;
    --accent: #60A5FA;
    --gold: #C084FC;
    --gold-soft: #C084FC;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.35), 0 16px 40px -16px rgba(0,0,0,.6);
  }
}

:root[data-theme="dark"] {
  --bg: #020617;
  --surface: #0F172A;
  --surface-2: #1E293B;
  --ink: #F8FAFC;
  --muted: #94A3B8;
  --line: #334155;
  --emerald: #60A5FA;
  --emerald-ink: #93C5FD;
  --accent: #60A5FA;
  --gold: #C084FC;
  --gold-soft: #C084FC;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.35), 0 16px 40px -16px rgba(0,0,0,.6);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin:0; background:var(--bg); color:var(--ink); font-family:var(--font-body); font-size:16px; line-height:1.7; -webkit-font-smoothing:antialiased }
h1,h2,h3,h4 { line-height:1.15; margin:0; text-wrap:balance }
p { margin:0 }
a { color:inherit }
img,svg { max-width:100% }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px }
.container { max-width:1100px; margin-inline:auto; padding-inline:24px }
section { padding-block:76px }
@media (max-width:640px) { section { padding-block:56px } }

#beranda,#tentang,#program,#berita,#kepengurusan,#kontak { scroll-margin-top:84px }

.skip { position:fixed; top:-64px; left:24px; z-index:100; background:var(--emerald-ink); color:#EAF5ED; font-weight:700; font-size:.88rem; text-decoration:none; padding:10px 18px; border-radius:0 0 12px 12px; transition:top .18s }
.skip:focus { top:0 }
.section-head { margin-bottom:40px; max-width:640px }
.eyebrow { font-family:var(--font-mono); font-size:.78rem; font-weight:500; letter-spacing:.12em; color:var(--emerald); display:inline-block; margin-bottom:14px }
.eyebrow::before { content:"<"; color:var(--gold) }
.eyebrow::after { content:" />"; color:var(--gold) }
.section-title { font-size:clamp(1.55rem,3vw,2.15rem); font-weight:800; letter-spacing:-.02em }
.section-sub { color:var(--muted); margin-top:12px }

.nav { position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--bg) 86%,transparent); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--line) }
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:14px }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; font-weight:800; letter-spacing:-.01em }
.brand-mark { flex:none; width:38px; height:38px; display:block }
.brand-text { display:flex; flex-direction:column; line-height:1.2 }
.brand-text small { font-family:var(--font-mono); font-weight:500; font-size:.66rem; letter-spacing:.08em; color:var(--muted); text-transform:uppercase }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; margin:0; padding:0 }
.nav-links a { position:relative; text-decoration:none; font-size:.92rem; font-weight:600; color:var(--muted); padding:8px 13px; border-radius:999px; transition:color .18s,background .18s,transform .18s }
.nav-links a:hover { color:var(--ink) }
.nav-links a:not(.nav-cta)::after { content:""; position:absolute; left:13px; right:13px; bottom:4px; height:2px; border-radius:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .22s ease }
.nav-links a:not(.nav-cta):hover::after,.nav-links a:not(.nav-cta).active::after { transform:scaleX(1) }
.nav-links a.active { color:var(--emerald); background:var(--surface-2) }
.nav-cta { text-decoration:none; font-size:.9rem; font-weight:700; color:var(--hero-ink); background:var(--emerald-ink); padding:9px 18px; border-radius:999px; transition:transform .18s,box-shadow .18s }
.nav-cta:hover { transform:translateY(-1px); box-shadow:var(--shadow-lift) }
.nav-toggle { display:none; font-family:var(--font-mono); font-size:.82rem; font-weight:600; background:var(--surface-2); color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:8px 16px; cursor:pointer; white-space:nowrap }
@media (max-width:880px) {
  .nav-toggle { display:inline-block }
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:2px; background:var(--surface); border-bottom:1px solid var(--line); padding:12px 24px 18px; box-shadow:var(--shadow) }
  .nav-links a { display:block; padding:11px 10px; border-radius:10px }
  .nav-open .nav-links { display:flex }
  .nav-open .nav-cta { display:block; text-align:center; margin-top:10px; background:var(--emerald-ink); color:var(--hero-ink) }
}

.hero { position:relative; overflow:hidden; background:linear-gradient(160deg,var(--hero-bg-2),var(--hero-bg) 55%); color:var(--hero-ink); padding-block:88px 0 }
.hero::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23C9A227' stroke-opacity='.11'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E"); background-size:72px 72px }
.hero::after { content:""; position:absolute; inset:-20%; pointer-events:none; background:radial-gradient(900px 500px at 18% 8%,rgba(59,130,246,.2),transparent 60%),radial-gradient(700px 440px at 85% 74%,rgba(139,92,246,.12),transparent 62%); animation:ambient-drift 18s ease-in-out infinite alternate }
.hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .95fr; gap:56px; align-items:center; padding-bottom:88px }
.hero-kicker { font-family:var(--font-mono); font-size:.76rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); display:inline-flex; align-items:center; gap:10px; border:1px solid rgba(201,162,39,.35); border-radius:999px; padding:7px 16px; margin-bottom:26px; background:rgba(201,162,39,.07) }
.hero-kicker .dot { width:6px; height:6px; border-radius:50%; background:var(--gold-soft); animation:pulse 2.4s infinite }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero h1 { font-size:clamp(2.15rem,4.8vw,3.5rem); font-weight:800; letter-spacing:-.03em; line-height:1.08 }
.hero h1 em { font-style:normal; color:var(--accent) }
.hero-lead { color:var(--hero-muted); max-width:52ch; margin-top:22px; font-size:1.02rem }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px }
.btn { display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:.95rem; text-decoration:none; padding:13px 26px; border-radius:999px; transition:transform .18s,box-shadow .18s,background .18s }
.btn-primary { background:var(--accent); color:#F8FAFC; box-shadow:0 10px 30px -10px rgba(59,130,246,.55) }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 16px 36px -12px rgba(59,130,246,.65) }
.btn-ghost { border:1px solid var(--hero-line); color:var(--hero-ink) }
.btn-ghost:hover { background:rgba(248,250,252,.07); transform:translateY(-2px) }
.terminal { background:var(--term-bg); border:1px solid var(--hero-line); border-radius:var(--radius); box-shadow:0 30px 70px -25px rgba(0,0,0,.55); overflow:hidden }
.term-bar { display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid rgba(248,250,252,.09); background:rgba(248,250,252,.03) }
.term-dot { width:11px; height:11px; border-radius:50% }
.term-dot.r { background:#EF4444 }
.term-dot.y { background:#F59E0B }
.term-dot.g { background:#60A5FA }
.term-title { margin-left:8px; font-family:var(--font-mono); font-size:.72rem; color:var(--hero-muted); letter-spacing:.05em }
.term-body { font-family:var(--font-mono); font-size:.86rem; line-height:1.85; padding:22px 22px 26px; min-height:330px; color:var(--term-ink) }
.term-prompt { color:#60A5FA; font-weight:600 }
.term-cmd { color:#F8FAFC }
.term-out { color:#94A3B8; white-space:pre-wrap; word-break:break-word }
.term-caret { display:inline-block; width:8px; height:1.05em; vertical-align:-.18em; background:#60A5FA; animation:blink 1s steps(1) infinite }
@keyframes blink { 50%{opacity:0} }
.frieze { position:relative; z-index:1; height:38px; border-top:1px solid rgba(201,162,39,.4); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='38'%3E%3Cg fill='none' stroke='%23C9A227' stroke-opacity='.4'%3E%3Crect x='14' y='5' width='24' height='24'/%3E%3Crect x='14' y='5' width='24' height='24' transform='rotate(45 26 17)'/%3E%3C/g%3E%3C/svg%3E"); background-repeat:repeat-x }
.frieze { animation:frieze-slide 26s linear infinite }
@media (max-width:900px) { .hero-inner{grid-template-columns:1fr;gap:44px;padding-bottom:64px} .hero{padding-top:64px} .term-body{min-height:0} }

.about-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:48px; align-items:start }
@media (max-width:900px) { .about-grid{grid-template-columns:1fr} }
.mp-grid { display:grid; grid-template-columns:1fr 420px; gap:28px; align-items:start }
.mp-buttons { display:flex; gap:10px; align-items:stretch }
@media (max-width:900px) { .mp-grid{grid-template-columns:1fr} }
@media (max-width:500px) { .mp-buttons{flex-direction:column} }
.visi { border-left:3px solid var(--gold); padding:4px 0 4px 22px; margin-bottom:34px }
.visi h3 { font-family:var(--font-mono); font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:10px }
.misi-title { font-family:var(--font-mono); font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:16px }
.visi p { font-size:1.18rem; font-weight:600; letter-spacing:-.01em }
.misi-list { list-style:none; margin:0; padding:0; display:grid; gap:14px }
.misi-list li { display:flex; gap:14px; align-items:flex-start; color:var(--muted); transition:transform .2s ease,color .2s ease }
.misi-list li:hover { transform:translateX(5px); color:var(--ink) }
.misi-list li strong { color:var(--ink); font-weight:700 }
.misi-num { flex:none; font-family:var(--font-mono); font-size:.72rem; font-weight:600; color:var(--emerald); border:1px solid var(--line); border-radius:8px; width:30px; height:30px; display:grid; place-items:center; margin-top:3px; background:var(--surface) }
.prodi-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease }
.prodi-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lift); border-color:color-mix(in srgb,var(--accent) 30%,var(--line)) }
.prodi-card h3 { font-size:1.15rem; font-weight:800; margin-bottom:20px }
.prodi-rows { display:grid; gap:0 }
.prodi-row { display:flex; justify-content:space-between; gap:18px; padding:13px 0; border-top:1px dashed var(--line); font-size:.92rem }
.prodi-row { transition:padding .2s ease,color .2s ease }
.prodi-row:hover { padding-inline:6px; color:var(--emerald) }
.prodi-row:first-of-type { border-top:none }
.prodi-row dt { color:var(--muted); font-weight:500; flex:none }
.prodi-row dd { margin:0; font-weight:700; text-align:right }
.prodi-row dd a { color:var(--emerald); text-decoration:none }
.prodi-row dd a:hover { text-decoration:underline }
.prodi-badge { margin-top:20px; display:flex; align-items:center; justify-content:space-between; gap:12px; font-family:var(--font-mono); font-size:.72rem; color:var(--muted); background:var(--surface-2); border-radius:var(--radius-sm); padding:12px 16px }
.prodi-badge a { color:var(--emerald); font-weight:600; text-decoration:none; white-space:nowrap }
.prodi-badge a:hover { text-decoration:underline }

.program-section { background:var(--surface-2); border-block:1px solid var(--line) }
.program-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px }
@media (max-width:900px) { .program-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px) { .program-grid{grid-template-columns:1fr} }
.program-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease }
.program-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lift); border-color:color-mix(in srgb,var(--accent) 34%,var(--line)) }
.program-icon { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:color-mix(in srgb,var(--emerald) 12%,transparent); color:var(--emerald); margin-bottom:18px; transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s ease }
.program-icon svg { width:22px; height:22px; transition:transform .3s ease }
.program-card:hover .program-icon { transform:rotate(-7deg) scale(1.08); background:color-mix(in srgb,var(--emerald) 19%,transparent) }
.program-card:hover .program-icon svg { transform:rotate(7deg) }
.program-card h3 { font-size:1.02rem; font-weight:700; margin-bottom:8px }
.program-card p { color:var(--muted); font-size:.9rem }

.news-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch }
@media (max-width:900px) { .news-grid{grid-template-columns:1fr} }
.news-panel { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; display:flex; flex-direction:column; box-shadow:var(--shadow) }
.news-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:8px }
.news-panel-head h3 { font-size:1.1rem; font-weight:800 }
.news-panel-head p { color:var(--muted); font-size:.85rem; margin-top:4px }
.chip { flex:none; font-family:var(--font-mono); font-size:.66rem; font-weight:600; letter-spacing:.08em; border:1px solid var(--line); color:var(--muted); border-radius:999px; padding:5px 12px; margin-top:3px; white-space:nowrap }
.chip.live { color:var(--emerald); border-color:color-mix(in srgb,var(--emerald) 40%,transparent); background:color-mix(in srgb,var(--emerald) 8%,transparent) }
.chip.live .dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--emerald); margin-right:6px; animation:pulse 2s infinite }
.news-list { display:flex; flex-direction:column; margin-top:10px }
.news-item { display:grid; grid-template-columns:96px 1fr; gap:14px; align-items:baseline; padding:15px 2px; border-top:1px dashed var(--line); text-decoration:none; transition:background .18s,transform .18s }
.news-item:hover { background:color-mix(in srgb,var(--emerald) 4%,transparent); transform:translateX(4px) }
.news-item:hover .news-title { color:var(--emerald) }
.news-date { font-family:var(--font-mono); font-size:.7rem; color:var(--muted); letter-spacing:.03em; white-space:nowrap; font-variant-numeric:tabular-nums }
.news-title { font-size:.93rem; font-weight:600; line-height:1.5; transition:color .15s }
.news-panel-foot { margin-top:auto; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap }
.news-panel-foot a { font-size:.85rem; font-weight:700; color:var(--emerald); text-decoration:none }
.news-panel-foot a:hover { text-decoration:underline }
.news-source { font-family:var(--font-mono); font-size:.68rem; color:var(--muted) }
.news-skeleton { display:grid; gap:12px; padding-block:8px }
.news-skeleton i { display:block; height:14px; border-radius:6px; background:linear-gradient(90deg,var(--surface-2),var(--line),var(--surface-2)); background-size:200% 100%; animation:shimmer 1.4s infinite }
@keyframes shimmer { to{background-position:-200% 0} }

.board-section { background:var(--surface-2); border-block:1px solid var(--line) }
.periode-chip { display:inline-flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:.74rem; font-weight:600; letter-spacing:.1em; color:var(--gold); border:1px solid color-mix(in srgb,var(--gold) 40%,transparent); background:color-mix(in srgb,var(--gold) 7%,transparent); border-radius:999px; padding:6px 15px; margin-bottom:16px }
.board-sub { font-family:var(--font-mono); font-size:.74rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:44px 0 20px; display:flex; align-items:center; gap:14px }
.board-sub::after { content:""; flex:1; height:1px; background:var(--line) }
.inti-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px }
@media (max-width:900px) { .inti-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px) { .inti-grid{grid-template-columns:1fr} }
.inti-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px; display:flex; align-items:center; gap:16px }
.inti-card,.divisi-card { transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease }
.inti-card:hover,.divisi-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lift); border-color:color-mix(in srgb,var(--accent) 38%,var(--line)) }
.avatar { flex:none; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-mono); font-weight:600; font-size:.86rem; color:#F8FAFC; background:linear-gradient(135deg,var(--emerald-ink),var(--emerald)) }
.inti-card .jabatan { font-family:var(--font-mono); font-size:.66rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); display:block; margin-bottom:4px }
.inti-card .nama { font-weight:700; font-size:.98rem; line-height:1.35 }
.divisi-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px }
@media (max-width:620px) { .divisi-grid{grid-template-columns:1fr} }
.divisi-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; display:flex; flex-direction:column; gap:14px }
.divisi-tag { font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.06em; color:var(--emerald); background:color-mix(in srgb,var(--emerald) 9%,transparent); border-radius:7px; padding:4px 10px; display:inline-block; align-self:flex-start }
.divisi-card h3 { font-size:1.05rem; font-weight:800 }
.divisi-card>p { color:var(--muted); font-size:.88rem }
.divisi-kepala { display:flex; align-items:center; gap:12px; border-top:1px dashed var(--line); padding-top:14px; margin-top:auto }
.divisi-kepala .avatar { width:42px; height:42px; font-size:.74rem }
.divisi-kepala .label { font-family:var(--font-mono); font-size:.62rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block }
.divisi-kepala .nama { font-weight:700; font-size:.92rem; line-height:1.3 }
.anggota-row { display:flex; flex-wrap:wrap; gap:8px }
.anggota-chip { display:inline-flex; align-items:center; gap:8px; font-size:.78rem; font-weight:600; color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:5px 13px 5px 6px; background:var(--bg) }
.anggota-chip .avatar { width:24px; height:24px; font-size:.58rem; border-radius:50% }

.footer { background:var(--hero-bg); color:var(--hero-muted); padding-block:64px 32px; position:relative; overflow:hidden }
.footer::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.5; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23C9A227' stroke-opacity='.09'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E") }
.footer::before { animation:footer-drift 32s linear infinite }
.footer-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:44px }
@media (max-width:860px) { .footer-inner{grid-template-columns:1fr;gap:36px} }
.footer .brand { color:var(--hero-ink) }
.footer .brand-text small { color:var(--hero-muted) }
.footer-desc { margin-top:18px; max-width:38ch; font-size:.9rem }
.footer h4 { font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:18px }
.footer-links { list-style:none; margin:0; padding:0; display:grid; gap:10px }
.footer-links a { color:var(--hero-muted); text-decoration:none; font-size:.92rem; font-weight:500 }
.footer-links a:hover { color:var(--hero-ink) }
.footer-contact { display:grid; gap:14px; font-size:.9rem }
.footer-contact a { color:var(--hero-ink); text-decoration:none; font-weight:600 }
.footer-contact a:hover { text-decoration:underline }
.footer-contact .k { font-family:var(--font-mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--hero-muted); display:block; margin-bottom:2px }
.footer-bottom { position:relative; z-index:1; margin-top:52px; padding-top:22px; border-top:1px solid var(--hero-line); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-family:var(--font-mono); font-size:.72rem }
.footer-bottom a { color:var(--gold-soft); text-decoration:none }
.footer-bottom a:hover { text-decoration:underline }
#mpForm input,#mpForm textarea { transition:border-color .2s ease,box-shadow .2s ease,background .2s ease }
#mpForm input:focus,#mpForm textarea:focus { outline:none; border-color:var(--accent) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent); background:var(--surface) }
#mpForm .btn:active,.nav-cta:active { transform:scale(.97) }

/* Gentle entrance and scroll reveal animations */
@keyframes rise-in { from { opacity:0; transform:translateY(18px) } to { opacity:1; transform:translateY(0) } }
@keyframes ambient-drift { from { transform:translate3d(-1.5%,0,0) scale(1) } to { transform:translate3d(1.5%,1%,0) scale(1.04) } }
@keyframes frieze-slide { to { background-position:52px 0 } }
@keyframes footer-drift { to { background-position:72px 72px } }
.hero-inner > div:first-child { animation:rise-in .7s cubic-bezier(.2,.7,.2,1) both }
.hero-inner > .terminal { animation:rise-in .8s .12s cubic-bezier(.2,.7,.2,1) both }
.motion-ready .reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1); transition-delay:var(--reveal-delay,0ms) }
.motion-ready .reveal.is-visible { opacity:1; transform:translateY(0) }
.inti-grid > .reveal,.divisi-grid > .reveal,.program-grid > .reveal { --reveal-delay:calc(var(--reveal-index,0) * 75ms) }
.anggota-chip { transition:transform .18s ease,border-color .18s ease,color .18s ease }
.anggota-chip:hover { transform:translateY(-2px); border-color:var(--accent); color:var(--ink) }
.anggota-chip .avatar { transition:transform .2s ease }
.anggota-chip:hover .avatar { transform:scale(1.08) }
.brand-mark { transition:transform .35s ease }
.brand:hover .brand-mark { transform:rotate(12deg) }
.btn { transition:transform .2s ease,box-shadow .2s ease,background .2s ease }
@media (prefers-reduced-motion:reduce) {
  .hero-inner > div:first-child,.hero-inner > .terminal { animation:none }
  .hero::after,.frieze,.footer::before { animation:none }
  .motion-ready .reveal { opacity:1; transform:none; transition:none }
  .inti-card:hover,.divisi-card:hover,.anggota-chip:hover,.brand:hover .brand-mark,.misi-list li:hover,.prodi-card:hover,.program-card:hover,.program-card:hover .program-icon,.program-card:hover .program-icon svg,.news-item:hover { transform:none }
}

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