/* SMP Swadaya · Situs publik (Referensi/Desain SMP Swadaya.html). Desktop 1440px, mobile 390px. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #4F5CB8;
  --accent-mid: #3D479E;
  --accent-dark: #2E367F;
  --accent-soft: #7D87CF;
  --ink: #1B1F3B;
  --muted: #4A4F6E;
  --muted-2: #5A5F7D;
  --line: #E1E4F4;
  --line-2: #C9CEEE;
  --soft: #F6F7FC;
  --tint: #EEF0FB;
  --ph: #DDE1F6;
  --sun: #FDE68A;
  --footer: #4A5AA8;
  --ring: #A5ADEB;
  --pad-x: clamp(20px, 4vw, 40px);
  --shadow-card: 0 24px 48px rgba(30, 36, 100, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent-mid); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; }
input, textarea, select { accent-color: var(--accent); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gerak ---------- */
.rise { animation: rise .7s cubic-bezier(.22, 1, .36, 1) both; }
.pop { animation: pop .8s cubic-bezier(.22, 1, .36, 1) both; }
.bob { animation: bob 6s ease-in-out 1.2s infinite; }
.btn-lift { transition: transform .15s ease, box-shadow .15s ease; }
.btn-lift:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 36, 100, .22); }
.card-lift { transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(30, 36, 100, .16); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .pop, .bob, .site-menu { animation: none !important; }
  .btn-lift, .card-lift, .word { transition: none !important; }
  .btn-lift:hover, .card-lift:hover { transform: none; }
}

/* ---------- Teks ---------- */
.eyebrow { font-size: 13.5px; font-weight: 700; color: var(--accent-mid); letter-spacing: .12em; text-transform: uppercase; }
.tag { align-self: flex-start; display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tag--glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: #FFFFFF; }
.h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.h2--xl { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.22; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.head { display: flex; flex-direction: column; gap: 10px; }
.head--center { align-items: center; text-align: center; max-width: 700px; margin: 0 auto; gap: 14px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { flex: none; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; font-weight: 700; }
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { color: #FFFFFF; background: var(--accent-mid); }
.btn--white { background: #FFFFFF; color: var(--accent-dark); font-weight: 700; }
.btn--white:hover { color: var(--accent-dark); }
.btn--ghost-white { border: 1.5px solid #FFFFFF; color: #FFFFFF; background: transparent; }
.btn--ghost-white:hover { color: #FFFFFF; background: rgba(255, 255, 255, .1); }
.btn--outline { border: 1.5px solid var(--line-2); color: var(--accent-dark); background: #FFFFFF; }
.btn--outline:hover { color: var(--accent-dark); border-color: var(--accent-soft); }
.btn--soft { background: var(--tint); color: var(--accent-dark); }
.btn--soft:hover { color: var(--accent-dark); background: #E2E6F8; }
.btn--wa { background: #16A34A; color: #FFFFFF; }
.btn--wa:hover { color: #FFFFFF; background: #15803D; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #FFFFFF; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid #E7E9F5; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--accent-mid); }
.nav-link[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }
.nav-link[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent-dark); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tint); color: var(--accent-dark); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.site-menu { display: none; }

/* ---------- Hero halaman ---------- */
.hero { position: relative; background: var(--accent); overflow: hidden; color: #FFFFFF; }
.hero__circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__circle--fill { right: -140px; top: -220px; width: 620px; height: 620px; background: var(--accent-soft); opacity: .45; }
.hero__circle--line { right: 220px; top: 60px; width: 300px; height: 300px; border: 1.5px solid rgba(255, 255, 255, .25); }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 56px; padding-bottom: 170px; }
.hero__inner--short { padding-bottom: 140px; }
.hero h1 { max-width: 760px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18; font-weight: 700; letter-spacing: -.012em; }
.hero__sub { max-width: 620px; font-size: 17px; line-height: 1.65; }
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; display: block; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.crumbs a { color: #FFFFFF; text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.ppdb-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; color: #FFFFFF; font-size: 13.5px; font-weight: 600; }
.ppdb-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

/* Kartu putih yang menumpang ke bawah hero */
.overlap { position: relative; margin-top: -110px; }
.overlap--sm { margin-top: -96px; }
.panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card); padding: 26px clamp(20px, 3vw, 36px); }

/* ---------- Seksi ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section--top { padding-top: 96px; padding-bottom: 0; }
.bg-soft { background: var(--soft); }
.bg-accent { position: relative; background: var(--accent); color: #FFFFFF; overflow: hidden; }
.deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.split > * { flex: 1 1 440px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }

/* ---------- Placeholder foto & kartu ---------- */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--ph); color: var(--accent-mid); font-size: 13.5px; font-weight: 600; text-align: center; overflow: hidden; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 16px; }
.card--flat { border: 0; }
.card__media { aspect-ratio: 16 / 10; border-radius: 14px; }
.card__body { padding: 0 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 18px; line-height: 1.4; font-weight: 700; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent-mid); }
.card__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.card__date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted-2); }
.card__more { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge--white { background: #FFFFFF; color: var(--accent-dark); font-size: 12px; letter-spacing: 0; text-transform: none; }
.badge--sun { left: auto; right: 12px; background: var(--sun); color: #713F12; font-size: 12px; letter-spacing: 0; text-transform: none; }

/* Kartu gelap bergradasi (galeri & fasilitas) */
.shade { position: relative; border-radius: 22px; overflow: hidden; background: var(--line-2); }
.shade .ph { position: absolute; inset: 0; padding-bottom: 90px; background: var(--line-2); }
.shade__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 60px 20px 20px; background: linear-gradient(180deg, rgba(20, 24, 60, 0) 0%, rgba(20, 24, 60, .88) 55%); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #FFFFFF; }
.shade__cap h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.shade__cap span { color: #E4E7FA; font-size: 13.5px; line-height: 1.5; }
.play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .6); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.play:hover { color: #FFFFFF; background: rgba(255, 255, 255, .32); }

/* ---------- Chip filter ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s ease; }
.chip:hover { color: var(--accent-dark); background: #E2E6F8; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--accent); color: #FFFFFF; }
.count { font-size: 14px; color: var(--muted-2); }

/* ---------- Beranda ---------- */
.home-hero .hero__circle--fill { right: -120px; top: -160px; width: 760px; height: 760px; }
.home-hero .hero__circle--line { right: 180px; top: 120px; width: 420px; height: 420px; }
.home-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 150px; }
.home-hero__text { flex: 1 1 520px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.home-hero h1 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.16; font-weight: 700; letter-spacing: -.015em; }
.words { position: relative; display: block; height: 1.2em; margin-top: 4px; }
.word { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--sun); transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.word:not(.is-on) { opacity: 0; transform: translateY(18px); }
.word.is-out { transform: translateY(-18px); }
.home-hero__art { flex: 0 1 460px; min-width: 260px; display: flex; justify-content: center; }
.home-hero__art img { width: 100%; max-width: 460px; height: auto; }

.carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -12px; padding: 12px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 24px; }
.carousel__item { flex: 0 0 340px; height: 430px; scroll-snap-align: start; box-shadow: 0 12px 28px rgba(30, 36, 100, .12); }
.carousel__item.is-fav { box-shadow: 0 0 0 3px var(--accent-soft), 0 20px 40px rgba(30, 36, 100, .25); }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #D5D9F0; background: #FFFFFF; color: var(--accent-mid); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-nav button + button { border: 0; background: var(--accent); color: #FFFFFF; }
.carousel-nav button:disabled { opacity: .45; cursor: default; }
.fav-label { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; }

.portrait { position: relative; border-radius: 24px; box-shadow: var(--shadow-card); }
.portrait--wide { aspect-ratio: 5 / 4; }
.portrait--tall { flex: 0 1 380px !important; aspect-ratio: 4 / 5; }
.name-chip { position: absolute; left: 20px; bottom: 20px; z-index: 1; padding: 10px 18px; border-radius: 999px; background: #FFFFFF; color: var(--accent-dark); font-size: 15px; font-weight: 700; box-shadow: 0 8px 20px rgba(30, 36, 100, .14); }
.salam { font-size: 18px; line-height: 1.45; font-weight: 600; color: var(--accent-dark); }
.quote-lg { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 600; color: var(--accent-dark); }

.teacher { background: var(--accent); border-radius: 24px; padding: 24px; display: flex; flex-wrap: wrap; gap: 22px; color: #FFFFFF; }
.teacher__photo { flex: 0 0 140px; height: 160px; border-radius: 16px; font-size: 12.5px; }
.teacher__body { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.teacher__body h3 { font-size: 21px; font-weight: 700; }
.teacher__body p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }

.alumni-card { margin: 0; background: #FFFFFF; border: 1.5px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.alumni-card--accent { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.alumni-card blockquote { font-size: 16px; line-height: 1.6; }
.alumni-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.alumni-card figcaption strong { font-size: 17px; }
.alumni-card figcaption span { font-size: 13.5px; color: var(--muted); }
.alumni-card--accent figcaption span { color: #FFFFFF; }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; border: 3px solid var(--tint); background: var(--ph); color: var(--accent-mid); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.alumni-card--accent .avatar { border-color: #FFFFFF; }
.angkatan { padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 12.5px; font-weight: 600; }
.alumni-card--accent .angkatan { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
.type-tag { padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.type-tag--karier { background: #FEF3C7; color: #78350F; }

/* CTA bergabung */
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--accent); padding: 56px clamp(24px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; box-shadow: 0 30px 60px rgba(30, 36, 100, .22); color: #FFFFFF; }
.cta-box > *:not(.deco) { position: relative; }
.cta-box h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.22; font-weight: 700; letter-spacing: -.012em; }
.cta-box--center { flex-direction: column; justify-content: center; text-align: center; padding-top: 64px; padding-bottom: 64px; gap: 24px; }
.cta-box--center h2 { max-width: 640px; font-size: clamp(26px, 2.8vw, 38px); }
.seg { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }
.seg button { min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; color: #FFFFFF; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.seg button[aria-selected="true"] { background: #FFFFFF; color: var(--accent-dark); }

/* ---------- Profil ---------- */
.identity { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.identity dt { font-size: 12.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .1em; text-transform: uppercase; }
.identity dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.visi { position: relative; overflow: hidden; border-radius: 28px; background: var(--accent); padding: 48px clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; color: #FFFFFF; }
.visi > *:not(.deco) { position: relative; }
.visi p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 600; }
.misi { border-radius: 28px; background: var(--soft); border: 1px solid var(--line); padding: 48px clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.numbered { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.numbered li { display: flex; gap: 14px; font-size: 16.5px; line-height: 1.55; }
.num { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: #FFFFFF; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.motto { align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 15px; font-weight: 700; }
.teacher-card .ph { aspect-ratio: 1 / 1; border-radius: 16px; }
.teacher-card h3 { font-size: 18px; font-weight: 700; }
.teacher-card span { font-size: 14px; font-weight: 600; color: var(--accent-mid); }
.map { flex: 2 1 520px !important; aspect-ratio: 16 / 9; border-radius: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Ekstrakurikuler & alumni ---------- */
.meta-list { margin: auto 0 0; padding-top: 14px; border-top: 1px solid #EEF0F7; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; }
.meta-list dt { color: var(--muted-2); }
.meta-list dd { margin: 0; font-weight: 600; }
.steps-3 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.steps-3 li { background: #FFFFFF; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps-3 .num { width: 44px; height: 44px; border-radius: 12px; font-size: 17px; }
.steps-3 h3 { font-size: 19px; font-weight: 700; }
.steps-3 p { font-size: 15px; line-height: 1.6; color: var(--muted); }
[hidden] { display: none !important; }
.featured-story { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; }
.featured-story .ph { flex: 0 1 340px; aspect-ratio: 4 / 3; border-radius: 20px; }
.featured-story__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 3px; color: var(--accent-mid); }

/* ---------- Formulir ---------- */
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px rgba(30, 36, 100, .08); padding: clamp(22px, 3vw, 36px); }
.form { display: flex; flex-direction: column; gap: 18px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f > label, .f > .label, .legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.f .opt { font-weight: 400; color: var(--muted-2); }
.field { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
textarea.field { padding: 12px 14px; line-height: 1.55; resize: vertical; min-height: 110px; }
select.field { padding-right: 36px; }
.field:disabled { background: var(--soft); color: var(--muted-2); }
.field[aria-invalid="true"] { border-color: #DC2626; }
.hint { font-size: 13px; color: var(--muted-2); }
.field-error { margin: 0; font-size: 13.5px; font-weight: 600; color: #B91C1C; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.radios { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; min-height: 50px; }
.radios label { display: flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.radios input { width: 20px; height: 20px; margin: 0; }
.alert { padding: 16px 20px; border-radius: 16px; background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; font-size: 14.5px; line-height: 1.55; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.notice-ok { padding: 32px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.notice-ok__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--accent-mid); display: flex; align-items: center; justify-content: center; }

/* PPDB */
.ppdb-layout { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; margin-top: -130px; padding-bottom: 96px; }
.ppdb-main { flex: 1 1 640px; min-width: 0; max-width: 820px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-card); padding: clamp(22px, 3.4vw, 44px); }
.ppdb-aside { flex: 0 1 340px; display: flex; flex-direction: column; gap: 20px; margin-top: 150px; }
.aside-box { border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-box--soft { background: var(--soft); }
.aside-box h2 { font-size: 19px; font-weight: 700; }
.aside-box p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.stepper { margin: 0 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stepper li { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); }
.stepper li span { display: flex; align-items: center; gap: 8px; }
.stepper li b { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--line); color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.stepper li.is-done, .stepper li[aria-current="step"] { color: var(--ink); }
.stepper li.is-done::before, .stepper li[aria-current="step"]::before { background: var(--accent); }
.stepper li.is-done b, .stepper li[aria-current="step"] b { background: var(--accent); color: #FFFFFF; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.step__head h2 { font-size: 22px; font-weight: 700; }
.step__head p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.js .step:not(.is-active) { display: none; }
.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: #FFFFFF; cursor: pointer; }
.choice:has(input:checked) { border: 2px solid var(--accent); background: var(--tint); padding: 15px 17px; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.choice strong { display: block; font-size: 16px; }
.choice small { display: block; font-size: 13px; color: var(--muted); }
.pills-check { display: flex; flex-wrap: wrap; gap: 10px; }
.pills-check label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; cursor: pointer; }
.pills-check label:has(input:checked) { border-color: var(--accent); background: var(--tint); color: var(--accent-dark); font-weight: 600; }
.pills-check input { width: 18px; height: 18px; margin: 0; }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed #A9B0DA; border-radius: 16px; }
.upload.is-ok { border-style: solid; border-color: #A7D7B8; background: #F0FAF3; }
.upload.is-bad { border-style: solid; border-color: #FCA5A5; background: #FEF2F2; }
.upload__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--accent-mid); display: flex; align-items: center; justify-content: center; }
.upload.is-ok .upload__icon { background: #DCF2E3; color: #15803D; }
.upload__text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upload__text strong { font-size: 15.5px; }
.upload__meta { font-size: 13px; color: var(--muted-2); overflow-wrap: anywhere; }
.upload.is-bad .upload__meta { color: #B91C1C; }
.upload__btn { position: relative; overflow: hidden; }
.req { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.sr-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.review { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.review dl { margin: 0; display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 16px; font-size: 14.5px; }
.review dt { color: var(--muted-2); }
.review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.form-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav .hint { margin-right: auto; }
.done-num { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 28px; border-radius: 18px; background: var(--tint); }
.done-num span { font-size: 13px; color: var(--muted-2); }
.done-num strong { font-size: 26px; letter-spacing: .02em; color: var(--accent-dark); }

/* ---------- Artikel ---------- */
.article { max-width: 780px; margin: 0 auto; }
.prose { font-size: 17px; line-height: 1.8; color: #2B2F4A; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 12px; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 700; color: var(--ink); }
.prose h3 { margin-top: 8px; font-size: 20px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote { padding: 16px 22px; border-radius: 14px; background: var(--tint); color: var(--accent-dark); font-weight: 500; }
.prose img { border-radius: 18px; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #FFFFFF; }
.site-footer a { color: #E4E7FA; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px 40px; padding-top: 72px; }
.footer-brand { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; gap: 12px; }
.footer-brand__logo { width: 52px; height: 52px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.footer-brand__logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { display: block; font-size: 19px; font-weight: 800; }
.footer-brand small { font-size: 13.5px; color: #E4E7FA; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col h2 { font-size: 15px; font-weight: 700; }
.footer-contact { display: flex; gap: 10px; line-height: 1.6; color: #E4E7FA; overflow-wrap: anywhere; }
.footer-contact svg { flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: #E4E7FA; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: rgba(255, 255, 255, .24); }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #16A34A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #FFFFFF; background: #15803D; }

/* ---------- Halaman sederhana (404, privasi, bukti) ---------- */
.narrow { max-width: 820px; }
.plain-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 40px); }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; font-size: 15px; font-weight: 600; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--tint); color: var(--accent-dark); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.pager [aria-current="page"] { background: var(--accent); color: #FFFFFF; }
.empty { border: 1.5px dashed var(--line-2); border-radius: 22px; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.empty h3 { font-size: 20px; font-weight: 700; }

/* ---------- Mobile (desain 390px) ---------- */
@media (max-width: 960px) {
  .site-nav, .site-header .btn--cta { display: none; }
  .menu-btn { display: flex; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 18px; }
  .site-header__bar { padding: 10px 16px 10px 20px; }
  .site-menu { position: absolute; left: 0; right: 0; top: 100%; padding: 10px 14px 20px; background: #FFFFFF; border-bottom: 1px solid #E7E9F5; box-shadow: 0 24px 40px rgba(30, 36, 100, .16); flex-direction: column; gap: 2px; font-size: 17px; animation: sheet .28s cubic-bezier(.22, 1, .36, 1) both; }
  .site-menu.is-open { display: flex; }
  .site-menu a.menu-link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 14px; border-radius: 14px; color: var(--ink); text-decoration: none; }
  .site-menu a.menu-link[aria-current="page"] { background: var(--tint); color: var(--accent-dark); font-weight: 700; }
  .site-menu a.menu-link[aria-current="page"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .site-menu .btn { width: 100%; min-height: 52px; font-size: 16px; }
  .site-menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
  .ppdb-aside { margin-top: 0; }
}

@media (max-width: 720px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--top { padding-top: 56px; }
  .hero__inner { padding-top: 32px; padding-bottom: 120px; gap: 14px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero__sub { font-size: 16px; }
  .hero__circle--fill { right: -150px; top: auto; bottom: -160px; width: 420px; height: 420px; }
  .hero__circle--line { display: none; }
  .hero__wave { height: 44px; }
  .home-hero__inner { padding-top: 32px; padding-bottom: 84px; gap: 20px; }
  .home-hero__text { gap: 20px; }
  .home-hero h1 { font-size: 34px; line-height: 1.15; }
  .words { height: 1.2em; }
  .home-hero .hero__sub { font-size: 16px; }
  .home-hero .btn-row, .home-hero .btn-row .btn { width: 100%; }
  .home-hero .btn-row { flex-direction: column; gap: 10px; }
  .home-hero__art { min-width: 0; width: 100%; }
  .home-hero__art img { max-width: 330px; }
  .overlap { margin-top: -80px; }
  .h2, .h2--xl { font-size: 26px; line-height: 1.25; }
  .lead { font-size: 16px; }
  .split { gap: 28px; }
  .split > * { flex-basis: 100%; }
  .grid, .grid--4, .grid--2 { grid-template-columns: 1fr; gap: 18px; }
  .carousel { margin: -10px calc(var(--pad-x) * -1); padding: 10px var(--pad-x); }
  .carousel__item { flex-basis: 78%; height: 360px; }
  .carousel-nav { display: none; }
  .teacher { padding: 18px; gap: 16px; }
  .teacher__photo { flex-basis: 96px; height: 112px; }
  .cta-box { padding: 40px 22px; border-radius: 26px; }
  .cta-box .btn-row, .cta-box .btn-row .btn { width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 12px; font-size: 14px; }
  .visi, .misi { padding: 32px 22px; border-radius: 24px; }
  .identity { grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
  .identity dd { font-size: 17px; }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .ppdb-layout { margin-top: -90px; padding-bottom: 56px; }
  .ppdb-main { border-radius: 22px; }
  .stepper { margin-bottom: 24px; }
  .stepper li { font-size: 12px; }
  .stepper li span { flex-direction: column; align-items: flex-start; gap: 4px; }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { width: 100%; }
  .form-nav .hint { margin: 0; text-align: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); padding-top: 48px; gap: 28px 20px; }
  .footer-col--wide { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media print {
  .site-header, .site-footer, .wa-float, .no-print { display: none !important; }
  body { background: #FFFFFF; }
}

[data-filter-item] > .alumni-card { flex: 1; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: #FFFFFF; color: var(--accent-dark); font-weight: 700; box-shadow: var(--shadow-card); }
.article > .portrait { aspect-ratio: 16 / 9; }
.ppdb-main .fields { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
