/* ==========================================================================
   1. Variabel desain
   ========================================================================== */

:root {
    --green-950: #072519;
    --green-900: #0d3525;
    --green-800: #12452f;
    --green-700: #195a3d;
    --green-600: #24724e;
    --gold-500: #c79a4b;
    --gold-400: #dcb76b;
    --gold-300: #ecd39b;
    --cream-50: #fbf8f1;
    --cream-100: #f6f0e3;
    --cream-200: #eee4d2;
    --white: #ffffff;
    --ink: #18251e;
    --muted: #5e6c64;
    --line: rgba(13, 53, 37, 0.12);
    --line-gold: rgba(199, 154, 75, 0.38);

    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    --font-arabic: "Amiri", "Traditional Arabic", serif;

    --container: 1180px;
    --header-height: 78px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 34px;

    --shadow-sm: 0 8px 24px rgba(7, 37, 25, 0.06);
    --shadow-md: 0 18px 45px rgba(7, 37, 25, 0.1);
    --shadow-lg: 0 30px 70px rgba(7, 37, 25, 0.16);

    --transition: 180ms ease;
}

/* ==========================================================================
   2. Reset dan dasar
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--cream-50);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

main {
    overflow: clip;
}

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

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

button {
    border: 0;
    color: inherit;
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

::selection {
    background: var(--gold-300);
    color: var(--green-950);
}

:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section--cream {
    background: var(--cream-100);
}

.section--deep {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--green-950);
    color: var(--white);
}

.section--deep::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 10% 12%, rgba(199, 154, 75, 0.16), transparent 34%),
        radial-gradient(circle at 88% 84%, rgba(36, 114, 78, 0.32), transparent 36%);
    content: "";
}

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

/* ==========================================================================
   3. Aksesibilitas
   ========================================================================== */

.skip-link {
    position: fixed;
    z-index: 999;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    background: var(--gold-400);
    color: var(--green-950);
    font-size: 0.82rem;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==========================================================================
   4. Tipografi kecil, tombol, dan penanda
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--green-700);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 26px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eyebrow--gold {
    color: var(--gold-300);
}

.temp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.34rem 0.7rem;
    border: 1px solid rgba(199, 154, 75, 0.34);
    border-radius: 999px;
    background: rgba(199, 154, 75, 0.1);
    color: #7a5a1c;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.temp-badge__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.3;
    text-align: center;
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    box-shadow: 0 12px 30px rgba(199, 154, 75, 0.22);
    color: var(--green-950);
}

.btn-gold:hover {
    box-shadow: 0 16px 36px rgba(199, 154, 75, 0.3);
}

.btn-primary {
    background: var(--green-900);
    box-shadow: 0 12px 28px rgba(13, 53, 37, 0.17);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-700);
}

.btn-outline {
    border-color: var(--line-gold);
    background: transparent;
    color: var(--green-900);
}

.btn-outline:hover {
    border-color: var(--green-700);
    background: rgba(13, 53, 37, 0.05);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.12);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--green-800);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition), gap var(--transition);
}

.text-link:hover {
    gap: 0.65rem;
    color: var(--gold-500);
}

/* ==========================================================================
   5. Header dan navigasi
   ========================================================================== */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(236, 211, 155, 0.16);
    background: rgba(7, 37, 25, 0.96);
    color: var(--white);
    transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    background: rgba(7, 37, 25, 0.99);
    box-shadow: 0 14px 38px rgba(4, 22, 15, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 2rem;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.8rem;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.36rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.65rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-list a {
    position: relative;
    display: block;
    padding-block: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.nav-list a::after {
    position: absolute;
    right: 0;
    bottom: 0.35rem;
    left: 0;
    height: 1px;
    background: var(--gold-400);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-list a:hover,
.nav-list a.is-active {
    color: var(--white);
}

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

.nav-cta {
    min-height: 42px;
    padding: 0.65rem 1.05rem;
    font-size: 0.73rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(236, 211, 155, 0.25);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-300);
    cursor: pointer;
}

.nav-toggle__close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
    display: block;
}

/* ==========================================================================
   6. Hero beranda
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    min-height: clamp(680px, 90vh, 900px);
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    background: var(--green-950);
    color: var(--white);
}

.hero__image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 29, 19, 0.94) 0%, rgba(7, 37, 25, 0.8) 46%, rgba(7, 37, 25, 0.34) 100%),
        linear-gradient(0deg, rgba(5, 29, 19, 0.94) 0%, rgba(5, 29, 19, 0) 58%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 5rem);
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: clamp(7rem, 11vw, 10rem);
}

.hero__content {
    max-width: 790px;
}

.hero h1 {
    margin: 1.2rem 0 1.45rem;
    color: var(--white);
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.hero h1 span {
    display: block;
    color: var(--gold-300);
    font-style: italic;
    font-weight: 500;
}

.hero__content > p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
    line-height: 1.85;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.35rem;
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero__points svg {
    color: var(--gold-300);
}

.hero__aside {
    justify-self: end;
    width: min(100%, 245px);
    padding: 1.4rem;
    border: 1px solid rgba(236, 211, 155, 0.26);
    border-radius: var(--radius-md);
    background: rgba(5, 29, 19, 0.33);
    backdrop-filter: blur(12px);
}

.hero__arabic {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--gold-300);
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    line-height: 1.9;
}

.hero__aside p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
}

.hero__aside .temp-badge {
    color: var(--gold-300);
}

.hero__scroll {
    position: absolute;
    right: clamp(1.15rem, 4vw, 2.5rem);
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero__scroll-line {
    position: relative;
    width: 54px;
    height: 1px;
    overflow: hidden;
    background: rgba(236, 211, 155, 0.35);
}

.hero__scroll-line::after {
    position: absolute;
    inset: 0;
    background: var(--gold-300);
    content: "";
    transform: translateX(-100%);
    animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%,
    20% {
        transform: translateX(-100%);
    }

    70%,
    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   7. Strip fondasi
   ========================================================================== */

.foundations {
    position: relative;
    z-index: 3;
    margin-top: -54px;
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.foundations__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.foundation-card {
    position: relative;
    display: flex;
    gap: 0.95rem;
    padding: 1.65rem 1.35rem;
}

.foundation-card:not(:last-child)::after {
    position: absolute;
    top: 24%;
    right: 0;
    bottom: 24%;
    width: 1px;
    background: var(--line);
    content: "";
}

.foundation-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--cream-100);
    color: var(--green-700);
}

.foundation-card h2 {
    margin-bottom: 0.22rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
}

.foundation-card p {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.62;
}

/* ==========================================================================
   8. Judul bagian
   ========================================================================== */

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    margin-top: 0.8rem;
    color: var(--green-950);
    font-size: clamp(2.2rem, 4.5vw, 3.65rem);
}

.section-heading > p {
    max-width: 640px;
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.section-heading__badge {
    margin-top: 1.1rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading--center > p {
    margin-inline: auto;
}

.section-heading--dark h2 {
    color: var(--white);
}

.section-heading--dark > p {
    color: rgba(255, 255, 255, 0.66);
}

.section-heading--dark .eyebrow {
    color: var(--gold-300);
}

.section-heading--dark .temp-badge {
    color: var(--gold-300);
}

.section-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-toolbar__action {
    flex-shrink: 0;
    margin-bottom: 0.2rem;
}

/* ==========================================================================
   9. Pengenalan asrama
   ========================================================================== */

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6rem);
}

.split__media {
    position: relative;
    padding: 0 1.5rem 2.2rem 0;
}

.media-frame {
    position: relative;
    isolation: isolate;
}

.media-frame::before {
    position: absolute;
    z-index: -1;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-lg);
    content: "";
}

.split__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.media-note {
    position: absolute;
    right: -0.6rem;
    bottom: 0;
    width: min(275px, 78%);
    padding: 1.3rem;
    border-radius: var(--radius-md);
    background: var(--green-900);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.media-note svg {
    margin-bottom: 0.55rem;
    color: var(--gold-300);
}

.media-note p {
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.24rem;
    line-height: 1.25;
}

.media-note span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.59rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.split__content > p {
    margin-top: 1.35rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.85;
}

.check-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.65rem 0 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.6;
}

.check-list svg {
    flex-shrink: 0;
    margin-top: 0.17rem;
    color: var(--gold-500);
}

/* ==========================================================================
   10. Pilar pembinaan
   ========================================================================== */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pillar-card {
    position: relative;
    padding: 1.7rem 1.5rem 1.85rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background-color var(--transition);
}

.pillar-card:hover {
    border-color: rgba(236, 211, 155, 0.34);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-5px);
}

.pillar-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.pillar-card__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.3);
    border-radius: 50%;
    color: var(--gold-300);
}

.pillar-card__number {
    color: rgba(236, 211, 155, 0.38);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.pillar-card h3 {
    margin-bottom: 0.7rem;
    color: var(--white);
    font-size: 1.42rem;
    line-height: 1.15;
}

.pillar-card p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* ==========================================================================
   11. Kartu kegiatan
   ========================================================================== */

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.activity-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.activity-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--cream-200);
}

.activity-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.activity-card:hover .activity-card__image {
    transform: scale(1.045);
}

.activity-card__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.5);
    border-radius: 50%;
    background: rgba(7, 37, 25, 0.78);
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

.activity-card__body {
    padding: 1.55rem 1.55rem 1.7rem;
}

.activity-card h3 {
    margin: 0.65rem 0 0.55rem;
    color: var(--green-950);
    font-size: 1.55rem;
    line-height: 1.1;
}

.activity-card p {
    margin-bottom: 1.25rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.75;
}

/* ==========================================================================
   12. Kartu berita
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
}

.news-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--cream-200);
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.04);
}

.news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem 1.3rem 1.4rem;
}

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.news-card__category {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--cream-100);
    color: var(--green-700);
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0.8rem 0 0.6rem;
    font-size: 1.38rem;
    line-height: 1.16;
}

.news-card h3 a {
    transition: color var(--transition);
}

.news-card h3 a:hover {
    color: var(--green-700);
}

.news-card p {
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.7;
}

.news-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.news-card__footer .temp-badge {
    font-size: 0.54rem;
}

/* ==========================================================================
   13. Galeri
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius-md);
    background: var(--green-950);
    aspect-ratio: 4 / 3;
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 25, 16, 0.82), rgba(4, 25, 16, 0) 58%);
    content: "";
    pointer-events: none;
}

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

.gallery-item figcaption {
    position: absolute;
    z-index: 1;
    right: 1.1rem;
    bottom: 1rem;
    left: 1.1rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    color: var(--white);
}

.gallery-item figcaption span {
    max-width: 75%;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.4;
}

.gallery-item figcaption small {
    color: var(--gold-300);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   14. Ajakan pendaftaran
   ========================================================================== */

.cta-section {
    background: var(--cream-50);
}

.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    padding: clamp(2rem, 5.5vw, 4rem);
    border: 1px solid rgba(236, 211, 155, 0.2);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 94% 8%, rgba(199, 154, 75, 0.24), transparent 32%),
        linear-gradient(135deg, var(--green-900), var(--green-950));
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.cta-panel::before {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(236, 211, 155, 0.18);
    border-radius: 50%;
    content: "";
}

.cta-panel::after {
    position: absolute;
    right: 26px;
    bottom: -120px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(236, 211, 155, 0.12);
    border-radius: 50%;
    content: "";
}

.cta-panel__content,
.cta-panel__aside {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    max-width: 680px;
    margin: 0.85rem 0 1rem;
    color: var(--white);
    font-size: clamp(2.1rem, 4.2vw, 3.7rem);
}

.cta-panel__content > p {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
    line-height: 1.8;
}

.cta-panel__aside {
    justify-self: end;
    width: min(100%, 240px);
    padding: 1.5rem;
    border: 1px solid rgba(236, 211, 155, 0.24);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
}

.cta-panel__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.34);
    border-radius: 50%;
    color: var(--gold-300);
}

.cta-panel__aside p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
}

.cta-panel__aside .temp-badge {
    color: var(--gold-300);
}

/* ==========================================================================
   15. Hero halaman dalam dan halaman segera hadir
   ========================================================================== */

.page-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-height) + 2.5rem) 0 3.8rem;
    background: var(--green-950);
    color: var(--white);
}

.page-hero__image {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 29, 19, 0.94), rgba(7, 37, 25, 0.55)),
        linear-gradient(0deg, rgba(5, 29, 19, 0.8), rgba(5, 29, 19, 0) 65%);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
}

.breadcrumb a {
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold-300);
}

.page-hero h1 {
    margin-top: 0.65rem;
    color: var(--white);
    font-size: clamp(2.6rem, 5.5vw, 4.7rem);
}

.page-hero__content > p {
    max-width: 660px;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* ==========================================================================
   16. Halaman profil, program, dan galeri
   ========================================================================== */

.page-anchor-nav {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.page-anchor-nav__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem 2.5rem;
    padding-block: 0.9rem;
}

.page-anchor-nav__label {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-anchor-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
}

.page-anchor-nav a {
    padding-block: 0.2rem;
    border-bottom: 1px solid transparent;
    color: var(--green-800);
    font-size: 0.75rem;
    font-weight: 600;
    transition: color var(--transition), border-color var(--transition);
}

.page-anchor-nav a:hover {
    border-color: var(--line-gold);
    color: var(--gold-500);
}

.profile-section {
    scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.split--profile {
    align-items: start;
}

.profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 1.7rem 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--line);
}

.profile-facts > div {
    padding: 0.9rem 1.1rem;
    background: var(--white);
}

.profile-facts dt {
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-facts dd {
    margin: 0.22rem 0 0;
    color: var(--green-950);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.profile-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-panel {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.profile-panel__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    place-items: center;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--green-700);
}

.profile-panel h3 {
    margin-bottom: 0.75rem;
    color: var(--green-950);
    font-size: 1.75rem;
}

.profile-panel > p {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.8;
}

.profile-panel__quote {
    margin-bottom: 0.9rem;
    color: var(--green-800);
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.35;
}

.profile-panel .check-list {
    margin: 0.4rem 0 0;
}

.profile-panel .check-list li {
    font-size: 0.82rem;
}

.profile-panel .temp-badge {
    margin-top: 1.2rem;
}

.program-groups {
    display: grid;
    gap: clamp(3rem, 6vw, 5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.program-group {
    scroll-margin-top: calc(var(--header-height) + 1.25rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.program-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.program-group .activity-grid {
    margin-top: 2rem;
}

.gallery-item__button {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-item__button:focus-visible {
    outline-offset: -4px;
}

.gallery-item figcaption {
    pointer-events: none;
}

.gallery-item__zoom {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.45);
    border-radius: 50%;
    background: rgba(7, 37, 25, 0.72);
    color: var(--gold-300);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--transition), transform var(--transition);
    backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-item__zoom,
.gallery-item__button:focus-visible .gallery-item__zoom {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    width: min(1040px, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(236, 211, 155, 0.26);
    border-radius: var(--radius-lg);
    background: var(--green-950);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.lightbox::backdrop {
    background: rgba(4, 22, 15, 0.8);
    backdrop-filter: blur(6px);
}

.lightbox__image {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 9rem);
    object-fit: contain;
    background: var(--green-950);
}

.lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem 0.95rem 1.25rem;
}

.lightbox__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.9rem;
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.5;
}

.lightbox .temp-badge {
    color: var(--gold-300);
}

.lightbox__close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.32);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-300);
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition);
}

.lightbox__close:hover {
    border-color: rgba(236, 211, 155, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

body.lightbox-open {
    overflow: hidden;
}

/* ==========================================================================
   17. Halaman berita, pendaftaran, dan kontak
   ========================================================================== */

.news-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 2.2rem 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.news-filter__label {
    margin-right: 0.25rem;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-filter a {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line-gold);
    border-radius: 999px;
    color: var(--green-800);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    transition:
        border-color var(--transition),
        background-color var(--transition),
        color var(--transition);
}

.news-filter a:hover {
    border-color: var(--green-700);
    background: rgba(13, 53, 37, 0.05);
}

.news-filter a.is-active {
    border-color: var(--green-900);
    background: var(--green-900);
    color: var(--white);
}

.article {
    max-width: 820px;
    margin-inline: auto;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
}

.article-meta .temp-badge {
    margin-left: auto;
}

.article-image {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.article-copy {
    display: grid;
    gap: 1.1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.9;
}

.article-copy p:first-child {
    color: var(--ink);
    font-size: 1.05rem;
}

.article-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 1.15rem;
    border: 1px solid var(--line-gold);
    border-radius: var(--radius-md);
    background: var(--cream-50);
}

.article-note .temp-badge {
    flex-shrink: 0;
}

.article-note p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.article .button-row {
    margin-top: 1.8rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    padding: 1.5rem 1.35rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.process-step__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--green-700);
}

.process-step__label {
    display: block;
    margin: 1rem 0 0.35rem;
    color: var(--gold-500);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.process-step h3 {
    margin-bottom: 0.55rem;
    color: var(--green-950);
    font-size: 1.35rem;
    line-height: 1.15;
}

.process-step p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 0.7rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: var(--green-950);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    color: var(--gold-500);
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 1.25rem 1.2rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.75;
}

.faq-item .text-link {
    margin-top: 0.35rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
    margin-top: 2rem;
}

.contact-panel h2,
.contact-form-panel h2 {
    margin: 0.7rem 0 1.25rem;
    color: var(--green-950);
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-details__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--cream-100);
    color: var(--green-700);
}

.contact-details li > div > span {
    display: block;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details p {
    margin-top: 0.15rem;
    color: var(--green-950);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-socials {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.contact-socials__label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-socials__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
}

.contact-socials .social-link {
    color: var(--muted);
    font-size: 0.72rem;
}

.contact-socials .social-link small {
    margin-left: 0;
}

.contact-panel > .temp-badge {
    margin-top: 1.4rem;
}

.contact-form-panel > p {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.8;
}

.contact-form {
    margin-top: 1.4rem;
}

.contact-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-field {
    display: grid;
    gap: 0.35rem;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field span {
    color: var(--green-950);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream-50);
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(94, 108, 100, 0.65);
}

.contact-form fieldset:disabled input,
.contact-form fieldset:disabled textarea {
    background: var(--cream-100);
    cursor: not-allowed;
    opacity: 1;
}

.contact-form .btn {
    margin-top: 1rem;
}

.contact-form .btn:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.form-note {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.form-note p {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.65;
}

.map-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: 1.2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
    border: 1px solid rgba(236, 211, 155, 0.26);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(236, 211, 155, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 211, 155, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 88% 18%, rgba(199, 154, 75, 0.2), transparent 32%),
        var(--green-950);
    background-size: 42px 42px, 42px 42px, auto, auto;
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.map-placeholder__icon {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border: 1px solid rgba(236, 211, 155, 0.34);
    border-radius: 50%;
    color: var(--gold-300);
}

.map-placeholder h2 {
    margin: 0.55rem 0 0.5rem;
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.map-placeholder p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    line-height: 1.75;
}

.map-placeholder > .temp-badge {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--gold-300);
}

.error-page {
    display: grid;
    min-height: 100vh;
    padding: clamp(1.25rem, 5vw, 3rem);
    place-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(199, 154, 75, 0.18), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(36, 114, 78, 0.3), transparent 38%),
        var(--green-950);
    color: var(--white);
}

.error-shell {
    width: min(100%, 760px);
}

.error-shell > .brand {
    margin-bottom: 1.6rem;
    color: var(--white);
}

.error-card {
    padding: clamp(2rem, 6vw, 3.8rem);
    border: 1px solid rgba(236, 211, 155, 0.26);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow-lg);
    text-align: center;
    backdrop-filter: blur(8px);
}

.error-card .eyebrow {
    justify-content: center;
}

.error-card h1 {
    margin: 0.8rem 0 1rem;
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.error-card > p {
    max-width: 560px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.8;
}

.error-card .button-row {
    justify-content: center;
}

.error-help {
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.site-footer {
    position: relative;
    padding-top: clamp(3.5rem, 6vw, 5rem);
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.62);
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199, 154, 75, 0.55), transparent);
    content: "";
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.8rem, 5vw, 4rem);
}

.brand--footer .brand-mark {
    border-color: rgba(236, 211, 155, 0.5);
}

.brand--footer .brand-text strong {
    color: var(--white);
}

.footer-brand > p {
    max-width: 330px;
    margin: 1.2rem 0 1.1rem;
    font-size: 0.8rem;
    line-height: 1.75;
}

.footer-brand .temp-badge {
    color: var(--gold-300);
}

.footer-column h2 {
    margin-bottom: 1.15rem;
    color: var(--gold-300);
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.58rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.79rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--gold-300);
}

.footer-contact {
    display: grid;
    gap: 0.85rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--gold-400);
}

.social-list {
    display: grid;
    gap: 0.55rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    transition: color var(--transition);
}

a.social-link:hover {
    color: var(--gold-300);
}

.social-link--disabled {
    color: rgba(255, 255, 255, 0.42);
}

.social-link small {
    margin-left: auto;
    padding: 0.15rem 0.4rem;
    border: 1px solid rgba(236, 211, 155, 0.2);
    border-radius: 999px;
    color: var(--gold-300);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.65rem;
}

/* ==========================================================================
   19. Animasi saat halaman digulir
   ========================================================================== */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.foundations__grid [data-reveal]:nth-child(2),
.activity-grid [data-reveal]:nth-child(2),
.news-grid [data-reveal]:nth-child(2),
.gallery-grid [data-reveal]:nth-child(2) {
    --reveal-delay: 70ms;
}

.foundations__grid [data-reveal]:nth-child(3),
.pillar-grid [data-reveal]:nth-child(3),
.activity-grid [data-reveal]:nth-child(3),
.news-grid [data-reveal]:nth-child(3),
.gallery-grid [data-reveal]:nth-child(3) {
    --reveal-delay: 140ms;
}

.foundations__grid [data-reveal]:nth-child(4),
.pillar-grid [data-reveal]:nth-child(4),
.activity-grid [data-reveal]:nth-child(4),
.gallery-grid [data-reveal]:nth-child(4) {
    --reveal-delay: 210ms;
}

.pillar-grid [data-reveal]:nth-child(2),
.gallery-grid [data-reveal]:nth-child(5) {
    --reveal-delay: 70ms;
}

.gallery-grid [data-reveal]:nth-child(6) {
    --reveal-delay: 140ms;
}

/* ==========================================================================
   20. Responsif
   ========================================================================== */

@media (max-width: 1060px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(210px, 0.7fr);
        gap: 2.5rem;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

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

@media (max-width: 980px) {
    :root {
        --header-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        z-index: 99;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        align-items: stretch;
        gap: 1.4rem;
        overflow-y: auto;
        padding: 1.5rem clamp(1.15rem, 5vw, 2.5rem) 2.5rem;
        background:
            radial-gradient(circle at 90% 10%, rgba(199, 154, 75, 0.12), transparent 30%),
            var(--green-950);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity 220ms ease,
            transform 220ms ease,
            visibility 220ms ease;
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .nav-list a {
        padding: 1rem 0;
        font-size: 0.95rem;
    }

    .nav-list a::after {
        right: auto;
        bottom: 0.72rem;
        width: 38px;
    }

    .nav-cta {
        width: 100%;
        min-height: 50px;
    }

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

    .hero__aside {
        display: none;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .split__media {
        max-width: 620px;
    }

    .split__image {
        aspect-ratio: 5 / 4;
    }

    .section-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.4rem;
    }

    .page-anchor-nav__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

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

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .cta-panel__aside {
        justify-self: start;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .foundations {
        margin-top: -40px;
    }

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

    .foundation-card:nth-child(2)::after {
        display: none;
    }

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

    .profile-panels {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .activity-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .activity-card__media {
        aspect-ratio: 16 / 10;
    }

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

    .page-hero {
        min-height: 340px;
    }

    .map-placeholder {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-placeholder > .temp-badge {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 0.95rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .brand-text strong {
        font-size: 1.14rem;
    }

    .hero {
        min-height: 650px;
    }

    .hero__inner {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 7rem;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.5rem);
    }

    .hero__scroll {
        display: none;
    }

    .hero__points {
        gap: 0.55rem 1rem;
        font-size: 0.66rem;
    }

    .button-row .btn {
        flex: 1 1 100%;
    }

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

    .foundation-card:not(:last-child)::after {
        top: auto;
        right: 1.2rem;
        bottom: 0;
        left: 1.2rem;
        width: auto;
        height: 1px;
    }

    .foundation-card:nth-child(2)::after {
        display: block;
    }

    .foundation-card:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .media-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 1.5rem);
        margin: -2.2rem 0 0 1.5rem;
    }

    .split__media {
        padding-right: 0.75rem;
    }

    .media-frame::before {
        inset: 12px -12px -12px 12px;
    }

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

    .pillar-card__top {
        margin-bottom: 1.5rem;
    }

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

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .process-steps,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .article-meta .temp-badge {
        margin-left: 0;
    }

    .news-filter {
        align-items: flex-start;
    }

    .profile-facts {
        grid-template-columns: 1fr;
    }

    .lightbox {
        width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: var(--radius-md);
    }

    .lightbox__image {
        max-height: calc(100vh - 10rem);
    }

    .lightbox__bar {
        align-items: flex-start;
        padding: 0.8rem;
    }

    .cta-panel {
        border-radius: var(--radius-lg);
    }

    .cta-panel__aside {
        width: 100%;
        max-width: none;
    }

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

    .footer-brand {
        padding-bottom: 0.5rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .header-inner {
        gap: 0.75rem;
    }

    .brand {
        gap: 0.6rem;
    }

    .brand-text strong {
        font-size: 1.04rem;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero__content > p {
        font-size: 0.92rem;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .temp-badge {
        font-size: 0.56rem;
    }

    .news-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ==========================================================================
   21. Preferensi gerakan minimal
   ========================================================================== */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
