:root {
	--color-ink: #ffffff;
	--color-muted: #d4d4d4;
	--color-line: rgba(255, 255, 255, 0.14);
	--color-paper: #161616;
	--color-soft: #090909;
	--color-accent: #3381ff;
	--color-brand-dark: #32312f;
	--color-brand-light: #f4f4f4;
	--color-brand-orange: #ef856d;
	--color-brand-blue-dark: #054fc4;
	--font-sans: Inter, sans-serif;
	--font-serif: Inter, sans-serif;
	--container: 1240px;
	--radius: 20px;
	--space-section: clamp(72px, 9vw, 136px);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* Keeps a heading clear of the floating header when the browser jumps
	   to an #anchor directly (shared link, or the TOC without JS). */
	scroll-padding-top: 120px;
	/* `clip` contains horizontal overflow without creating a scroll
	   container, so `position: sticky` keeps working on descendants.
	   `hidden` is kept first as a fallback for older browsers. */
	overflow-x: hidden;
	overflow-x: clip;
	width: 100%;
}

body {
	margin: 0;
	background: var(--color-paper);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
	width: 100%;
}

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

a {
	color: inherit;
	text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-serif);
	font-weight: 900;
	line-height: 0.95;
	margin: 0 0 0.45em;
}

h1 {
	font-size: clamp(4rem, 10vw, 9rem);
}

h2 {
	font-size: 1.9rem;
	line-height: 2.5rem;
}

h3 {
	font-size: clamp(1.5rem, 2vw, 2.1rem);
}

p {
	margin: 0 0 1.2em;
}

.screen-reader-text,
.skip-link {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.skip-link:focus {
	background: var(--color-ink);
	clip: auto;
	color: var(--color-paper);
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 1000;
}

.container {
	margin-inline: auto;
	max-width: var(--container);
	padding-inline: clamp(20px, 4vw, 48px);
	width: 100%;
}

.container--narrow {
	max-width: 900px;
}

.container--article {
	max-width: 760px;
}

.section {
	padding-block: var(--space-section);
}

.eyebrow {
	color: var(--color-accent);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.eyebrow span {
	display: block;
}

.button,
button.button {
	align-items: center;
	background: var(--color-accent);
	border: 1px solid var(--color-accent);
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	min-height: 46px;
	padding: 0.72rem 1.2rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
	background: #fff;
	border-color: #fff;
	color: #050505;
}

.button--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.72);
	color: #fff;
}

.button--secondary:hover {
	background: #fff;
	color: #050505;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* Custom property registrations for smooth CSS transitions and animations */
@property --gradient-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@property --gradient-angle-offset {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@property --gradient-percent {
	syntax: "<percentage>";
	initial-value: 5%;
	inherits: false;
}
@property --gradient-shine {
	syntax: "<color>";
	initial-value: white;
	inherits: false;
}

@keyframes gradient-angle {
	to {
		--gradient-angle: 360deg;
	}
}

/* ==========================================================================
   Shiny CTA Button (Conic Gradient & Dot Matrix Hover)
   ========================================================================== */
.shiny-cta {
	--shiny-cta-bg: var(--color-brand-blue-dark);
	--shiny-cta-bg-subtle: rgba(255, 255, 255, 0.15);
	--shiny-cta-fg: #fafafa;
	--shiny-cta-highlight: var(--color-accent);
	--shiny-cta-highlight-subtle: #d9e8ff;
	--shiny-cta-dot: rgba(255, 255, 255, 0.82);
	--animation: gradient-angle linear infinite;
	--duration: 6s;
	--shadow-size: 2px;
	--transition: .8s cubic-bezier(.25, 1, .5, 1);
	
	isolation: isolate;
	cursor: pointer;
	color: var(--shiny-cta-fg) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	
	/* Conic gradient for the border! */
	background: 
		linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box, 
		conic-gradient(
			from calc(var(--gradient-angle) - var(--gradient-angle-offset)), 
			transparent, 
			var(--shiny-cta-highlight) var(--gradient-percent), 
			var(--gradient-shine) calc(var(--gradient-percent) * 2), 
			var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3), 
			transparent calc(var(--gradient-percent) * 4)
		) border-box !important;
	
	box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
	transition: var(--transition);
	border: 1px solid transparent !important;
	border-radius: 10px !important; /* Keep branding border radius */
	
	justify-content: center;
	align-items: center;
	display: inline-flex;
	position: relative;
	overflow: hidden;
	z-index: 0;
	text-decoration: none;
	font-weight: 700;
	
	animation: var(--animation) var(--duration) !important;
	transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, background, border-color, box-shadow, color;
}

.shiny-cta::before {
	content: "";
	pointer-events: none;
	z-index: -1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	--size: calc(100% - var(--shadow-size) * 3);
	--position: 2px;
	--space: calc(var(--position) * 3);
	width: var(--size);
	height: var(--size);
	background: radial-gradient(circle at var(--position) var(--position), var(--shiny-cta-dot) calc(var(--position) / 3.5), transparent 0) padding-box;
	background-size: var(--space) var(--space);
	
	/* Rotating conic mask for the dots */
	-webkit-mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
	mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
	border-radius: inherit;
	opacity: 0.95;
	background-repeat: space;
	
	animation: var(--animation) var(--duration) !important;
}

.shiny-cta::after {
	content: "";
	pointer-events: none;
	z-index: -1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	aspect-ratio: 1;
	background: linear-gradient(-50deg, transparent, var(--shiny-cta-highlight), transparent);
	opacity: .14;
	width: 100%;
	-webkit-mask-image: radial-gradient(circle at bottom, #0000 40%, #000);
	mask-image: radial-gradient(circle at bottom, #0000 40%, #000);
	border-radius: inherit;
}

.shiny-cta span {
	z-index: 1;
	align-items: center;
	display: inline-flex;
	position: relative;
}

.shiny-cta:hover {
	--gradient-percent: 20%;
	--gradient-angle-offset: 95deg;
	--gradient-shine: var(--shiny-cta-highlight-subtle);
	background: var(--color-accent) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: 0 0 25px rgba(51, 129, 255, 0.35);
}

.shiny-cta:hover::before {
	animation-duration: 2.4s !important;
}

.shiny-cta .btn-arrow {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.shiny-cta:hover .btn-arrow {
	transform: translateX(4px);
}

.shiny-cta--compact {
	min-height: 38px !important;
	padding: 0.4rem 0.9rem !important;
	font-size: 0.82rem !important;
}

.shiny-cta--compact::before {
	--size: calc(100% - var(--shadow-size) * 2.2) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
	position: fixed;
	top: 3rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
	width: auto;
	pointer-events: none;
	transition: top 0.3s ease;
}

/* Offset when the WordPress admin bar is present */
.admin-bar .site-header {
	top: calc(32px + 3rem);
}

@media screen and (max-width: 782px) {
	.site-header {
		top: 0.75rem;
		width: calc(100% - 2rem);
		max-width: 480px;
	}
	.admin-bar .site-header {
		top: calc(46px + 2rem);
	}
	.site-header__inner {
		width: 100%;
		padding: 0.4rem 0.6rem 0.4rem 1rem;
		gap: 0.75rem;
	}
}

@media screen and (max-width: 480px) {
	.site-header__inner {
		padding: 0.35rem 0.5rem 0.35rem 0.85rem;
		min-height: 48px;
	}
	.site-brand img {
		height: 18px;
	}
	.shiny-cta--compact {
		min-height: 34px !important;
		padding: 0.35rem 0.75rem !important;
		font-size: 0.78rem !important;
	}
}

.site-header__inner {
	align-items: center;
	background: rgba(10, 10, 11, 0.84);
	border: 1px solid var(--color-line);
	border-radius: 100px; /* Centered pill container */
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: 56px;
	padding: 0.4rem 0.6rem 0.4rem 1.25rem;
	pointer-events: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.site-brand {
	align-items: center;
	display: inline-flex;
	text-decoration: none;
	padding: 0;
	min-height: auto;
	flex-shrink: 0;
}

.site-brand img {
	height: 22px;
	width: auto;
	object-fit: contain;
	display: block;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.primary-nav {
	display: none !important; /* Hide inline navigation links */
}

/* Custom Hamburger Toggle Button */
.nav-toggle {
	background: transparent;
	border: 1.5px solid var(--color-accent);
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 38px;
	width: 38px;
	padding: 0;
	position: relative;
	transition: border-color 0.25s ease, background-color 0.2s ease;
}

.nav-toggle__bar {
	background: #fff;
	height: 1.5px;
	width: 16px;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
	position: absolute;
	left: 50%;
	top: 50%;
}

.nav-toggle__bar:nth-child(1) {
	transform: translate(-50%, calc(-50% - 4px));
}

.nav-toggle__bar:nth-child(2) {
	transform: translate(-50%, calc(-50% + 4px));
}

.nav-toggle:hover {
	background: rgba(255, 255, 255, 0.05);
}

/* Active State (Open Menu Overlay) */
.nav-toggle.is-active {
	border-color: rgba(255, 255, 255, 0.25);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   Full-screen Menu Overlay (Wibify Style)
   ========================================================================== */
.menu-overlay {
	background: rgba(10, 10, 11, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	inset: 0;
	opacity: 0;
	position: fixed;
	transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
	visibility: hidden;
	z-index: 999;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.menu-overlay__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	justify-content: space-between;
	padding: clamp(30px, 6vw, 80px) clamp(20px, 4vw, 48px);
	position: relative;
}

.menu-overlay__header-box {
	align-items: center;
	background: rgba(22, 22, 23, 0.8);
	border: 1px solid var(--color-line);
	border-radius: 100px;
	display: inline-flex;
	gap: 1.5rem;
	padding: 0.5rem 1rem 0.5rem 1.5rem;
	position: fixed;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1001;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.menu-overlay__logo img {
	height: 24px;
	width: auto;
	object-fit: contain;
	display: block;
}

.menu-overlay__close {
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	transition: color 0.2s ease;
}

.menu-overlay__close:hover {
	color: #fff;
}

.menu-overlay__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: flex-end;
	margin-top: 100px;
	max-width: 980px;
	margin-inline: auto;
	width: 100%;
}

.menu-overlay__nav {
	margin-bottom: 2rem;
}

.menu-overlay__menu-list {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-overlay__menu-list ul,
.menu-overlay__menu-list .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-top: 1.2rem;
}

.menu-overlay__menu-list a {
	color: #fff;
	font-family: var(--font-sans);
	font-size: clamp(2.5rem, 6vw, 4.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-decoration: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	display: inline-block;
}

.menu-overlay__menu-list li a:hover {
	opacity: 0.6;
	transform: translateX(10px);
}

.menu-overlay__lang {
	color: rgba(255, 255, 255, 0.4);
	font-family: var(--font-mono);
	font-size: 0.76rem;
	margin-bottom: 2.5rem;
	text-transform: uppercase;
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.menu-overlay__lang a {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 700;
}

.menu-overlay__lang a:hover {
	color: #fff;
}

.menu-overlay__lang .sep {
	color: rgba(255, 255, 255, 0.2);
}



.menu-overlay__divider {
	border: 0;
	border-top: 1px solid var(--color-line);
	margin: 0 0 2rem 0;
	width: 100%;
}

.menu-overlay__email {
	margin-bottom: 1.5rem;
}

.menu-overlay__email a {
	color: #fff;
	font-family: var(--font-mono);
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.menu-overlay__email a:hover {
	color: var(--color-accent);
}

.menu-overlay__footer-links {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.menu-overlay__footer-links a {
	color: rgba(255, 255, 255, 0.4);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.menu-overlay__footer-links a:hover {
	color: #fff;
}

@media (max-height: 820px) {
	.menu-overlay__content {
		margin-top: 80px;
	}
	.menu-overlay__menu-list a {
		font-size: clamp(1.8rem, 5vh, 2.8rem);
	}
	.menu-overlay__menu-list {
		gap: 0.8rem;
	}
	.menu-overlay__menu-list ul, 
	.menu-overlay__menu-list .sub-menu {
		gap: 0.8rem;
		margin-top: 0.8rem;
	}
	.menu-overlay__nav {
		margin-bottom: 1.5rem;
	}
	.menu-overlay__lang {
		margin-bottom: 1.5rem;
	}
	.menu-overlay__divider {
		margin-bottom: 1.5rem;
	}
}

@media (max-height: 600px) {
	.menu-overlay__content {
		margin-top: 60px;
	}
	.menu-overlay__menu-list a {
		font-size: clamp(1.5rem, 6vh, 2.2rem);
	}
	.menu-overlay__menu-list {
		gap: 0.5rem;
	}
	.menu-overlay__nav {
		margin-bottom: 1rem;
	}
	.menu-overlay__lang {
		margin-bottom: 1rem;
	}
	.menu-overlay__divider {
		margin-bottom: 1rem;
	}
}




.home-hero {
	align-items: center;
	background: #161616;
	display: flex;
	min-height: calc(100vh - 86px);
	overflow: hidden;
	position: relative;
	text-align: center;
}

.home-hero::after {
	background: rgba(0, 0, 0, 0.5);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.home-hero__video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.home-hero__inner {
	position: relative;
	z-index: 2;
}

.home-hero__content {
	margin-inline: auto;
	max-width: 980px;
}

.home-hero__content h1 {
	font-size: clamp(2.1rem, 7.5vw, 3.8rem);
	font-weight: 600;
	margin-inline: auto;
	max-width: 18ch;
	text-align: center;
}

.home-hero .button-row {
	justify-content: center;
}

.home-hero__content p:not(.eyebrow) {
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(1.08rem, 1.8vw, 1.32rem);
	font-weight: 400;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.section-heading {
	align-items: end;
	border-bottom: 1px solid var(--color-line);
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
	margin-bottom: 2rem;
	padding-bottom: 2rem;
}

.feature-grid,
.post-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.post-card,
.no-results {
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	padding: clamp(20px, 3vw, 32px);
}

.feature-card {
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	min-height: 230px;
	position: relative;
}

.feature-card::before {
	background: var(--color-accent);
	content: "";
	height: 10px;
	left: clamp(20px, 3vw, 32px);
	position: absolute;
	top: clamp(20px, 3vw, 32px);
	width: 10px;
}

.feature-card h3 {
	margin-top: 2rem;
}

.split-section,
.contact-cta__inner {
	align-items: center;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.6fr);
}

.work-preview,
.contact-cta {
	background: #090909;
	color: #fff;
}

.work-preview .eyebrow,
.contact-cta .eyebrow {
	color: var(--color-accent);
}

.work-preview p,
.contact-cta p {
	color: color-mix(in srgb, var(--color-paper) 72%, transparent);
}

.contact-cta .button {
	background: #fff;
	color: #050505;
	justify-self: end;
}

@keyframes home-hero-button-border-rotate {
	to {
		transform: rotate(360deg);
	}
}

@keyframes home-hero-button-sweep {
	0% {
		transform: translateX(-140%) skewX(-24deg);
	}

	100% {
		transform: translateX(140%) skewX(-24deg);
	}
}

.post-card {
	background: #0f0f0f;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0;
	overflow: hidden;
}

.post-card__media {
	aspect-ratio: 4 / 3;
	background: #090909;
	display: block;
}

.post-card__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.post-card__body {
	padding: clamp(20px, 3vw, 28px);
}

.post-card h2 {
	font-size: clamp(1.45rem, 2vw, 2rem);
}

.post-card h2 a {
	text-decoration: none;
}

.post-card__read-more {
	color: var(--color-accent);
	display: inline-flex;
	align-items: center;
	font-size: 0.9rem;
	font-weight: 700;
	margin-top: 1rem;
	text-decoration: none;
	transition: gap 0.2s ease, opacity 0.2s ease;
}

.post-card__read-more:hover {
	gap: 0.35rem;
	opacity: 0.85;
}

.entry-meta {
	color: var(--color-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.85rem;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.entry-meta time {
	color: var(--color-accent);
	font-weight: 700;
}

/* --- BLOG LAYOUT SIDEBAR GRID --- */
.blog-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}

@media (min-width: 1024px) {
	.blog-layout {
		grid-template-columns: 340px 1fr;
		gap: 50px;
	}
}

/* --- VERTICAL SIDEBAR FILTERS CARD --- */
.blog-filters-card {
	background: rgba(255, 255, 255, 0.015);
	border: 1px solid var(--color-line);
	border-radius: 20px;
	padding: 24px;
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
}

.blog-filters-card__header {
	margin-bottom: 1.5rem;
}

.blog-filters-card__eyebrow-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0.5rem;
}

.blog-filters-card__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 8px var(--color-accent);
}

.blog-filters-card__eyebrow {
	font-size: 0.7rem;
	font-weight: 800;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.blog-filters-card__title {
	font-size: 1.5rem;
	font-weight: 900;
	color: #ffffff;
	margin: 0;
}

.blog-filters-card__subtitle {
	display: none;
	margin: 0;
}

.blog-filters-card__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* --- SEARCH: unified icon-toggle interaction, same on every breakpoint --- */
.blog-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: var(--color-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.blog-search-toggle:hover {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.15);
}

.blog-search-bar {
	display: none;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	margin-top: 0.6rem;
}

.blog-search-bar__icon {
	flex-shrink: 0;
	color: var(--color-muted);
	opacity: 0.6;
}

.blog-search-bar__input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	padding: 0;
	min-width: 0;
}

.blog-search-bar__input::placeholder {
	color: var(--color-muted);
	opacity: 0.7;
}

.blog-search-bar__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: none;
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.blog-search-bar__close:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

.blog-filters-card.search-open .blog-filters-card__eyebrow-row,
.blog-filters-card.search-open .blog-filters-card__title-row,
.blog-filters-card.search-open .blog-filters-card__subtitle {
	display: none;
}

.blog-filters-card.search-open .blog-search-bar {
	display: flex;
}

.blog-search-result-label {
	display: none;
	align-items: center;
	gap: 8px;
	color: var(--color-muted);
	font-size: 0.75rem;
	cursor: pointer;
	margin-top: 0.6rem;
}

.blog-search-result-label svg {
	flex-shrink: 0;
	opacity: 0.6;
}

.blog-search-result-label span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-search-result-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--color-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.blog-search-result-clear:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

.blog-filters-card.has-results .blog-filters-card__eyebrow-row,
.blog-filters-card.has-results .blog-filters-card__title-row,
.blog-filters-card.has-results .blog-filters-card__subtitle {
	display: none;
}

.blog-filters-card.has-results .blog-search-result-label {
	display: flex;
}

/* List elements */
.blog-filters-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Filter Tag Items */
.blog-filters-list .blog-filter-tag {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0.85rem 1rem;
	background: rgba(255, 255, 255, 0.01);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 0;
}

.blog-filters-list .blog-filter-tag:hover {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.1);
	transform: translateX(4px);
}

.blog-filters-list .blog-filter-tag.is-active {
	background: rgba(51, 129, 255, 0.04);
	border-color: rgba(51, 129, 255, 0.25);
	color: #ffffff;
}

/* Left Accent Line */
.blog-filters-list .blog-filter-tag.is-active::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 14px;
	bottom: 14px;
	width: 3px;
	background: var(--color-accent);
	border-radius: 0 4px 4px 0;
	box-shadow: 0 0 6px var(--color-accent);
}

/* Icon Box */
.blog-filter-tag__icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	color: var(--color-muted);
	margin-right: 12px;
	min-width: 38px;
	transition: all 0.25s ease;
}

.blog-filters-list .blog-filter-tag:hover .blog-filter-tag__icon-box {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.05);
}

.blog-filters-list .blog-filter-tag.is-active .blog-filter-tag__icon-box {
	color: var(--color-accent);
	border-color: rgba(51, 129, 255, 0.15);
	background: rgba(51, 129, 255, 0.08);
}

/* Content block in items */
.blog-filter-tag__content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	line-height: 1.25;
	padding-right: 8px;
}

.blog-filters-list .blog-filter-name {
	font-size: 0.9rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 2px;
}

.blog-filters-list .blog-filter-desc {
	font-size: 0.74rem;
	color: var(--color-muted);
	font-style: normal;
	font-weight: 400;
}

/* Count Badge */
.blog-filters-list .blog-filter-count {
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--color-muted);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	min-width: 24px;
	transition: all 0.25s ease;
}

.blog-filters-list .blog-filter-tag:hover .blog-filter-count {
	border-color: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.blog-filters-list .blog-filter-tag.is-active .blog-filter-count {
	background: rgba(51, 129, 255, 0.1);
	border-color: rgba(51, 129, 255, 0.2);
	color: var(--color-accent);
}

/* Footer Section */
.blog-filters-card__footer {
	margin-top: 1.5rem;
	border-top: 1px solid var(--color-line);
	padding-top: 1.25rem;
}

.blog-sidebar-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--color-line);
	color: #ffffff;
	padding: 0.7rem 1.2rem;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
	text-align: center;
}

.blog-sidebar-cta:hover {
	background: #ffffff;
	color: #080808;
	border-color: #ffffff;
}

.blog-sidebar-counter {
	margin-top: 0.85rem;
	font-size: 0.72rem;
	color: var(--color-muted);
	text-align: center;
	letter-spacing: 0.02em;
}

/* --- ADJUST GRID SPAN IN LAYOUT --- */
@media (min-width: 1024px) {
	.blog-main .post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- MOBILE: HORIZONTAL SCROLLING CATEGORY FILTERS --- */
@media (max-width: 1023px) {
	.blog-layout {
		gap: 24px;
	}

	.blog-sidebar {
		overflow: hidden;
	}

	.blog-filters-card {
		background: transparent;
		border: none;
		padding: 0;
		border-radius: 0;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.blog-filters-card__header {
		margin-bottom: 1rem;
	}

	.blog-filters-card__eyebrow-row {
		display: none;
	}

	.blog-filters-card__title {
		font-size: 1.15rem;
	}

	.blog-filters-card__subtitle {
		display: block;
		font-size: 0.78rem;
		color: var(--color-muted);
		margin-top: 0.25rem;
	}

	.blog-filters-card__footer {
		display: none;
	}

	.blog-filters-list {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 0.5rem;
		padding-bottom: 0.35rem;
	}

	.blog-filters-list::-webkit-scrollbar {
		display: none;
	}

	.blog-filters-list .blog-filter-tag {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 0.55rem 0.9rem 0.55rem 0.55rem;
		margin-bottom: 0;
	}

	.blog-filters-list .blog-filter-tag:hover {
		transform: none;
	}

	.blog-filter-tag__icon-box {
		width: 30px;
		height: 30px;
		min-width: 30px;
		margin-right: 8px;
	}

	.blog-filter-tag__content {
		flex-grow: 0;
		padding-right: 0;
	}

	.blog-filters-list .blog-filter-name {
		font-size: 0.82rem;
		margin-bottom: 0;
	}

	.blog-filters-list .blog-filter-desc,
	.blog-filters-list .blog-filter-count {
		display: none;
	}
}

.archive-header {
	background: #080808;
	border-bottom: 1px solid var(--color-line);
	padding-top: clamp(100px, 12vw, 150px);
	padding-bottom: clamp(40px, 6vw, 80px);
}

.archive-header h1,
.single-post__header h1 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	max-width: 100%;
}

.archive-subtitle {
	max-width: 800px;
	margin-top: 1.5rem;
}

.subtitle-highlight {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: #ffffff;
	line-height: 1.4;
	margin-bottom: 1rem;
}

.archive-subtitle p:not(.subtitle-highlight) {
	font-size: clamp(0.95rem, 1.5vw, 1.05rem);
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.6;
	margin: 0;
}

.single-post__header {
	border-bottom: 1px solid var(--color-line);
	padding-top: clamp(120px, 14vw, 170px);
	padding-bottom: clamp(32px, 5vw, 64px);
	background: transparent;
}

.single-post__category {
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.category-bullet {
	color: var(--color-accent);
	margin-right: 0.5rem;
	font-size: 1.1rem;
	line-height: 1;
	vertical-align: middle;
}

.single-post__category ul.post-categories {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	gap: 0.5rem;
}

.single-post__category a {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	font-weight: 700;
	text-decoration: none;
}

.single-post__title {
	margin-bottom: 1.5rem;
}

.single-post__header .entry-meta {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.55);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.single-post__header .entry-meta .author-name {
	color: var(--color-ink);
	font-weight: 600;
}

.single-post__header .entry-meta time {
	color: rgba(255, 255, 255, 0.55);
	font-weight: normal;
}

.meta-sep {
	color: rgba(255, 255, 255, 0.25);
	margin: 0 0.5rem;
}

.single-post__media {
	margin-top: 40px;
	margin-bottom: 40px;
}

.single-post__media img {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	object-fit: cover;
	width: 100%;
}

.entry-content,
.single-post__content-area {
	font-size: 1.06rem;
	line-height: 1.65;
	color: var(--color-muted);
}

.single-post__content-area .mv-progress {
	display: none !important;
}

.entry-content > *,
.single-post__content-area > * {
	margin-bottom: 1.25em;
}

.entry-content h2,
.single-post__content-area h2 {
	font-size: 1.9rem;
	line-height: 2.5rem;
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	max-width: 100%;
}

.pagination-wrap {
	margin-top: 3rem;
}

.site-footer {
	background: #090909;
	border-top: 1px solid var(--color-line);
	padding-block: clamp(40px, 7vw, 96px);
}

.site-footer__inner {
	display: grid;
	gap: 4rem;
	grid-template-columns: 1fr 2fr;
	margin-inline: auto;
	max-width: var(--container);
	padding-inline: clamp(20px, 4vw, 48px);
}

.site-footer__brand-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.site-footer__logo img {
	height: 28px;
	width: auto;
	object-fit: contain;
	display: block;
}

.site-footer__tagline {
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 320px;
	margin: 0;
}

.site-footer__nav-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-footer__col-title {
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.site-footer__list a,
.site-footer__text {
	color: var(--color-muted);
	font-size: 0.88rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__list a:hover {
	color: #fff;
}

.site-footer__bottom {
	grid-column: 1 / -1;
	margin-top: 4rem;
}

.site-footer__divider {
	border: 0;
	border-top: 1px solid var(--color-line);
	margin: 0 0 2rem 0;
	width: 100%;
}

.site-footer__meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-footer__copy,
.site-footer__location {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.76rem;
	margin: 0;
}

/* Single Post TOC Layout */
.single-post__layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: clamp(40px, 6vw, 100px);
	align-items: start;
	margin-top: 20px;
	margin-bottom: 80px;
}

.single-post__toc-sidebar {
	position: sticky;
	top: 120px;
	max-height: calc(100vh - 160px);
	overflow-y: auto;
}

.toc-title {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 1rem;
	font-weight: 700;
}

.single-post__toc ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border-left: 1px solid var(--color-line);
}

.single-post__toc li {
	margin: 0;
}

.single-post__toc a {
	display: block;
	padding: 8px 16px;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
	border-left: 2px solid transparent;
	margin-left: -1px;
	line-height: 1.4;
}

.single-post__toc a:hover {
	color: var(--color-ink);
}

.single-post__toc a.active {
	color: var(--color-accent);
	border-left-color: var(--color-accent);
	font-weight: 600;
}

@media (max-width: 860px) {
	h1 {
		font-size: clamp(3rem, 16vw, 5rem);
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.site-footer__nav-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.section-heading,
	.feature-grid,
	.post-grid,
	.split-section,
	.contact-cta__inner {
		grid-template-columns: 1fr;
	}

	.contact-cta .button {
		justify-self: start;
	}

	.single-post__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.single-post__toc-sidebar {
		display: none;
	}
}

@media (max-width: 480px) {
	.site-footer__nav-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.mv-cookie-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.4s ease;
	overflow-y: auto;
	box-sizing: border-box;
}

.mv-cookie-overlay.is-visible {
	opacity: 1;
}

.mv-cookie-modal {
	background: #0f0f11;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	max-width: 580px;
	width: 100%;
	padding: 32px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	transform: translateY(20px) scale(0.98);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
	margin: auto; /* enables proper scrolling top/bottom margins in flex container */
}

.mv-cookie-overlay.is-visible .mv-cookie-modal {
	transform: translateY(0) scale(1);
}

.mv-cookie-modal__title {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px 0;
	line-height: 1.2;
}

.mv-cookie-modal__text {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
	margin: 0 0 16px 0;
}

.mv-cookie-modal__policy-link {
	margin-bottom: 24px;
}

.mv-cookie-modal__policy-link a {
	font-size: 0.9rem;
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 600;
}

.mv-cookie-modal__policy-link a:hover {
	text-decoration: underline;
}

.mv-cookie-modal__categories {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 28px;
}

.mv-cookie-cat {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 12px;
	padding: 16px 20px;
}

.mv-cookie-cat__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.mv-cookie-cat__info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mv-cookie-cat__name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.mv-cookie-badge {
	font-size: 0.72rem;
	padding: 2px 8px;
	border-radius: 20px;
	font-weight: 600;
}

.mv-cookie-badge--active {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
}

.mv-cookie-cat__desc {
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

/* Custom Switch Toggle */
.mv-cookie-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.mv-cookie-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.mv-cookie-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.1);
	transition: .3s;
	border-radius: 24px;
}

.mv-cookie-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #777;
	transition: .3s;
	border-radius: 50%;
}

.mv-cookie-switch input:checked + .mv-cookie-slider {
	background-color: var(--color-accent);
}

.mv-cookie-switch input:checked + .mv-cookie-slider:before {
	transform: translateX(20px);
	background-color: #fff;
}

.mv-cookie-switch input:disabled + .mv-cookie-slider {
	background-color: rgba(255, 255, 255, 0.05);
	cursor: not-allowed;
}

.mv-cookie-switch input:disabled + .mv-cookie-slider:before {
	background-color: rgba(255, 255, 255, 0.2);
}

/* Modal Actions Layout */
.mv-cookie-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.mv-cookie-btn {
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}

.mv-cookie-btn--primary {
	background: var(--color-accent);
	color: #fff;
}

.mv-cookie-btn--primary:hover {
	background: #2a73ef;
	transform: translateY(-1px);
}

.mv-cookie-btn--secondary {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.8);
}

.mv-cookie-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transform: translateY(-1px);
}

/* Responsive adjustment for actions & modal scrolling */
@media (max-width: 580px) {
	.mv-cookie-overlay {
		align-items: flex-start;
	}
	.mv-cookie-modal {
		padding: 24px;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.mv-cookie-cat__desc {
		font-size: 0.81rem;
		line-height: 1.45;
	}
	.mv-cookie-modal__actions {
		flex-direction: column;
		gap: 8px;
	}
	.mv-cookie-btn {
		width: 100%;
		text-align: center;
	}
}

@media (max-height: 760px) {
	.mv-cookie-overlay {
		align-items: flex-start;
	}
	.mv-cookie-modal {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

/* Hide Table of Contents on specific pages */
.page-id-1586 #toc_container,
.page-id-1594 #toc_container,
.page-id-1599 #toc_container,
.page-id-1665 #toc_container {
	display: none !important;
}





