/*
Design: Brutalist Light
Description: Bold brutalist typography with MKDM light color scheme (warm brown accent)
Author: Matt Kundo
Version: 1.0.0
Trends: Oversized serif fonts, grid asymmetry, warm accents, scroll reveals
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
	/* Light mode with warm brown accent (from MKDM 2026 Light) */
	--bg-primary: #ffffff;
	--bg-secondary: #faf9f7;
	--bg-tertiary: #f5f3f0;
	--bg-card: #ffffff;

	--text-primary: #1a1a1a;
	--text-secondary: #5a5856;
	--text-muted: #8a8785;

	/* Standardized Accent: Camel Brown */
	--accent: #BFA07A;
	--accent-glow: rgba(191, 160, 122, 0.2);
	--accent-soft: rgba(191, 160, 122, 0.08);

	/* Removed secondary accents for clarity */
	--border: rgba(26, 26, 26, 0.1);
	--border-strong: rgba(26, 26, 26, 0.8);
	/* Stronger contrast for brutalism */

	/* Typography - Bold Serif + Mono */
	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: 'Space Mono', 'Courier New', monospace;

	/* Sizing */
	--max-width: 1400px;
	--gutter: clamp(1.5rem, 4vw, 3rem);

	/* Animation */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--duration-fast: 0.15s;
	--duration-normal: 0.4s;
	--duration-slow: 0.8s;

	/* Grid */
	--grid-gap: 2rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

::selection {
	background: var(--accent);
	color: var(--bg-primary);
}

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

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

ul,
ol {
	list-style: none;
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */

.cursor {
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 9999;
	mix-blend-mode: multiply;
	transform: translate(-50%, -50%);
	transition: transform 0.1s var(--ease-out), width 0.2s, height 0.2s;
}

.cursor.hover {
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid var(--accent);
	mix-blend-mode: normal;
}

.cursor-glow {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
	border-radius: 50%;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 1;
	transform: translate(-50%, -50%);
	opacity: 0.2;
	transition: opacity 0.3s;
}

@media (max-width: 1024px) {

	.cursor,
	.cursor-glow {
		display: none;
	}
}

/* ==========================================================================
   Grid Overlay (Brutalist decoration)
   ========================================================================== */

.grid-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 100px 100px;
	opacity: 0.4;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 1.5rem var(--gutter);
	transition: background var(--duration-normal), padding var(--duration-normal);
}

.header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	padding: 1rem var(--gutter);
	box-shadow: 0 1px 0 var(--border);
}

.header-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 1001;
}

.logo-text {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--text-primary);
}

.logo-dot {
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.2);
		opacity: 0.7;
	}
}

.nav {
	display: none;
	align-items: center;
	gap: 3rem;
}

@media (min-width: 900px) {
	.nav {
		display: flex;
	}
}

.nav-link {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-secondary);
	position: relative;
	padding: 0.5rem 0;
	overflow: hidden;
}

.nav-link::before {
	content: attr(data-hover);
	position: absolute;
	top: 100%;
	left: 0;
	color: var(--accent);
	transition: transform var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
	color: var(--text-primary);
}

.nav-link:hover::before {
	transform: translateY(-100%);
}

.nav-cta {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--accent);
	color: var(--accent);
	transition: all var(--duration-fast);
}

.nav-cta:hover {
	background: var(--accent);
	color: var(--bg-primary);
}

/* Nav Dropdown */
.nav-dropdown {
	position: relative;
}

.nav-dropdown > .nav-link {
	overflow: hidden;
	display: block;
}

.dropdown-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	min-width: 220px;
	background: var(--bg-primary);
	border-bottom: 2px solid var(--accent);
	padding: 1rem 0 0.75rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-5px);
	transition: opacity var(--duration-fast), transform var(--duration-fast), visibility var(--duration-fast);
	z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-link {
	display: block;
	padding: 0.5rem 0;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-secondary);
	transition: color var(--duration-fast);
}

.dropdown-link:hover {
	color: var(--accent);
}

/* Mobile menu toggle */
.menu-toggle {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
}

@media (min-width: 900px) {
	.menu-toggle {
		display: none;
	}
}

.menu-toggle span {
	width: 24px;
	height: 2px;
	background: var(--text-primary);
	transition: transform var(--duration-normal) var(--ease-out);
}

.menu-open .menu-toggle span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
	position: fixed;
	inset: 0;
	background: var(--bg-primary);
	z-index: 999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--duration-normal), visibility var(--duration-normal);
	overflow-y: auto;
	padding: 5rem 1.5rem 3rem;
}

.menu-open .mobile-nav {
	opacity: 1;
	visibility: visible;
}

.mobile-nav nav {
	text-align: center;
}

.mobile-nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 7vw, 3rem);
	font-weight: 500;
	padding: 0.05em 0;
	min-height: 44px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity var(--duration-slow) var(--ease-out),
		transform var(--duration-slow) var(--ease-out),
		color var(--duration-fast);
}

.menu-open .mobile-nav-link {
	opacity: 1;
	transform: translateY(0);
}

.menu-open .mobile-nav-link:nth-child(1) {
	transition-delay: 0.1s;
}

.menu-open .mobile-nav-link:nth-child(2) {
	transition-delay: 0.15s;
}

.menu-open .mobile-nav-link:nth-child(3) {
	transition-delay: 0.2s;
}

.menu-open .mobile-nav-link:nth-child(4) {
	transition-delay: 0.25s;
}

.mobile-nav-link:hover {
	color: var(--accent);
}

/* Mobile nav sub-menu */
.mobile-nav-group {
	text-align: center;
}

.mobile-nav-sub {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.5rem 0 0.75rem;
}

.mobile-nav-sublink {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.03em;
	color: var(--text-secondary);
	padding: 0.75rem 1rem;
	min-height: 44px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity var(--duration-slow) var(--ease-out),
		transform var(--duration-slow) var(--ease-out),
		color var(--duration-fast);
}

.menu-open .mobile-nav-sublink {
	opacity: 1;
	transform: translateY(0);
}

.menu-open .mobile-nav-sublink:nth-child(1) { transition-delay: 0.2s; }
.menu-open .mobile-nav-sublink:nth-child(2) { transition-delay: 0.22s; }
.menu-open .mobile-nav-sublink:nth-child(3) { transition-delay: 0.24s; }
.menu-open .mobile-nav-sublink:nth-child(4) { transition-delay: 0.26s; }
.menu-open .mobile-nav-sublink:nth-child(5) { transition-delay: 0.28s; }
.menu-open .mobile-nav-sublink:nth-child(6) { transition-delay: 0.3s; }

.mobile-nav-sublink:hover {
	color: var(--accent);
}

.mobile-nav-footer {
	margin-top: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
	display: flex;
	gap: 1rem;
}

.divider {
	color: var(--border-strong);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8rem var(--gutter) 4rem;
	position: relative;
	background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
	overflow: hidden;
}

@media (max-width: 768px) {
	.hero {
		padding-top: 5rem;
	}
}

/* Ghostly portrait background */
.hero-portrait {
	position: absolute;
	top: 50%;
	right: -5%;
	transform: translateY(-50%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-kundo-portrait-formal.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
	/* Oval vignette mask: fades to transparent all around the edges */
	-webkit-mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.hero-portrait {
		right: -10%;
		width: 700px;
		height: 1000px;
	}
}

@media (max-width: 768px) {
	.hero-portrait {
		/* Show ghostly portrait on mobile - repositioned */
		display: block;
		position: absolute;
		top: -10px;
		right: -30%;
		left: auto;
		transform: none;
		width: 400px;
		height: 600px;
		opacity: 0.25;
		-webkit-mask-image: radial-gradient(
			ellipse 60% 50% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.6) 50%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 60% 50% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.6) 50%,
			rgba(0, 0, 0, 0) 100%
		);
	}
}

/* Mobile portrait - hidden (using ghostly background instead) */
.hero-portrait-mobile {
	display: none;
}

@media (max-width: 768px) {
	.hero-portrait-mobile {
		display: none;
	}

	.hero-portrait-mobile img {
		display: none;
	}
}

.hero-content {
	max-width: var(--max-width);
	margin: 0 auto;
	width: 100%;
	position: relative;
	z-index: 1;
}

.hero-label {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 2rem;
}

.label-line {
	width: 40px;
	height: 1px;
	background: var(--accent);
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 12vw, 9rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.02em;
	margin-bottom: 2rem;
}

.title-line {
	display: block;
}

.title-line em {
	font-style: italic;
	color: var(--text-primary);
}

.title-accent {
	color: var(--text-primary);
}

.hero-sub {
	font-size: clamp(1.125rem, 2.5vw, 1.5rem);
	color: var(--text-secondary);
	max-width: 600px;
	margin-bottom: 3rem;
}

.glow {
	color: var(--accent);
	text-shadow: 0 0 20px var(--accent-glow);
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 4rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 1rem 2rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all var(--duration-fast);
}

.btn-primary {
	background: var(--accent);
	color: var(--bg-primary);
	border-color: var(--accent);
}

.btn-primary:hover {
	background: var(--text-primary);
	border-color: var(--text-primary);
	color: var(--bg-primary);
	box-shadow: 0 0 0 transparent;
	/* Removed glow for cleaner look */
}

.btn-ghost {
	background: transparent;
	color: var(--text-primary);
	border-color: var(--border-strong);
}

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

.btn-large {
	font-size: 1rem;
	padding: 1.25rem 2.5rem;
}

/* Hero stats */
.hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border);
	max-width: 700px;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.stat-number {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 600;
	line-height: 1;
	color: var(--text-primary);
}

.stat-suffix {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 400;
	color: var(--accent);
}

.stat-label {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* Scroll indicator */
.hero-scroll {
	position: absolute;
	bottom: 3rem;
	right: var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.scroll-indicator {
	width: 1px;
	height: 60px;
	background: linear-gradient(to bottom, var(--accent), transparent);
	animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

	0%,
	100% {
		opacity: 1;
		transform: scaleY(1);
	}

	50% {
		opacity: 0.5;
		transform: scaleY(0.7);
	}
}

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */

section {
	position: relative;
	z-index: 2;
}

.section-header {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	margin-bottom: 4rem;
}

.section-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--accent);
	margin-bottom: 1rem;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
}

.section-title em {
	font-style: italic;
	color: var(--text-primary);
	text-shadow: 0 0 40px var(--accent-glow);
	animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes shadowPulse {
	0%, 100% {
		text-shadow: 0 0 40px var(--accent-glow);
	}
	50% {
		text-shadow: 0 0 60px var(--accent-glow), 0 0 80px var(--accent-glow);
	}
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
	padding: 8rem 0;
	background: var(--bg-secondary);
}

.services-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1px;
	background: var(--border);
}

.service-card {
	background: var(--bg-primary);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	transition: background var(--duration-normal);
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
	background: var(--bg-tertiary);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-card-accent {
	background: var(--accent);
	color: var(--bg-primary);
}

.service-card-accent:hover {
	background: var(--text-primary);
	/* Switch to black on hover */
}

.service-card-accent::before {
	background: var(--bg-primary);
}

.service-index {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
}

.service-card-accent .service-index {
	color: var(--bg-primary);
	opacity: 0.5;
}

.service-card .service-title {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.2;
}

.service-desc {
	color: var(--text-secondary);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.service-card-accent .service-desc {
	color: rgba(255, 255, 255, 0.8);
}

.service-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
}

.service-tags li {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.375rem 0.75rem;
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
}

.service-card-accent .service-tags li {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--bg-primary);
}

/* Services CTA */
.services-cta {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 2.5rem var(--gutter) 0;
	text-align: center;
}

.services-cta-link {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	color: var(--accent);
	text-decoration: none;
	transition: color var(--duration-fast);
}

.services-cta-link:hover {
	color: var(--text-primary);
}

/* ==========================================================================
   Work Section
   ========================================================================== */

.work {
	padding: 8rem 0;
	background: var(--bg-primary);
}

.work-showcase {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--grid-gap);
}

@media (min-width: 900px) {
	.work-showcase {
		grid-template-columns: 1.5fr 1fr;
		grid-template-rows: auto auto;
	}

	.work-item-large {
		grid-row: span 2;
	}
}

.work-item {
	position: relative;
	overflow: hidden;
}

.work-image {
	aspect-ratio: 4/3;
	overflow: hidden;
}

.work-item-large .work-image {
	aspect-ratio: 3/4;
}

.work-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--duration-slow) var(--ease-out);
}

.work-item:hover .work-placeholder {
	transform: scale(1.05);
}

.work-placeholder-alt {
	background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-secondary) 100%);
}

.work-placeholder-dark {
	background: linear-gradient(135deg, #e8e4e0 0%, #d4d0cc 100%);
}

.work-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-slow) var(--ease-out);
}

.work-item:hover .work-video {
	transform: scale(1.05);
}

.placeholder-text {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: var(--text-muted);
}

.work-info {
	padding: 1.5rem 0;
}

.work-client {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.25rem;
}

.work-category {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.work-title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 600;
	margin: 0.5rem 0;
}

.work-metric {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
}

/* Work Category Breakdown (Homepage) */
.work-category-breakdown {
	max-width: var(--max-width);
	margin: 4rem auto 0;
	padding: 2.5rem var(--gutter);
	background: var(--bg-secondary);
	border-radius: 4px;
}

.work-breakdown-title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
}

.work-breakdown-title .counter {
	color: var(--accent);
}

.category-chart-compact {
	gap: 0.625rem;
}

.category-chart-compact .category-bar {
	grid-template-columns: 140px 1fr 40px;
	gap: 0.75rem;
}

.category-chart-compact .category-name {
	font-size: 0.8125rem;
}

.category-chart-compact .category-bar-track {
	height: 20px;
}

.category-chart-compact .category-count {
	font-size: 0.75rem;
}

.work-breakdown-link {
	display: inline-block;
	margin-top: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--accent);
	text-decoration: none;
	transition: color var(--duration-fast);
}

.work-breakdown-link:hover {
	color: var(--text-primary);
}

@media (max-width: 600px) {
	.work-category-breakdown {
		margin-top: 3rem;
		padding: 2rem var(--gutter);
	}

	.category-chart-compact .category-bar {
		grid-template-columns: 1fr;
		gap: 0.375rem;
	}

	.category-chart-compact .category-bar-track {
		height: 16px;
	}
}

/* ==========================================================================
   Credibility Strip
   ========================================================================== */

.credibility-strip {
	padding: 3rem 0;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.credibility-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.credibility-inner {
		flex-direction: row;
		justify-content: center;
		gap: 3rem;
	}
}

.credibility-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
}

.credibility-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.logo-placeholder {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
	padding: 0.75rem 1.5rem;
	border: 1px dashed var(--border);
	opacity: 0.6;
}

.credibility-logos img {
	height: 32px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: all var(--duration-fast);
}

.credibility-logos img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* Logo Marquee */
.logo-marquee {
	position: relative;
	overflow: hidden;
	padding: 1.5rem 0;
	width: 100%;

	/* Fade edges */
	-webkit-mask-image: linear-gradient(
		to right,
		transparent,
		black 10%,
		black 90%,
		transparent
	);
	mask-image: linear-gradient(
		to right,
		transparent,
		black 10%,
		black 90%,
		transparent
	);
}

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

.logo-marquee:hover .logo-marquee__track {
	animation-play-state: paused;
}

.logo-marquee__group {
	display: flex;
	align-items: center;
	gap: 3rem;
	padding-right: 3rem;
}

.logo-marquee__logo {
	height: 36px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	opacity: 0.45;
	filter: grayscale(100%);
	transition: all var(--duration-fast);
}

.logo-marquee__logo:hover {
	opacity: 1;
	filter: grayscale(0%);
}

/* Tier 1 logos - slightly larger */
.logo-marquee__logo--tier1 {
	height: 44px;
	max-width: 160px;
	opacity: 0.55;
}

/* Large modifier for logos that need extra size (NFC, Octarine, MyUTI) */
.logo-marquee__logo--large {
	height: 48px;
	max-width: 180px;
}

/* Invert white logos for visibility on light backgrounds */
.logo-marquee__logo--invert {
	filter: grayscale(100%) invert(1) brightness(0.2);
}

.logo-marquee__logo--invert:hover {
	filter: invert(1) brightness(0.2);
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Pause animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.logo-marquee__track {
		animation: none;
	}

	.logo-marquee__group {
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* Mobile adjustments */
@media (max-width: 767px) {
	.logo-marquee__logo {
		height: 22px;
		max-width: 80px;
	}

	.logo-marquee__logo--tier1 {
		height: 28px;
		max-width: 100px;
	}

	.logo-marquee__group {
		gap: 2rem;
		padding-right: 2rem;
	}
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
	padding: 8rem 0;
	background: var(--bg-primary);
}

.testimonials .section-header {
	max-width: var(--max-width);
	margin: 0 auto 4rem;
	padding: 0 var(--gutter);
}

.testimonials-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.testimonials-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.testimonial-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	transition: border-color var(--duration-normal);
}

.testimonial-card:hover {
	border-color: var(--accent);
}

.testimonial-quote {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.6;
	color: var(--text-secondary);
	flex-grow: 1;
}

.testimonial-quote::before {
	content: '"';
	display: block;
	font-family: var(--font-display);
	font-size: 3rem;
	font-style: normal;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.author-avatar {
	display: none;
}

.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-placeholder {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent);
}

.author-info {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.author-name {
	font-weight: 600;
	font-size: 0.9375rem;
}

.author-title {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process {
	padding: 8rem 0;
	background: var(--bg-secondary);
}

.process .section-header {
	max-width: var(--max-width);
	margin: 0 auto 4rem;
	padding: 0 var(--gutter);
}

.process-steps {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.process-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.process-steps {
		grid-template-columns: repeat(4, 1fr);
	}
}

.process-step {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.step-number {
	font-family: var(--font-mono);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
}

.step-content {
	padding-top: 1rem;
	border-top: 2px solid var(--accent);
}

.step-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.step-desc {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
	padding: 8rem 0;
	background: var(--bg-secondary);
}

.about-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

@media (min-width: 900px) {
	.about-grid {
		grid-template-columns: 1.5fr 1fr;
	}
}

.about-content .section-title {
	margin-bottom: 2rem;
}

.about-text {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.about-text p {
	color: var(--text-secondary);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.about-values {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.value {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
}

.value-icon {
	color: var(--accent);
	font-weight: 700;
}

.about-visual {
	display: flex;
	justify-content: center;
}

.visual-block {
	width: 280px;
	height: 280px;
	border: 1px solid var(--border-strong);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background: var(--bg-primary);
}

.visual-block::before {
	content: '';
	position: absolute;
	inset: -1px;
	border: 1px solid var(--accent);
	transform: translate(10px, 10px);
	pointer-events: none;
}

.visual-text {
	font-family: var(--font-display);
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--accent);
}

.visual-sub {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--text-muted);
	margin-top: 0.5rem;
}

/* ==========================================================================
   Services Landing Page
   ========================================================================== */

.services-hero {
	padding: 8rem var(--gutter) 4rem;
	max-width: var(--max-width);
	margin: 0 auto;
}

.services-hero-content {
	max-width: 800px;
}

.services-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
}

.services-hero-title .title-line {
	display: block;
	margin-bottom: 0.25em;
}

.services-hero-title .title-accent em {
	color: var(--accent);
	font-style: italic;
}

.services-hero-sub {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--text-secondary);
	line-height: 1.5;
	max-width: 600px;
}

.services-hero-ctas {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.services-hero-proof {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

.services-hero-proof .proof-stat {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--accent);
}

.services-hero-proof .proof-label {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

@media (max-width: 768px) {
	.services-hero {
		padding: 6rem var(--gutter) 3rem;
	}

	.services-hero-ctas {
		flex-direction: column;
	}

	.services-hero-ctas .btn {
		width: 100%;
		justify-content: center;
	}
}

/* Services Problems Section */
.services-problems {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

.problems-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.problems-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.problem-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
}

.problem-icon {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-muted);
	flex-shrink: 0;
	line-height: 1.4;
}

.problem-item p {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 600px) {
	.problems-grid {
		grid-template-columns: 1fr;
	}
}

/* Services Approach Section */
.services-approach {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

.approach-content {
	display: grid;
	gap: 4rem;
}

.approach-text {
	max-width: 700px;
}

.approach-lead {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
}

.approach-text p:not(.approach-lead) {
	font-size: 1rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

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

@media (min-width: 900px) {
	.approach-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.approach-item {
	padding: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
}

.approach-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
	margin-bottom: 1rem;
}

.approach-item h3 {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.approach-item p {
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

@media (max-width: 600px) {
	.approach-grid {
		grid-template-columns: 1fr;
	}
}

/* Services FAQ Section */
.services-faq {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

/* ==========================================================================
   Standalone About Page
   ========================================================================== */

/* About Hero */
.about-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	min-height: 80vh;
	padding: 8rem var(--gutter) 6rem;
	max-width: var(--max-width);
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

/* Ghostly portrait background for about page */
.about-hero-portrait {
	position: absolute;
	top: 75%;
	right: -5%;
	transform: translateY(-50%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-disco-smoldering.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
	/* Oval vignette mask: fades to transparent all around the edges */
	-webkit-mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.about-hero-portrait {
		right: -10%;
		width: 700px;
		height: 1000px;
	}
}

@media (max-width: 768px) {
	.about-hero-portrait {
		top: 80%;
		right: -30%;
		width: 300px;
		height: 450px;
		opacity: 0.35;
		z-index: 0;
		-webkit-mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
	}
}

.about-hero-content {
	padding-right: 2rem;
	position: relative;
	z-index: 1;
}

.about-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--text-primary);
}

.about-hero-title .title-line {
	display: block;
	margin-bottom: 0.25em;
}

.about-hero-title .title-accent em {
	color: var(--accent);
	font-style: italic;
}

.about-hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
}

.about-hero-image img {
	max-width: 100%;
	max-height: 500px;
	object-fit: contain;
	filter: grayscale(20%);
}

@media (max-width: 900px) {
	.about-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 6rem var(--gutter) 4rem;
		gap: 3rem;
	}

	.about-hero-content {
		padding-right: 0;
		order: 2;
	}

	.about-hero-image {
		order: 1;
	}

	.about-hero-image img {
		max-height: 350px;
	}
}

/* About Intro */
.about-intro {
	padding: 0 var(--gutter) 6rem;
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
	padding-top: 4rem;
}

.about-intro-content {
	max-width: 800px;
}

.intro-lead {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: 2.5rem;
}

.intro-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.intro-details p {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* About Values / How I Think */
.about-values {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
	background: var(--bg-secondary);
}

.about-values .section-header {
	display: flex;
	align-items: baseline;
	gap: 2rem;
	margin-bottom: 3rem;
}

.section-number {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
	letter-spacing: 0.1em;
}

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

.value-item {
	position: relative;
	padding-left: 0;
}

.value-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--accent);
	letter-spacing: 0.1em;
	margin-bottom: 0.75rem;
}

.value-item h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
}

.value-item p {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--text-secondary);
}

@media (max-width: 768px) {
	.values-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

/* About Background / Where I've Been */
.about-background {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
}

.about-background .section-header {
	display: flex;
	align-items: baseline;
	gap: 2rem;
	margin-bottom: 3rem;
}

.background-content {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 4rem;
	align-items: start;
}

.background-text {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.background-text p {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

.background-highlights {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
}

.highlight-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.highlight-stat {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-primary);
}

.highlight-label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
}

@media (max-width: 900px) {
	.background-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.background-highlights {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.highlight-item {
		flex: 1;
		min-width: 120px;
	}
}

/* About Working Together */
.about-working {
	padding: 6rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
	background: var(--bg-secondary);
}

.about-working .section-header {
	display: flex;
	align-items: baseline;
	gap: 2rem;
	margin-bottom: 3rem;
}

.working-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	align-items: start;
}

.working-text {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.working-text p {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

.working-cta {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}

@media (max-width: 900px) {
	.working-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.working-cta {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
	padding: 10rem var(--gutter);
	text-align: center;
	position: relative;
	overflow: hidden;
	background: var(--bg-primary);
}

.contact::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* Ghostly portrait background - left side */
.contact-portrait {
	position: absolute;
	top: 60%;
	left: -5%;
	transform: translateY(-40%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-kundo-portrait-casual.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
	/* Gradient mask: face visible at top, fades to transparent at bottom */
	-webkit-mask-image: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 1) 30%,
		rgba(0, 0, 0, 0.5) 60%,
		rgba(0, 0, 0, 0.15) 80%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 1) 30%,
		rgba(0, 0, 0, 0.5) 60%,
		rgba(0, 0, 0, 0.15) 80%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.contact-portrait {
		left: -10%;
		width: 700px;
		height: 1000px;
		opacity: 0.45;
	}
}

@media (max-width: 768px) {
	.contact-portrait {
		/* Show ghostly portrait on mobile - repositioned to right */
		display: block;
		position: absolute;
		top: 10%;
		left: auto;
		right: -40%;
		transform: none;
		width: 350px;
		height: 500px;
		opacity: 0.2;
		-webkit-mask-image: radial-gradient(
			ellipse 60% 50% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.5) 50%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 60% 50% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.5) 50%,
			rgba(0, 0, 0, 0) 100%
		);
	}
}

/* Mobile portrait for contact section - hidden (using ghostly background) */
.contact-portrait-mobile {
	display: none;
}

@media (max-width: 768px) {
	.contact-portrait-mobile {
		display: none;
	}

	.contact-portrait-mobile img {
		display: none;
	}
}

.contact-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.contact-title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 10vw, 7rem);
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.contact-sub {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--text-secondary);
	margin-bottom: 3rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.contact-cta {
	margin-bottom: 2rem;
}

.contact-meta {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
	padding: 4rem var(--gutter) 2rem;
	border-top: 1px solid var(--border);
	background: var(--bg-secondary);
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.footer-brand {
	margin-bottom: 2rem;
}

.footer-logo {
	font-family: var(--font-mono);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.footer-tagline {
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-links a {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-secondary);
	transition: color var(--duration-fast);
}

.footer-links a:hover {
	color: var(--accent);
}

.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.footer-bottom p {
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity var(--duration-slow) var(--ease-out),
		transform var(--duration-slow) var(--ease-out);
}

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

/* Stagger delays handled via data-delay attribute in JS */

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 600px) {
	.hero-stats {
		grid-template-columns: 1fr 1fr;
	}

	.service-card {
		padding: 2rem;
	}

	.visual-block {
		width: 200px;
		height: 200px;
	}

	.visual-text {
		font-size: 3.5rem;
	}

	/* Show hero CTAs immediately on mobile (no scroll reveal) */
	.hero-cta.reveal {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   Blog / Insights Styles
   ========================================================================== */

.hero-small {
	min-height: 50vh;
	padding-top: 10rem;
	position: relative;
	overflow: hidden;
}

.hero-small .hero-title {
	font-size: clamp(2.5rem, 8vw, 6rem);
}

.hero-small .hero-content {
	position: relative;
	z-index: 1;
}

/* Ghostly portrait background for insights page */
.insights-hero-portrait {
	position: absolute;
	top: 110%;
	right: 10%;
	transform: translateY(-50%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-face-palm.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
	/* Oval vignette mask: fades to transparent all around the edges */
	-webkit-mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.insights-hero-portrait {
		right: -10%;
		width: 700px;
		height: 1000px;
	}
}

@media (max-width: 768px) {
	.insights-hero-portrait {
		top: 80%;
		right: -15%;
		width: 300px;
		height: 450px;
		opacity: 1;
		z-index: 0;
		-webkit-mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
	}

	/* White glow for readability against portrait background */
	.insights-hero-portrait ~ .hero-content .hero-sub {
		text-shadow:
			0 0 20px rgba(255, 255, 255, 0.9),
			0 0 40px rgba(255, 255, 255, 0.7),
			0 0 60px rgba(255, 255, 255, 0.5);
	}
}

/* Ghostly portrait background for contact page */
.contact-hero-portrait {
	position: absolute;
	top: 110%;
	right: 10%;
	transform: translateY(-50%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-scrunched-nose.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
	/* Oval vignette mask: fades to transparent all around the edges */
	-webkit-mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.contact-hero-portrait {
		right: -10%;
		width: 700px;
		height: 1000px;
	}
}

@media (max-width: 768px) {
	.contact-hero-portrait {
		top: 80%;
		right: -15%;
		width: 300px;
		height: 450px;
		opacity: 1;
		z-index: 0;
		-webkit-mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
	}
}

.blog-section {
	padding: 4rem 0 8rem;
	background: var(--bg-primary);
}

/* Blog Category Filters */
.blog-filters {
	max-width: var(--max-width);
	margin: 0 auto 3rem;
	padding: 0 var(--gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.filter-btn {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.625rem 1.25rem;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all var(--duration-fast);
}

.filter-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.filter-btn.active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg-primary);
}

/* Article/Blog card filtering states */
.article-card.filtered-out,
.blog-card.filtered-out {
	display: none;
}

.article-card.filtering,
.blog-card.filtering {
	opacity: 0;
	transform: translateY(10px);
}

@media (max-width: 600px) {
	.blog-filters {
		gap: 0.5rem;
	}

	.filter-btn {
		font-size: 0.6875rem;
		padding: 0.5rem 1rem;
	}
}

.blog-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}

.article-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	transition: border-color var(--duration-normal), transform var(--duration-normal);
}

.article-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
}

.article-link {
	display: block;
	padding: 2rem;
	height: 100%;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.article-date {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

.article-category {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.5rem;
	background: var(--accent-soft);
	color: var(--accent);
}

.article-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	transition: color var(--duration-fast);
}

.article-card:hover .article-title {
	color: var(--accent);
}

.article-excerpt {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.article-read-more {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Single Post Styles */
.post-header {
	padding: 10rem var(--gutter) 4rem;
	max-width: 800px;
	margin: 0 auto;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.post-category {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.375rem 0.75rem;
	background: var(--accent);
	color: var(--bg-primary);
}

.post-date {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
}

.post-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.post-excerpt {
	font-size: 1.25rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 2rem;
}

/* Breadcrumb Navigation */
.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 2rem;
}

.breadcrumbs a {
	color: var(--text-muted);
	transition: color var(--duration-fast);
}

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

.breadcrumbs .separator {
	color: var(--border);
}

.breadcrumbs .current {
	color: var(--text-secondary);
}

/* Reading Time */
.post-read-time {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
}

.post-read-time::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	background: var(--border);
	border-radius: 50%;
	margin-right: 1rem;
	vertical-align: middle;
}

/* Author Byline */
.post-author-byline {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	margin-top: 2rem;
}

.post-author-byline .author-avatar {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 5%;
	border: 2px solid var(--border);
}

.author-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.author-name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-primary);
}

.author-title {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
}

@media (max-width: 600px) {
	.breadcrumbs {
		flex-wrap: wrap;
		font-size: 0.6875rem;
	}

	.post-author-byline {
		gap: 0.75rem;
	}

	.post-author-byline .author-avatar {
		width: 48px;
		height: 48px;
	}
}

/* Post Hero Image */
.post-hero-image {
	max-width: 900px;
	margin: 3rem auto;
	padding: 0 var(--gutter);
}

.post-hero-image img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--border);
}

@media (max-width: 768px) {
	.post-hero-image {
		margin: 2rem auto;
	}
}

.post-content {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--gutter) 6rem;
}

.post-content h2 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 600;
	margin: 3rem 0 1rem;
}

.post-content h3 {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	margin: 2rem 0 0.75rem;
}

.post-content p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.post-content li {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
	list-style: disc;
}

.post-content ol li {
	list-style: decimal;
}

.post-content blockquote {
	border-left: 3px solid var(--accent);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: var(--text-secondary);
}

.post-content code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	background: var(--bg-tertiary);
	padding: 0.2em 0.4em;
	border-radius: 3px;
}

.post-content pre {
	background: var(--bg-tertiary);
	padding: 1.5rem;
	overflow-x: auto;
	margin: 2rem 0;
	border: 1px solid var(--border);
}

.post-content pre code {
	background: none;
	padding: 0;
}

.post-content a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-content a:hover {
	text-decoration: none;
}

/* Post figures (inline images) */
.post-content .post-figure {
	margin: 2.5rem 0;
}

.post-content .post-figure img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--border);
}

/* Post tables */
.post-content .post-table-wrapper {
	overflow-x: auto;
	margin: 2rem 0;
}

.post-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.post-content table th,
.post-content table td {
	padding: 0.875rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.post-content table th {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--bg-secondary);
	color: var(--text-secondary);
	font-weight: 600;
}

.post-content table td {
	color: var(--text-secondary);
}

.post-content table tbody tr:hover {
	background: var(--bg-secondary);
}

/* Post CTA box */
.post-content .post-cta {
	background: var(--accent-soft);
	border-left: 3px solid var(--accent);
	padding: 1.5rem;
	margin: 2.5rem 0;
}

.post-content .post-cta p {
	margin: 0;
	color: var(--text-primary);
}

/* Post horizontal rule */
.post-content hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 3rem 0;
}

/* Blockquote with citation */
.post-content blockquote cite {
	display: block;
	font-style: normal;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-top: 0.75rem;
}

/* Back to blog link */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	transition: color var(--duration-fast);
}

.back-link:hover {
	color: var(--accent);
}

/* ==========================================================================
   Case Study Template
   ========================================================================== */

.case-study {
	padding-top: 8rem;
}

.case-study-header {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--gutter) 4rem;
}

.case-study-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.case-study-category {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.375rem 0.75rem;
	background: var(--accent);
	color: var(--bg-primary);
}

.case-study-client {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
}

.case-study-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.case-study-excerpt {
	font-size: 1.25rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* Case Study Results Grid */
.case-study-results {
	background: var(--bg-secondary);
	padding: 4rem 0;
	margin-bottom: 4rem;
}

.results-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

@media (min-width: 768px) {
	.results-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.result-item {
	text-align: center;
}

.result-number {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.result-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* Case Study Hero Image */
.case-study-hero-image {
	max-width: 1000px;
	margin: 0 auto 4rem;
	padding: 0 var(--gutter);
}

.case-study-hero-image img,
.case-study-hero-image .image-placeholder {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	border: 1px solid var(--border);
}

.image-placeholder {
	background: var(--bg-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
	border: 1px dashed var(--border);
}

/* Case Study Content */
.case-study-content {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--gutter) 4rem;
}

.case-study-content .content-section {
	margin-bottom: 3rem;
}

.case-study-content h2 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.case-study-content h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 2rem 0 0.75rem;
}

.case-study-content p {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.case-study-content ul {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.case-study-content li {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
	list-style: disc;
}

/* Case Study Figure */
.case-study-figure {
	margin: 3rem 0;
}

.case-study-figure img,
.case-study-figure .image-placeholder {
	width: 100%;
	border: 1px solid var(--border);
	margin-bottom: 1rem;
}

.case-study-figure .image-placeholder {
	aspect-ratio: 16/10;
}

.case-study-figure figcaption {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-muted);
	text-align: center;
}

/* Case Study Quote */
.case-study-quote {
	border-left: 3px solid var(--accent);
	padding-left: 1.5rem;
	margin: 2.5rem 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.6;
	color: var(--text-secondary);
}

.case-study-quote cite {
	display: block;
	font-style: normal;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-top: 1rem;
}

/* Case Study Services */
.case-study-services {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--gutter) 4rem;
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}

.case-study-services h3 {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.services-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.service-tag {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	padding: 0.5rem 1rem;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--accent);
}

/* Case Study Navigation */
.case-study-nav {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter) 4rem;
}

.next-case-study {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	padding: 2rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	text-align: right;
	transition: border-color var(--duration-normal);
}

.next-case-study:hover {
	border-color: var(--accent);
}

.next-case-study .nav-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.next-case-study .nav-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
}

.next-case-study svg {
	color: var(--accent);
}

/* ==========================================================================
   Service Page Template
   ========================================================================== */

.service-page {
	padding-top: 8rem;
}

.service-hero {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 var(--gutter) 4rem;
}

.service-hero .back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 3rem;
	transition: color var(--duration-fast);
}

.service-hero .back-link:hover {
	color: var(--accent);
}

.service-hero-content {
	text-align: center;
}

.service-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.5rem;
}

.service-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.service-title em {
	font-style: italic;
}

.service-excerpt {
	font-size: 1.125rem;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 600px;
	margin: 0 auto;
}

/* Service Section Headers */
.service-section-header {
	max-width: var(--max-width);
	margin: 0 auto 3rem;
	padding: 0 var(--gutter);
}

.service-section-header .section-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.75rem;
}

.service-section-header h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
}

/* Service Intro - "Who it's for" */
.service-intro {
	padding: 4rem 0 5rem;
	background: var(--bg-primary);
}

.service-intro .intro-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.service-intro h2 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	margin-bottom: 1rem;
}

.service-intro p {
	font-size: 1.125rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.service-intro .intro-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.service-intro .intro-list li {
	position: relative;
	padding-left: 1.75rem;
	font-size: 1rem;
	color: var(--text-primary);
	line-height: 1.6;
}

.service-intro .intro-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
}

/* Mobile-only: hide on desktop, show on mobile */
.service-intro {
	display: none;
}

@media (max-width: 768px) {
	.service-intro {
		display: block;
	}
}

/* Service What You Get */
.service-benefits {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.benefits-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--border);
}

@media (min-width: 768px) {
	.benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.benefits-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.benefit-card {
	background: var(--bg-primary);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.benefit-icon {
	color: var(--accent);
	width: 24px;
	height: 24px;
}

.benefit-card h3 {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
}

.benefit-card p {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

/* Service Proof Section */
.service-proof {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.proof-grid {
	max-width: var(--max-width);
	margin: 0 auto 4rem;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

@media (max-width: 768px) {
	.proof-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

.proof-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.proof-stat {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
}

.proof-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	color: var(--text-secondary);
	text-transform: uppercase;
}

.proof-testimonial {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	text-align: center;
}

.proof-testimonial blockquote {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.proof-testimonial cite {
	display: block;
	font-style: normal;
}

.cite-name {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.cite-title {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.proof-context {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.25rem;
}

.proof-note {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	font-size: 0.9rem;
	color: var(--text-secondary);
	text-align: center;
	font-style: italic;
}

.proof-case-study {
	max-width: 800px;
	margin: 0 auto 2rem;
	padding: 2rem var(--gutter);
	background: var(--bg-secondary);
	border-left: 3px solid var(--accent);
}

.proof-case-study .case-study-context {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-primary);
	margin: 0;
}

.proof-industries {
	max-width: 700px;
	margin: 0 auto 3rem;
	padding: 0 var(--gutter);
	font-size: 0.9375rem;
	color: var(--text-secondary);
	text-align: center;
	line-height: 1.6;
}

.proof-industries strong {
	color: var(--text-primary);
}

/* Service Problems Section */
.service-problems {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.problems-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

@media (max-width: 768px) {
	.problems-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.problems-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.problem-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.problem-icon {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.problem-item p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-secondary);
}

.problem-item strong {
	color: var(--text-primary);
}

/* Service Process Section */
.service-process {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.process-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

@media (max-width: 1024px) {
	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.process-grid {
		grid-template-columns: 1fr;
	}
}

.process-step {
	text-align: center;
}

.process-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--accent);
	color: white;
	font-family: var(--font-mono);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.process-step h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	margin: 0 0 0.75rem;
}

.process-step p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

/* Related Reading Section */
.related-reading {
	padding: 4rem 0;
	max-width: var(--max-width);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.related-reading h3 {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.reading-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.reading-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.reading-grid {
		grid-template-columns: 1fr;
	}
}

.reading-card {
	display: block;
	text-decoration: none;
	background: var(--bg-secondary);
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reading-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reading-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.reading-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.reading-card:hover .reading-card-image img {
	transform: scale(1.05);
}

.reading-card-content {
	padding: 1.25rem;
}

.reading-card-title {
	display: block;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.reading-card-desc {
	display: block;
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* Service CTA Section */
.service-cta {
	padding: 5rem 0;
	background: var(--accent);
	text-align: center;
}

.service-cta-content {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.service-cta h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--bg-primary);
}

.service-cta p {
	font-size: 1.0625rem;
	color: var(--bg-primary);
	opacity: 0.9;
	margin-bottom: 2rem;
}

.service-cta .btn-primary {
	background: var(--bg-primary);
	color: var(--accent);
	border-color: var(--bg-primary);
}

.service-cta .btn-primary:hover {
	background: var(--text-primary);
	border-color: var(--text-primary);
	color: var(--bg-primary);
}

/* Service FAQ Section */
.service-faq {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.faq-list {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

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

.faq-question {
	display: block;
	width: 100%;
	padding: 1.25rem 0;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}

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

.faq-question::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-mono);
	font-size: 1.25rem;
	color: var(--accent);
	transition: transform var(--duration-fast);
}

.faq-item[open] .faq-question::after {
	content: '−';
}

.faq-answer {
	padding-bottom: 1.5rem;
}

.faq-answer p {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0;
}

/* Related Services */
.related-services {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.related-services h3 {
	max-width: var(--max-width);
	margin: 0 auto 2rem;
	padding: 0 var(--gutter);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.related-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--border);
}

@media (max-width: 600px) {
	.related-grid {
		grid-template-columns: 1fr;
	}
}

.related-card {
	display: block;
	background: var(--bg-primary);
	padding: 2rem;
	text-decoration: none;
	transition: background var(--duration-fast);
}

.related-card:hover {
	background: var(--bg-tertiary);
}

.related-title {
	display: block;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.related-desc {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

/* Credential Badge (inline in hero) */
.credential-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.credential-badge img {
	height: 36px;
	width: auto;
}

.credential-badge span {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

/* Service Fit / ICP Section */
.service-fit {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.fit-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}

@media (max-width: 768px) {
	.fit-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.fit-good,
.fit-not {
	padding: 2rem;
	border: 1px solid var(--border);
	background: var(--bg-primary);
}

.fit-good h3,
.fit-not h3 {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.fit-good h3 {
	color: var(--accent);
}

.fit-not h3 {
	color: var(--text-secondary);
}

.fit-good ul,
.fit-not ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fit-good li,
.fit-not li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text-primary);
}

.fit-good li:last-child,
.fit-not li:last-child {
	margin-bottom: 0;
}

.fit-good li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 600;
}

.fit-not li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--text-muted);
}

/* Service Process Section */
.service-process {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.process-steps {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 768px) {
	.process-steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.process-step {
	padding: 2rem;
	border: 1px solid var(--border);
	background: var(--bg-secondary);
}

.process-step .step-number {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 1rem;
}

.process-step h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.process-step p {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}

/* Related Reading Section */
.related-reading {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.related-reading h3 {
	max-width: var(--max-width);
	margin: 0 auto 2rem;
	padding: 0 var(--gutter);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.reading-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
}

@media (max-width: 900px) {
	.reading-grid {
		grid-template-columns: 1fr;
	}
}

.reading-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-secondary);
	text-decoration: none;
	transition: background var(--duration-fast);
	overflow: hidden;
}

.reading-card:hover {
	background: var(--bg-tertiary);
}

.reading-card:hover .reading-image {
	transform: scale(1.05);
}

.reading-image {
	width: 100%;
	height: 160px;
	object-fit: cover;
	transition: transform var(--duration-medium);
}

.reading-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.reading-category {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.reading-title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: auto;
}

.reading-date {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	color: var(--text-muted);
	margin-top: 1.5rem;
}

/* ==========================================================================
   Service Page - GEO/SEO Enhanced Sections
   ========================================================================== */

/* AI Search Shift Section */
.ai-search-shift {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.shift-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

@media (min-width: 1024px) {
	.shift-content {
		grid-template-columns: 1.2fr 0.8fr;
		gap: 4rem;
		align-items: start;
	}
}

.shift-narrative {
	max-width: 650px;
}

.shift-narrative .lead-text {
	font-size: 1.125rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.shift-narrative p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.shift-narrative p:last-child {
	margin-bottom: 0;
}

.shift-stats {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.shift-stat-card {
	background: var(--bg-secondary);
	padding: 1.5rem;
	border-left: 3px solid var(--border);
}

.shift-stat-card.highlight {
	border-left-color: var(--accent);
	background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(191, 160, 122, 0.1) 100%);
}

.shift-stat-card .stat-number {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.shift-stat-card .stat-label {
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.4;
}

.geo-definition {
	max-width: var(--max-width);
	margin: 3rem auto 0;
	padding: 2rem var(--gutter);
	background: var(--bg-secondary);
	border-left: 3px solid var(--accent);
}

.geo-definition h3 {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.75rem;
}

.geo-definition p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}

/* Featured Benefit Card */
.benefit-card-featured {
	background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(191, 160, 122, 0.08) 100%);
	border-left: 3px solid var(--accent);
}

/* How I Work Section */
.how-i-work {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.process-steps {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.process-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.process-steps {
		grid-template-columns: repeat(4, 1fr);
		gap: 1px;
		background: var(--border);
	}
}

.process-step {
	background: var(--bg-primary);
	padding: 2rem;
}

.process-step .step-number {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 1rem;
}

.process-step h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.process-step p {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

/* Case Studies Grid */
.case-studies-grid {
	max-width: var(--max-width);
	margin: 0 auto 4rem;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--border);
}

@media (min-width: 768px) {
	.case-studies-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.case-study-card {
	background: var(--bg-secondary);
	padding: 2rem;
	text-align: center;
}

.case-study-industry {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
	background: var(--bg-primary);
	padding: 0.35rem 0.75rem;
	margin-bottom: 1.25rem;
}

.case-study-stat {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.case-study-result {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	color: var(--text-secondary);
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.case-study-detail {
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.case-study-timeframe {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	color: var(--accent);
	text-transform: uppercase;
}

/* Who This Is For Section */
.who-this-is-for {
	padding: 5rem 0;
	background: var(--bg-secondary);
}

.fit-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--border);
}

@media (min-width: 768px) {
	.fit-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fit-card {
	background: var(--bg-primary);
	padding: 2.5rem;
}

.fit-card h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.fit-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fit-card li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

.fit-card li:last-child {
	margin-bottom: 0;
}

.fit-card li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--accent);
}

.fit-card.good-fit li::before {
	content: '✓';
}

/* Related Reading Section (on service pages) */
.related-reading {
	padding: 5rem 0;
	background: var(--bg-primary);
}

.related-reading .section-header {
	max-width: var(--max-width);
	margin: 0 auto 2.5rem;
	padding: 0 var(--gutter);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 1rem;
}

.related-reading .section-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 600;
	margin: 0;
}

.related-reading .section-title em {
	font-style: italic;
	color: var(--accent);
}

.related-reading .view-all-link {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent);
	text-decoration: none;
}

.related-reading .view-all-link:hover {
	text-decoration: underline;
}

.related-reading .recent-posts-carousel {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--border);
}

@media (min-width: 768px) {
	.related-reading .recent-posts-carousel {
		grid-template-columns: repeat(3, 1fr);
	}
}

.related-reading .recent-post-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-secondary);
	text-decoration: none;
	transition: background var(--duration-fast);
	overflow: hidden;
}

.related-reading .recent-post-card:hover {
	background: var(--bg-tertiary);
}

.related-reading .recent-post-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.related-reading .recent-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-normal);
}

.related-reading .recent-post-card:hover .recent-post-image img {
	transform: scale(1.05);
}

.related-reading .recent-post-link {
	padding: 1.5rem 2rem 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.related-reading .recent-post-meta {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.related-reading .recent-post-category {
	font-family: var(--font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.related-reading .recent-post-date {
	font-family: var(--font-mono);
	font-size: 0.625rem;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
}

.related-reading .recent-post-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.related-reading .recent-post-read {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form-section {
	padding: clamp(4rem, 10vh, 8rem) var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
}

.contact-form-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
	align-items: start;
}

.contact-form-info h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	margin-bottom: 2rem;
}

.expect-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.expect-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.expect-icon {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent);
	background: var(--accent-soft);
	padding: 0.5rem;
	border-radius: 4px;
	min-width: 2.5rem;
	text-align: center;
}

.expect-item strong {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.expect-item p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin: 0;
}

.contact-details {
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.contact-details p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.contact-form-wrapper {
	background: var(--bg-secondary);
	padding: 2.5rem;
	border: 1px solid var(--border);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 1rem;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	color: var(--text-primary);
	transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--text-muted);
}

.form-group select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5856' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

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

.contact-form .btn {
	margin-top: 0.5rem;
}

/* Slim inline form for Ready to Grow section */
.contact-inline-form {
	margin: 2rem auto 0;
	max-width: 500px;
}

.contact-inline-form form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}

.contact-inline-form .form-row {
	display: flex;
	gap: 1rem;
	width: 100%;
}

.contact-inline-form .form-row input {
	flex: 1;
}

.contact-inline-form input {
	font-family: var(--font-body);
	font-size: 0.9rem;
	padding: 0.875rem 1rem;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	color: var(--text-primary);
	transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.contact-inline-form input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-inline-form input::placeholder {
	color: var(--text-muted);
}

.contact-inline-form .btn {
	align-self: center;
}

/* Contact form responsive */
@media (max-width: 900px) {
	.contact-form-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.contact-form-info {
		order: 2;
	}

	.contact-form-wrapper {
		order: 1;
	}
}

@media (max-width: 600px) {
	.contact-form-wrapper {
		padding: 1.5rem;
	}

	.contact-inline-form .form-row {
		flex-direction: column;
	}
}

/* ==========================================================================
   Featured Deep Dive (Insights Page)
   ========================================================================== */

.featured-deep-dive {
	padding: 4rem var(--gutter) 3rem;
	max-width: var(--max-width);
	margin: 0 auto;
}

.deep-dive-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	text-decoration: none;
	transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
	overflow: hidden;
}

.deep-dive-card:hover {
	border-color: var(--accent);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.deep-dive-image {
	height: 100%;
	min-height: 320px;
	overflow: hidden;
	background: var(--bg-primary);
}

.deep-dive-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-normal);
}

.deep-dive-card:hover .deep-dive-image img {
	transform: scale(1.03);
}

.deep-dive-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.5rem 2.5rem 2.5rem 0;
}

.deep-dive-meta {
	display: flex;
	gap: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

.deep-dive-category {
	color: var(--accent);
}

.deep-dive-read-time {
	color: var(--text-muted);
}

.deep-dive-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--text-primary);
	margin-bottom: 1rem;
	transition: color var(--duration-fast);
}

.deep-dive-card:hover .deep-dive-title {
	color: var(--accent);
}

.deep-dive-excerpt {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.deep-dive-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-primary);
	transition: color var(--duration-fast), gap var(--duration-fast);
}

.deep-dive-card:hover .deep-dive-cta {
	color: var(--accent);
	gap: 0.75rem;
}

@media (max-width: 900px) {
	.deep-dive-card {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.deep-dive-image {
		min-height: 220px;
	}

	.deep-dive-content {
		padding: 2rem;
	}
}

@media (max-width: 600px) {
	.deep-dive-image {
		min-height: 180px;
	}

	.deep-dive-content {
		padding: 1.5rem;
	}

	.deep-dive-title {
		font-size: 1.35rem;
	}

	.deep-dive-excerpt {
		font-size: 0.95rem;
	}
}

/* ==========================================================================
   Pillar Content Hub (Insights Page)
   ========================================================================== */

.pillar-section {
	padding: 4rem var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
}

.pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.pillar-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	text-decoration: none;
	transition: transform var(--duration-normal), box-shadow var(--duration-normal), border-color var(--duration-normal);
	position: relative;
	overflow: hidden;
}

.pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	border-color: var(--accent);
}

.pillar-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: var(--bg-secondary);
}

.pillar-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-normal);
}

.pillar-card:hover .pillar-image img {
	transform: scale(1.03);
}

.pillar-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1.5rem;
}

.pillar-meta {
	display: flex;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
}

.pillar-read-time {
	color: var(--text-muted);
}

.pillar-category {
	color: var(--accent);
}

.pillar-title {
	font-family: var(--font-display);
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
}

.pillar-card:hover .pillar-title {
	color: var(--accent);
}

.pillar-excerpt {
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-secondary);
	flex-grow: 1;
}

@media (max-width: 1100px) {
	.pillar-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.pillar-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.pillar-image {
		height: 160px;
	}

	.pillar-content {
		padding: 1.25rem;
	}

	.pillar-title {
		font-size: 1.1rem;
	}
}

/* Insights Page Filter */
.insights-filter {
	padding: 0 var(--gutter) 2rem;
	max-width: var(--max-width);
	margin: 0 auto;
}

.filter-container {
	display: flex;
	justify-content: center;
}

.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.filter-tab {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.6rem 1.25rem;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-muted);
	cursor: pointer;
	transition: all var(--duration-fast);
}

.filter-tab:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.filter-tab.active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg-primary);
}

/* Featured Reading Carousel (Insights Page) */
.featured-reading {
	padding: 4rem var(--gutter) 5rem;
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

.reading-carousel {
	position: relative;
}

.carousel-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 1rem;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.reading-card {
	flex: 0 0 300px;
	scroll-snap-align: start;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	text-decoration: none;
	transition: border-color var(--duration-normal), transform var(--duration-normal);
	overflow: hidden;
}

.reading-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
}

.reading-image {
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: var(--bg-secondary);
}

.reading-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-normal);
}

.reading-card:hover .reading-image img {
	transform: scale(1.03);
}

.reading-content {
	padding: 1.25rem;
}

.reading-category {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.reading-title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	transition: color var(--duration-fast);
}

.reading-card:hover .reading-title {
	color: var(--accent);
}

.reading-meta {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--text-muted);
}

.carousel-nav {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.carousel-btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all var(--duration-fast);
}

.carousel-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.carousel-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.reading-cta {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

@media (max-width: 768px) {
	.reading-card {
		flex: 0 0 260px;
	}

	.reading-image {
		height: 140px;
	}

	.carousel-nav {
		display: none;
	}
}

@media (max-width: 480px) {
	.reading-card {
		flex: 0 0 85vw;
	}

	.filter-tabs {
		gap: 0.35rem;
	}

	.filter-tab {
		padding: 0.5rem 0.9rem;
		font-size: 0.7rem;
	}
}

/* ==========================================================================
   Featured Writing Section (Blog Page)
   ========================================================================== */

.featured-writing {
	padding: 0 var(--gutter) 3rem;
	max-width: var(--max-width);
	margin: 0 auto;
}

.featured-label {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--text-muted);
}

.featured-label .label-line {
	width: 40px;
	height: 1px;
	background: var(--border);
}

.featured-article {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	padding: 2.5rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	text-decoration: none;
	transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.featured-article:hover {
	border-color: var(--accent);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.featured-content {
	display: flex;
	flex-direction: column;
}

.featured-meta {
	display: flex;
	gap: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1.5rem;
}

.featured-date {
	color: var(--text-muted);
}

.featured-category {
	color: var(--accent);
}

.featured-title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.featured-excerpt {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.featured-read-more {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-primary);
	transition: color var(--duration-fast);
}

.featured-article:hover .featured-read-more {
	color: var(--accent);
}

.featured-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.featured-visual-inner {
	width: 100%;
	aspect-ratio: 1;
	max-width: 200px;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.featured-visual-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%);
	opacity: 0.5;
}

.visual-text {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 700;
	color: var(--accent);
	opacity: 0.3;
	letter-spacing: -0.02em;
}

@media (max-width: 900px) {
	.featured-article {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.featured-visual {
		order: -1;
	}

	.featured-visual-inner {
		max-width: 150px;
	}
}

@media (max-width: 600px) {
	.featured-article {
		padding: 1.5rem;
	}

	.featured-visual-inner {
		max-width: 100px;
	}

	.visual-text {
		font-size: 2rem;
	}
}

/* Featured Image (replaces placeholder visual) */
.featured-image {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 4px;
}

.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-height: 280px;
	border: 1px solid var(--border);
}

/* More prominent Featured Writing header */
.featured-label--large {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.featured-label--large .label-line {
	width: 60px;
	height: 2px;
	background: var(--accent);
}

.featured-label--large .label-text {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Blog Cards (Blog Listing Page)
   ========================================================================== */

.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-card);
	border: 1px solid var(--border);
	transition: border-color var(--duration-normal), transform var(--duration-normal), box-shadow var(--duration-normal);
	text-decoration: none;
	overflow: hidden;
}

.blog-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: var(--bg-secondary);
}

.blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--duration-normal);
}

.blog-card:hover .blog-card-image img {
	transform: scale(1.03);
}

.blog-card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 1.5rem;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.blog-card-date {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

.blog-card-category {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.5rem;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: 2px;
}

.blog-card-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
	transition: color var(--duration-fast);
}

.blog-card:hover .blog-card-title {
	color: var(--accent);
}

.blog-card-excerpt {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.blog-card-link {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	transition: gap var(--duration-fast);
}

.blog-card:hover .blog-card-link {
	gap: 0.5rem;
}

/* Blog filters */
.blog-filters {
	max-width: var(--max-width);
	margin: 0 auto 2rem;
	padding: 0 var(--gutter);
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.filter-btn {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.5rem 1rem;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-muted);
	cursor: pointer;
	transition: all var(--duration-fast);
}

.filter-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.filter-btn.active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg-primary);
}

.filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	margin-left: 0.5rem;
	font-size: 0.625rem;
	font-weight: 500;
	background: var(--bg-secondary);
	border-radius: 2px;
	color: var(--text-muted);
}

.filter-btn:hover .filter-count {
	background: var(--accent-soft);
	color: var(--accent);
}

.filter-btn.active .filter-count {
	background: rgba(255, 255, 255, 0.2);
	color: var(--bg-primary);
}

/* Blog section spacing */
.blog-section {
	padding-bottom: 4rem;
}

/* Blog Load More */
.blog-load-more {
	display: flex;
	justify-content: center;
	padding: 2rem var(--gutter) 0;
}

.load-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-mono);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 1rem 2rem;
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-primary);
	cursor: pointer;
	transition: all var(--duration-normal);
}

.load-more-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-soft);
}

.load-more-count {
	font-size: 0.75rem;
	color: var(--text-muted);
	padding: 0.25rem 0.5rem;
	background: var(--bg-secondary);
	border-radius: 2px;
}

.blog-load-more.hidden {
	display: none;
}

/* Hidden blog cards (for load more) */
.blog-card.blog-hidden {
	display: none;
}

.blog-card.blog-hidden.blog-visible {
	display: flex;
}

/* Responsive blog cards */
@media (max-width: 768px) {
	.blog-card-image {
		height: 150px;
	}

	.blog-card-content {
		padding: 1.25rem;
	}

	.blog-card-title {
		font-size: 1.125rem;
	}

	.featured-label--large .label-text {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.blog-card-image {
		height: 140px;
	}

	.blog-card-meta {
		flex-wrap: wrap;
		gap: 0.5rem;
	}
}

/* ==========================================================================
   Continue Reading Section (Insights Page)
   ========================================================================== */

.continue-reading {
	padding: 4rem var(--gutter) 6rem;
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

.continue-reading .section-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 2rem;
}

.continue-reading .section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.view-all-link {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	text-decoration: none;
	transition: color var(--duration-fast);
}

.view-all-link:hover {
	color: var(--accent);
}

.recent-posts-carousel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.recent-post-card {
	background: var(--bg-primary);
	border: 1px solid var(--border);
	transition: border-color var(--duration-normal), transform var(--duration-normal);
}

.recent-post-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.recent-post-link {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	text-decoration: none;
	height: 100%;
}

.recent-post-meta {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.recent-post-date {
	color: var(--text-muted);
}

.recent-post-category {
	color: var(--accent);
}

.recent-post-title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--text-primary);
	margin-bottom: 1rem;
	flex-grow: 1;
}

.recent-post-read {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	transition: color var(--duration-fast);
}

.recent-post-card:hover .recent-post-read {
	color: var(--accent);
}

@media (max-width: 1100px) {
	.recent-posts-carousel {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.recent-posts-carousel {
		grid-template-columns: 1fr;
	}

	.continue-reading .section-header {
		flex-direction: column;
		gap: 1rem;
	}
}

/* ==========================================================================
   Work Dashboard Page
   ========================================================================== */

/* Work Hero */
.work-hero {
	padding: 8rem var(--gutter) 14rem;
	max-width: var(--max-width);
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 50vh;
}

/* Ghostly portrait background for work page */
.work-hero-portrait {
	position: absolute;
	top: 95%;
	right: -5%;
	transform: translateY(-50%);
	width: 900px;
	height: 1200px;
	background-image: url('/assets/images/team/matt-forward-leaned.png');
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
	/* Oval vignette mask: fades to transparent all around the edges */
	-webkit-mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
	mask-image: radial-gradient(
		ellipse 45% 48% at 50% 28%,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.9) 40%,
		rgba(0, 0, 0, 0.5) 65%,
		rgba(0, 0, 0, 0.15) 85%,
		rgba(0, 0, 0, 0) 100%
	);
}

@media (max-width: 1200px) {
	.work-hero-portrait {
		right: -10%;
		width: 700px;
		height: 1000px;
	}
}

@media (max-width: 768px) {
	.work-hero-portrait {
		top: 60%;
		right: -15%;
		width: 300px;
		height: 450px;
		opacity: 1;
		z-index: 0;
		-webkit-mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
		mask-image: radial-gradient(
			ellipse 45% 40% at 50% 30%,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0.8) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			rgba(0, 0, 0, 0) 100%
		);
	}

	/* White glow for readability against portrait background */
	.work-hero-sub {
		text-shadow:
			0 0 10px rgba(255, 255, 255, 1),
			0 0 25px rgba(255, 255, 255, 1),
			0 0 50px rgba(255, 255, 255, 0.9),
			0 0 80px rgba(255, 255, 255, 0.7);
	}
}

.work-hero-content {
	max-width: 800px;
	position: relative;
	z-index: 1;
}

.work-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.work-hero-title em {
	font-style: italic;
	color: var(--accent);
}

.work-hero-sub {
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.7;
	color: var(--text-muted);
	max-width: 600px;
}

/* Work Stats Grid */
.work-stats {
	background: var(--bg-secondary);
	padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.work-stats-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

.work-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.work-stat .stat-number {
	font-family: var(--font-display);
	font-size: clamp(3rem, 8vw, 5rem);
	font-weight: 400;
	line-height: 1;
}

.work-stat .stat-suffix {
	display: inline;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	color: var(--accent);
	margin-left: -0.25rem;
}

.work-stat .stat-label {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin-top: 0.5rem;
}

/* 4-column stats grid variant */
.work-stats-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
	.work-stats-grid--4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem 2rem;
	}
}

@media (max-width: 500px) {
	.work-stats-grid--4 {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Work Categories Section */
.work-categories {
	padding: clamp(4rem, 8vw, 6rem) var(--gutter);
	max-width: var(--max-width);
	margin: 0 auto;
}

.work-categories .section-header {
	margin-bottom: 1.5rem;
}

.section-intro {
	font-size: 1.1rem;
	color: var(--text-muted);
	margin-bottom: 2.5rem;
	max-width: 600px;
}

/* Category Bar Chart */
.category-chart {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.category-bar {
	display: grid;
	grid-template-columns: 180px 1fr 50px;
	align-items: center;
	gap: 1rem;
}

.category-name {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text);
}

.category-bar-track {
	height: 24px;
	background: var(--bg-secondary);
	border-radius: 2px;
	overflow: hidden;
}

.category-bar-fill {
	height: 100%;
	background: var(--accent);
	border-radius: 2px;
	transition: width 0.8s ease-out;
}

.category-count {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--text-muted);
	text-align: right;
}

/* Data source transparency note */
.data-source-note {
	margin-top: 2rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.02em;
	color: var(--text-muted);
	text-align: center;
}

/* Context for stats dashboard */
.work-stats .data-source-note {
	max-width: var(--max-width);
	margin: 1.5rem auto 0;
	padding: 0 var(--gutter);
}

/* Mini-Case Blurbs */
.work-cases {
	background: var(--bg-secondary);
	padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}

.work-cases .section-header {
	max-width: var(--max-width);
	margin: 0 auto 1.5rem;
}

.work-cases .section-intro {
	max-width: var(--max-width);
	margin: 0 auto 2.5rem;
}

.cases-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.case-card {
	background: var(--bg);
	padding: 2rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.case-label {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.case-problem,
.case-solution {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
}

.case-problem strong,
.case-solution strong {
	color: var(--text-muted);
	font-weight: 500;
}

.case-result {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.case-metric {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 400;
}

.case-context {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* Work Page Responsive */
@media (max-width: 900px) {
	.work-hero {
		padding: 6rem var(--gutter) 10rem;
	}

	.work-stats-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.category-bar {
		grid-template-columns: 120px 1fr 40px;
	}

	.cases-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.category-bar {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.category-bar-track {
		order: 2;
		height: 20px;
	}

	.category-count {
		order: 1;
		text-align: left;
	}

	.category-name {
		display: flex;
		justify-content: space-between;
	}

	.category-chart {
		gap: 0.75rem;
	}
}

/* ==========================================================================
   Platform Pills Grid (Work Page)
   ========================================================================== */

.platform-pills {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

@media (min-width: 600px) {
	.platform-pills {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
}

@media (min-width: 900px) {
	.platform-pills {
		grid-template-columns: repeat(4, 1fr);
	}
}

.platform-pill {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 2px;
	transition: border-color var(--duration-fast);
}

.platform-pill:hover {
	border-color: var(--accent);
}

.platform-pill::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--accent);
	opacity: calc(0.3 + var(--pill-weight, 0.5) * 0.7);
	border-radius: 2px 0 0 2px;
}

.pill-name {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--text);
}

.pill-count {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	color: var(--text-muted);
	background: var(--bg-tertiary, rgba(0,0,0,0.05));
	padding: 0.125rem 0.375rem;
	border-radius: 2px;
}

/* ==========================================================================
   Industry Bubble Chart (Work Page)
   ========================================================================== */

/* Floating animation keyframes */
@keyframes bubbleFloat1 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(4px, -6px); }
	50% { transform: translate(-3px, -3px); }
	75% { transform: translate(5px, 4px); }
}

@keyframes bubbleFloat2 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(-5px, 4px); }
	50% { transform: translate(4px, -5px); }
	75% { transform: translate(-3px, -2px); }
}

@keyframes bubbleFloat3 {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(3px, 5px); }
	50% { transform: translate(-4px, -4px); }
	75% { transform: translate(2px, -6px); }
}

.industry-bubbles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 0;
}

@media (min-width: 600px) {
	.industry-bubbles {
		gap: 1rem;
	}
}

.industry-bubble {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* Size ranges from 90px to 150px based on weight */
	width: calc(90px + (var(--bubble-weight, 0.5) * 60px));
	height: calc(90px + (var(--bubble-weight, 0.5) * 60px));
	border-radius: 50%;
	background: var(--bg-secondary);
	border: 2px solid var(--border);
	cursor: default;
	text-align: center;
	padding: 0.75rem;
	/* Floating animation */
	animation: bubbleFloat1 6s ease-in-out infinite;
}

.industry-bubble:hover {
	border-color: var(--accent);
	animation-play-state: paused;
	transform: scale(1.08);
}

/* Stagger animations for visual variety */
.industry-bubble:nth-child(1) { animation: bubbleFloat1 7s ease-in-out infinite; animation-delay: 0s; }
.industry-bubble:nth-child(2) { animation: bubbleFloat2 8s ease-in-out infinite; animation-delay: -1s; }
.industry-bubble:nth-child(3) { animation: bubbleFloat3 6s ease-in-out infinite; animation-delay: -2s; }
.industry-bubble:nth-child(4) { animation: bubbleFloat1 9s ease-in-out infinite; animation-delay: -3s; }
.industry-bubble:nth-child(5) { animation: bubbleFloat2 7s ease-in-out infinite; animation-delay: -1.5s; }
.industry-bubble:nth-child(6) { animation: bubbleFloat3 8s ease-in-out infinite; animation-delay: -2.5s; }
.industry-bubble:nth-child(n+7) { animation: bubbleFloat1 6.5s ease-in-out infinite; animation-delay: -0.5s; }

/* Bubble colors - accent variations */
.industry-bubble:nth-child(1) { border-color: var(--accent); background: rgba(191, 160, 122, 0.15); }
.industry-bubble:nth-child(2) { border-color: #a08060; background: rgba(160, 128, 96, 0.12); }
.industry-bubble:nth-child(3) { border-color: #d4c0a0; background: rgba(212, 192, 160, 0.12); }
.industry-bubble:nth-child(4) { border-color: #8a7060; background: rgba(138, 112, 96, 0.12); }
.industry-bubble:nth-child(5) { border-color: #c0b090; background: rgba(192, 176, 144, 0.12); }
.industry-bubble:nth-child(6) { border-color: #6a5040; background: rgba(106, 80, 64, 0.12); }
.industry-bubble:nth-child(n+7) { border-color: #b0a080; background: rgba(176, 160, 128, 0.12); }

.bubble-count {
	font-family: var(--font-display);
	font-size: calc(1.25rem + (var(--bubble-weight, 0.5) * 0.75rem));
	font-weight: 400;
	color: var(--text);
	line-height: 1;
	flex-shrink: 0;
}

.bubble-name {
	font-family: var(--font-mono);
	font-size: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--text-muted);
	margin-top: 0.25rem;
	line-height: 1.3;
	text-align: center;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

@media (min-width: 600px) {
	.industry-bubble {
		width: calc(100px + (var(--bubble-weight, 0.5) * 70px));
		height: calc(100px + (var(--bubble-weight, 0.5) * 70px));
	}

	.bubble-name {
		font-size: 0.5625rem;
	}
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.industry-bubble {
		animation: none;
	}
}

/* ==========================================================================
   Deliverable Tags Cloud (Work Page)
   ========================================================================== */

.deliverable-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-start;
}

@media (min-width: 600px) {
	.deliverable-tags {
		gap: 0.75rem;
	}
}

.deliverable-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.875rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 2px;
	font-family: var(--font-mono);
	font-size: var(--tag-size, 0.8125rem);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--text);
	transition: border-color var(--duration-fast),
				background var(--duration-fast),
				opacity var(--duration-fast);
	opacity: calc(0.6 + var(--tag-weight, 0.5) * 0.4);
}

.deliverable-tag:hover {
	border-color: var(--accent);
	background: rgba(191, 160, 122, 0.08);
	opacity: 1;
}

.tag-count {
	font-size: 0.625rem;
	color: var(--text-muted);
	background: var(--bg-tertiary, rgba(0,0,0,0.05));
	padding: 0.125rem 0.375rem;
	border-radius: 2px;
	min-width: 1.25rem;
	text-align: center;
}

/* Top 3 deliverables get accent border */
.deliverable-tag:nth-child(-n+3) {
	border-left: 3px solid var(--accent);
}

/* ==========================================================================
   Work Page Load More
   ========================================================================== */

.pill-hidden,
.tag-hidden {
	display: none;
}

.load-more-container {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

.load-more-container.hidden {
	display: none;
}

.load-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 2px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text);
	cursor: pointer;
	transition: border-color var(--duration-fast), background var(--duration-fast);
}

.load-more-btn:hover {
	border-color: var(--accent);
	background: rgba(191, 160, 122, 0.08);
}

.load-more-count {
	color: var(--accent);
	font-weight: 500;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-consent {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 9998;
	max-width: 380px;
	background: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(150%);
	opacity: 0;
	transition: transform var(--duration-normal) var(--ease-out),
				opacity var(--duration-normal) var(--ease-out);
}

.cookie-consent.visible {
	transform: translateY(0);
	opacity: 1;
}

.cookie-consent.hiding {
	transform: translateY(150%);
	opacity: 0;
}

.cookie-consent-inner {
	padding: 1.25rem;
}

.cookie-consent-text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.cookie-consent-text a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
	color: var(--text-primary);
}

.cookie-consent-buttons {
	display: flex;
	gap: 0.75rem;
}

.cookie-btn {
	flex: 1;
	padding: 0.625rem 1rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid var(--border);
	border-radius: 2px;
	cursor: pointer;
	transition: all var(--duration-fast);
}

.cookie-btn-decline {
	background: transparent;
	color: var(--text-secondary);
}

.cookie-btn-decline:hover {
	border-color: var(--text-secondary);
	color: var(--text-primary);
}

.cookie-btn-accept {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg-primary);
}

.cookie-btn-accept:hover {
	background: var(--text-primary);
	border-color: var(--text-primary);
}

@media (max-width: 480px) {
	.cookie-consent {
		left: 10px;
		right: 10px;
		bottom: 10px;
		max-width: none;
	}
}

/* ==========================================================================
   Footer Legal Links
   ========================================================================== */

.footer-legal {
	margin-top: 1rem;
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
}

.footer-legal a {
	font-size: 0.6875rem;
	color: var(--text-muted);
	transition: color var(--duration-fast);
}

.footer-legal a:hover {
	color: var(--accent);
}

.legal-divider {
	color: var(--border);
	font-size: 0.6875rem;
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
	padding: calc(120px + 4rem) var(--gutter) 4rem;
	background: var(--bg-secondary);
}

.legal-hero-content {
	max-width: var(--max-width);
	margin: 0 auto;
}

.legal-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	line-height: 1.1;
	margin-top: 1rem;
}

.legal-hero-date {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 1rem;
}

.legal-content {
	padding: 4rem var(--gutter);
}

.legal-content-inner {
	max-width: 800px;
	margin: 0 auto;
}

.legal-intro {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border);
}

.legal-intro p {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--text-secondary);
}

.legal-section {
	margin-bottom: 2.5rem;
}

.legal-section h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.legal-section h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
}

.legal-section p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.legal-section li {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	list-style: disc;
}

.legal-section ol li {
	list-style: decimal;
}

.legal-section a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.legal-section a:hover {
	color: var(--text-primary);
}

.legal-section strong {
	color: var(--text-primary);
	font-weight: 600;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {

	.cursor,
	.cursor-glow,
	.grid-overlay,
	.menu-toggle,
	.mobile-nav,
	.hero-scroll,
	.cookie-consent {
		display: none !important;
	}

	body {
		background: white;
		color: black;
	}

	.hero-title,
	.section-title,
	.contact-title {
		color: black;
	}
}