.pr-page {
    --pr-primary: #1E3C72;
    --pr-accent: #7E22CE;
    --pr-gold: #E0B958;
    --pr-muted: #4A5568;
    --pr-bg: #F4F5FA;
    --pr-nav-h: 80px;
    --pr-radius: 16px;
    --pr-shadow: 0 4px 14px rgba(20, 40, 79, .08);
    --pr-shadow-hover: 0 24px 44px rgba(20, 40, 79, .22);
    --pr-serif: 'Source Serif 4', Georgia, serif;

    margin-top: var(--pr-nav-h);
    font-family: 'Public Sans', system-ui, sans-serif;
    line-height: 1.6;
    color: #1B2433;
    background: #fff;
}

.pr-page *, .pr-page *::before, .pr-page *::after { box-sizing: border-box; }
.pr-page h1, .pr-page h2, .pr-page h3, .pr-page p, .pr-page figure { margin: 0; }
.pr-page img { max-width: 100%; }

.pr-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.pr-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pr-accent);
}
.pr-eyebrow--gold { color: var(--pr-gold); }

.pr-title {
    font-family: var(--pr-serif);
    font-size: 40px;
    line-height: 1.15;
    font-weight: 600;
    color: var(--pr-primary);
}

.pr-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    min-height: calc(100vh - var(--pr-nav-h));
    min-height: calc(100dvh - var(--pr-nav-h));
    overflow: hidden;
    background: var(--pr-primary);
}
@media (max-height: 500px) { .pr-hero { min-height: 420px; } }

.pr-hero__slide {
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s ease;
}
.pr-hero__slide.is-active { opacity: 1; animation: pr-zoom 7s ease-out forwards; }
@keyframes pr-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.pr-hero__slide.pr-hero__slide--empty {
    background: radial-gradient(circle at 80% 20%, rgba(224, 185, 88, .25), transparent 45%),
                linear-gradient(135deg, #14284f, var(--pr-primary) 55%, #2c4a9e);
    transform: none;
    animation: none;
}

.pr-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top right,
        rgba(30, 60, 114, .88) 0%,
        rgba(30, 60, 114, .55) 35%,
        rgba(30, 60, 114, .15) 70%,
        rgba(30, 60, 114, 0) 100%
    );
}

.pr-hero__content { position: relative; padding-top: 140px; padding-bottom: 104px; }
.pr-hero__title {
    max-width: 860px;
    margin-bottom: 16px;
    font-family: var(--pr-serif);
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 12px rgba(20, 40, 79, .45);
}
.pr-hero__sub {
    font-size: 20px;
    font-weight: 500;
    color: var(--pr-gold);
    text-shadow: 0 2px 10px rgba(20, 40, 79, .45);
}

.pr-hero__dots { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; gap: 8px; }
.pr-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.pr-dot.is-active { width: 28px; background: var(--pr-gold); }
.pr-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.pr-section {
    padding: 80px 0;
    background: var(--pr-bg);
    scroll-margin-top: calc(var(--pr-nav-h) + 16px);
}
.pr-section--white { background: #fff; }
.pr-section--slim { padding: 40px 0 72px; }
.pr-empty { margin-top: 40px; text-align: center; color: #888; }

.pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }

.pr-card,
.pr-person {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: var(--pr-radius);
    box-shadow: var(--pr-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

.pr-card::after,
.pr-person::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--pr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.pr-card__photo,
.pr-person__photo { overflow: hidden; background: #E4E8F2; }
.pr-card__photo   { aspect-ratio: 4 / 3; }
.pr-person__photo { aspect-ratio: 3 / 4; }

.pr-card__photo > *,
.pr-person__photo > * { transition: transform .6s ease; }
.pr-card__photo img,
.pr-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pr-card__placeholder,
.pr-person__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px dashed #8FA0C8;
    font-size: 14px;
    font-weight: 500;
    color: var(--pr-primary);
}

.pr-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 22px; }
.pr-card__title {
    flex: 1;
    font-family: var(--pr-serif);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--pr-primary);
}
.pr-card__year { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--pr-muted); }

.pr-rank {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pr-primary);
}
.pr-rank--gold    { background: #E0B958; }
.pr-rank--silver  { background: #DDE2EC; }
.pr-rank--bronze  { background: #E9B07C; }
.pr-rank--harapan { background: #fff; border: 1.5px solid var(--pr-primary); }

.pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 16px;
    padding: 10px 20px;
    border: 1.5px solid var(--pr-primary);
    border-radius: var(--pr-radius);
    color: var(--pr-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.pr-btn svg { transition: transform .2s; }
.pr-btn:focus-visible { outline: 3px solid var(--pr-accent); outline-offset: 3px; }

.pr-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pr-pager__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--pr-primary);
    border-radius: 12px;
    background: #fff;
    color: var(--pr-primary);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.pr-pager__item.is-current { background: var(--pr-primary); color: #fff; }
.pr-pager__item:focus-visible { outline: 3px solid var(--pr-accent); outline-offset: 3px; }

.pr-hero--detail { min-height: 480px; }
.pr-hero--detail .pr-hero__content { padding-top: 120px; padding-bottom: 64px; }
.pr-hero--detail .pr-hero__title { font-size: clamp(32px, 5vw, 56px); }
.pr-hero--detail .pr-rank { display: inline-block; margin-bottom: 16px; }

.pr-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--pr-gold);
}
.pr-back:hover { color: #fff; }

.pr-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 64px;
    align-items: start;
}
.pr-text { max-width: 640px; margin-bottom: 14px; font-size: 18px; color: var(--pr-muted); }

.pr-info { margin: 0; padding-top: 18px; border-top: 3px solid var(--pr-accent); }
.pr-info dt {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pr-muted);
}
.pr-info dd { margin: 2px 0 18px; font-size: 18px; font-weight: 600; color: var(--pr-primary); }

.pr-person__info { padding: 16px 16px 22px; text-align: center; }
.pr-person__name {
    font-family: var(--pr-serif);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--pr-primary);
}
.pr-person__class { margin-top: 2px; font-size: 14px; color: var(--pr-muted); }
.pr-person__note {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #EDE4FA;
    font-size: 12px;
    font-weight: 600;
    color: #5B21B6;
}

.pr-person__photo { position: relative; }
.pr-person__photo img { position: absolute; inset: 0; }

.pr-person__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--pr-serif);
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 600;
    letter-spacing: .04em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    user-select: none;
    background: var(--tone-a);
}

.pr-tone-0 { --tone-a: linear-gradient(135deg, #1E3C72, #3b5ca8); }
.pr-tone-1 { --tone-a: linear-gradient(135deg, #6D28D9, #8b5cf6); }
.pr-tone-2 { --tone-a: linear-gradient(135deg, #0F766E, #0d9488); }
.pr-tone-3 { --tone-a: linear-gradient(135deg, #B45309, #d97706); }
.pr-tone-4 { --tone-a: linear-gradient(135deg, #9D174D, #db2777); }
.pr-tone-5 { --tone-a: linear-gradient(135deg, #166534, #16a34a); }
.pr-tone-6 { --tone-a: linear-gradient(135deg, #1E40AF, #2563eb); }
.pr-tone-7 { --tone-a: linear-gradient(135deg, #B91C1C, #dc2626); }

@media (hover: hover) {
    .pr-card:hover,
    .pr-person:hover { transform: translateY(-8px); box-shadow: var(--pr-shadow-hover); }

    .pr-card:hover::after,
    .pr-person:hover::after { transform: scaleX(1); }

    .pr-card:hover .pr-card__photo > *,
    .pr-person:hover .pr-person__photo > * { transform: scale(1.08); }

    .pr-btn:hover { background: var(--pr-primary); color: #fff; }
    .pr-btn:hover svg { transform: translateX(4px); }

    .pr-pager__item:hover { background: var(--pr-primary); color: #fff; }
}

@media (max-width: 1024px) {
    .pr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pr-container { padding: 0 20px; }
    .pr-section { padding: 56px 0; }
    .pr-section--slim { padding: 32px 0 56px; }
    .pr-title { font-size: 32px; }
    .pr-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .pr-hero__content { padding-top: 100px; padding-bottom: 88px; }
    .pr-hero__sub { font-size: 18px; }
    .pr-hero__overlay {
        background: linear-gradient(to top, rgba(30, 60, 114, .88) 0%, rgba(30, 60, 114, .55) 45%, rgba(30, 60, 114, .2) 100%);
    }

    .pr-hero--detail { min-height: 420px; }
    .pr-hero--detail .pr-hero__content { padding-top: 96px; padding-bottom: 48px; }
    .pr-split { gap: 32px; }
    .pr-text { font-size: 17px; }
}

@media (max-width: 520px) {
    .pr-grid { grid-template-columns: 1fr; }
    .pr-grid--people { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .pr-hero__slide,
    .pr-card, .pr-card::after, .pr-card__photo > *,
    .pr-person, .pr-person::after, .pr-person__photo > *,
    .pr-btn, .pr-btn svg, .pr-pager__item { transition: none; }

    .pr-hero__slide { transform: none; }
    .pr-hero__slide.is-active { animation: none; }
}