/* ============================================================
   RECON — Raise & Enrich Consulting
   Design system v3: "Dark Editorial Premium"
   Type: Bricolage Grotesque (display) + Source Serif 4 (prose)
   Color strategy: deep navy carries the brand, logo red reserved
   for action, gold for editorial accents. Logo selalu di atas
   plakat putih agar warna aslinya tidak berubah.
   ============================================================ */

:root {
  /* Surfaces (dark navy, hue 277 dari logo) */
  --bg: oklch(0.145 0.032 277);
  --bg-deep: oklch(0.115 0.028 277);
  --raise: oklch(0.19 0.045 277);
  --raise-2: oklch(0.235 0.055 277);
  --line: oklch(0.34 0.045 277 / 0.45);
  --line-strong: oklch(0.42 0.06 277 / 0.6);

  /* Ink */
  --ink: oklch(0.955 0.008 277);
  --ink-soft: oklch(0.80 0.022 277);
  --ink-dim: oklch(0.63 0.025 277);

  /* Accents (dari logo RECON) */
  --red: oklch(0.585 0.215 24);
  --red-deep: oklch(0.49 0.19 24);
  --gold: oklch(0.83 0.115 85);
  --gold-dim: oklch(0.70 0.10 85);
  --wa: oklch(0.62 0.17 155);
  --wa-deep: oklch(0.54 0.16 155);

  /* Alias kompatibilitas (halaman lama memakai nama ini) */
  --navy-950: var(--bg-deep);
  --navy-900: var(--raise);
  --navy-800: var(--raise-2);
  --ink-inverse: var(--ink);
  --ink-inverse-soft: var(--ink-soft);
  --line-inverse: var(--line);

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;

  /* Rhythm */
  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --space-block: clamp(2rem, 4vw, 3.25rem);
  --container: 1240px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);
  --radius: 16px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Z scale */
  --z-sticky: 100;
  --z-overlay: 200;
  --z-progress: 400;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Grain — tekstur film halus di seluruh halaman */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); font-weight: 750; }
h3 { font-size: clamp(1.22rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; max-width: 66ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
ul { padding-left: 1.2em; }
em.accent, .gold {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.container, .wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section, .sect { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: calc(var(--space-section) * 0.6); }
.section--dark { background: var(--bg-deep); }
.section--white { background: oklch(0.168 0.038 277); } /* alternate raised band */
.section + .section { border-top: 1px solid var(--line); }

.lede {
  font-size: clamp(1.14rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Kicker — label kecil di atas judul */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: ""; width: 2.2rem; height: 1px;
  background: var(--gold-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 650; font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s var(--ease);
  cursor: pointer;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 14px 34px -14px oklch(0.585 0.215 24 / 0.75);
}
.btn--primary:hover {
  background: var(--red-deep); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px oklch(0.585 0.215 24 / 0.8);
}
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 34px -14px oklch(0.62 0.17 155 / 0.6); }
.btn--wa:hover { background: var(--wa-deep); color: #fff; transform: translateY(-3px); }
.btn .arr { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: var(--z-progress);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
  background: oklch(0.13 0.03 277 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
/* Plakat putih di belakang logo agar warna logo tetap asli */
.logo-plate {
  display: inline-flex; align-items: center;
  background: #fff;
  padding: 0.42rem 0.8rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px oklch(0.05 0.02 277 / 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__logo { text-decoration: none; }
.nav__logo:hover .logo-plate { transform: translateY(-2px); box-shadow: 0 10px 22px -8px oklch(0.05 0.02 277 / 0.8); }
.nav__logo img, .logo-plate img { height: 30px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: clamp(0.3rem, 1.5vw, 1.3rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.97rem; font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}
.nav__links a:hover { color: #fff; }
.nav__links a[aria-current="page"] { color: #fff; position: relative; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav__cta .btn { padding: 0.55rem 1.25rem; font-size: 0.92rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep);
    padding: 0.6rem 1.3rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-115%);
    transition: transform 0.4s var(--ease);
    z-index: var(--z-overlay);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 0.9rem 0.4rem; font-size: 1.1rem; }
  .nav__links a[aria-current="page"]::after { left: 0.4rem; right: auto; width: 28px; }
  .nav__cta { margin-top: 0.9rem; }
  body.nav-locked { overflow: hidden; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 500;
  background: var(--gold); color: var(--bg-deep);
  padding: 0.7rem 1.2rem; font-family: var(--font-display); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Hero (dipakai semua halaman) ---------- */
.hero {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: clip;
  padding-top: calc(76px + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60rem 34rem at 85% -15%, oklch(0.36 0.13 277 / 0.55), transparent 62%),
    radial-gradient(34rem 26rem at -10% 110%, oklch(0.49 0.19 24 / 0.13), transparent 58%);
  pointer-events: none;
}
.hero > .container, .hero > .wrap { position: relative; }
.hero h1 { color: #fff; }
.page-intro { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* Entrance berjenjang saat halaman dimuat (hanya elemen hero) */
html.js .hero [data-hero] {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-in 0.9s var(--ease-out) forwards;
}
html.js .hero [data-hero="1"] { animation-delay: 0.08s; }
html.js .hero [data-hero="2"] { animation-delay: 0.18s; }
html.js .hero [data-hero="3"] { animation-delay: 0.28s; }
html.js .hero [data-hero="4"] { animation-delay: 0.38s; }
html.js .hero [data-hero="5"] { animation-delay: 0.5s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ---------- Kolase hero 4 pilar ---------- */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
}
.collage__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px oklch(0.05 0.02 277 / 0.9);
  transform: translateZ(0);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.collage__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.collage__item:nth-child(1) { aspect-ratio: 4 / 3; }
.collage__item:nth-child(2) { aspect-ratio: 4 / 3; margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.collage__item:nth-child(3) { aspect-ratio: 4 / 3; margin-top: calc(clamp(1.4rem, 3vw, 2.4rem) * -1); }
.collage__item:nth-child(4) { aspect-ratio: 4 / 3; }
.collage__item:hover { transform: translateY(-6px); box-shadow: 0 42px 70px -28px oklch(0.05 0.02 277 / 1); }
.collage__item:hover img { transform: scale(1.05); }
.collage__tag {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 650;
  letter-spacing: 0.06em;
  color: #fff;
  background: oklch(0.13 0.03 277 / 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid oklch(1 0 0 / 0.14);
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
}
.collage__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.collage__item:nth-child(2) .collage__tag::before { background: var(--red); }
.collage__item:nth-child(3) .collage__tag::before { background: oklch(0.62 0.17 155); }
.collage__item:nth-child(4) .collage__tag::before { background: oklch(0.7 0.13 277); }
/* Bingkai emas offset di belakang kolase */
.collage::before {
  content: "";
  position: absolute; inset: 6% -4% -5% 5%;
  border: 1.5px solid var(--gold-dim);
  border-radius: var(--radius);
  opacity: 0.45;
  pointer-events: none;
}
/* Apung halus bergantian */
@media (prefers-reduced-motion: no-preference) {
  .collage__item { animation: floaty 9s ease-in-out infinite; }
  .collage__item:nth-child(2) { animation-delay: -2.5s; animation-duration: 11s; }
  .collage__item:nth-child(3) { animation-delay: -5s; animation-duration: 10s; }
  .collage__item:nth-child(4) { animation-delay: -7s; animation-duration: 12s; }
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* ---------- Statistik ---------- */
.stats {
  margin-top: clamp(3.2rem, 6.5vw, 5rem);
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 1.7rem 1.4rem 1.5rem; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat b sup { font-size: 0.5em; color: var(--gold); font-weight: 700; }
.stat > span {
  display: block; margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-dim);
}

/* ---------- Marquee logo klien (kartu putih agar warna logo asli) ---------- */
.trust { padding-block: clamp(3.2rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.trust h2 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  margin-bottom: 2.2rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 1rem; }
.marquee__track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.5rem)); } }
.marquee ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.marquee li {
  flex: 0 0 auto;
  width: 168px; height: 88px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 0.8rem 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.marquee li:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px oklch(0.05 0.02 277 / 0.9); }
.marquee img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
/* Baris unggulan: kartu lebih besar, logo mengisi ±80% kotak, jalan lebih pelan agar terbaca */
.marquee--featured .marquee__track { animation-duration: 60s; }
.marquee--featured li { width: 228px; height: 112px; padding: 0.65rem 1rem; }
.marquee--featured img { max-height: 90px; }
.trust-note {
  margin-top: 1.6rem; text-align: center;
  font-size: 0.95rem; color: var(--ink-dim);
  margin-inline: auto;
}

/* Logo wall statis (fallback / halaman lain) — tetap kartu putih */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  list-style: none; margin: 0; padding: 0;
}
.logo-wall li {
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 0.7rem 0.9rem;
  min-height: 84px;
  transition: transform 0.25s var(--ease);
}
.logo-wall li:hover { transform: translateY(-2px); }
.logo-wall img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Empat pilar (baris editorial) ---------- */
.pillars-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .pillars-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  align-items: start;
  padding: clamp(1.7rem, 3.5vw, 2.6rem) clamp(0.9rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background-color 0.35s var(--ease);
}
.pillar:last-of-type { border-bottom: 1px solid var(--line); }
.pillar::after {
  content: "→";
  position: absolute;
  right: clamp(0.9rem, 2.5vw, 2rem);
  top: clamp(1.7rem, 3.5vw, 2.6rem);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.pillar:hover { background: var(--raise); }
.pillar:hover::after { opacity: 1; transform: translateX(0); }
.pillar__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold-dim);
  line-height: 1;
  padding-top: 0.25rem;
  min-width: 3.2rem;
}
.pillar h3 { margin-bottom: 0.4em; padding-right: 3rem; }
.pillar h3 span {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--ink-dim);
  letter-spacing: 0;
  margin-top: 0.25em;
}
.pillar p { color: var(--ink-soft); font-size: 1rem; max-width: 58ch; }
.pillar:hover h3 { color: #fff; }

/* ---------- Proses tiga tahap ---------- */
.steps {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  counter-reset: langkah;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: langkah; position: relative; padding-top: 1.6rem; }
.step::before {
  content: "0" counter(langkah);
  position: absolute;
  top: -0.5rem; right: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: oklch(0.26 0.06 277 / 0.85);
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.step::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 3.4rem; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.step h3, .step p { position: relative; z-index: 1; }
.step p { font-size: 1rem; color: var(--ink-soft); }
.step h3 em {
  font-style: italic; font-family: var(--font-body);
  font-weight: 600; color: var(--gold); font-size: 0.9em;
}

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text, .split--text-wide { grid-template-columns: 1.13fr 0.87fr; }
  .split--wide-media { grid-template-columns: 0.87fr 1.13fr; }
}

/* ---------- Figures ---------- */
.figure {
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: 0 34px 70px -30px oklch(0.05 0.02 277 / 0.85);
  margin: 0;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.8rem 1.4rem 1.05rem;
  background: linear-gradient(to top, oklch(0.115 0.028 277 / 0.92), transparent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 550;
}

/* ---------- Panels & cards ---------- */
.panel {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.panel:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.panel--dark { background: var(--bg-deep); }
.service-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: oklch(0.19 0.045 277 / 0.7);
}

/* ---------- Program ladder ---------- */
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.ladder > li {
  counter-increment: step;
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.ladder > li:last-child { border-bottom: 0; }
.ladder > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem;
  color: var(--red);
  line-height: 1.2;
}
.ladder h3 { margin-bottom: 0.25em; }
.ladder p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 550;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: oklch(0.235 0.055 277 / 0.4);
  color: var(--ink);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.chips li:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
/* Chip yang berisi tautan: area sentuh diperluas ke seluruh badan chip
   dengan margin negatif, agar tetap nyaman ditekan di layar sentuh. */
.chips a {
  text-decoration: none; color: inherit;
  display: block;
  padding: 0.75rem 1.15rem;
  margin: -0.45rem -1rem;
}

/* ---------- Creds pill ---------- */
.creds {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.creds li {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 550;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: oklch(0.235 0.055 277 / 0.4);
}

/* ---------- Testimoni ---------- */
.quotes { display: grid; gap: clamp(1.6rem, 3.5vw, 2.6rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, 1fr); padding-bottom: 4.4rem; }
  .quotes .quote:nth-child(2) { transform: translateY(2.2rem); }
  .quotes .quote:nth-child(3) { transform: translateY(4.4rem); }
}
.quote {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-body);
  font-size: 4.4rem;
  line-height: 0.6;
  color: var(--red);
  display: block;
  margin-bottom: 0.9rem;
  height: 1.8rem;
}
.quote blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.13rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}
.quote cite {
  font-family: var(--font-display);
  font-style: normal; font-weight: 600; font-size: 0.93rem;
  color: var(--gold);
}
.quote .num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}

/* ---------- Ghost stat (Beyond Analytics) ---------- */
.ghost-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-dim);
  display: block;
  margin-bottom: 0.3rem;
}
.ghost-stat b { color: var(--gold); -webkit-text-stroke: 0; font-weight: 800; }
.ghost-caption {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 550;
  color: var(--ink-dim);
  margin-bottom: 2rem;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(46rem 26rem at 50% 120%, oklch(0.49 0.19 24 / 0.22), transparent 65%),
    var(--bg-deep);
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta .lede { margin-inline: auto; }
.cta .kicker { justify-content: center; display: flex; }
.cta-row { margin-top: 2.4rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-small { margin-top: 1.6rem; font-size: 0.95rem; color: var(--ink-dim); margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  color: var(--ink-dim);
  font-size: 0.98rem;
}
.footer-grid { display: grid; gap: 2.4rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid .logo-plate { margin-bottom: 1.1rem; }
.footer-grid .logo-plate img { height: 28px; }
.footer-grid h4 {
  font-family: var(--font-display);
  color: #fff; font-size: 1rem; margin: 0 0 0.8rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.15rem; }
/* Tautan footer diberi tinggi sentuh yang layak di layar sentuh */
.footer-grid li a { display: inline-block; padding: 0.7rem 0; }
.footer-grid li:not(:has(a)) { margin-bottom: 0.55rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--gold); }
.footer-legal {
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between;
}

/* ---------- Komponen halaman turunan ---------- */
/* Track (layanan) */
.track { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--raise); }
.track__head { padding: clamp(1.3rem, 2.5vw, 1.9rem); background: var(--raise-2); border-bottom: 1px solid var(--line); }
.track__head h3 { color: #fff; margin: 0 0 0.3em; }
.track__head p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.track details { border-top: 1px solid var(--line); }
.track details:first-of-type { border-top: 0; }
.track summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 1.05rem clamp(1.3rem, 2.5vw, 1.9rem);
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem;
  color: var(--ink);
  transition: background-color 0.25s;
}
.track summary:hover { background: oklch(0.235 0.055 277 / 0.5); }
.track summary::-webkit-details-marker { display: none; }
.track summary .lvl { font-weight: 800; color: var(--gold); font-size: 0.95rem; min-width: 4.2rem; }
.track summary::after {
  content: "+"; margin-left: auto; font-weight: 600; color: var(--ink-dim);
  transition: transform 0.25s var(--ease-out);
}
.track details[open] summary::after { transform: rotate(45deg); }
.track details[open] summary { color: var(--gold); }
.track__body { padding: 0 clamp(1.3rem, 2.5vw, 1.9rem) 1.4rem; }
.track__body p { font-size: 0.99rem; color: var(--ink-soft); }
.track__body ol { margin: 0.7rem 0 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; font-size: 0.97rem; }
.track__body ol li { margin-bottom: 0.35rem; break-inside: avoid; }
@media (max-width: 620px) { .track__body ol { columns: 1; } }

/* Timeline (tentang) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.2rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .year { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--gold); line-height: 1.3; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Cert path (sertifikasi) */
.cert-path {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
}
.cert-path span { padding: 0.5rem 1rem; border-radius: 10px; background: var(--raise-2); border: 1px solid var(--line-strong); color: #fff; }
.cert-path .arrow { background: none; border: 0; color: var(--red); padding: 0; font-size: 1.2rem; }

/* Flow (beyond analytics) */
.flow { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: fstep; }
.flow li {
  counter-increment: fstep;
  position: relative;
  padding: 0 0 1.25rem 2.6rem;
  border-left: 1px solid var(--line);
  margin-left: 0.9rem;
}
.flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow li::before {
  content: counter(fstep);
  position: absolute; left: -0.95rem; top: -0.1rem;
  width: 1.9rem; height: 1.9rem;
  display: grid; place-items: center;
  background: var(--raise-2);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--gold);
}
.flow strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.flow p { font-size: 0.96rem; margin: 0; }

/* Contact line (kontak) */
.contact-line { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-line:last-child { border-bottom: 0; }
.contact-line .label { font-family: var(--font-display); font-weight: 700; min-width: 7.5rem; color: var(--gold); }
.contact-line a { font-size: 1.08rem; }

/* Kolom silabus / kredensial */
.syllabus, .cred-cols { columns: 2; column-gap: 2.4rem; padding-left: 1.2em; margin: 0.8rem 0 0; font-size: 0.99rem; }
.syllabus li, .cred-cols li { margin-bottom: 0.42rem; break-inside: avoid; }
@media (max-width: 660px) { .syllabus, .cred-cols { columns: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0.001;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 0.09s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.18s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.27s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { display: none; }
  html.js .reveal, html.js .hero [data-hero] { opacity: 1; transform: none; transition: none; animation: none; }
  .btn, .nav__links, .nav__toggle span, .panel, .chips li { transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
  .marquee [aria-hidden="true"] { display: none; }
  .collage__item { animation: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.grid-2 { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: clamp(1.4rem, 3vw, 2rem); }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   ASET PENTING — artikel, media sosial, aset lainnya
   ============================================================ */

/* ---------- Pintasan bagian ---------- */
.jump {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  list-style: none; padding: 0; margin: 1.8rem 0 0;
}
.jump a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
  background: oklch(0.235 0.055 277 / 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), background-color 0.25s;
}
.jump a:hover { border-color: var(--gold-dim); color: var(--ink); transform: translateY(-2px); }
.jump .n {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem; color: var(--gold);
  background: oklch(0.145 0.032 277 / 0.7);
  border-radius: 99px; padding: 0.1rem 0.5rem;
}

/* ---------- Kepala bagian ---------- */
.sect-head {
  display: grid; gap: 1.1rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
@media (min-width: 900px) {
  .sect-head { grid-template-columns: 1.05fr 0.95fr; align-items: end; }
}
.sect-head .lede { margin-bottom: 0; }

/* ---------- Kartu artikel ---------- */
.article-grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
@media (min-width: 700px)  { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex; flex-direction: column;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.article-card:hover { transform: translateY(-5px); border-color: var(--line-strong); color: inherit; }
.article-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-deep); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.article-card h3 { font-size: 1.14rem; margin: 0; line-height: 1.28; }
.article-card:hover h3 { color: #fff; }
.article-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.article-card__meta {
  margin-top: auto; padding-top: 0.7rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem;
  font-family: var(--font-display); font-size: 0.82rem; color: var(--ink-dim);
}
.tag {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 99px;
  padding: 0.2rem 0.65rem;
}

/* ---------- Kartu kanal media sosial ---------- */
.channel {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.channel__head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem clamp(1.1rem, 2.5vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  background: var(--raise-2);
  flex-wrap: wrap;
}
.channel__mark {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
}
.channel__mark svg { width: 26px; height: 26px; display: block; }
.channel__id { flex: 1; min-width: 150px; }
.channel__id h3 { margin: 0 0 0.1rem; font-size: 1.1rem; }
.channel__id span {
  font-family: var(--font-display); font-size: 0.88rem; color: var(--ink-dim);
}
.channel__body { padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.channel__body > p { font-size: 0.98rem; }

/* ---------- Kartu video ---------- */
.video-grid { display: grid; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 620px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video {
  display: block; text-decoration: none; color: inherit;
  border-radius: 12px; overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.video:hover { transform: translateY(-4px); border-color: var(--gold-dim); color: inherit; }
.video__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.115 0.028 277 / 0.55), transparent 55%);
}
.video__play {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  width: 46px; height: 32px;
  border-radius: 8px;
  background: oklch(0.55 0.24 27 / 0.92);
  display: grid; place-items: center;
  z-index: 1;
  transition: transform 0.3s var(--ease), background-color 0.25s;
}
.video__play::before {
  content: ""; width: 0; height: 0;
  border-left: 11px solid #fff;
  border-block: 7px solid transparent;
  margin-left: 3px;
}
.video:hover .video__play { transform: scale(1.12); background: oklch(0.6 0.25 27); }
.video__title {
  padding: 0.7rem 0.85rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 550;
  line-height: 1.35;
  color: var(--ink);
}
.video:hover .video__title { color: #fff; }

/* ---------- Kartu tautan sosial (IG, TikTok) ---------- */
.social-links { display: grid; gap: 1rem; }
@media (min-width: 720px) { .social-links { grid-template-columns: repeat(2, 1fr); } }
.social-link {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.2rem 1.35rem;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.social-link:hover { transform: translateY(-4px); border-color: var(--gold-dim); color: inherit; }
.social-link .channel__mark { width: 52px; height: 52px; }
.social-link .channel__mark svg { width: 29px; height: 29px; }
.social-link b {
  display: block;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.social-link span { font-size: 0.93rem; color: var(--ink-soft); }
.social-link .arr {
  margin-left: auto; color: var(--gold); font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}
.social-link:hover .arr { transform: translateX(4px); }

/* ---------- Keadaan kosong ---------- */
.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  background: oklch(0.19 0.045 277 / 0.4);
}
.empty h3 { margin-bottom: 0.5rem; }
.empty p { margin-inline: auto; max-width: 50ch; color: var(--ink-soft); }

/* ---------- Remah roti ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  list-style: none; padding: 0; margin: 0 0 1.4rem;
  font-family: var(--font-display); font-size: 0.88rem;
}
.crumb li { display: flex; align-items: center; gap: 0.45rem; color: var(--ink-dim); }
.crumb li + li::before { content: "/"; color: var(--line-strong); }
.crumb a { color: var(--ink-soft); text-decoration: none; padding: 0.55rem 0; }
.crumb a:hover { color: var(--gold); }
.crumb [aria-current] { color: var(--ink); }

/* ---------- Badan artikel ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.9rem; }
.prose p, .prose li { font-size: 1.06rem; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5rem; }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 0 1.1rem 1.4rem;
  border-left: 2px solid var(--gold-dim);
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose figure { margin: 2rem 0; }
.prose figcaption {
  font-family: var(--font-display); font-size: 0.88rem;
  color: var(--ink-dim); margin-top: 0.6rem;
}
.prose .callout {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: oklch(0.19 0.045 277 / 0.7);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong:first-child { color: var(--gold); }

/* Gambar di dalam badan artikel */
.prose-gambar { margin: 2.2rem 0; }
.prose-gambar img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: 0 28px 60px -30px oklch(0.05 0.02 277 / 0.8);
}
.prose-gambar figcaption {
  font-family: var(--font-display); font-size: 0.88rem;
  color: var(--ink-dim); margin-top: 0.7rem; text-align: center;
}
/* Blok rancangan sendiri yang ditempel lewat editor */
.blok-kustom { margin: 2rem 0; }
.blok-kustom img { max-width: 100%; height: auto; }
.blok-kustom > *:first-child { margin-top: 0; }
.blok-kustom > *:last-child { margin-bottom: 0; }

.article-head { max-width: 68ch; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem;
  font-family: var(--font-display); font-size: 0.92rem; color: var(--ink-dim);
  margin-top: 1.2rem;
}
.article-hero {
  border-radius: var(--radius); overflow: hidden;
  margin: clamp(1.8rem, 4vw, 2.6rem) 0;
  box-shadow: 0 34px 70px -30px oklch(0.05 0.02 277 / 0.85);
}
.article-hero img { width: 100%; height: auto; display: block; }

/* Navigasi antar artikel */
.article-nav {
  display: grid; gap: 1rem;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .article-nav { grid-template-columns: repeat(2, 1fr); } }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--red); color: #fff; }
