/*
Theme Name:  Affandi & Partners
Theme URI:   https://affandipartners.com
Author:      Santribizz Dev Team
Author URI:  https://affandipartners.com
Description: Premium boutique law firm WordPress theme for Affandi & Partners — Corporate Recovery, Restructuring & Dispute Resolution. Singapore-inspired minimalist luxury design with navy and gold color system.
Version:     2.1.0
Stable tag:  2.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affandi-partners
Tags: law-firm, corporate, professional, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --ap-navy:     #0F172A;
  --ap-navy-mid: #1E2D4A;
  --ap-gold:     #C9A227;
  --ap-gold-lt:  #E0BE6A;
  --ap-gold-dark: #8C6F1A; /* varian gelap utk teks di atas background terang (WCAG AA: 4.77:1 vs #C9A227 yg hanya 2.42:1) */
  --ap-white:    #FFFFFF;
  --ap-grey-50:  #F8F8F6;
  --ap-grey-100: #F0EDE8;
  --ap-grey-300: #D4CFC8;
  --ap-grey-500: #8A8478;
  --ap-grey-700: #4A4540;
  --ap-text:     #1A1614;

  --ap-ff-display: 'Playfair Display', Georgia, serif;
  --ap-ff-body:    'Inter', system-ui, sans-serif;
  --ap-ff-accent:  'Cormorant Garamond', Georgia, serif;

  --ap-radius: 0px;
  --ap-transition: 0.22s ease;
  --ap-shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --ap-shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --ap-shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ap-ff-body);
  color: var(--ap-text);
  background: var(--ap-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--ap-transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ap-ff-body); }
input, textarea, select { font-family: var(--ap-ff-body); }

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ap-ff-display);
  color: var(--ap-navy);
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: clamp(36px, 4.5vw, 60px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin-bottom: 1em; color: var(--ap-grey-700); line-height: 1.75; }

/* ── LAYOUT CONTAINERS ─────────────────────────────────── */
.ap-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}

.ap-section { padding-top: 96px; padding-bottom: 96px; }
.ap-section--sm { padding-top: 64px; padding-bottom: 64px; }
.ap-section--lg { padding-top: 120px; padding-bottom: 120px; }

.ap-bg-white   { background: var(--ap-white); }
.ap-bg-light   { background: var(--ap-grey-50); }
.ap-bg-navy    { background: var(--ap-navy); }

/* ── BUTTONS ───────────────────────────────────────────── */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ap-ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--ap-transition);
  text-decoration: none;
  white-space: nowrap;
}

.ap-btn--primary {
  background: var(--ap-gold);
  color: var(--ap-navy);
}
.ap-btn--primary:hover {
  background: var(--ap-gold-lt);
  transform: translateY(-1px);
  color: var(--ap-navy);
}

.ap-btn--outline-gold {
  background: transparent;
  color: var(--ap-gold);
  border: 1px solid var(--ap-gold);
}
.ap-btn--outline-gold:hover {
  background: var(--ap-gold);
  color: var(--ap-navy);
}

.ap-btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.28);
}
.ap-btn--outline-white:hover {
  border-color: var(--ap-gold);
  color: var(--ap-gold);
}

/* ── SECTION EYEBROW ───────────────────────────────────── */
.ap-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ap-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ap-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ap-gold);
  flex-shrink: 0;
}
/* Di atas background terang, --ap-gold (#C9A227) gagal kontras WCAG AA (2.42:1).
   Varian gelap dipakai otomatis di section berlatar putih/terang, supaya label
   eyebrow tetap mudah dibaca tanpa perlu mengubah markup di tiap section. */
.ap-bg-white .ap-eyebrow,
.ap-bg-light .ap-eyebrow {
  color: var(--ap-gold-dark);
}

/* ── SECTION HEADER ────────────────────────────────────── */
.ap-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.ap-view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--ap-navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ap-navy);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--ap-transition);
}
.ap-view-all:hover { color: var(--ap-gold); border-color: var(--ap-gold); }
.ap-view-all--white { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.ap-view-all--white:hover { color: var(--ap-gold); border-color: var(--ap-gold); }

/* ══════════════════════════════════════════════════════
   NAVBAR — Adaptive v2
   States: default | transparent (hero) | scrolled/compact
   Theme:  dark (default) | light (via data-theme="light")
   ══════════════════════════════════════════════════════ */

/* ── Base navbar ── */
.ap-navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;

  /* Default: solid dark */
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.15);

  /* Transisi semua properti visual */
  transition:
    height 0.35s cubic-bezier(0.4,0,0.2,1),
    background 0.35s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
    border-color 0.35s cubic-bezier(0.4,0,0.2,1),
    padding 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── Transparent mode — di atas hero, belum scroll ── */
.ap-navbar--transparent {
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.72) 0%,
    rgba(10, 22, 40, 0.0) 100%
  );
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom-color: transparent;
  box-shadow: none;
}

/* ── Scrolled / Compact — setelah melewati hero ── */
.ap-navbar--scrolled {
  background: rgba(10, 22, 40, 1);
  box-shadow: 0 2px 32px rgba(0,0,0,0.35);
  border-bottom-color: rgba(201,162,39,0.2);
}
.ap-navbar--compact {
  height: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Logo transisi ukuran — smooth shrink saat compact ── */
.ap-navbar__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
}
/* Wordmark langsung di dalam brand — pastikan tampil */
.ap-navbar__brand .ap-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.ap-navbar__brand .ap-wordmark__name {
  font-family: var(--ap-ff-display, 'Playfair Display', serif);
  font-size: 15px;
  font-weight: 700;
  color: #c9a227;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  line-height: 1.2;
  transition: font-size 0.3s ease, color 0.3s ease;
}
.ap-navbar__brand .ap-wordmark__tagline {
  font-size: 8px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  transition: opacity 0.3s ease;
}
.ap-navbar__brand .ap-logo,
.ap-navbar__brand .ap-navbar__logo {
  display: block;
  max-width: 200px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transition:
    max-width 0.35s cubic-bezier(0.4,0,0.2,1),
    max-height 0.35s cubic-bezier(0.4,0,0.2,1),
    filter 0.3s ease,
    opacity 0.3s ease;
}
/* Compact: logo mengecil */
.ap-navbar--compact .ap-navbar__brand .ap-logo,
.ap-navbar--compact .ap-navbar__brand .ap-navbar__logo {
  max-width: 160px;
  max-height: 40px;
}
/* Transparent (hero area): logo sedikit lebih besar */
.ap-navbar--transparent .ap-navbar__brand .ap-logo,
.ap-navbar--transparent .ap-navbar__brand .ap-navbar__logo {
  max-width: 220px;
  max-height: 58px;
}

/* ── Logo filter — adaptasi ke background terang/gelap ── */
/* Default: background gelap → logo original */
.ap-navbar .ap-logo,
.ap-navbar .ap-navbar__logo { filter: none; }

/* Background terang → logo jadi gelap/hitam */
.ap-navbar[data-theme="light"] .ap-logo,
.ap-navbar[data-theme="light"] .ap-navbar__logo {
  filter: brightness(0) saturate(100%);
}
/* Background terang → teks/ikon navbar jadi gelap */
.ap-navbar[data-theme="light"] .ap-navbar__menu a,
.ap-navbar[data-theme="light"] .ap-nav-dropdown__trigger {
  color: rgba(10, 22, 40, 0.85);
}
.ap-navbar[data-theme="light"] .ap-navbar__menu a:hover,
.ap-navbar[data-theme="light"] .ap-nav-dropdown__trigger:hover {
  color: var(--ap-navy);
}
.ap-navbar[data-theme="light"] .ap-navbar__hamburger span {
  background: var(--ap-navy);
}

/* ── Logo fallback teks ── */
.ap-navbar__name {
  font-family: var(--ap-ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ap-gold);
  letter-spacing: 0.04em;
  line-height: 1.1;
  transition: font-size 0.3s ease, color 0.3s ease;
}
.ap-navbar--compact .ap-navbar__name { font-size: 15px; }
.ap-navbar[data-theme="light"] .ap-navbar__name { color: var(--ap-navy); }

.ap-navbar__sub {
  font-size: 9px;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: opacity 0.25s ease;
}
.ap-navbar--compact .ap-navbar__sub { opacity: 0; height: 0; overflow: hidden; }
.ap-navbar[data-theme="light"] .ap-navbar__sub { color: rgba(10,22,40,0.45); }

/* ── Desktop menu ── */
.ap-navbar__menu {
  display: flex;
  gap: 28px;
  align-items: center;
}
.ap-navbar__menu a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}
.ap-navbar__menu a:hover,
.ap-navbar__menu .current-menu-item > a,
.ap-navbar__menu .current_page_item > a { color: var(--ap-gold); }

/* ── CTA button ── */
.ap-navbar__cta {
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 22px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.2s ease;
}
.ap-navbar__cta:hover {
  background: var(--ap-gold-lt);
  color: var(--ap-navy);
  transform: translateY(-1px);
}
.ap-navbar--compact .ap-navbar__cta { padding: 8px 18px; }

/* ── Hamburger ── */
.ap-navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.ap-navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ap-white);
  transition: all 0.3s ease;
}


/* ── WORDMARK (fallback teks saat tidak ada logo) ── */
.ap-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.2;
  min-width: 0; /* prevent overflow */
}
.ap-wordmark__name {
  font-family: var(--ap-ff-display, 'Playfair Display', serif);
  font-size: 15px;
  font-weight: 700;
  color: #c9a227; /* hardcode gold agar tidak tergantung var saat awal render */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  display: block;
  transition: font-size 0.3s ease, color 0.3s ease;
}
.ap-wordmark__tagline {
  font-family: var(--ap-ff-body, 'Inter', sans-serif);
  font-size: 8.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  display: block;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* Compact state (setelah scroll) */
.ap-navbar--compact .ap-wordmark__name { font-size: 13px; }
.ap-navbar--compact .ap-wordmark__tagline { opacity: 0; max-height: 0; overflow: hidden; }

/* Light theme (background terang di belakang navbar) */
.ap-navbar[data-theme="light"] .ap-wordmark__name { color: var(--ap-navy, #0a1628); }
.ap-navbar[data-theme="light"] .ap-wordmark__tagline { color: rgba(10,22,40,0.5); }

/* Transparent (di atas hero, belum scroll) */
.ap-navbar--transparent .ap-wordmark__name {
  font-size: 16px;
  color: #c9a227;
}
.ap-navbar--transparent .ap-wordmark__tagline { opacity: 1; }

/* Footer wordmark */
.ap-footer .ap-wordmark { gap: 4px; }
.ap-footer .ap-wordmark__name {
  color: #ffffff;
  font-size: 16px;
  max-width: 100%;
}
.ap-footer .ap-wordmark__tagline {
  color: rgba(255,255,255,0.58);
  font-size: 9px;
  max-width: 100%;
  opacity: 1;
}

/* wordmark mobile — handled in 900px block */
/* ── HERO ──────────────────────────────────────────────── */
.ap-hero {
  min-height: 100vh;
  padding-top: 72px;
  background: linear-gradient(105deg, #0A1020 0%, #0F1A2E 40%, #162040 70%, #1a2540 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ap-hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.ap-hero__glow {
  position: absolute; right: 0; top: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(201,162,39,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.ap-hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: stretch;
  width: 100%; max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  min-height: calc(100vh - 72px);
}
.ap-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}
.ap-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--ap-gold); letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 28px;
}
.ap-hero__eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--ap-gold); }
.ap-hero__headline {
  font-family: var(--ap-ff-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600; color: var(--ap-white);
  line-height: 1.12; margin-bottom: 28px;
  max-width: 620px;
}
.ap-hero__headline em { font-style: italic; color: var(--ap-gold-lt); }
.ap-hero__sub {
  font-size: 16px; color: rgba(255,255,255,0.62);
  line-height: 1.8; max-width: 520px;
  margin-bottom: 48px; font-weight: 300;
}
.ap-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.ap-hero__photo {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.ap-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: brightness(0.88) contrast(1.05);
}
.ap-hero__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,0.25) 60%, rgba(15,23,42,0.9) 100%);
  z-index: 1;
}
.ap-hero__nameplate {
  position: absolute; bottom: 32px; right: 0; z-index: 2;
  background: var(--ap-navy);
  border-left: 3px solid var(--ap-gold);
  padding: 14px 22px;
}
.ap-hero__nameplate .dr { font-size: 10px; color: var(--ap-gold); letter-spacing: 0.14em; text-transform: uppercase; }
.ap-hero__nameplate .nm { font-family: var(--ap-ff-display); font-size: 16px; color: var(--ap-white); font-weight: 600; }
.ap-hero__nameplate .cr { font-size: 10px; color: rgba(255,255,255,0.58); margin-top: 2px; letter-spacing: 0.05em; }

/* ── STATS BAR ─────────────────────────────────────────── */
.ap-stats-bar {
  background: var(--ap-white);
  border-bottom: 1px solid var(--ap-grey-100);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.ap-stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ap-stat {
  padding: 36px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  border-right: 1px solid var(--ap-grey-100);
}
.ap-stat:last-child { border-right: none; }
.ap-stat__icon { font-size: 24px; color: var(--ap-gold); opacity: 0.8; flex-shrink: 0; margin-top: 4px; }
.ap-stat__num {
  font-family: var(--ap-ff-display);
  font-size: 42px; font-weight: 700;
  color: var(--ap-navy); line-height: 1;
}
.ap-stat__num span { color: var(--ap-gold); }
.ap-stat__label { font-size: 13px; font-weight: 600; color: var(--ap-navy); margin: 6px 0 4px; }
.ap-stat__desc { font-size: 12px; color: var(--ap-grey-500); line-height: 1.5; }

/* ── ADVISE GRID ───────────────────────────────────────── */
.ap-advise__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.ap-advise__card {
  background: var(--ap-white);
  padding: 36px 24px; text-align: center;
  transition: all var(--ap-transition);
}
.ap-advise__card:hover {
  background: var(--ap-navy);
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-md);
}
.ap-advise__card:hover .ap-advise__label { color: var(--ap-white); }
.ap-advise__card:hover .ap-advise__icon  { color: var(--ap-gold); }
.ap-advise__icon  { font-size: 32px; margin-bottom: 14px; color: var(--ap-navy); display: block; }
.ap-advise__label { font-size: 13px; font-weight: 600; color: var(--ap-navy); }

/* ── CLIENT LOGO MARQUEE (auto-scroll, CSS-only) ──────────── */
.ap-client-marquee {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ap-client-marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ap-marquee-scroll 35s linear infinite;
}
.ap-client-marquee:hover .ap-client-marquee__track {
  animation-play-state: paused;
}
.ap-client-marquee__item {
  display: flex; align-items: center; justify-content: center;
  height: 48px; flex-shrink: 0;
  text-decoration: none;
  filter: grayscale(100%) opacity(0.65);
  transition: filter .25s, transform .25s;
}
.ap-client-marquee__item:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}
.ap-client-marquee__logo {
  max-height: 48px; max-width: 140px;
  width: auto; height: auto;
  object-fit: contain;
}
.ap-client-marquee__name {
  font-size: 13px; font-weight: 600; color: var(--ap-navy-lt);
  white-space: nowrap;
}
@keyframes ap-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ap-client-marquee__track { animation: none; }
  .ap-client-marquee { overflow-x: auto; }
}

/* ── EXPERTISE CARDS ───────────────────────────────────── */
.ap-expertise__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.ap-expertise__card { position: relative; overflow: hidden; }
.ap-expertise__img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.ap-expertise__img-ph {
  width: 100%; aspect-ratio: 4/3;
  background: var(--ap-navy-mid);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.ap-expertise__body {
  padding: 32px 28px 36px;
  background: var(--ap-white);
  border-top: 2px solid var(--ap-gold);
}
.ap-expertise__icon {
  width: 48px; height: 48px;
  background: var(--ap-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-top: -40px;
  position: relative; z-index: 1; margin-bottom: 16px;
}
.ap-expertise__title {
  font-family: var(--ap-ff-display);
  font-size: 20px; font-weight: 600;
  color: var(--ap-navy); margin-bottom: 14px;
}
.ap-expertise__list { margin-bottom: 22px; }
.ap-expertise__list li {
  font-size: 13px; color: var(--ap-grey-700);
  padding: 6px 0; border-bottom: 1px solid var(--ap-grey-100);
  display: flex; align-items: center; gap: 8px;
}
.ap-expertise__list li::before { content: '—'; color: var(--ap-gold); font-size: 11px; }
.ap-learn-more {
  font-size: 12px; font-weight: 600; color: var(--ap-gold-dark);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--ap-transition);
}
.ap-learn-more:hover { gap: 10px; }

/* ── FOUNDER ───────────────────────────────────────────── */
.ap-founder__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px; align-items: center;
}
.ap-founder__img-wrap { position: relative; }
.ap-founder__img, .ap-founder__img-ph {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
}
.ap-founder__img-ph {
  background: linear-gradient(160deg, #1e3a60 0%, #0e1e38 100%);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
  border: 1px solid rgba(201,162,39,0.18);
}
.ap-founder__accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--ap-gold); opacity: 0.1;
}
.ap-founder__name {
  font-family: var(--ap-ff-display);
  font-size: 44px; font-weight: 600;
  color: var(--ap-white); line-height: 1.1; margin-bottom: 8px;
}
.ap-founder__cred { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.ap-founder__bio {
  font-size: 15px; color: rgba(255,255,255,0.62);
  line-height: 1.85; margin-bottom: 32px; font-weight: 300;
}
.ap-founder__checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 40px;
}
.ap-founder__checks li {
  font-size: 13px; color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 10px;
}
.ap-founder__checks li::before { content: '✓'; color: var(--ap-gold); font-weight: 700; }

/* ── PUBLICATIONS ──────────────────────────────────────── */
.ap-books__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ap-book {
  background: var(--ap-white);
  box-shadow: var(--ap-shadow-sm);
  transition: all var(--ap-transition);
}
.ap-book:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-lg); }
.ap-book__cover {
  aspect-ratio: 3/4;
  padding: 20px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.ap-book__cover-title {
  font-family: var(--ap-ff-display);
  font-size: 13px; color: var(--ap-white); font-weight: 700;
  line-height: 1.35; margin-bottom: 8px;
}
.ap-book__cover-line { width: 24px; height: 1px; background: var(--ap-gold); margin: 8px auto; }
.ap-book__cover-author { font-size: 9px; color: rgba(255,255,255,0.5); letter-spacing: 0.07em; text-transform: uppercase; }
.ap-book__info { padding: 14px 14px 18px; }
.ap-book__title { font-size: 12px; font-weight: 600; color: var(--ap-navy); margin-bottom: 4px; line-height: 1.4; }
.ap-book__price { font-size: 12px; color: var(--ap-gold-dark); font-weight: 600; }

/* ── HOMEPAGE: JURNAL ILMIAH ──────────────────────────────
   Pola grid & responsive SAMA dengan .ap-books__grid (4 kolom
   desktop → horizontal scroll-snap di mobile, lihat breakpoint
   di bawah), tapi kartu jurnal didesain berbeda dari kartu buku:
   bukan "cover buku" bergambar, melainkan kartu teks dengan badge
   akreditasi Sinta sebagai aksen utama — sesuai karakter konten
   akademik (jurnal) vs komersial (buku), supaya kedua section
   tidak terlihat seperti duplikat satu sama lain. ────────── */
.ap-journals__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ap-journal-card {
  background: var(--ap-navy-mid);
  border: 1px solid rgba(201,162,39,0.18);
  border-top: 3px solid var(--ap-gold);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: all var(--ap-transition);
  min-height: 220px;
}
.ap-journal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.4);
  box-shadow: var(--ap-shadow-lg);
}
.ap-journal-card__badge {
  align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ap-navy); background: var(--ap-gold-lt);
  padding: 4px 10px; margin-bottom: 14px;
}
.ap-journal-card__title-link { text-decoration: none; }
.ap-journal-card__title {
  font-family: var(--ap-ff-display); font-size: 15px; font-weight: 700;
  color: var(--ap-white); line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ap-journal-card__title-link:hover .ap-journal-card__title { color: var(--ap-gold-lt); }
.ap-journal-card__meta {
  font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 18px;
}
.ap-journal-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.ap-journal-card__btn {
  flex: 1; min-width: 90px; text-align: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 10px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  transition: all var(--ap-transition);
}
.ap-journal-card__btn--outline {
  border: 1px solid var(--ap-gold); color: var(--ap-gold-lt); background: transparent;
}
.ap-journal-card__btn--outline:hover { background: rgba(201,162,39,0.12); }
.ap-journal-card__btn--solid {
  background: var(--ap-gold); color: var(--ap-navy); border: 1px solid var(--ap-gold);
}
.ap-journal-card__btn--solid:hover { background: var(--ap-gold-lt); }

/* ── LEAD MAGNET ───────────────────────────────────────── */
.ap-lead__inner {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.ap-lead__cover {
  width: 190px; aspect-ratio: 3/4;
  background: linear-gradient(145deg, #1a2d50 0%, #0a1628 100%);
  border: 1px solid rgba(201,162,39,0.25);
  padding: 22px; text-align: center;
  box-shadow: 12px 12px 0 rgba(201,162,39,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.ap-lead__cover-tag { font-size: 8px; color: var(--ap-gold); letter-spacing: 0.2em; text-transform: uppercase; }
.ap-lead__cover-title { font-family: var(--ap-ff-display); font-size: 14px; color: var(--ap-white); line-height: 1.4; }
.ap-lead__cover-line { width: 32px; height: 1px; background: var(--ap-gold); }
.ap-lead__cover-author { font-size: 9px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; }
.ap-lead__content-title {
  font-family: var(--ap-ff-display); font-size: 28px;
  color: var(--ap-white); font-weight: 600; line-height: 1.2; margin-bottom: 12px;
}
.ap-lead__content-desc { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.75; font-weight: 300; }
.ap-lead__form { min-width: 320px; }
.ap-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ap-input {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ap-white); font-size: 13px; padding: 13px 16px;
  outline: none; transition: border-color var(--ap-transition);
  font-family: var(--ap-ff-body);
}
.ap-input::placeholder { color: rgba(255,255,255,0.45); }
.ap-input:focus { border-color: var(--ap-gold); }

/* ── INSIGHTS GRID ─────────────────────────────────────── */
.ap-insights__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.ap-insight {
  background: var(--ap-white);
  border: 1px solid var(--ap-grey-100);
  overflow: hidden; transition: all var(--ap-transition);
}
.ap-insight:hover {
  border-color: var(--ap-gold);
  transform: translateY(-3px);
  box-shadow: var(--ap-shadow-md);
}
.ap-insight__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ap-insight__img-ph { width: 100%; aspect-ratio: 16/10; background: var(--ap-navy-mid); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ap-insight__body { padding: 16px 16px 20px; }
.ap-insight__tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ap-gold-dark); margin-bottom: 8px; display: block;
}
.ap-insight__title {
  font-family: var(--ap-ff-display); font-size: 13px;
  font-weight: 600; color: var(--ap-navy); line-height: 1.4; margin-bottom: 12px;
}
.ap-read-more {
  font-size: 10px; font-weight: 600; color: var(--ap-gold-dark);
  letter-spacing: 0.09em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ── INDUSTRIES ────────────────────────────────────────── */
.ap-industries__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.ap-industry {
  background: var(--ap-white); padding: 28px 16px; text-align: center;
  border-bottom: 2px solid transparent; transition: all var(--ap-transition);
}
.ap-industry:hover { background: var(--ap-navy); border-bottom-color: var(--ap-gold); }
.ap-industry:hover .ap-industry__name { color: var(--ap-white); }
.ap-industry:hover .ap-industry__icon  { color: var(--ap-gold); }
.ap-industry__icon  { font-size: 28px; display: block; margin-bottom: 10px; color: var(--ap-navy-mid); }
.ap-industry__name  { font-size: 12px; font-weight: 600; color: var(--ap-grey-700); }

/* ── MEDIA BAR ─────────────────────────────────────────── */
.ap-media-bar {
  background: var(--ap-white);
  border-top: 1px solid var(--ap-grey-100);
  border-bottom: 1px solid var(--ap-grey-100);
}
.ap-media-bar__inner {
  display: flex; align-items: center; padding: 40px 48px;
  max-width: 1280px; margin: 0 auto;
}
.ap-media-bar__label {
  font-size: 11px; color: var(--ap-grey-500);
  letter-spacing: 0.14em; text-transform: uppercase; margin-right: 48px; white-space: nowrap;
}
.ap-media-bar__logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.ap-media-logo {
  font-family: var(--ap-ff-display); font-weight: 700;
  color: var(--ap-grey-300); font-size: 16px; letter-spacing: 0.04em;
  transition: color var(--ap-transition);
}
.ap-media-logo:hover { color: var(--ap-grey-500); }

/* ── FOOTER ────────────────────────────────────────────── */
.ap-footer { background: var(--ap-navy); border-top: 1px solid rgba(201,162,39,0.14); }
.ap-footer__main {
  max-width: 1280px; margin: 0 auto; padding: 64px 48px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px;
}
.ap-footer__brand-name {
  font-family: var(--ap-ff-display); font-size: 20px;
  color: var(--ap-gold); font-weight: 600; margin-bottom: 4px;
}
.ap-footer__brand-sub {
  font-size: 9px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px;
}
.ap-footer__brand-desc {
  font-size: 13px; color: rgba(255,255,255,0.58);
  line-height: 1.75; margin-bottom: 24px; max-width: 280px;
}
.ap-footer__socials { display: flex; gap: 10px; }
.ap-footer__social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.58); transition: all var(--ap-transition);
}
.ap-footer__social:hover { border-color: var(--ap-gold); color: var(--ap-gold); }
.ap-footer__col-title {
  font-size: 11px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 600;
}
.ap-footer__links li { margin-bottom: 10px; }
.ap-footer__links a {
  font-size: 13px; color: rgba(255,255,255,0.52);
  transition: color var(--ap-transition);
}
.ap-footer__links a:hover { color: var(--ap-gold); }
.ap-footer__contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.55;
}
.ap-footer__contact-icon { color: var(--ap-gold); margin-top: 2px; flex-shrink: 0; }
.ap-footer__cta-box {
  background: rgba(201,162,39,0.06);
  border: 1px solid rgba(201,162,39,0.14);
  padding: 24px;
}
.ap-footer__cta-text { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.6; }
.ap-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 48px;
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.ap-footer__copy { font-size: 12px; color: rgba(255,255,255,0.55); }
.ap-footer__legal { display: flex; gap: 24px; }
.ap-footer__legal a { font-size: 12px; color: rgba(255,255,255,0.55); transition: color var(--ap-transition); }
.ap-footer__legal a:hover { color: var(--ap-gold); }

/* ── SINGLE POST / PAGE ────────────────────────────────── */
.ap-entry { max-width: 800px; margin: 120px auto 96px; padding: 0 48px; }
.ap-entry__title { font-size: clamp(28px, 3vw, 42px); margin-bottom: 24px; }
.ap-entry__meta { font-size: 13px; color: var(--ap-grey-500); margin-bottom: 40px; display: flex; gap: 16px; }
.ap-entry__content { font-size: 16px; line-height: 1.85; color: var(--ap-grey-700); }
.ap-entry__content h2,
.ap-entry__content h3 { margin: 40px 0 16px; color: var(--ap-navy); }
.ap-entry__content p { margin-bottom: 1.5em; }
.ap-entry__content ul, .ap-entry__content ol { padding-left: 24px; margin-bottom: 1.5em; }
.ap-entry__content li { margin-bottom: 8px; }
.ap-entry__content blockquote {
  border-left: 3px solid var(--ap-gold); margin: 32px 0;
  padding: 16px 24px; background: var(--ap-grey-50);
  font-family: var(--ap-ff-display); font-size: 18px; color: var(--ap-navy);
}

/* ── SIDEBAR ───────────────────────────────────────────── */
.ap-sidebar .widget { margin-bottom: 40px; }
.ap-sidebar .widget-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ap-navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--ap-grey-100);
}

/* ── SEARCH FORM ───────────────────────────────────────── */
.ap-search-form { display: flex; }
.ap-search-input {
  flex: 1; padding: 11px 16px;
  border: 1px solid var(--ap-grey-300); border-right: none;
  font-size: 13px; outline: none;
  transition: border-color var(--ap-transition);
}
.ap-search-input:focus { border-color: var(--ap-gold); }
.ap-search-submit {
  background: var(--ap-gold); color: var(--ap-navy);
  border: none; padding: 0 16px; font-size: 14px; cursor: pointer;
  transition: background var(--ap-transition);
}
.ap-search-submit:hover { background: var(--ap-gold-lt); }

/* ── PAGINATION ────────────────────────────────────────── */
.ap-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 64px; }
.ap-pagination .page-numbers {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--ap-navy);
  border: 1px solid var(--ap-grey-300); transition: all var(--ap-transition);
}
.ap-pagination .page-numbers.current,
.ap-pagination .page-numbers:hover {
  background: var(--ap-gold); color: var(--ap-navy); border-color: var(--ap-gold);
}

/* ── ARCHIVE / CARD GRID ───────────────────────────────── */
.ap-grid { display: grid; gap: 32px; }
.ap-grid--3 { grid-template-columns: repeat(3,1fr); }

/* ── PAGE HEADER BANNER ─────────────────────────────────── */
.ap-page-header { background: var(--ap-navy); padding: 100px 0 56px; }
.ap-page-header .ap-container { padding-left: 48px; padding-right: 48px; }

/* ── BUTTON SMALL ───────────────────────────────────────── */
.ap-btn--sm { padding: 10px 20px; font-size: 13px; }

/* ── CARD ───────────────────────────────────────────────── */
.ap-card { background: var(--ap-white); border: 1px solid var(--ap-grey-100); overflow: hidden; transition: box-shadow .2s; }
.ap-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,.10); }
.ap-card__thumb img { width:100%; height:200px; object-fit:cover; display:block; }
.ap-card__body { padding: 24px; }
.ap-card__title { font-family: var(--ap-ff-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.ap-card__title a { color: var(--ap-navy); text-decoration: none; }
.ap-card__title a:hover { color: var(--ap-gold); }
.ap-card__excerpt { font-size: 14px; color: var(--ap-grey-500); line-height: 1.6; margin-bottom: 16px; }

/* ── PAGINATION ─────────────────────────────────────────── */
.ap-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.ap-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--ap-grey-300); color: var(--ap-navy); text-decoration: none; font-size: 14px; }
.ap-pagination .page-numbers.current { background: var(--ap-gold); border-color: var(--ap-gold); color: var(--ap-white); }
.ap-pagination .page-numbers:hover:not(.current) { border-color: var(--ap-gold); color: var(--ap-gold); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Layout */
  .ap-container { padding-left: 32px; padding-right: 32px; }
  .ap-section { padding-top: 72px; padding-bottom: 72px; }

  /* Navbar */
  .ap-navbar { padding: 0 24px; height: 64px; }
  .ap-navbar--compact { height: 54px; }
  .ap-navbar__menu { gap: 14px; }
  .ap-navbar__menu a { font-size: 12px; }
  .ap-navbar__brand .ap-logo,
  .ap-navbar__brand .ap-navbar__logo { max-width: 160px; max-height: 44px; }

  /* Hero */
  .ap-hero__inner { grid-template-columns: 1fr; padding: 0 32px; min-height: auto; padding-top: 80px; padding-bottom: 80px; }
  .ap-hero__photo { display: none; }
  .ap-hero__content { padding: 0; }
  .ap-hero__headline { max-width: 100%; }
  .ap-hero__sub { max-width: 100%; }

  /* Stats */
  .ap-stats-bar__grid { grid-template-columns: repeat(2,1fr); }
  .ap-stat { padding: 28px 20px; }
  .ap-stat__num { font-size: 36px; }

  /* Sections */
  .ap-advise__grid { grid-template-columns: repeat(3,1fr); }
  .ap-expertise__grid { grid-template-columns: 1fr 1fr; }
  .ap-books__grid { grid-template-columns: repeat(4,1fr); }
  .ap-journals__grid { grid-template-columns: repeat(4,1fr); }
  .ap-insights__grid { grid-template-columns: repeat(4,1fr); }
  .ap-industries__grid { grid-template-columns: repeat(4,1fr); }

  /* Founder */
  .ap-founder__inner { grid-template-columns: 1fr; gap: 48px; max-width: 640px; margin: 0 auto; }
  .ap-founder__img-wrap { max-width: 320px; margin: 0 auto; }
  .ap-founder__name { font-size: 36px; }

  /* Lead */
  .ap-lead__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .ap-lead__cover { display: none; }
  .ap-lead__form { min-width: auto; width: 100%; }

  /* Footer */
  .ap-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 32px 40px; }
  .ap-footer__bottom { padding: 20px 32px; }

  /* Grid */
  .ap-grid--3 { grid-template-columns: repeat(2,1fr); }

  /* Page header */
  .ap-page-header { padding: 80px 0 40px; }
  .ap-page-header .ap-container { padding-left: 32px; padding-right: 32px; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Layout */
  .ap-container { padding-left: 16px; padding-right: 16px; }
  .ap-section { padding-top: 56px; padding-bottom: 56px; }
  .ap-section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }

  /* Navbar */
  .ap-navbar { padding: 0 16px; height: 60px; }
  .ap-navbar--compact { height: 52px; }
  .ap-navbar__name { font-size: 15px; }
  .ap-navbar__sub { display: none; }
  .ap-navbar__menu { display: none !important; }
  .ap-navbar__cta { display: none !important; }
  .ap-navbar__hamburger { display: flex !important; }
  .ap-navbar__brand .ap-logo,
  .ap-navbar__brand .ap-navbar__logo { max-width: 150px; max-height: 38px; }
  /* Wordmark ukuran mobile */
  .ap-navbar__brand .ap-wordmark__name { font-size: 13px; }
  .ap-navbar__brand .ap-wordmark__tagline { font-size: 7.5px; }
  .ap-navbar--compact .ap-wordmark__tagline { display: none; }
  /* Transparent mode di mobile: gradient lebih pendek */
  .ap-navbar--transparent {
    background: linear-gradient(to bottom, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.0) 100%);
  }
  .ap-navbar--mobile-open .ap-navbar__menu {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.98);
    padding: 32px 20px; gap: 4px;
    border-top: 1px solid rgba(201,162,39,0.15);
    overflow-y: auto; z-index: 9998;
  }
  .ap-navbar--mobile-open .ap-navbar__menu a {
    font-size: 18px; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
  }
  .ap-navbar--mobile-open .ap-navbar__menu a:hover { color: var(--ap-gold); }

  /* Hero */
  .ap-hero { min-height: auto; }
  .ap-hero__inner { padding: 48px 16px 56px; }
  .ap-hero__eyebrow { font-size: 10px; }
  .ap-hero__headline { font-size: clamp(26px, 7vw, 40px); margin-bottom: 20px; }
  .ap-hero__sub { font-size: 14px; margin-bottom: 32px; }
  .ap-hero__actions { flex-direction: column; gap: 12px; }
  .ap-hero__actions .ap-btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .ap-hero__trust { gap: 20px !important; margin-top: 32px !important; }
  .ap-hero__trust strong { font-size: 20px !important; }

  /* Stats */
  .ap-stats-bar__grid { grid-template-columns: repeat(2,1fr); }
  .ap-stat { padding: 20px 16px; gap: 10px; }
  .ap-stat__icon { font-size: 18px; }
  .ap-stat__num { font-size: 28px; }
  .ap-stat__label { font-size: 11px; }
  .ap-stat__desc { display: none; }

  /* Advise */
  .ap-advise__grid { grid-template-columns: repeat(2,1fr); gap: 1px; }
  .ap-advise__card { padding: 24px 16px; }
  .ap-advise__icon { font-size: 24px; }

  /* Expertise */
  .ap-expertise__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Books — scroll horizontal 1 baris, bukan wrap ke baris berikutnya */
  .ap-books__grid {
    display: flex; grid-template-columns: none;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ap-books__grid::-webkit-scrollbar { display: none; }
  .ap-books__grid .ap-book { flex: 0 0 42%; scroll-snap-align: start; }
  .ap-book__cover-title { font-size: 11px; }

  /* Jurnal — scroll horizontal 1 baris, sama pola dengan Books di atas */
  .ap-journals__grid {
    display: flex; grid-template-columns: none;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ap-journals__grid::-webkit-scrollbar { display: none; }
  .ap-journals__grid .ap-journal-card { flex: 0 0 78%; scroll-snap-align: start; min-height: auto; }

  /* Insights — scroll horizontal 1 baris, bukan wrap ke baris berikutnya */
  .ap-insights__grid {
    display: flex; grid-template-columns: none;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ap-insights__grid::-webkit-scrollbar { display: none; }
  .ap-insights__grid .ap-insight { flex: 0 0 70%; scroll-snap-align: start; }

  /* Industries */
  .ap-industries__grid { grid-template-columns: repeat(3,1fr); gap: 1px; }
  .ap-industry { padding: 20px 12px; }
  .ap-industry__icon { font-size: 22px; }
  .ap-industry__name { font-size: 11px; }

  /* Media bar */
  .ap-media-bar__inner { flex-direction: column; gap: 16px; padding: 24px 16px; }
  .ap-media-bar__label { margin-right: 0; }
  .ap-media-bar__logos { gap: 20px; flex-wrap: wrap; }
  .ap-media-logo { font-size: 13px; }

  /* Founder */
  .ap-founder__inner { padding: 0 16px; gap: 32px; }
  .ap-founder__name { font-size: 28px; }
  .ap-founder__bio { font-size: 14px; }
  .ap-founder__checks { grid-template-columns: 1fr; gap: 8px; }
  .ap-founder__checks li { font-size: 13px; }

  /* Lead magnet */
  .ap-lead__inner { padding: 40px 16px; }
  .ap-lead__content-title { font-size: 22px; }
  .ap-form-row { grid-template-columns: 1fr; gap: 8px; }
  .ap-input { padding: 14px 14px; }

  /* Footer */
  .ap-footer__main { grid-template-columns: 1fr; gap: 32px; padding: 40px 16px 32px; }
  .ap-footer__brand-desc { max-width: 100%; }
  .ap-footer__bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px; }
  .ap-footer__legal { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .ap-footer__cta-box { padding: 20px; }

  /* Page header */
  .ap-page-header { padding: 80px 0 32px; }
  .ap-page-header .ap-container { padding-left: 16px; padding-right: 16px; }

  /* Grid */
  .ap-grid--3 { grid-template-columns: 1fr; gap: 20px; }

  /* Entry */
  .ap-entry { margin: 80px auto 64px; padding: 0 16px; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE 480px
════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .ap-container { padding-left: 14px; padding-right: 14px; }
  .ap-section { padding-top: 48px; padding-bottom: 48px; }

  /* Hero */
  .ap-hero__inner { padding: 40px 14px 48px; }
  .ap-hero__headline { font-size: clamp(24px, 8vw, 34px); }
  .ap-hero__trust { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px !important; margin-top: 28px !important; }
  .ap-hero__trust > div { background: rgba(255,255,255,0.04); padding: 12px; border: 1px solid rgba(201,162,39,0.12); text-align: center; }

  /* Stats 2-col */
  .ap-stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .ap-stat { padding: 16px 12px; flex-direction: column; gap: 6px; }
  .ap-stat__icon { display: none; }
  .ap-stat__num { font-size: 26px; }

  /* Books — tetap pakai scroll horizontal dari breakpoint 768px, hanya kecilkan kartu sedikit */
  .ap-books__grid .ap-book { flex: 0 0 48%; }

  /* Jurnal — tetap pakai scroll horizontal dari breakpoint 768px */
  .ap-journals__grid .ap-journal-card { flex: 0 0 84%; }

  /* Insights — tetap pakai scroll horizontal dari breakpoint 768px */
  .ap-insights__grid .ap-insight { flex: 0 0 80%; }

  /* Industries */
  .ap-industries__grid { grid-template-columns: repeat(2,1fr); }

  /* Advise */
  .ap-advise__grid { grid-template-columns: repeat(2,1fr); }

  /* Founder */
  .ap-founder__name { font-size: 24px; }
  .ap-founder__checks { margin-bottom: 28px; }

  /* Footer */
  .ap-footer__main { padding: 32px 14px; }
  .ap-footer__bottom { padding: 14px; }

  /* Buttons */
  .ap-btn { padding: 14px 20px; font-size: 12px; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL 360px
════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .ap-container { padding-left: 12px; padding-right: 12px; }
  .ap-hero__headline { font-size: 22px; }
  .ap-books__grid .ap-book { flex: 0 0 58%; gap: 8px; }
  .ap-journals__grid .ap-journal-card { flex: 0 0 90%; padding: 18px 16px; }
  .ap-industries__grid { grid-template-columns: repeat(2,1fr); }
  .ap-advise__grid { grid-template-columns: 1fr 1fr; }
  .ap-stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .ap-footer__main { padding: 28px 12px; }
}

/* ── PRINT ─────────────────────────────────────────────── */
@media print {
  .ap-navbar, .ap-hero, .ap-lead-bg { display: none; }
  body { color: #000; background: #fff; }
}

/* ── EXPERTISE SERVICE CARDS ────────────────────────────── */
.ap-expertise-service-card:hover {
  border-color: var(--ap-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
}

/* ── CONTACT FORM STYLES ────────────────────────────────── */
.ap-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
@media (max-width:768px) {
  .ap-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ap-form-2col { grid-template-columns: 1fr !important; }
}

/* ── SINGLE ARTICLE ─────────────────────────────────────── */
.ap-single-grid { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
@media (max-width:968px) {
  .ap-single-grid { grid-template-columns: 1fr; }
  .ap-single-grid aside { position: static !important; }
}

/* ── FEATURED ARTICLE ───────────────────────────────────── */
.ap-featured-article { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 64px; background: #fff; border: 1px solid #e8e8e8; overflow: hidden; }
@media (max-width:768px) {
  .ap-featured-article { grid-template-columns: 1fr; }
  .ap-featured-article > div:first-child { aspect-ratio: 16/9; }
}

/* ── FILTER NAV SCROLLBAR HIDE ──────────────────────────── */
.ap-filter-nav { scrollbar-width: none; -ms-overflow-style: none; }
.ap-filter-nav::-webkit-scrollbar { display: none; }

/* ── WHATSAPP FLOAT PULSE ───────────────────────────────── */
@keyframes ap-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
#ap-wa-btn { animation: ap-pulse 2.5s infinite; }
#ap-wa-btn:hover { animation: none; }

/* ── STICKY MOBILE CTA BAR — hanya tampil di mobile ─────── */
@media (max-width: 768px) {
  #ap-sticky-cta {
    display: block;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  /* Geser WA button & back-to-top lebih tinggi supaya tidak tertutup sticky bar (~64px) */
  #ap-wa-btn   { bottom: calc(88px + 56px + env(safe-area-inset-bottom, 0px)) !important; }
  #ap-back-top { bottom: calc(24px + 56px + env(safe-area-inset-bottom, 0px)) !important; }
  #ap-wa-tooltip { bottom: calc(100px + 56px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ════════════════════════════════════════════════════════
   NAVBAR DROPDOWN — DESKTOP
════════════════════════════════════════════════════════ */
.ap-nav-dropdown { position: relative; }

.ap-nav-dropdown__trigger {
  background: none; border: none; cursor: pointer;
  font-family: var(--ap-ff-body); font-size: 13px;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75); padding: 4px 0;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.ap-nav-dropdown__trigger:hover,
.ap-nav-dropdown--open .ap-nav-dropdown__trigger { color: var(--ap-gold); }

.ap-nav-chevron {
  transition: transform .2s; fill: none;
  stroke: currentColor; stroke-width: 2;
}
.ap-nav-dropdown--open .ap-nav-chevron { transform: rotate(180deg); }

/* Panel */
.ap-nav-dropdown__panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; min-width: 280px;
  box-shadow: 0 20px 60px rgba(15,23,42,.18);
  border-top: 3px solid var(--ap-gold);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1000;
  display: flex; gap: 0;
}
.ap-nav-dropdown__panel--wide { min-width: 520px; }

.ap-nav-dropdown--open .ap-nav-dropdown__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ap-nav-dropdown__group {
  flex: 1; padding: 16px;
  border-right: 1px solid #f0ede8;
}
.ap-nav-dropdown__group:last-child { border-right: none; }

.ap-nav-dropdown__label {
  font-size: 9px; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; color: var(--ap-gold-dark); margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 1px solid #f0ede8;
}

.ap-nav-dropdown__panel a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 8px; color: var(--ap-navy);
  text-decoration: none; font-size: 13px;
  transition: background .15s;
  border-radius: 4px; margin-bottom: 2px;
}
.ap-nav-dropdown__panel a:hover { background: #f8f8f6; }
.ap-nav-dropdown__panel a strong { display: block; font-size: 13px; color: var(--ap-navy); }
.ap-nav-dropdown__panel a small { display: block; font-size: 11px; color: var(--ap-grey-500); margin-top: 2px; font-weight: 400; }

.ap-nav-item-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ════════════════════════════════════════════════════════
   MOBILE MENU — FULLSCREEN OVERLAY
════════════════════════════════════════════════════════ */
.ap-mobile-menu {
  position: fixed; inset: 0; z-index: 10000;
  background: #080f1c;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; display: flex; flex-direction: column;
}
.ap-mobile-menu.ap-mobile-menu--open {
  transform: translateX(0);
}
.ap-mobile-backdrop {
  position: fixed; inset: 0; z-index: 9996;
  background: rgba(0,0,0,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.ap-mobile-backdrop.ap-mobile-backdrop--show {
  opacity: 1; visibility: visible;
}

.ap-mobile-menu__inner {
  display: flex; flex-direction: column;
  min-height: 100%; padding: 0;
}

.ap-mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px; border-bottom: 1px solid rgba(201,162,39,.15);
  position: sticky; top: 0; background: #080f1c; z-index: 2;
}
.ap-mobile-menu__brand {
  font-family: var(--ap-ff-display); font-size: 18px;
  color: #fff; font-weight: 600; letter-spacing: .04em;
}
.ap-mobile-menu__close {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7); width: 38px; height: 38px;
  font-size: 18px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: .2s;
}
.ap-mobile-menu__close:hover { background: rgba(201,162,39,.2); color: var(--ap-gold); border-color: var(--ap-gold); }

.ap-mobile-menu__nav { flex: 1; padding: 12px 0; }

/* Mobile plain links */
.ap-mob-link {
  display: block; padding: 16px 24px;
  font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85);
  text-decoration: none; letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .15s, background .15s;
}
.ap-mob-link:hover { color: var(--ap-gold); background: rgba(201,162,39,.05); }

/* Mobile accordion */
.ap-mob-accordion { border-bottom: 1px solid rgba(255,255,255,.05); }

.ap-mob-accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: none; border: none;
  font-family: var(--ap-ff-body); font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.85); cursor: pointer; text-align: left;
  transition: color .15s;
}
.ap-mob-accordion__trigger:hover { color: var(--ap-gold); }
.ap-mob-accordion__trigger svg { flex-shrink: 0; transition: transform .25s; }
.ap-mob-accordion--open .ap-mob-accordion__trigger { color: var(--ap-gold); }
.ap-mob-accordion--open .ap-mob-accordion__trigger svg { transform: rotate(180deg); }

.ap-mob-accordion__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(255,255,255,.025);
}
.ap-mob-accordion--open .ap-mob-accordion__panel { max-height: 400px; }

.ap-mob-accordion__panel a {
  display: block; padding: 12px 24px 12px 44px;
  font-size: 14px; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .15s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ap-mob-accordion__panel a:hover { color: var(--ap-gold); }
.ap-mob-accordion__panel a:last-child { border-bottom: none; }

.ap-mobile-menu__footer {
  padding: 24px 20px 32px;
  border-top: 1px solid rgba(201,162,39,.15);
  background: rgba(0,0,0,.3);
}

/* Hide desktop hamburger on desktop */
@media (min-width: 769px) {
  .ap-navbar__hamburger { display: none !important; }
  .ap-mobile-menu { display: none !important; }
  .ap-mobile-backdrop { display: none !important; }
}

/* ════════════════════════════════════════════════════════
   PARTNER CARDS
════════════════════════════════════════════════════════ */
.ap-partner-card {
  background: #fff; border: 1px solid #e8e8e8;
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.ap-partner-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,.1);
  transform: translateY(-4px);
}

.ap-partner-card__photo-wrap {
  position: relative; overflow: hidden;
}
.ap-partner-card__photo {
  width: 100%; height: 240px;
  object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.ap-partner-card:hover .ap-partner-card__photo { transform: scale(1.04); }

.ap-partner-card__photo-ph {
  height: 200px; display: flex; align-items: center;
  justify-content: center; font-size: 64px;
  color: rgba(255,255,255,.1);
}

.ap-partner-card__role-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,33,64,.95) 0%, transparent 100%);
  color: var(--ap-gold); font-size: 9px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 20px 14px 10px;
}

.ap-partner-card__body { padding: 18px 18px 22px; }

.ap-partner-card__name {
  font-family: var(--ap-ff-display); font-size: 15px;
  color: var(--ap-navy); margin: 0 0 8px; line-height: 1.35;
}

.ap-partner-card__bio {
  font-size: 12.5px; color: #666; line-height: 1.65;
  margin: 0 0 14px; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.ap-partner-card__links { display: flex; gap: 6px; }
.ap-partner-link {
  font-size: 11px; color: var(--ap-navy);
  border: 1px solid #ddd; padding: 4px 10px;
  text-decoration: none; transition: .15s;
}
.ap-partner-link:hover { border-color: var(--ap-gold); color: var(--ap-gold); }

/* ── NAV ACTIVE STATE ───────────────────────────────── */
.ap-navbar__menu .ap-nav-active,
.ap-navbar__menu a.ap-nav-active { color: var(--ap-gold) !important; }
