/* ==========================================================================
   gagasantu.id — Design System
   Struktur: tokens → reset → layout → komponen → section → breakpoints
   Mobile-first. Semua ukuran responsif memakai clamp().
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #060B1B;
  --navy-800: #0B1228;
  --navy-700: #101D4D;
  --navy-600: #1B2E72;

  --orange: #FF7A00;
  --yellow: #FFB800;
  --purple: #8B5CF6;
  --green:  #34D399;

  --white: #FFFFFF;
  --text-primary:   #F8FAFC;
  --text-secondary: #A7B0C5;
  --text-muted:     #667085;

  /* Surface & garis */
  --surface:     rgba(255, 255, 255, .035);
  --surface-2:   rgba(255, 255, 255, .06);
  --line:        rgba(167, 176, 197, .16);
  --line-strong: rgba(167, 176, 197, .30);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Spacing */
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* Tipografi */
  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-hero:  clamp(2.3rem, 6.2vw, 4.25rem);
  --fs-h2:    clamp(1.95rem, 4vw, 3rem);
  --fs-h3:    clamp(1.25rem, 2.2vw, 1.55rem);
  --fs-lead:  clamp(1rem, 1.6vw, 1.175rem);
  --fs-body:  1rem;
  --fs-small: .875rem;
  --fs-tiny:  .8125rem;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 280ms;

  --header-h: 72px;
}

/* 2. Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
}
h1 { font-size: var(--fs-hero); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2);   letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3);   line-height: 1.3; }

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: var(--space-3); top: -100px; z-index: 200;
  background: var(--yellow); color: var(--navy-900);
  padding: .65rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-3); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--navy-900); }

.section__head { max-width: 62ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head p { font-size: var(--fs-lead); margin-top: var(--space-3); }
.section__head h2 { position: relative; padding-top: 1.35rem; }
.section__head h2::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 56px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.lead { font-size: var(--fs-lead); }

/* 4. Tombol ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .975rem; letter-spacing: -.01em;
  cursor: pointer; text-align: center; line-height: 1.3;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn--primary {
  background: linear-gradient(100deg, var(--orange), var(--yellow));
  color: #1A1206;
  box-shadow: 0 10px 24px -14px rgba(255, 122, 0, .9);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn--secondary { background: transparent; color: var(--text-primary); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--ghost { padding-inline: 0; min-height: 40px; color: var(--yellow); font-size: .925rem; }
.btn--ghost:hover { filter: brightness(1.15); }
.btn--wa { background: var(--green); color: #05291D; }
.btn--wa:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 5. Header & navigasi ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 40, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-stuck { background: rgba(6, 11, 27, .96); border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; color: var(--text-primary);
  letter-spacing: -.03em; font-size: 1.125rem; z-index: 101;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand i { font-style: normal; color: var(--yellow); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.15rem, 1vw, .75rem); }
.nav__link {
  display: inline-block; padding: .5rem .65rem; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; color: var(--text-secondary);
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link.is-active { color: var(--text-primary); }
.nav__link.is-active::after {
  content: ""; display: block; height: 2px; border-radius: 2px; margin-top: 4px;
  background: var(--orange);
}
.nav__cta { margin-left: var(--space-2); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; z-index: 101;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: background-color 120ms linear; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-900);
  padding: calc(var(--header-h) + var(--space-5)) var(--gutter) var(--space-6);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: block; padding: 1rem .25rem; font-size: 1.35rem; font-weight: 700;
  color: var(--text-primary); letter-spacing: -.02em; line-height: 1.3;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link.is-active { color: var(--yellow); }
.mobile-menu__foot { margin-top: auto; padding-top: var(--space-5); }
.mobile-menu__foot p { color: var(--text-muted); font-size: var(--fs-small); margin-top: var(--space-3); }

/* 6. Hero ------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3.25rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 45% 35% -30%;
  background: radial-gradient(closest-side, rgba(27, 46, 114, .7), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: -12%; right: -22%;
  width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .2), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .95rem .5rem .75rem; margin-bottom: var(--space-4);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-tiny); font-weight: 600; color: var(--text-secondary);
  line-height: 1.45;
}
.badge__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

.hero__title mark { background: none; color: var(--yellow); }
.hero__desc { margin-top: var(--space-4); max-width: 60ch; font-size: var(--fs-lead); }
.hero__actions { margin-top: var(--space-5); }
.hero__tagline {
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  color: var(--text-primary); font-weight: 600; font-size: .975rem; letter-spacing: -.01em;
}

/* Motif jaringan kolaborasi (satu-satunya elemen dekoratif besar) */
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; }
.node-line { stroke: var(--line-strong); stroke-width: 1; }
.node-line--hot { stroke: rgba(255, 122, 0, .5); }
.node { fill: var(--navy-700); stroke: var(--line-strong); }
.node--hot { fill: var(--orange); stroke: none; }
.node--alt { fill: var(--purple); stroke: none; }
.node--ok  { fill: var(--green); stroke: none; }
.node-label { fill: var(--text-secondary); font-size: 13px; font-weight: 600; font-family: var(--font); }

/* 7. Statistik -------------------------------------------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--navy-900); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
.stat__value { font-size: clamp(1.9rem, 6vw, 2.75rem); font-weight: 800; color: var(--text-primary); letter-spacing: -.035em; line-height: 1.1; }
.stat__value em { font-style: normal; color: var(--orange); }
.stat__label { margin-top: .35rem; font-size: var(--fs-small); color: var(--text-secondary); }

/* 8. Kartu ------------------------------------------------------------------ */
.grid { display: grid; gap: var(--space-4); }
.grid--2, .grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.35rem, 3vw, 1.85rem);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }

.card-icon {
  width: 44px; height: 44px; margin-bottom: var(--space-3);
  display: grid; place-items: center; border-radius: var(--radius-sm);
  background: rgba(255, 122, 0, .12); color: var(--orange);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon--purple { background: rgba(139, 92, 246, .14); color: var(--purple); }
.card-icon--green  { background: rgba(52, 211, 153, .13); color: var(--green); }

/* About */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.pillars { display: grid; }
.pillar { display: flex; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar__num { flex: none; width: 26px; color: var(--orange); font-weight: 800; font-size: .95rem; padding-top: .15rem; }
.pillar p { font-size: .95rem; }
.vision-card { border-left: 3px solid var(--yellow); }

/* Our Work */
.work-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.work-card__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); overflow: hidden; }
.work-card__media svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.work-card__body { padding: clamp(1.25rem, 3vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.chip {
  display: inline-flex; align-self: flex-start; align-items: center;
  padding: .3rem .7rem; margin-bottom: .75rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: var(--fs-tiny); font-weight: 600; color: var(--text-secondary);
}
.work-card__body p { margin-top: .55rem; }
.work-card__foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-tiny); color: var(--text-muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Layanan */
.service { display: flex; flex-direction: column; }
.service__num { font-size: .9rem; font-weight: 800; color: var(--orange); margin-bottom: .75rem; }
.service__foot { margin-top: var(--space-4); }

/* Dampak */
.impact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.impact__item { background: var(--navy-800); padding: clamp(1.25rem, 3.5vw, 1.9rem); }
.impact__value { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 800; color: var(--text-primary); letter-spacing: -.03em; line-height: 1.15; }
.impact__value--pending { color: var(--text-muted); }
.impact__label { margin-top: .3rem; font-size: var(--fs-small); }

/* Kolaborasi */
.collab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.collab {
  display: flex; flex-direction: column; gap: .5rem;
  padding: var(--space-4) var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .925rem; font-weight: 700; color: var(--text-primary);
  transition: border-color var(--dur) var(--ease);
}
.collab:hover { border-color: var(--yellow); }
.collab svg { width: 24px; height: 24px; color: var(--yellow); }
.collab span { display: block; font-weight: 400; font-size: var(--fs-tiny); color: var(--text-secondary); line-height: 1.55; }

.cta-panel {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-600));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3rem);
}
.cta-panel h2 { margin-bottom: var(--space-3); }
.cta-panel p { max-width: 56ch; }
.cta-panel .btn-row { margin-top: var(--space-4); }

/* 9. FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3);
  width: 100%; min-height: 56px; padding: 1.15rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.0625rem; font-weight: 700; color: var(--text-primary);
  line-height: 1.4; letter-spacing: -.015em;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--yellow); }
.faq__icon { flex: none; width: 22px; height: 22px; margin-top: 2px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--orange); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after  { width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.faq__a > div { padding-bottom: 1.35rem; max-width: 72ch; font-size: .975rem; }

/* 10. Kontak ------------------------------------------------------------------ */
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--text-primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  background: var(--navy-900); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text-primary);
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); outline: none; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
                    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.form__note { font-size: var(--fs-tiny); color: var(--text-muted); }
.form-status { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: var(--fs-small); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: var(--green); }
.form-status--err { background: rgba(255, 122, 0, .12); border: 1px solid rgba(255, 122, 0, .4); color: var(--orange); }
.field-error { font-size: var(--fs-tiny); color: var(--orange); display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--orange); }

.contact-aside { display: grid; gap: var(--space-3); }

/* 11. Page hero (halaman dalam) ------------------------------------------------ */
.page-hero { padding-block: clamp(2.75rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); background: var(--navy-900); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.page-hero p { margin-top: var(--space-3); max-width: 62ch; font-size: var(--fs-lead); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--fs-tiny); color: var(--text-muted); margin-bottom: var(--space-3); }
.breadcrumb a:hover { color: var(--yellow); }

/* 12. Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem) var(--space-5); }
.site-footer__grid { display: grid; gap: var(--space-5); }
.site-footer__brand p { margin-top: var(--space-3); max-width: 38ch; font-size: var(--fs-small); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.footer-col h4 { font-size: var(--fs-small); margin-bottom: var(--space-2); color: var(--text-primary); }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { font-size: var(--fs-small); color: var(--text-secondary); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--yellow); }
.site-footer__bottom {
  margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between;
  font-size: var(--fs-tiny); color: var(--text-muted);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.site-footer__bottom a:hover { color: var(--yellow); }

/* 13. Motion --------------------------------------------------------------------- */
/* Konten terlihat secara default. Hanya disembunyikan bila JavaScript aktif,
   sehingga kegagalan skrip tidak pernah membuat halaman tampak kosong. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }

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

/* 14. Breakpoints ------------------------------------------------------------------ */
@media (min-width: 480px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat:last-child { grid-column: auto; }
  .collab-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root { --fs-body: 1.0625rem; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .impact__grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1.35fr .85fr; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1.25fr; }
}

@media (min-width: 1024px) {
  :root { --fs-body: 1.125rem; --header-h: 80px; }
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__desc { font-size: 1.1875rem; }
}

@media (min-width: 1280px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
}

/* 15. Motif hero: satu momen animasi saat halaman dimuat ------------------------ */
.network__lines path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 900ms var(--ease) forwards; }
.network__lines path:nth-child(2) { animation-delay: 80ms; }
.network__lines path:nth-child(3) { animation-delay: 160ms; }
.network__lines path:nth-child(4) { animation-delay: 240ms; }
.network__lines path:nth-child(5) { animation-delay: 320ms; }
.network__lines path:nth-child(6) { animation-delay: 400ms; }
.network__lines path:nth-child(7) { animation-delay: 480ms; }
.network__lines path:nth-child(8) { animation-delay: 560ms; }
.network__lines path:nth-child(9) { animation-delay: 640ms; }
.network__nodes circle { opacity: 0; animation: fadeIn 500ms var(--ease) 500ms forwards; }
.network__pulse { animation: pulse 3.2s var(--ease) 1.4s infinite; transform-origin: 260px 230px; }

@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse  { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(2.1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .network__lines path { stroke-dashoffset: 0; animation: none; }
  .network__nodes circle { opacity: 1; animation: none; }
  .network__pulse { display: none; }
}

/* 16. Dukungan foto (hero, banner halaman, about, layanan, logo) ----------------- */

/* Logo unggahan */
.brand__logo { height: 34px; width: auto; max-width: 190px; object-fit: contain; }

/* Hero dengan foto latar penuh */
.hero--foto {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--foto::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 27, .94) 0%, rgba(6, 11, 27, .78) 45%, rgba(6, 11, 27, .96) 100%);
}
.hero--foto::after { display: none; }
.hero--foto .hero__grid { grid-template-columns: 1fr; max-width: 760px; }
.hero--foto .hero__desc { max-width: 58ch; }

/* Banner halaman dalam dengan foto */
.page-hero--foto {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--foto::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 27, .9), rgba(6, 11, 27, .96));
}
.page-hero--foto .container { position: relative; z-index: 1; }

/* Foto pada section About */
.about__media {
  margin: 0 0 var(--space-4);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Foto pada kartu layanan */
.service__isi { display: flex; flex-direction: column; flex: 1; }
.service--foto { padding: 0; overflow: hidden; }
.service--foto .service__isi { padding: clamp(1.35rem, 3vw, 1.85rem); }
.service__media { aspect-ratio: 16 / 9; background: var(--navy-700); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }

/* 17. Halaman detail, progress dana, dan teks panjang ---------------------------- */

.detail__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.detail__motif {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  margin-bottom: var(--space-4); aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}
.detail__motif svg { width: 100%; height: 100%; }
.detail__aside { display: grid; gap: var(--space-3); }

/* Teks panjang */
.prose { max-width: 72ch; }
.prose--narrow { max-width: 68ch; }
.prose h3 { margin: var(--space-5) 0 var(--space-2); }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--space-3); }
.prose-list { margin: 0 0 var(--space-3); padding-left: 1.2rem; list-style: disc; }
.prose-list li { margin-bottom: .4rem; padding-left: .2rem; }
.prose-list li::marker { color: var(--orange); }

/* Progress penggalangan dana */
.fund__raised { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; color: var(--text-primary); letter-spacing: -.03em; line-height: 1.2; }
.fund__target { font-size: var(--fs-small); margin-bottom: var(--space-3); }
.fund__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.fund__bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width 600ms var(--ease);
}
.fund__meta {
  display: flex; justify-content: space-between; gap: var(--space-2);
  margin: .55rem 0 var(--space-4); font-size: var(--fs-tiny); color: var(--text-secondary);
}
.fund--mini { margin-top: var(--space-3); }
.fund--mini .fund__meta { margin-bottom: 0; }

/* Daftar informasi program */
.meta-list { margin: 0; display: grid; gap: .6rem; }
.meta-list > div { display: flex; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.meta-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list dt { font-size: var(--fs-small); color: var(--text-muted); }
.meta-list dd { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--text-primary); text-align: right; }

@media (min-width: 900px) {
  .detail__grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr); }
}

/* 18. Struktur beranda: cara kerja, mitra, dampak, tombol lanjutan ------------- */

.section__more { margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* Cara kerja — langkah bernomor dengan garis penghubung */
.steps { display: grid; gap: var(--space-4); counter-reset: langkah; }
.steps__item {
  position: relative;
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-top: 1px solid var(--line);
}
.steps__item h3 { margin-bottom: .45rem; }
.steps__item p { font-size: .95rem; margin: 0; }
.steps__num {
  display: block; margin-bottom: .75rem;
  font-size: .9rem; font-weight: 800; color: var(--orange); letter-spacing: .04em;
}

/* Mitra kampus — grid yang menyesuaikan jumlah logo */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}
.partner {
  display: grid; place-items: center;
  min-height: 96px; padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.partner:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .8); }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.partner__teks {
  font-size: .85rem; font-weight: 700; color: var(--navy-800);
  text-align: center; line-height: 1.35;
}

/* Dampak — narasi di samping grid angka */
.impact__wrap { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.impact__narasi p { max-width: 46ch; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-5); }
  .steps__item { padding-right: var(--space-5); }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps__item { border-top: 2px solid var(--line); padding-right: var(--space-4); }
  .steps__item::before {
    content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 28px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
  }
  .impact__wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .partners { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
