:root{
  --red:#e11d48;
  --red2:#fb7185;
  --ink:#111827;
  --muted:#6b7280;
  --bg:#ffffff;
  --line:#e5e7eb;
  --soft:#f8fafc;
  --shadow: 0 14px 40px rgba(17,24,39,.10);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(225,29,72,.12), transparent 55%),
    radial-gradient(900px 480px at 0% 0%, rgba(251,113,133,.10), transparent 60%),
    var(--bg);
  line-height:1.5;
}

a{color:inherit}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.80);
  border-bottom: 1px solid rgba(229,231,235,.70);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex; gap:12px; align-items:center; text-decoration:none;
}
.brand img{
  width:46px; height:46px; object-fit:cover;
  border-radius: 14px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
}
.brand .title{display:flex; flex-direction:column; line-height:1.05}
.brand .title strong{font-size:15px}
.brand .title span{font-size:12px; color:var(--muted)}

.menu{display:flex; gap:16px; align-items:center}
.menu a{
  text-decoration:none;
  padding:10px 12px;
  border-radius: 12px;
  font-weight:700;
  font-size: 14px;
}
.menu a:hover{background: rgba(225,29,72,.08)}
.menu .cta{
  background: linear-gradient(135deg, var(--red), #be123c);
  color:#fff;
  box-shadow: 0 10px 22px rgba(225,29,72,.20);
}
.menu .cta:hover{filter:brightness(1.03)}

.burger{
  display:none;
  border:1px solid rgba(17,24,39,.15);
  background: rgba(255,255,255,.85);
  padding:10px 12px;
  border-radius: 14px;
  font-weight:900;
}

.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(225,29,72,.08);
  border: 1px solid rgba(225,29,72,.20);
  color:#9f1239;
  font-weight:900;
  font-size: 12px;
}

.hero{padding: 44px 0 18px}
.heroGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items:stretch;
}
.hTitle{
  margin:14px 0 10px;
  font-size: 38px;
  letter-spacing: -.9px;
  line-height:1.08;
}
.hTitle em{font-style:normal; color:var(--red)}
.hSub{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
}

.btnRow{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:900;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.80);
}
.btn.primary{
  border:none;
  color:#fff;
  background: linear-gradient(135deg, var(--red), #be123c);
  box-shadow: 0 12px 26px rgba(225,29,72,.22);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}

.card{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(229,231,235,.80);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.heroCard{padding: 18px; display:flex; flex-direction:column; gap:12px}
.heroCard .miniTitle{
  font-size: 12px;
  font-weight:900;
  letter-spacing:.6px;
  color: var(--muted);
  text-transform: uppercase;
}
.heroCard .box{
  border-radius: 16px;
  padding: 14px;
  border: 1px dashed rgba(225,29,72,.35);
  background: rgba(225,29,72,.06);
}
.heroCard .box strong{display:block; font-size:14px}
.heroCard .box span{display:block; color:var(--muted); font-size:13px; margin-top:4px}

.section{padding: 18px 0 10px}
.h2{font-size: 22px; margin: 18px 0 10px; letter-spacing:-.2px}
.p{color: var(--muted); margin: 0 0 12px}

.grid3{
  display:grid; gap:16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.feature{padding: 16px}
.feature .icon{
  width:44px;height:44px;border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(225,29,72,.10);
  border: 1px solid rgba(225,29,72,.22);
  font-size: 20px;
}
.feature h3{margin:10px 0 6px; font-size: 15px}
.feature p{margin:0; color:var(--muted); font-size: 13.5px}

.split{
  display:grid; gap:16px;
  grid-template-columns: 1fr 1fr;
}

.badge{
  display:inline-flex;
  width: fit-content;
  padding:6px 10px;
  border-radius: 999px;
  font-weight:900;
  font-size: 12px;
  background: rgba(17,24,39,.06);
  border: 1px solid rgba(17,24,39,.10);
}
.badge.red{
  background: rgba(225,29,72,.10);
  border: 1px solid rgba(225,29,72,.22);
  color:#9f1239;
}
.small{font-size: 13px; color: var(--muted); margin:0}

.footer{
  margin-top: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(229,231,235,.9);
  color: var(--muted);
  font-size: 13px;
}
.footerGrid{
  display:flex; justify-content:space-between; gap: 18px; flex-wrap:wrap;
}
.miniLinks{display:flex; gap:12px; flex-wrap:wrap}
.miniLinks a{text-decoration:none}
.miniLinks a:hover{text-decoration: underline}

.pageHeader{padding: 28px 0 6px}
.pageHeader h1{margin: 8px 0 8px; font-size: 30px; letter-spacing:-.6px}
.pageHeader p{margin:0; color: var(--muted)}

.toolbar{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  padding: 14px;
}
.input{
  flex: 1 1 220px;
  display:flex; gap:10px; align-items:center;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.90);
}
.input input{
  width:100%;
  border:none; outline:none;
  background: transparent;
  font-size: 14px;
}
.select{flex: 0 1 220px}
.select select{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.90);
  font-weight:800;
  outline:none;
}

.people{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  padding: 0 0 14px;
}
.person{overflow:hidden}
.person .photo{
  aspect-ratio: 1/1;
  width:100%;
  background: rgba(17,24,39,.04);
  display:block;
  object-fit: cover;
}
.person .body{padding: 12px 12px 14px}
.person .role{font-size: 12px; color: var(--muted); font-weight:900}
.person .name{margin:6px 0 6px; font-weight:950}
.person .meta{margin:0; color: var(--muted); font-size: 13px}

.modal{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  background: rgba(17,24,39,.55);
  padding: 18px;
  z-index: 999;
}
.modal.open{display:flex}
.modalCard{
  width: min(720px, 100%);
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(229,231,235,.8);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.modalTop{
  display:flex; gap: 14px;
  padding: 14px;
  border-bottom: 1px solid rgba(229,231,235,.9);
  align-items:center;
}
.modalTop img{
  width: 64px; height:64px; border-radius: 18px; object-fit:cover;
  border:1px solid rgba(17,24,39,.12);
}
.modalTop .x{
  margin-left:auto;
  border:1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.90);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 950;
  cursor:pointer;
}
.modalBody{padding: 14px}
.kv{
  display:grid; grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(17,24,39,.03);
}
.kv b{color: var(--ink)}
.kv span{color: var(--muted)}

@media (max-width: 980px){
  .heroGrid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .people{grid-template-columns: repeat(2, minmax(0,1fr))}
  .hTitle{font-size: 34px}
  .menu{display:none}
  .burger{display:inline-flex; gap:10px; align-items:center}
  .menu.open{
    display:flex;
    position:absolute;
    right: 20px;
    top: 70px;
    flex-direction:column;
    background: rgba(255,255,255,.96);
    border:1px solid rgba(229,231,235,.9);
    border-radius: 18px;
    padding: 10px;
    width: 220px;
    box-shadow: var(--shadow);
  }
}

/* ====== Pengurus: tampil seperti KTA (500 x 786) ====== */
/* rasio = 500/786 ≈ 0.636  => height = width * 786/500 */
.people .person img{
  width: 100%;
  aspect-ratio: 500 / 786;   /* kunci rasio KTA */
  height: auto;
  object-fit: cover;         /* cover = memenuhi kartu */
  object-position: center;
  border-radius: 14px;
  display: block;
  background: #f1f5f9;
}
