/* PGM — halaman Tentang: animasi tambahan */
.about-hero { position: relative; overflow: hidden; isolation: isolate; }
.about-hero .page-header-content { position: relative; z-index: 2; }
.ah-orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; pointer-events: none; }
.ah-orb.o1 { width: 320px; height: 320px; left: -90px; top: -110px; background: radial-gradient(circle at 30% 30%, rgba(228,184,28,.38), transparent 70%); animation: ahDrift 14s ease-in-out infinite alternate; }
.ah-orb.o2 { width: 260px; height: 260px; right: -60px; bottom: -90px; background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.22), transparent 70%); animation: ahDrift 11s ease-in-out -4s infinite alternate-reverse; }
.ah-orb.o3 { width: 140px; height: 140px; right: 22%; top: 12%; background: radial-gradient(circle, rgba(94,172,78,.45), transparent 70%); animation: ahDrift 9s ease-in-out -2s infinite alternate; }
.ah-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); z-index: 0; pointer-events: none; animation: ahSpin 40s linear infinite; }
.ah-ring.r1 { width: 420px; height: 420px; left: 50%; top: 50%; margin: -210px 0 0 -210px; border-style: dashed; }
.ah-ring.r2 { width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; animation-direction: reverse; animation-duration: 65s; opacity: .6; }
.ah-float { position: absolute; z-index: 1; color: rgba(255,255,255,.28); font-size: 28px; pointer-events: none; animation: ahBob 6s ease-in-out infinite; }
.ah-float.f1 { left: 9%; top: 30%; } .ah-float.f2 { right: 10%; top: 24%; font-size: 36px; animation-delay: -2s; }
.ah-float.f3 { left: 18%; bottom: 16%; font-size: 22px; animation-delay: -3.5s; } .ah-float.f4 { right: 20%; bottom: 14%; font-size: 24px; animation-delay: -1s; }
@keyframes ahDrift { to { transform: translate(40px, 30px) scale(1.15); } }
@keyframes ahSpin { to { transform: rotate(360deg); } }
@keyframes ahBob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* judul: kata muncul bergantian + kilau emas */
.ah-title span { display: inline-block; opacity: 0; transform: translateY(30px) rotateX(-40deg); animation: ahWord .9s cubic-bezier(.2,.8,.2,1) .25s forwards; }
.ah-title span:nth-child(2) { animation-delay: .45s; background: linear-gradient(100deg, #fff 20%, #f6d95a 45%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: ahWord .9s cubic-bezier(.2,.8,.2,1) .45s forwards, ahShine 5s linear 1.4s infinite; }
@keyframes ahWord { to { opacity: 1; transform: none; } }
@keyframes ahShine { to { background-position: -150% 0; } }

/* strip statistik */
.about-stats-wrap { position: relative; z-index: 5; margin-top: -46px; margin-bottom: 54px; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.as-item { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow); display: grid; gap: 4px; justify-items: center;
    opacity: 0; transform: translateY(30px) scale(.94); animation: asIn .8s cubic-bezier(.2,.8,.2,1) calc(.5s + var(--i) * .12s) forwards; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.as-item::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.as-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.as-item:hover::before { transform: scaleX(1); }
.as-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 6px; position: relative; }
.as-ic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--primary-light); animation: asPulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * .4s); }
.as-num { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.as-lb { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@keyframes asIn { to { opacity: 1; transform: none; } }
@keyframes asPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* judul seksi: garis emas memanjang */
.ab-h2 span { position: relative; display: inline-block; padding-bottom: 10px; }
.ab-h2 span::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; border-radius: 4px; background: var(--gradient-gold); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1) .3s; }
.ab-h2.in span::after, .no-js .ab-h2 span::after { transform: scaleX(1); }

/* teks sejarah: paragraf muncul bergantian */
.about-text.ab-ready > p, .about-text.ab-ready > h3, .about-text.ab-ready > .rt-content { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--k, 0) * 90ms); }
.about-text.ab-ready.in > p, .about-text.ab-ready.in > h3, .about-text.ab-ready.in > .rt-content { opacity: 1; transform: none; }
.about-text.ab-ready > p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 3.2rem; line-height: .9; padding: 6px 10px 0 0; color: var(--primary); font-weight: 700; }

/* foto: bingkai gradien berputar + miring mengikuti kursor */
.about-image { perspective: 1000px; }
.about-photo, .image-placeholder { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.about-photo::before, .image-placeholder::before { content: ''; position: absolute; inset: -60%; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.35) 50%, transparent 58%); transform: translateX(-60%); animation: abSweep 6s ease-in-out 1.5s infinite; }
@keyframes abSweep { 0% { transform: translateX(-60%); } 35%, 100% { transform: translateX(60%); } }

/* nilai utama */
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.val-item { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 24px 14px; border-radius: 22px; background: linear-gradient(160deg, #fff, var(--tint)); border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, background .4s;
    opacity: 0; transform: translateY(28px); }
.values-row.in .val-item { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--i) * .12s), transform .7s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s), box-shadow .4s, background .4s; }
.values-row.in .val-item:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow-lg); background: var(--gradient); transition-delay: 0s; }
.val-item:hover b, .val-item:hover small { color: #fff; }
.val-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--gold-soft); color: #b45309; display: grid; place-items: center; font-size: 22px; transition: transform .6s cubic-bezier(.2,.8,.2,1); animation: abBreath 4s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
.val-item:hover .val-ic { transform: rotateY(360deg); }
.val-item b { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); transition: color .3s; }
.val-item small { color: var(--muted); font-size: 12.5px; line-height: 1.4; transition: color .3s; }
@keyframes abBreath { 0%, 100% { box-shadow: 0 0 0 0 rgba(228,184,28,.45); } 50% { box-shadow: 0 0 0 12px rgba(228,184,28,0); } }

@media (max-width: 900px) { .values-row { grid-template-columns: repeat(2, 1fr); } .ah-float.f1, .ah-float.f4 { display: none; } }
@media (max-width: 560px) { .about-stats-wrap { margin-top: -30px; margin-bottom: 30px; } .about-stats { gap: 10px; } .as-item { padding: 16px 10px; } .as-num { font-size: 1.6rem; } .ah-ring.r2 { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ah-orb, .ah-ring, .ah-float, .as-ic::after, .val-ic, .about-photo::before, .image-placeholder::before { animation: none !important; }
  .ah-title span, .as-item, .val-item, .about-text.ab-ready > *, .vm-m, .vm-vision { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .ab-h2 span::after { transform: scaleX(1); transition: none; }
}

/* ===== Visi & Misi (v2) ===== */
.vm-section { margin-top: 24px; }
.vm-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.vm-head .ab-h2 { margin: 6px 0 10px; }
.vm-head p { color: var(--muted); }

/* kotak visi: tinggi & ukuran huruf mengikuti panjang isi */
.vm-vision { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 60px);
    background: var(--gradient); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.vm-vision.in { opacity: 1; transform: none; }
.vm-vision::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 22px), repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 22px); }
.vv-glow { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.vv-glow.g1 { width: 380px; height: 380px; right: -110px; top: -140px; background: radial-gradient(circle, rgba(228,184,28,.4), transparent 70%); animation: ahDrift 12s ease-in-out infinite alternate; }
.vv-glow.g2 { width: 300px; height: 300px; left: -90px; bottom: -130px; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%); animation: ahDrift 10s ease-in-out -3s infinite alternate-reverse; }
.vv-deco { position: absolute; color: rgba(255,255,255,.12); pointer-events: none; z-index: -1; }
.vv-deco.d1 { right: 5%; bottom: 8%; font-size: 90px; transform: rotate(-12deg); animation: ahBob 8s ease-in-out infinite; }
.vv-deco.d2 { right: 24%; top: 8%; font-size: 40px; animation: ahBob 7s ease-in-out -2s infinite; }

.vv-emblem { position: relative; width: 170px; height: 170px; display: grid; place-items: center; flex: none; }
.vv-emblem .ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); animation: ahSpin 30s linear infinite; }
.vv-emblem .r1 { inset: 0; }
.vv-emblem .r2 { inset: 18px; border-style: solid; border-color: rgba(246,217,90,.5); animation-direction: reverse; animation-duration: 20s; }
.vv-emblem .core { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #6b4b00; background: var(--gradient-gold); box-shadow: 0 0 0 10px rgba(228,184,28,.2), 0 14px 34px rgba(0,0,0,.28); animation: abBreath 4s ease-in-out infinite; }

.vv-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #f6d95a; backdrop-filter: blur(4px); }
.vv-text { position: relative; margin: 18px 0 22px; padding: 0; border: 0; }
.vv-q { position: absolute; left: -6px; top: -26px; font-size: 54px; color: rgba(246,217,90,.28); }
.vv-text p { position: relative; font-family: var(--font-display); font-weight: 600; line-height: 1.4; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.2); }
.vs-xl .vv-text p { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.vs-lg .vv-text p { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.vs-md .vv-text p { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.55; }
.vs-sm .vv-text p { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.65; font-weight: 500; }
.vv-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.92); }
.vv-foot i { color: #f6d95a; margin-right: 6px; }

/* misi: kartu bernomor */
.vm-mhead { display: flex; align-items: center; gap: 14px; margin: 46px 0 22px; }
.vm-mic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #b45309; background: var(--gold-soft); animation: abBreath 4s ease-in-out infinite; }
.vm-mhead h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--primary); line-height: 1.1; }
.vm-mhead small { color: var(--muted); font-weight: 600; }
.vm-missions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; counter-reset: none; }
.vm-missions.odd .vm-m:last-child { grid-column: 1 / -1; }
.vm-m { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ic txt"; gap: 6px 18px; align-items: center; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
    opacity: 0; transform: translateY(26px); transition: opacity .6s ease calc(var(--i) * .1s), transform .7s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .1s), box-shadow .35s, border-color .35s; }
.vm-missions.in .vm-m { opacity: 1; transform: none; }
.vm-m::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gradient-gold); transform: scaleY(0); transform-origin: top; transition: transform .5s; }
.vm-missions.in .vm-m:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); transition-delay: 0s; }
.vm-m:hover::before { transform: scaleY(1); }
.vm-num { position: absolute; right: 18px; top: -6px; font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: 1; color: var(--tint); -webkit-text-stroke: 1.5px var(--primary-soft); user-select: none; transition: color .35s, transform .5s; }
.vm-m:hover .vm-num { color: var(--gold-soft); transform: scale(1.1) rotate(-4deg); }
.vm-mi { grid-area: ic; position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--gradient); box-shadow: 0 8px 18px rgba(var(--primary-rgb), .28); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.vm-m:hover .vm-mi { transform: rotateY(360deg); }
.vm-m p { grid-area: txt; position: relative; z-index: 1; margin: 0; color: var(--ink); font-weight: 600; line-height: 1.55; }

/* penutup: komitmen + ajakan */
.vm-commit { position: relative; overflow: hidden; margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 30px 36px; border-radius: 26px; background: linear-gradient(135deg, var(--gold-soft), #fff 70%); border: 1px solid #f1e3a0; box-shadow: var(--shadow-sm); }
.vm-commit::after { content: '\f622'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 24px; bottom: -30px; font-size: 130px; color: rgba(228,184,28,.14); pointer-events: none; }
.vc-text { position: relative; z-index: 1; max-width: 560px; display: grid; gap: 6px; }
.vc-text b { font-family: var(--font-display); font-size: 1.35rem; color: var(--primary); }
.vc-text span { color: var(--muted); }
.vc-btns { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.vm-commit .btn-gold { background: var(--gradient-gold); color: #4a3300; font-weight: 800; border: 0; }
.vm-commit .btn-ghost-light { background: #fff; color: var(--primary); border: 1.5px solid var(--primary-soft); }
.vm-commit .btn-ghost-light:hover { border-color: var(--primary); }

@media (max-width: 900px) {
  .vm-vision { grid-template-columns: 1fr; gap: 22px; text-align: center; justify-items: center; }
  .vv-emblem { width: 120px; height: 120px; } .vv-emblem .core { width: 66px; height: 66px; font-size: 26px; }
  .vv-q { left: 50%; margin-left: -27px; } .vv-text { padding-top: 22px; } .vv-foot { justify-content: center; }
  .vm-missions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vm-vision { border-radius: 24px; } .vm-m { padding: 20px 18px; border-radius: 18px; } .vm-num { font-size: 3.4rem; }
  .vm-commit { padding: 24px 20px; text-align: center; justify-content: center; } .vc-btns { justify-content: center; width: 100%; }
}
