/* =========================================================
   PEKIDA Malaysia — tema warna mengikut logo & bendera
   Hijau (perisai), Kuning (khat & jabat tangan), Merah (obor & reben)
   ========================================================= */
:root {
  --green-900: #032e1a;
  --green-800: #064e2b;
  --green-700: #0b6b3a;
  --green-600: #128a4b;
  --green-100: #e6f3ea;
  --green-50:  #f3f9f4;
  --gold:      #f5c400;
  --gold-600:  #d9a900;
  --gold-100:  #fff6d1;
  --red:       #d7262e;
  --red-700:   #a8141b;
  --ink:       #10231a;
  --ink-soft:  #4a5d53;
  --line:      #dbe7df;
  --white:     #ffffff;
  --cream:     #fbfaf5;

  --radius-lg: 28px;
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 1px 2px rgba(3,46,26,.06), 0 12px 32px -12px rgba(3,46,26,.18);
  --shadow-lg: 0 30px 60px -20px rgba(3,46,26,.35);

  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Fraunces", Georgia, serif;

  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .92em; letter-spacing: .02em; }

.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(245,196,0,.8); }
.btn--gold:hover { background: #ffd21f; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }

.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1em; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.pill--light { background: rgba(255,255,255,.1); color: #e8f5ec; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,196,0,.25); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: var(--green-800); transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(6,78,43,.92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.4); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand__logo { width: 40px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.15rem; letter-spacing: .06em; }
.brand__text small { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu > a:not(.btn), .nav__parent {
  color: rgba(255,255,255,.85); text-decoration: none; font: inherit; font-weight: 600; font-size: .93rem;
  padding: .5em .85em; border-radius: 999px; transition: background .2s, color .2s;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav__menu > a:not(.btn):hover, .nav__parent:hover,
.nav__menu > a[aria-current="page"], .nav__group.is-current > .nav__parent { background: rgba(255,255,255,.12); color: var(--white); }
.nav__parent svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.nav__group.is-open .nav__parent svg { transform: rotate(180deg); }
.nav__group { position: relative; }
.nav__sub a {
  display: block; text-decoration: none; font-weight: 600; font-size: .92rem; padding: .6em .9em; border-radius: 10px;
  transition: background .2s, color .2s;
}
.nav__sub a[aria-current="page"] { color: var(--gold); }

@media (min-width: 1180px) {
  .nav__sub {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; padding: 8px;
    background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* jambatan hover */
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__group.is-open .nav__sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .nav__sub a { color: var(--ink); }
  .nav__sub a:hover { background: var(--green-50); color: var(--green-700); }
  .nav__sub a[aria-current="page"] { background: var(--green-100); color: var(--green-800); }
}

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--green-800); padding: 12px; border-radius: 20px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.is-open { background: var(--green-800); }
  .nav.is-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu { max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto; }
  .nav__menu > a:not(.btn), .nav__parent { padding: .85em 1em; font-size: 1rem; border-radius: 12px; width: 100%; justify-content: space-between; }
  .nav__sub { display: none; padding: 2px 0 6px 14px; margin-left: 14px; border-left: 2px solid rgba(255,255,255,.15); }
  .nav__group.is-open .nav__sub { display: block; }
  .nav__sub a { color: rgba(255,255,255,.8); }
  .nav__sub a:hover { background: rgba(255,255,255,.08); color: var(--white); }
}

/* Butang Semakan Ahli — sentiasa kelihatan di bar menu */
.nav__inner > .brand { margin-right: auto; }
.nav__menu { margin-right: 8px; }
.nav__check {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--green-900); text-decoration: none; font-weight: 800; font-size: .92rem;
  padding: .7em 1.2em; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(245,196,0,.9);
  transition: transform .2s, background .2s;
}
.nav__check:hover { background: #ffd21f; transform: translateY(-1px); }
.nav__check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.nav__check::after { /* denyut lembut untuk menarik perhatian */
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--gold);
  animation: ping 2.4s ease-out infinite; pointer-events: none;
}
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.45); } }
.nav__check-short { display: none; }
@media (max-width: 1179px) {
  .nav__inner { gap: 10px; }
  .nav__check { padding: .6em 1em; font-size: .88rem; }
}
@media (max-width: 480px) {
  .nav__check-long { display: none; }
  .nav__check-short { display: inline; }
  .brand__text small { letter-spacing: .2em; }
}
@media (max-width: 359px) {
  .nav__check-short { display: none; }
  .nav__check { padding: 0; width: 44px; height: 44px; justify-content: center; }
}

/* ---------- Hero ---------- */
/* ---------- Slider halaman utama ---------- */
.slider { position: relative; padding-top: var(--nav-h); background: var(--cream); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slider__slide a { display: block; }
.slider__slide img { display: block; width: 100%; height: auto; }
.slider__btn {
  position: absolute; top: calc(50% + var(--nav-h) / 2); transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--green-800); box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); transition: background .2s, transform .2s;
}
.slider__btn:hover { background: var(--gold); }
.slider__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn--prev { left: clamp(8px, 2vw, 24px); }
.slider__btn--next { right: clamp(8px, 2vw, 24px); }
.slider__dots { position: absolute; left: 0; right: 0; bottom: clamp(14px, 2.4vw, 26px); z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(3,46,26,.22); transition: width .3s, background .3s;
}
.slider__dots button[aria-current="true"] { width: 28px; background: var(--green-700); }
@media (max-width: 767px) { .slider__btn { display: none; } }
.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; }


.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(245,196,0,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(18,138,75,.6), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  padding: calc(var(--nav-h) + 48px) 0 96px;
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
          mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr .9fr; } }

/* Khat Jawi rasmi (assets/img/jawi.png) dipakai sebagai mask supaya warnanya ikut tema */
.jawi {
  display: block; width: min(420px, 100%); aspect-ratio: 635 / 83; margin: 1.4rem 0 .9rem;
  background: var(--gold);
  -webkit-mask: url("/assets/img/jawi.png") no-repeat center / contain;
          mask: url("/assets/img/jawi.png") no-repeat center / contain;
}
.hero h1 {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: .5em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.btn--check { font-size: 1.05rem; padding: 1em 1.8em; }
.hero__hint { margin: 14px 0 0; font-size: .9rem; color: rgba(255,255,255,.7); }
.hero__hint a { color: var(--gold); font-weight: 600; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.crest {
  width: min(320px, 72vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.16), rgba(255,255,255,.02) 70%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 0 60px rgba(255,255,255,.06), 0 0 0 18px rgba(255,255,255,.03), 0 0 0 36px rgba(255,255,255,.02);
}
.crest img { width: 62%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.float-card {
  position: absolute; display: flex; flex-direction: column; line-height: 1.1;
  background: rgba(255,255,255,.95); color: var(--green-900); border-radius: 16px; padding: 12px 18px;
  box-shadow: var(--shadow-lg);
}
.float-card strong { font-family: var(--f-serif); font-size: 1.8rem; }
.float-card span { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.float-card--a { top: 8%; left: 0; border-left: 4px solid var(--gold); }
.float-card--b { bottom: 6%; right: 0; border-left: 4px solid var(--red); }

.tricolor { display: flex; height: 6px; position: absolute; inset: auto 0 0; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--green-600); }
.tricolor span:nth-child(2) { background: var(--gold); }
.tricolor span:nth-child(3) { background: var(--red); }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -44px; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  padding: 0;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats .container { padding-inline: 20px; }
.stat { background: var(--white); padding: 24px 20px; text-align: center; }
.stat strong { display: block; font-family: var(--f-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--green-700); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.section--tint { background: var(--green-50); }
.section--dark { background: linear-gradient(160deg, var(--green-100), var(--green-50)); color: var(--ink); overflow: hidden; }
.section--dark .btn--ghost { color: var(--green-800); border-color: var(--green-700); }
.section--dark .btn--ghost:hover { background: var(--green-100); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }
.section__head--sm { margin-bottom: 28px; }
.section__head--sm h3 { font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .about { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.about__text p { color: var(--ink-soft); font-size: 1.05rem; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pillars span {
  padding: .5em 1.1em; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--green-100); color: var(--green-800);
}
.pillars span:nth-child(2) { background: var(--gold-100); color: #6b5200; }
.pillars span:nth-child(3) { background: #fde4e5; color: var(--red-700); }

.info-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  border-top: 6px solid var(--green-700);
}
.info-card h3 { font-family: var(--f-serif); font-size: 1.5rem; margin-bottom: 16px; }
.info-card dl { margin: 0; }
.info-card dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-card dl > div:last-child { border-bottom: 0; }
.info-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.info-card dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.info-card a { color: var(--green-700); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 0 56px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green-600), var(--gold), var(--red)); }
.timeline li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding-bottom: 28px; }
.timeline__year {
  position: relative; z-index: 1; align-self: start; justify-self: center;
  background: var(--white); border: 2px solid var(--green-600); color: var(--green-800);
  font-weight: 800; font-size: .9rem; padding: .35em .7em; border-radius: 999px;
}
.timeline li.is-key .timeline__year { background: var(--red); border-color: var(--red); color: var(--white); }
.timeline__body { background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.timeline__body p { margin: 0; color: var(--ink-soft); }
.timeline li.is-key .timeline__body { border-left: 4px solid var(--red); }
@media (min-width: 900px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .timeline li { grid-template-columns: 1fr 100px 1fr; gap: 0; }
  .timeline__year { grid-column: 2; grid-row: 1; }
  .timeline li:nth-child(odd) .timeline__body { grid-column: 1; grid-row: 1; margin-right: 24px; }
  .timeline li:nth-child(even) .timeline__body { grid-column: 3; grid-row: 1; margin-left: 24px; }
}

.history-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .history-grid { grid-template-columns: 1fr 1fr; } }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.card p + p { margin-top: .9em; }
.card__justify { text-align: justify; hyphens: auto; }
.card h3 { font-family: var(--f-serif); font-size: 1.45rem; }
.card__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); background: #fde4e5; padding: .3em .8em; border-radius: 999px; margin-bottom: 14px; }
.figures { list-style: none; margin: 0; padding: 0; }
.figures li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.figures li:last-child { border-bottom: 0; }
.figures__pic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--green-100); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold); }
.figures__pic img { width: 100%; height: 100%; object-fit: cover; }
.figures strong { display: block; font-size: .98rem; }
.figures span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Bento (matlamat) ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__item--big { grid-row: span 2; }
}
.bento__item {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__item p { color: var(--ink-soft); margin: 0; }
.bento__item .num { display: inline-block; font-family: var(--f-serif); font-weight: 700; font-size: 1rem; color: var(--green-700); background: var(--green-100); padding: .2em .7em; border-radius: 999px; margin-bottom: 18px; }
.bento__item--big {
  background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border: 0;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
}
.bento__item--big::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(245,196,0,.18);
}
.bento__item--big h3 { font-family: var(--f-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bento__item--big p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.bento__item--big .num { background: var(--gold); color: var(--green-900); margin-bottom: auto; align-self: flex-start; }
.bento__item--big h3 { margin-top: 40px; }
.bento__item--red { background: linear-gradient(160deg, var(--red), var(--red-700)); color: var(--white); border: 0; }
.bento__item--red p { color: rgba(255,255,255,.85); }
.bento__item--red .num { background: rgba(255,255,255,.18); color: var(--white); }
.bento__img { margin: -28px -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.bento__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bento__item:hover .bento__img img { transform: scale(1.05); }
.bento__img + .num { position: absolute; top: 16px; left: 16px; z-index: 1; margin: 0; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35); background: var(--white); }
.bento__item--big .bento__img + .num, .bento__item--red .bento__img + .num { background: var(--gold); color: var(--green-900); }
.bento__item--big { justify-content: flex-start; }
.bento__item--big::after { display: none; }
.bento__item--big .bento__img { flex: 1; min-height: 220px; aspect-ratio: auto; }
.bento__item--big h3 { margin-top: 0; }
@media (min-width: 700px) and (max-width: 1023px) {
  .bento__item--red { grid-column: 1 / -1; display: grid; grid-template-columns: 45% 1fr; column-gap: 28px; align-content: center; }
  .bento__item--red .bento__img { grid-row: 1 / span 3; margin: -28px 0 -28px -28px; aspect-ratio: auto; }
}

/* ---------- Struktur ---------- */
.levels { display: grid; gap: 16px; position: relative; }
@media (min-width: 760px) { .levels--two { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow .25s, transform .25s;
}
.level:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.level p { color: var(--ink-soft); margin: 0; }
.level h3 { color: var(--green-800); }
.level__no { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--green-900); font-family: var(--f-serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.level h3 { font-size: 1.3rem; }

/* ---------- Kepimpinan ---------- */
/* Pengerusi negeri: grid lebih padat dengan bendera negeri */
@media (min-width: 1024px) { .leaders--chairs { grid-template-columns: repeat(5, 1fr); } }
.leader--chair .avatar { min-height: 170px; padding: 14px 14px 0; }
.leader--chair .avatar img { max-width: 150px; }
.leader__state { display: inline-flex; align-items: center; gap: 6px; }
.leader__flag { width: 20px; height: 10px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.chairs__more { margin: 24px 0 0; }
.council__pos { display: inline-flex; align-items: center; gap: 8px; }

/* Kad pengerusi dalam panel negeri (halaman Rangkaian) */
.chair {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 12px 18px 12px 12px;
  background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border-radius: var(--radius);
  animation: pop .35s ease both;
}
.chair .avatar { flex: none; width: 64px; aspect-ratio: 266 / 350; border-radius: 10px; background: var(--white); }
.chair .avatar img { object-fit: cover; object-position: top; }
.chair .avatar__initials { font-size: 1.1rem; }
.chair small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.chair strong { font-size: 1rem; line-height: 1.35; }

.leaders { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.leaders--duo { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .leaders--duo { grid-template-columns: repeat(2, 1fr) !important; } }
.leaders--duo .leader--featured { grid-column: auto; }
.leader--featured .leader__meta { color: rgba(255,255,255,.75); }
.leader__role--state { display: inline-flex; align-items: center; gap: 6px; }
.ayahanda__sub { margin: 48px 0 20px; }
#ayahandaStates .avatar { min-height: 0; height: 176px; padding: 16px 14px 0; }
#ayahandaStates .avatar img { width: auto; max-width: 130px; max-height: 100%; }
@media (max-width: 699px) { #ayahandaStates .avatar { height: 150px; } #ayahandaStates .avatar img { max-width: 108px; } }
.ayahanda__sub h3 { font-family: var(--f-serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0; }
.ayahanda__none { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--green-50); border: 1px dashed var(--line); color: var(--ink-soft); font-size: .92rem; }
.ayahanda__none strong { color: var(--ink); }
.ayahanda__none span { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 700px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .leaders { grid-template-columns: repeat(4, 1fr); } }
.leader {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leader--featured { grid-column: 1 / -1; flex-direction: row; align-items: center; background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border: 0; }
.avatar {
  position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--green-100), #d2eadb);
  display: grid; place-items: center; overflow: hidden;
}
.avatar__initials { font-family: var(--f-serif); font-weight: 700; font-size: 2rem; color: var(--green-700); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.leader__role { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); }
.leader__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.leader__meta { font-size: .8rem; color: var(--ink-soft); }
.leader__state { align-self: flex-start; margin-top: 6px; font-size: .72rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; background: var(--green-100); color: var(--green-800); }
.leader--featured .leader__body { padding: 22px; justify-content: center; }
.leader--featured .leader__name { font-family: var(--f-serif); font-size: clamp(1.15rem, 2.5vw, 1.6rem); }

/* Foto pimpinan dipapar penuh (tidak dipotong) dan dihadkan saiznya supaya tidak dibesarkan melebihi resolusi asal */
.leader .avatar {
  aspect-ratio: auto; min-height: 200px; display: flex; justify-content: center; align-items: flex-end;
  padding: 18px 18px 0; background: var(--white); border-bottom: 1px solid var(--line);
}
.leader .avatar img { position: relative; inset: auto; z-index: 1; width: 100%; max-width: 170px; height: auto; object-fit: contain; }
.leader .avatar__initials { position: absolute; inset: 0; display: grid; place-items: center; }
.leader--featured .avatar { flex: none; width: clamp(120px, 36%, 240px); min-height: 0; padding: clamp(14px, 3vw, 28px); background: none; border: 0; align-items: center; }
.leader--featured .avatar img { max-width: 200px; border-radius: 16px; box-shadow: 0 0 0 4px rgba(245,196,0,.9), var(--shadow-lg); }
.leader--featured .avatar__initials { color: var(--gold); font-size: 3rem; }
.leader--featured .leader__body { padding-left: 0; }
.leader--featured .leader__role { color: var(--gold); }
.leader--featured .leader__state { background: rgba(255,255,255,.14); color: var(--white); }

.council { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.council summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 22px; font-weight: 700; font-size: 1.05rem;
}
.council summary::-webkit-details-marker { display: none; }
.council summary small { color: var(--ink-soft); font-weight: 500; }
.council__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-size: 1.3rem; transition: transform .25s; }
.council[open] .council__icon { transform: rotate(45deg); background: var(--gold); }
.council__wrap { padding: 0 12px 16px; overflow-x: auto; }
.council__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.council__table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); padding: 10px; border-bottom: 2px solid var(--line); }
.council__table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.council__table tr:hover td { background: var(--green-50); }
.council__table td:first-child { color: var(--ink-soft); font-weight: 700; width: 48px; }
.council__table td small { display: block; color: var(--red-700); font-weight: 600; }
@media (max-width: 600px) {
  .council__table thead { display: none; }
  .council__table, .council__table tbody, .council__table tr, .council__table td { display: block; width: 100%; }
  .council__table tr { display: grid; grid-template-columns: 40px 1fr; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .council__table td { border: 0; padding: 0; width: auto !important; }
  .council__table td:nth-child(2) { grid-column: 2; font-size: .8rem; color: var(--ink-soft); }
  .council__table td:nth-child(3) { grid-column: 2; font-weight: 700; }
  .council__table td:first-child { grid-row: span 2; }
}

/* Senarai Presiden: garis masa penggantian. Foto dihadkan ~150px supaya tidak dibesarkan melebihi resolusi asal (280px). */
.succession { position: relative; max-width: 1000px; margin: 0 auto; }
.succession::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 21px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--green-600), var(--gold) 55%, var(--red));
}
.succession__marker {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 0 0 32px; padding-left: 60px; font-weight: 600; color: var(--ink-soft); font-size: .92rem;
}
.succession__marker::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 21px; height: 21px; margin-top: -10.5px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--green-600);
}
.succession__marker span { font-weight: 800; color: var(--green-800); background: var(--green-100); padding: .25em .8em; border-radius: 999px; }
.succession__marker--end { margin: 8px 0 0; }
.succession__marker--end::before { border-color: var(--red); }
.succession__marker--end span { background: #fde4e5; color: var(--red-700); }
.succession__list { list-style: none; margin: 0; padding: 0; }

.succ { position: relative; padding-left: 60px; margin-bottom: 24px; }
.succ__dot {
  position: absolute; left: 0; top: 50%; margin-top: -22px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-700); color: var(--white); font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--gold);
}
.succ__card {
  display: flex; align-items: center; gap: clamp(14px, 3vw, 24px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(12px, 2.5vw, 18px); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.succ__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.succ__photo { flex: none; width: clamp(92px, 22vw, 150px); }
.succ .avatar { aspect-ratio: auto; min-height: 120px; border-radius: 14px; background: var(--green-100); display: block; }
.succ .avatar img { position: relative; inset: auto; z-index: 1; width: 100%; height: auto; display: block; }
.succ .avatar__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; }
.succ__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.succ__no {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #6b5200; background: var(--gold-100); padding: .3em .8em; border-radius: 999px;
}
.succ__name { margin: 0; font-family: var(--f-serif); font-size: clamp(1rem, 2.4vw, 1.3rem); line-height: 1.3; letter-spacing: -.01em; }
.succ .badge-now { align-self: flex-start; margin-top: 2px; }
.succ--current .succ__card { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border: 0; }
.succ--current .succ__no { background: var(--gold); color: var(--green-900); }
.succ--current .avatar { box-shadow: 0 0 0 3px var(--gold); }
.succ--current .succ__dot { background: var(--gold); color: var(--green-900); box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--green-700); }

@media (min-width: 860px) {
  .succession::before { left: 50%; margin-left: -1.5px; }
  .succession__marker { justify-content: center; padding: 0; text-align: center; }
  .succession__marker::before { display: none; }
  .succession__marker span { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--cream); }
  .succession__marker { flex-direction: column; }
  .succ { width: 50%; padding-left: 0; margin-bottom: 0; }
  .succ + .succ { margin-top: -48px; }
  .succ:nth-child(odd) { padding-right: 52px; }
  .succ:nth-child(even) { margin-left: 50%; padding-left: 52px; }
  .succ:nth-child(odd) .succ__dot { left: auto; right: -22px; }
  .succ:nth-child(even) .succ__dot { left: -22px; }
  .succ:nth-child(odd) .succ__card { flex-direction: row-reverse; text-align: right; }
  .succ:nth-child(odd) .succ__body { align-items: flex-end; }
  .succ:nth-child(odd) .succ__no, .succ:nth-child(odd) .badge-now { align-self: flex-end; }
  .succession__list { margin-bottom: 40px; }
}

.badge-now { display: inline-block; margin-top: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--green-900); padding: .2em .7em; border-radius: 999px; }

/* ---------- Rangkaian ---------- */
.network { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; }
@media (min-width: 900px) { .network { grid-template-columns: 300px 1fr; min-height: 460px; } }
.network__tabs { display: grid; gap: 8px; padding: 16px; background: var(--green-800); grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); }
@media (min-width: 900px) { .network__tabs { display: flex; flex-direction: column; padding: 20px; gap: 4px; } }
.tab {
  flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0;
  border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .92rem;
  padding: .65em 1em; border-radius: 12px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  transition: background .2s, color .2s; text-align: left;
}
.tab:hover { background: rgba(255,255,255,.14); }
.tab[aria-selected="true"] { background: var(--gold); color: var(--green-900); }
.tab__name { display: inline-flex; align-items: center; gap: 10px; }
.tab__code { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .04em; opacity: .7; font-variant-numeric: tabular-nums; }
.panel__head .panel__code { font-family: var(--f-sans); font-size: .9rem; font-weight: 800; color: var(--white); background: var(--green-700); padding: .2em .55em; border-radius: 8px; }
.tab__flag { flex: none; width: 30px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.panel__head h3 { display: flex; align-items: center; gap: 14px; }
.panel__flag { flex: none; width: 64px; height: 32px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -6px rgba(0,0,0,.35); }
.tab small { font-size: .75rem; padding: .1em .55em; border-radius: 999px; background: rgba(0,0,0,.15); }
@media (max-width: 899px) {
  .tab { min-height: 48px; padding: .5em .7em; font-size: .86rem; line-height: 1.2; }
  .tab__name { gap: 8px; }
  .tab__flag { width: 26px; height: 13px; }
  .tab small { display: none; }
}
@media (max-width: 379px) {
  .tab__name { flex-direction: column; align-items: flex-start; gap: 5px; }
}
.network__panel { padding: clamp(20px, 4vw, 40px); }
.panel__back { display: none; }
@media (max-width: 899px) {
  .panel__back {
    display: block; width: 100%; margin-top: 16px; padding: .85em 1em; border: 1px solid var(--green-700); border-radius: 12px;
    background: var(--white); color: var(--green-800); font: inherit; font-weight: 700; cursor: pointer;
  }
}
.panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.panel__head h3 { font-family: var(--f-serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0; }
.panel__head span { color: var(--ink-soft); font-weight: 600; }
.districts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.districts li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--green-50); border: 1px solid var(--line); font-weight: 600; font-size: .93rem;
  animation: pop .35s ease both;
}
.districts__no { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--green-700); color: var(--white); font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.districts__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.districts__pic { flex: none; width: 52px; height: 62px; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.districts__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.districts__title { margin: 24px 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.districts__code { display: inline-block; margin-right: 8px; padding: .05em .45em; border-radius: 6px; background: var(--green-700); color: var(--white); font-size: .72rem; font-weight: 800; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.districts__chair { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.districts__chair em { font-style: normal; font-weight: 500; color: var(--red-700); }
.districts__text strong { font-weight: 600; font-size: .93rem; }
.districts__text a { color: var(--green-700); font-size: .82rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.districts__text a:hover { text-decoration: underline; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Peranan ---------- */
.roles { display: grid; gap: 16px; }
@media (min-width: 700px) { .roles { grid-template-columns: repeat(2, 1fr); } .role--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.role { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform .25s, box-shadow .25s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.role__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--green-100); display: grid; place-items: center; margin-bottom: 18px; }
.role__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role:nth-child(2) .role__icon { background: var(--gold-100); } .role:nth-child(2) .role__icon svg { stroke: #8a6a00; }
.role:nth-child(3) .role__icon { background: #fde4e5; } .role:nth-child(3) .role__icon svg { stroke: var(--red-700); }
.role--wide { display: grid; gap: 4px 24px; align-items: center; background: var(--gold-100); border-color: #f2e2a0; }
@media (min-width: 700px) { .role--wide { grid-template-columns: auto 1fr; } .role--wide .role__icon { grid-row: span 2; margin: 0; } .role--wide h3 { margin: 0; } }
.role--wide .role__icon { background: var(--white); }
.role { position: relative; overflow: hidden; }
.role__img { margin: -26px -26px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.role__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.role:hover .role__img img { transform: scale(1.05); }
.role__img + .role__icon { position: relative; margin: -28px 0 14px; border: 4px solid var(--white); box-shadow: 0 8px 18px -10px rgba(3,46,26,.45); }
@media (min-width: 700px) {
  .role--wide { grid-template-columns: 38% 1fr; align-content: center; gap: 0 28px; padding: 0 28px 0 0; }
  .role--wide .role__img { position: relative; grid-column: 1; grid-row: 1 / span 3; align-self: stretch; margin: 0; aspect-ratio: auto; min-height: 260px; }
  .role--wide .role__img img { position: absolute; inset: 0; }
  .role--wide .role__img + .role__icon { grid-column: 2; grid-row: 1; margin: 26px 0 12px; align-self: end; }
  .role--wide h3 { grid-column: 2; grid-row: 2; margin: 0 0 8px; }
  .role--wide p { grid-column: 2; grid-row: 3; padding-bottom: 26px; align-self: start; }
}

/* ---------- Kerjasama ---------- */
.collab { display: grid; gap: 40px; }
@media (min-width: 960px) { .collab { grid-template-columns: .9fr 1.1fr; gap: 64px; } .collab__intro { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.collab__intro p { color: var(--ink-soft); font-size: 1.05rem; }
.collab__list { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; gap: 12px; }
@media (min-width: 600px) { .collab__list { grid-template-columns: 1fr 1fr; } }
.collab__list li { counter-increment: c; background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; }
.collab__list li::before {
  content: counter(c, decimal-leading-zero); display: block; font-family: var(--f-serif); font-weight: 700; font-size: 1.6rem;
  color: var(--gold-600); margin-bottom: 8px;
}
.collab__list h3 { font-size: 1.02rem; }
.collab__list p { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.collab__list--img li { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.collab__list--img li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.collab__list--img li::before { position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0; padding: .1em .55em; border-radius: 10px; background: var(--gold); color: var(--green-900); font-size: 1.1rem; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35); }
.collab__img { margin: -22px -22px 16px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.collab__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collab__list--img li:hover .collab__img img { transform: scale(1.05); }

/* ---------- Integriti ---------- */
.integrity {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-800), var(--green-900)); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 72px);
}
.integrity::before { content: ""; position: absolute; left: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(rgba(215,38,46,.35), transparent 70%); }
.integrity blockquote { position: relative; margin: 0 0 40px; font-family: var(--f-serif); font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.3; max-width: 30ch; }
.integrity__points { position: relative; display: grid; gap: 20px; }
@media (min-width: 768px) { .integrity__points { grid-template-columns: repeat(3, 1fr); } }
.integrity__points div { border-top: 2px solid var(--gold); padding-top: 14px; }
.integrity__points strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.integrity__points span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Hubungi ---------- */
.contact { display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.contact address { font-style: normal; font-size: 1.15rem; font-weight: 600; margin-bottom: 28px; }
.contact__actions { display: grid; gap: 10px; }
.contact__item {
  display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-weight: 700;
  transition: border-color .2s, transform .2s; overflow-wrap: anywhere;
}
.contact__item:hover { border-color: var(--green-600); transform: translateX(4px); }
.contact__item small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.contact__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-700); color: var(--white); font-size: 1.2rem; }
.contact__ic--wa { background: #25a35a; }
.contact__ic--mail { background: var(--red); }
.contact__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; background: var(--green-100); }
.contact__directions { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: .75em 1.3em; border-radius: 999px; background: var(--green-700); color: var(--white); font-weight: 700; text-decoration: none; }
.contact__directions:hover { background: var(--green-800); }
.contact__map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact__map-actions .contact__directions { margin-top: 0; }
.contact__directions--ghost { background: var(--white); color: var(--green-800); box-shadow: inset 0 0 0 2px var(--green-700); }
.contact__directions--ghost:hover { background: var(--green-50); }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--green-900); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer .tricolor { inset: 0 0 auto; }
.footer__grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand img { width: 56px; height: auto; }
.footer__brand strong { color: var(--white); font-size: 1.1rem; }
.footer__brand p { margin: 0; font-size: .88rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: .85rem; }
.footer__bottom a { text-decoration: none; color: var(--gold); }

.footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (min-width: 860px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: minmax(220px, .8fr) 3fr; align-items: start; } }
.footer__links { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.footer__links strong { color: var(--white); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.footer__links span { font-size: .9rem; }
.footer__links a, .footer__links span { overflow-wrap: anywhere; min-width: 0; }
.footer__grid > * { min-width: 0; }

/* ---------- Halaman dalaman ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--green-900);
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(245,196,0,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(18,138,75,.10), transparent 60%),
    linear-gradient(160deg, var(--green-50), var(--cream));
  padding: calc(var(--nav-h) + 40px) 0 clamp(56px, 8vw, 88px);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--f-serif); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { margin: 0; color: var(--ink-soft); }
.page-hero .eyebrow--gold, .section--dark .eyebrow--gold { color: var(--red-700); }
.page-hero .hero__pattern, .section--dark .hero__pattern { filter: invert(1); opacity: .05; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { color: var(--green-700); text-decoration: none; }
.crumbs a:hover { color: var(--red-700); }
.crumbs [aria-current] { color: var(--green-900); font-weight: 600; }
.page-aktiviti-detail .crumbs [aria-current] { max-width: min(40ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.section--flush { padding-top: 0; }
.prose { max-width: 760px; font-size: 1.1rem; color: var(--ink-soft); }
.prose p:first-child { font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.disclaimer { max-width: 820px; }
.disclaimer__main { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--red); box-shadow: var(--shadow); }
.disclaimer__main p { margin: 0; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.disclaimer__main strong { color: var(--red-700); }
.disclaimer__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fde4e5; }
.disclaimer__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--red-700); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.note a { color: inherit; font-weight: 700; }
.note { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--gold-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5b4800; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 700; color: var(--green-700); text-decoration: none; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span, a:hover .link-arrow span { transform: translateX(4px); }

/* Kad presiden (halaman utama) */
.president-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; text-decoration: none;
  background: var(--white); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow);
  border-left: 6px solid var(--gold); transition: transform .25s;
}
.president-card:hover { transform: translateY(-4px); }
.president-card .avatar { border-radius: 18px; aspect-ratio: 3 / 4; }
.president-card__body { display: flex; flex-direction: column; gap: 4px; }
.president-card__body strong { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.3; }
.president-card__body > span:not(.leader__role):not(.link-arrow) { font-size: .88rem; color: var(--ink-soft); }
.president-card .link-arrow { margin-top: 8px; font-size: .9rem; }
@media (max-width: 480px) { .president-card { grid-template-columns: 88px 1fr; gap: 14px; } }

/* Grid terokai (halaman utama) */
.explore { display: grid; gap: 16px; }
@media (min-width: 640px) { .explore { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .explore { grid-template-columns: repeat(3, 1fr); } .explore__card--big { grid-row: span 2; } }
.explore__card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .25s, box-shadow .25s;
}
.explore__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.explore__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.explore__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.explore__card:hover .explore__img img { transform: scale(1.05); }
.explore__body { flex: 1; display: flex; flex-direction: column; padding: 18px 22px 66px; }
.explore__card h3 { font-family: var(--f-serif); font-size: 1.3rem; line-height: 1.2; margin: 0 0 .4em; color: var(--green-800); }
.explore__card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.explore__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-800); background: rgba(255,255,255,.94); padding: .35em .85em; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3);
}
.explore__go {
  position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: var(--white); font-weight: 700; transition: transform .25s;
}
.explore__card:hover .explore__go { transform: rotate(-45deg); }
.explore__card--big .explore__tag, .explore__card--gold .explore__tag { background: var(--gold); color: var(--green-900); }
.explore__card--big h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.explore__card--big .explore__img img { object-position: 50% 35%; }
.explore__card--gold .explore__go { background: var(--gold); color: var(--green-900); }
.explore__card--red .explore__tag { background: var(--red); color: var(--white); }
.explore__card--red .explore__go { background: var(--red); }
@media (max-width: 639px) { .explore__img { aspect-ratio: 2 / 1; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .explore__card--big { grid-column: 1 / -1; flex-direction: row; }
  .explore__card--big .explore__img { flex: none; width: 52%; aspect-ratio: auto; min-height: 280px; }
  .explore__card--big .explore__body { justify-content: center; }
  .explore__card--wide { grid-column: 1 / -1; flex-direction: row; }
  .explore__card--wide .explore__img { flex: none; width: 52%; aspect-ratio: auto; min-height: 240px; }
  .explore__card--wide .explore__body { justify-content: center; }
}
@media (min-width: 1024px) {
  .explore__card--big .explore__img { flex: 1; aspect-ratio: auto; min-height: 240px; }
  .explore__card--big .explore__body { flex: none; }
}

/* Logo & bendera */
.identity { display: grid; gap: 20px; }
@media (min-width: 860px) { .identity { grid-template-columns: 1fr 1.4fr; } }
.identity__card { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.identity__card figcaption { margin-top: 16px; text-align: center; font-style: italic; color: var(--ink-soft); font-size: .92rem; }
.identity__logo { flex: 1; display: grid; place-items: center; gap: 8px; padding: 12px; }
.identity__logo img { width: min(180px, 50vw); }
.identity__logo .jawi { background: var(--green-800); width: min(360px, 100%); margin: 8px auto 0; }
.flag { display: block; width: 100%; height: auto; margin: auto 0; border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }

/* Maksud logo */
.emblem { margin-top: 20px; background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.emblem h3 { font-family: var(--f-serif); font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 20px; }
.emblem__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .emblem__grid { grid-template-columns: 1fr 1.3fr; gap: 40px; } }
.emblem__symbols { display: grid; gap: 12px; align-content: start; }
.emblem__symbol { display: flex; gap: 16px; align-items: flex-start; background: var(--green-50); border-radius: var(--radius); padding: 18px; }
.emblem__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-700); }
.emblem__icon--red { background: var(--red); }
.emblem__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.emblem strong { display: block; font-size: 1.02rem; }
.emblem__symbol span, .emblem__colors span:not(.swatch) { color: var(--ink-soft); font-size: .93rem; }
.emblem__colors { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.emblem__colors li { display: flex; gap: 14px; align-items: center; padding: 10px 4px; border-bottom: 1px dashed var(--line); }
.emblem__colors li:last-child { border-bottom: 0; }
.swatch { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 4px 10px -4px rgba(0,0,0,.35); }
.swatch--light { box-shadow: inset 0 0 0 2px var(--line), 0 4px 10px -4px rgba(0,0,0,.25); }

/* Syarat keahlian */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; box-shadow: var(--shadow); }
.checklist span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-700); color: var(--white); font-weight: 800; }
.levels__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; position: relative; }

/* Foto ibu pejabat */
.hq { margin: 0; }
.hq__photo { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--green-100), #cfe7d8); box-shadow: var(--shadow); }
.hq__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hq__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hq__fallback img { width: 30%; opacity: .5; }
.hq figcaption { margin-top: 10px; font-size: .88rem; font-style: italic; color: var(--ink-soft); text-align: right; }
@media (max-width: 959px) { .hq__photo { aspect-ratio: 4 / 3; } }

/* Pautan sebelum / seterusnya */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 8px; padding-bottom: clamp(56px, 8vw, 96px); }
.pager__link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .2s, transform .2s; }
.pager__link:hover { border-color: var(--green-600); transform: translateY(-2px); }
.pager__link small { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.pager__link span { font-weight: 700; color: var(--green-800); }
.pager__link--next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .page-aktiviti-detail .pager { grid-template-columns: 1fr; } .page-aktiviti-detail .pager__link--next { grid-column: auto; } .page-aktiviti-detail .pager > span:empty { display: none; } }

/* CTA */
.cta { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta__inner {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
  background: radial-gradient(500px 300px at 100% 100%, rgba(245,196,0,.25), transparent 60%), linear-gradient(135deg, var(--gold-100), var(--green-50));
  border: 1px solid var(--line); color: var(--green-900);
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px);
}
.container.cta__inner { width: min(1200px - 64px, calc(100% - 40px)); }
.cta__inner::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(245,196,0,.18); }
.cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: .35em; }
.cta p { color: var(--ink-soft); margin: 0; max-width: 56ch; }
.cta .btn--ghost { color: var(--green-800); border-color: var(--green-700); }
.cta .btn--ghost:hover { background: rgba(11,107,58,.08); }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta__inner { grid-template-columns: 1fr auto; } }

/* Semakan ahli */
.check {
  display: grid; gap: 32px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow);
  border-top: 6px solid var(--gold);
}
@media (min-width: 960px) { .check { grid-template-columns: 1fr 1fr; gap: 56px; } }
.check__intro p { color: var(--ink-soft); font-size: 1.05rem; }
.check__intro p a { color: var(--green-700); font-weight: 700; overflow-wrap: anywhere; }
.check__result { background: var(--green-50); border: 1px dashed var(--green-600); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; }
.check__result strong { display: block; font-size: .92rem; margin-bottom: 8px; }
.check__result ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.check__result li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-weight: 700; font-size: .88rem; color: var(--green-800); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--green-50); border-radius: var(--radius); padding: 18px 20px; }
.steps__no { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: var(--white); font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; }
.steps strong { display: block; font-size: 1.02rem; }
.steps small { color: var(--ink-soft); font-size: .9rem; }

.check-strip {
  display: grid; gap: 16px; align-items: center; grid-template-columns: auto 1fr;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold);
  border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow);
}
.check-strip__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-700); }
.check-strip__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; }
.check-strip__text strong { display: block; font-size: 1.1rem; }
.check-strip__text span { color: var(--ink-soft); font-size: .95rem; }
.check-strip__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.check-strip__actions .link-arrow { margin-top: 0; }
@media (min-width: 860px) { .check-strip { grid-template-columns: auto 1fr auto; } .check-strip__actions { grid-column: auto; } }

/* Slogan */
.slogan {
  display: flex; align-items: center; gap: 14px; margin: 0 0 1.1rem;
  font-weight: 800; font-size: clamp(.82rem, 2.2vw, 1rem); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.slogan::before, .slogan::after { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; opacity: .7; }
.slogan::after { width: 8px; height: 8px; transform: rotate(45deg); opacity: 1; }

.motto {
  position: relative; overflow: hidden; margin: 0; text-align: center;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(245,196,0,.2), transparent 70%),
    linear-gradient(160deg, var(--green-700), var(--green-900));
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 7vw, 80px) clamp(20px, 5vw, 64px);
}
.motto::before, .motto::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 24px solid rgba(245,196,0,.14);
}
.motto::before { left: -70px; top: -70px; }
.motto::after { right: -70px; bottom: -70px; border-color: rgba(215,38,46,.25); }
.motto__text {
  position: relative; margin: 0 0 18px; font-family: var(--f-serif); font-weight: 700; line-height: 1.1;
  font-size: clamp(2.1rem, 7vw, 4.4rem); letter-spacing: -.02em;
}
.motto__text em { color: var(--gold); }
.motto figcaption { position: relative; max-width: 58ch; margin: 0 auto; color: rgba(255,255,255,.8); font-size: 1.05rem; }

.footer__brand .footer__slogan { margin-top: 6px; color: var(--gold); font-weight: 700; letter-spacing: .08em; font-size: .85rem; }

.check__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.check__actions .link-arrow { margin-top: 0; }

/* ---------- Program e-Sedekah ---------- */
.aims { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.aims li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink-soft); }
.aims li strong { color: var(--ink); }
.aims p { margin: 0; }
.aims span { flex: none; font-family: var(--f-serif); font-weight: 700; font-size: 1.3rem; color: var(--gold-600); line-height: 1.3; }

.wallet { position: relative; padding: 36px 8px; display: grid; place-items: center; }
.wallet__card {
  position: relative; overflow: hidden; width: min(400px, 100%); aspect-ratio: 1.586; border-radius: 22px; padding: clamp(18px, 4vw, 26px);
  display: flex; flex-direction: column; color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(245,196,0,.35), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(215,38,46,.35), transparent 45%),
    linear-gradient(135deg, var(--green-600), var(--green-900));
  box-shadow: var(--shadow-lg); transform: rotate(-4deg);
}
.wallet__card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(255,255,255,.07); }
.wallet__top { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; margin-bottom: auto; }
.wallet__top img { width: 34px; }
.wallet__card small { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.wallet__card > strong { font-family: var(--f-serif); font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.1; margin: 2px 0 12px; }
.wallet__card > strong span { letter-spacing: .15em; color: var(--gold); }
.wallet__foot { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; opacity: .85; font-weight: 600; }
.wallet__chip {
  position: absolute; background: var(--white); color: var(--green-800); font-weight: 700; font-size: .85rem;
  padding: .55em 1em; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.wallet__chip--a { top: 8px; left: 0; border-left: 4px solid var(--gold); }
.wallet__chip--b { bottom: 6px; right: 0; border-left: 4px solid var(--green-600); }

.concept { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .concept { grid-template-columns: repeat(3, 1fr); } }
.concept a {
  position: relative; display: block; height: 100%; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform .25s, box-shadow .25s;
}
.concept a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.concept p { color: var(--ink-soft); margin: 0; }
.concept h3 { font-family: var(--f-serif); font-size: 1.45rem; }
.concept__no { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-700); color: var(--white); font-family: var(--f-serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; }
.concept li:nth-child(2) .concept__no { background: var(--gold); color: var(--green-900); }
.concept li:nth-child(3) .concept__no { background: var(--red); }

.facts { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .facts:not(.facts--stack) { grid-template-columns: repeat(3, 1fr); } }
.facts li { position: relative; background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 48px; }
.facts li::before { content: "✓"; position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-700); color: var(--white); font-size: .75rem; font-weight: 800; }
.facts--stack { margin: 20px 0 0; }

.guide { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .guide { grid-template-columns: .9fr 1.1fr; gap: 56px; } .guide__intro { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.guide__intro {
  background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px);
}
.guide__intro h3 { font-family: var(--f-serif); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.guide__intro p { color: rgba(255,255,255,.82); }
.guide__intro .btn { white-space: normal; overflow-wrap: anywhere; text-align: left; margin: 8px 0 18px; max-width: 100%; }
.guide__tip { font-size: .9rem; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.guide__tip strong { color: var(--gold); }
.guide__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.guide__steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 70px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.guide__steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold-100); color: #6b5200; font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem;
}
.guide__steps li:last-child { background: var(--green-50); border-color: var(--green-600); }
.guide__steps li:last-child::before { content: "✓"; background: var(--green-700); color: var(--white); }
.guide__steps strong { display: block; }
.guide__steps span { color: var(--ink-soft); font-size: .93rem; }
.guide__steps a { color: var(--green-700); font-weight: 700; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: flow; }
@media (min-width: 960px) { .flow { grid-template-columns: repeat(5, 1fr); gap: 28px; } }
.flow li {
  counter-increment: flow; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 64px; box-shadow: var(--shadow);
}
.flow li::before {
  content: counter(flow); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--gold); color: var(--green-900); font-weight: 800;
}
.flow li:last-child { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border: 0; }
.flow li:last-child span { color: rgba(255,255,255,.8); }
.flow strong { display: block; font-size: 1.02rem; }
.flow span { color: var(--ink-soft); font-size: .88rem; }
.flow li:not(:last-child)::after {
  content: "↓"; position: absolute; left: 26px; bottom: -14px; z-index: 1; display: grid; place-items: center;
  width: 14px; height: 14px; color: var(--green-600); font-weight: 800; font-size: .9rem; line-height: 1;
}
@media (min-width: 960px) {
  .flow li { padding: 64px 18px 20px; }
  .flow li::before { left: 18px; }
  .flow li:not(:last-child)::after { content: "→"; left: auto; right: -22px; bottom: auto; top: 50%; margin-top: -7px; font-size: 1.1rem; }
}

.example { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
.example figcaption { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.example__row { display: grid; gap: 10px; align-items: center; }
@media (min-width: 520px) { .example__row { grid-template-columns: 1fr auto 1fr; } }
.example__row > div { background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.example__row small { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.example__row strong { font-family: var(--f-serif); font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--green-800); }
.example__op { text-align: center; font-weight: 800; color: var(--gold-600); }
.example__row .example__total { background: linear-gradient(160deg, var(--green-700), var(--green-900)); border: 0; }
.example__total small { color: rgba(255,255,255,.8); }
.example__row .example__total strong { color: var(--gold); }
.example p { margin: 18px 0 0; color: var(--ink-soft); font-size: .95rem; }

.aid { position: relative; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aid__item--wide { grid-column: 1 / -1; }
@media (max-width: 479px) {
  .aid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .aid__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px; }
  .aid__item .aid__icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .aid__item h3:last-child { grid-row: 1 / span 2; }
  .aid__item ul, .aid__item p { grid-column: 2; }
}
@media (min-width: 900px) {
  .aid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .aid__item, .aid__item--wide { grid-column: span 2; }
  .aid__item:nth-last-child(-n+2) { grid-column: span 3; }
}
.aid__item { background: var(--white); border: 1px solid var(--line); color: var(--green-800); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.aid__item h3 { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; hyphens: auto; }
.aid__item p { margin: 6px 0 0; color: var(--ink-soft); font-size: .9rem; }
.aid__item ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .9rem; }
.aid__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--gold); margin-bottom: 16px; }
.aid__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-900); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.aid__note { position: relative; margin: 28px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid rgba(217,169,0,.45); color: var(--ink); }
.aid__note strong { color: var(--red-700); }

/* Pautan ke panduan bergambar (halaman e-Sedekah) */
.guide__visual {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 0 0 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 12px 14px;
  text-decoration: none; color: var(--white); transition: background .2s;
}
.guide__visual:hover { background: rgba(255,255,255,.14); }
.guide__visual strong { display: block; color: var(--gold); }
.guide__visual small { font-size: .82rem; color: rgba(255,255,255,.75); }
.guide__thumbs { display: flex; }
.guide__thumbs img { width: 34px; height: 50px; object-fit: cover; object-position: top; border-radius: 6px; border: 2px solid var(--green-800); }
.guide__thumbs img + img { margin-left: -12px; }
.guide__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--green-900); font-weight: 800; transition: transform .2s; }
.guide__visual:hover .guide__go { transform: translateX(3px); }
@media (max-width: 440px) { .guide__visual { grid-template-columns: 1fr auto; } .guide__thumbs { display: none; } }
.guide__steps .guide__more { counter-increment: none; padding: 0; background: none; border: 0; }
.guide__steps .guide__more::before { display: none; }
.guide__more a { display: inline-flex; gap: 6px; padding: 8px 0; font-weight: 700; color: var(--green-700); text-decoration: none; }
.guide__more a:hover { text-decoration: underline; }

/* ---------- Panduan bergambar ---------- */
.stepnav {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 10; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin-bottom: 40px; padding: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.stepnav::-webkit-scrollbar { display: none; }
.stepnav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em .45em .45em; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--ink); transition: background .2s;
}
.stepnav a:hover { background: var(--green-50); }
.stepnav span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-700); color: var(--white); font-size: .8rem; }
@media (min-width: 1000px) { .stepnav { justify-content: space-between; } }

.howto-list { display: grid; gap: clamp(28px, 5vw, 48px); }
.howto {
  display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; scroll-margin-top: calc(var(--nav-h) + 80px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 4vw, 40px); box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .howto { grid-template-columns: 1fr 1.15fr; }
  .howto:nth-child(even) .howto__text { order: 2; }
}
.howto__no {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-900); background: var(--gold); padding: .35em .9em; border-radius: 999px; margin-bottom: 14px;
}
.howto h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.howto ol { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 10px; }
.howto ol li { counter-increment: h; position: relative; padding-left: 40px; color: var(--ink-soft); }
.howto ol li strong { color: var(--ink); }
.howto ol li::before {
  content: counter(h, lower-alpha); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 8px; background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: .85rem;
}
.howto ol a { color: var(--green-700); font-weight: 700; overflow-wrap: anywhere; }
.howto__tip { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--gold-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5b4800; font-size: .93rem; }
.howto__shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2.5vw, 22px); max-width: 560px; width: 100%; justify-self: center; }
.howto__shots figure { margin: 0; text-align: center; }
.howto__shots a {
  display: block; border-radius: 22px; padding: 6px; background: #14201a;
  box-shadow: 0 18px 36px -18px rgba(3,46,26,.55); transition: transform .25s;
}
.howto__shots a:hover { transform: translateY(-4px); }
.howto__shots img { width: 100%; height: auto; border-radius: 16px; }
.howto__shots figcaption { margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.howto--done { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: var(--white); border: 0; }
.howto--done ol li { color: rgba(255,255,255,.82); }
.howto--done ol li strong { color: var(--white); }
.howto--done ol li::before { background: var(--gold); color: var(--green-900); }
.howto--done .howto__shots figcaption { color: rgba(255,255,255,.8); }
.howto--done .howto__shots a { background: var(--gold); }

.howto-end {
  margin-top: 40px; display: grid; gap: 20px; align-items: center;
  background: var(--gold-100); border: 1px solid #f2e2a0; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px);
}
@media (min-width: 860px) { .howto-end { grid-template-columns: 1fr auto; } }
.howto-end h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .3em; }
.howto-end p { margin: 0; color: var(--ink-soft); }
.howto-end p a { color: var(--green-700); font-weight: 700; }
.howto-end__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.howto-end .btn--ghost { color: var(--green-800); border-color: var(--green-600); }
.howto-end .btn--ghost:hover { background: var(--green-50); }

/* ---------- Dewan Asatizah ---------- */
.motto__text--long { font-size: clamp(1.4rem, 3.6vw, 2.4rem); line-height: 1.3; max-width: 34ch; margin-inline: auto; }
.mission { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 16px; }
@media (min-width: 700px) { .mission { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mission { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mission li {
  counter-increment: m; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 72px 24px 24px; transition: transform .25s, box-shadow .25s;
}
.mission li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mission li::before {
  content: counter(m); position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--green-700); color: var(--white); font-family: var(--f-serif); font-weight: 700;
}
.mission li:nth-child(3n+2)::before { background: var(--gold); color: var(--green-900); }
.mission li:nth-child(3n)::before { background: var(--red); }
.mission h3 { font-size: 1.08rem; }
.mission p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 600px) { .collab__list .collab__list-wide { grid-column: 1 / -1; } }
.role .link-arrow { margin-top: 14px; font-size: .92rem; }

/* ---------- Aktiviti ---------- */
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section__head--row .link-arrow { margin: 0 0 .6em; }
.akt-filter {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 10; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  width: fit-content; max-width: 100%; margin-bottom: 36px; padding: 6px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.akt-filter::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .92rem;
  padding: .55em 1.1em; border-radius: 999px; background: transparent; color: var(--ink); transition: background .2s, color .2s;
}
.chip:hover { background: var(--green-50); }
.chip small { font-size: .75rem; padding: .1em .55em; border-radius: 999px; background: var(--green-100); color: var(--green-800); }
a.chip { text-decoration: none; }
.chip[aria-current="page"] { background: var(--green-700); color: var(--white); }
.chip[aria-current="page"] small { background: var(--gold); color: var(--green-900); }
.akt-month { margin-bottom: 44px; }
.akt-month__title {
  display: flex; align-items: center; gap: 14px; font-family: var(--f-sans); font-size: .82rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 18px;
}
.akt-month__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.akt-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.akt-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .25s, box-shadow .25s;
}
.akt-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.akt-card__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--green-100); }
.akt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.akt-card a:hover .akt-card__img img { transform: scale(1.04); }
.akt-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.akt-card time { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b5200; background: var(--gold-100); padding: .25em .75em; border-radius: 999px; }
.akt-card strong { font-size: 1.02rem; line-height: 1.35; }
.akt-card small { color: var(--ink-soft); font-size: .86rem; }

.page-aktiviti-detail .page-hero h1 { max-width: 28ch; font-size: clamp(1.7rem, 4.2vw, 2.8rem); }
.akt-detail { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 40px; }
@media (min-width: 960px) { .akt-detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.akt-detail__text { font-size: 1.08rem; color: var(--ink-soft); max-width: 70ch; }
.akt-detail__text p:first-child { color: var(--ink); font-size: 1.15rem; }
.akt-detail__list { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.akt-detail__list li { background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; color: var(--ink); }
.akt-detail__meta { background: var(--white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--gold); }
@media (min-width: 960px) { .akt-detail__meta { position: sticky; top: calc(var(--nav-h) + 24px); } }
.akt-detail__meta dl { margin: 0 0 18px; }
.akt-detail__meta dl > div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.akt-detail__meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.akt-detail__meta dd { margin: 2px 0 0; font-weight: 600; }

.gallery { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gallery--2, .gallery--3, .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery--1 { max-width: 820px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--green-100); box-shadow: var(--shadow); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery--2 img, .gallery--4 img { aspect-ratio: 4 / 3; }
.gallery a:hover img { transform: scale(1.03); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,20,12,.94); color: var(--white); }
.lightbox::backdrop { background: rgba(3,20,12,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); border-radius: 12px; object-fit: contain; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 1.4rem; transition: background .2s;
}
.lightbox__btn:hover { background: var(--gold); color: var(--green-900); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: .9rem; opacity: .8; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; margin: 0; } .lightbox__count { bottom: 24px; } }

/* Label bahagian dalam dropdown menu */
.nav__sublabel { display: block; padding: .7em .9em .25em; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.nav__sublabel:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--line); }
@media (max-width: 1179px) { .nav__sublabel { color: var(--gold); border-color: rgba(255,255,255,.12) !important; } }

/* ---------- Kenyataan media ---------- */
.ken-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .ken-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ken {
  display: grid; grid-template-columns: clamp(96px, 28%, 180px) minmax(0, 1fr); gap: clamp(14px, 3vw, 22px); align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(12px, 2.5vw, 18px);
  transition: box-shadow .25s, transform .25s;
}
.ken:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ken__img { display: block; border-radius: 12px; overflow: hidden; background: var(--green-100); box-shadow: 0 8px 20px -10px rgba(3,46,26,.45); }
.ken__img img { width: 100%; height: auto; display: block; }
.ken__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ken time { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b5200; background: var(--gold-100); padding: .25em .75em; border-radius: 999px; }
.ken__by { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-700); }
.ken__title { margin: 0; font-family: var(--f-sans); font-size: clamp(.98rem, 2vw, 1.08rem); font-weight: 700; line-height: 1.45; letter-spacing: 0; }
.ken__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.btn--fb { background: #1877f2; color: var(--white); gap: 6px; white-space: normal; }
.btn--fb:hover { background: #0f63d6; }
.btn--fb svg { width: 16px; height: 16px; fill: currentColor; }

/* E-mel PEKIDA Negeri */
.state-emails { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.state-emails a {
  display: flex; align-items: center; gap: 14px; height: 100%; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s, transform .2s;
}
.state-emails a:hover { border-color: var(--green-600); transform: translateY(-2px); }
.state-emails__flag { flex: none; width: 44px; height: 22px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.state-emails span { display: flex; flex-direction: column; min-width: 0; }
.state-emails strong { font-size: .98rem; }
.state-emails small { color: var(--green-700); font-weight: 600; font-size: .86rem; }
.state-email {
  display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 20px; font-weight: 700; color: var(--green-700);
  text-decoration: none;
}
.state-email__ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--green-100); }
.state-email__ic svg { width: 16px; height: 16px; fill: none; stroke: var(--green-700); stroke-width: 2; stroke-linejoin: round; }
.state-email__addr { min-width: 0; }
.state-email:hover { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero { padding-bottom: 80px; }
  .hero__visual { min-height: 280px; }
  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: 1.4rem; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Kata Pengantar ---------- */
.about__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foreword { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 900px) { .foreword { grid-template-columns: minmax(0, 1fr) 320px; } .foreword__aside { position: sticky; top: calc(var(--nav-h) + 28px); } }
@media (max-width: 899px) { .foreword__aside { margin-top: 8px; } }
/* bahagian atas gambar sebaris dengan baris salam: padding surat + tinggi baris basmalah */
@media (min-width: 900px) { .foreword__aside { margin-top: calc(clamp(24px, 5vw, 56px) + 77px); } }
.foreword__aside { text-align: center; }
.foreword__portrait { position: relative; margin: 0; display: flex; justify-content: center; align-items: flex-end; border-bottom: 4px solid var(--gold); }
.foreword__portrait img { position: relative; height: 540px; width: auto; }
.foreword__name { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.foreword__name strong { font-family: var(--f-serif); font-size: 1.15rem; color: var(--green-800); line-height: 1.3; }
.foreword__name span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.foreword__letter { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.foreword__letter p { color: var(--ink); line-height: 1.85; margin: 0 0 1.1em; text-align: justify; hyphens: auto; }
.foreword__basmalah { text-align: center !important; font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--green-800); margin: 4px 0 18px !important; line-height: 1.6 !important; }
.foreword__salam { font-weight: 700; color: var(--green-800) !important; }
.foreword__quote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--gold-100); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--green-900); }
.foreword__sign { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foreword__sign .slogan { margin: 0 0 14px; color: var(--red-700); }
.foreword__sign strong { font-family: var(--f-serif); font-size: 1.2rem; color: var(--green-800); }
.foreword__sign > span:last-child { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 599px) { .foreword__letter p { text-align: left; } .foreword__portrait img { height: 420px; } }
