/* =========================================================
   PMB UMSB – tema "Songket"
   Rimba (hijau tua) + emas songket + sedikit saga (merah Minang)
   ========================================================= */
:root {
    --maroon: #4a0e1b;
    --maroon-2: #5e1424;
    --wine: #8c2338;
    --emas: #f0b429;
    --emas-2: #ffd36b;
    --saga: #c73e2f;
    --kabut: #f7f0f1;
    --putih: #ffffff;
    --tinta: #24141a;
    --muted: #6e5a5f;
    --garis: #ecd9dc;

    --f-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1200px;
    --r: 20px;
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* Motif songket (belah ketupat berlapis), emas untuk latar gelap */
    --songket-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%23F0B429' stroke-width='1.2'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z'/%3E%3Cpath d='M24 12 36 24 24 36 12 24Z'/%3E%3Cpath d='M24 20 28 24 24 28 20 24Z' fill='%23F0B429'/%3E%3Cpath d='M0 0H6L0 6ZM48 0H42L48 6ZM0 48H6L0 42ZM48 48H42L48 42Z' fill='%23F0B429' stroke='none'/%3E%3C/svg%3E");
    --songket-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' stroke='%23FFFFFF' stroke-width='1.2'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z'/%3E%3Cpath d='M24 12 36 24 24 36 12 24Z'/%3E%3Cpath d='M24 20 28 24 24 28 20 24Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--kabut);
    color: var(--tinta);
    font: 400 1.0625rem/1.65 var(--f-body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--emas); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--emas); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); font-size: .95rem; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--putih); border: 1px dashed var(--garis); border-radius: var(--r); }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1 var(--f-body); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--emas); color: var(--maroon); box-shadow: 0 10px 30px -10px rgba(240, 180, 41, .7); }
.btn--gold:hover { background: var(--emas-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--green { background: var(--maroon); color: #fff; }
.btn--green:hover { background: var(--wine); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }

/* ---------- Navigasi ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.nav.is-stuck { background: rgba(74, 14, 27, .92); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .5); padding: 8px 0; }
.nav__in { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__logo { height: 44px; width: auto; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--emas); color: var(--maroon); display: grid; place-items: center; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b { font: 800 1.15rem var(--f-display); letter-spacing: -.01em; }
.brand__text small { font-size: .78rem; opacity: .75; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a, .menu button, .brand__text b { white-space: nowrap; }
.menu > a:not(.btn), .menu__drop-btn { color: rgba(255, 255, 255, .86); padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: .95rem; background: none; border: 0; transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 6px; }
.menu > a:not(.btn):hover, .menu__drop-btn:hover, .menu > a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.menu__drop-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.menu__drop { position: relative; }
.menu__drop.is-open .menu__drop-btn svg { transform: rotate(180deg); }
.menu__panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: #fff; color: var(--tinta); border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.menu__drop.is-open .menu__panel, .menu__drop:hover .menu__panel, .menu__drop:focus-within .menu__panel { opacity: 1; visibility: visible; transform: none; }
.menu__panel a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.menu__panel a:hover { background: var(--kabut); }
.menu__cta { margin-left: 10px; padding: 11px 20px; font-size: .92rem; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 0; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Gonjong (pembatas atap rumah gadang) ---------- */
.gonjong {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 54px; z-index: 3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='54' viewBox='0 0 120 54' preserveAspectRatio='none'%3E%3Cpath d='M0 54C30 54 44 46 52 24 55 14 58 6 60 0 62 6 65 14 68 24 76 46 90 54 120 54Z' fill='%23F7F0F1'/%3E%3C/svg%3E") repeat-x bottom / 120px 54px;
}
.gonjong--foot { top: -1px; bottom: auto; transform: scaleY(-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='54' viewBox='0 0 120 54' preserveAspectRatio='none'%3E%3Cpath d='M0 54C30 54 44 46 52 24 55 14 58 6 60 0 62 6 65 14 68 24 76 46 90 54 120 54Z' fill='%23F7F0F1'/%3E%3C/svg%3E"); }

/* ---------- HERO (momen utama: songket yang menyala) ---------- */
.hero, .phero { position: relative; background: var(--maroon); color: #fff; overflow: hidden; isolation: isolate; }
.hero { min-height: min(100svh, 880px); display: flex; align-items: center; padding: 130px 0 150px; }
.hero__weave, .phero__weave, .schol__weave, .foot::before { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: var(--songket-gold) 0 0 / 48px 48px; opacity: .1; }
/* Lapisan yang hanya terlihat di sekitar kursor */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--songket-gold) 0 0 / 48px 48px;
    -webkit-mask-image: radial-gradient(circle 280px at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
    mask-image: radial-gradient(circle 280px at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%);
}
.hero__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(240, 180, 41, .22), transparent 70%), radial-gradient(900px 500px at 8% 100%, rgba(140, 35, 56, .55), transparent 70%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }

.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 500; margin-bottom: 28px; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--emas); box-shadow: 0 0 0 4px rgba(240, 180, 41, .25); }

.hero__title { font-size: clamp(2.9rem, 7.2vw, 6.4rem); font-weight: 800; line-height: .96; letter-spacing: -.035em; max-width: 12ch; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-right: .22em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes rise { to { transform: none; } }

.hero__sub { margin-top: 28px; font-size: 1.2rem; max-width: 52ch; color: rgba(255, 255, 255, .82); opacity: 0; animation: fade .8s .75s forwards; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade .8s .95s forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__wave { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 28px; padding: 30px; opacity: 0; animation: fade .9s 1.1s forwards; }
.hero__wave-label { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--emas-2); font-weight: 600; }
.live { width: 10px; height: 10px; border-radius: 50%; background: #5be0a2; position: relative; }
.live::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #5be0a2; animation: ping 1.8s infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero__wave h2 { font-size: 2.1rem; margin-top: 10px; }
.hero__wave-range { margin-top: 6px; color: rgba(255, 255, 255, .8); }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.count div { background: rgba(74, 14, 27, .6); border-radius: 16px; padding: 14px 6px 10px; text-align: center; border: 1px solid rgba(255, 255, 255, .1); }
.count b { display: block; font: 800 1.9rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.count span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.hero__wave-note { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.hero__wave-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--emas-2); border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Pita judul halaman dalam ---------- */
.phero { padding: 150px 0 110px; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; }
.phero p { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .65); margin-bottom: 20px; }
.crumbs a:hover { color: var(--emas-2); }

/* ---------- Seksi umum ---------- */
.sec { padding: 96px 0; position: relative; }
.sec--white { background: var(--putih); }
.sec--dark { background: var(--maroon); color: #fff; overflow: hidden; isolation: isolate; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 24px; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 18px; max-width: 54ch; }
.more { font-weight: 600; color: var(--wine); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.sec--dark .more { color: var(--emas-2); }

/* ---------- Keunggulan ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.why__lead { position: sticky; top: 110px; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__list li { background: var(--putih); border-radius: 24px 24px 24px 6px; padding: 28px; border: 1px solid var(--garis); }
.why__list li:nth-child(even) { transform: translateY(28px); border-radius: 24px 24px 6px 24px; }
.why__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--maroon); color: var(--emas); display: grid; place-items: center; margin-bottom: 18px; }
.why__ico svg { width: 24px; height: 24px; }
.why__list h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why__list p { color: var(--muted); font-size: .98rem; }

/* ---------- Gelombang ---------- */
.waves__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; position: relative; }
.wave { background: var(--kabut); border-radius: var(--r); padding: 28px; border: 1px solid var(--garis); position: relative; overflow: hidden; }
.wave header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wave h3 { font-size: 1.4rem; }
.wave__range { margin-top: 18px; font: 700 1.5rem/1.2 var(--f-display); letter-spacing: -.02em; }
.wave__desc { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.wave--open { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.wave--open::after { content: ''; position: absolute; inset: 0; background: var(--songket-gold) 0 0 / 48px 48px; opacity: .1; pointer-events: none; }
.wave--open .wave__desc { color: rgba(255, 255, 255, .8); }
.wave--closed { opacity: .6; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.chip--open { background: var(--emas); color: var(--maroon); }
.chip--soon { background: #fff; color: var(--wine); border: 1px solid var(--garis); }
.chip--closed { background: #efe7e8; color: var(--muted); }
.chip--cat { background: var(--kabut); color: var(--wine); }

/* ---------- Program studi ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--garis); background: #fff; color: var(--tinta); font-weight: 500; font-size: .95rem; transition: .25s var(--ease); }
.filter:hover { border-color: var(--wine); }
.filter.is-on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--garis); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(74, 14, 27, .55); }
.pcard[hidden] { display: none; }
.pcard__top { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 16px 20px; background-size: cover; background-position: center; overflow: hidden; }
.pcard__top::before { content: ''; position: absolute; inset: 0; background: var(--songket-light) 0 0 / 48px 48px; opacity: .13; transition: transform .8s var(--ease); }
.pcard:hover .pcard__top::before { transform: translate(24px, 24px); }
.pcard__top.t0 { background-color: var(--maroon); }
.pcard__top.t1 { background-color: var(--wine); }
.pcard__top.t2 { background-color: #7a5a06; }
.pcard__top.t3 { background-color: #7d2a20; }
.pcard__level { font: 800 4.2rem/.8 var(--f-display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); letter-spacing: -.04em; position: relative; }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__fac { font-size: .85rem; color: var(--wine); font-weight: 600; }
.pcard h3 { font-size: 1.3rem; }
.pcard__sum { color: var(--muted); font-size: .96rem; }
.pcard__meta { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__meta span { font-size: .8rem; background: var(--kabut); padding: 4px 10px; border-radius: 999px; color: var(--muted); }

/* ---------- Beasiswa ---------- */
.schol__weave { opacity: .06; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; transition: .25s; }
.arrows button:hover { background: var(--emas); border-color: var(--emas); color: var(--maroon); }
.arrows svg { width: 22px; height: 22px; }
.schol__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 28px; scrollbar-width: thin; scrollbar-color: var(--emas) transparent; }
.scard { flex: 0 0 min(340px, 84%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 26px 26px 26px 6px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: transform .35s var(--ease), background .35s; }
.scard:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); }
.scard__cat { align-self: flex-start; background: var(--emas); color: var(--maroon); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.scard h3 { font-size: 1.45rem; }
.scard p { color: rgba(255, 255, 255, .78); font-size: .98rem; }
.scard dl { display: flex; gap: 22px; margin: 4px 0 0; }
.scard dt { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.scard dd { margin: 0; font-weight: 600; }
.scard__go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--emas-2); display: inline-flex; align-items: center; gap: 8px; }
.scard__go svg { width: 18px; height: 18px; transition: transform .25s; }
.scard:hover .scard__go svg { transform: translateX(5px); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.scard--light { flex: none; background: #fff; border-color: var(--garis); color: var(--tinta); }
.scard--light:hover { background: #fff; box-shadow: 0 28px 50px -28px rgba(74, 14, 27, .55); }
.scard--light p { color: var(--muted); }
.scard--light dt { color: var(--muted); }
.scard--light .scard__go { color: var(--wine); }

/* ---------- Alur (garis yang terisi saat di-scroll) ---------- */
.flow__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.flow__lead { position: sticky; top: 110px; }
.flow__lead .btn { margin-top: 28px; }
.flow__list { position: relative; display: flex; flex-direction: column; gap: 44px; padding-left: 0; --prog: 0; }
.flow__line { position: absolute; left: 25px; top: 20px; bottom: 20px; width: 3px; background: var(--garis); border-radius: 3px; }
.flow__line i { display: block; width: 100%; height: calc(var(--prog) * 100%); background: linear-gradient(var(--emas), var(--wine)); border-radius: 3px; }
.flow__list li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 24px; }
.flow__no { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 3px solid var(--garis); display: grid; place-items: center; font: 800 1.25rem var(--f-display); color: var(--muted); position: relative; z-index: 1; transition: .4s var(--ease); }
.flow__list li.is-reached .flow__no { background: var(--maroon); border-color: var(--maroon); color: var(--emas); transform: scale(1.06); }
.flow__list h3 { font-size: 1.35rem; padding-top: 10px; }
.flow__list p { margin-top: 6px; color: var(--muted); }
.flow--page { background: var(--kabut); }
.flow__cta { margin-top: 56px; padding-left: 78px; }

/* ---------- Brosur ---------- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.bcard { display: flex; flex-direction: column; gap: 16px; }
.bcard__cover { aspect-ratio: 3 / 4; border-radius: 10px 22px 22px 10px; background: var(--maroon) center / cover no-repeat; box-shadow: 14px 16px 0 -2px var(--emas), 0 24px 40px -22px rgba(0, 0, 0, .5); position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.bcard:hover .bcard__cover { transform: rotate(-1.5deg) translateY(-4px); }
.bcard__cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent); z-index: 1; }
.bcard__gen { position: absolute; inset: 0; background: var(--songket-gold) 0 0 / 48px 48px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 22px; color: #fff; }
.bcard__gen::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74, 14, 27, .75), var(--maroon) 78%); }
.bcard__gen small, .bcard__gen b { position: relative; }
.bcard__gen small { color: var(--emas-2); font-weight: 600; margin-bottom: 8px; }
.bcard__gen b { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
.bcard__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding-left: 4px; }
.bcard h3 { font-size: 1.15rem; }
.bcard p { font-size: .95rem; color: var(--muted); }

/* ---------- Pengumuman ---------- */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.npost { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--garis); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.npost:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -28px rgba(74, 14, 27, .5); }
.npost__img { height: 170px; background: var(--maroon) var(--songket-gold) 0 0 / 48px 48px; background-size: 48px 48px; position: relative; }
.npost__img[style] { background-size: cover; background-position: center; }
.npost__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.npost__meta { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.npost h3 { font-size: 1.25rem; }
.npost__body > p { color: var(--muted); font-size: .96rem; }
.pager { margin-top: 44px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination a, .pagination span { min-width: 44px; padding: 10px 14px; text-align: center; border-radius: 12px; background: #fff; border: 1px solid var(--garis); font-weight: 600; font-size: .95rem; }
.pagination a:hover { border-color: var(--wine); }
.pagination .is-cur { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pagination .is-off { color: var(--muted); opacity: .5; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__grid .btn { margin-top: 28px; }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details { background: var(--kabut); border-radius: 18px; border: 1px solid var(--garis); transition: background .25s; }
.acc details[open] { background: #fff; border-color: var(--wine); }
.acc summary { list-style: none; padding: 20px 24px; font: 700 1.1rem var(--f-display); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--wine); transition: transform .3s var(--ease); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 24px 22px; color: var(--muted); }
.sec:not(.sec--white) .acc details { background: #fff; }

/* ---------- Halaman detail & konten ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.detail__img { border-radius: var(--r); margin-bottom: 28px; width: 100%; max-height: 420px; object-fit: cover; }
.prose { font-size: 1.1rem; line-height: 1.8; max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose p { margin-bottom: 1.1em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.1em; }
.prose ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--garis); padding: 12px 14px; text-align: left; }
.prose th { background: var(--maroon); color: #fff; }
.prose blockquote { margin: 1.4em 0; padding: 4px 22px; border-left: 4px solid var(--emas); color: var(--muted); }
.facts { position: sticky; top: 100px; background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--garis); }
.facts h2 { font-size: 1.3rem; margin-bottom: 14px; }
.facts dl { margin: 0 0 24px; }
.facts dl div { padding: 12px 0; border-bottom: 1px solid var(--garis); }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.more-block { margin-top: 80px; }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact__channels, .contact__campus { display: flex; flex-direction: column; gap: 14px; }
.channel { background: #fff; border: 1px solid var(--garis); border-radius: 18px; padding: 20px 24px; display: flex; flex-direction: column; transition: .25s var(--ease); }
a.channel:hover { border-color: var(--wine); transform: translateX(6px); }
.channel b { font: 700 1.1rem var(--f-display); }
.channel span { color: var(--muted); }
.campus { padding: 22px 24px; border-left: 4px solid var(--emas); background: #fff; border-radius: 4px 18px 18px 4px; }
.campus h2 { font-size: 1.2rem; margin-bottom: 6px; }
.campus p { color: var(--muted); white-space: pre-line; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--r); margin-top: 48px; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--maroon); color: rgba(255, 255, 255, .8); padding-top: 120px; isolation: isolate; overflow: hidden; }
.foot::before { opacity: .06; }
.foot__in { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot h2 { font: 800 1.7rem var(--f-display); color: #fff; margin-bottom: 14px; }
.foot h3 { font: 700 1rem var(--f-display); color: var(--emas-2); margin-bottom: 14px; }
.foot__col { display: flex; flex-direction: column; gap: 9px; font-size: .96rem; }
.foot__col a:hover { color: var(--emas-2); }
.foot__col p b { color: #fff; }
.foot__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.foot__social a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: .9rem; transition: .25s; }
.foot__social a:hover { background: var(--emas); border-color: var(--emas); color: var(--maroon); }
.foot__bar { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 20px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* ---------- Responsif ---------- */
@media (max-width: 1240px) {
    .menu > a:not(.btn), .menu__drop-btn { padding: 8px 10px; font-size: .9rem; }
    .brand__text small { display: none; }
}
@media (max-width: 960px) {
    .nav__toggle { display: block; }
    .menu {
        position: fixed; inset: 0; background: var(--maroon); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
        padding: 96px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease);
    }
    .nav.is-open .menu { transform: none; }
    .nav.is-open, .nav.is-stuck { background: var(--maroon); backdrop-filter: none; }
    .nav__in { position: relative; z-index: 2; }
    .menu > a:not(.btn), .menu__drop-btn { font: 700 1.5rem var(--f-display); padding: 12px 8px; width: 100%; justify-content: space-between; border-radius: 12px; }
    .menu__panel { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; display: none; padding: 0 0 8px 12px; color: #fff; }
    .menu__drop.is-open .menu__panel { display: block; }
    .menu__panel a:hover { background: rgba(255, 255, 255, .1); }
    .menu__cta { margin: 18px 0 0; padding: 16px; font-size: 1rem; }
    .hero { padding: 120px 0 130px; min-height: 0; }
    .hero__in, .why__grid, .flow__grid, .faq__grid, .detail, .contact { grid-template-columns: 1fr; gap: 40px; }
    .why__lead, .flow__lead, .facts { position: static; }
    .why__list li:nth-child(even) { transform: none; }
    .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sec { padding: 68px 0; }
    .why__list { grid-template-columns: 1fr; }
    .hero__wave { padding: 22px; }
    .count b { font-size: 1.5rem; }
    .foot__in { grid-template-columns: 1fr; }
    .flow__cta { padding-left: 0; }
    .phero { padding: 130px 0 90px; }

}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
    .hero__title .w > span { transform: none; }
    .hero__sub, .hero__actions, .hero__wave { opacity: 1; }
}

/* =========================================================
   Lapisan halus: sudut lebih membulat, bayangan lembut, transisi mulus
   ========================================================= */
:root {
    --sh-1: 0 2px 6px rgba(74, 14, 27, .06), 0 14px 30px -12px rgba(74, 14, 27, .2);
    --sh-2: 0 4px 12px rgba(74, 14, 27, .1), 0 34px 60px -20px rgba(74, 14, 27, .42);
    --r: 26px;
}
::selection { background: var(--emas); color: var(--maroon); }

/* Isi dari editor teks pada kolom singkat */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 .6em; }
.rich ul { list-style: disc; padding-left: 1.2em; margin: 0 0 .6em; }
.rich ol { list-style: decimal; padding-left: 1.2em; margin: 0 0 .6em; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: 12px; }
.foot .rich { color: inherit; }
.campus .rich { color: var(--muted); }
.hero__sub.rich { color: rgba(255, 255, 255, .82); }
.lead.rich { color: var(--muted); }
.why__list .rich, .flow__list .rich, .acc .rich, .bcard__desc, .npost__ex, .pcard__sum, .wave__desc { color: var(--muted); }
.wave--open .wave__desc { color: rgba(255, 255, 255, .82); }
.scard .rich { color: rgba(255, 255, 255, .78); font-size: .98rem; }
.scard--light .rich { color: var(--muted); }
.acc details .rich { padding: 0 24px 22px; }
.flow__list .rich { margin-top: 6px; }
.bcard__desc { font-size: .95rem; }
.npost__ex { font-size: .96rem; }
.pcard__sum { font-size: .96rem; }
.hero__wave-note.rich { margin-top: 18px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.wave__desc.rich { margin-top: 10px; font-size: .96rem; }
.foot__brand .rich { max-width: 38ch; }
.foot__col .rich { font-size: .94rem; }
.foot__col .rich b, .foot__col > .rich > b { color: #fff; }

/* Kartu: tanpa garis tegas, diganti bayangan */
.wave, .why__list li, .pcard, .npost, .facts, .channel, .campus, .acc details, .scard--light, .filter, .pagination a, .pagination span, .empty {
    border-color: transparent;
    box-shadow: var(--sh-1);
}
.wave, .why__list li, .pcard, .npost, .facts, .channel, .acc details, .scard, .bcard__cover, .hero__wave, .btn, .filter, .count div {
    transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .35s ease, border-color .35s ease, color .35s ease;
}
.pcard:hover, .npost:hover, .scard--light:hover, a.channel:hover, .wave:hover { box-shadow: var(--sh-2); }
.wave:hover { transform: translateY(-4px); }
.why__list li { border-radius: 30px 30px 30px 8px; }
.why__list li:nth-child(even) { border-radius: 30px 30px 8px 30px; }
.pcard, .npost, .facts, .wave { border-radius: 28px; }
.pcard__top { border-radius: 0; }
.acc details { border-radius: 22px; }
.acc details[open] { box-shadow: var(--sh-2); }
.channel { border-radius: 22px; }
.campus { border-radius: 6px 22px 22px 6px; }
.scard { border-radius: 30px 30px 30px 8px; }
.scard:not(.scard--light) { box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .6); }
.scard--light:hover { box-shadow: var(--sh-2); }
.map { border-radius: 28px; box-shadow: var(--sh-1); }
.detail__img { box-shadow: var(--sh-1); border-radius: 28px; }
.prose img { box-shadow: var(--sh-1); }
.facts { border: 0; }

/* Tombol & saringan */
.btn { box-shadow: 0 10px 24px -10px rgba(74, 14, 27, .45); }
.btn:hover { box-shadow: 0 16px 30px -10px rgba(74, 14, 27, .55); }
.btn--ghost { box-shadow: none; }
.btn--gold { box-shadow: 0 14px 30px -10px rgba(240, 180, 41, .65); }
.btn--green { box-shadow: 0 14px 28px -12px rgba(74, 14, 27, .65); }
.filter.is-on { box-shadow: 0 12px 24px -10px rgba(74, 14, 27, .55); }
.filter:hover { transform: translateY(-2px); }

/* Hero & navigasi */
.hero__wave { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2); border-radius: 32px; }
.count div { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px -10px rgba(0, 0, 0, .5); }
.nav.is-stuck { box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .6); }
.menu__panel { border-radius: 22px; box-shadow: 0 30px 70px -22px rgba(0, 0, 0, .55); }
.brand__mark { box-shadow: 0 10px 22px -8px rgba(240, 180, 41, .6); }

/* Sampul brosur */
.bcard__cover { box-shadow: 12px 14px 0 -2px var(--emas), 0 30px 50px -24px rgba(74, 14, 27, .55); }
.bcard:hover .bcard__cover { box-shadow: 14px 18px 0 -2px var(--emas), 0 38px 60px -24px rgba(74, 14, 27, .6); }

/* Peralihan antarbagian yang lebih lembut */
.sec--white { box-shadow: 0 -20px 50px -40px rgba(74, 14, 27, .35), 0 20px 50px -40px rgba(74, 14, 27, .35); position: relative; z-index: 1; }
.sec--dark { box-shadow: 0 30px 60px -30px rgba(74, 14, 27, .6); }

/* =========================================================
   Slider beranda + bar pintasan
   ========================================================= */
.slides { position: absolute; inset: 0; z-index: -4; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-on { opacity: 1; }
.slide__img { position: absolute; inset: 0; background: var(--maroon-2) center / cover no-repeat; transform: scale(1.14); transition: transform 9s linear; }
.slide__img:not([style]) { background-image: linear-gradient(135deg, var(--maroon-2), var(--maroon) 70%); }
.slide.is-on .slide__img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -3; pointer-events: none; background: linear-gradient(90deg, rgba(74, 14, 27, .95) 0%, rgba(74, 14, 27, .74) 44%, rgba(74, 14, 27, .28) 100%), linear-gradient(0deg, rgba(74, 14, 27, .75), transparent 45%); }
.hero--slider .hero__weave { opacity: .05; }

/* Teks tiap slide bertumpuk di satu tempat */
.scopies { display: grid; }
.scopy { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .6s ease, visibility 0s linear .6s; }
.scopy.is-on { visibility: visible; opacity: 1; transition: opacity .8s ease .25s, visibility 0s; }
.hero__title--slide .w > span { animation: none; transform: translateY(105%); }
.scopy.is-on .hero__title--slide .w > span { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
.hero__sub--slide, .hero__actions--slide { opacity: 0; animation: none; transform: translateY(14px); transition: opacity .9s ease, transform .9s var(--ease); }
.scopy.is-on .hero__sub--slide, .scopy.is-on .hero__actions--slide { opacity: 1; transform: none; transition-delay: .7s; }
.hero--slider .hero__title { max-width: 14ch; }
.hero--slider .hero__sub { min-height: 3.3em; }

/* Kontrol slider */
.sui { display: flex; align-items: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.sui__btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; transition: .35s var(--ease); }
.sui__btn:hover { background: var(--emas); border-color: var(--emas); color: var(--maroon); transform: scale(1.06); }
.sui__btn svg { width: 22px; height: 22px; }
.sui__count { font: 700 1.05rem var(--f-display); color: rgba(255, 255, 255, .7); margin: 0 6px 0 8px; font-variant-numeric: tabular-nums; }
.sui__count b { color: #fff; font-size: 1.5rem; }
.sui__dots { display: flex; gap: 8px; flex: 1; min-width: 120px; max-width: 260px; }
.sdot { flex: 1; height: 22px; padding: 0; border: 0; background: none; position: relative; cursor: pointer; }
.sdot::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.sdot i { position: absolute; left: 0; top: 10px; height: 3px; border-radius: 3px; background: var(--emas); width: 0; }
.sdot.is-done i { width: 100%; }
.sdot.is-on i { width: calc(var(--p, 0) * 100%); }

/* Bar pintasan yang melayang di tepi hero */
.quick { position: relative; z-index: 4; margin-top: -78px; }
.quick__bar { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 30px; box-shadow: 0 6px 16px rgba(74, 14, 27, .08), 0 40px 70px -26px rgba(74, 14, 27, .5); padding: 10px; }
.quick__bar a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; transition: background .35s ease, transform .5s var(--ease); }
.quick__bar a:hover { background: var(--kabut); transform: translateY(-2px); }
.qico { width: 52px; height: 52px; border-radius: 18px; background: var(--maroon); color: var(--emas); display: grid; place-items: center; flex: none; box-shadow: 0 12px 20px -10px rgba(74, 14, 27, .7); }
.qico svg { width: 25px; height: 25px; }
.quick__bar b { display: block; font: 700 1.05rem/1.2 var(--f-display); color: var(--tinta); }
.quick__bar small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.quick + .sec { padding-top: 120px; }

@media (max-width: 960px) {
    .quick__bar { grid-template-columns: 1fr 1fr; border-radius: 26px; }
    .quick__bar a { padding: 16px; gap: 12px; }
    .hero--slider .hero__sub { min-height: 0; }
}
@media (max-width: 600px) {
    .quick { margin-top: -56px; }
    .quick__bar { grid-template-columns: 1fr; }
    .quick + .sec { padding-top: 84px; }
    .sui { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .slide__img { transform: none; transition: none; }
    .scopy.is-on .hero__title--slide .w > span { transform: none; }
    .hero__sub--slide, .hero__actions--slide { transform: none; }
}
.hero--slider::before { opacity: .55; }

/* Logo unggahan (biasanya lebar): tampil sendiri, tidak berdesakan dengan menu */
.brand { flex: none; }
.brand__logo { height: 46px; width: auto; max-width: 240px; object-fit: contain; }
.brand--logo .brand__logo { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.menu { margin-left: auto; }
@media (max-width: 1240px) { .brand__logo { height: 40px; max-width: 190px; } }
@media (max-width: 960px) { .brand__logo { height: 38px; max-width: 170px; } }

/* =========================================================
   Menu layanan, video, galeri, testimoni, berita
   ========================================================= */
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Panel menu layanan (melayang di tepi hero) ---------- */
.svc__panel { background: #fff; border-radius: 36px; padding: 34px 34px 38px; box-shadow: 0 6px 16px rgba(74, 14, 27, .08), 0 44px 80px -30px rgba(74, 14, 27, .5); }
.svc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding: 0 6px; }
.svc__head .h3 { margin: 0; }
.svc__head p { color: var(--muted); }
.svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc__item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 26px; background: var(--kabut); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s ease; }
.svc__item::before { content: ''; position: absolute; inset: 0; background: var(--songket-gold) 0 0 / 48px 48px; opacity: 0; transition: opacity .5s ease; filter: none; }
.svc__item:hover { transform: translateY(-4px); background: var(--maroon); box-shadow: 0 26px 44px -22px rgba(74, 14, 27, .7); }
.svc__item:hover::before { opacity: .1; }
.svc__ico { width: 64px; height: 64px; border-radius: 22px; background: linear-gradient(145deg, var(--wine), var(--maroon)); color: var(--emas); display: grid; place-items: center; flex: none; box-shadow: 0 14px 24px -12px rgba(74, 14, 27, .8), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .5s var(--ease), background .4s ease, color .4s ease; position: relative; }
.svc__ico svg { width: 30px; height: 30px; }
.svc__item:hover .svc__ico { background: var(--emas); color: var(--maroon); transform: rotate(-6deg) scale(1.06); }
.svc__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; position: relative; }
.svc__txt b { font: 700 1.1rem/1.2 var(--f-display); color: var(--tinta); transition: color .3s ease; }
.svc__txt small { margin-top: 4px; font-size: .86rem; line-height: 1.35; color: var(--muted); transition: color .3s ease; }
.svc__item:hover .svc__txt b { color: #fff; }
.svc__item:hover .svc__txt small { color: rgba(255, 255, 255, .75); }
.svc__go { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--maroon); display: grid; place-items: center; flex: none; position: relative; box-shadow: var(--sh-1); transition: transform .5s var(--ease), background .3s ease, color .3s ease; }
.svc__go svg { width: 18px; height: 18px; }
.svc__item:hover .svc__go { background: var(--emas); color: var(--maroon); transform: translateX(4px); }

/* ---------- Video ---------- */
.vids { padding-bottom: 110px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vcard { display: flex; flex-direction: column; gap: 16px; }
.vcard__thumb { aspect-ratio: 16 / 9; border-radius: 26px; background: var(--maroon-2) center / cover no-repeat; position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .7); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.vcard__thumb::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74, 14, 27, 0) 45%, rgba(74, 14, 27, .65)); transition: opacity .4s ease; }
.vcard:hover .vcard__thumb { transform: translateY(-6px); box-shadow: 0 40px 60px -26px rgba(0, 0, 0, .8); }
.vcard__play { width: 68px; height: 68px; border-radius: 50%; background: var(--emas); color: var(--maroon); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 10px rgba(240, 180, 41, .28), 0 16px 30px -10px rgba(0, 0, 0, .6); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .vcard__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(240, 180, 41, .22), 0 16px 30px -10px rgba(0, 0, 0, .6); }
.vcard__title { font: 600 1.1rem/1.35 var(--f-display); color: #fff; padding: 0 6px; }
.vgrid--light .vcard__title { color: var(--tinta); }
.vgrid--light .vcard__thumb { box-shadow: var(--sh-2); }

/* Jendela video & foto (lightbox) */
.vm, .lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(30, 6, 12, .88); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.vm.is-open, .lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.vm__box { width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); transform: scale(.94); transition: transform .5s var(--ease); }
.vm.is-open .vm__box { transform: none; }
.vm__box iframe { width: 100%; height: 100%; border: 0; display: block; }
.vm__x, .lb__x, .lb__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; transition: background .3s ease, color .3s ease, transform .3s ease; }
.vm__x:hover, .lb__x:hover, .lb__nav:hover { background: var(--emas); color: var(--maroon); transform: scale(1.06); }
.vm__x, .lb__x { top: 22px; right: 22px; }
.lb__nav { top: 50%; margin-top: -26px; }
.lb__nav--prev { left: 22px; }
.lb__nav--next { right: 22px; }
.vm svg, .lb svg { width: 24px; height: 24px; }
.lb__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb__fig img { max-height: calc(100vh - 150px); max-width: 100%; width: auto; border-radius: 22px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); }
.lb__fig figcaption { color: #fff; font-weight: 500; text-align: center; min-height: 1.4em; }

/* ---------- Galeri ---------- */
.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.ggrid .gitem:first-child { grid-column: span 2; grid-row: span 2; }
.ggrid--page { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: auto; }
.ggrid--page .gitem { aspect-ratio: 4 / 3; }
.ggrid--page .gitem:first-child { grid-column: auto; grid-row: auto; }
.gitem { position: relative; overflow: hidden; border-radius: 28px; background: var(--maroon-2); box-shadow: var(--sh-1); display: block; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.gitem:hover img { transform: scale(1.07); }
.gitem__cap { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(74, 14, 27, .85), transparent); opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .5s var(--ease); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { opacity: 1; transform: none; }
.gitem__cap i { width: 40px; height: 40px; border-radius: 50%; background: var(--emas); color: var(--maroon); display: grid; place-items: center; flex: none; }
.gitem__cap svg { width: 18px; height: 18px; }

/* ---------- Testimoni ---------- */
.arrows--dark button { border-color: var(--garis); color: var(--maroon); background: #fff; box-shadow: var(--sh-1); }
.arrows--dark button:hover { background: var(--maroon); border-color: var(--maroon); color: var(--emas); }
.testi__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 6px 44px; scrollbar-width: none; margin: -14px -6px 0; }
.testi__track::-webkit-scrollbar { display: none; }
.tcard { margin: 0; flex: 1 0 min(360px, 86%); scroll-snap-align: start; background: #fff; border-radius: 34px; padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 22px; position: relative; box-shadow: var(--sh-1), 0 30px 50px -34px rgba(74, 14, 27, .35); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.tcard__mark { width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(145deg, var(--wine), var(--maroon)); color: var(--emas); display: grid; place-items: center; box-shadow: 0 14px 24px -12px rgba(74, 14, 27, .8); }
.tcard__mark svg { width: 24px; height: 24px; }
.tcard blockquote { margin: 0; font-size: 1.05rem; line-height: 1.75; color: var(--tinta); flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--garis); }
.tcard figcaption img, .tcard__ini { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--emas), 0 12px 22px -10px rgba(74, 14, 27, .6); }
.tcard__ini { display: grid; place-items: center; background: var(--maroon); color: var(--emas); font: 800 1.5rem var(--f-display); }
.tcard figcaption b { display: block; font: 700 1.08rem/1.25 var(--f-display); }
.tcard figcaption small { display: block; margin-top: 3px; color: var(--muted); font-size: .88rem; line-height: 1.35; }

/* ---------- Berita (kartu) ---------- */
.npost__img { height: 215px; }
.npost__body { flex: 1; }
.npost__more { margin-top: auto; padding-top: 12px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--maroon); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 12px 22px -12px rgba(74, 14, 27, .8); transition: background .3s ease, transform .4s var(--ease), gap .3s ease; }
.npost__more svg { width: 17px; height: 17px; }
.npost:hover .npost__more { background: var(--wine); gap: 12px; }
.npost__body > .npost__ex { flex: 0; }
.chip--cat { background: #fbf1f3; color: var(--wine); }

@media (max-width: 960px) {
    .svc__panel { padding: 24px 18px 26px; border-radius: 30px; }
    .svc__grid { grid-template-columns: 1fr 1fr; }
    .vgrid { grid-template-columns: 1fr 1fr; }
    .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
    .svc__grid { grid-template-columns: 1fr; }
    .svc__item { padding: 14px 16px; }
    .svc__ico { width: 56px; height: 56px; border-radius: 18px; }
    .vgrid { grid-template-columns: 1fr; }
    .ggrid { grid-auto-rows: 150px; gap: 10px; }
    .lb__nav { display: none; }
    .tcard { padding: 26px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .vm__box { transform: none; }
}

/* Sub tautan di footer (menu buatan admin) */
.foot__col a.foot__sub { padding-left: 16px; font-size: .9rem; opacity: .85; position: relative; }
.foot__col a.foot__sub::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 1px; background: currentColor; }

/* ---------- Halaman kode referral ---------- */
.ref { padding-top: 56px; }
.ref__in { width: min(var(--wrap), 100% - 40px); max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 28px; }
.ref__banner { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--sh-2); }
.ref__banner img { width: 100%; height: auto; display: block; }
.ref__card { background: #fff; border-radius: 32px; padding: 38px 40px 34px; box-shadow: var(--sh-2); }
.ref__info { padding-bottom: 26px; border-bottom: 1px solid var(--garis); margin-bottom: 28px; }
.ref__info ul { margin: 10px 0; padding-left: 22px; }
.rform__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 20px; }
.rform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.rfld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rfld--full { grid-column: 1 / -1; }
.rfld > span { font-weight: 600; font-size: .94rem; }
.rfld small { color: var(--muted); font-size: .82rem; }
.rfld input, .rfld select { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--garis); border-radius: 14px; background: #fcf9f9; font: inherit; color: var(--tinta); transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.rfld select { appearance: auto; }
.rfld input:focus, .rfld select:focus { outline: 0; background: #fff; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(140, 35, 56, .12); }
.rfld--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rform__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.rform__note { margin-top: 22px; color: var(--muted); font-size: .88rem; }
.ref__ok { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 22px; background: #e4f6ec; color: #0b5a3a; margin-bottom: 26px; }
.ref__ok p { margin: 4px 0 14px; }
.ref__ok-ico { width: 40px; height: 40px; border-radius: 50%; background: #0b5a3a; color: #fff; display: grid; place-items: center; flex: none; }
.ref__ok-ico svg { width: 20px; height: 20px; }
.ref__err { margin-bottom: 22px; padding: 16px 20px; border-radius: 20px; background: #fbeceb; color: #8c2a1f; margin-bottom: 26px; }
.ref__err ul { margin: 6px 0 0; padding-left: 20px; }
@media (max-width: 640px) {
    .ref__card { padding: 26px 20px 24px; border-radius: 26px; }
    .rform__grid { grid-template-columns: 1fr; }
    .rform__actions .btn { flex: 1; }
}
.rform .btn--ghost { border-color: var(--garis); color: var(--tinta); background: #fff; box-shadow: var(--sh-1); }
.rform .btn--ghost:hover { border-color: var(--wine); background: #fff; }
.rform__hint { margin: -8px 0 20px; padding: 12px 16px; border-radius: 14px; background: #fbf1f3; color: var(--wine); font-size: .9rem; }


/* =========================================================
   Lengkung gelombang (pengganti pembatas bergerigi)
   ========================================================= */
.gonjong {
    height: clamp(64px, 9vw, 130px); bottom: -1px; z-index: 3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V88C230 122 430 42 710 58S1130 112 1440 54V120Z' fill='%23F7F0F1' fill-opacity='.4'/%3E%3Cpath d='M0 120V66C170 22 350 10 560 42S960 114 1180 86C1290 72 1380 48 1440 32V120Z' fill='%23F7F0F1'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.gonjong--foot { top: -1px; bottom: auto; transform: scaleY(-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V88C230 122 430 42 710 58S1130 112 1440 54V120Z' fill='%23F7F0F1' fill-opacity='.4'/%3E%3Cpath d='M0 120V66C170 22 350 10 560 42S960 114 1180 86C1290 72 1380 48 1440 32V120Z' fill='%23F7F0F1'/%3E%3C/svg%3E"); }
.hero { padding-bottom: 180px; }
.phero { padding-bottom: 150px; }

/* Gelombang di atas dan bawah bagian gelap */
.sec--dark { --wc-top: var(--kabut); --wc-bot: var(--kabut); }
.sec--dark.vids { --wc-top: #fff; }
.sec--dark::before, .sec--dark::after {
    content: ''; position: absolute; left: 0; right: 0; height: clamp(36px, 5vw, 76px); z-index: 1; pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V66C170 22 350 10 560 42S960 114 1180 86C1290 72 1380 48 1440 32V120Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V66C170 22 350 10 560 42S960 114 1180 86C1290 72 1380 48 1440 32V120Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.sec--dark::before { top: -1px; background: var(--wc-top); transform: scaleY(-1); }
.sec--dark::after { bottom: -1px; background: var(--wc-bot); }
.sec--dark { padding-block: clamp(96px, 11vw, 140px); }
@media (max-width: 960px) {
    .hero { padding-bottom: 150px; }
    .gonjong { height: clamp(56px, 12vw, 90px); background-size: 100% 100%; }
}


/* =========================================================
   Gelombang berlapis (tiga gelombang sejajar, mengalir halus)
   ========================================================= */
.gonjong {
    height: clamp(90px, 10.5vw, 165px); bottom: -1px; z-index: 3;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path d='M0 160V71.4L10 72.8L20 74.2L30 75.4L40 76.6L50 77.7L60 78.7L70 79.6L80 80.5L90 81.2L100 81.9L110 82.5L120 83.0L130 83.3L140 83.7L150 83.9L160 84.0L170 84.1L180 84.0L190 83.9L200 83.7L210 83.5L220 83.1L230 82.7L240 82.3L250 81.8L260 81.2L270 80.5L280 79.9L290 79.2L300 78.4L310 77.6L320 76.8L330 75.9L340 75.1L350 74.2L360 73.3L370 72.4L380 71.4L390 70.5L400 69.6L410 68.6L420 67.7L430 66.8L440 65.9L450 65.0L460 64.1L470 63.2L480 62.3L490 61.4L500 60.5L510 59.7L520 58.9L530 58.0L540 57.2L550 56.4L560 55.6L570 54.8L580 54.0L590 53.2L600 52.4L610 51.6L620 50.9L630 50.1L640 49.3L650 48.5L660 47.7L670 46.9L680 46.0L690 45.2L700 44.4L710 43.5L720 42.7L730 41.8L740 40.9L750 40.0L760 39.1L770 38.2L780 37.3L790 36.4L800 35.4L810 34.5L820 33.6L830 32.6L840 31.7L850 30.8L860 29.9L870 29.0L880 28.1L890 27.3L900 26.5L910 25.7L920 24.9L930 24.2L940 23.5L950 22.9L960 22.3L970 21.8L980 21.3L990 20.9L1000 20.6L1010 20.3L1020 20.1L1030 20.0L1040 19.9L1050 20.0L1060 20.1L1070 20.3L1080 20.6L1090 21.0L1100 21.5L1110 22.1L1120 22.7L1130 23.5L1140 24.3L1150 25.2L1160 26.2L1170 27.3L1180 28.5L1190 29.7L1200 31.1L1210 32.5L1220 33.9L1230 35.4L1240 37.0L1250 38.6L1260 40.3L1270 42.0L1280 43.8L1290 45.6L1300 47.4L1310 49.2L1320 51.0L1330 52.8L1340 54.7L1350 56.5L1360 58.3L1370 60.1L1380 61.8L1390 63.5L1400 65.2L1410 66.9L1420 68.4L1430 70.0L1440 71.4V160Z' fill='%23E58AA0' fill-opacity='.28'/><path d='M0 160V110.5L10 110.3L20 110.1L30 109.8L40 109.4L50 109.0L60 108.4L70 107.8L80 107.1L90 106.4L100 105.6L110 104.8L120 103.9L130 102.9L140 101.9L150 100.9L160 99.8L170 98.7L180 97.6L190 96.4L200 95.2L210 94.1L220 92.9L230 91.7L240 90.5L250 89.3L260 88.1L270 86.9L280 85.8L290 84.6L300 83.5L310 82.4L320 81.3L330 80.3L340 79.3L350 78.3L360 77.3L370 76.4L380 75.5L390 74.6L400 73.7L410 72.9L420 72.2L430 71.4L440 70.7L450 70.0L460 69.4L470 68.8L480 68.2L490 67.6L500 67.0L510 66.5L520 66.0L530 65.5L540 65.0L550 64.6L560 64.2L570 63.7L580 63.3L590 62.9L600 62.5L610 62.2L620 61.8L630 61.4L640 61.1L650 60.7L660 60.4L670 60.1L680 59.8L690 59.5L700 59.2L710 58.9L720 58.6L730 58.4L740 58.1L750 57.9L760 57.7L770 57.5L780 57.4L790 57.2L800 57.1L810 57.1L820 57.0L830 57.0L840 57.1L850 57.2L860 57.3L870 57.5L880 57.7L890 58.0L900 58.3L910 58.7L920 59.1L930 59.6L940 60.1L950 60.7L960 61.4L970 62.1L980 62.9L990 63.7L1000 64.6L1010 65.5L1020 66.5L1030 67.6L1040 68.7L1050 69.9L1060 71.1L1070 72.3L1080 73.6L1090 74.9L1100 76.3L1110 77.7L1120 79.1L1130 80.6L1140 82.0L1150 83.5L1160 85.0L1170 86.5L1180 88.0L1190 89.4L1200 90.9L1210 92.3L1220 93.8L1230 95.2L1240 96.5L1250 97.8L1260 99.1L1270 100.3L1280 101.5L1290 102.6L1300 103.7L1310 104.7L1320 105.6L1330 106.5L1340 107.2L1350 107.9L1360 108.6L1370 109.1L1380 109.6L1390 109.9L1400 110.2L1410 110.4L1420 110.5L1430 110.5L1440 110.5V160Z' fill='%23fff' fill-opacity='.20'/></svg>") no-repeat bottom / 100% 100%;
}
.gonjong::after {
    content: ''; position: absolute; inset: 0; background: var(--wave-front, var(--kabut));
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path d='M0 160V121.9L10 120.7L20 119.5L30 118.3L40 117.1L50 115.8L60 114.6L70 113.3L80 112.1L90 110.9L100 109.6L110 108.4L120 107.2L130 106.1L140 104.9L150 103.8L160 102.8L170 101.7L180 100.7L190 99.8L200 98.9L210 98.0L220 97.1L230 96.4L240 95.6L250 94.9L260 94.3L270 93.7L280 93.2L290 92.7L300 92.3L310 91.9L320 91.5L330 91.2L340 91.0L350 90.8L360 90.6L370 90.5L380 90.4L390 90.3L400 90.3L410 90.3L420 90.3L430 90.4L440 90.5L450 90.6L460 90.8L470 91.0L480 91.2L490 91.4L500 91.6L510 91.8L520 92.1L530 92.3L540 92.6L550 92.9L560 93.2L570 93.5L580 93.8L590 94.1L600 94.5L610 94.8L620 95.2L630 95.5L640 95.9L650 96.2L660 96.6L670 97.0L680 97.4L690 97.9L700 98.3L710 98.8L720 99.2L730 99.7L740 100.2L750 100.7L760 101.3L770 101.8L780 102.4L790 103.0L800 103.7L810 104.3L820 105.0L830 105.7L840 106.5L850 107.2L860 108.0L870 108.8L880 109.6L890 110.5L900 111.4L910 112.2L920 113.2L930 114.1L940 115.0L950 116.0L960 116.9L970 117.9L980 118.9L990 119.9L1000 120.9L1010 121.8L1020 122.8L1030 123.8L1040 124.7L1050 125.6L1060 126.5L1070 127.4L1080 128.3L1090 129.1L1100 129.9L1110 130.7L1120 131.4L1130 132.0L1140 132.6L1150 133.2L1160 133.7L1170 134.2L1180 134.5L1190 134.9L1200 135.1L1210 135.3L1220 135.5L1230 135.5L1240 135.5L1250 135.5L1260 135.3L1270 135.1L1280 134.8L1290 134.4L1300 134.0L1310 133.5L1320 133.0L1330 132.3L1340 131.6L1350 130.9L1360 130.1L1370 129.2L1380 128.3L1390 127.3L1400 126.3L1410 125.3L1420 124.2L1430 123.1L1440 121.9V160Z'/></svg>") no-repeat bottom / 100% 100%; mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path d='M0 160V121.9L10 120.7L20 119.5L30 118.3L40 117.1L50 115.8L60 114.6L70 113.3L80 112.1L90 110.9L100 109.6L110 108.4L120 107.2L130 106.1L140 104.9L150 103.8L160 102.8L170 101.7L180 100.7L190 99.8L200 98.9L210 98.0L220 97.1L230 96.4L240 95.6L250 94.9L260 94.3L270 93.7L280 93.2L290 92.7L300 92.3L310 91.9L320 91.5L330 91.2L340 91.0L350 90.8L360 90.6L370 90.5L380 90.4L390 90.3L400 90.3L410 90.3L420 90.3L430 90.4L440 90.5L450 90.6L460 90.8L470 91.0L480 91.2L490 91.4L500 91.6L510 91.8L520 92.1L530 92.3L540 92.6L550 92.9L560 93.2L570 93.5L580 93.8L590 94.1L600 94.5L610 94.8L620 95.2L630 95.5L640 95.9L650 96.2L660 96.6L670 97.0L680 97.4L690 97.9L700 98.3L710 98.8L720 99.2L730 99.7L740 100.2L750 100.7L760 101.3L770 101.8L780 102.4L790 103.0L800 103.7L810 104.3L820 105.0L830 105.7L840 106.5L850 107.2L860 108.0L870 108.8L880 109.6L890 110.5L900 111.4L910 112.2L920 113.2L930 114.1L940 115.0L950 116.0L960 116.9L970 117.9L980 118.9L990 119.9L1000 120.9L1010 121.8L1020 122.8L1030 123.8L1040 124.7L1050 125.6L1060 126.5L1070 127.4L1080 128.3L1090 129.1L1100 129.9L1110 130.7L1120 131.4L1130 132.0L1140 132.6L1150 133.2L1160 133.7L1170 134.2L1180 134.5L1190 134.9L1200 135.1L1210 135.3L1220 135.5L1230 135.5L1240 135.5L1250 135.5L1260 135.3L1270 135.1L1280 134.8L1290 134.4L1300 134.0L1310 133.5L1320 133.0L1330 132.3L1340 131.6L1350 130.9L1360 130.1L1370 129.2L1380 128.3L1390 127.3L1400 126.3L1410 125.3L1420 124.2L1430 123.1L1440 121.9V160Z'/></svg>") no-repeat bottom / 100% 100%;
}
.gonjong--foot { top: -1px; bottom: auto; transform: scaleY(-1); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path d='M0 160V71.4L10 72.8L20 74.2L30 75.4L40 76.6L50 77.7L60 78.7L70 79.6L80 80.5L90 81.2L100 81.9L110 82.5L120 83.0L130 83.3L140 83.7L150 83.9L160 84.0L170 84.1L180 84.0L190 83.9L200 83.7L210 83.5L220 83.1L230 82.7L240 82.3L250 81.8L260 81.2L270 80.5L280 79.9L290 79.2L300 78.4L310 77.6L320 76.8L330 75.9L340 75.1L350 74.2L360 73.3L370 72.4L380 71.4L390 70.5L400 69.6L410 68.6L420 67.7L430 66.8L440 65.9L450 65.0L460 64.1L470 63.2L480 62.3L490 61.4L500 60.5L510 59.7L520 58.9L530 58.0L540 57.2L550 56.4L560 55.6L570 54.8L580 54.0L590 53.2L600 52.4L610 51.6L620 50.9L630 50.1L640 49.3L650 48.5L660 47.7L670 46.9L680 46.0L690 45.2L700 44.4L710 43.5L720 42.7L730 41.8L740 40.9L750 40.0L760 39.1L770 38.2L780 37.3L790 36.4L800 35.4L810 34.5L820 33.6L830 32.6L840 31.7L850 30.8L860 29.9L870 29.0L880 28.1L890 27.3L900 26.5L910 25.7L920 24.9L930 24.2L940 23.5L950 22.9L960 22.3L970 21.8L980 21.3L990 20.9L1000 20.6L1010 20.3L1020 20.1L1030 20.0L1040 19.9L1050 20.0L1060 20.1L1070 20.3L1080 20.6L1090 21.0L1100 21.5L1110 22.1L1120 22.7L1130 23.5L1140 24.3L1150 25.2L1160 26.2L1170 27.3L1180 28.5L1190 29.7L1200 31.1L1210 32.5L1220 33.9L1230 35.4L1240 37.0L1250 38.6L1260 40.3L1270 42.0L1280 43.8L1290 45.6L1300 47.4L1310 49.2L1320 51.0L1330 52.8L1340 54.7L1350 56.5L1360 58.3L1370 60.1L1380 61.8L1390 63.5L1400 65.2L1410 66.9L1420 68.4L1430 70.0L1440 71.4V160Z' fill='%23E58AA0' fill-opacity='.28'/><path d='M0 160V110.5L10 110.3L20 110.1L30 109.8L40 109.4L50 109.0L60 108.4L70 107.8L80 107.1L90 106.4L100 105.6L110 104.8L120 103.9L130 102.9L140 101.9L150 100.9L160 99.8L170 98.7L180 97.6L190 96.4L200 95.2L210 94.1L220 92.9L230 91.7L240 90.5L250 89.3L260 88.1L270 86.9L280 85.8L290 84.6L300 83.5L310 82.4L320 81.3L330 80.3L340 79.3L350 78.3L360 77.3L370 76.4L380 75.5L390 74.6L400 73.7L410 72.9L420 72.2L430 71.4L440 70.7L450 70.0L460 69.4L470 68.8L480 68.2L490 67.6L500 67.0L510 66.5L520 66.0L530 65.5L540 65.0L550 64.6L560 64.2L570 63.7L580 63.3L590 62.9L600 62.5L610 62.2L620 61.8L630 61.4L640 61.1L650 60.7L660 60.4L670 60.1L680 59.8L690 59.5L700 59.2L710 58.9L720 58.6L730 58.4L740 58.1L750 57.9L760 57.7L770 57.5L780 57.4L790 57.2L800 57.1L810 57.1L820 57.0L830 57.0L840 57.1L850 57.2L860 57.3L870 57.5L880 57.7L890 58.0L900 58.3L910 58.7L920 59.1L930 59.6L940 60.1L950 60.7L960 61.4L970 62.1L980 62.9L990 63.7L1000 64.6L1010 65.5L1020 66.5L1030 67.6L1040 68.7L1050 69.9L1060 71.1L1070 72.3L1080 73.6L1090 74.9L1100 76.3L1110 77.7L1120 79.1L1130 80.6L1140 82.0L1150 83.5L1160 85.0L1170 86.5L1180 88.0L1190 89.4L1200 90.9L1210 92.3L1220 93.8L1230 95.2L1240 96.5L1250 97.8L1260 99.1L1270 100.3L1280 101.5L1290 102.6L1300 103.7L1310 104.7L1320 105.6L1330 106.5L1340 107.2L1350 107.9L1360 108.6L1370 109.1L1380 109.6L1390 109.9L1400 110.2L1410 110.4L1420 110.5L1430 110.5L1440 110.5V160Z' fill='%23fff' fill-opacity='.20'/></svg>"); }
/* Footer mengikuti warna bagian terakhir halaman (putih pada beranda) */
main:has(> .sec--white:last-child) + .foot { --wave-front: #fff; }
.hero { padding-bottom: 180px; }
.phero { padding-bottom: 150px; }
@media (max-width: 960px) {
    .hero { padding-bottom: 140px; }
    .gonjong { height: clamp(64px, 14vw, 100px); }
}

/* Huruf Inter: judul sedikit dirapatkan agar tegas */
h1, h2, h3, .h2, .h3 { letter-spacing: -.02em; }
body { font-feature-settings: 'cv11', 'ss01'; }

/* =========================================================
   Testimoni alumni (tampilan modern)
   ========================================================= */
.testi { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fbf4f5 100%); }
.testi__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(520px 320px at 8% 12%, rgba(140, 35, 56, .08), transparent 70%), radial-gradient(560px 360px at 95% 88%, rgba(240, 180, 41, .12), transparent 70%); }
.testi .wrap { position: relative; z-index: 1; }
.testi__track { gap: 26px; padding: 28px 8px 70px; margin: -28px -8px -34px; }
.tcard { position: relative; flex: 0 0 min(390px, 88%); padding: 34px 32px 28px; border-radius: 30px; border: 1px solid var(--garis); background: #fff; overflow: hidden;
    box-shadow: 0 2px 6px rgba(74, 14, 27, .05), 0 24px 44px -28px rgba(74, 14, 27, .35); }
.tcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--emas), var(--wine) 70%, var(--maroon)); }
.tcard::after { content: '\201D'; position: absolute; right: 22px; top: 6px; font: 800 9rem/1 var(--f-display); color: var(--maroon); opacity: .06; pointer-events: none; }
.tcard:hover { transform: translateY(-8px); }
.tcard__mark { width: 46px; height: 46px; border-radius: 50%; }
.tcard__mark svg { width: 21px; height: 21px; }
.tcard blockquote { font-size: 1rem; line-height: 1.75; color: #3a2830; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.tcard figcaption { padding-top: 20px; margin-top: auto; border-top: 1px dashed var(--garis); }
.tcard figcaption img, .tcard__ini { width: 56px; height: 56px; }
.tcard figcaption small { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #fbeef1; color: var(--wine); font-weight: 600; font-size: .78rem; line-height: 1.3; }
@media (min-width: 1100px) { .testi__track > .tcard:first-child:nth-last-child(-n+3), .testi__track > .tcard:first-child:nth-last-child(-n+3) ~ .tcard { flex: 1 1 0; } }

/* =========================================================
   Kartu berita (tampilan detail)
   ========================================================= */
.ngrid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.npost { position: relative; border: 1px solid var(--garis); border-radius: 24px; background: #fff; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 2px 6px rgba(74, 14, 27, .05), 0 20px 40px -28px rgba(74, 14, 27, .35); }
.npost:hover { transform: translateY(-6px); box-shadow: 0 4px 10px rgba(74, 14, 27, .08), 0 34px 54px -28px rgba(74, 14, 27, .5); border-color: #e3c3c9; }
.npost__img { height: auto; aspect-ratio: 16 / 10; overflow: hidden; background: var(--maroon) var(--songket-gold) 0 0 / 48px 48px; position: relative; }
.npost__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(74, 14, 27, .18)); pointer-events: none; }
.npost__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.npost:hover .npost__img img { transform: scale(1.06); }
.npost__body { padding: 20px 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.npost__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0; font-size: .82rem; color: var(--muted); }
.npost__date { display: inline-flex; align-items: center; gap: 6px; }
.npost__date svg { width: 15px; height: 15px; color: var(--wine); }
.npost .chip--cat { background: var(--maroon); color: #fff; padding: 4px 11px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.npost h3 { font-size: 1.08rem; line-height: 1.4; font-weight: 700; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.npost h3 a { color: var(--tinta); transition: color .3s ease; }
.npost h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.npost:hover h3 a { color: var(--wine); }
.npost__ex { font-size: .92rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.npost__foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--garis); }
.npost .npost__more { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; color: var(--maroon); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s ease, color .3s ease; }
.npost .npost__more svg { width: 16px; height: 16px; }
.npost:hover .npost__more { background: none; gap: 14px; color: var(--wine); }
@media (max-width: 960px) { .ngrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ngrid { grid-template-columns: 1fr; } }

/* Halaman berita: meta dan bagikan */
.pmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--garis); color: var(--muted); font-size: .92rem; }
.pmeta .chip--cat { background: var(--maroon); color: #fff; font-weight: 700; }
.pmeta .npost__date svg { color: var(--wine); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--garis); }
.share b { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; }
.share b svg, .share button svg { width: 17px; height: 17px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--garis); background: #fff; color: var(--tinta); font: 600 .88rem var(--f-body); cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.share a:hover, .share button:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: translateY(-2px); }
.npost__body > .npost__ex { flex: 0 0 auto; }

/* Menu seluler: tombol tutup & logo harus tetap di atas panel menu */
@media (max-width: 960px) {
    .nav__toggle { position: relative; z-index: 6; margin-left: auto; }
    .brand { position: relative; z-index: 6; }
    .menu { z-index: 5; }
    .nav.is-open .nav__toggle { background: rgba(255, 255, 255, .2); }
}

/* =========================================================
   Program studi: slider horizontal & kartu baru
   ========================================================= */
.sec__tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ptrack { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    padding: 24px 8px 68px; margin: -24px -8px -38px; overscroll-behavior-x: contain; }
.ptrack::-webkit-scrollbar { display: none; }
.ptrack:focus-visible { outline-offset: -4px; }
.ptrack .pcard { flex: 0 0 min(310px, 82%); scroll-snap-align: start; }

.pcard { border-radius: 28px; border: 1px solid var(--garis); background: #fff; position: relative;
    box-shadow: 0 2px 6px rgba(74, 14, 27, .05), 0 22px 40px -28px rgba(74, 14, 27, .4); }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 4px 10px rgba(74, 14, 27, .08), 0 36px 56px -28px rgba(74, 14, 27, .55); border-color: #e3c3c9; }
.pcard__top { height: 140px; padding: 18px 22px; align-items: flex-end; justify-content: space-between; }
.pcard__top::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.pcard__chip { position: absolute; left: 20px; top: 18px; z-index: 1; padding: 5px 13px; border-radius: 999px; background: var(--emas); color: var(--maroon); font-weight: 800; font-size: .78rem; letter-spacing: .04em; }
.pcard__level { font-size: 3.6rem; -webkit-text-stroke-width: 1.6px; }
.pcard__body { padding: 20px 22px 22px; gap: 10px; }
.pcard__fac { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--wine); font-weight: 700; margin: 0; }
.pcard h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pcard__sum { font-size: .92rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__meta { margin: 0; padding-top: 2px; }
.pcard__meta span { background: #fbf1f3; color: var(--wine); font-weight: 600; }
.pcard__foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--garis); display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .9rem; color: var(--maroon); }
.pcard__foot i { width: 38px; height: 38px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; transition: transform .45s var(--ease), background .3s ease, color .3s ease; }
.pcard__foot svg { width: 17px; height: 17px; }
.pcard:hover .pcard__foot i { background: var(--emas); color: var(--maroon); transform: translateX(4px); }

/* Halaman program studi */
.ptools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.psearch { position: relative; flex: 1 1 320px; max-width: 520px; }
.psearch svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--muted); pointer-events: none; }
.psearch input { width: 100%; height: 52px; padding: 0 20px 0 48px; border: 1.5px solid var(--garis); border-radius: 18px; background: #fff; font: inherit; color: var(--tinta); box-shadow: var(--sh-1); transition: border-color .3s ease, box-shadow .3s ease; }
.psearch input:focus { outline: 0; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(140, 35, 56, .12); }
.ptools__count { color: var(--muted); font-weight: 600; margin: 0; }
.pfac { margin-top: 18px; }
.pfac[hidden] { display: none; }
.pfac__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--garis); }
.pfac__head h2 { margin: 0; }
.pfac__n { color: var(--muted); font-size: .9rem; }
.pfac .ptrack { padding-top: 30px; margin-top: -6px; }
@media (max-width: 600px) { .ptrack { gap: 16px; } .ptrack .pcard { flex-basis: 78%; } }

/* =========================================================
   Halaman baca berita: artikel + sidebar
   ========================================================= */
.adet-sec { padding-top: 56px; }
.adet { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; }
.adet__card { background: #fff; border-radius: 28px; padding: 34px 38px 30px; box-shadow: var(--sh-1); border: 1px solid var(--garis); }
.adet__card .pmeta { margin-bottom: 24px; }
.pmeta__read { display: inline-flex; align-items: center; gap: 6px; }
.pmeta__read svg { width: 15px; height: 15px; color: var(--wine); }
.adet__cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: 20px; margin-bottom: 26px; box-shadow: var(--sh-1); }
.prose--post { max-width: none; font-size: 1rem; line-height: 1.85; text-align: justify; hyphens: auto; color: #3a2830; }
.prose--post p { margin-bottom: 1.15em; }
.prose--post img { max-width: 100%; height: auto; }

.adet__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.sidecard { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--garis); }
.sidecard__head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: #fff; background: linear-gradient(135deg, var(--wine), var(--maroon)); }
.sidecard__ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.sidecard__ico svg { width: 22px; height: 22px; }
.sidecard__head h2 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.sidecard__head p { margin: 2px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.sitem { display: flex; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--garis); transition: background .3s ease; }
.sitem:hover, .snote:hover { background: #fbf4f5; }
.sitem__img { width: 96px; height: 72px; border-radius: 12px; flex: none; background: var(--maroon) var(--songket-gold) 0 0 / 40px 40px center; background-size: cover; background-position: center; box-shadow: var(--sh-1); }
.sitem__img:not([style]) { background-size: 40px 40px; }
.sitem__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sitem__txt b, .snote b { font-size: .92rem; line-height: 1.4; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s ease; }
.sitem:hover b, .snote:hover b { color: var(--wine); }
.sitem small, .snote small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.sitem small svg, .snote small svg { width: 13px; height: 13px; }
.sidecard__all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 700; color: var(--maroon); transition: gap .3s ease, color .3s ease; }
.sidecard__all:hover { gap: 14px; color: var(--wine); }
.sidecard__all svg { width: 16px; height: 16px; }
.snote { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 22px 16px 42px; border-bottom: 1px solid var(--garis); transition: background .3s ease; }
.snote::before { content: ''; position: absolute; left: 22px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--emas); box-shadow: 0 0 0 4px rgba(240, 180, 41, .22); }
.sidecard__list > :last-child { border-bottom: 0; }
.sidecard__all { border-top: 1px solid var(--garis); }
@media (max-width: 1020px) {
    .adet { grid-template-columns: 1fr; }
    .adet__side { position: static; }
}
@media (max-width: 600px) {
    .adet__card { padding: 24px 20px 22px; border-radius: 22px; }
    .prose--post { text-align: left; }
}
