:root {
    --navy: #0c2340;
    --navy-deep: #071526;
    --navy-mid: #16325c;
    --navy-soft: #e7eef7;
    --ink: #142033;
    --muted: #5d6d82;
    --line: #d7e1ee;
    --white: #ffffff;
    --paper: #f4f7fb;
    --gold: #b8884a;
    --ok: #067647;
    --danger: #b42318;
    --info: #1849a9;
    --shadow: 0 18px 50px rgba(12, 35, 64, 0.12);
    --radius: 18px;
    --header: 78px;
    --serif: "Source Serif 4", Georgia, serif;
    --sans: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.sr, .skip {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.skip:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    clip: auto;
    background: white;
    padding: 8px 12px;
    z-index: 100;
}

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06); }
.nav-bar {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand strong { display: block; color: var(--navy); font-size: 18px; letter-spacing: 0.08em; }
.brand small { display: block; color: var(--muted); letter-spacing: 0.14em; font-size: 11px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .sub-toggle, .search-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 12px;
    border-radius: 999px;
    cursor: pointer;
}
.nav > a.aktif, .sub-toggle.aktif { color: var(--navy-mid); }
.nav > a:hover, .sub-toggle:hover, .search-btn:hover { background: var(--navy-soft); }
.search-btn { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }
.search-btn svg { width: 20px; height: 20px; }
.nav-item { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 4px; }
.sub-toggle svg { width: 16px; height: 16px; }
.submenu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    width: 290px;
    padding: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu, .nav-item.terbuka .submenu { display: block; }
.submenu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--navy);
    font-size: 14.5px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.submenu a:hover { background: var(--paper); }
.submenu-all { color: var(--gold) !important; font-weight: 650 !important; }
.search-panel {
    display: flex;
    gap: 10px;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto 14px;
}
.search-panel[hidden] { display: none; }
.search-panel input {
    flex: 1;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 12px 18px;
    outline: none;
}
.search-panel input:focus { border-color: var(--navy-mid); background: white; }
.search-panel button, .btn {
    border: 0;
    background: var(--navy);
    color: white;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--navy-mid); }
.btn-line { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-line:hover { background: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

.hero { position: relative; height: min(78vh, 760px); min-height: 520px; color: white; overflow: hidden; }
.slides, .slide, .hero-shade { position: absolute; inset: 0; }
.slide {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide.aktif { opacity: 1; }
.hero-shade {
    background:
        linear-gradient(to top, rgba(7, 21, 38, 0.78), rgba(7, 21, 38, 0.18) 45%, rgba(7, 21, 38, 0.35)),
        rgba(7, 21, 38, 0.18);
}
.hero-copy, .hero-dots, .hero-arrows { position: relative; z-index: 2; }
.hero-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 16px 80px;
}
.hero-copy p { margin: 0; letter-spacing: 0.22em; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.hero-copy h1 { margin: 10px 0 14px; font-size: clamp(52px, 8vw, 92px); font-weight: 650; }
.hero-sub { max-width: 560px; letter-spacing: 0 !important; text-transform: none !important; font-size: 18px !important; font-weight: 400 !important; min-height: 56px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button, .arrow {
    border: 0;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}
.hero-dots button { width: 9px; height: 9px; border-radius: 99px; padding: 0; }
.hero-dots button.aktif { width: 26px; background: white; }
.hero-arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; pointer-events: none; }
.arrow {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    line-height: 1;
}
.arrow:hover { background: rgba(255,255,255,0.55); }

.intro-wrap { position: relative; z-index: 3; margin-top: -74px; }
.intro-card, .panel, .card, .person, .quote {
    background: white;
    border: 1px solid rgba(215, 225, 238, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.intro-card { padding: 48px 56px 42px; text-align: center; }
.kicker { margin: 0 0 8px; color: var(--gold); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
.intro-card h2, .section-head h2, .prose h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(30px, 4vw, 42px); }
.lead { color: var(--muted); font-size: 18px; margin: 0 auto 22px; max-width: 760px; }
.section { padding: 78px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); max-width: 460px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat { background: var(--paper); border-radius: 14px; padding: 16px 18px; text-align: left; }
.stat b { display: block; color: var(--navy); font-size: 18px; }
.stat span { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 28px; box-shadow: none; }
.panel h2 { margin-top: 0; color: var(--navy); }
.panel ol, .panel ul { margin: 0; padding-left: 18px; }
.panel li + li { margin-top: 8px; }

.grid-3, .grid-divisi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; box-shadow: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .no { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.card h3 { margin: 8px 0; color: var(--navy); font-size: 22px; }
.card p { margin: 0; color: var(--muted); }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person {
    overflow: hidden;
    text-align: center;
    box-shadow: 0 12px 30px rgba(12, 35, 64, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    animation: person-naik 0.55s ease both;
}
.person:nth-child(2) { animation-delay: 0.08s; }
.person:nth-child(3) { animation-delay: 0.16s; }
.person:nth-child(4) { animation-delay: 0.24s; }
.person:hover, .person:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(12, 35, 64, 0.16);
}
.person img, .avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
    background:
        radial-gradient(circle at 50% 18%, rgba(231, 201, 138, 0.55), transparent 42%),
        var(--navy-soft);
    transition: transform 0.45s ease;
}
.person:hover img, .person:focus-within img { transform: scale(1.06); }
.avatar { display: grid; place-items: center; color: var(--navy); font-family: var(--serif); font-size: 36px; }
.person div { position: relative; padding: 14px 12px 16px; }
.person div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold), #e7c98a);
    transform: translateX(-50%);
}
.person strong { display: block; color: var(--navy); }
.person span { color: var(--muted); font-size: 14px; }
@keyframes person-naik {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy);
    min-height: 220px;
}
.shot img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px 14px 12px;
    color: white;
    text-align: left;
    background: linear-gradient(transparent, rgba(7, 21, 38, 0.82));
    font-weight: 600;
}

.page-hero { position: relative; height: 420px; color: white; display: grid; place-items: center; overflow: hidden; }
.page-hero-bg, .page-hero-shade { position: absolute; inset: 0; }
.page-hero-bg { background-size: cover; background-position: center; }
.page-hero-shade { background: linear-gradient(to top, rgba(7,21,38,.72), rgba(7,21,38,.35)); }
.page-hero-copy { position: relative; text-align: center; padding: 24px; }
.page-hero-copy p { margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; font-weight: 650; }
.page-hero-copy h1 { margin: 8px 0 0; font-size: clamp(40px, 6vw, 68px); }
.sheet { margin-top: -46px; position: relative; }
.prose { padding: 42px 48px; }
.prose p { color: var(--muted); font-size: 17.5px; }
.narrow { width: min(860px, calc(100% - 32px)); }

.empty {
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    background: white;
    text-align: center;
}

.results { display: grid; gap: 12px; }
.result { display: block; padding: 18px 20px; }
.result small { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.result strong { display: block; color: var(--navy); font-size: 20px; margin-top: 4px; }
.result p { margin: 6px 0 0; color: var(--muted); }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.82); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 1fr; gap: 28px; }
.site-footer h2 { color: white; font-family: var(--sans); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer a, .site-footer p { display: block; margin: 0 0 8px; }
.site-footer a:hover { color: white; }
.brand-light strong, .brand-light small { color: white; }
.brand-light small { opacity: 0.7; }
.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 20px;
    font-size: 14px;
}

.toast-wrap { position: fixed; top: 16px; right: 16px; z-index: 80; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100% - 32px)); }
.toast {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: white;
    color: var(--ink);
    border-radius: 14px;
    padding: 14px 14px 14px 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--info);
    animation: toast-in 0.35s ease;
}
.toast.success { border-left-color: var(--ok); }
.toast.error { border-left-color: var(--danger); }
.toast p { margin: 0; flex: 1; }
.toast-ico { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--info); flex: none; }
.toast.success .toast-ico { background: var(--ok); }
.toast.error .toast-ico { background: var(--danger); }
.toast-x { border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); }
.toast.keluar { opacity: 0; transform: translateX(12px); transition: 0.3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

dialog.lightbox, dialog.modal {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: unset;
    width: min(960px, calc(100% - 28px));
}
dialog.lightbox::backdrop, dialog.modal::backdrop { background: rgba(7, 21, 38, 0.72); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: black; border-radius: 16px 16px 0 0; }
.lightbox figcaption { margin: 0; background: white; padding: 14px 16px; border-radius: 0 0 16px 16px; color: var(--navy); font-weight: 600; }
.lightbox-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

@media (max-width: 980px) {
    .burger { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px 18px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav.buka { display: flex; }
    .nav > a, .sub-toggle { justify-content: space-between; border-radius: 12px; }
    .submenu { position: static; width: auto; display: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; }
    .nav-item:hover .submenu,
    .nav-item:focus-within .submenu { display: none; }
    .nav-item.terbuka .submenu { display: block; }
    .search-btn { align-self: flex-start; }
    .grid-3, .grid-divisi, .stats, .split, .footer-grid { grid-template-columns: 1fr 1fr; }
    .people { grid-template-columns: 1fr 1fr; }
    .intro-card, .prose { padding: 28px 22px; }
    .hero { min-height: 460px; }
    .hero-arrows { display: none; }
}
@media (max-width: 680px) {
    .grid-3, .grid-divisi, .stats, .split, .gallery, .footer-grid { grid-template-columns: 1fr; }
    .people { grid-template-columns: 1fr 1fr; gap: 12px; }
    .person div { padding: 12px 8px 14px; }
    .person strong { font-size: 15px; }
    .person span { font-size: 12px; }
    .section-head, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .page-hero { height: 320px; }
    .shot img { height: 220px; }
    .intro-wrap { margin-top: 18px; }
    .hero {
        width: min(1120px, calc(100% - 32px));
        margin: 16px auto 0;
        height: auto;
        min-height: 0;
        background: #071526;
        border-radius: var(--radius);
    }
    .slides { position: relative; aspect-ratio: 16 / 9; }
    .slide, .slide.aktif { position: absolute; inset: 0; }
    .slide img { height: 100%; object-fit: contain; background: #071526; }
    .hero-shade { display: none; }
    .hero-copy {
        position: relative;
        inset: auto;
        height: auto;
        padding: 22px 20px 48px;
    }
    .hero-dots { bottom: 16px; }
    .hero-copy h1 { font-size: 40px; }
    .hero-sub { font-size: 15px !important; min-height: 4.8em; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
