/*
Theme Name: rebecca-mercier-theme
Version: 1.0.55
*/

/* [Previous design tokens and base styles remain the same through line 200] */

:root {
	--font-h1: clamp(2.6rem, 3.4vw, 3.4rem);
	--font-h2: clamp(2.1rem, 2.6vw, 2.6rem);
	--font-h3: clamp(1.5rem, 1.9vw, 1.9rem);
	--font-h4: clamp(1.1rem, 1.3vw, 1.3rem);
	--font-body: clamp(1rem, 1.05vw, 1.1rem);
	--font-body-large: clamp(1.1rem, 1.15vw, 1.2rem);
	--font-small: 0.875rem;
	--line-height-tight: 1.1;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.8;
	--space-section-desktop: clamp(60px, 7vw, 80px);
	--space-section-tablet: clamp(48px, 6vw, 60px);
	--space-section-mobile: clamp(36px, 5vw, 48px);
	--space-large: clamp(40px, 5vw, 60px);
	--space-medium: clamp(24px, 3vw, 40px);
	--space-small: clamp(16px, 2vw, 24px);
	--space-xs: clamp(8px, 1vw, 12px);
	--color-bg-dark: #1B1512;
	--color-bg-dark-soft: #2F2623;
	--color-bg-light: #F5F1EA;
	--color-bg-cream: #E8DED2;
	--color-accent: #B07455;
	--color-accent-soft: #C78D6B;
	--color-muted: #6E8575;
	--color-muted-soft: rgba(110, 133, 117, 0.5);
	--color-text: #4A3F35;
	--color-text-soft: rgba(74, 63, 53, 0.7);
	--radius-large: 40px;
	--radius-medium: 24px;
	--radius-small: 18px;
	--radius-pill: 999px;
	--card-padding: clamp(36px, 4.5vw, 44px);
	--card-border: 2px solid rgba(176, 116, 85, 0.2);
	--card-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.12);
	--card-shadow-hover: 0 20px 48px -16px rgba(0, 0, 0, 0.18);
	--content-narrow: 640px;
	--content-medium: 900px;
	--content-wide: 1200px;
}

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

html {
	scroll-behavior: smooth;
	background: #E8DED2;
	overflow-x: clip;
	overflow-y: visible;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--font-body);
	line-height: var(--line-height-relaxed);
	color: var(--color-text);
	background-color: var(--color-bg-light);
	background-image:
		radial-gradient(circle at top left, rgba(199, 141, 107, 0.15), transparent 50%),
		radial-gradient(circle at center, transparent 40%, rgba(74, 63, 53, 0.03) 100%);
	position: relative;
}

.wp-site-blocks {
	overflow-x: clip;
	overflow-y: visible;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

main > .wp-block-group:first-child {
	margin-top: 0 !important;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url('./assets/images/ornate-pattern.svg');
	background-size: 200px 200px;
	background-position: center;
	background-repeat: repeat;
	opacity: 0.02;
	pointer-events: none;
	z-index: -1;
}

h1 {
	font-size: var(--font-h1);
	line-height: var(--line-height-tight);
	margin: 0 0 var(--space-medium) 0;
}

h2 {
	font-size: var(--font-h2);
	line-height: var(--line-height-tight);
	margin: 0 0 var(--space-small) 0;
	font-weight: 600;
}

#about h2 {
	font-weight: 700;
}

h3 {
	font-size: var(--font-h3);
	line-height: var(--line-height-normal);
	margin: 0 0 var(--space-small) 0;
}

h4 {
	font-size: var(--font-h4);
	line-height: var(--line-height-normal);
	margin: 0 0 var(--space-xs) 0;
}

p {
	margin: 0 0 var(--space-small) 0;
}

p:last-child {
	margin-bottom: 0;
}

/* ========================================
   HEADER & NAVIGATION - CRITICAL SECTION
   ======================================== */

header,
.site-header {
	position: sticky !important;
	position: -webkit-sticky !important;
	top: 0 !important;
	z-index: 999999 !important;
	background: #E8DED2;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	transition: background 0.4s ease, box-shadow 0.4s ease;
	width: 100%;
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	will-change: transform;
}

.site-header::before {
	content: '';
	position: absolute;
	top: -100px;
	left: 0;
	right: 0;
	height: 100px;
	background: #E8DED2;
	z-index: -1;
}

.site-header .alignwide {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 6px 20px;
	gap: clamp(20px, 4vw, 60px);
}

.site-header .brand-lockup {
	flex-shrink: 0;
}

.site-header .brand-lockup img {
	max-height: 50px;
	height: auto;
	width: auto;
	object-fit: contain;
}

.site-header .wp-block-navigation {
	flex-grow: 1;
}

.site-header[data-scrolled="true"] {
	background: rgba(232, 222, 210, 0.98);
	box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.1);
}

/* Base nav styles - mobile first approach */
.site-header .wp-block-navigation__responsive-container {
	display: none;
}

.site-header .wp-block-navigation__responsive-container-open {
	display: flex;
}

/* Desktop overrides at 782px+ will show nav and hide button */

/* ==================================
   DESKTOP NAVIGATION (782px and up)
   ================================== */

@media (min-width: 782px) {
	/* FORCE HIDE mobile menu button */
	.site-header .wp-block-navigation__responsive-container-open {
		display: none !important;
		visibility: hidden !important;
	}

	/* FORCE SHOW navigation inline */
	.site-header .wp-block-navigation__responsive-container {
		display: block !important;
		position: static !important;
		width: auto !important;
		height: auto !important;
		background: transparent !important;
		box-shadow: none !important;
		padding: 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.site-header .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
		padding: 0 !important;
		min-height: auto !important;
		height: auto !important;
		background: transparent !important;
		display: block !important;
	}

	.site-header .wp-block-navigation__responsive-container .wp-block-navigation__container {
		display: flex !important;
		flex-direction: row !important;
		gap: clamp(20px, 3vw, 40px);
		background: transparent !important;
		margin: 0;
		padding: 0;
		justify-content: flex-end;
	}

	.site-header .wp-block-navigation-item {
		border-bottom: none !important;
		margin: 0;
	}

	.site-header .wp-block-navigation-item a {
		padding: 8px 0 !important;
		font-size: 13px !important;
		font-weight: 400;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--color-text) !important;
		text-decoration: none;
		transition: opacity 0.2s ease;
	}

	.site-header .wp-block-navigation-item a:hover {
		opacity: 0.6;
	}

	/* FORCE HIDE close button on desktop */
	.site-header .wp-block-navigation__responsive-container-close {
		display: none !important;
		visibility: hidden !important;
	}

	/* FORCE HIDE mobile menu overlay */
	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		position: static !important;
		background: transparent !important;
		padding: 0 !important;
		height: auto !important;
		overflow: visible !important;
	}
}

/* ===================================
   MOBILE NAVIGATION (Below 782px)
   =================================== */

@media (max-width: 781px) {
	/* FORCE HIDE the inline nav completely */
	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
		visibility: hidden !important;
	}

	/* FORCE SHOW the menu button */
	.site-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
		visibility: visible !important;
		width: auto;
		height: 36px;
		padding: 6px 14px;
		background: transparent;
		border: 1px solid rgba(74, 63, 53, 0.2);
		border-radius: 999px;
		align-items: center;
		gap: 6px;
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.site-header .wp-block-navigation__responsive-container-open::after {
		content: 'MENU';
		color: var(--color-text);
	}

	.site-header .wp-block-navigation__responsive-container-open svg {
		width: 16px;
		height: 16px;
		fill: var(--color-text);
	}

	/* When menu IS open */
	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		display: block !important;
		visibility: visible !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: #E8DED2 !important;
		z-index: 999998 !important;
		padding: 80px 0 40px 0 !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		background: #E8DED2 !important;
		padding: 0 20px !important;
		width: 100% !important;
		height: auto !important;
		min-height: auto !important;
		display: block !important;
		overflow: visible !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		background: #E8DED2 !important;
		width: 100% !important;
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		margin: 0 !important;
		border-bottom: 1px solid rgba(74, 63, 53, 0.12) !important;
		width: 100% !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child {
		border-bottom: none !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a,
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		font-size: 16px !important;
		padding: 18px 0 !important;
		display: block !important;
		width: 100% !important;
		color: #4A3F35 !important;
		text-decoration: none !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		font-weight: 500 !important;
		transition: opacity 0.2s ease !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover {
		opacity: 0.6 !important;
	}

	/* Close button */
	.site-header .wp-block-navigation__responsive-container-close {
		position: absolute !important;
		top: 20px !important;
		right: 20px !important;
		background: transparent !important;
		border: none !important;
		color: #4A3F35 !important;
		padding: 10px !important;
		cursor: pointer !important;
		z-index: 999999 !important;
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Force all nav items visible in mobile menu */
	.site-header .wp-block-navigation__responsive-container.is-menu-open * {
		max-height: none !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > * {
		display: block !important;
	}

	.site-header .alignwide {
		padding: 6px 16px;
	}

	.site-header .brand-lockup img {
		max-height: 42px;
	}
}

/* Gradient sections and all other styles continue below... */

.gradient-section-1,
.gradient-section-2,
.gradient-section-3 {
	padding: var(--space-section-desktop) var(--space-medium);
	position: relative;
	width: 100%;
	margin: 0;
}

.gradient-section-1 {
	background: linear-gradient(180deg, rgba(245, 241, 234, 1) 0%, rgba(217, 195, 173, 0.6) 50%, rgba(232, 222, 210, 0.5) 100%);
}

.gradient-section-1::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 30%, rgba(110, 133, 117, 0.15), transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(176, 116, 85, 0.12), transparent 50%);
	pointer-events: none;
}

.gradient-section-2 {
	background: linear-gradient(180deg, rgba(232, 222, 210, 0.5) 0%, rgba(245, 241, 234, 1) 30%, rgba(217, 195, 173, 0.7) 70%, rgba(232, 222, 210, 0.5) 100%);
}

.gradient-section-2::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 50%, rgba(110, 133, 117, 0.18), transparent 60%);
	pointer-events: none;
}

.gradient-section-3 {
	background: linear-gradient(180deg, rgba(217, 195, 173, 0.7) 0%, rgba(245, 241, 234, 1) 50%, rgba(232, 222, 210, 0.6) 100%);
}

.gradient-section-3::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 70% 40%, rgba(176, 116, 85, 0.15), transparent 55%);
	pointer-events: none;
}

.gradient-overlay {
	position: relative;
}

.gradient-overlay::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 40%, rgba(110, 133, 117, 0.2), transparent 60%);
	pointer-events: none;
	z-index: 1;
}

.gradient-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('./assets/images/ornate-pattern.svg');
	background-size: 180px 180px;
	background-position: center;
	background-repeat: repeat;
	opacity: 0.08;
	pointer-events: none;
	z-index: 2;
}

.gradient-overlay>* {
	position: relative;
	z-index: 3;
}

/* [Rest of your styles continue unchanged from the previous version...] */

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

.animate-fade-in {
	animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wp-block-button__link {
	transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.pill-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-text);
	opacity: 1;
}

.pill-link a {
	color: var(--color-text);
	text-decoration: none;
}

.hero-parallax .pill-link,
.hero-parallax .pill-link a {
	color: rgba(255, 255, 255, 0.95);
}

.pill-link::after {
	content: '';
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.8;
	transition: width 0.3s ease;
}

.pill-link:hover::after {
	width: 48px;
}

.hero-parallax .section-caption {
	color: rgba(255, 255, 255, 0.85) !important;
}

.section-caption {
	font-size: 13px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--color-text-soft);
	margin-bottom: var(--space-medium);
	max-width: none;
}

.texture-wave {
	background-image: url('./assets/images/texture-wave.svg');
	background-size: 800px 600px;
	background-position: center;
	background-repeat: repeat;
}

.ornate-panel {
	position: relative;
	overflow: visible;
	border-radius: var(--radius-large);
	padding: var(--space-large);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 241, 234, 0.92) 50%, rgba(255, 255, 255, 0.95) 100%),
		url('./assets/images/ornate-pattern.svg');
	background-size: auto, 140px 140px;
	background-position: center, center;
	background-repeat: no-repeat, repeat;
	background-blend-mode: normal, overlay;
	box-shadow:
		0 20px 60px -20px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(176, 116, 85, 0.1) inset,
		inset 0 2px 0 rgba(255, 255, 255, 0.95),
		inset 0 -2px 0 rgba(176, 116, 85, 0.2);
	border: 2px solid rgba(176, 116, 85, 0.3);
	margin-top: var(--space-small);
}

.ornate-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, rgba(176, 116, 85, 0.4) 20%, rgba(110, 133, 117, 0.4) 50%, rgba(176, 116, 85, 0.4) 80%, transparent);
	z-index: 2;
}

.ornate-panel>* {
	position: relative;
	z-index: 1;
}

.ornate-panel::after {
	content: '';
	position: absolute;
	inset: 20px;
	border: 1.5px solid rgba(110, 133, 117, 0.2);
	border-radius: calc(var(--radius-large) - 20px);
	pointer-events: none;
	z-index: 0;
	box-shadow: inset 0 0 30px rgba(110, 133, 117, 0.08);
}

.hero-parallax {
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	z-index: 1;
}

.hero-parallax .wp-block-cover__image-background {
	object-fit: cover;
	object-position: center;
	filter: blur(3px) brightness(0.75);
}

.hero-parallax>.wp-block-group {
	padding-top: calc(var(--space-medium) * 0.95) !important;
	padding-bottom: calc(var(--space-medium) * 0.95) !important;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-medium);
	margin-top: var(--space-medium);
	align-items: stretch;
}

.card-grid .card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 320px;
	padding: var(--card-padding);
	border-radius: var(--radius-small);
	border: var(--card-border);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 234, 0.9));
	box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-block: 0 !important;
}

.card-grid .card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, rgba(176, 116, 85, 0.3), rgba(110, 133, 117, 0.4), rgba(176, 116, 85, 0.3));
	z-index: 1;
}

.card-grid .card::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('./assets/images/ornate-pattern.svg');
	background-size: 120px 120px;
	background-position: bottom right;
	background-repeat: no-repeat;
	opacity: 0.05;
	pointer-events: none;
	z-index: 0;
}

.card-grid .card:hover {
	transform: translateY(-4px);
	box-shadow: var(--card-shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-grid .card>* {
	position: relative;
	z-index: 2;
}

.card h3 {
	margin: 0 0 var(--space-xs) 0;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text-soft);
	max-width: none;
	font-weight: 700;
}

.card p {
	font-size: var(--font-small);
	line-height: var(--line-height-normal);
	margin: 0;
	max-width: none;
}

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

.testimonials-band {
	background: radial-gradient(ellipse at top, rgba(110, 133, 117, 0.25), transparent 50%),
		linear-gradient(160deg, var(--color-bg-dark-soft) 0%, var(--color-bg-dark) 100%);
	color: var(--color-bg-light);
	padding: var(--space-section-desktop) var(--space-medium);
	position: relative;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.testimonials-band * {
	color: var(--color-bg-light) !important;
}

.testimonials-band .section-caption {
	color: rgba(245, 241, 234, 0.7) !important;
}

.testimonials-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('./assets/images/texture-wave.svg');
	background-size: 800px 600px;
	background-position: center;
	background-repeat: repeat;
	opacity: 0.25;
	mix-blend-mode: screen;
}

.testimonials-band .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-medium);
	margin-top: var(--space-medium);
	align-items: stretch;
}

.testimonials-band .testimonial-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 320px;
	position: relative;
	padding: var(--card-padding);
	background: rgba(255, 255, 255, 0.08);
	border: 1.3px solid rgba(176, 122, 91, 0.4);
	border-radius: var(--radius-medium);
	box-shadow: 0 40px 60px -45px rgba(0, 0, 0, 0.9);
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonials-band .testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 50px 70px -50px rgba(0, 0, 0, 1);
}

.testimonial-card p {
	font-size: var(--font-small);
	line-height: var(--line-height-normal);
	font-style: italic;
	max-width: none;
}

.testimonial-card strong {
	display: inline-block;
	margin-top: var(--space-small);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-style: normal;
	font-weight: 700;
}

.testimonial-card p:last-child {
	margin-top: auto;
	padding-top: 20px;
	min-height: 60px;
}

.cta-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cta-stack .wp-block-button {
	flex: 1 1 auto;
	min-width: 200px;
}

.cta-stack .wp-block-button__link {
	border-radius: 999px;
	padding: 16px 32px;
	width: 100%;
	text-align: center;
	display: block;
}

.cta-stack .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.6);
	color: inherit;
}

.contact-layout {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(30px, 4vw, 60px);
	align-items: stretch;
}

.contact-card {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 32px;
	padding: clamp(30px, 4vw, 50px);
	box-shadow: 0 40px 80px -60px rgba(27, 21, 18, 0.9);
}

.contact-card .contact-meta {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	font-size: 16px;
}

.contact-card .contact-meta a {
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid rgba(27, 21, 18, 0.2);
}

.contact-form-panel {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 241, 234, 0.9));
	color: var(--color-text);
	border-radius: 32px;
	padding: clamp(30px, 4vw, 50px);
	position: relative;
	overflow: hidden;
	border: 2px solid rgba(176, 116, 85, 0.2);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15);
}

.contact-form-panel::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('./assets/images/ornate-pattern.svg');
	background-size: 140px 140px;
	background-position: center;
	background-repeat: repeat;
	opacity: 0.04;
	pointer-events: none;
}

.contact-form-panel form,
.contact-form-panel .contact-form {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 16px;
}

.contact-form-panel .form-group {
	margin: 0;
}

.contact-form-panel input,
.contact-form-panel textarea {
	width: 100%;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.8);
	border: 1.5px solid rgba(176, 116, 85, 0.3);
	color: var(--color-text);
	border-radius: 12px;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
	color: rgba(74, 63, 53, 0.5);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(176, 116, 85, 0.1);
	background: rgba(255, 255, 255, 1);
}

.contact-form-panel input[type='submit'],
.contact-form-panel button,
.contact-form-panel .wp-block-button__link {
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 16px 26px;
	cursor: pointer;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form-panel input[type='submit']:hover,
.contact-form-panel button:hover,
.contact-form-panel .wp-block-button__link:hover {
	background: var(--color-accent-soft);
	transform: translateY(-2px);
}

.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.contact-form .form-group-half {
	width: 100%;
}

.form-message {
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 1.5;
}

.form-success {
	background: rgba(110, 133, 117, 0.15);
	border: 1px solid rgba(110, 133, 117, 0.4);
	color: var(--color-text);
}

.form-error {
	background: rgba(176, 116, 85, 0.15);
	border: 1px solid rgba(176, 116, 85, 0.4);
	color: var(--color-text);
}

.gradient-frame {
	position: relative;
	border-radius: var(--radius-large);
	box-shadow:
		0 4px 16px -6px rgba(0, 0, 0, 0.12),
		0 2px 6px -2px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	max-width: 100%;
}

.gradient-frame img,
.gradient-frame figure {
	border-radius: calc(var(--radius-large) - 1px);
	margin: 0;
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.floating-image {
	position: relative;
	border-radius: var(--radius-medium);
	overflow: hidden;
	box-shadow:
		0 4px 12px -4px rgba(0, 0, 0, 0.1),
		0 2px 4px -2px rgba(0, 0, 0, 0.06);
	border: 0.5px solid rgba(0, 0, 0, 0.06);
	max-width: 100%;
}

.floating-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: var(--radius-medium);
	object-fit: cover;
}

.hero-parallax .wp-block-cover__image-background {
	filter: blur(2px) brightness(1.05);
}

.feature-blocks {
	display: flex;
	flex-direction: column;
	gap: var(--space-medium);
	margin-top: var(--space-medium);
	margin-bottom: var(--space-small);
}

.feature-block {
	padding: var(--space-small) 0;
	padding-left: var(--space-small);
	border-left: 3px solid var(--color-accent);
	position: relative;
}

.feature-block h3 {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-text);
	margin-bottom: var(--space-xs);
	max-width: none;
}

.feature-block p {
	margin: 0;
	max-width: none;
	color: var(--color-text-soft);
}

.mercier-intro {
	margin-bottom: 0;
}

.mercier-conclusion {
	border-top: 1px solid rgba(74, 63, 53, 0.12);
	padding-top: var(--space-small);
}

@media (min-width: 783px) {
	.mercier-image-column {
		position: static;
		top: auto;
		align-self: flex-start;
	}
}

.list-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-medium);
	align-items: start;
}

.list-grid>* {
	max-width: none;
	margin-top: 0 !important;
}

.list-grid h4 {
	font-size: var(--font-h4);
	letter-spacing: 0.05em;
	margin-bottom: var(--space-small);
	margin-top: 0;
	color: var(--color-text);
}

.list-grid ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: var(--space-small);
}

.list-grid li {
	padding: var(--space-xs) 0;
	font-size: var(--font-body);
	line-height: var(--line-height-relaxed);
	border-bottom: 1px solid rgba(27, 21, 18, 0.08);
	color: var(--color-text);
	font-weight: 600;
}

.list-grid li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.list-grid p {
	font-size: var(--font-small);
	line-height: var(--line-height-relaxed);
	color: var(--color-text);
	max-width: none;
}

.cta-panel {
	border-radius: var(--radius-large);
	padding: var(--space-large);
	background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-soft) 100%);
	color: var(--color-bg-light);
	position: relative;
	overflow: hidden;
	max-width: var(--content-medium);
	margin: 0 auto;
}

.cta-panel::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('./assets/images/texture-lines.svg');
	background-size: 600px 400px;
	background-repeat: repeat;
	opacity: 0.2;
	mix-blend-mode: screen;
}

.cta-panel>* {
	position: relative;
	z-index: 1;
}

.cta-panel h2,
.cta-panel p {
	max-width: none;
	text-align: center;
}

.header-cta .wp-block-button__link {
	border-radius: 999px;
	padding: 12px 28px;
}

.brand-lockup {
	position: relative;
	min-height: 48px;
}

.brand-lockup .wp-block-group {
	position: relative;
}

.logo-dark,
.logo-light {
	margin: 0;
}

.logo-light {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	align-items: start;
}

.footer-grid a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.footer-grid a:hover {
	border-bottom-color: currentColor;
}

/* Footer Override - Always Light
---------------------------------------- */
footer,
footer *,
.site-footer,
.site-footer *,
.wp-block-template-part[class*="footer"],
.wp-block-template-part[class*="footer"] * {
	background: var(--color-bg-cream) !important;
	color: var(--color-text) !important;
}

footer a,
.site-footer a {
	color: var(--color-text) !important;
	text-decoration: none;
}

footer a:hover,
.site-footer a:hover {
	color: var(--color-accent) !important;
}

/* Force light footer buttons */
footer .wp-block-button__link,
.site-footer .wp-block-button__link {
	background: var(--color-accent) !important;
	color: #fff !important;
}

@media (min-width: 960px) {
	#about .wp-block-columns,
	#mercier-therapy .wp-block-columns {
		align-items: flex-start;
	}

	.gradient-section-1 #about .wp-block-columns>.wp-block-column:last-child {
		margin-top: 104px;
	}

	.gradient-section-3 #mercier-therapy .wp-block-columns>.wp-block-column:last-child {
		margin-top: 130px;
	}
}

.gradient-section-2 .wp-block-group.alignwide>p,
.gradient-section-2 .wp-block-group.alignwide>h2,
#mercier-therapy .wp-block-group.alignwide>p,
#mercier-therapy .wp-block-group.alignwide>h2 {
	text-align: left !important;
	margin-left: 0 !important;
	max-width: 100%;
}

#mercier-therapy .wp-block-columns .wp-block-column p {
	text-align: left !important;
}

@media (max-width: 1024px) {
	.gradient-section-1,
	.gradient-section-2,
	.gradient-section-3 {
		padding: var(--space-section-tablet) var(--space-small);
	}

	.hero-parallax {
		min-height: 58vh !important;
	}
}

@media (max-width: 768px) {
	p {
		max-width: 100% !important;
	}

	/* Force column stacking on mobile - AGGRESSIVE */
	.wp-block-columns,
	body .wp-block-columns,
	.wp-block-group .wp-block-columns {
		flex-wrap: wrap !important;
		flex-direction: column !important;
		display: flex !important;
	}

	.wp-block-column,
	body .wp-block-column,
	.wp-block-columns .wp-block-column,
	.wp-block-group .wp-block-column {
		flex-basis: 100% !important;
		flex-grow: 1 !important;
		min-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Prevent weird width issues */
	.wp-block-columns > * {
		width: 100% !important;
		max-width: 100% !important;
	}

	body .gradient-section-1,
	body .gradient-section-2,
	body .gradient-section-3,
	body .testimonials-band,
	body .ornate-panel,
	body .cta-panel {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wp-block-group.alignwide,
	.wp-block-columns.alignwide {
		padding-left: 5%;
		padding-right: 5%;
	}

	.hero-parallax .wp-block-cover__background {
		background: linear-gradient(
			180deg,
			rgba(27, 21, 18, 0.8) 0%,
			rgba(27, 21, 18, 0.7) 50%,
			rgba(27, 21, 18, 0.83) 100%
		) !important;
		opacity: 1 !important;
	}

	.hero-parallax {
		min-height: auto !important;
		height: auto !important;
	}

	.hero-parallax h1,
	.hero-parallax h1.has-text-color {
		font-size: 22px !important;
		line-height: 1.25 !important;
		margin-bottom: 12px !important;
	}

	.hero-parallax p {
		font-size: 14px !important;
		line-height: 1.5 !important;
		margin-bottom: 8px !important;
	}

	.hero-parallax .section-caption {
		font-size: 10px !important;
		letter-spacing: 0.2em !important;
		margin-bottom: 12px !important;
	}

	.hero-parallax .wp-block-cover__inner-container {
		padding: 20px 16px !important;
		min-height: auto !important;
		display: flex !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	.hero-parallax .wp-block-group {
		padding: 16px 0 !important;
	}

	.hero-parallax .wp-block-columns .wp-block-column:last-child {
		display: none !important;
	}

	.hero-parallax .wp-block-columns {
		gap: 0 !important;
	}

	.hero-parallax .wp-block-columns .wp-block-column:first-child {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.hero-parallax .cta-stack {
		gap: 8px !important;
		margin-top: 16px !important;
	}

	.hero-parallax .cta-stack .wp-block-button__link {
		padding: 12px 20px !important;
		font-size: 12px !important;
	}

	.hero-parallax .pill-link {
		margin-top: 12px !important;
		margin-bottom: 0 !important;
		font-size: 10px !important;
	}

	#about .wp-block-columns {
		display: flex !important;
		flex-direction: column-reverse !important;
		gap: var(--space-small) !important;
	}

	#about .wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
		margin: 0 !important;
	}

	#mercier-therapy p,
	#mercier-therapy .wp-block-column p {
		padding-left: 0 !important;
		margin-left: 0 !important;
		text-align: left !important;
	}

	#mercier-therapy .wp-block-columns .wp-block-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#mercier-therapy .wp-block-group,
	#mercier-therapy .wp-block-columns,
	#mercier-therapy .wp-block-column {
		text-align: left !important;
		align-items: flex-start !important;
	}

	#mercier-therapy .alignwide {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#mercier-therapy .wp-block-group.reveal-on-scroll>.wp-block-columns {
		padding-left: 0 !important;
	}

	#mercier-therapy .wp-block-column p[style*="font-size"] {
		margin-left: 0 !important;
		padding-left: 0 !important;
		max-width: 100% !important;
	}

	.card-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: var(--space-small);
	}

	.card-grid .card {
		min-height: auto;
	}

	#about .wp-block-column:has(figure) figure,
	#about .wp-block-column:has(.floating-image) .floating-image,
	#about .wp-block-column:has(.gradient-frame) .gradient-frame {
		max-width: 260px !important;
		width: 70% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: var(--space-small) !important;
		border-radius: var(--radius-medium);
		display: block !important;
		overflow: hidden !important;
		padding: 0 !important;
		background: transparent !important;
	}

	#about figure img,
	#about .floating-image img,
	#about .gradient-frame img,
	#about .gradient-frame figure,
	#about .gradient-frame figure img {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		border-radius: var(--radius-medium);
		object-fit: cover;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#about .wp-block-columns .wp-block-column:has(figure),
	#about .wp-block-columns .wp-block-column:has(.floating-image),
	#about .wp-block-columns .wp-block-column:has(.gradient-frame) {
		display: flex !important;
		justify-content: center !important;
		padding-top: 0;
		margin-bottom: 0 !important;
		background: transparent !important;
	}

	#mercier-therapy .wp-block-column:has(figure) figure,
	#mercier-therapy .wp-block-column:has(.floating-image) .floating-image,
	#mercier-therapy .wp-block-column:has(.gradient-frame) .gradient-frame {
		max-width: 260px !important;
		width: 70% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: var(--space-small) !important;
		border-radius: var(--radius-medium);
		display: block !important;
		overflow: hidden !important;
		padding: 0 !important;
		background: transparent !important;
	}

	#mercier-therapy figure img,
	#mercier-therapy .floating-image img,
	#mercier-therapy .gradient-frame img,
	#mercier-therapy .gradient-frame figure,
	#mercier-therapy .gradient-frame figure img {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		border-radius: var(--radius-medium);
		object-fit: cover;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#mercier-therapy .wp-block-columns .wp-block-column:has(figure),
	#mercier-therapy .wp-block-columns .wp-block-column:has(.floating-image),
	#mercier-therapy .wp-block-columns .wp-block-column:has(.gradient-frame) {
		display: flex !important;
		justify-content: center !important;
		margin-bottom: 0 !important;
	}

	.wp-block-button__link,
	.cta-stack .wp-block-button__link,
	.hero-parallax .wp-block-button__link,
	.cta-panel .wp-block-button__link {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 14px 28px;
	}

	.cta-stack {
		gap: 12px;
		flex-direction: column;
		width: 100%;
	}

	.cta-stack .wp-block-button {
		width: 100%;
	}

	.cta-stack .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: var(--space-medium);
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
	}

	.gradient-frame {
		border-radius: var(--radius-medium);
		padding: 1px;
	}

	.gradient-frame img {
		border-radius: calc(var(--radius-medium) - 1px);
	}

	.floating-image {
		border-radius: var(--radius-small);
	}

	.cta-panel {
		padding: var(--space-medium);
		border-radius: var(--radius-medium);
	}

	.gradient-section-1,
	.gradient-section-2,
	.gradient-section-3 {
		padding: var(--space-section-mobile) var(--space-small);
	}

	.hero-parallax {
		min-height: 60vh !important;
	}

	.hero-parallax .wp-block-cover__inner-container {
		padding: var(--space-small) !important;
	}

	.hero-parallax .wp-block-group {
		padding-top: var(--space-small) !important;
		padding-bottom: var(--space-small) !important;
	}

	.ornate-panel {
		padding: var(--space-medium);
		border-radius: var(--radius-medium);
	}

	.ornate-panel::after {
		inset: 12px;
		border-radius: calc(var(--radius-medium) - 12px);
	}

	.testimonials-band {
		padding: var(--space-section-mobile) var(--space-small);
	}

	.testimonials-band .wp-block-columns {
		grid-template-columns: 1fr;
		gap: var(--space-small);
	}

	.testimonials-band .testimonial-card {
		min-height: auto;
		padding: var(--space-medium);
	}

	.list-grid {
		grid-template-columns: 1fr;
		gap: var(--space-medium);
	}

	.feature-blocks {
		gap: var(--space-small);
		margin-top: var(--space-small);
	}

	.feature-block {
		padding: var(--space-xs) 0;
		padding-left: var(--space-xs);
	}

	.feature-block h3 {
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	.hero-parallax {
		min-height: 62vh !important;
	}

	.section-caption {
		font-size: 11px;
		letter-spacing: 0.3em;
	}

	.ornate-panel {
		padding: var(--space-small);
	}

	.card-grid {
		grid-template-columns: 1fr;
		gap: var(--space-small);
	}

	.card-grid .card {
		min-height: auto;
	}
}

/* Extra narrow viewports - prevent layout breaks */
@media (max-width: 400px) {
	.site-header .alignwide {
		padding: 6px 12px;
		gap: 12px;
	}

	.site-header .brand-lockup img {
		max-height: 36px;
	}

	.site-header .wp-block-navigation__responsive-container-open {
		padding: 5px 12px;
		font-size: 10px;
		height: 32px;
	}

	.site-header .wp-block-navigation__responsive-container-open svg {
		width: 14px;
		height: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.pill-link,
	.testimonial-card,
	.site-header,
	.card-grid .card {
		transition: none;
	}

	.testimonial-card:hover,
	.card-grid .card:hover {
		transform: none;
	}
}
