/* ============================================================
   YPWK Digital — Public UI (konsolidasi)
   Satu-satunya stylesheet website publik. Menggantikan:
   ypwk.css, live-ready-ui.css, ui-v17, ui-v20, ui-v21.
   Portal internal memakai portal-ui.css (terpisah).

   Daftar isi:
   1. Design tokens & reset
   2. Header & navigasi
   3. Hero beranda & page-hero
   4. Section, judul, tombol, badge
   5. Grid kartu (akses, berita, fitur, galeri, artikel)
   6. Profil, kontak, detail konten
   7. Footer & utilitas
   8. Responsif
   ============================================================ */

/* 1. DESIGN TOKENS & RESET
   ------------------------------------------------------------ */
:root {
    --navy-900: #0a1a2f;
    --navy-800: #0f2948;
    --navy-700: #16385f;
    --gold-400: #f2c063;
    --gold-500: #eab048;
    --gold-600: #d99a26;

    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-soft: #f6f8fc;
    --border: #e2e8f1;
    --text: #1b2940;
    --text-soft: #51617c;
    --text-faint: #7d8ca3;

    --success: #147a4d;
    --success-bg: #e3f4eb;
    --info: #1c5dbf;
    --info-bg: #e8f0fc;

    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 9px;
    --shadow-card: 0 1px 2px rgba(16, 34, 61, 0.05), 0 10px 30px rgba(16, 34, 61, 0.07);
    --shadow-float: 0 14px 44px rgba(10, 26, 47, 0.16);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: var(--info); }

:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container {
    width: min(var(--container), 100% - 40px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    z-index: 300;
    padding: 8px 14px;
    background: var(--navy-800);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* 2. HEADER & NAVIGASI (pill mengambang)
   ------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 100;
    width: min(1240px, 100% - 24px);
    margin: 12px auto 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 241, 0.9);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}
.brand .logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}
.brand strong { display: block; font-size: 14.5px; line-height: 1.25; }
.brand span { display: block; font-size: 12px; color: var(--text-faint); }

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}
.nav a:hover { color: var(--navy-800); background: var(--surface-soft); }
.nav a.active { color: var(--navy-800); background: #fff; box-shadow: 0 2px 10px rgba(16, 34, 61, 0.12); }
.nav .mobile-nav-cta { display: none; }

.header-action { flex: 0 0 auto; }

.public-menu-toggle { display: none; }

/* 3. HERO BERANDA & PAGE-HERO
   ------------------------------------------------------------ */
.hero {
    position: relative;
    margin-top: -78px; /* video menerobos ke belakang header pill */
    padding: 150px 0 84px;
    background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
    color: #fff;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 26, 47, 0.88) 8%, rgba(15, 41, 72, 0.62) 55%, rgba(10, 26, 47, 0.55));
}
.hero-inner {
    position: relative;
    z-index: 1;
    width: min(var(--container), 100% - 40px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 14px 0 16px;
}
.hero p { font-size: 16.5px; color: #ccd7e6; max-width: 560px; }
.hero-eyebrow { color: var(--gold-400); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.hero-panel {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px;
    box-shadow: var(--shadow-float);
}
.hero-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.hero-panel-title strong { display: block; font-size: 15px; }
.hero-panel-title span { font-size: 12.5px; color: #b6c4d8; }

.public-menu-card { display: grid; gap: 8px; }
.public-menu-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.public-menu-card a span { color: var(--gold-400); }
.public-menu-card a:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateX(2px);
}

/* Hero halaman dalam (profil, berita, detail, dsb.) */
.page-hero {
    position: relative;
    margin-top: -78px;
    padding: 132px 0 56px;
    background:
        radial-gradient(640px 320px at 88% 0%, rgba(234, 176, 72, 0.16), transparent 60%),
        linear-gradient(155deg, var(--navy-800), var(--navy-900));
    color: #fff;
}
.page-hero-inner {
    width: min(var(--container), 100% - 40px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 40px;
    align-items: center;
}
.page-hero h1 {
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 12px 0 10px;
}
.page-hero p { font-size: 15.5px; color: #ccd7e6; max-width: 560px; }
.page-hero-media img {
    width: 100%;
    height: 230px;
    object-fit: contain; /* logo/foto tampil utuh, tidak di-crop paksa */
    background: #fff;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-float);
}

.preview-banner {
    position: relative;
    z-index: 110;
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 13.5px;
}

/* 4. SECTION, JUDUL, TOMBOL, BADGE
   ------------------------------------------------------------ */
.section { padding: 64px 0; }
.compact-section { padding: 48px 0 28px; }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 6px;
    max-width: 560px;
}
.section-title p { font-size: 14.5px; color: var(--text-soft); max-width: 420px; }
.space-title { margin-top: 48px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(160deg, var(--gold-400), var(--gold-500));
    color: var(--navy-900);
    box-shadow: 0 8px 22px rgba(234, 176, 72, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(234, 176, 72, 0.45); }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }

.btn-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}
.btn-light:hover { background: rgba(255, 255, 255, 0.16); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--text-soft);
    white-space: nowrap;
}
.badge.info { background: var(--info-bg); border-color: #c8daf6; color: var(--info); }
.badge.success { background: var(--success-bg); border-color: #bfe3cf; color: var(--success); }
.badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.hero-panel .badge.success {
    background: rgba(56, 178, 116, 0.18);
    border-color: rgba(56, 178, 116, 0.4);
    color: #7ee2b1;
}

/* 5. GRID KARTU
   ------------------------------------------------------------ */
/* Akses cepat beranda */
.page-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.page-link-card {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.page-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: var(--gold-500);
}
.page-link-card span {
    justify-self: start;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-700);
}
.page-link-card h3 { font-size: 17px; }
.page-link-card p { font-size: 13.5px; color: var(--text-soft); }

/* Berita */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.news-image, .news-cover {
    width: 100%;
    height: 175px;
    object-fit: cover;
}
.news-cover {
    background:
        radial-gradient(220px 130px at 78% 22%, rgba(234, 176, 72, 0.35), transparent 65%),
        linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.news-card .body, .article-card .body, .gallery-card .body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 18px 20px 20px;
    flex: 1;
}
.news-card .badge, .article-card .badge, .gallery-card .badge { justify-self: start; }
.news-card h3, .article-card h3, .gallery-card h3 { font-size: 16.5px; line-height: 1.35; }
.news-card .body p, .article-card .body p, .gallery-card .body p {
    font-size: 13.5px;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fitur / pengurus / unit */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.feature-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.feature-card .icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, #fdf3dd, #fbe7bd);
    color: var(--gold-600);
    font-size: 14px;
    font-weight: 700;
}
.feature-card h3 { font-size: 16.5px; }
.feature-card p { font-size: 13.5px; color: var(--text-soft); }
.leader-image {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--surface-soft);
    box-shadow: var(--shadow-card);
}

/* Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.gallery-card > img, .gallery-cover {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.gallery-cover {
    background:
        radial-gradient(200px 120px at 25% 25%, rgba(234, 176, 72, 0.3), transparent 60%),
        linear-gradient(150deg, var(--navy-700), var(--navy-900));
}

/* Daftar artikel/berita */
.list-grid { display: grid; gap: 14px; }
.article-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.article-image {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}
.article-image.placeholder {
    background:
        radial-gradient(160px 100px at 70% 30%, rgba(234, 176, 72, 0.3), transparent 60%),
        linear-gradient(150deg, var(--navy-700), var(--navy-900));
}

/* 6. PROFIL, KONTAK, DETAIL KONTEN
   ------------------------------------------------------------ */
.profile-preview-section { padding-top: 0; }
.profile-condensed {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}
.profile-condensed h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 8px 0 10px; }
.profile-condensed p { font-size: 14.5px; color: var(--text-soft); max-width: 620px; }
.profile-condensed .btn { margin-top: 20px; }
.profile-mark {
    display: grid;
    place-items: center;
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(180px 120px at 30% 20%, rgba(234, 176, 72, 0.18), transparent 60%),
        var(--surface-soft);
    border: 1px solid var(--border);
}
.profile-mark img { width: 150px; }

.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.mini-stat-grid > div {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}
.mini-stat-grid strong { display: block; font-size: 15px; }
.mini-stat-grid span { font-size: 12px; color: var(--text-faint); }
.mini-stat-grid.stacked { grid-template-columns: 1fr; margin-top: 16px; }

/* Profil lengkap */
.profile-dense {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: start;
}
.profile-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 4px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.profile-side img { width: 110px; margin-inline: auto; }

/* Kontak */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    align-items: start;
}
.contact-card {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.contact-card h3 { font-size: 18px; }
.contact-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-soft);
}
.contact-row strong { color: var(--text); }
.contact-row i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--navy-700);
}
.contact-cta {
    background:
        radial-gradient(320px 200px at 85% 10%, rgba(234, 176, 72, 0.2), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-900));
    border: 0;
    color: #ccd7e6;
}
.contact-cta h3 { color: #fff; }
.contact-cta p { font-size: 14px; }
.contact-cta .badge.info {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    justify-self: start;
}
.contact-cta .btn { justify-self: start; background: #fff; color: var(--navy-800); }

/* Detail konten + konten terkait */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.rich-content {
    display: block;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    font-size: 15px;
    color: var(--text-soft);
}
.rich-content .badge { margin-bottom: 12px; }
.rich-content h2 { font-size: clamp(21px, 2.6vw, 27px); color: var(--text); margin-bottom: 14px; line-height: 1.25; }
.rich-content h3, .rich-content h4 { color: var(--text); margin: 20px 0 8px; }
.rich-content p { margin: 0 0 12px; }
.rich-content ul, .rich-content ol { margin: 0 0 12px; padding-left: 22px; }
.rich-content li { margin-bottom: 4px; }
.rich-content blockquote {
    margin: 14px 0;
    padding: 10px 18px;
    border-left: 3px solid var(--gold-500);
    background: var(--surface-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rich-content a { color: var(--info); }

.detail-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.detail-media-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.detail-media-grid figcaption { font-size: 12px; color: var(--text-faint); margin-top: 5px; }

.related-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.related-panel h3 { font-size: 15px; }
.related-panel > p { font-size: 13px; color: var(--text-soft); }
.related-link {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.12s ease, background 0.12s ease;
}
.related-link:hover { border-color: var(--gold-500); background: #fffaf0; }
.related-link strong { font-size: 13.5px; line-height: 1.35; }
.related-link span {
    font-size: 12px;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Panel generik (hasil integrasi pembayaran, dsb.) */
.panel {
    display: grid;
    gap: 10px;
    max-width: 560px;
    margin: 40px auto;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.panel h1 { font-size: 24px; line-height: 1.25; }
.panel p { font-size: 14.5px; color: var(--text-soft); }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* 7. FOOTER & UTILITAS
   ------------------------------------------------------------ */
.site-footer {
    margin-top: 30px;
    padding: 26px 0;
    background: var(--navy-900);
    color: #b6c4d8;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    flex-wrap: wrap;
    font-size: 13.5px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand strong { font-size: 14px; }
.site-footer .brand span { color: #8ea1bb; }
.site-footer .logo { width: 38px; height: 38px; }

.muted { color: var(--text-faint); }
.text-link {
    color: var(--info);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* 8. RESPONSIF
   ------------------------------------------------------------ */
@media (max-width: 1120px) {
    .public-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 14px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--surface);
        cursor: pointer;
        font: inherit;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--text);
    }
    .public-menu-toggle span {
        display: block;
        width: 15px;
        height: 2px;
        border-radius: 2px;
        background: var(--navy-800);
        box-shadow: 0 5px 0 var(--navy-800), 0 -5px 0 var(--navy-800);
    }
    .public-menu-toggle span + span { display: none; }

    .header-action { display: none; }

    .nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-float);
    }
    .nav.open { display: flex; }
    .nav a { padding: 11px 16px; border-radius: var(--radius-md); }
    .nav a.active { background: var(--surface-soft); box-shadow: none; }
    .nav .mobile-nav-cta {
        display: block;
        margin-top: 6px;
        text-align: center;
        background: linear-gradient(160deg, var(--gold-400), var(--gold-500));
        color: var(--navy-900);
    }

    .hero-inner, .page-hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding: 130px 0 60px; }
    .page-hero { padding: 118px 0 48px; }
    .page-hero-media img { max-height: 220px; }

    .detail-layout, .profile-dense { grid-template-columns: 1fr; }
    .related-panel, .profile-side { position: static; }
}

/* 9. PUBLIC EXPERIENCE V24
   Hierarki dan ritme beranda berdasarkan konsep public-home-v21.
   ------------------------------------------------------------ */
body.public-site {
    overflow-x: clip;
    background: #f7f9fc;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

svg {
    flex: 0 0 auto;
}

.btn-icon,
.link-arrow,
.page-link-icon svg,
.credibility-item > svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-icon,
.link-arrow {
    width: 19px;
    height: 19px;
}

.site-header {
    top: 10px;
    width: min(1310px, calc(100% - 24px));
    margin-top: 10px;
}

.header-inner {
    min-height: 64px;
    padding: 8px 12px 8px 14px;
    border-color: rgba(215, 223, 235, 0.92);
    box-shadow: 0 10px 34px rgba(10, 26, 47, 0.13);
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
}

.nav a[aria-current="page"] {
    color: var(--navy-800);
}

.header-action .btn {
    min-height: 46px;
    padding-inline: 20px;
}

.header-action .btn[aria-current="page"] {
    box-shadow: 0 0 0 3px rgba(234, 176, 72, 0.23), 0 8px 22px rgba(234, 176, 72, 0.35);
}

.hero {
    min-height: 590px;
    margin-top: -76px;
    padding: 164px 0 136px;
    display: flex;
    align-items: center;
    background: var(--navy-900);
}

.hero-video {
    object-position: center;
}

.hero-video-overlay {
    background:
        linear-gradient(90deg, rgba(7, 24, 45, 0.97) 0%, rgba(10, 35, 65, 0.91) 34%, rgba(10, 35, 65, 0.56) 67%, rgba(7, 24, 45, 0.26) 100%),
        linear-gradient(180deg, rgba(7, 22, 41, 0.12) 55%, rgba(7, 22, 41, 0.62) 100%);
}

.hero-inner {
    display: block;
}

.hero-copy {
    max-width: 680px;
    min-width: 0;
}

.hero h1 {
    max-width: 650px;
    margin: 15px 0 18px;
    font-size: clamp(38px, 4.8vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.22);
}

.hero p {
    max-width: 610px;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: #e3eaf4;
    text-wrap: pretty;
}

.hero-eyebrow {
    letter-spacing: 0.12em;
    color: var(--gold-400);
}

.hero-actions {
    gap: 12px;
    margin-top: 30px;
}

.hero-actions .btn {
    min-height: 48px;
    padding-inline: 21px;
}

.hero-actions .btn-light {
    background: rgba(5, 22, 43, 0.34);
    border-color: rgba(255, 255, 255, 0.62);
}

.credibility-strip {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(10, 26, 47, 0.14);
}

.credibility-item {
    min-width: 0;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 20px;
    color: var(--navy-800);
}

.credibility-item + .credibility-item {
    border-left: 1px solid var(--border);
}

.credibility-item > svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.45;
}

.credibility-item span {
    display: grid;
    min-width: 0;
}

.credibility-item strong {
    font-size: 14px;
    line-height: 1.35;
}

.credibility-item small {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.quick-access-section {
    padding: 58px 0 60px;
}

.quick-access-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.quick-access-layout > * {
    min-width: 0;
}

.quick-access-layout h2 {
    margin-top: 7px;
    font-size: clamp(23px, 2.5vw, 31px);
    line-height: 1.15;
    color: var(--navy-900);
}

.quick-access-layout > div:first-child > p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.page-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.page-link-card {
    min-height: 124px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    align-content: center;
    gap: 13px;
    padding: 17px;
    border-radius: 13px;
    box-shadow: 0 1px 2px rgba(16, 34, 61, 0.04);
}

.page-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 34, 61, 0.1);
}

.page-link-card .page-link-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
    border: 0;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(10, 26, 47, 0.2);
}

.page-link-icon svg {
    width: 23px;
    height: 23px;
}

.page-link-card > .page-link-content {
    min-width: 0;
    display: grid;
    gap: 5px;
    justify-self: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.page-link-content strong {
    color: var(--navy-900);
    font-size: 14px;
    line-height: 1.35;
}

.page-link-content small {
    color: var(--text-soft);
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.page-link-card > .link-arrow {
    align-self: end;
    width: 18px;
    height: 18px;
    color: var(--navy-700);
    transition: transform 0.15s ease;
}

.page-link-card:hover > .link-arrow {
    transform: translateX(3px);
}

.profile-preview-section {
    padding: 0 0 66px;
}

.profile-condensed {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
    gap: clamp(28px, 5vw, 64px);
    min-height: 350px;
    padding: clamp(28px, 4vw, 48px);
    color: #fff;
    background:
        radial-gradient(520px 280px at 7% 12%, rgba(242, 192, 99, 0.23), transparent 64%),
        linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border: 0;
    box-shadow: 0 22px 56px rgba(10, 26, 47, 0.17);
}

.profile-mark {
    min-height: 240px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.16);
}

.profile-mark img {
    width: min(180px, 76%);
}

.profile-copy {
    min-width: 0;
}

.profile-condensed .eyebrow {
    color: var(--gold-400);
}

.profile-condensed h2 {
    max-width: 650px;
    margin: 9px 0 13px;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    text-wrap: balance;
}

.profile-condensed p {
    max-width: 680px;
    color: #cdd8e7;
    font-size: 15.5px;
    line-height: 1.72;
}

.profile-condensed .btn-dark {
    color: var(--navy-900);
    background: linear-gradient(160deg, var(--gold-400), var(--gold-500));
    box-shadow: 0 8px 22px rgba(234, 176, 72, 0.22);
}

.latest-section {
    padding-top: 0;
}

.section-action,
.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-700);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.section-action:hover,
.text-link:hover {
    color: var(--info);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-news-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-news-grid .news-card:first-child {
    grid-row: 1 / 3;
}

.home-news-grid .news-card:first-child .news-image,
.home-news-grid .news-card:first-child .news-cover {
    height: 250px;
}

.home-news-grid .news-card:not(:first-child) {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr);
}

.home-news-grid .news-card:not(:first-child) .news-image,
.home-news-grid .news-card:not(:first-child) .news-cover {
    width: 158px;
    height: 100%;
    min-height: 164px;
}

.home-news-grid .news-card:not(:first-child) .body {
    padding: 16px 18px;
}

.home-news-grid .news-card:not(:first-child) .body p {
    -webkit-line-clamp: 2;
}

.news-cover {
    position: relative;
}

.news-cover::after {
    content: "YPWK";
    position: absolute;
    right: 18px;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.site-footer {
    margin-top: 22px;
    padding: 30px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 24px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 18px;
}

.footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #b6c4d8;
    font-size: 13px;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-copyright {
    white-space: nowrap;
}

.public-menu-toggle {
    min-width: 88px;
    min-height: 44px;
    justify-content: center;
}

.public-menu-toggle .menu-icon {
    width: 18px;
    height: auto;
    display: grid;
    gap: 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.public-menu-toggle .menu-icon > span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: var(--navy-800);
    box-shadow: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.public-menu-toggle[aria-expanded="true"] .menu-icon > span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.public-menu-toggle[aria-expanded="true"] .menu-icon > span:nth-child(2) {
    opacity: 0;
}

.public-menu-toggle[aria-expanded="true"] .menu-icon > span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.contact-layout {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.rich-content,
.related-panel,
.contact-card,
.article-card,
.gallery-card,
.feature-card {
    min-width: 0;
}

.rich-content,
.related-panel,
.contact-row,
.article-card,
.gallery-card,
.feature-card {
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    body.public-nav-open {
        overflow: hidden;
    }

    .site-header {
        width: min(720px, calc(100% - 20px));
    }

    .nav {
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav a {
        flex: 0 0 auto;
        width: 100%;
    }

    .nav .mobile-nav-cta {
        min-height: 46px;
    }

    .hero {
        min-height: 560px;
        padding: 148px 0 118px;
    }

    .credibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credibility-item:nth-child(3) {
        border-left: 0;
    }

    .credibility-item:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

    .quick-access-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .quick-access-layout > div:first-child > p {
        max-width: 560px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-copyright {
        white-space: normal;
    }
}

@media (max-width: 860px) {
    .page-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-news-grid .news-card:first-child {
        grid-row: auto;
    }

    .home-news-grid .news-card:not(:first-child) {
        grid-template-columns: 158px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .section {
        padding: 44px 0;
    }

    .compact-section {
        padding: 36px 0 20px;
    }

    .container,
    .hero-inner,
    .page-hero-inner {
        width: min(var(--container), calc(100% - 30px));
    }

    .site-header {
        top: 8px;
        margin-top: 8px;
    }

    .header-inner {
        padding: 7px 9px;
        border-radius: 18px;
    }

    .brand {
        gap: 9px;
    }

    .brand strong {
        max-width: 175px;
        line-height: 1.2;
    }

    .brand span {
        display: none;
    }

    .brand .logo {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 540px;
        margin-top: -68px;
        padding: 130px 0 98px;
    }

    .hero-video {
        object-position: 62% center;
    }

    .hero-video-overlay {
        background:
            linear-gradient(90deg, rgba(7, 24, 45, 0.97) 0%, rgba(10, 35, 65, 0.87) 72%, rgba(7, 24, 45, 0.58) 100%),
            linear-gradient(180deg, rgba(7, 22, 41, 0.12), rgba(7, 22, 41, 0.65));
    }

    .hero h1 {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .credibility-strip {
        margin-top: -36px;
    }

    .credibility-grid {
        padding: 10px;
    }

    .credibility-item {
        min-height: 76px;
        gap: 10px;
        padding: 10px;
    }

    .credibility-item > svg {
        width: 27px;
        height: 27px;
    }

    .credibility-item strong {
        font-size: 12.5px;
    }

    .credibility-item small {
        font-size: 11.5px;
    }

    .quick-access-section {
        padding: 44px 0 48px;
    }

    .page-card-grid {
        grid-template-columns: 1fr;
    }

    .page-link-card {
        min-height: 108px;
    }

    .profile-condensed {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 26px;
    }

    .profile-mark {
        min-height: 190px;
    }

    .profile-mark img {
        width: 135px;
    }

    .section-title {
        align-items: flex-start;
    }

    .home-news-grid .news-card:not(:first-child) {
        grid-template-columns: 122px minmax(0, 1fr);
    }

    .home-news-grid .news-card:not(:first-child) .news-image,
    .home-news-grid .news-card:not(:first-child) .news-cover {
        width: 122px;
        min-height: 178px;
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .article-image {
        min-height: 0;
        height: 170px;
    }

    .rich-content,
    .panel {
        padding: 22px;
    }

    .footer-nav {
        gap: 0 14px;
    }
}

@media (max-width: 480px) {
    .brand strong {
        max-width: 145px;
        font-size: 12px;
    }

    .public-menu-toggle {
        min-width: 78px;
        padding-inline: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .credibility-grid {
        grid-template-columns: 1fr;
    }

    .credibility-item + .credibility-item,
    .credibility-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .home-news-grid .news-card:not(:first-child) {
        display: flex;
    }

    .home-news-grid .news-card:not(:first-child) .news-image,
    .home-news-grid .news-card:not(:first-child) .news-cover {
        width: 100%;
        height: 176px;
        min-height: 0;
    }
}
