:root {
    color-scheme: light;
    --paper: #f8f6ef;
    --white: #fffefa;
    --ink: #182e24;
    --muted: #4e6257;
    --green: var(--theme-primary, #123c30);
    --dark: var(--theme-dark, #102f25);
    --gold: var(--theme-accent, #efc481);
    --line: #dddcd0;
    --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b76d28; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.govbar { background: var(--dark); color: #eeeee1; font-size: .76rem; }
.govbar-inner, .govbar-inner > *, .header-inner, .brand, .nav { display: flex; align-items: center; }
.govbar-inner { justify-content: space-between; gap: 14px; min-height: 38px; }
.govbar-inner > * { gap: 7px; }
.govbar-inner a:hover { text-decoration: underline; }
.govbar .icon { color: var(--gold); }
.gov-dot { display: inline-block; width: 3px; height: 3px; background: #d3a66d; border-radius: 50%; margin-inline: 2px; }
.site-header { background: var(--white); }
.header-inner { justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { flex: 0 1 auto; min-width: 0; gap: 12px; line-height: 1.15; color: var(--dark); }
.brand-emblem { display: grid; flex: none; place-items: center; width: 54px; height: 64px; padding: 6px; border: 1px solid #e3e9df; border-radius: 12px; background: linear-gradient(145deg, #fff, #f1f5ed); }
.brand img.site-logo { width: 36px; height: 48px; object-fit: contain; }
.brand-text { min-width: 0; }
.brand small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.brand strong { display: block; max-width: 230px; font: 700 clamp(1.08rem, 1.5vw, 1.3rem)/1.15 var(--serif); letter-spacing: -.02em; }
.brand:hover strong { color: var(--green); }
.nav { gap: clamp(14px, 2.45vw, 35px); font-size: .87rem; font-weight: 650; }
.nav a { padding-block: 11px; }
.nav a:hover, .nav .current { color: color-mix(in srgb, var(--green) 82%, #000); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-contact { border: 1px solid var(--line); padding: 9px 13px; border-radius: 7px; }
.nav-contact .icon { margin-left: 4px; }
.menu-toggle { align-items: center; gap: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: .85rem; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--green); color: var(--white); }
.hero-art { position: absolute; inset: 0 0 0 34%; z-index: -2; background: url("bentang-alam.svg") center 52% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--green) 0%, var(--green) 32%, color-mix(in srgb, var(--green) 93%, transparent) 42%, color-mix(in srgb, var(--green) 46%, transparent) 58%, color-mix(in srgb, var(--green) 3%, transparent) 81%); }
.hero-inner { display: flex; align-items: center; min-height: 505px; padding-block: 64px 71px; }
.hero-copy { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #475e4b; font-size: .71rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 23px; height: 2px; background: #b16e38; }
.hero-label { color: var(--gold); }
.hero-label span { background: currentColor; }
.hero h1 { margin: 14px 0 18px; font: 400 clamp(4.25rem, 7.5vw, 7.3rem)/.91 var(--serif); letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-description { max-width: 390px; color: #eef1e8; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; gap: 14px; min-height: 47px; padding: 9px 15px; border: 1px solid transparent; border-radius: 7px; font-size: .88rem; font-weight: 750; }
.button-gold { color: #192d22; background: var(--gold); }
.button-gold:hover { background: #ffda9e; }
.button-outline { color: var(--white); border-color: #ffffff69; }
.button-outline:hover { background: #ffffff20; }
.art-credit { position: absolute; right: 18px; bottom: 13px; color: #fff8e9; background: color-mix(in srgb, var(--dark) 86%, transparent); padding: 5px 9px; border-radius: 4px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

.section { padding-block: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px 30px; margin: 7px 0 23px; }
h2 { font: 400 clamp(2rem, 4.2vw, 3.45rem)/1.05 var(--serif); letter-spacing: -.042em; }
.section-heading p { max-width: 365px; color: var(--muted); font-size: .91rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.service-card { display: block; min-height: 167px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: #628272; transform: translateY(-3px); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.icon-box { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 9px; color: color-mix(in srgb, var(--green) 80%, #000); background: color-mix(in srgb, var(--green) 12%, white); }
.icon-box .icon { width: 23px; height: 23px; }
.external { color: #577064; }
.service-card h3, .news-card h3 { font-size: 1rem; line-height: 1.25; }
.service-card p, .news-card p { margin-top: 7px; color: var(--muted); font-size: .85rem; }

.profile-band { background: var(--green); color: var(--white); }
.profile-inner { display: grid; align-items: center; grid-template-columns: 1fr minmax(170px, 24%); gap: 35px; padding-block: 43px; }
.profile-inner h2 { margin: 9px 0 13px; }
.profile-inner p:not(.eyebrow) { max-width: 530px; color: #dde7df; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: color-mix(in srgb, var(--green) 82%, #000); font-size: .85rem; font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-link { color: var(--gold); margin-top: 13px; }
.profile-stat { border-left: 1px solid #ffffff38; padding-left: 26px; }
.profile-stat span { display: block; color: var(--gold); font: 400 4.3rem/.95 var(--serif); }
.profile-stat strong, .profile-stat small { display: block; }
.profile-stat small { color: #dde7df; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--white); }
.news-cover { width: 100%; height: 170px; object-fit: cover; }
.news-art { display: flex; min-height: 170px; align-items: center; justify-content: space-between; gap: 10px; padding: 20px; background-color: #dfecde; color: #234d39; background-image: repeating-linear-gradient(135deg, transparent 0 17px, #ffffff57 17px 18px); }
.news-art.sand { background-color: #f0e1c4; color: #664126; }
.news-art span { padding: 4px 8px; border: 1px solid currentColor; border-radius: 4px; font-size: .74rem; font-weight: 750; }
.news-art .icon { width: 59px; height: 59px; opacity: .7; stroke-width: 1.15; }
.news-copy { display: flex; flex: 1; flex-direction: column; padding: 17px 20px 22px; }
.news-copy time { display: block; margin-bottom: 7px; color: var(--muted); font-size: .76rem; }
.news-view-count { display: inline-flex; align-items: center; gap: 4px; margin: -2px 0 8px; color: var(--muted); font-size: .76rem; }
.news-view-count .icon { width: 15px; height: 15px; }
.news-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-read-more { margin-top: auto; padding-top: 17px; }
.news-actions { display: flex; justify-content: center; margin-top: 27px; }
.news-all-button { color: var(--white); background: var(--green); }
.news-all-button:hover { background: color-mix(in srgb, var(--green) 78%, #fff); }
.news-empty { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: var(--white); text-align: center; }
.news-header-link { color: color-mix(in srgb, var(--green) 82%, #000); font-size: .9rem; font-weight: 750; }
.news-header-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-index { min-height: 60vh; }
.news-index h1 { font: 400 clamp(2.4rem, 5vw, 4rem)/1.05 var(--serif); letter-spacing: -.042em; }
.news-index .section-heading p { max-width: 700px; margin-top: 10px; }
.news-count { margin-top: 22px; color: var(--muted); font-size: .86rem; }
.news-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.news-pagination a, .news-pagination span:not(.news-pages-gap) { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: .85rem; font-weight: 700; }
.news-pagination a:hover { border-color: #628272; background: #edf3e9; }
.news-pagination .is-current { border-color: var(--green) !important; color: var(--white); background: var(--green) !important; }
.news-pagination .is-disabled { color: #849188; }
.news-pages-gap { padding: 0 4px; }
.page-rich-content { max-width: 800px; margin-top: 20px; line-height: 1.8; overflow-wrap: anywhere; }
.page-rich-content h1, .page-rich-content h2, .page-rich-content h3, .page-rich-content h4 { margin: 1.4em 0 .55em; }
.page-rich-content p, .page-rich-content ul, .page-rich-content ol, .page-rich-content blockquote, .page-rich-content pre { margin: 0 0 1em; }
.page-rich-content img { max-width: 100%; height: auto; border-radius: 9px; }
.page-rich-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; margin-block: 1em; }
.page-rich-content blockquote { padding: .25em 1em; border-left: 4px solid #c69d51; color: var(--muted); }
.page-rich-content pre { overflow-x: auto; padding: 14px; border-radius: 7px; background: #edf0e9; }

footer { background: var(--dark); color: var(--white); }
.footer-main, .footer-end { display: flex; justify-content: space-between; gap: 20px; }
.footer-main { padding-block: 38px; }
.footer-main h2 { margin: 7px 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.footer-main p:not(.eyebrow), .footer-end { color: #d7e3d8; font-size: .82rem; }
.footer-links h3 { font-size: .91rem; }
.footer-links a { display: block; margin-top: 6px; font-size: .82rem; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-end { border-top: 1px solid #ffffff32; padding-block: 13px; }

@media (max-width: 900px) {
    .wrap { width: calc(100% - 64px); }
    .hero-art { left: 26%; }
    .hero::after { background: linear-gradient(90deg, var(--green) 0%, var(--green) 24%, color-mix(in srgb, var(--green) 93%, transparent) 37%, color-mix(in srgb, var(--green) 38%, transparent) 72%, color-mix(in srgb, var(--green) 13%, transparent)); }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .header-inner { flex-wrap: wrap; gap: 0; padding-block: 10px; }
    .header-inner .nav { flex-basis: 100%; gap: clamp(14px, 2.4vw, 30px); }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .header-inner { flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-block: 12px; }
    .brand { flex: 1 1 0; }
    .brand-emblem { width: 48px; height: 58px; }
    .brand img.site-logo { width: 32px; height: 44px; }
    .menu-toggle { display: inline-flex; }
    .nav { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
    .nav > a, .nav > .nav-dropdown { width: 100%; border-top: 1px solid #e9eee7; }
    .nav > a, .nav .nav-parent { display: flex; align-items: center; min-height: 44px; padding: 10px 4px; }
    .nav .nav-parent { justify-content: space-between; width: 100%; }
    .nav .nav-contact { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); }
    .hero-inner { min-height: 0; padding-block: 50px 182px; }
    .hero-art { inset: 13% 0 0; background-position: center bottom; }
    .hero::after { background: linear-gradient(180deg, var(--green) 0%, var(--green) 17%, color-mix(in srgb, var(--green) 95%, transparent) 35%, color-mix(in srgb, var(--green) 85%, transparent) 48%, color-mix(in srgb, var(--green) 5%, transparent) 91%); }
    .hero h1 { font-size: clamp(3.25rem, 11.8vw, 5.3rem); }
    .section { padding-block: 44px; }
    .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .wrap { width: calc(100% - 32px); }
    .govbar { font-size: .68rem; }
    .govbar-inner > * { gap: 4px; }
    .govbar-inner .icon:first-child, .gov-dot { display: none; }
    .brand { gap: 9px; }
    .brand-emblem { width: 44px; height: 53px; padding: 5px; border-radius: 10px; }
    .brand img.site-logo { width: 29px; height: 40px; }
    .brand small { font-size: .59rem; margin-bottom: 4px; }
    .brand strong { font-size: 1rem; }
    .service-grid { gap: 9px; }
    .service-card { padding: 12px; }
    .service-card h3 { overflow-wrap: anywhere; }
    .profile-inner, .news-grid { grid-template-columns: 1fr; }
    .profile-inner { gap: 20px; }
    .profile-stat { padding-left: 13px; }
    .footer-main { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 5px; }
.nav-submenu { display: none; position: absolute; z-index: 20; top: 100%; left: 0; min-width: 190px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #13281d1a; }
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu, .nav-dropdown.open .nav-submenu { display: block; }
.nav-submenu a { display: block; padding: 8px 10px; border-radius: 5px; white-space: nowrap; }
.nav-submenu a:hover { background: #f2f5f0; }
@media (max-width: 760px) {
    .nav-dropdown { display: block; }
    .nav-submenu { position: static; box-shadow: none; margin: 0 0 10px 9px; }
    .nav-submenu a { min-height: 42px; padding: 10px 12px; white-space: normal; }
    .nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu { display: none; }
    .nav-dropdown.open .nav-submenu { display: block; }
}

.documents-page { min-height: 60vh; }
.documents-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 13px 0 48px; padding: clamp(26px, 5vw, 55px); border-radius: 14px; color: var(--white); background: var(--green); }
.documents-hero > div:first-child { max-width: 650px; }
.documents-hero h1, .document-detail-heading h1 { font: 400 clamp(2.5rem, 5vw, 4.5rem)/1.03 var(--serif); letter-spacing: -.045em; }
.documents-hero p { max-width: 570px; margin: 13px 0 22px; color: #e0e9df; }
.documents-hero-icon { display: grid; width: 138px; height: 138px; flex: none; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; color: var(--gold); font-size: 4.5rem; }
.documents-section { scroll-margin-top: 25px; }
.documents-section .section-heading { align-items: end; }
.documents-section .section-heading h2 { margin: 8px 0; }
.documents-total { padding: 7px 11px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: var(--white); font-size: .82rem; white-space: nowrap; }
.documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-documents { padding-top: 48px; }
.home-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 285px); align-items: stretch; gap: clamp(22px, 3vw, 38px); }
.home-archive-documents { min-width: 0; }
.home-archive-documents .section-heading { margin-top: 7px; }
.home-archive-documents .home-documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.camat-card { align-self: end; overflow: hidden; border: 1px solid #e0e6dd; border-radius: 15px; background: var(--white); box-shadow: 0 16px 42px #183c2b12; }
.camat-photo-wrap { position: relative; display: grid; min-height: 280px; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e8eee4, #d4e2d5 55%, #c1d4c6); }
.camat-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 28%; }
.camat-photo-placeholder { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid #ffffffa8; border-radius: 50%; background: #ffffff7a; box-shadow: 0 12px 30px #183c2b16; }
.camat-photo-placeholder svg { width: 67px; fill: #4c765b; }
.camat-photo-label { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; border: 1px solid #ffffff7a; border-radius: 30px; color: #fff; background: #173d2dcc; backdrop-filter: blur(8px); font-size: .72rem; font-weight: 750; letter-spacing: .035em; }
.camat-card-copy { padding: 20px 22px 22px; }
.camat-card-kicker { display: block; margin-bottom: 7px; color: #64816b; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.camat-card-copy h2 { font: 700 clamp(1.15rem, 1.8vw, 1.5rem)/1.2 var(--serif); letter-spacing: -.025em; }
.camat-card-copy p { margin-top: 7px; color: var(--muted); font-size: .87rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.article-views { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .82rem; }
.article-views .icon { width: 17px; height: 17px; }
.home-documents-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.document-card { display: flex; min-height: 220px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.document-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.document-type { padding: 5px 9px; border-radius: 5px; color: #a33a32; background: #fae9e5; font-size: .76rem; font-weight: 800; }
.document-card time, .document-detail-heading time { color: var(--muted); font-size: .78rem; }
.document-card h3 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.28; }
.document-card h3 a:hover { color: color-mix(in srgb, var(--green) 82%, #000); text-decoration: underline; text-underline-offset: 3px; }
.document-card > p { margin-top: 9px; color: var(--muted); font-size: .87rem; }
.document-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 19px; }
.document-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 13px 0 23px; }
.document-detail-heading h1 { max-width: 850px; margin-bottom: 9px; font-size: clamp(2rem, 4vw, 3.4rem); }
.document-detail-heading p { max-width: 780px; margin-top: 12px; color: var(--muted); }
.document-detail-heading .button { flex: none; color: var(--ink); }
.document-preview-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #e6e8e6; }
.document-preview-frame iframe { display: block; width: 100%; height: min(82vh, 1000px); min-height: 560px; border: 0; }
.document-preview-help { margin-top: 11px; color: var(--muted); font-size: .86rem; }
.document-preview-help a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .documents-grid, .home-documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-archive-layout { grid-template-columns: minmax(0, 1fr) minmax(210px, 250px); gap: 20px; } .camat-photo-wrap { min-height: 230px; } }
@media (max-width: 700px) { .home-archive-layout { grid-template-columns: 1fr; } .camat-card { width: min(100%, 420px); justify-self: center; } .camat-photo-wrap { min-height: 280px; } }
@media (max-width: 600px) { .documents-grid, .home-documents-grid, .home-archive-documents .home-documents-grid { grid-template-columns: 1fr; } .documents-hero-icon { width: 80px; height: 80px; font-size: 2.8rem; } .document-detail-heading { align-items: start; flex-direction: column; } .document-preview-frame iframe { min-height: 65vh; } }
