/*
 * PlanSmartFi — Main Stylesheet
 * Version: 3.0.0
 *
 * Table of Contents:
 * 1.  Reset & Tokens
 * 2.  Accessibility
 * 3.  Typography
 * 4.  Buttons
 * 5.  Navigation
 * 6.  Hero
 * 7.  Marquee
 * 8.  Sections (shared)
 * 9.  Topics Grid
 * 10. Blog Cards
 * 11. Book Section
 * 12. Guide / Email Signup
 * 13. Mission
 * 14. Single Post
 * 15. Archive / Search
 * 16. Pagination
 * 17. Comments
 * 18. Footer
 * 19. WordPress Alignment Classes
 * 20. Reveal Animation
 * 21. Tablet  601px–1000px
 * 22. Mobile  ≤600px
 */

/* ═══════════════════════════════════════
   1. RESET & TOKENS
═══════════════════════════════════════ */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ─────────────────────────────────────────
   LIGHT MODE (default)
───────────────────────────────────────── */
:root {
	/* Fixed values — never change between themes */
	--violet:  #4a3fbf;
	--violet2: #6558d4;
	--amber:   #c98a00;
	--amber2:  #f0a500;
	--white:   #ffffff;
	--px:      56px;

	/* Theme-aware tokens — light defaults */
	--bg:      #faf9f6;
	--ink:     #0a0a0f;
	--ink2:    #2a2a3a;
	--slate:   #ffffff;
	--slate2:  #f3f0fb;
	--muted:   #6a6a8a;
	--border:  #e8e4f0;
	--chip-bg: #ede9fb;
	--chip-txt:#4a3fbf;
	--shadow:  0 2px 16px rgba(74, 63, 191, 0.08);

	/* Transition for smooth theme switch */
	--theme-transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─────────────────────────────────────────
   DARK MODE
───────────────────────────────────────── */
[data-theme="dark"] {
	--violet:  #5b4fcf;
	--violet2: #7b6fe0;
	--amber:   #f0a500;
	--amber2:  #ffd166;

	--bg:      #0a0a0f;
	--ink:     #ffffff;
	--ink2:    #c8c3f0;
	--slate:   #1a1a28;
	--slate2:  #22223a;
	--muted:   #7a7a9a;
	--border:  rgba(255, 255, 255, 0.08);
	--chip-bg: rgba(91, 79, 207, 0.15);
	--chip-txt:#7b6fe0;
	--shadow:  none;
}

html {
	scroll-behavior: smooth;
	background: var(--bg) !important;
	transition: background 0.3s ease;
}

body {
	background: var(--bg) !important;
	color: var(--ink);
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
	transition: var(--tt);
}

/* Subtle noise grain overlay */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.02;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

ul,
ol {
	list-style: none;
}

/* ═══════════════════════════════════════
   2. ACCESSIBILITY
═══════════════════════════════════════ */

/* Screen reader only — visually hidden but accessible */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--ink);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 10px 18px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 9999;
	background: var(--amber);
	color: var(--ink);
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}

.skip-link:focus {
	left: 8px;
}

/* Focus styles — works without colour alone */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ═══════════════════════════════════════
   3. TYPOGRAPHY
═══════════════════════════════════════ */

.eyebrow {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--violet2);
}

.display {
	color: var(--ink);
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--ink);
}

.display em {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	font-weight: 400;
	color: var(--amber);
}

.heading-md { font-size: clamp(28px, 3vw, 44px); }
.heading-sm { font-size: clamp(24px, 2.5vw, 36px); }

/* ═══════════════════════════════════════
   4. BUTTONS
═══════════════════════════════════════ */

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--amber);
	color: var(--ink);
	padding: 15px 30px;
	border-radius: 8px;
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(240, 165, 0, 0.2);
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
	white-space: nowrap;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(240, 165, 0, 0.3);
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 14px;
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 15px 26px;
	border-radius: 8px;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap;
	background: none;
	cursor: pointer;
}

.btn-ghost:hover {
	color: var(--violet);
	border-color: var(--violet);
}

/* ═══════════════════════════════════════
   5. NAVIGATION
═══════════════════════════════════════ */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--px);
	background: var(--slate)/*rgba(10, 10, 15, 0.88);*/
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
}
[data-theme"dark"] .nav {
    background:rgba(10,10,15,0.88);
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	flex-shrink: 0;
}

.nav-logo-mark {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	background: var(--violet);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Syne', sans-serif;
	font-size: 13px;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.03em;
	flex-shrink: 0;
}

.nav-logo-name {
	font-family: 'Syne', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	transition: color 0.3s;
	letter-spacing: -0.02em;
}

.nav-logo-name span {
	color: var(--amber);
}

/* WordPress nav_menu output */
.nav-links {
	display: flex;
	align-items: center;
	gap: 0;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
}

/* Kill any bullet that might bleed through from WordPress or browser defaults */
.nav-menu li,
.nav-menu li::before,
.nav-menu li::marker {
	list-style: none !important;
	list-style-type: none !important;
	content: none;
}

.nav-menu li a {
	font-size: 13px;
	color: var(--muted);
	text-decoration: none;
	text-transform:uppercase;
	letter-spacing: 0.02em;
	padding: 8px 16px;
	display: block;
	transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
	color: var(--ink);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-cta {
	padding: 9px 20px;
	border-radius: 6px;
	background: var(--violet);
	color: var(--white) !important;
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
	white-space: nowrap;
}

.nav-cta:hover {
	background: var(--violet2);
	transform: translateY(-1px);
}

/* Nav toggle — hidden on desktop, shown on mobile/tablet */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 6px;
	cursor: pointer;
	padding: 8px;
}

@media (max-width: 1000px) {
	.nav-toggle { display: flex; }
	.nav-links   { display: none; }
}

.nav-toggle-bar {
	width: 18px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.2s, opacity 0.2s;
	display: block;
}

[data-theme="dark"] .nav-toggle-bar{
    background:var(--white);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   6. HERO
═══════════════════════════════════════ */

.hero {
	position: relative;
	z-index: 1;
	padding-top: 68px; /* nav height offset */
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}

.hero-glow-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.10) 0%, transparent 70%);
	top: -160px;
	right: -80px;
}

.hero-glow-2 {
	width: 440px;
	height: 440px;
	background: radial-gradient(circle, rgba(240, 165, 0, 0.05) 0%, transparent 70%);
	bottom: -60px;
	left: -80px;
}

.hero-inner {
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 80px var(--px) 72px;
	position: relative;
	z-index: 2;
}

.hero-text {
	flex: 1;
	min-width: 0;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	opacity: 0;
	animation: fadeUp 0.6s 0.1s forwards;
}

.hero-kicker-line {
	width: 24px;
	height: 2px;
	background: var(--violet);
	flex-shrink: 0;
}

.hero-kicker-text {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--violet2);
}

.hero-h1 {
	color: var(--ink);
	font-family: 'Syne', sans-serif;
	font-size: clamp(56px, 6vw, 92px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin-bottom: 28px;
	word-break: break-word;
	overflow-wrap: break-word;
	opacity: 0;
	animation: fadeUp 0.7s 0.2s forwards;
}

.hero-h1 .outlined {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--violet2);
}

.hero-h1 .gold {
	color: var(--amber);
}

.hero-sub {
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink2);
	max-width: 480px;
	margin-bottom: 44px;
	opacity: 0;
	animation: fadeUp 0.7s 0.35s forwards;
}

.hero-btns {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	opacity: 0;
	animation: fadeUp 0.7s 0.48s forwards;
}

/* Stats panel */
.hero-stats {
	flex-shrink: 0;
	width: 340px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	opacity: 0;
	animation: fadeUp 0.8s 0.55s forwards;
}

.stat-card {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 22px 28px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.3s;
}

.stat-card:hover {
	border-color: rgba(91, 79, 207, 0.35);
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--violet), transparent);
	opacity: 0;
	transition: opacity 0.3s;
}

.stat-card:hover::before {
	opacity: 1;
}

.stat-lbl {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
}

.stat-val {
	font-family: 'Syne', sans-serif;
	font-size: 36px;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stat-val span {
	color: var(--amber);
}

.stat-desc {
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}

.stat-bar {
	height: 3px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	margin-top: 12px;
	overflow: hidden;
}

.stat-bar-fill {
	height: 100%;
	border-radius: 10px;
	background: linear-gradient(to right, var(--violet), var(--amber));
}

/* ═══════════════════════════════════════
   7. MARQUEE
═══════════════════════════════════════ */

.marquee {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 16px 0;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: scrollLeft 45s linear infinite;
}

.marquee-item {
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 28px;
	white-space: nowrap;
	font-family: 'Syne', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.marquee-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--violet);
	flex-shrink: 0;
}

/* ═══════════════════════════════════════
   8. SECTIONS (SHARED)
═══════════════════════════════════════ */

.section {
	padding: 100px var(--px);
	position: relative;
	z-index: 1;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.section-head .eyebrow {
	margin-bottom: 12px;
}

.see-all {
	font-size: 13px;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap;
	align-self: flex-end;
}

.see-all:hover {
	color: var(--ink);
	border-color: var(--ink);
}

/* ═══════════════════════════════════════
   9. TOPICS GRID
═══════════════════════════════════════ */

.topics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
}

.topic-tile {
	transition: var(--theme-transition);
	background: var(--slate);
	border: 1px solid var(--border);
	padding: 36px 32px;
	position: relative;
	overflow: hidden;
	transition: background 0.3s, border-color 0.3s;
	text-decoration: none;
	color: inherit;
	display: block;
}

.topic-tile:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.3);
}

.topic-tile:hover .topic-arrow {
	opacity: 1;
	transform: translate(0, 0);
}

.topic-tile:hover .topic-glow {
	opacity: 1;
}

.topic-num {
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--muted);
	margin-bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Violet accent bar replaces emoji — sits between number and topic name */
.topic-num::after {
	content: '';
	display: block;
	width: 28px;
	height: 3px;
	background: var(--violet);
	border-radius: 2px;
}

.topic-icon {
	display: none;
}

.topic-name {
	font-family: 'Syne', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 8px;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.topic-desc {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.65;
}

.topic-arrow {
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--violet);
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	opacity: 0;
	transform: translate(6px, 6px);
	transition: opacity 0.25s, transform 0.25s;
}

.topic-glow {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.14) 0%, transparent 70%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
}

/* ═══════════════════════════════════════
   10. BLOG CARDS
═══════════════════════════════════════ */

.blog-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	gap: 18px;
}

.blog-grid-full {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.blog-card,
.blog-card-full {
	transition: var(--theme-transition);
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover,
.blog-card-full:hover {
	border-color: rgba(91, 79, 207, 0.35);
	transform: translateY(-4px);
}

.blog-card-img {
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(74,63,191,0.08) 0%, rgba(74,63,191,0.03) 100%);
	background: linear-gradient(135deg, rgba(74,63,191,0.10) 0%, rgba(74,63,191,0.04) 100%);
}

.blog-card-img span {
	display: none;
}

.blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card.featured .blog-card-img {
	height: 220px;
	font-size: 72px;
}

.blog-card-body {
	padding: 24px;
}

/* Category chips */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
	text-decoration: none;
}

.chip::before {
	font-size: 8px;
}

.chip-violet { background: var(--chip-bg); color: var(--chip-txt); }
.chip-violet::before { content: '·'; font-size: 14px; line-height: 1; }

.chip-amber { background: var(--chip-bg); color: var(--chip-txt); }
.chip-amber::before { content: '·'; font-size: 14px; line-height: 1; }

/* teal remapped to violet — no teal anywhere in the UI */
.chip-teal { background: var(--chip-bg); color: var(--chip-txt); }
.chip-teal::before { content: '·'; font-size: 14px; line-height: 1; }

.blog-title {
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

.blog-title a {
	color: inherit;
	text-decoration: none;
}

.blog-title a:hover {
	color: var(--amber2);
}

.blog-card.featured .blog-title { font-size: 20px; }
.blog-card:not(.featured) .blog-title { font-size: 15px; }

.blog-excerpt {
	font-size: 14px;
	color: var(--ink2);
	line-height: 1.65;
	margin-bottom: 18px;
}

.blog-card:not(.featured) .blog-excerpt {
	display: none;
}

.blog-meta {
	font-size: 11px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.blog-meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
}

/* ═══════════════════════════════════════
   11. BOOK SECTION
═══════════════════════════════════════ */

.book-card {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 22px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.book-left {
	padding: 64px 60px;
	background: var(--slate2);
	position: relative;
	overflow: hidden;
}

.book-left::after {
	content: '';
	position: absolute;
	top: -80px;
	left: -80px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.book-left .eyebrow {
	margin-bottom: 18px;
}

.book-title {
	font-size: 36px;
	margin-bottom: 16px;
}

.book-desc {
	font-size: 15px;
	line-height: 1.8;
	color: var(--muted);
	margin-bottom: 36px;
}

.book-list {
	list-style: none;
	margin-bottom: 40px;
}

.book-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink2);
}

.book-list li:last-child {
	border: none;
}

.book-list li::before {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 1px;
	background:
		rgba(91, 79, 207, 0.2)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%237b6fe0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
		center / 10px no-repeat;
	border: 1px solid var(--violet);
}

.book-right {
	background: var(--slate2);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 40px;
	position: relative;
	overflow: hidden;
}

.book-right::before {
	content: '';
	position: absolute;
	bottom: -80px;
	right: -80px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(240, 165, 0, 0.06) 0%, transparent 70%);
}

.book-3d {
	position: relative;
	z-index: 2;
	transform: perspective(900px) rotateY(-12deg) rotateX(2deg);
	transition: transform 0.4s ease;
}

.book-3d:hover {
	transform: perspective(900px) rotateY(-5deg) rotateX(1deg);
}

.b-cover {
	width: 210px;
	background: linear-gradient(160deg, #28205a 0%, #18103c 100%);
	border-radius: 3px 14px 14px 3px;
	box-shadow:
		-8px 0 0 #080614,
		0 24px 64px rgba(0, 0, 0, 0.55),
		inset 6px 0 10px rgba(91, 79, 207, 0.1);
	padding: 32px 26px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	min-height: 290px;
}

.b-spine {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 6px;
	background: linear-gradient(to bottom, var(--violet), var(--amber));
}

.b-icon {
	font-size: 38px;
	margin-bottom: 18px;
	display: block;
}

.b-title {
	font-family: 'Syne', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: var(--ink);
	line-height: 1.25;
}

.b-sub {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amber2);
	margin-top: 10px;
}

.b-author {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--border);
	font-size: 10px;
	color: var(--muted);
}

.b-shine {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40%;
	background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.025));
	pointer-events: none;
}

/* ═══════════════════════════════════════
   12. GUIDE / EMAIL SIGNUP
═══════════════════════════════════════ */

.guide-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 64px 72px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.guide-wrap::before {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 480px;
	height: 280px;
	background: radial-gradient(ellipse, rgba(91, 79, 207, 0.16) 0%, transparent 70%);
	pointer-events: none;
}

.guide-wrap .eyebrow {
	margin-bottom: 14px;
}

.guide-wrap .display {
	font-size: 38px;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

.guide-sub {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.75;
	margin-bottom: 44px;
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 1;
}

.guide-perks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 44px;
	text-align: left;
	position: relative;
	z-index: 1;
}

.perk {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	transition: border-color 0.25s;
}

.perk:hover {
	border-color: rgba(91, 79, 207, 0.3);
}

.perk-icon {
	width: 30px;
	height: 30px;
	border-radius: 7px;
	flex-shrink: 0;
	background: rgba(91, 79, 207, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}

.perk-icon::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--violet2);
}

.perk-title {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 2px;
}

.perk-body {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.email-form {
	display: flex;
	gap: 10px;
	position: relative;
	z-index: 1;
}

.email-input {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 18px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	color: var(--ink);
	outline: none;
	transition: border-color 0.2s;
}

.email-input::placeholder {
	color: var(--muted);
}

.email-input:focus {
	border-color: var(--violet);
}

.trust-note {
	font-size: 12px;
	color: var(--muted);
	margin-top: 14px;
	position: relative;
	z-index: 1;
}

/* Signup feedback messages */
.signup-success {
	background: rgba(0, 180, 100, 0.1);
	border: 1px solid rgba(0, 180, 100, 0.3);
	color: #4ecdc4;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 16px;
}

.signup-error {
	background: rgba(240, 80, 80, 0.1);
	border: 1px solid rgba(240, 80, 80, 0.3);
	color: #ff6b6b;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 16px;
}

/* ═══════════════════════════════════════
   13. MISSION
═══════════════════════════════════════ */

.mission-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}

.mission-inner .eyebrow {
	margin-bottom: 18px;
}

.mission-inner .display {
	font-size: 40px;
	margin-bottom: 20px;
}

.mission-body {
	font-size: 15px;
	line-height: 1.85;
	color: var(--muted);
	margin-bottom: 36px;
}

.mission-cards {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.mission-card {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px 28px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	transition: background 0.25s, border-color 0.25s;
}

.mission-card:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.3);
}

.mc-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	background: rgba(91, 79, 207, 0.14);
}

/* violet bar replaces emoji in mission icon */
.mc-icon::after {
	content: '';
	width: 18px;
	height: 3px;
	background: var(--violet2);
	border-radius: 2px;
}

.mc-v { background: var(--chip-bg); }
.mc-a { background: rgba(91, 79, 207, 0.14); }
.mc-t { background: rgba(91, 79, 207, 0.14); }

.mc-title {
	font-family: 'Syne', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 4px;
}

.mc-body {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
}

/* ═══════════════════════════════════════
   14. SINGLE POST
═══════════════════════════════════════ */

.post-header {
	max-width: 760px;
	margin: 0 auto;
}

.post-cats {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.post-title {
	font-size: clamp(28px, 4vw, 52px);
	margin-bottom: 20px;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted);
}

.post-thumbnail {
	max-width: 960px;
	margin: 0 auto 0;
	border-radius: 16px;
	overflow: hidden;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
}

.post-content {
	max-width: 760px;
	margin: 0 auto;
}

.entry-content {
	font-size: 18px;
	line-height: 1.85;
	color: var(--ink2);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: 'Syne', sans-serif;
	color: var(--ink);
	margin: 40px 0 16px;
	line-height: 1.25;
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }

.entry-content p {
	margin-bottom: 24px;
}

.entry-content a {
	color: var(--amber2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--amber);
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 24px 24px;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li {
	margin-bottom: 8px;
}

.entry-content blockquote {
	border-left: 3px solid var(--violet);
	padding: 16px 24px;
	margin: 32px 0;
	background: rgba(91, 79, 207, 0.06);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: var(--muted);
}

.entry-content img {
	border-radius: 12px;
	margin: 24px 0;
}

.entry-content code {
	background: var(--slate);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
	color: var(--amber2);
}

.entry-content pre {
	background: var(--slate);
	padding: 20px 24px;
	border-radius: 10px;
	overflow-x: auto;
	margin: 24px 0;
}

.entry-content hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 40px 0;
}

/* Post footer */
.post-footer {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.post-tag {
	font-size: 12px;
	color: var(--muted);
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 4px 12px;
	border-radius: 20px;
	transition: border-color 0.2s, color 0.2s;
}

.post-tag:hover {
	color: var(--white);
	border-color: var(--muted);
}

.post-disclaimer {
	background: rgba(91, 79, 207, 0.06);
	border: 1px solid rgba(91, 79, 207, 0.2);
	border-radius: 10px;
	padding: 18px 22px;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.65;
}

.post-disclaimer strong {
	color: var(--muted);
}

/* Post navigation */
.post-navigation {
	max-width: 960px;
	margin: 0 auto;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	text-decoration: none;
	color: inherit;
}

.nav-direction {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 4px;
}

.nav-title {
	font-family: 'Syne', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	transition: color 0.2s;
}

.post-navigation a:hover .nav-title {
	color: var(--amber2);
}

/* ═══════════════════════════════════════
   15. ARCHIVE / SEARCH
═══════════════════════════════════════ */

.archive-header {
	max-width: 760px;
}

.archive-title {
	font-size: clamp(28px, 4vw, 52px);
	margin-bottom: 16px;
}

.archive-description {
	font-size: 16px;
	color: var(--muted);
	line-height: 1.7;
}

.blog-card-full .blog-title {
	font-size: 18px;
}

.blog-card-link {
	display: block;
	text-decoration: none;
}

.search-form {
	display: flex;
	gap: 10px;
	margin-top: 24px;
	max-width: 500px;
}

.no-results {
	padding: 60px 0;
	font-size: 16px;
	color: var(--muted);
}

/* ═══════════════════════════════════════
   16. PAGINATION
═══════════════════════════════════════ */

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	border: 1px solid var(--border);
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	border-color: var(--violet);
	color: var(--ink);
	background: rgba(91, 79, 207, 0.15);
}

.pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
	cursor: default;
}

/* ═══════════════════════════════════════
   17. COMMENTS
═══════════════════════════════════════ */

.comments-area {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--px) 80px;
}

.comments-title {
	font-family: 'Syne', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 32px;
}

.comment-list {
	list-style: none;
}

.comment-body {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 16px;
}

.comment-author .fn {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.comment-metadata {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 12px;
}

.comment-metadata a {
	color: var(--muted);
	text-decoration: none;
}

.comment-content p {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.7;
}

.reply a {
	font-size: 12px;
	color: var(--violet2);
	text-decoration: none;
	margin-top: 10px;
	display: inline-block;
}

.comment-form label {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 6px;
	letter-spacing: 0.04em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 12px 16px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	color: var(--ink);
	outline: none;
	margin-bottom: 16px;
	transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--violet);
}

.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-form .submit {
	background: var(--amber);
	color: var(--ink);
	border: none;
	padding: 13px 28px;
	border-radius: 8px;
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s;
}

.comment-form .submit:hover {
	transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   18. FOOTER
═══════════════════════════════════════ */

.footer {
	background: var(--slate);
	border-top: 1px solid var(--border);
	padding: 60px var(--px) 32px;
	position: relative;
	z-index: 1;
	transition: var(--theme-transition);
}

.footer-top {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 28px;
}

.footer-brand {
	max-width: 260px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-bottom: 14px;
}

.footer-tagline {
	font-size: 13px;
	color: var(--ink2);
	line-height: 1.7;
}

.footer-cols {
	display: flex;
	gap: 56px;
}

.footer-col-title {
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink2);
	margin-bottom: 16px;
}

.footer-nav {
	list-style: none;
}

.footer-nav li a {
	display: block;
	font-size: 13px;
	color: var(--ink2);
	text-decoration: none;
	margin-bottom: 9px;
	transition: color 0.2s;
}

.footer-nav li a:hover {
	color: var(--violet);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--ink2);
}

.footer-disc {
	font-size: 11px;
	color: var(--ink2);
	line-height: 1.6;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   19. WORDPRESS ALIGNMENT & BLOCK CLASSES
═══════════════════════════════════════ */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin: 16px auto;
}

.alignwide {
	width: calc(100% + 80px);
	margin-left: -40px;
}

.alignfull {
	width: 100vw;
	margin-left: calc(-1 * var(--px));
}

/* Captions */
.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 13px;
	color: var(--muted);
	text-align: center;
	margin-top: 8px;
}

/* Gallery */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 24px 0;
}

.gallery-item img {
	border-radius: 8px;
}

/* ═══════════════════════════════════════
   19c. BLOG INDEX PAGE (home.php)
═══════════════════════════════════════ */

/* Header */
.blog-index-header {
	position: relative;
	padding: 120px var(--px) 64px;
	overflow: hidden;
	z-index: 1;
}

.blog-header-glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}

.blog-header-glow-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.09) 0%, transparent 70%);
	top: -150px;
	right: -100px;
}

.blog-header-inner {
	max-width: 900px;
	position: relative;
	z-index: 2;
}

.blog-header-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.blog-index-title {
	font-size: clamp(36px, 5vw, 64px);
	margin-bottom: 18px;
	line-height: 1.1;
}

.blog-index-sub {
	font-size: 17px;
	line-height: 1.75;
	color: var(--muted);
	max-width: 580px;
	margin-bottom: 36px;
}

/* Category filter pills */
.blog-cats-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 50px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	font-size: 13px;
	color: var(--muted);
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	white-space: nowrap;
}

.blog-cat-pill:hover {
	background: rgba(91, 79, 207, 0.12);
	border-color: rgba(91, 79, 207, 0.35);
	color: var(--ink);
}

.blog-cat-pill.active {
	background: var(--violet);
	border-color: var(--violet);
	color: var(--ink);
}

/* Featured post */
.blog-featured-section {
	padding: 0 var(--px) 0;
	position: relative;
	z-index: 1;
}

.blog-featured-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.blog-featured-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 22px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.3s;
}

.blog-featured-card:hover {
	border-color: rgba(91, 79, 207, 0.4);
}

.blog-featured-visual {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(74,63,191,0.10), rgba(74,63,191,0.04));
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog-featured-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.blog-featured-visual-fallback {
	font-size: 96px;
	line-height: 1;
}

.blog-featured-label {
	position: absolute;
	top: 20px;
	left: 20px;
	background: var(--violet);
	color: var(--ink);
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 4px;
}

.blog-featured-content {
	padding: 52px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.blog-featured-content .chip {
	margin-bottom: 20px;
}

.blog-featured-title {
	font-size: clamp(24px, 2.8vw, 38px);
	line-height: 1.15;
	margin-bottom: 18px;
	color: var(--ink);
}

.blog-featured-excerpt {
	font-size: 15px;
	line-height: 1.75;
	color: var(--muted);
	margin-bottom: 24px;
}

.blog-featured-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 28px;
}

.blog-featured-cta {
	font-family: 'Syne', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--amber);
	letter-spacing: 0.04em;
	transition: letter-spacing 0.2s;
}

.blog-featured-card:hover .blog-featured-cta {
	letter-spacing: 0.08em;
}

/* Blog index grid */
.blog-index-section {
	max-width: 1200px;
	margin: 0 auto;
}

.blog-index-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 0 var(--px);
}

.blog-index-card {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color 0.3s, transform 0.3s;
}

.blog-index-card:hover {
	border-color: rgba(91, 79, 207, 0.35);
	transform: translateY(-4px);
}

.blog-index-card-img {
	height: 180px;
	background: linear-gradient(135deg, rgba(74,63,191,0.10), rgba(74,63,191,0.04));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	overflow: hidden;
	flex-shrink: 0;
}

.blog-index-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-index-card-body {
	padding: 22px 22px 52px; /* bottom padding for arrow */
	flex: 1;
}

.blog-index-card-body .chip {
	margin-bottom: 10px;
}

.blog-index-card-title {
	font-family: 'Syne', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}

.blog-index-card-excerpt {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 12px;
}

.blog-index-card-meta {
	font-size: 11px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.blog-index-card-arrow {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(91, 79, 207, 0.15);
	color: var(--violet2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}

.blog-index-card:hover .blog-index-card-arrow {
	background: var(--violet);
	color: var(--ink);
	transform: translate(3px, -3px);
}

/* ── Blog index responsive ── */
@media (max-width: 600px) {
	.blog-index-header { padding: 100px var(--px) 48px; }
	.blog-index-title { font-size: 32px; }
	.blog-index-sub { font-size: 15px; }
	.blog-cats-nav { gap: 6px; }
	.blog-cat-pill { font-size: 12px; padding: 7px 14px; }

	.blog-featured-section { padding: 0 var(--px); }
	.blog-featured-card { grid-template-columns: 1fr; }
	.blog-featured-visual { min-height: 220px; }
	.blog-featured-content { padding: 28px 24px 32px; }
	.blog-featured-title { font-size: 22px; }

	.blog-index-grid { grid-template-columns: 1fr; padding: 0 var(--px); gap: 14px; }
}

@media (min-width: 601px) and (max-width: 1000px) {
	.blog-index-header { padding: 110px var(--px) 56px; }
	.blog-featured-card { grid-template-columns: 1fr; }
	.blog-featured-visual { min-height: 260px; }
	.blog-featured-content { padding: 36px 36px 40px; }
	.blog-index-grid { grid-template-columns: 1fr 1fr; padding: 0 var(--px); }
}

/* ═══════════════════════════════════════
   19d. SOCIAL SHARE BUTTONS
═══════════════════════════════════════ */

.share-block {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--border);
}

.share-label {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-decoration: none;
	color: var(--muted);
	background: var(--slate);
	border: 1px solid var(--border);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
	line-height: 1;
}

.share-btn:hover {
	color: var(--white);
	transform: translateY(-2px);
}

/* Platform-specific hover colours */
.share-btn--x:hover {
	background: rgba(0, 0, 0, 0.6);
	border-color: var(--muted);
}

.share-btn--facebook:hover {
	background: rgba(24, 119, 242, 0.15);
	border-color: rgba(24, 119, 242, 0.3);
	color: #6fa3ef;
}

.share-btn--linkedin:hover {
	background: rgba(0, 119, 181, 0.15);
	border-color: rgba(0, 119, 181, 0.3);
	color: #70b5d4;
}

.share-btn--whatsapp:hover {
	background: rgba(37, 211, 102, 0.12);
	border-color: rgba(37, 211, 102, 0.3);
	color: #4ecdc4;
}

.share-btn--copy {
	background: var(--slate);
	border: 1px solid var(--border);
}

.share-btn--copy:hover {
	background: rgba(240, 165, 0, 0.1);
	border-color: rgba(240, 165, 0, 0.3);
	color: var(--amber);
}

.share-btn--copy.copied {
	background: rgba(0, 200, 100, 0.1);
	border-color: rgba(0, 200, 100, 0.3);
	color: #4ecdc4;
}

/* Hide label on very small screens, show icon only */
@media (max-width: 400px) {
	.share-btn-label { display: none; }
	.share-btn { padding: 10px 12px; }
}

/* ═══════════════════════════════════════
   19a. 404 PAGE
═══════════════════════════════════════ */

.error-404 {
	position: relative;
	min-height: calc(100vh - 68px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px var(--px);
	overflow: hidden;
	z-index: 1;
}

.error-glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}

.error-glow-1 {
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.10) 0%, transparent 70%);
	top: -200px;
	right: -200px;
}

.error-glow-2 {
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(240, 165, 0, 0.05) 0%, transparent 70%);
	bottom: -100px;
	left: -100px;
}

.error-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	width: 100%;
	text-align: center;
}

/* Large ghost number */
.error-number {
	font-family: 'Syne', sans-serif;
	font-size: clamp(120px, 20vw, 220px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(91, 79, 207, 0.3);
	margin-bottom: 8px;
	user-select: none;
	pointer-events: none;
}

/* Kicker */
.error-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
	justify-content: center;
}

/* Title */
.error-title {
	font-size: clamp(32px, 4.5vw, 56px);
	margin-bottom: 20px;
}

/* Body */
.error-body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--muted);
	max-width: 520px;
	margin: 0 auto 40px;
}

/* Search */
.error-search {
	margin-bottom: 48px;
}

.error-search-row {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}

/* Quick links */
.error-links {
	margin-bottom: 52px;
}

.error-links-label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 20px;
}

.error-links-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.error-link-card {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 22px 16px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.error-link-card:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.35);
	transform: translateY(-3px);
}

.error-link-icon {
	font-size: 28px;
	display: block;
}

.error-link-title {
	font-family: 'Syne', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	display: block;
}

.error-link-desc {
	font-size: 11px;
	color: var(--muted);
	display: block;
	line-height: 1.4;
}

/* Recent posts */
.error-recent {
	border-top: 1px solid var(--border);
	padding-top: 40px;
	text-align: left;
}

.error-recent-title {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 20px;
	text-align: center;
}

.error-recent-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.error-recent-item {
	display: block;
}

.error-recent-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--slate);
	text-decoration: none;
	color: inherit;
	transition: background 0.2s, border-color 0.2s;
}

.error-recent-link:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.3);
}

.error-recent-icon {
	font-size: 22px;
	flex-shrink: 0;
}

.error-recent-text {
	flex: 1;
	min-width: 0;
}

.error-recent-post-title {
	display: block;
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.error-recent-meta {
	display: block;
	font-size: 11px;
	color: var(--muted);
	margin-top: 3px;
}

.error-recent-arrow {
	font-size: 16px;
	color: var(--muted);
	flex-shrink: 0;
	transition: color 0.2s, transform 0.2s;
}

.error-recent-link:hover .error-recent-arrow {
	color: var(--amber);
	transform: translateX(4px);
}

/* ── 404 responsive ── */
@media (max-width: 600px) {
	.error-404 { padding: 60px var(--px) 80px; min-height: auto; }
	.error-number { font-size: clamp(90px, 28vw, 140px); }
	.error-title { font-size: 28px; }
	.error-search-row { flex-direction: column; }
	.error-search-row .btn-primary { width: 100%; justify-content: center; }
	.error-links-grid { grid-template-columns: 1fr 1fr; }
	.error-link-card { padding: 18px 12px; }
}

@media (min-width: 601px) and (max-width: 1000px) {
	.error-links-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════
   19b. ABOUT PAGE
═══════════════════════════════════════ */

/* Hero */
.about-hero {
	position: relative;
	padding: 140px var(--px) 80px;
	overflow: hidden;
	z-index: 1;
}

.about-hero-glow {
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}

.about-glow-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(91, 79, 207, 0.10) 0%, transparent 70%);
	top: -100px;
	right: -100px;
}

.about-glow-2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(240, 165, 0, 0.05) 0%, transparent 70%);
	bottom: -60px;
	left: -60px;
}

.about-hero-inner {
	max-width: 800px;
	position: relative;
	z-index: 2;
}

.about-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}

.about-title {
	font-size: clamp(44px, 6vw, 80px);
	margin-bottom: 28px;
	line-height: 1.1;
}

.about-hero-lead {
	font-size: 19px;
	line-height: 1.8;
	color: var(--muted);
	max-width: 640px;
}

/* Sections */
.about-section {
	padding: 80px var(--px);
	position: relative;
	z-index: 1;
}

.about-section--alt {
	background: var(--slate2);
}

.about-container {
	max-width: 1000px;
	margin: 0 auto;
}

/* Text block */
.about-text-block {
	max-width: 720px;
	margin: 0 auto;
}

.about-body {
	font-size: 17px;
	line-height: 1.85;
	color: var(--ink2);
	margin-bottom: 24px;
}

.about-body strong {
	color: var(--amber2);
	font-weight: 500;
}

/* Pull quote */
.about-quote {
	max-width: 720px;
	margin: 48px auto 0;
	border-left: 3px solid var(--violet);
	padding: 28px 36px;
	background: rgba(91, 79, 207, 0.06);
	border-radius: 0 16px 16px 0;
}

.about-quote p {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	font-size: clamp(20px, 2.5vw, 28px);
	color: var(--ink);
	line-height: 1.5;
	margin: 0;
}

/* Split layout */
.about-split {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 60px;
	align-items: flex-start;
}

.about-split-label {
	padding-top: 6px;
}

.about-section-title {
	font-size: clamp(28px, 3vw, 42px);
	margin-bottom: 24px;
}

/* Principles section */
.about-section--principles {
	background: linear-gradient(180deg, transparent 0%, rgba(91, 79, 207, 0.04) 100%);
}

.about-principles-header {
	text-align: center;
	margin-bottom: 60px;
}

.about-principles-header .about-section-title {
	margin-bottom: 0;
}

.about-principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
}

.principle-card {
	background: var(--slate);
	border: 1px solid var(--border);
	padding: 44px 36px;
	position: relative;
	overflow: hidden;
	transition: background 0.3s, border-color 0.3s;
}

.principle-card:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.3);
}

.principle-num {
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--muted);
	margin-bottom: 24px;
}

.principle-icon {
	font-size: 36px;
	margin-bottom: 20px;
	display: block;
}

.principle-title {
	font-family: 'Syne', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 14px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.principle-body {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.7;
}

/* Closing CTA */
.about-closing {
	padding: 100px var(--px);
	position: relative;
	z-index: 1;
	background: var(--slate2);
}

.about-closing-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.about-closing-title {
	font-size: clamp(32px, 4vw, 56px);
	margin-bottom: 24px;
}

.about-closing-body {
	font-size: 18px;
	line-height: 1.8;
	color: var(--muted);
	margin-bottom: 44px;
}

.about-closing-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── About page mobile ── */
@media (max-width: 600px) {
	.about-hero { padding: 110px var(--px) 60px; }
	.about-title { font-size: clamp(36px, 12vw, 52px); }
	.about-hero-lead { font-size: 16px; }
	.about-section { padding: 60px var(--px); }
	.about-split { grid-template-columns: 1fr; gap: 16px; }
	.about-split-label { display: none; }
	.about-section-title { font-size: 26px; }
	.about-principles { grid-template-columns: 1fr; }
	.principle-card { padding: 30px 24px; }
	.about-quote { padding: 20px 22px; margin-top: 32px; }
	.about-closing { padding: 70px var(--px); }
	.about-closing-title { font-size: 28px; }
	.about-closing-body { font-size: 15px; }
	.about-closing-actions { flex-direction: column; }
	.about-closing-actions .btn-primary,
	.about-closing-actions .btn-ghost { width: 100%; justify-content: center; }
}

@media (min-width: 601px) and (max-width: 1000px) {
	.about-hero { padding: 120px var(--px) 70px; }
	.about-split { grid-template-columns: 1fr; gap: 20px; }
	.about-split-label { display: none; }
	.about-principles { grid-template-columns: 1fr; gap: 3px; }
}

/* ── Widget / Sidebar styles ── */
.widget-area {
	padding: 0 var(--px);
}

.widget {
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 28px;
	margin-bottom: 20px;
}

.widget-title {
	font-family: 'Syne', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}

.widget ul {
	list-style: none;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}

.widget ul li:last-child {
	border: none;
}

.widget ul li a {
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s;
}

.widget ul li a:hover {
	color: var(--ink);
}

/* ═══════════════════════════════════════
   20. REVEAL ANIMATION
═══════════════════════════════════════ */

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scrollLeft {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   21. TABLET  601px–1000px
═══════════════════════════════════════ */

@media (min-width: 601px) and (max-width: 1000px) {
	:root { --px: 32px; }

	body { font-weight: 400; }

	.nav { padding: 0 var(--px); }
	.nav-links { display: none; }

	/* Mobile nav open state */
	.nav-links.is-open {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		background: var(--slate);
		backdrop-filter: blur(20px);
		padding: 20px var(--px);
		border-bottom: 1px solid var(--border);
		z-index: 190;
	}

	.nav-links.is-open .nav-menu {
		flex-direction: column;
		gap: 4px;
	}

	.nav-links.is-open .nav-menu li a {
		padding: 12px 0;
		font-size: 16px;
		border-bottom: 1px solid var(--border);
	}

	.hero-inner { flex-direction: column; padding: 56px var(--px) 56px; gap: 40px; }
	.hero-stats  { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 10px; }
	.stat-card   { flex: 1; min-width: 140px; }

	.section { padding: 72px var(--px); }
	.topics-grid { grid-template-columns: 1fr 1fr; }
	.topic-arrow { opacity: 1; transform: translate(0, 0); }

	.blog-grid { grid-template-columns: 1fr 1fr; }
	.blog-grid-full { grid-template-columns: 1fr 1fr; }
	.blog-card.featured { grid-column: 1 / -1; }

	.book-card { grid-template-columns: 1fr; }
	.book-right { display: none; }
	.book-left { padding: 48px 40px; }
	.book-title { font-size: 30px; }

	.guide-wrap { padding: 52px 44px; }
	.guide-wrap .display { font-size: 30px; }

	.mission-inner { grid-template-columns: 1fr; gap: 44px; }
	.mission-inner .display { font-size: 32px; }

	.footer { padding: 52px var(--px) 28px; }
	.footer-top { flex-direction: column; gap: 36px; }
	.footer-cols { flex-wrap: wrap; gap: 32px; }

	.section-head { flex-direction: column; gap: 12px; align-items: flex-start; }

	.post-content,
	.post-header,
	.comments-area { padding-left: var(--px); padding-right: var(--px); }
}

/* ═══════════════════════════════════════
   22. MOBILE  ≤600px
═══════════════════════════════════════ */

@media (max-width: 600px) {
	:root { --px: 20px; }

	body { font-weight: 400; }

	/* NAV */
	.nav { height: 60px; padding: 0 var(--px); }
	.nav-links { display: none; }
	.nav-cta { padding: 8px 14px; font-size: 12px; }

	/* Mobile nav open state */
	.nav-links.is-open {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		background: var(--slate);
		backdrop-filter: blur(20px);
		padding: 20px var(--px);
		border-bottom: 1px solid var(--border);
		z-index: 190;
	}

	.nav-links.is-open .nav-menu {
		flex-direction: column;
		gap: 4px;
	}

	.nav-links.is-open .nav-menu li a {
		padding: 12px 0;
		font-size: 16px;
		border-bottom: 1px solid var(--border);
	}

	/* HERO */
	.hero { padding-top: 60px; }
	.hero-inner { flex-direction: column; padding: 36px var(--px) 40px; gap: 0; }
	.hero-text { width: 100%; }
	.hero-kicker { margin-bottom: 20px; }
	.hero-kicker-text { font-size: 10px; }

	.hero-h1 {
		font-size: clamp(38px, 11vw, 52px);
		line-height: 1.15;
		letter-spacing: -0.02em;
		margin-bottom: 18px;
	}

	.hero-h1 .outlined { -webkit-text-stroke: 1px var(--violet2); }

	.hero-sub { font-size: 15px; line-height: 1.7; max-width: 100%; margin-bottom: 28px; }
	.hero-btns { flex-direction: column; gap: 10px; }
	.btn-primary,
	.btn-ghost { width: 100%; justify-content: center; padding: 14px 20px; }
	.hero-stats { display: none; }

	/* MARQUEE */
	.marquee-item { font-size: 10px; padding: 0 18px; }

	/* SECTIONS */
	.section { padding: 60px var(--px); }
	.section-head { flex-direction: column; gap: 10px; align-items: flex-start; }

	/* TOPICS */
	.topics-grid { grid-template-columns: 1fr; gap: 3px; }
	.topic-tile { padding: 26px 22px; }
	.topic-name { font-size: 16px; }
	.topic-arrow { opacity: 1; transform: translate(0, 0); }

	/* BLOG */
	.blog-grid { grid-template-columns: 1fr; gap: 14px; }
	.blog-grid-full { grid-template-columns: 1fr; gap: 14px; }
	.blog-card.featured .blog-card-img {
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(74,63,191,0.08) 0%, rgba(74,63,191,0.03) 100%);
	background: linear-gradient(135deg, rgba(74,63,191,0.08) 0%, rgba(74,63,191,0.03) 100%);
}
.blog-card-img span { display: none; }
	.blog-card-body { padding: 20px; }
	.blog-card.featured .blog-title { font-size: 17px; }
	.blog-card:not(.featured) .blog-title { font-size: 15px; }

	/* BOOK */
	.book-card { display: flex; flex-direction: column; border-radius: 18px; }
	.book-right { display: none; }
	.book-left { padding: 32px 24px; width: 100%; }
	.book-title { font-size: 24px; line-height: 1.25; }
	.book-desc { font-size: 14px; margin-bottom: 28px; }
	.book-list { margin-bottom: 32px; }
	.book-list li { font-size: 13px; }

	/* GUIDE */
	.guide-wrap { padding: 36px 24px; border-radius: 18px; }
	.guide-wrap .display { font-size: 26px; line-height: 1.25; }
	.guide-sub { font-size: 14px; margin-bottom: 28px; max-width: 100%; }
	.guide-perks { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
	.email-form { flex-direction: column; gap: 10px; }
	.email-form .btn-primary { width: 100%; justify-content: center; }

	/* MISSION */
	.mission-inner { grid-template-columns: 1fr; gap: 36px; }
	.mission-inner .display { font-size: 26px; line-height: 1.25; }
	.mission-body { font-size: 14px; }
	.mission-card { padding: 20px 18px; }
	.mc-icon { width: 38px; height: 38px; font-size: 0; }

	/* SINGLE POST */
	.post-title { font-size: 26px; }
	.entry-content { font-size: 16px; }
	.entry-content h2 { font-size: 22px; }
	.entry-content h3 { font-size: 18px; }
	.post-navigation .nav-links { flex-direction: column; }

	/* FOOTER */
	.footer { padding: 44px var(--px) 24px; }
	.footer-top { flex-direction: column; gap: 32px; }
	.footer-cols { flex-wrap: wrap; gap: 28px; }
	.footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

	/* COMMENTS */
	.comments-area { padding-left: var(--px); padding-right: var(--px); }
}




/* ── Dark mode footer text overrides ── */
[data-theme="dark"] .footer-col-title,
[data-theme="dark"] .footer-nav li a,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-disc,
[data-theme="dark"] .footer-tagline {
	color: var(--muted);
}
[data-theme="dark"] .footer-nav li a:hover {
	color: var(--ink);
}
[data-theme="dark"] .footer {
	background: var(--slate);
}

/* ── Dark mode section overrides ── */
[data-theme="dark"] .about-section--alt { background: rgba(26, 26, 40, 0.5); }
[data-theme="dark"] .about-closing { background: linear-gradient(135deg, rgba(26, 26, 40, 0.8) 0%, rgba(10, 10, 15, 0) 100%); }
[data-theme="dark"] .book-left { background: linear-gradient(135deg, #1a1a2e 0%, #14141e 100%); }
[data-theme="dark"] .book-right { background: linear-gradient(160deg, #10101c 0%, #181828 100%); }
[data-theme="dark"] .blog-index-card-img,
[data-theme="dark"] .blog-card-img { background: linear-gradient(135deg, #1a1a38, #28183e); }
[data-theme="dark"] .blog-featured-img { background: linear-gradient(135deg, #1a1a38, #28183e); }
[data-theme="dark"] .book-list li { color: var(--muted); }
[data-theme="dark"] .about-body { color: var(--muted); }

/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */

.back-to-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--violet);
	color: var(--white);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
	z-index: 999;
	box-shadow: 0 4px 20px rgba(91, 79, 207, 0.4);
}

.back-to-top:hover {
	background: var(--violet2);
	transform: translateY(0) scale(1.08);
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 600px) {
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
	}
}

/* ═══════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════ */

.theme-toggle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	background: var(--slate2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: border-color 0.2s, background 0.2s;
	padding: 0;
}

.theme-toggle:hover {
	border-color: var(--violet);
}

.toggle-icon {
	width: 16px;
	height: 16px;
	color: var(--muted);
	transition: color 0.2s;
}

.theme-toggle:hover .toggle-icon {
	color: var(--violet);
}

/* Show sun in dark mode, moon in light mode */
.toggle-sun { display: none; }
.toggle-moon { display: block; }

[data-theme="dark"] .toggle-sun { display: block; color: var(--amber); }
[data-theme="dark"] .toggle-moon { display: none; }

[data-theme="dark"] .btn-ghost:hover {
	color: var(--ink);
	border-color: var(--muted);
}

/* ─── Light mode nav adjustments ─── */
:root .nav {
	box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,0.04);
}
[data-theme="dark"] .nav {
	box-shadow: none;
}
[data-theme="dark"] .nav-links.is-open {
	background: rgba(10, 10, 15, 0.97);
}

/* ─── Light mode nav link colour ─── */
.nav-menu li a {
	color: var(--muted);
	transition: color 0.15s;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
	color: var(--ink);
}

/* ─── Stat cards in light mode ─── */
.stat-card {
	box-shadow: var(--shadow);
	transition: var(--theme-transition);
}

/* ─── Mission cards light mode ─── */
.mission-card {
	transition: var(--theme-transition);
}

/* ─── Footer light mode ─── */
.site-footer {
	transition: var(--theme-transition);
}

/* ─── Single post content ─── */
.entry-content {
	color: var(--ink2);
}

/* ─── About page and standard page text ─── */
.page-content p,
.entry-content p,
.entry-content li {
	color: var(--ink2);
}

/* Force background override for theme switching */
[data-theme="dark"] html,
[data-theme="dark"] body,
html[data-theme="dark"],
body[data-theme="dark"] {
	background: #0a0a0f !important;
}


/* ═══════════════════════════════════════
   THEME TOGGLE
═══════════════════════════════════════ */

.theme-toggle {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	background: var(--slate2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: border-color 0.2s, background 0.2s;
	padding: 0;
}
.theme-toggle:hover { border-color: var(--violet); }
.toggle-icon { width: 16px; height: 16px; color: var(--muted); transition: color 0.2s; }
.theme-toggle:hover .toggle-icon { color: var(--violet); }
.toggle-sun { display: none; }
.toggle-moon { display: block; }
[data-theme="dark"] .toggle-sun { display: block; color: #f0a500; }
[data-theme="dark"] .toggle-moon { display: none; }

/* ── Light mode nav shadow ── */
[data-theme="dark"] .nav { box-shadow: none; }

/* ── Dark mode overrides ── */
[data-theme="dark"] .btn-ghost:hover {
	color: var(--white);
	border-color: var(--muted);
}
[data-theme="dark"] .footer-col-title,
[data-theme="dark"] .footer-nav li a,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-disc,
[data-theme="dark"] .footer-tagline { color: var(--muted); }
[data-theme="dark"] .footer-nav li a:hover { color: var(--white); }
[data-theme="dark"] .footer { background: var(--slate); }


/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */

.back-to-top {
	position: fixed; bottom: 32px; right: 32px;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--violet);
	color: var(--white);
	border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
	z-index: 999;
	box-shadow: 0 4px 20px rgba(91, 79, 207, 0.4);
}
.back-to-top:hover { background: var(--violet2); transform: translateY(0) scale(1.08); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; } }

/* ── Force background override for theme switching ── */
[data-theme="dark"] html,
[data-theme="dark"] body,
html[data-theme="dark"],
body[data-theme="dark"] { background: #0a0a0f !important; }


/* ═══════════════════════════════════════
   THEME TOGGLE
═══════════════════════════════════════ */
.theme-toggle {
	width: 36px; height: 36px; border-radius: 50%;
	border: 1.5px solid var(--border); background: var(--slate2);
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; padding: 0; transition: border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { border-color: var(--violet); }
.toggle-icon { width: 16px; height: 16px; color: var(--muted); transition: color 0.2s; }
.theme-toggle:hover .toggle-icon { color: var(--violet); }
.toggle-sun  { display: none; }
.toggle-moon { display: block; }
[data-theme="dark"] .toggle-sun  { display: block; color: #f0a500; }
[data-theme="dark"] .toggle-moon { display: none; }
:root .nav { box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,0.04); }
[data-theme="dark"] .nav { box-shadow: none; }
[data-theme="dark"] .btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
[data-theme="dark"] .footer-col-title,
[data-theme="dark"] .footer-nav li a,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-disc,
[data-theme="dark"] .footer-tagline { color: var(--muted); }
[data-theme="dark"] .footer-nav li a:hover { color: var(--white); }
[data-theme="dark"] .footer { background: var(--slate); }
[data-theme="dark"] html,
[data-theme="dark"] body,
html[data-theme="dark"],
body[data-theme="dark"] { background: #0a0a0f !important; }


/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */
.back-to-top {
	position: fixed; bottom: 32px; right: 32px;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--violet); color: var(--white);
	border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
	z-index: 999; box-shadow: 0 4px 20px rgba(91,79,207,0.4);
}
.back-to-top:hover { background: var(--violet2); transform: translateY(0) scale(1.08); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; } }

/* ── Table of Contents — dark mode override ── */
[data-theme="dark"] #ez-toc-container,
[data-theme="dark"] .ez-toc-widget-container {
    background: rgba(91, 79, 207, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] #ez-toc-container .ez-toc-title,
[data-theme="dark"] .ez-toc-widget-container .ez-toc-title {
    color: #ffffff !important;
}

[data-theme="dark"] #ez-toc-container ul li a,
[data-theme="dark"] .ez-toc-widget-container ul li a {
    color: #7b6fe0 !important;
}

[data-theme="dark"] #ez-toc-container ul li a:hover,
[data-theme="dark"] .ez-toc-widget-container ul li a:hover {
    color: #ffffff !important;
}

[data-theme="dark"] #ez-toc-container .ez-toc-list-level-1 a::before,
[data-theme="dark"] .ez-toc-widget-container .ez-toc-list-level-1 a::before {
    color: #7b6fe0 !important;
}

/* ── WPForms — light mode labels ── */
.wpforms-field-label {
    color: #0a0a0f !important;
}

.wpforms-field-sublabel {
    color: #5a5a7a !important;
}

/* ── WPForms — dark mode override ── */
[data-theme="dark"] .wpforms-field-label {
    color: #ffffff !important;
}

[data-theme="dark"] .wpforms-field-sublabel {
    color: #7a7a9a !important;
}

/* ── FAQ Accordion ── */
.psf-faq {
    margin: 8px 0 32px;
}

.psf-faq-item {
    border-bottom: 1px solid var(--border);
}

.psf-faq-item:first-child {
    border-top: 1px solid var(--border);
}

.psf-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    gap: 16px;
    transition: color 0.2s;
}

.psf-faq-q::-webkit-details-marker { display: none; }
.psf-faq-q::marker { display: none; }

.psf-faq-q::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--violet);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}

.psf-faq-item[open] .psf-faq-q::after {
    transform: rotate(45deg);
}

.psf-faq-item[open] .psf-faq-q {
    color: var(--violet);
}

.psf-faq-a {
    padding: 0 0 18px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink2);
}

.psf-faq-a p { margin: 0; }

/* ============================================
   PlanSmartFi — Global Post Table Styles
   Targets all tables inside WordPress post content
   ============================================ */

.entry-content table,
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.entry-content th,
.post-content th {
  background-color: #5b4fcf;
  color: #faf9f6;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.entry-content td,
.post-content td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e0dff5;
  color: #2a2a3a;
  vertical-align: top;
  line-height: 1.6;
}

.entry-content tr:last-child td,
.post-content tr:last-child td {
  border-bottom: none;
}

.entry-content tr:nth-child(even) td,
.post-content tr:nth-child(even) td {
  background-color: #f7f6fd;
}

/* Horizontal scroll on mobile */
.entry-content table,
.post-content table {
  display: block;
  overflow-x: auto;
}

/* Dark mode */
[data-theme="dark"] .entry-content th,
[data-theme="dark"] .post-content th {
  background-color: #4a3fbf;
}

[data-theme="dark"] .entry-content td,
[data-theme="dark"] .post-content td {
  color: #c8c8e0;
  border-bottom-color: #2a2a4a;
}

[data-theme="dark"] .entry-content tr:nth-child(even) td,
[data-theme="dark"] .post-content tr:nth-child(even) td {
  background-color: #16163a;
}

/* Free Guide Modal */

.hub-email-cta-link {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.hub-email-modal[hidden] {
	display: none;
}

.hub-email-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.hub-email-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.hub-email-modal-dialog {
	position: relative;
	z-index: 2;
	width: min(92%, 560px);
	margin: 6vh auto;
	background: #ffffff;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	max-height: 88vh;
	overflow-y: auto;
}

.hub-email-modal-title {
	margin-top: 0;
	margin-bottom: 10px;
}

.hub-email-modal-description {
	margin-bottom: 20px;
}

.hub-email-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

body.hub-email-modal-open {
	overflow: hidden;
}

.about-closing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-closing-actions .btn-primary,
.about-closing-actions .btn-ghost {
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 1rem;
    box-sizing: border-box;
}

/* Hero sub-line */
.about-hero-sub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--violet);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

/* Compact quote break section */
.about-section--quote {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.entry-content li {
  line-height: 1.6;
  margin-bottom: 10px;
}
/* ═══════════════════════════════════════
   ADDED: BYLINE, AUTHOR BIO, INLINE CTA,
   TOOLS, FOUNDER, BOOK IMAGE, SIGNATURE
═══════════════════════════════════════ */

/* Byline + updated date (post meta already flex) */
.post-byline { font-weight: 600; color: var(--ink2); }
.post-updated { font-style: italic; }

/* Author bio box */
.post-author {
	max-width: 760px;
	margin: 40px auto 0;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--slate2);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
}
.post-author-avatar {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--violet);
	color: #fff;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.post-author-name {
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: var(--ink);
	margin: 0 0 6px;
}
.post-author-name span {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.02em;
}
.post-author-bio {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink2);
	margin: 0 0 12px;
}
.post-author-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}
.post-author-links a { color: var(--violet); text-decoration: none; }
.post-author-links a:hover { text-decoration: underline; }

/* Inline CTA shortcode [psf_cta] */
.psf-inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--chip-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px 28px;
	margin: 36px 0;
}
.psf-inline-cta-heading {
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: var(--ink);
	margin: 0 0 6px;
}
.psf-inline-cta-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink2);
	margin: 0;
	max-width: 46ch;
}
.psf-inline-cta-btn {
	flex-shrink: 0;
	display: inline-block;
	background: var(--violet);
	color: #fff;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 100px;
	white-space: nowrap;
}
.psf-inline-cta-btn:hover { background: var(--violet2); }

/* Tools directory grid [psf_tools] / [psf_tool] */
.psf-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.psf-tool-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--slate);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 26px 24px 48px;
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.psf-tool-card:hover {
	background: var(--slate2);
	border-color: rgba(91, 79, 207, 0.35);
	transform: translateY(-2px);
}
.psf-tool-icon { font-size: 26px; line-height: 1; }
.psf-tool-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--chip-txt);
	background: var(--chip-bg);
	border-radius: 100px;
	padding: 4px 10px;
}
.psf-tool-title {
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: var(--ink);
}
.psf-tool-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted);
}
.psf-tool-arrow {
	position: absolute;
	bottom: 22px;
	left: 24px;
	color: var(--violet);
	font-size: 18px;
}

/* Homepage tools band */
.tools-prompt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--chip-bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px 44px;
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s;
}
.tools-prompt:hover { border-color: rgba(91, 79, 207, 0.35); transform: translateY(-2px); }
.tools-prompt .eyebrow { margin-bottom: 10px; }
.tools-prompt-text { font-size: 15px; line-height: 1.6; color: var(--ink2); margin: 12px 0 0; max-width: 60ch; }
.tools-prompt-arrow { flex-shrink: 0; font-size: 32px; color: var(--violet); }

/* Founder strip */
.founder-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	max-width: 900px;
	margin: 0 auto;
}
.founder-avatar {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--violet);
	color: #fff;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.founder-text { font-size: 17px; line-height: 1.75; color: var(--ink2); margin: 16px 0 24px; }

/* Real book cover image */
.book-cover-img {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	margin: 0 auto;
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(10, 10, 15, 0.22);
}

/* About page signature */
.about-signature {
	font-family: 'Instrument Serif', Georgia, serif;
	font-style: italic;
	font-size: 24px;
	color: var(--ink);
	margin-top: 28px;
	line-height: 1.3;
}
.about-signature span {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--muted);
	margin-top: 4px;
}

/* Stack on small screens */
@media (max-width: 600px) {
	.post-author { flex-direction: column; gap: 16px; padding: 22px; }
	.psf-inline-cta { flex-direction: column; align-items: flex-start; }
	.tools-prompt { flex-direction: column; align-items: flex-start; padding: 28px; }
	.tools-prompt-arrow { display: none; }
	.founder-inner { flex-direction: column; text-align: center; gap: 20px; }
	.founder-avatar { width: 92px; height: 92px; font-size: 40px; }
}

/* Respect reduced-motion: pause marquee + reveal animations */
@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none; transform: none; }
	.reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Uploaded avatar fills the monogram circle */
.post-author-avatar img,
.founder-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

/* Show the book cover on tablet/mobile when a real cover image is set
   (the styled placeholder stays hidden on small screens as before) */
@media (max-width: 1000px) {
	.book-section .book-right--has-img {
		display: flex;
		padding: 32px 24px;
	}
	.book-section .book-right--has-img .book-cover-img {
		max-width: 230px;
	}
}
