/* =========================================================
   HALAMAN PROFIL MEDIA POSITIF
   Dipakai bersama oleh: tentangkami3.php dan tim-editorial.php
   Dibuat 27 Oktober 2026.
   Naikkan angka ?v= di file PHP setiap kali file ini diubah.
   ========================================================= */

:root {
  --brand: #1662d6;        /* biru logo Media Positif */
  --brand-deep: #0f3f8f;
  --sky: #0e9bd3;          /* biru muda, sama dengan footer situs */
  --spark: #f4b63f;        /* aksen hangat, dipakai sangat sedikit */
  --ink: #14213d;
  --ink-soft: #33415e;
  --muted: #5d6a84;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --tint: #eaf1fc;
  --line: #e0e7f1;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 50, 110, .10);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }

.pf-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- NAVIGASI ---------- */
.pf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.pf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.pf-logo img { height: 38px; width: auto; }
.pf-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.pf-menu a:hover { background: var(--tint); color: var(--brand); }
.pf-menu a.aktif { color: var(--brand); background: var(--tint); }
.pf-menu a.pf-beranda { background: var(--brand); color: #fff; }
.pf-menu a.pf-beranda:hover { background: var(--brand-deep); color: #fff; }

.pf-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.pf-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.pf-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pf-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pf-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .pf-toggle { display: flex; }
  .pf-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px max(20px, env(safe-area-inset-left, 0px)) 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(20, 50, 110, .08);
    display: none;
  }
  .pf-menu.terbuka { display: flex; }
  .pf-menu a { padding: 12px 14px; border-radius: 12px; }
}

/* ---------- HERO ---------- */
.pf-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(14, 155, 211, .18), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(22, 98, 214, .14), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg));
  padding-block: clamp(56px, 9vw, 110px) clamp(56px, 8vw, 96px);
}
.pf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 40px;
  align-items: center;
}
.pf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pf-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--spark);
}
.pf-hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.pf-hero h1 .pf-garis {
  background: linear-gradient(90deg, var(--brand), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf-hero-lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pf-btn-utama { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(22, 98, 214, .28); }
.pf-btn-utama:hover { background: var(--brand-deep); transform: translateY(-2px); }
.pf-btn-kedua { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.pf-btn-kedua:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.pf-btn span[aria-hidden] { transition: transform .2s; }
.pf-btn:hover span[aria-hidden] { transform: translateX(4px); }

/* Ilustrasi hero: batang naik seperti ikon logo MP
   (melambangkan "tumbuh" - tantangan jadi peluang) */
.pf-bars {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  box-shadow: 0 30px 60px rgba(15, 63, 143, .30);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7%;
  padding: 16% 14% 16%;
  overflow: hidden;
}
.pf-bars::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%);
}
.pf-bar {
  flex: 1;
  border-radius: 999px;
  background: #fff;
  transform-origin: bottom;
}
.pf-bar:nth-child(1) { height: 28%; }
.pf-bar:nth-child(2) { height: 48%; }
.pf-bar:nth-child(3) { height: 70%; }
.pf-bar:nth-child(4) { height: 100%; background: rgba(255,255,255,.55); }
.pf-dot {
  position: absolute;
  top: 18%;
  left: 16%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 0 8px rgba(244, 182, 63, .25);
}

/* Lingkaran dekorasi yang melayang pelan */
.pf-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(22, 98, 214, .14);
}
.pf-float.f1 { width: 140px; height: 140px; top: 12%; left: 46%; }
.pf-float.f2 { width: 70px; height: 70px; bottom: 14%; left: 6%; border-color: rgba(14, 155, 211, .25); }
.pf-float.f3 { width: 16px; height: 16px; top: 24%; right: 8%; background: rgba(244, 182, 63, .6); border: 0; }

@media (max-width: 860px) {
  .pf-hero-grid { grid-template-columns: 1fr; }
  .pf-bars { max-width: 220px; margin: 8px auto 0; border-radius: 24px; }
}

/* ---------- SEKSI UMUM ---------- */
.pf-section { padding-block: clamp(56px, 8vw, 96px); }
.pf-section.pf-putih { background: var(--surface); }
.pf-head { max-width: 680px; margin-bottom: clamp(30px, 5vw, 48px); }
.pf-head.tengah { margin-left: auto; margin-right: auto; text-align: center; }
.pf-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
.pf-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.pf-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

/* ---------- SIAPA KAMI ---------- */
.pf-about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.pf-about-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.pf-about-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-about-badge {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,.94);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--brand-deep);
  font-size: .95rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.pf-about-text { display: flex; flex-direction: column; gap: 16px; }
.pf-about-text .pf-kutip {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.pf-about-text p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .pf-about { grid-template-columns: 1fr; }
  .pf-about-img { aspect-ratio: 16 / 10; }
}

/* ---------- KATEGORI ---------- */
.pf-topik {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pf-topik-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pf-topik-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pf-ikon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--brand);
  margin-bottom: 16px;
}
.pf-ikon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-topik-item h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.pf-topik-item p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 900px) { .pf-topik { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pf-topik { grid-template-columns: 1fr; } }

/* ---------- KARTU BERGAMBAR ---------- */
.pf-kartu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pf-kartu {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.pf-kartu:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-kartu-img { aspect-ratio: 16 / 10; overflow: hidden; }
.pf-kartu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pf-kartu:hover .pf-kartu-img img { transform: scale(1.05); }
.pf-kartu-isi { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pf-kartu-isi h3 { font-size: 1.18rem; font-weight: 700; }
.pf-kartu-isi p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .pf-kartu-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- PRINSIP / LANGKAH ---------- */
.pf-prinsip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pf-prinsip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px;
}
.pf-centang {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
}
.pf-prinsip-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.pf-prinsip-item p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 760px) { .pf-prinsip { grid-template-columns: 1fr; } }

/* Alur kerja bernomor (urutan memang bermakna) */
.pf-alur {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: alur;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pf-alur li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 22px;
}
.pf-alur li::before {
  counter-increment: alur;
  content: counter(alur);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 14px;
}
.pf-alur h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.pf-alur p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
@media (max-width: 900px) { .pf-alur { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pf-alur { grid-template-columns: 1fr; } }

/* ---------- MISI & VISI ---------- */
.pf-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.pf-mv-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  color: #fff;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
}
.pf-mv-item:nth-child(2) { background: linear-gradient(150deg, #0b88bb, var(--brand)); }
.pf-mv-item::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -70px; top: -70px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,.08);
}
.pf-mv-item .pf-ikon { background: rgba(255,255,255,.16); color: #fff; }
.pf-mv-item h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.pf-mv-item p { color: rgba(255,255,255,.92); font-size: 1.02rem; }
@media (max-width: 760px) { .pf-mv { grid-template-columns: 1fr; } }

/* ---------- AJAKAN ---------- */
.pf-ajakan {
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.pf-ajakan::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,155,211,.45), transparent 65%);
}
.pf-ajakan > * { position: relative; }
.pf-ajakan h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.pf-ajakan p { color: rgba(255,255,255,.75); margin-top: 8px; max-width: 48ch; }
.pf-ajakan .pf-btn-utama { background: #fff; color: var(--ink); box-shadow: none; }
.pf-ajakan .pf-btn-utama:hover { background: var(--spark); color: var(--ink); }

/* ---------- TIM ---------- */
.pf-tim {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pf-orang {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.pf-orang:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: .02em;
  background: linear-gradient(140deg, var(--brand), var(--sky));
  box-shadow: 0 0 0 6px var(--tint);
}
.pf-avatar.v2 { background: linear-gradient(140deg, #0b88bb, #36c0e0); }
.pf-avatar.v3 { background: linear-gradient(140deg, #5a4fcf, var(--brand)); }
.pf-avatar.v4 { background: linear-gradient(140deg, #1f8a6f, #3cc1a0); }
.pf-avatar.v5 { background: linear-gradient(140deg, #d9822b, var(--spark)); }
.pf-avatar.v6 { background: linear-gradient(140deg, #c2457a, #ef7aa8); }
.pf-orang h3 { font-size: 1.15rem; font-weight: 700; }
.pf-peran {
  display: inline-block;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--tint);
  padding: 4px 12px;
  border-radius: 999px;
}
.pf-orang p { margin-top: 14px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.pf-tim.kecil .pf-avatar { width: 76px; height: 76px; font-size: 1.5rem; }
@media (max-width: 900px) { .pf-tim { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pf-tim { grid-template-columns: 1fr; } }

/* ---------- LEGALITAS ---------- */
.pf-legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px 40px;
}
.pf-legal dl { margin: 0; display: grid; gap: 14px; }
.pf-legal dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-legal dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .pf-legal { grid-template-columns: 1fr; } }

/* ---------- FOOTER HALAMAN ---------- */
.pf-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 44px 32px;
  text-align: center;
}
.pf-footer-logo { height: 40px; width: auto; margin: 0 auto 18px; }
.pf-footer address { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.pf-footer address strong { display: block; color: var(--ink); margin-bottom: 2px; }
.pf-sosial { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
.pf-sosial a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: background .2s, transform .2s;
}
.pf-sosial a:hover { background: var(--tint); transform: translateY(-2px); }
.pf-sosial img { width: 20px; height: 20px; object-fit: contain; }
.pf-footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.pf-footer-legal a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.pf-footer-legal a:hover { color: var(--brand); }
.pf-copy { margin-top: 16px; color: var(--muted); font-size: .85rem; }

/* ---------- ANIMASI ---------- */
/* Isi SELALU tampil kalau JavaScript tidak jalan.
   Animasi muncul-dari-bawah hanya aktif kalau <html> diberi kelas "js-anim". */
.js-anim .muncul {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-anim .muncul.terlihat { opacity: 1; transform: none; }
.js-anim .muncul.jeda-1 { transition-delay: .08s; }
.js-anim .muncul.jeda-2 { transition-delay: .16s; }
.js-anim .muncul.jeda-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: no-preference) {
  .pf-bar { animation: tumbuh 1.1s cubic-bezier(.2,.8,.2,1) both; }
  .pf-bar:nth-child(2) { animation-delay: .15s; }
  .pf-bar:nth-child(3) { animation-delay: .3s; }
  .pf-bar:nth-child(4) { animation-delay: .45s, 1.6s; animation-name: tumbuh, denyut; animation-duration: 1.1s, 3s; animation-iteration-count: 1, infinite; }
  .pf-dot { animation: muncul-titik .6s .9s both, mengambang 4s 1.5s ease-in-out infinite; }
  .pf-float.f1 { animation: mengambang 9s ease-in-out infinite; }
  .pf-float.f2 { animation: mengambang 7s 1s ease-in-out infinite reverse; }
  .pf-float.f3 { animation: mengambang 5s .5s ease-in-out infinite; }
  .pf-hero .pf-masuk { animation: masuk .8s ease both; }
  .pf-hero .pf-masuk.d2 { animation-delay: .12s; }
  .pf-hero .pf-masuk.d3 { animation-delay: .24s; }
  .pf-hero .pf-masuk.d4 { animation-delay: .36s; }
}
@keyframes tumbuh { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes denyut { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes muncul-titik { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes mengambang { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes masuk { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .muncul { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
