/* assets/style.css */
:root {
  --forest: #143b2c;
  --forest-soft: #1f5942;
  --sand: #ece4d4;
  --linen: #fbf8f2;
  --white: #fffdf9;
  --ink: #203129;
  --muted: #657067;
  --accent: #c6873f;
  --accent-strong: #a96023;
  --border: rgba(20, 59, 44, 0.12);
  --shadow-md: 0 18px 42px rgba(15, 43, 33, 0.08);
  --shadow-lg: 0 26px 60px rgba(15, 43, 33, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 135, 63, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(31, 89, 66, 0.08), transparent 24%),
    linear-gradient(180deg, var(--linen) 0%, #f7f3ea 30%, #fcfbf7 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-copy strong,
.metric strong,
.program-number,
.avatar,
.action-card span,
.footer strong {
  font-family: 'Fraunces', Georgia, serif;
}

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--forest);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--forest);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--forest);
}

main {
  position: relative;
}

section[id] {
  scroll-margin-top: 110px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 59, 44, 0.08);
  background: rgba(251, 248, 242, 0.84);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.topbar.is-scrolled {
  border-color: rgba(20, 59, 44, 0.12);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 18px 34px rgba(15, 43, 33, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  padding: 8px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px rgba(15, 43, 33, 0.09);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--forest);
}

.brand-copy span {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  color: var(--forest);
}

.menu a {
  position: relative;
  padding: 10px 2px;
  color: rgba(20, 59, 44, 0.82);
  transition: color 0.25s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(198, 135, 63, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover,
.menu a.is-active {
  color: var(--forest);
}

.menu a:hover::after,
.menu a.is-active::after {
  transform: scaleX(1);
}

.menu-cta {
  margin-left: 8px;
  padding: 12px 18px !important;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--forest-soft), var(--forest));
  box-shadow: 0 14px 28px rgba(20, 59, 44, 0.22);
}

.menu-admin {
  padding: 11px 16px !important;
  border: 1px solid rgba(20, 59, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 43, 33, 0.08);
}

.menu-admin::after,
.menu-cta::after {
  display: none;
}

.menu-admin:hover,
.menu-admin.is-active {
  color: var(--forest) !important;
  border-color: rgba(20, 59, 44, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.menu-btn {
  display: none;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(20, 59, 44, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 43, 33, 0.08);
}

.section-shell {
  position: relative;
}

.hero {
  padding: 74px 0 36px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 24px auto auto -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 135, 63, 0.18), rgba(198, 135, 63, 0));
  pointer-events: none;
}

.hero-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: start;
}

.hero-badge,
.eyebrow,
.section-label,
.card-kicker,
.mini-label,
.info-chip span,
.contact-item span,
.news-pill,
.pengurus-card strong {
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(20, 59, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(15, 43, 33, 0.05);
  color: var(--forest);
  font-weight: 800;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-kicker,
.mini-label,
.contact-item span,
.info-chip span,
.news-pill,
.pengurus-card strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-subtitle,
.section-intro,
.lead,
.hero-mini p,
.program p,
.card p,
.news p,
.feature-copy p,
.contact p,
.vision-card p,
.action-card p,
.metric span,
.info-chip strong,
.contact-list a,
.footer p,
.form-hint {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 640px;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--forest-soft), var(--forest));
  box-shadow: 0 16px 30px rgba(20, 59, 44, 0.22);
}

.btn.secondary {
  color: var(--forest);
  border-color: rgba(20, 59, 44, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.btn.ghost {
  color: var(--forest);
  border-color: rgba(20, 59, 44, 0.14);
  background: transparent;
}

.btn.tertiary {
  color: var(--forest);
  background: var(--sand);
}

.btn.ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.metric,
.hero-mini,
.hero-card,
.action-card,
.vision-card,
.message-card,
.card,
.news,
.pengurus-card,
.form,
.service-note,
.info-chip,
.program {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card,
.vision-card,
.message-card,
.card,
.news,
.form,
.service-note,
.action-card,
.metric,
.hero-mini,
.pengurus-card {
  padding: 24px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.hero-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 135, 63, 0.26), rgba(198, 135, 63, 0));
}

.hero-card-main h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

.hero-checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--ink);
}

.hero-checklist li::before {
  content: '';
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--forest));
  box-shadow: 0 0 0 6px rgba(198, 135, 63, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  color: var(--forest);
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-mini strong,
.info-chip strong,
.contact-item strong {
  color: var(--forest);
}

.hero-mini p,
.program p,
.card p,
.news p,
.action-card p,
.service-note p,
.contact p,
.lead,
.feature-copy p,
.vision-card p,
.message-card p,
.form-hint,
.footer p {
  margin-bottom: 0;
}

.prose-block {
  max-width: 62ch;
  color: var(--muted);
}

.message-card {
  margin-top: 22px;
}

.quick-actions {
  padding: 20px 0 10px;
}

.section {
  padding: 86px 0;
}

.light {
  background: linear-gradient(180deg, rgba(236, 228, 212, 0.76), rgba(255, 255, 255, 0));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head.compact {
  align-items: flex-start;
}

.section-intro {
  max-width: 420px;
}

.quick-grid,
.service-grid,
.pengurus-grid,
.news-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-card span,
.program-number,
.avatar,
.icon {
  display: grid;
  place-items: center;
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action-card span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(20, 59, 44, 0.08);
  color: var(--forest);
  font-size: 1.35rem;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-chip {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-height: 112px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
}

.info-chip:last-child {
  grid-column: 1 / -1;
}

.info-chip strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.4;
}

.program-head {
  margin-bottom: 34px;
}

.section-stack-head {
  margin-bottom: 34px;
}

.section-stack-head > div {
  max-width: 780px;
}

.program-head > div {
  max-width: 780px;
}

.section-stack-head .section-intro,
.program-head .section-intro {
  max-width: 58ch;
  margin-top: 12px;
  margin-bottom: 0;
}

.section-head-action {
  margin-top: 14px;
  color: var(--accent-strong);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20, 59, 44, 0.05);
  color: var(--forest);
  font-weight: 700;
}

.contact-list a::after,
.card-link::after,
.text-link::after {
  content: '->';
}

.program-list {
  display: grid;
  gap: 18px;
}

.program {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.program-number {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(160deg, var(--forest-soft), var(--forest));
  box-shadow: 0 16px 24px rgba(20, 59, 44, 0.18);
  font-size: 1.55rem;
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 59, 44, 0.08), rgba(198, 135, 63, 0.18));
  font-size: 1.6rem;
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.card-link {
  margin-top: 18px;
  color: var(--accent-strong);
}

.service-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.pengurus-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pengurus-meta {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.pengurus-task {
  color: var(--muted);
}

.avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest-soft), var(--accent));
  box-shadow: 0 14px 24px rgba(20, 59, 44, 0.16);
  font-size: 1.5rem;
}

.news {
  display: grid;
  gap: 14px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(198, 135, 63, 0.14);
  color: var(--accent-strong);
}

.news p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.contact {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #163d2f 0%, #0d241b 100%);
}

.contact::before,
.contact::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact::before {
  left: -110px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(198, 135, 63, 0.35), rgba(198, 135, 63, 0));
}

.contact::after {
  top: -110px;
  right: -70px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.contact-grid {
  position: relative;
  z-index: 1;
}

.contact .section-label,
.contact h2,
.contact .text-link,
.contact .btn.ghost-light {
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.64);
}

.contact-item strong {
  color: #fff;
}

.contact-actions {
  margin-top: 24px;
}

.form {
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
}

.form label {
  display: block;
  margin-bottom: 14px;
  color: var(--forest);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form label.full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 59, 44, 0.14);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(198, 135, 63, 0.75);
  box-shadow: 0 0 0 4px rgba(198, 135, 63, 0.12);
  transform: translateY(-1px);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.alert.success {
  border: 1px solid rgba(22, 109, 62, 0.16);
  color: #165d38;
  background: rgba(22, 109, 62, 0.12);
}

.alert.error {
  border: 1px solid rgba(173, 67, 51, 0.14);
  color: #8e3629;
  background: rgba(173, 67, 51, 0.1);
}

.footer {
  padding: 28px 0 40px;
  color: rgba(255, 255, 255, 0.78);
  background: #0d241b;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.25rem;
}

.footer-link {
  color: var(--sand);
  font-weight: 700;
}

.footer-link:hover {
  color: #fff;
}

.footer-meta {
  display: grid;
  gap: 6px;
  text-align: right;
}

.empty-state {
  padding: 18px 20px;
  border: 1px dashed rgba(20, 59, 44, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.action-card:hover,
.metric:hover,
.hero-mini:hover,
.hero-card:hover,
.vision-card:hover,
.card:hover,
.news:hover,
.program:hover,
.pengurus-card:hover,
.form:hover,
.service-note:hover,
.info-chip:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 135, 63, 0.28);
  box-shadow: var(--shadow-lg);
}

.card-link::after,
.text-link::after {
  transition: transform 0.2s ease;
}

.service-card:hover .card-link::after,
.text-link:hover::after,
.contact-list a:hover::after {
  transform: translateX(4px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .news-grid,
  .pengurus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    padding: 12px 8px;
  }

  .menu-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .menu-admin {
    margin-top: 8px;
    text-align: center;
  }

  .section-head,
  .service-note,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-intro {
    max-width: none;
  }

  .quick-grid,
  .hero-metrics,
  .hero-stack,
  .info-band,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav {
    min-height: 76px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  h1 {
    max-width: none;
  }

  .hero,
  .section {
    padding: 72px 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-grid,
  .service-grid,
  .news-grid,
  .pengurus-grid,
  .hero-metrics,
  .hero-stack,
  .info-band,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .program {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}