/* ═══════════════════════════════════════════════════════════
   BeJaunty Theme — Main Stylesheet
   Editorial cream/dark palette with bold Bebas Neue display.
═══════════════════════════════════════════════════════════ */

/* ── Custom properties (theme tokens) ─────────────────────── */
:root {
	--bj-bg:     #f5f0e8;
	--bj-bg1:    #ede6d8;
	--bj-bg2:    #e4daca;
	--bj-dark:   #0f0804;
	--bj-text:   #0f0804;
	--bj-muted:  #8a6a4a;
	--bj-sub:    #5a3e28;
	--bj-border: rgba(15, 8, 4, 0.12);
	--bj-accent: #8b5e3c; /* default — overridden by inline customizer style */

	--bj-container: 1280px;
	--bj-container-narrow: 760px;
	--bj-container-narrower: 1100px;
	--bj-padding-x: 40px;

	--bj-font-display: 'Bebas Neue', 'Impact', 'Helvetica Neue Condensed', sans-serif;
	--bj-font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	--bj-font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--bj-bg);
	color: var(--bj-text);
	font-family: var(--bj-font-body);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	overflow-x: hidden;
	min-height: 100vh;
	background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b8946a' stroke-width='0.5' stroke-opacity='0.18'%3E%3Ccircle cx='26' cy='26' r='18'/%3E%3Ccircle cx='26' cy='26' r='10'/%3E%3Ccircle cx='26' cy='26' r='2'/%3E%3Cline x1='0' y1='26' x2='52' y2='26'/%3E%3Cline x1='26' y1='0' x2='26' y2='52'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 52px 52px;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bj-bg); }
::-webkit-scrollbar-thumb { background: #c4a882; border-radius: 3px; }

/* ── Accessibility ────────────────────────────────────────── */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--bj-dark);
	color: var(--bj-bg);
	padding: 10px 16px;
	z-index: 9999;
	text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Containers ───────────────────────────────────────────── */
.container {
	max-width: var(--bj-container);
	margin: 0 auto;
	padding-left: var(--bj-padding-x);
	padding-right: var(--bj-padding-x);
}
.container--narrow { max-width: var(--bj-container-narrow); }
.container--narrower { max-width: var(--bj-container-narrower); }

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(.16, 1, .3, 1), transform 0.7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Hover-line underline effect ──────────────────────────── */
.hover-line { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.hover-line::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0;
	width: 0; height: 1.5px;
	background: currentColor;
	transition: width 0.3s ease;
}
.hover-line:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(245, 240, 232, 0);
	backdrop-filter: blur(0);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
	background: rgba(245, 240, 232, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--bj-border);
}

.site-header-inner {
	display: flex;
	align-items: center;
	height: 68px;
	gap: 32px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bj-font-display);
	font-size: 26px;
	letter-spacing: 0.08em;
	color: var(--bj-dark);
	line-height: 1;
}
.site-logo .logo-name { color: var(--bj-dark); }
.site-logo .logo-tld { color: var(--bj-accent); }
.site-logo img { max-height: 36px; width: auto; }

.site-nav { margin-left: auto; }
.nav-menu {
	list-style: none;
	display: flex;
	gap: 4px;
}
.nav-menu li a,
.nav-menu li .menu-item {
	display: inline-block;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 400;
	color: var(--bj-muted);
	letter-spacing: 0.01em;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.nav-menu li a:hover { color: var(--bj-dark); }
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
	color: var(--bj-dark);
	font-weight: 600;
	border-bottom-color: var(--bj-dark);
}

.header-cta {
	background: var(--bj-dark);
	color: var(--bj-bg);
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s;
}
.header-cta:hover { background: var(--bj-accent); }

/* Mobile menu toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	width: 36px;
	height: 36px;
	margin-left: auto;
	padding: 0;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.mobile-menu-toggle .hamburger-line {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--bj-dark);
	transition: transform 0.3s, opacity 0.3s;
	margin: 0 auto;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
	min-height: 80vh;
	padding: 80px 0 40px;
	position: relative;
	overflow: hidden;
}
.hero .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: inherit;
}

.hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}
.eyebrow-line {
	display: block;
	width: 40px;
	height: 1px;
	background: var(--bj-accent);
}
.eyebrow-text {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bj-accent);
}

.hero-headline {
	font-family: var(--bj-font-display);
	font-size: clamp(56px, 10vw, 148px);
	line-height: 0.92;
	letter-spacing: 0.03em;
	color: var(--bj-dark);
	margin-bottom: 36px;
	font-weight: 400;
}
.hero-headline em {
	font-style: italic;
	color: var(--bj-accent);
	font-family: 'DM Sans', serif;
	font-weight: 400;
}

.hero-sub-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 28px;
}
.hero-sub {
	font-size: 17px;
	line-height: 1.7;
	color: var(--bj-sub);
	font-weight: 300;
	max-width: 440px;
}
.hero-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-family: var(--bj-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	border: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	text-align: center;
	line-height: 1;
}
.btn-primary {
	background: var(--bj-dark);
	color: var(--bj-bg);
}
.btn-primary:hover { background: var(--bj-accent); }

.btn-secondary {
	background: transparent;
	color: var(--bj-sub);
	border: 1.5px solid var(--bj-border);
	padding: 12px 26px;
}
.btn-secondary:hover { color: var(--bj-dark); border-color: var(--bj-dark); }

.hero-stats {
	display: flex;
	margin-top: 60px;
	padding-top: 36px;
	border-top: 1px solid var(--bj-border);
}
.hero-stat {
	flex: 1;
	padding-right: 32px;
}
.hero-stat + .hero-stat {
	border-left: 1px solid var(--bj-border);
	padding-left: 32px;
}
.hero-stat-num {
	font-family: var(--bj-font-display);
	font-size: 52px;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--bj-dark);
	font-weight: 400;
}
.hero-stat-label {
	font-size: 12px;
	color: var(--bj-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════ */
.marquee-band {
	overflow: hidden;
	border-top: 1px solid var(--bj-border);
	border-bottom: 1px solid var(--bj-border);
	background: var(--bj-dark);
	padding: 14px 0;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track {
	display: flex;
	animation: marquee-scroll 22s linear infinite;
	white-space: nowrap;
	width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding: 0 28px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bj-bg);
	opacity: 0.8;
}
.marquee-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bj-accent);
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════ */
.section { padding: 96px 0; }
.section--featured { padding-top: 96px; }
.section--blog { padding-bottom: 120px; }
.section--archive { padding: 72px 0 96px; }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 56px;
	gap: 24px;
	flex-wrap: wrap;
}
.section-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bj-muted);
	margin-bottom: 10px;
}
.section-title,
.archive-header .page-title {
	font-family: var(--bj-font-display);
	font-size: 72px;
	letter-spacing: 0.04em;
	color: var(--bj-dark);
	line-height: 0.95;
	font-weight: 400;
	text-transform: uppercase;
}
.page-title--big { font-size: 96px; line-height: 0.92; }

.section-link {
	font-size: 13px;
	font-weight: 500;
	color: var(--bj-sub);
	letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   PLUGIN ROW (editorial numbered list)
═══════════════════════════════════════════════════════════ */
.plugin-list { display: flex; flex-direction: column; }
.plugin-list-end { border-top: 1px solid var(--bj-border); }

.plugin-row {
	display: grid;
	grid-template-columns: 80px 1fr 130px 180px;
	align-items: center;
	gap: 32px;
	padding: 28px 0;
	border-top: 1px solid var(--bj-border);
	transition: background 0.2s, padding-left 0.2s;
	color: inherit;
}
.plugin-row:hover {
	background: var(--bj-bg1);
	padding-left: 20px;
}
.plugin-row-number {
	font-family: var(--bj-font-display);
	font-size: 48px;
	color: var(--bj-bg2);
	letter-spacing: 0.05em;
	line-height: 1;
	transition: color 0.2s;
	user-select: none;
}
.plugin-row:hover .plugin-row-number { color: var(--bj-accent); }

.plugin-row-name {
	font-weight: 600;
	font-size: 18px;
	color: var(--bj-dark);
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}
.plugin-row-desc {
	font-size: 13px;
	color: var(--bj-muted);
	line-height: 1.5;
	max-width: 480px;
}

.plugin-row-tag {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tag-color, var(--bj-accent));
	padding: 4px 10px;
	border: 1px solid color-mix(in srgb, var(--tag-color, var(--bj-accent)) 35%, transparent);
	background: color-mix(in srgb, var(--tag-color, var(--bj-accent)) 10%, transparent);
	text-align: center;
	justify-self: center;
}

.plugin-row-cta {
	background: var(--bj-dark);
	border: 1.5px solid var(--bj-dark);
	color: var(--bj-bg);
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: end;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.plugin-row-cta--pro {
	background: transparent;
	color: var(--bj-dark);
}
.plugin-row:hover .plugin-row-cta {
	background: var(--bj-accent);
	border-color: var(--bj-accent);
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   DARK BAND (support section)
═══════════════════════════════════════════════════════════ */
.dark-band {
	background: var(--bj-dark);
	color: var(--bj-bg);
	padding: 96px 0;
	position: relative;
	z-index: 1;
}
.dark-band-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.dark-band-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c4a882;
	margin-bottom: 16px;
}
.dark-band-title {
	font-family: var(--bj-font-display);
	font-size: 64px;
	letter-spacing: 0.04em;
	line-height: 0.95;
	color: var(--bj-bg);
	margin-bottom: 24px;
	font-weight: 400;
	text-transform: uppercase;
}
.dark-band-desc {
	color: #b8a090;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 300;
	max-width: 380px;
}

.dark-band-links { display: flex; flex-direction: column; gap: 16px; }
.dark-band-link {
	background: transparent;
	border: 1px solid rgba(245, 240, 232, 0.15);
	padding: 22px 26px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--bj-bg);
	transition: background 0.2s, border-color 0.2s;
}
.dark-band-link:hover {
	background: rgba(245, 240, 232, 0.06);
	border-color: rgba(245, 240, 232, 0.35);
}
.dark-band-link-label {
	font-weight: 600;
	font-size: 15px;
	color: var(--bj-bg);
	margin-bottom: 4px;
}
.dark-band-link-desc {
	font-size: 13px;
	color: #8a7060;
}

/* ═══════════════════════════════════════════════════════════
   BLOG GRID
═══════════════════════════════════════════════════════════ */
.blog-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1px;
	background: var(--bj-border);
}
.blog-grid--archive { margin-bottom: 64px; }

.blog-card {
	background: var(--bj-bg);
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: background 0.2s;
	color: inherit;
}
.blog-card:hover { background: var(--bj-bg1); }

.blog-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.blog-card-tag {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tag-color, var(--bj-accent));
}
.blog-card-date {
	font-size: 11px;
	color: var(--bj-muted);
	font-family: var(--bj-font-mono);
}
.blog-card-title {
	font-weight: 600;
	font-size: 18px;
	color: var(--bj-dark);
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.blog-card-excerpt {
	font-size: 13px;
	color: var(--bj-muted);
	line-height: 1.65;
	flex-grow: 1;
}
.blog-card-readmore {
	font-size: 13px;
	font-weight: 500;
	color: var(--bj-dark);
	margin-top: 8px;
	align-self: flex-start;
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST / PAGE
═══════════════════════════════════════════════════════════ */
.single-post,
.single-page {
	padding: 72px 0 96px;
}
.single-header { margin-bottom: 40px; }
.single-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tag-color, var(--bj-accent));
	margin-bottom: 16px;
}
.single-title {
	font-family: var(--bj-font-display);
	font-size: clamp(40px, 6vw, 80px);
	line-height: 0.95;
	letter-spacing: 0.02em;
	color: var(--bj-dark);
	font-weight: 400;
	margin-bottom: 20px;
	text-transform: uppercase;
}
.single-meta {
	font-size: 13px;
	color: var(--bj-muted);
	display: flex;
	gap: 12px;
	align-items: center;
	font-family: var(--bj-font-mono);
}
.meta-sep { opacity: 0.5; }

.single-thumb {
	margin: 40px 0 56px;
	background: var(--bj-bg1);
}
.single-thumb img { width: 100%; height: auto; display: block; }

.single-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--bj-text);
}
.single-content > * + * { margin-top: 1.4em; }
.single-content h2 {
	font-family: var(--bj-font-display);
	font-size: 40px;
	letter-spacing: 0.03em;
	margin-top: 1.8em;
	margin-bottom: 0.4em;
	color: var(--bj-dark);
	font-weight: 400;
	text-transform: uppercase;
}
.single-content h3 {
	font-size: 22px;
	font-weight: 600;
	margin-top: 1.6em;
	margin-bottom: 0.4em;
	color: var(--bj-dark);
}
.single-content h4 {
	font-size: 18px;
	font-weight: 600;
	margin-top: 1.4em;
	color: var(--bj-dark);
}
.single-content p { color: var(--bj-text); }
.single-content a { color: var(--bj-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-content a:hover { color: var(--bj-dark); }
.single-content blockquote {
	border-left: 3px solid var(--bj-accent);
	padding: 4px 0 4px 24px;
	margin: 1.6em 0;
	font-size: 19px;
	font-style: italic;
	color: var(--bj-sub);
}
.single-content ul, .single-content ol { padding-left: 24px; }
.single-content li { margin: 0.4em 0; }
.single-content code {
	background: var(--bj-bg1);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: var(--bj-font-mono);
	font-size: 0.92em;
}
.single-content pre {
	background: var(--bj-dark);
	color: var(--bj-bg);
	padding: 20px 24px;
	overflow-x: auto;
	font-family: var(--bj-font-mono);
	font-size: 13px;
	line-height: 1.6;
	border-radius: 4px;
}
.single-content pre code { background: transparent; padding: 0; color: inherit; }
.single-content img { margin: 1.4em 0; }
.single-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.4em 0;
}
.single-content th, .single-content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--bj-border);
	text-align: left;
}
.single-content th { font-weight: 600; }

.single-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--bj-border); }
.single-tags { font-size: 13px; color: var(--bj-muted); }
.tags-label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; margin-right: 8px; }
.single-tags a { color: var(--bj-sub); text-decoration: none; }
.single-tags a:hover { color: var(--bj-accent); }

/* ═══════════════════════════════════════════════════════════
   COMMENTS
═══════════════════════════════════════════════════════════ */
.comments-area {
	margin-top: 80px;
	padding-top: 48px;
	border-top: 1px solid var(--bj-border);
}
.comments-title {
	font-family: var(--bj-font-display);
	font-size: 36px;
	letter-spacing: 0.04em;
	color: var(--bj-dark);
	margin-bottom: 32px;
	font-weight: 400;
	text-transform: uppercase;
}
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; margin-top: 16px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--bj-border); }
.comment-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.comment-meta img { border-radius: 50%; }
.comment-author { font-weight: 600; font-size: 14px; color: var(--bj-dark); }
.comment-author time { display: block; font-weight: 400; color: var(--bj-muted); font-size: 12px; margin-top: 2px; }
.comment-content { font-size: 15px; color: var(--bj-text); line-height: 1.6; }
.comment-reply-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bj-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.comment-form { margin-top: 32px; }
.comment-form label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
	color: var(--bj-sub);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: transparent;
	border: 1.5px solid var(--bj-border);
	font-family: var(--bj-font-body);
	font-size: 14px;
	color: var(--bj-text);
	transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--bj-dark);
}
.comment-form .form-submit { margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════════════════════ */
.search-form {
	position: relative;
	max-width: 340px;
	margin: 0 auto;
}
.search-icon {
	position: absolute;
	left: 14px; top: 50%;
	transform: translateY(-50%);
	color: var(--bj-muted);
}
.search-input {
	width: 100%;
	padding: 12px 14px 12px 40px;
	background: transparent;
	border: 1.5px solid var(--bj-border);
	font-family: var(--bj-font-body);
	font-size: 14px;
	color: var(--bj-text);
	outline: none;
	transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--bj-dark); }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.pagination {
	margin-top: 56px;
	display: flex;
	justify-content: center;
}
.pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: transparent;
	border: 1px solid var(--bj-border);
	color: var(--bj-sub);
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s;
}
.pagination .page-numbers:hover {
	background: var(--bj-dark);
	border-color: var(--bj-dark);
	color: var(--bj-bg);
}
.pagination .page-numbers.current {
	background: var(--bj-dark);
	border-color: var(--bj-dark);
	color: var(--bj-bg);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
	background: var(--bj-dark);
	color: var(--bj-bg);
	padding: 72px 0 36px;
	margin-top: 0;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	margin-bottom: 56px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}
.footer-logo {
	font-family: var(--bj-font-display);
	font-size: 52px;
	letter-spacing: 0.06em;
	line-height: 1;
}
.footer-logo-name { color: var(--bj-bg); }
.footer-logo-tld { color: var(--bj-accent); }
.footer-tagline {
	color: #8a7060;
	font-size: 14px;
	line-height: 1.7;
	max-width: 320px;
	font-weight: 300;
}

.footer-cols {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 56px;
}
.footer-col-title {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a7060;
	margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
	color: #c4b0a0;
	font-size: 14px;
	transition: color 0.2s;
}
.footer-col a:hover { color: var(--bj-bg); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid rgba(245, 240, 232, 0.1);
	gap: 16px;
	flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: #5a4838; }
.footer-version {
	font-size: 11px;
	color: #5a4838;
	font-family: var(--bj-font-mono);
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════ */
.empty-state {
	text-align: center;
	padding: 80px 0;
	color: var(--bj-muted);
}
.empty-state h2 {
	font-family: var(--bj-font-display);
	font-size: 48px;
	color: var(--bj-bg2);
	letter-spacing: 0.04em;
	margin-bottom: 16px;
	font-weight: 400;
}
.empty-state p { margin-bottom: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
.empty-state a { color: var(--bj-accent); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Tablet — under 1024 */
@media (max-width: 1024px) {
	:root { --bj-padding-x: 32px; }

	.section { padding: 72px 0; }
	.section-title,
	.archive-header .page-title { font-size: 56px; }
	.page-title--big { font-size: 72px; }

	.dark-band-grid { grid-template-columns: 1fr; gap: 40px; }
	.dark-band-title { font-size: 48px; }

	.blog-grid { grid-template-columns: 1fr 1fr; }
	.footer-cols { gap: 28px; }
}

/* Small tablet — under 768 */
@media (max-width: 768px) {
	:root { --bj-padding-x: 24px; }

	body { font-size: 15px; }

	.site-header-inner { gap: 16px; height: 60px; }
	.site-logo { font-size: 22px; }

	/* Mobile menu */
	.mobile-menu-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: 60px; left: 0; right: 0;
		background: rgba(245, 240, 232, 0.98);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--bj-border);
		padding: 24px 24px 32px;
		transform: translateY(-110%);
		transition: transform 0.3s ease;
		z-index: 199;
		max-height: calc(100vh - 60px);
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateY(0); }
	.nav-menu { flex-direction: column; gap: 0; }
	.nav-menu li { width: 100%; }
	.nav-menu li a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--bj-border);
		font-size: 16px;
	}
	.nav-menu li.current-menu-item a { border-bottom-color: var(--bj-dark); }
	.header-cta { display: none; }

	/* Hero */
	.hero { padding: 56px 0 32px; min-height: auto; }
	.hero-headline { font-size: clamp(48px, 12vw, 96px); margin-bottom: 28px; }
	.hero-sub-row { flex-direction: column; align-items: stretch; gap: 24px; }
	.hero-sub { max-width: none; font-size: 16px; }
	.hero-cta-row { width: 100%; }
	.btn { padding: 12px 22px; flex: 1; justify-content: center; }
	.hero-stats { flex-direction: column; gap: 0; }
	.hero-stat { padding: 20px 0; border-bottom: 1px solid var(--bj-border); }
	.hero-stat + .hero-stat { border-left: none; padding-left: 0; }
	.hero-stat:last-child { border-bottom: none; }
	.hero-stat-num { font-size: 44px; }

	/* Sections */
	.section { padding: 56px 0; }
	.section-title,
	.archive-header .page-title { font-size: 42px; }
	.page-title--big { font-size: 56px; }
	.section-head { margin-bottom: 36px; flex-direction: column; align-items: flex-start; gap: 12px; }

	/* Plugin row → stack on mobile */
	.plugin-row {
		grid-template-columns: 60px 1fr;
		grid-template-areas:
			"num   body"
			"tag   tag"
			"cta   cta";
		gap: 16px;
		padding: 24px 0;
	}
	.plugin-row:hover { padding-left: 12px; }
	.plugin-row-number { grid-area: num; font-size: 36px; }
	.plugin-row-body { grid-area: body; }
	.plugin-row-tag { grid-area: tag; justify-self: start; }
	.plugin-row-cta { grid-area: cta; justify-self: stretch; justify-content: center; padding: 12px 16px; }

	/* Dark band */
	.dark-band { padding: 56px 0; }
	.dark-band-title { font-size: 36px; }

	/* Blog grid */
	.blog-grid { grid-template-columns: 1fr; }

	/* Marquee — keep but dim animation slightly */
	.marquee-track { animation-duration: 18s; }

	/* Single post */
	.single-post, .single-page { padding: 48px 0 64px; }
	.single-content { font-size: 16px; }
	.single-content h2 { font-size: 30px; }

	/* Footer */
	.footer-top { flex-direction: column; gap: 24px; padding-bottom: 36px; margin-bottom: 36px; }
	.footer-logo { font-size: 40px; }
	.footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile — under 480 */
@media (max-width: 480px) {
	.section-title,
	.archive-header .page-title { font-size: 36px; }
	.page-title--big { font-size: 48px; }
	.dark-band-title { font-size: 30px; }

	.footer-cols { grid-template-columns: 1fr; }
	.footer-logo { font-size: 36px; }

	.hero-cta-row { flex-direction: column; width: 100%; }
	.btn { width: 100%; }

	.plugin-row { gap: 12px; padding: 20px 0; }
	.plugin-row-number { font-size: 30px; }
	.plugin-row-name { font-size: 17px; }
}

/* Ultra-wide — center cap */
@media (min-width: 1600px) {
	:root { --bj-container: 1320px; }
}
