/*
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:     1.4.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-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;
}

/* ── 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 ────────────────────────────────────────────── */
.ap-navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  height: 72px;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: all var(--ap-transition);
}
.ap-navbar--scrolled {
  background: rgba(15,23,42,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.ap-navbar__brand { display: flex; flex-direction: column; }
.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;
}
.ap-navbar__sub {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.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.78);
  letter-spacing: 0.03em;
  transition: color var(--ap-transition);
}
.ap-navbar__menu a:hover,
.ap-navbar__menu .current-menu-item > a,
.ap-navbar__menu .current_page_item > a { color: var(--ap-gold); }

.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 var(--ap-transition);
}
.ap-navbar__cta:hover { background: var(--ap-gold-lt); color: var(--ap-navy); }

.ap-navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.ap-navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ap-white);
  transition: all var(--ap-transition);
}

/* ── 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.42); 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); }

/* ── 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);
  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(6,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); font-weight: 600; }

/* ── 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.38); 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.3); }
.ap-input:focus { border-color: var(--ap-gold); }

/* ── INSIGHTS GRID ─────────────────────────────────────── */
.ap-insights__grid { display: grid; grid-template-columns: repeat(5,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: 32px; }
.ap-insight__body { padding: 20px 20px 24px; }
.ap-insight__tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ap-gold); margin-bottom: 10px; display: block;
}
.ap-insight__title {
  font-family: var(--ap-ff-display); font-size: 15px;
  font-weight: 600; color: var(--ap-navy); line-height: 1.4; margin-bottom: 14px;
}
.ap-read-more {
  font-size: 11px; font-weight: 600; color: var(--ap-gold);
  letter-spacing: 0.1em; 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.28);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px;
}
.ap-footer__brand-desc {
  font-size: 13px; color: rgba(255,255,255,0.42);
  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.42); 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.3);
  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.28); }
.ap-footer__legal { display: flex; gap: 24px; }
.ap-footer__legal a { font-size: 12px; color: rgba(255,255,255,0.28); 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);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ap-container { padding-left: 32px; padding-right: 32px; }
  .ap-navbar { padding: 0 32px; }
  .ap-navbar__menu { gap: 20px; }
  .ap-hero__inner { grid-template-columns: 1fr; padding: 0 32px; }
  .ap-hero__photo { display: none; }
  .ap-stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-advise__grid { grid-template-columns: repeat(3,1fr); }
  .ap-expertise__grid { grid-template-columns: 1fr 1fr; }
  .ap-books__grid { grid-template-columns: repeat(3,1fr); }
  .ap-insights__grid { grid-template-columns: repeat(3,1fr); }
  .ap-industries__grid { grid-template-columns: repeat(4,1fr); }
  .ap-founder__inner { grid-template-columns: 1fr; gap: 48px; }
  .ap-founder__img-wrap { max-width: 360px; }
  .ap-lead__inner { grid-template-columns: 1fr; gap: 32px; }
  .ap-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .ap-container { padding-left: 20px; padding-right: 20px; }
  .ap-section { padding-top: 64px; padding-bottom: 64px; }
  .ap-navbar { padding: 0 20px; }
  .ap-navbar__menu { display: none; }
  .ap-navbar__hamburger { display: flex; }
  .ap-navbar--mobile-open .ap-navbar__menu {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; width: 100%;
    background: var(--ap-navy); padding: 24px 20px;
    gap: 16px; border-top: 1px solid rgba(201,162,39,0.15);
  }
  .ap-stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .ap-advise__grid { grid-template-columns: repeat(2,1fr); }
  .ap-expertise__grid { grid-template-columns: 1fr; }
  .ap-books__grid { grid-template-columns: repeat(2,1fr); }
  .ap-insights__grid { grid-template-columns: 1fr 1fr; }
  .ap-industries__grid { grid-template-columns: repeat(3,1fr); }
  .ap-footer__main { grid-template-columns: 1fr; }
  .ap-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ap-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ap-form-row { grid-template-columns: 1fr; }
  .ap-lead__cover { display: none; }
  .ap-media-bar__inner { flex-direction: column; gap: 24px; align-items: flex-start; padding: 32px 20px; }
  .ap-media-bar__logos { gap: 24px; }
}

@media (max-width: 480px) {
  .ap-advise__grid { grid-template-columns: repeat(2,1fr); }
  .ap-books__grid { grid-template-columns: 1fr 1fr; }
  .ap-insights__grid { grid-template-columns: 1fr; }
  .ap-industries__grid { grid-template-columns: repeat(2,1fr); }
  .ap-founder__checks { grid-template-columns: 1fr; }
  .ap-hero__actions { flex-direction: column; }
}

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

/* ── ARCHIVE / CARD GRID (added v1.4) ──────────────────── */
.ap-grid { display: grid; gap: 32px; }
.ap-grid--3 { grid-template-columns: repeat(3,1fr); }
@media (max-width:1024px) { .ap-grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px)  { .ap-grid--3 { grid-template-columns: 1fr; } }

.ap-card { background: var(--ap-white); border: 1px solid var(--ap-grey-100); border-radius: 4px; 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; }

/* ── PAGE HEADER BANNER ─────────────────────────────────── */
.ap-page-header { background: var(--ap-navy); padding: 80px 0 48px; }
.ap-page-header__title { font-family: var(--ap-ff-display); font-size: clamp(28px,4vw,48px); color: var(--ap-white); font-weight: 600; }

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

/* ── 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; border-radius: 2px; }
.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); }
