/*Web Developer: Wafa Rifqi Anafin*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #d5a839;
    border: 2px solid #f5f5f5;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e2bc55;
}

:root {
    --pan-blue: #A2A19E;
    --pan-blue-dark: #C9C9C8;
    --pan-navy: #052f4f;
    --pan-ink: #10293b;
    --pan-muted: #667c8c;
    --pan-line: #dbe8f0;
    --pan-surface: #f5f9fc;
    --pan-white: #fff;
    --gold: #d8ad3d;
    --gold-light: #f2d47a;
    --gold-dark: #b9851f;
    --container: 1240px;
    --header: 78px;
    --ease: cubic-bezier(.2, .78, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 24px 70px rgba(8, 59, 94, .11);
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: #fff;
    color: var(--pan-ink);
    font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

body.menu-open,
body.lightbox-open,
body.terms-modal-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

main {
    min-height: 70vh
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(9, 75, 116, .09);
    transition: box-shadow .3s ease, background .3s ease
}

.site-header.scrolled {
    box-shadow: 0 12px 40px rgba(8, 49, 77, .09);
    background: rgba(255, 255, 255, .985)
}

.nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0
}

.brand img {
    width: min(214px, 32vw);
    height: 46px;
    object-fit: contain;
    object-position: left center
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto
}

.nav-link {
    position: relative;
    padding: 13px 15px;
    color: #A2A19E;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: color .2s ease
}

.nav-link:after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 7px;
    height: 2px;
    background: var(--pan-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .28s var(--ease)
}

.nav-link:hover,
.nav-link.active {
    color: var(--pan-blue)
}

.nav-link:hover:after,
.nav-link.active:after {
    transform: scaleX(1);
    transform-origin: left
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #c8952c);
    border: 1px solid rgba(129, 86, 10, .32);
    color: #090909;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(185, 133, 31, .2);
    transition: transform .28s var(--ease-out), box-shadow .28s ease, filter .28s ease
}

.nav-cta:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120%;
    left: -45%;
    width: 36%;
    height: 340%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
    transform: rotate(22deg) translateX(-260%);
    transition: transform .58s var(--ease-out)
}

.nav-cta:hover {
    background: linear-gradient(135deg, #f6dc87, var(--gold) 48%, #c28c25);
    color: #090909;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(185, 133, 31, .3);
    filter: saturate(1.05)
}

.nav-cta:hover:before {
    transform: rotate(22deg) translateX(520%)
}

.nav-cta:active {
    transform: translateY(0) scale(.97);
    box-shadow: 0 5px 14px rgba(185, 133, 31, .24)
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--pan-line);
    background: #fff;
    padding: 0;
    place-items: center
}

.menu-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--pan-ink);
    margin: 4px auto;
    transition: .25s ease
}

body.menu-open .menu-toggle span:first-child {
    transform: translateY(5.5px) rotate(45deg)
}

body.menu-open .menu-toggle span:last-child {
    transform: translateY(-5.5px) rotate(-45deg)
}

.mobile-menu {
    display: none;
    position: fixed;
    z-index: 850;
    inset: var(--header) 0 0;
    background: #fff;
    padding: 26px 24px
}

.mobile-nav {
    display: flex;
    flex-direction: column
}

.mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid var(--pan-line);
    font-size: 19px;
    font-weight: 720;
    letter-spacing: -.02em
}

.mobile-nav a:last-child {
    position: relative;
    overflow: hidden;
    justify-content: center;
    min-height: 52px;
    margin-top: 18px;
    border: 1px solid rgba(129, 86, 10, .32);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #c8952c);
    color: #090909;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(185, 133, 31, .2);
    transition: transform .24s var(--ease-out), box-shadow .24s ease
}

.mobile-nav a:last-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(185, 133, 31, .28)
}

.mobile-nav a:last-child:active {
    transform: scale(.98)
}

/* Home hero: image only */
.hero {
    position: relative;
    background: var(--pan-navy);
    overflow: hidden
}

.hero-track {
    position: relative;
    height: clamp(520px, 50vw, 760px);
    min-height: 520px;
    isolation: isolate;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    overflow: hidden;
    background: var(--pan-navy);
    will-change: transform, clip-path
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2
}

.hero-slide.hero-initial.active {
    animation: none !important;
    transform: none !important;
    clip-path: none !important
}

.hero-slide.leaving {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    animation: heroLeaveRight .95s var(--ease) both
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    will-change: transform
}

.hero-motion-1.active {
    animation: heroReveal1 1.05s var(--ease-out) both
}

.hero-motion-1.active img {
    animation: heroImage1 7.2s linear both
}

.hero-motion-2.active {
    animation: heroReveal2 1.12s var(--ease-out) both
}

.hero-motion-2.active img {
    animation: heroImage2 7.2s linear both
}

.hero-motion-3.active {
    animation: heroReveal3 1.08s var(--ease-out) both
}

.hero-motion-3.active img {
    animation: heroImage3 7.2s linear both
}

.hero-motion-4.active {
    animation: heroReveal4 1.15s var(--ease-out) both
}

.hero-motion-4.active img {
    animation: heroImage4 7.2s linear both
}

.hero-motion-5.active {
    animation: heroReveal5 1.12s var(--ease-out) both
}

.hero-motion-5.active img {
    animation: heroImage5 7.2s linear both
}

.hero-motion-6.active {
    animation: heroReveal6 1.08s var(--ease-out) both
}

.hero-motion-6.active img {
    animation: heroImage6 7.2s linear both
}

@keyframes heroReveal1 {
    from {
        transform: translate3d(-7%, 0, 0);
        clip-path: inset(0 100% 0 0)
    }

    to {
        transform: none;
        clip-path: inset(0)
    }
}

@keyframes heroReveal2 {
    from {
        transform: translate3d(-6%, 0, 0);
        clip-path: polygon(0 0, 0 0, 14% 100%, 0 100%)
    }

    to {
        transform: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
    }
}

@keyframes heroReveal3 {
    from {
        transform: translate3d(-5%, 0, 0);
        clip-path: inset(14% 100% 14% 0)
    }

    to {
        transform: none;
        clip-path: inset(0)
    }
}

@keyframes heroReveal4 {
    from {
        transform: translate3d(-7%, 0, 0) scale(.985);
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%)
    }

    to {
        transform: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
    }
}

@keyframes heroReveal5 {
    from {
        transform: translate3d(-5%, 0, 0);
        clip-path: circle(0 at 8% 50%)
    }

    to {
        transform: none;
        clip-path: circle(145% at 50% 50%)
    }
}

@keyframes heroReveal6 {
    from {
        transform: translate3d(-7%, 0, 0);
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%)
    }

    55% {
        clip-path: polygon(0 0, 72% 0, 54% 100%, 0 100%)
    }

    to {
        transform: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
    }
}

@keyframes heroLeaveRight {
    from {
        transform: none;
        opacity: 1
    }

    to {
        transform: translate3d(4%, 0, 0);
        opacity: .65
    }
}

@keyframes heroImage1 {
    from {
        transform: scale(1.07) translate3d(-1.5%, 0, 0)
    }

    to {
        transform: scale(1.025) translate3d(1.4%, 0, 0)
    }
}

@keyframes heroImage2 {
    from {
        transform: scale(1.025) translate3d(-1.6%, 0, 0)
    }

    to {
        transform: scale(1.075) translate3d(1.4%, 0, 0)
    }
}

@keyframes heroImage3 {
    from {
        transform: scale(1.08) translate3d(-1.8%, 1%, 0)
    }

    to {
        transform: scale(1.03) translate3d(1.5%, -.5%, 0)
    }
}

@keyframes heroImage4 {
    from {
        transform: scale(1.03) translate3d(-2%, 0, 0)
    }

    to {
        transform: scale(1.06) translate3d(1.5%, 0, 0)
    }
}

@keyframes heroImage5 {
    from {
        transform: scale(1.065) translate3d(-1.6%, -.6%, 0)
    }

    to {
        transform: scale(1.025) translate3d(1.5%, .5%, 0)
    }
}

@keyframes heroImage6 {
    from {
        transform: scale(1.035) translate3d(-1.8%, .5%, 0)
    }

    to {
        transform: scale(1.07) translate3d(1.4%, -.6%, 0)
    }
}

/* Shared sections */
.section {
    padding: 102px 0
}

.soft-section {
    background: linear-gradient(180deg, #f7fafc 0%, #f2f7fa 100%)
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .65fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 44px
}

.section-heading h2,
.gallery-toolbar h2,
.registration-copy h2,
.display-title {
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.052em;
    font-weight: 780
}

.section-heading p,
.gallery-toolbar p,
.registration-copy>p,
.lead-copy {
    margin: 0;
    color: var(--pan-muted);
    font-size: 15px;
    line-height: 1.8
}

/* Quick navigation */
.quick-section {
    position: relative;
    z-index: 5;
    margin-top: -34px
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid var(--pan-line);
    box-shadow: var(--shadow)
}

.quick-card {
    min-height: 116px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid var(--pan-line);
    transition: background .25s ease, color .25s ease, transform .25s var(--ease)
}

.quick-card:last-child {
    border-right: 0
}

.quick-card:hover {
    background: var(--pan-blue);
    color: #fff;
    transform: translateY(-4px)
}

.quick-card img,
.quick-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
    display: grid;
    place-items: center;
    border: 1px solid var(--pan-line);
    font-size: 18px
}

.quick-card:hover .quick-mark {
    border-color: rgba(255, 255, 255, .45)
}

.quick-card p {
    margin: 0 0 4px;
    color: var(--pan-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: color .25s ease
}

.quick-card:hover p {
    color: rgba(255, 255, 255, .72)
}

.quick-card h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.02em
}

/* About */
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 76px;
    align-items: center
}

.image-panel {
    height: 620px;
    overflow: hidden;
    background: #eaf1f5;
    position: relative
}

.image-panel:after {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 34%;
    height: 34%;
    border-top: 8px solid rgba(255, 255, 255, .78);
    border-left: 8px solid rgba(255, 255, 255, .78);
    pointer-events: none
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out)
}

.image-panel:hover img {
    transform: scale(1.025)
}

.content-panel {
    padding: 18px 0
}

.lead-copy {
    margin-top: 24px;
    max-width: 620px;
    font-size: 16px
}

.point-list {
    margin-top: 38px;
    border-top: 1px solid var(--pan-line)
}

.point-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--pan-line)
}

.point-list article>span {
    color: var(--pan-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding-top: 4px
}

.point-list h3 {
    margin: 0 0 6px;
    font-size: 17px;
    letter-spacing: -.018em
}

.point-list p {
    margin: 0;
    color: var(--pan-muted);
    font-size: 13px;
    line-height: 1.65
}

.text-link,
.light-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
    font-size: 13px;
    font-weight: 800;
    color: var(--pan-blue);
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px
}

/* Programs */
.program-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px
}

.program-card {
    grid-column: span 4;
    background: #fff;
    border: 1px solid rgba(9, 77, 117, .09);
    transition: transform .35s var(--ease-out), box-shadow .35s ease
}

.program-card:nth-child(3n+1) {
    transform: translateY(18px)
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(9, 60, 91, .12)
}

.program-card:nth-child(3n+1):hover {
    transform: translateY(8px)
}

.program-media {
    height: 310px;
    overflow: hidden;
    background: #eaf1f5
}

.program-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out)
}

.program-card:hover .program-media img {
    transform: scale(1.045)
}

.program-copy {
    padding: 22px 22px 24px
}

.program-copy h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -.035em
}

.program-copy p {
    margin: 12px 0 0;
    color: var(--pan-muted);
    font-size: 13px;
    line-height: 1.68
}

.program-copy span {
    display: inline-block;
    margin-top: 19px;
    color: var(--pan-blue);
    font-size: 12px;
    font-weight: 800
}

/* News */
.news-layout {
    display: grid;
    grid-template-columns: 1.42fr 1fr;
    gap: 20px
}

.news-item {
    border-top: 1px solid var(--pan-line);
    padding-top: 18px
}

.news-item a {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 17px;
    align-items: start
}

.news-item.featured {
    grid-row: span 6;
    border-top: 0;
    padding-top: 0
}

.news-item.featured a {
    display: block
}

.news-image {
    height: 108px;
    overflow: hidden;
    background: #eef3f6
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out)
}

.news-item:hover img {
    transform: scale(1.04)
}

.news-item.featured .news-image {
    height: 455px
}

.news-copy>p {
    margin: 0 0 7px;
    color: var(--pan-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase
}

.news-copy h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -.022em
}

.featured .news-copy {
    padding-top: 17px
}

.featured .news-copy h3 {
    font-size: 32px;
    line-height: 1.13
}

.featured .news-copy span {
    display: block;
    margin-top: 10px;
    color: var(--pan-muted);
    font-size: 13px;
    line-height: 1.7
}

/* Cadres */
.cadre-section {
    background-image: url('../images/bggoldnew.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative
}

.cadre-section:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -230px;
    top: -240px;
    border: 1px solid rgba(255, 255, 255, .08);
    transform: rotate(25deg)
}

.section-heading.light p {
    color: rgba(255, 255, 255, .62)
}

.cadre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.cadre-card {
    display: block;
    color: inherit
}

.cadre-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #dce9f0
}

.cadre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out)
}

.cadre-card:hover .cadre-photo img {
    transform: scale(1.04)
}

.cadre-card h3 {
    margin: 13px 0 0;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.02em
}

.cadre-card p {
    margin: 5px 0 0;
    color: var(--pan-muted);
    font-size: 11px
}

.cadre-section .cadre-card h3 {
    color: #fff
}

.cadre-section .light-link {
    color: #fff
}

.cadre-card.white {
    color: var(--pan-ink)
}

.cadre-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dceaf3, #eef5f8);
    color: var(--pan-blue);
    font-size: 58px;
    font-weight: 800
}

.empty.light {
    color: rgba(255, 255, 255, .68)
}

/* Inner page hero */
.page-hero {
    height: 510px;
    position: relative;
    overflow: hidden;
    background: var(--pan-navy)
}

.page-hero.compact {
    height: 430px
}

.page-hero>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: pageHeroIn 1.2s var(--ease-out) both
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 42, 69, .76), rgba(4, 42, 69, .18) 68%, rgba(4, 42, 69, .06)), linear-gradient(0deg, rgba(3, 30, 50, .28), transparent 50%)
}

.page-hero-content {
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    color: #fff
}

.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .97;
    letter-spacing: -.055em
}

.page-hero p {
    max-width: 640px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.75
}

@keyframes pageHeroIn {
    from {
        transform: scale(1.035) translateX(-.7%)
    }

    to {
        transform: scale(1) translateX(0)
    }
}

/* Gallery */
.gallery-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 34px
}

.gallery-toolbar p {
    max-width: 560px;
    margin: 14px 0 0
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px
}

.filter-row button {
    border: 1px solid var(--pan-line);
    background: #fff;
    color: #496273;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    transition: .2s ease
}

.filter-row button:hover,
.filter-row button.active {
    background: var(--pan-blue);
    border-color: var(--pan-blue);
    color: #fff
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    grid-auto-flow: dense
}

.gallery-item {
    grid-column: span 4;
    position: relative;
    aspect-ratio: 4/3;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #e8f0f4;
    text-align: left
}

.gallery-item:nth-child(8n+1),
.gallery-item:nth-child(8n+6) {
    grid-column: span 8;
    aspect-ratio: 16/9
}

.gallery-item:nth-child(8n+4) {
    grid-column: span 5
}

.gallery-item:nth-child(8n+5) {
    grid-column: span 7
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out)
}

.gallery-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 35, 57, .72), transparent 53%);
    opacity: .82;
    transition: opacity .3s ease
}

.gallery-item>span {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 15px;
    color: #fff
}

.gallery-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.25
}

.gallery-item em {
    display: block;
    margin-top: 5px;
    font-style: normal;
    font-size: 10px;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .08em
}

.gallery-item:hover img {
    transform: scale(1.05)
}

.gallery-item:hover:after {
    opacity: .95
}

.gallery-item.is-hidden {
    display: none
}

.lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(2, 18, 29, .94);
    display: none;
    place-items: center;
    padding: 30px
}

.lightbox.active {
    display: grid
}

.lightbox-inner {
    max-width: min(1180px, 94vw);
    max-height: 90vh
}

.lightbox-inner img {
    max-height: 82vh;
    max-width: 100%;
    object-fit: contain
}

.lightbox-inner p {
    margin: 12px 0 0;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
    font-size: 24px
}

/* Registration */
.registration-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 76px;
    align-items: start
}

.registration-copy {
    position: sticky;
    top: 118px
}

.registration-copy>p {
    margin-top: 20px
}

.privacy-note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--pan-line);
    color: var(--pan-muted);
    font-size: 12px;
    line-height: 1.7
}

.form-card {
    border: 1px solid var(--pan-line);
    padding: 32px;
    background: #fff;
    box-shadow: 0 18px 56px rgba(10, 50, 79, .07)
}

.field {
    margin-bottom: 18px
}

.field>label:first-child {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800
}

.field input:not(.file-input) {
    width: 100%;
    height: 48px;
    border: 1px solid #ccdce7;
    padding: 0 13px;
    outline: none;
    color: var(--pan-ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease
}

.field input:focus {
    border-color: var(--pan-blue);
    box-shadow: 0 0 0 3px rgba(8, 119, 190, .09)
}

.upload-control {
    min-height: 70px;
    border: 1px dashed #b6cbd9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    background: #f9fcfd;
    cursor: pointer
}

.upload-control span {
    color: var(--pan-muted);
    font-size: 11px;
    line-height: 1.5
}

.upload-control b {
    font-size: 11px;
    color: var(--pan-blue);
    white-space: nowrap
}

.file-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px
}

.submit-button {
    width: 100%;
    min-height: 49px;
    border: 0;
    background: var(--pan-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    font-size: 12px;
    font-weight: 800;
    transition: .22s var(--ease)
}

.submit-button:hover {
    background: var(--pan-blue-dark);
    transform: translateY(-1px)
}

.form-footnote {
    margin: 11px 0 0;
    color: #8295a2;
    font-size: 10px;
    line-height: 1.5
}

.form-message {
    margin-bottom: 17px;
    padding: 12px 14px;
    font-size: 12px
}

.form-message.success {
    background: #edf8f3;
    color: #166447
}

.form-message.error {
    background: #fff0f0;
    color: #963535
}

.empty {
    color: var(--pan-muted)
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(216, 173, 61, .11), transparent 28%),
        linear-gradient(135deg, #042b49 0%, #052f4f 58%, #031f35 100%);
    color: #fff;
    padding: 42px 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .025), transparent);
}

.footer-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    flex: 1 1 auto;
}

.footer-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s var(--ease-out), filter .35s ease;
}

.footer-logo:hover {
    transform: translateY(-3px) scale(1.025);
    filter: drop-shadow(0 10px 22px rgba(216, 173, 61, .18));
}

.footer-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.75;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.footer-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: color .25s ease, background .25s ease, transform .25s var(--ease-out);
}

.footer-menu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s var(--ease-out);
}

.footer-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .055);
    transform: translateY(-2px);
}

.footer-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media(max-width:1080px) {
    :root {
        --header: 72px
    }

    .nav-links,
    .nav-cta {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .brand img {
        width: 188px
    }

    .section {
        padding: 82px 0
    }

    body.menu-open .mobile-menu {
        display: block;
        animation: menuIn .24s ease both
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .quick-card:nth-child(2) {
        border-right: 0
    }

    .quick-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--pan-line)
    }

    .split-layout {
        gap: 44px
    }

    .image-panel {
        height: 520px
    }

    .program-media {
        height: 280px
    }

    .cadre-grid,
    .cadre-page-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .registration-layout {
        gap: 44px
    }
}

@media(max-width:820px) {
    .container {
        width: min(calc(100% - 30px), var(--container))
    }

    .section {
        padding: 64px 0
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 30px
    }

    .section-heading h2,
    .gallery-toolbar h2,
    .registration-copy h2,
    .display-title {
        font-size: clamp(34px, 8vw, 50px)
    }

    .hero-track {
        height: 58svh;
        min-height: 430px;
        max-height: 620px
    }

    .quick-section {
        margin-top: 0
    }

    .quick-grid {
        width: 100%;
        border-left: 0;
        border-right: 0;
        box-shadow: none
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .image-panel {
        height: 430px
    }

    .content-panel {
        padding: 0
    }

    .program-grid {
        grid-template-columns: 1fr 1fr
    }

    .program-card {
        grid-column: auto
    }

    .program-card:nth-child(3n+1) {
        transform: none
    }

    .program-card:nth-child(3n+1):hover {
        transform: translateY(-5px)
    }

    .program-media {
        height: 280px
    }

    .news-layout {
        grid-template-columns: 1fr
    }

    .news-item.featured .news-image {
        height: 420px
    }

    .news-item:not(.featured) a {
        grid-template-columns: 130px 1fr
    }

    .cadre-grid,
    .cadre-page-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .page-hero,
    .page-hero.compact {
        height: 390px
    }

    .page-hero-content {
        bottom: 36px
    }

    .gallery-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .filter-row {
        justify-content: flex-start
    }

    .gallery-item,
    .gallery-item:nth-child(8n+1),
    .gallery-item:nth-child(8n+6),
    .gallery-item:nth-child(8n+4),
    .gallery-item:nth-child(8n+5) {
        grid-column: span 6;
        aspect-ratio: 4/3
    }

    .registration-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .registration-copy {
        position: static
    }

    .footer-shell {
        gap: 28px;
    }

    .footer-brand {
        gap: 16px;
    }

    .footer-logo img {
        width: 78px;
        height: 78px;
    }

    .footer-menu a {
        padding-inline: 10px;
        font-size: 12px;
    }
}

@media(max-width:560px) {
    :root {
        --header: 66px
    }

    .container {
        width: calc(100% - 24px)
    }

    .section {
        padding: 50px 0
    }

    .site-header {
        height: var(--header)
    }

    .brand img {
        width: 158px
    }

    .menu-toggle {
        width: 38px;
        height: 38px
    }

    .mobile-menu {
        padding: 14px 16px
    }

    .mobile-nav a {
        min-height: 54px;
        font-size: 17px
    }

    .hero-slide img {
        object-position: center
    }

    .quick-grid {
        grid-template-columns: 1fr
    }

    .quick-card {
        border-right: 0 !important;
        border-bottom: 1px solid var(--pan-line) !important;
        min-height: 82px;
        padding: 13px 12px
    }

    .quick-card:last-child {
        border-bottom: 0 !important
    }

    .quick-mark,
    .quick-card img {
        width: 40px;
        height: 40px;
        flex-basis: 40px
    }

    .quick-card h2 {
        font-size: 15px
    }

    .quick-card p {
        font-size: 9px
    }

    .split-layout {
        gap: 23px
    }

    .image-panel {
        height: 340px
    }

    .point-list {
        margin-top: 24px
    }

    .point-list article {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        padding: 15px 0
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .program-media {
        height: 290px
    }

    .program-copy {
        padding: 17px
    }

    .program-copy h3 {
        font-size: 21px
    }

    .news-item.featured .news-image {
        height: 320px
    }

    .featured .news-copy h3 {
        font-size: 25px
    }

    .news-item:not(.featured) a {
        grid-template-columns: 102px 1fr;
        gap: 11px
    }

    .news-image {
        height: 86px
    }

    .news-copy h3 {
        font-size: 15px
    }

    .cadre-grid,
    .cadre-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px
    }

    .cadre-card h3 {
        font-size: 13px;
        margin-top: 8px
    }

    .cadre-card p {
        font-size: 9px
    }

    .page-hero,
    .page-hero.compact {
        height: 330px
    }

    .page-hero h1 {
        font-size: 40px
    }

    .page-hero p {
        font-size: 13px;
        line-height: 1.55
    }

    .page-hero-content {
        bottom: 24px
    }

    .gallery-grid {
        gap: 7px
    }

    .gallery-item,
    .gallery-item:nth-child(8n+1),
    .gallery-item:nth-child(8n+6),
    .gallery-item:nth-child(8n+4),
    .gallery-item:nth-child(8n+5) {
        grid-column: span 12;
        aspect-ratio: 4/3
    }

    .gallery-item>span {
        left: 12px;
        right: 12px;
        bottom: 11px
    }

    .filter-row {
        gap: 5px
    }

    .filter-row button {
        padding: 7px 9px;
        font-size: 10px
    }

    .form-card {
        padding: 17px 13px
    }

    .field {
        margin-bottom: 15px
    }

    .field input:not(.file-input) {
        height: 45px
    }

    .upload-control {
        padding: 12px;
        min-height: 62px
    }

    .submit-button {
        min-height: 46px
    }

    .registration-copy>p {
        font-size: 14px
    }

    .site-footer {
        padding: 34px 0;
    }

    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand {
        width: 100%;
        align-items: flex-start;
    }

    .footer-logo img {
        width: 68px;
        height: 68px;
    }

    .footer-brand p {
        font-size: 12px;
        line-height: 1.65;
    }

    .footer-menu {
        width: 100%;
        justify-content: flex-start;
        gap: 2px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .footer-menu::-webkit-scrollbar {
        display: none;
    }

    .footer-menu a {
        flex: 0 0 auto;
        padding: 9px 10px;
        min-height: 38px;
        font-size: 11px;
    }
}

@media (min-width: 270px) and (max-width: 690px) {
    .hero-track {
        height: 214px;
        min-height: 214px;
        max-height: 520px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-slide,
    .hero-slide.active,
    .hero-slide.leaving,
    .hero-slide img,
    .page-hero>img,
    .program-media img,
    .gallery-item img,
    .cadre-photo img,
    .news-image img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        clip-path: none !important
    }
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* v3 design system: Poppins, 8px radius, consistent spacing */
:root {
    --radius: 8px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
}

body {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif
}

button,
input,
textarea,
select {
    font-family: inherit
}

.section {
    padding: var(--space-9) 0
}

.section-heading {
    gap: var(--space-8);
    margin-bottom: var(--space-7)
}

.section-heading p,
.gallery-toolbar p,
.registration-copy>p,
.lead-copy {
    line-height: 1.75
}

/* Consistent 8px treatment for interactive UI and cards */
.nav-cta,
.menu-toggle,
.quick-grid,
.quick-card,
.quick-card img,
.quick-mark,
.image-panel,
.program-card,
.program-media,
.news-image,
.cadre-card,
.cadre-photo,
.cadre-placeholder,
.page-hero,
.filter-row button,
.gallery-item,
.lightbox-inner img,
.lightbox-close,
.form-card,
.field input:not(.file-input),
.field textarea,
.upload-control,
.submit-button,
.form-message {
    border-radius: var(--radius)
}

.quick-grid,
.program-card,
.cadre-card {
    overflow: hidden
}

/* Consistent component spacing */
.quick-card {
    padding: var(--space-5);
    gap: var(--space-4)
}

.split-layout {
    gap: var(--space-8)
}

.content-panel {
    padding: var(--space-4) 0
}

.lead-copy {
    margin-top: var(--space-5)
}

.point-list {
    margin-top: var(--space-6)
}

.point-list article {
    gap: var(--space-4);
    padding: var(--space-5) 0
}

.program-grid {
    gap: var(--space-5)
}

.program-copy {
    padding: var(--space-5)
}

.news-layout {
    gap: var(--space-5)
}

.cadre-grid {
    gap: var(--space-5)
}

.gallery-grid {
    gap: var(--space-4)
}

.registration-layout {
    gap: var(--space-8)
}

.form-card {
    padding: var(--space-6)
}

.field {
    margin-bottom: var(--space-5)
}

.field>label:first-child {
    margin-bottom: var(--space-2)
}

.upload-control {
    padding: var(--space-4)
}

.form-footnote {
    margin-top: var(--space-3)
}

/* Registration textarea + AJAX states */
.field textarea {
    width: 100%;
    min-height: 132px;
    border: 1px solid #ccdce7;
    padding: 13px 14px;
    outline: none;
    color: var(--pan-ink);
    background: #fff;
    resize: vertical;
    line-height: 1.7;
    transition: border-color .2s ease, box-shadow .2s ease
}

.field textarea:focus {
    border-color: var(--pan-blue);
    box-shadow: 0 0 0 3px rgba(8, 119, 190, .09)
}

.field-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-2);
    color: #8295a2;
    font-size: 10px
}

.submit-button:disabled {
    opacity: .68;
    cursor: not-allowed;
    transform: none
}

.form-message[hidden] {
    display: none !important
}

/* Kader cards */
.cadre-card {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .3s var(--ease-out), background .3s ease, border-color .3s ease
}

.cadre-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .085);
    border-color: rgba(255, 255, 255, .18)
}

.cadre-card.white {
    background: #fff;
    border-color: var(--pan-line);
    box-shadow: 0 12px 34px rgba(8, 59, 94, .06)
}

.cadre-card.white:hover {
    background: #fff;
    border-color: #c8dce8
}

.cadre-photo {
    border-radius: 0
}

.cadre-copy {
    padding: var(--space-4)
}

.cadre-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3
}

.cadre-card p.cadre-quote {
    margin: var(--space-2) 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.cadre-card.white p.cadre-quote {
    color: var(--pan-muted)
}

.cadre-section .cadre-card h3 {
    color: #fff
}

/* Keep radius consistent on the hero container without rounding slide images individually */
.hero {
    border-radius: 0
}

.hero-slide,
.hero-slide img {
    border-radius: 0
}

@media(max-width:1080px) {
    .section {
        padding: var(--space-8) 0
    }

    .split-layout,
    .registration-layout {
        gap: var(--space-7)
    }
}

@media(max-width:820px) {
    .section {
        padding: var(--space-8) 0
    }

    .section-heading {
        gap: var(--space-4);
        margin-bottom: var(--space-6)
    }

    .split-layout,
    .registration-layout {
        gap: var(--space-6)
    }

    .program-grid,
    .cadre-grid,
    .cadre-page-grid {
        gap: var(--space-4)
    }

    .form-card {
        padding: var(--space-5)
    }
}

@media(max-width:560px) {
    .section {
        padding: var(--space-7) 0
    }

    .container {
        width: calc(100% - 24px)
    }

    .quick-card {
        padding: var(--space-3)
    }

    .split-layout,
    .registration-layout {
        gap: var(--space-5)
    }

    .program-grid {
        gap: var(--space-4)
    }

    .program-copy,
    .cadre-copy {
        padding: var(--space-4)
    }

    .cadre-grid,
    .cadre-page-grid {
        gap: var(--space-3)
    }

    .form-card {
        padding: var(--space-4)
    }

    .field {
        margin-bottom: var(--space-4)
    }

    .field textarea {
        min-height: 118px;
        padding: 12px
    }
}

/* v4 visual refinement: editorial modern, premium spacing, responsive motion */
:root {
    --surface-soft: #f5f8fb;
    --surface-blue: #eef6fb;
    --ink-strong: #0b2739;
    --shadow-soft: 0 14px 44px rgba(6, 50, 82, .08);
    --shadow-hover: 0 24px 64px rgba(6, 50, 82, .15);
}

body {
    background: #fff;
    color: var(--ink-strong)
}

main {
    overflow-x: clip
}

/* Motion language */
.reveal {
    transition-delay: var(--reveal-delay, 0ms)
}

.reveal[data-reveal="left"] {
    transform: translate3d(-32px, 0, 0)
}

.reveal[data-reveal="right"] {
    transform: translate3d(32px, 0, 0)
}

.reveal[data-reveal="scale"] {
    transform: scale(.975)
}

.reveal.visible[data-reveal="left"],
.reveal.visible[data-reveal="right"] {
    transform: translate3d(0, 0, 0)
}

.reveal.visible[data-reveal="scale"] {
    transform: scale(1)
}

/* Global type refinement for Poppins */
.section-heading h2,
.gallery-toolbar h2,
.registration-copy h2,
.display-title,
.inner-hero h1 {
    font-weight: 700;
    letter-spacing: -.038em
}

.section-heading p,
.registration-copy>p,
.inner-hero p,
.lead-copy {
    font-weight: 400
}

/* Homepage: quick navigation */
.quick-section {
    margin-top: -38px
}

.quick-grid {
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none
}

.quick-card {
    min-height: 108px;
    background: #fff;
    border: 1px solid var(--pan-line) !important;
    box-shadow: 0 10px 32px rgba(8, 59, 94, .07);
    border-radius: 8px !important
}

.quick-card:last-child {
    border-right: 1px solid var(--pan-line)
}

.quick-card:hover {
    background: #fff;
    color: var(--pan-ink);
    border-color: #b9d5e6 !important;
    box-shadow: 0 18px 44px rgba(8, 59, 94, .13);
    transform: translateY(-5px)
}

.quick-card img,
.quick-mark {
    border-radius: 8px;
    background: var(--surface-blue)
}

.quick-card:hover .quick-mark {
    border-color: #b8d6e7;
    color: var(--pan-blue)
}

.quick-card h2 {
    font-weight: 600;
    letter-spacing: -.025em
}

/* Homepage: about */
.home-about {
    background: #fff
}

.image-panel {
    border-radius: 8px;
    box-shadow: var(--shadow-soft)
}

.image-panel:after {
    display: none
}

.content-panel {
    max-width: 650px
}

.point-list article {
    transition: padding-left .3s var(--ease-out), border-color .3s ease
}

.point-list article:hover {
    padding-left: 8px;
    border-color: #bdd8e8
}

.text-link,
.light-link {
    border-bottom: 0;
    padding-bottom: 0;
    transition: gap .25s ease, color .25s ease
}

.text-link:hover,
.light-link:hover {
    gap: 14px
}

/* Program & Aktivitas: more breathing room */
.program-section {
    background: #f6f9fb
}

.program-grid {
    gap: 24px
}

.program-card {
    grid-column: span 4;
    padding: 12px;
    background: #fff;
    border: 1px solid #dce8ef;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(8, 59, 94, .045);
    transform: none !important;
    transition: transform .38s var(--ease-out), box-shadow .38s ease, border-color .38s ease
}

.program-card:nth-child(3n+1) {
    transform: none
}

.program-card:hover,
.program-card:nth-child(3n+1):hover {
    transform: translateY(-7px) !important;
    box-shadow: var(--shadow-hover);
    border-color: #c7dce8
}

.program-card>a {
    display: flex;
    height: 100%;
    flex-direction: column
}

.program-media {
    height: 300px;
    border-radius: 6px;
    background: #e9f1f5
}

.program-media img {
    transition: transform .75s var(--ease-out), filter .4s ease
}

.program-card:hover .program-media img {
    transform: scale(1.055)
}

.program-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 10px 10px
}

.program-copy h3 {
    font-size: 22px;
    line-height: 1.18;
    font-weight: 650;
    letter-spacing: -.03em
}

.program-copy p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.75
}

.program-action {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: auto !important;
    padding-top: 22px;
    font-size: 12px !important;
    font-weight: 700 !important
}

.program-action b {
    font-size: 15px;
    font-weight: 500;
    transition: transform .25s ease
}

.program-card:hover .program-action b {
    transform: translateX(4px)
}

/* News refinement */
.home-news {
    background: #fff
}

.news-image {
    border-radius: 8px
}

.news-item {
    transition: border-color .3s ease
}

.news-item:hover {
    border-color: #aacfe4
}

.news-item.featured .news-image {
    box-shadow: var(--shadow-soft)
}

.news-copy h3 {
    font-weight: 600
}

/* Kader section and cards */
.cadre-section {
    background-image: url('../images/bggoldnew.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cadre-section:before {
    display: none
}

.cadre-section .section-heading {
    max-width: 1080px
}

.cadre-grid {
    gap: 24px
}

.cadre-card {
    position: relative;
    display: block;
    padding: 8px;
    background: #fff !important;
    color: var(--ink-strong) !important;
    border: 1px solid rgba(9, 77, 117, .12) !important;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(2, 29, 48, .13);
    overflow: hidden;
    transition: transform .42s var(--ease-out), box-shadow .42s ease, border-color .42s ease
}

.cadre-card:hover {
    transform: translateY(-8px);
    background: #fff !important;
    border-color: #bdd7e6 !important;
    box-shadow: 0 26px 64px rgba(2, 29, 48, .22)
}

.cadre-card.white {
    box-shadow: 0 10px 34px rgba(8, 59, 94, .075)
}

.cadre-card.white:hover {
    box-shadow: 0 24px 58px rgba(8, 59, 94, .14)
}

.cadre-photo {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 6px !important;
    overflow: hidden;
    background: #dce9f0
}

.cadre-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(2, 30, 49, .18));
    opacity: .35;
    transition: opacity .4s ease;
    pointer-events: none
}

.cadre-card:hover .cadre-photo:after {
    opacity: .16
}

.cadre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .75s var(--ease-out), filter .45s ease
}

.cadre-card:hover .cadre-photo img {
    transform: scale(1.055)
}

.cadre-copy {
    padding: 18px 10px 12px
}

.cadre-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px
}

.cadre-name-row h3,
.cadre-card h3 {
    margin: 0;
    color: var(--ink-strong) !important;
    font-size: 17px;
    line-height: 1.32;
    font-weight: 650;
    letter-spacing: -.025em
}

.cadre-name-row>span {
    flex: 0 0 auto;
    color: var(--pan-blue);
    font-size: 14px;
    line-height: 1.35;
    transition: transform .25s ease
}

.cadre-card:hover .cadre-name-row>span {
    transform: translate(3px, -3px)
}

.cadre-card p.cadre-quote,
.cadre-card.white p.cadre-quote {
    margin: 10px 0 0;
    color: #607788 !important;
    font-size: 14px;
    line-height: 1.68;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.cadre-placeholder {
    border-radius: 6px !important
}

.cadre-section .light-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(100%, 360px) !important;
    margin: 34px auto 0 !important;
    padding: 14px 22px !important;
    display: flex !important;
    justify-content: center !important;
    border: 1px solid rgba(129, 86, 10, .34);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #c8952c);
    color: #090909 !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(80, 50, 5, .22);
    transition: transform .28s var(--ease-out), box-shadow .28s ease, gap .28s ease
}

.cadre-section .light-link:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -130%;
    left: -45%;
    width: 34%;
    height: 360%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
    transform: rotate(22deg) translateX(-260%);
    transition: transform .6s var(--ease-out)
}

.cadre-section .light-link:hover {
    gap: 14px;
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(80, 50, 5, .3)
}

.cadre-section .light-link:hover:before {
    transform: rotate(22deg) translateX(520%)
}

.cadre-section .light-link:active {
    transform: translateY(0) scale(.98)
}

.cadre-directory {
    background: #fff
}

.cadre-directory .section-heading {
    max-width: 1040px
}

/* Inner pages: replace old banner treatment with split editorial hero */
.inner-hero {
    position: relative;
    padding: 72px 0 64px;
    background: linear-gradient(180deg, #f6f9fb 0%, #fff 100%);
    border-bottom: 1px solid #edf2f5
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
    gap: 64px;
    align-items: center
}

.inner-hero-grid.without-media {
    grid-template-columns: minmax(0, 820px);
    min-height: 280px
}

.inner-hero-copy {
    padding: 28px 0
}

.inner-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    color: var(--ink-strong)
}

.inner-hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--pan-muted);
    font-size: 15px;
    line-height: 1.8
}

.inner-hero-media {
    height: 430px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dce8ef;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    overflow: hidden
}

.inner-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 1.1s var(--ease-out)
}

.inner-hero-media:hover img {
    transform: scale(1.025)
}

/* Registration page */
.registration-section {
    background: #fff
}

.registration-layout {
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: 64px;
    align-items: start
}

.registration-copy {
    position: sticky;
    top: 112px;
    padding-top: 8px
}

.registration-copy h2 {
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.05
}

.registration-copy>p {
    margin-top: 20px;
    max-width: 520px;
    font-size: 14px
}

.privacy-note {
    margin-top: 28px;
    padding: 20px 0 0;
    border-top: 1px solid var(--pan-line);
    font-size: 12px;
    line-height: 1.75
}

.form-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #d8e5ed;
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(8, 59, 94, .085)
}

.field {
    margin-bottom: 22px
}

.field>label:first-child {
    margin-bottom: 9px;
    color: #1b3749;
    font-size: 12px;
    font-weight: 600
}

.field input:not(.file-input),
.field textarea,
.upload-control {
    width: 100%;
    border: 1px solid #cbdce6;
    border-radius: 8px;
    background: #f9fbfd;
    color: var(--ink-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: border-color .22s ease, box-shadow .22s ease, background .22s ease, transform .22s ease
}

.field input:not(.file-input) {
    height: 54px;
    padding: 0 16px
}

.field textarea {
    min-height: 146px;
    padding: 15px 16px;
    resize: vertical;
    line-height: 1.7
}

.field input::placeholder,
.field textarea::placeholder {
    color: #91a4b1;
    opacity: 1
}

.field input:not(.file-input):hover,
.field textarea:hover,
.upload-control:hover {
    border-color: #abc9da;
    background: #fff
}

.field input:not(.file-input):focus,
.field textarea:focus {
    border-color: var(--pan-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(8, 119, 190, .09);
    outline: none
}

.upload-control {
    min-height: 62px;
    padding: 13px 16px;
    border-style: solid;
    cursor: pointer
}

.upload-control span {
    font-size: 11px;
    color: #7c909d
}

.upload-control b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #090909;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(185, 133, 31, .15);
    transition: transform .22s ease, box-shadow .22s ease
}

.upload-control:hover b {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(185, 133, 31, .24)
}

.field-meta {
    margin-top: 8px;
    font-size: 10px
}

.submit-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #c8952c);
    border: 1px solid rgba(129, 86, 10, .32);
    color: #090909;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(185, 133, 31, .22);
    transition: transform .28s var(--ease-out), box-shadow .28s ease, filter .28s ease
}

.submit-button:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -125%;
    left: -45%;
    width: 34%;
    height: 350%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
    transform: rotate(22deg) translateX(-260%);
    transition: transform .6s var(--ease-out)
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(185, 133, 31, .32);
    filter: saturate(1.05)
}

.submit-button:hover:before {
    transform: rotate(22deg) translateX(520%)
}

.submit-button:active {
    transform: translateY(0) scale(.985);
    box-shadow: 0 6px 16px rgba(185, 133, 31, .24)
}

.form-message {
    border-radius: 8px;
    padding: 13px 15px
}


/* Registration terms modal */
.terms-modal[hidden] {
    display: none !important
}

.terms-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease
}

.terms-modal.active {
    opacity: 1;
    pointer-events: auto
}

.terms-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 28, .64);
    backdrop-filter: blur(8px)
}

.terms-modal-dialog {
    position: relative;
    width: min(100%, 560px);
    padding: 34px;
    background: #fff;
    border: 1px solid rgba(8, 59, 94, .12);
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(2, 24, 39, .28);
    transform: translateY(18px) scale(.97);
    opacity: 0;
    transition: transform .28s var(--ease-out), opacity .22s ease
}

.terms-modal.active .terms-modal-dialog {
    transform: none;
    opacity: 1
}

.terms-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pan-line);
    border-radius: 50%;
    background: #fff;
    color: #365064;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease
}

.terms-modal-close:hover {
    background: #f2f6f8;
    transform: rotate(6deg)
}

.terms-modal-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #090909;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(185, 133, 31, .2)
}

.terms-modal-eyebrow {
    margin: 20px 0 7px;
    color: #8b6a1e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.terms-modal-dialog h2 {
    margin: 0;
    color: var(--pan-ink);
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -.035em
}

.terms-modal-dialog>p:not(.terms-modal-eyebrow) {
    margin: 14px 0 0;
    color: var(--pan-muted);
    font-size: 13px;
    line-height: 1.75
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #d8e5ed;
    border-radius: 10px;
    background: #f9fbfc;
    color: #385064;
    font-size: 12px;
    line-height: 1.65;
    cursor: pointer
}

.terms-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--gold-dark)
}

.terms-check a {
    color: #8a6415;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px
}

.terms-modal-actions {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 10px;
    margin-top: 22px
}

.terms-secondary-button,
.terms-confirm-button {
    min-height: 48px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease
}

.terms-secondary-button {
    border: 1px solid var(--pan-line);
    background: #fff;
    color: #4c6474
}

.terms-secondary-button:hover {
    transform: translateY(-1px);
    background: #f7fafb
}

.terms-confirm-button {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(129, 86, 10, .32);
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #c8952c);
    color: #090909;
    box-shadow: 0 10px 24px rgba(185, 133, 31, .2)
}

.terms-confirm-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(185, 133, 31, .3)
}

.terms-confirm-button:not(:disabled):active {
    transform: scale(.98)
}

.terms-confirm-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none
}

/* Responsive */
@media(max-width:1080px) {
    .inner-hero-grid {
        gap: 40px;
        grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr)
    }

    .inner-hero-media {
        height: 380px
    }

    .registration-layout {
        gap: 44px
    }

    .program-grid {
        gap: 20px
    }

    .program-media {
        height: 270px
    }
}

@media(max-width:820px) {
    .quick-section {
        margin-top: 0;
        padding-top: 16px
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0
    }

    .quick-card {
        border: 1px solid var(--pan-line) !important
    }

    .inner-hero {
        padding: 48px 0 52px
    }

    .inner-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .inner-hero-copy {
        padding: 0
    }

    .inner-hero h1 {
        font-size: clamp(42px, 9vw, 62px)
    }

    .inner-hero-media {
        height: 340px;
        padding: 8px
    }

    .registration-layout {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .registration-copy {
        position: static;
        padding: 0
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }

    .program-card {
        padding: 10px
    }

    .program-media {
        height: 250px
    }

    .program-copy {
        padding: 18px 8px 8px
    }

    .cadre-grid,
    .cadre-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }
}

@media(max-width:560px) {
    .section {
        padding: 52px 0
    }

    .section-heading {
        margin-bottom: 28px
    }

    .section-heading h2,
    .gallery-toolbar h2,
    .registration-copy h2,
    .display-title {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.08
    }

    .section-heading p,
    .registration-copy>p,
    .lead-copy {
        font-size: 13px;
        line-height: 1.7
    }

    .quick-section {
        padding-top: 12px
    }

    .quick-grid {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .quick-card {
        min-height: 76px;
        padding: 12px 14px !important;
        gap: 12px
    }

    .quick-card img,
    .quick-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .program-card {
        padding: 10px
    }

    .program-media {
        height: 260px
    }

    .program-copy {
        padding: 18px 8px 8px
    }

    .program-copy h3 {
        font-size: 20px
    }

    .program-copy p {
        font-size: 12px
    }

    .inner-hero {
        padding: 38px 0 40px
    }

    .inner-hero-grid {
        gap: 22px
    }

    .inner-hero h1 {
        font-size: 38px;
        line-height: 1.06
    }

    .inner-hero p {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.65
    }

    .inner-hero-media {
        height: 250px;
        padding: 7px
    }

    .cadre-grid,
    .cadre-page-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .cadre-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        align-items: stretch;
        padding: 7px
    }

    .cadre-photo {
        width: 118px;
        min-height: 150px;
        aspect-ratio: 4/5
    }

    .cadre-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 12px 12px 12px 15px
    }

    .cadre-name-row h3,
    .cadre-card h3 {
        font-size: 15px
    }

    .cadre-card p.cadre-quote,
    .cadre-card.white p.cadre-quote {
        font-size: 14px;
        line-height: 1.68;
        -webkit-line-clamp: 4
    }

    .cadre-section .light-link {
        margin-top: 24px
    }

    .registration-layout {
        gap: 26px
    }

    .form-card {
        padding: 20px
    }

    .field {
        margin-bottom: 18px
    }

    .field input:not(.file-input) {
        height: 50px;
        padding: 0 14px
    }

    .field textarea {
        min-height: 126px;
        padding: 13px 14px
    }

    .upload-control {
        min-height: 58px;
        padding: 11px 13px;
        gap: 10px
    }

    .upload-control span {
        font-size: 10px
    }

    .upload-control b {
        padding: 0 10px;
        min-height: 32px
    }

    .submit-button {
        min-height: 50px
    }

    .terms-modal {
        padding: 14px
    }

    .terms-modal-dialog {
        padding: 26px 18px 20px;
        border-radius: 12px
    }

    .terms-modal-actions {
        grid-template-columns: 1fr
    }

    .terms-secondary-button {
        order: 2
    }
}

@media(max-width:380px) {
    .cadre-card {
        grid-template-columns: 104px minmax(0, 1fr)
    }

    .cadre-photo {
        width: 104px;
        min-height: 138px
    }

    .cadre-copy {
        padding: 10px 10px 10px 12px
    }

    .form-card {
        padding: 16px
    }
}

@media(prefers-reduced-motion:reduce) {

    .reveal[data-reveal="left"],
    .reveal[data-reveal="right"],
    .reveal[data-reveal="scale"] {
        transform: none !important
    }

    .cadre-card,
    .program-card,
    .quick-card,
    .cadre-photo img,
    .program-media img,
    .inner-hero-media img {
        transition: none !important;
        transform: none !important
    }
}

.logowa {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 200px;
    height: 200px;
    object-fit: contain;

    z-index: 9999;

    cursor: pointer;

    animation: waBounce 2.5s ease-in-out infinite;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.logowa:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.25));
}

@keyframes waBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    45% {
        transform: translateY(0);
    }

    55% {
        transform: translateY(-12px);
    }

    65% {
        transform: translateY(0);
    }

    72% {
        transform: translateY(-6px);
    }

    80% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .logowa {
        width: 85px;
        height: 85px;
        right: 16px;
        bottom: 16px;
    }
}