/* ==========================================================================
   SEHATIMI — Design System
   Palet diambil dari logo & deck resmi (assets/img/logo.png):
   mint #7FCDB0, koral #F4846A, teal gelap #1E4D47, krem #FDEEE8.
   Struktur: tokens → base → komponen → section → animasi → responsif.
   ========================================================================== */

:root {
  /* Warna identitas */
  --mint: #7fcdb0;
  --mint-200: #cfede3;
  --mint-100: #eef8f4;
  --coral: #f4846a;
  --coral-200: #fbc9bb;
  --coral-100: #fdeee8;
  --teal: #1e4d47;
  --ink: #10332f;
  --ink-soft: #24403c;
  --muted: #5f7470;
  --line: #e2eee9;
  --white: #ffffff;
  --cream: #fffaf7;

  /* Tipografi */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.6rem, 6.2vw, 5.2rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.9rem);
  --fs-h3: clamp(1.1rem, 1.6vw, 1.35rem);
  --fs-body: clamp(0.97rem, 1.05vw, 1.06rem);
  --fs-sm: 0.875rem;

  /* Bentuk & ruang */
  --radius: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16, 51, 47, 0.05);
  --shadow: 0 18px 40px -24px rgba(16, 51, 47, 0.35);
  --shadow-lift: 0 28px 60px -28px rgba(16, 51, 47, 0.45);
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.6rem, 7vw, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--mint-200); color: var(--ink); }

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

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--mint-100); }
.section--cream { background: var(--cream); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografi bantu ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--coral-100);
  color: #b34427;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--mint { background: var(--mint-100); color: var(--teal); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(244, 132, 106, 0.18);
}
.eyebrow--mint .eyebrow__dot { background: var(--mint); box-shadow: 0 0 0 4px rgba(127, 205, 176, 0.22); }

.section-head { max-width: 720px; display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); justify-items: start; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--muted); }
.highlight { color: var(--coral); }
.highlight--mint { color: var(--teal); background: linear-gradient(transparent 62%, var(--mint-200) 62%); }

.lede { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 62ch; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--coral); color: var(--ink); box-shadow: 0 14px 28px -16px rgba(244, 132, 106, 0.9); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 38px -18px rgba(244, 132, 106, 0.95); }
.btn--dark { background: var(--teal); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); background: var(--ink); }
.btn--ghost { border: 1.5px solid rgba(16, 51, 47, 0.18); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -22px rgba(0, 0, 0, 0.6); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.99); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 1.5px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow:hover { gap: 0.8rem; border-color: var(--mint); }
.link-arrow svg { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(16, 51, 47, 0.5);
  background: rgba(255, 255, 255, 0.95);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; color: var(--ink); }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 1.06rem; letter-spacing: -0.02em; }
.brand__text span { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 0.2rem; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { background: var(--mint-100); color: var(--teal); }
.nav__links a[aria-current="page"] { color: var(--teal); background: var(--mint-100); font-weight: 700; }
.nav__cta { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.6rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.2rem, 5vw, 4.6rem) clamp(2.6rem, 6vw, 5rem);
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(127, 205, 176, 0.32), transparent 70%),
    radial-gradient(45% 45% at 6% 30%, rgba(244, 132, 106, 0.16), transparent 70%),
    linear-gradient(180deg, #f7fcfa 0%, #ffffff 78%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.hero__copy { display: grid; gap: 1.35rem; justify-items: start; position: relative; z-index: 2; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -0.04em; }
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: 0.02em;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral-200), var(--mint-200));
  z-index: -1;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }
.hero__note strong { color: var(--ink); }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 42% 42% 40% 40% / 36% 36% 44% 44%;
  overflow: hidden;
  background: var(--mint-100);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 1 / 1;
  border: 10px solid #fff;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring {
  position: absolute;
  inset: -6% -4% auto auto;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(30, 77, 71, 0.22);
  animation: spin 46s linear infinite;
  pointer-events: none;
}
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.7rem 0.95rem;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.hero__chip small { display: block; font-weight: 700; color: var(--ink-soft); font-size: 0.66rem; }
.hero__chip--a { top: 6%; left: -3%; }
.hero__chip--b { bottom: 16%; right: -2%; animation-delay: -2.4s; }
.hero__chip--c { bottom: 2%; left: 14%; animation-delay: -4s; }
.hero__chip .ico {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mint-100); color: var(--teal); flex: none;
}
.hero__chip .ico svg { width: 16px; height: 16px; }
.hero__chip--coral .ico { background: var(--coral-100); color: #c4512f; }

.hero__badge {
  position: absolute;
  z-index: 3;
  right: -4%;
  top: 4%;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 18px 30px -18px rgba(16, 51, 47, 0.9);
  animation: float 7s ease-in-out infinite;
}
.hero__badge strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--mint); line-height: 1; margin-bottom: 0.25rem; }

/* ---------- Marquee pilar ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding-block: 0.95rem;
  --speed: 34s;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: marquee var(--speed) linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.75;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Grid & kartu umum ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  will-change: transform;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint-200); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--muted); font-size: 0.94rem; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--mint-100);
  color: var(--teal);
  margin-bottom: 0.15rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--coral { background: var(--coral-100); color: #c4512f; }

/* Kartu pilar */
.pillar { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 1.5rem; display: grid; gap: 0.55rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar span { font-size: 0.68rem; font-weight: 800; letter-spacing: .18em; color: var(--coral); }
.pillar strong { font-size: 1.08rem; color: var(--ink); }
.pillar p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Banner dosen pembimbing ---------- */
.mentor {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 92% 0%, rgba(244, 132, 106, 0.42), transparent 62%),
    radial-gradient(70% 100% at 4% 100%, rgba(127, 205, 176, 0.35), transparent 60%),
    var(--teal);
  color: #fff;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}
.mentor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}
.mentor__avatar {
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: linear-gradient(140deg, var(--mint), #a9e0ca);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  border: 4px solid rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
  flex: none;
}
.mentor__body { position: relative; z-index: 1; display: grid; gap: 0.45rem; }
.mentor__body .eyebrow { background: rgba(255, 255, 255, 0.14); color: #eafaf3; width: fit-content; }
.mentor__body h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.2; }
.mentor__body p { color: rgba(255, 255, 255, 0.78); font-size: 0.94rem; max-width: 56ch; }
.mentor__action { position: relative; z-index: 1; }
.mentor__action .btn { white-space: nowrap; }

/* ---------- Statistik ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stats__item {
  background: #fff;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  display: grid;
  gap: 0.3rem;
  text-align: center;
}
.stats__item strong {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.04em;
  font-weight: 800;
}
.stats__item strong span { color: var(--coral); }
.stats__item small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }

/* ---------- Artikel / berita ---------- */
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint-200); }
.article-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--mint-100); overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__tag {
  position: absolute;
  left: 0.8rem; top: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.34rem 0.7rem;
  border-radius: var(--radius-pill);
}
.article-card__body { padding: 1.15rem 1.25rem 1.35rem; display: grid; gap: 0.55rem; align-content: start; flex: 1; }
.article-card__meta { font-size: 0.74rem; color: var(--muted); display: flex; gap: 0.6rem; flex-wrap: wrap; }
.article-card__body h3 { font-size: 1.08rem; line-height: 1.3; }
.article-card__body p { font-size: 0.9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__more { margin-top: auto; padding-top: 0.6rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--mint); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.1rem;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
  min-width: min(100%, 360px);
}
.search:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(127, 205, 176, 0.16); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 0.92rem; width: 100%; color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.empty-state { padding: 2.6rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Kuis ---------- */
.quiz {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--mint-100), #fff 60%);
  border: 1px solid var(--mint-200);
  padding: clamp(1.4rem, 3.4vw, 2.6rem);
  display: grid;
  gap: 1.2rem;
}
.quiz__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; align-items: center; }
.quiz__progress { display: flex; gap: 6px; }
.quiz__progress i { width: 26px; height: 6px; border-radius: 99px; background: #bfe3d4; transition: background .3s; }
.quiz__progress i.is-done { background: var(--coral); }
.quiz__count { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.quiz__question { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 800; color: var(--ink); line-height: 1.3; }
.quiz__options { display: grid; gap: 0.55rem; }
.quiz__option {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.quiz__option:hover:not(:disabled) { border-color: var(--mint); transform: translateX(4px); }
.quiz__option.is-correct { border-color: #2f9e75; background: #e9f8f1; color: #1d6647; }
.quiz__option.is-wrong { border-color: #e0704f; background: var(--coral-100); color: #9c3c22; }
.quiz__option:disabled { cursor: default; }
.quiz__feedback { font-size: 0.88rem; color: var(--ink-soft); min-height: 1.4em; }
.quiz__feedback strong { color: var(--teal); }
.quiz__nav { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.quiz__result { display: grid; gap: 0.8rem; justify-items: start; }
.quiz__score { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; color: var(--teal); letter-spacing: -0.04em; line-height: 1; }
.quiz__score span { color: var(--coral); }

/* ---------- Timeline / agenda ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--mint-200), var(--coral-200));
}
.timeline__item { position: relative; padding: 0 0 1.6rem 3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 6px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--mint);
  box-shadow: 0 0 0 4px #fff;
}
.timeline__item--soon .timeline__dot { border-color: var(--coral); }
.timeline__date { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); }
.timeline__item h3 { font-size: 1.02rem; margin-block: 0.2rem 0.25rem; }
.timeline__item p { font-size: 0.9rem; color: var(--muted); }
.timeline__meta { display: flex; gap: 0.9rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; }
.timeline__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.timeline__meta svg { width: 14px; height: 14px; }

/* ---------- Program steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Kanall / luaran ---------- */
.channel {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.channel:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--coral-200); }
.channel__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.channel strong { font-size: 1rem; color: var(--ink); }
.channel__num { font-size: 0.7rem; font-weight: 800; color: var(--muted); letter-spacing: 0.1em; }
.channel p { font-size: 0.86rem; color: var(--muted); }
.channel a { font-size: 0.8rem; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 0.3rem; }
.channel a svg { width: 13px; height: 13px; }

/* ---------- Makna nama (accordion) ---------- */
.letters { display: grid; gap: 0.5rem; }
.letter {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.letter[open] { border-color: var(--mint); box-shadow: var(--shadow-sm); }
.letter summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}
.letter summary::-webkit-details-marker { display: none; }
.letter summary::after {
  content: "+";
  margin-left: auto;
  color: var(--coral);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform .3s var(--ease);
}
.letter[open] summary::after { transform: rotate(45deg); }
.letter__key {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--coral-100);
  color: #b34427;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.letter__body { padding: 0 1rem 0.95rem 3.5rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.gallery__item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mint-100);
  aspect-ratio: 1;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(16, 51, 47, 0.55) 45%, rgba(16, 51, 47, 0.88));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: left;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.4rem;
  border: 1.5px dashed var(--mint);
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, var(--mint-100) 10px, var(--mint-100) 20px);
  color: var(--teal);
  cursor: default;
  padding: 1rem;
}
.gallery__item--placeholder svg { width: 24px; height: 24px; margin-inline: auto; opacity: .7; }
.gallery__item--placeholder span { font-size: 0.78rem; font-weight: 700; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 38, 35, 0.86);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 900px); max-height: 80vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__caption { color: #eafaf3; text-align: center; font-size: 0.88rem; margin-top: 1rem; }
.lightbox__close {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid; place-items: center;
}
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F7470' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(127, 205, 176, 0.16);
}
.form__note { font-size: 0.78rem; color: var(--muted); }
.form__status { font-size: 0.88rem; font-weight: 600; color: var(--teal); min-height: 1.3em; }

/* ---------- Halaman dalam ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.6rem, 5vw, 4.4rem) clamp(2rem, 4vw, 3.4rem);
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(127, 205, 176, 0.28), transparent 62%),
    radial-gradient(40% 60% at 2% 20%, rgba(244, 132, 106, 0.14), transparent 62%),
    linear-gradient(180deg, #f8fcfa, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { display: grid; gap: 1rem; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page-hero p { color: var(--muted); max-width: 60ch; }
.crumbs { display: flex; gap: 0.4rem; align-items: center; font-size: 0.78rem; color: var(--muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs span { opacity: 0.5; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mint-100); box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__body { display: grid; gap: 1.1rem; justify-items: start; }

.bullet-list { display: grid; gap: 0.6rem; }
.bullet-list li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: var(--ink-soft); }
.bullet-list li svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 0.18rem; }

.value-card { padding: 1.35rem; border-radius: var(--radius); background: var(--mint-100); border: 1px solid var(--mint-200); }
.value-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* Struktur organisasi */
.org { display: grid; gap: 1rem; justify-items: center; }
.org__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: 100%; }
.org__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.org__node {
  width: 100%;
  text-align: center;
  padding: 1.1rem 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  gap: 0.15rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.org__node:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.org__node strong { font-size: 0.92rem; color: var(--ink); }
.org__node span { font-size: 0.74rem; color: var(--muted); }
.org__node--lead { background: var(--teal); border-color: var(--teal); }
.org__node--lead strong, .org__node--lead span { color: #fff; }
.org__node--lead span { color: rgba(255,255,255,.7); }
.org__connector { width: 2px; height: 26px; background: var(--mint-200); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.4rem);
  background: linear-gradient(130deg, var(--coral) 0%, #f6a48c 55%, var(--mint) 130%);
  color: var(--ink);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}
.cta-band h2 { color: var(--ink); font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 20ch; }
.cta-band p { max-width: 52ch; color: rgba(16, 51, 47, 0.78); }
.cta-band__deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.28); filter: blur(2px); }
.cta-band__deco--a { width: 220px; height: 220px; top: -90px; right: -40px; }
.cta-band__deco--b { width: 160px; height: 160px; bottom: -70px; left: -30px; background: rgba(255,255,255,.2); }

/* Sosial */
.socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--mint-100);
  color: var(--teal);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.socials a:hover { transform: translateY(-3px); background: var(--teal); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.socials--light a { background: rgba(255,255,255,.1); color: #fff; }
.socials--light a:hover { background: var(--coral); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.4rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 205, 176, 0.16), transparent 65%);
  top: -180px; right: -80px;
  pointer-events: none;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 3vw, 2.6rem); }
.footer__brand { display: grid; gap: 0.9rem; justify-items: start; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__text span { color: rgba(255,255,255,.55); }
.footer__brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); max-width: 34ch; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; font-weight: 700; }
.footer__links { display: grid; gap: 0.5rem; font-size: 0.88rem; }
.footer__links a { color: rgba(255, 255, 255, 0.68); transition: color .25s, transform .25s; width: fit-content; }
.footer__links a:hover { color: var(--mint); }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Animasi masuk ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--scale { transform: scale(0.96); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(244, 132, 106, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(244, 132, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 132, 106, 0); }
}

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

/* ---------- Responsif ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__copy { justify-items: start; }
  .hero__badge { right: 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .mentor { grid-template-columns: auto 1fr; }
  .mentor__action { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .org__row, .org__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__chip--a { left: 0; top: 4%; }
  .hero__chip--b { right: 0; bottom: 6%; }
  .hero__chip--c { display: none; }
  .mentor { grid-template-columns: 1fr; text-align: left; }
  .mentor__avatar { width: 96px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
}

@media (max-width: 620px) {
  :root { --radius-lg: 26px; --radius: 18px; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 1rem 0.6rem; }
  .stats__item strong { font-size: 1.7rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
  .hero__badge { width: 84px; height: 84px; font-size: 0.52rem; }
  .hero__badge strong { font-size: 1.15rem; }
  .hero__chip { font-size: 0.7rem; padding: 0.55rem 0.7rem; }
  .hero__chip small { font-size: 0.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; }
  .search { min-width: 100%; }
  .toolbar .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .toolbar .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .nav { min-height: 66px; }
  .brand__text span { display: none; }
  .btn { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
  .mentor { padding: 1.4rem; }
  .article-card__body { padding: 1rem 1.05rem 1.2rem; }
}

/* Menu mobile (drawer) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #fff;
  padding: 5.5rem var(--gutter) 2rem;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a[aria-current="page"] { color: var(--coral); }
.mobile-menu .btn { margin-top: 1.2rem; }
body.no-scroll { overflow: hidden; }
