/*
 * Design style: Editorial Luxury Salon
 * Fashion-forward, photography-led, refined editorial serif typography, warm ivory/charcoal/bronze.
 * Scoped strictly to body.studio-style-editorial-luxury; tokens only (no hex).
 */

body.studio-style-editorial-luxury {
	--sb-card-radius: 0px;
	--sb-card-border: var(--wp--custom--border-width--thin) solid var(--wp--preset--color--border);
	--sb-card-shadow: none;
	--sb-card-shadow-hover: var(--wp--preset--shadow--soft);
	--sb-card-padding: var(--wp--preset--spacing--50);
	--sb-chip-radius: 0px;
	--sb-tracking: 0.18em;
}

/* ---------- Header ---------- */
body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part {
	background: #f5ece7;
	border-bottom: 1px solid rgba(28, 26, 23, 0.05);
	padding: 0.75rem var(--wp--preset--spacing--40);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
	z-index: 100;
}
body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part.is-scrolled {
	background-color: color-mix(in srgb, #f5ece7 96%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}
body.studio-style-editorial-luxury .wp-block-site-title {
	margin: 0;
}
body.studio-style-editorial-luxury .wp-block-site-title a {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1;
}
body.studio-style-editorial-luxury .sb-brand-main {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.15rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	line-height: 1;
}
body.studio-style-editorial-luxury .sb-brand-sub {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.52rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin-top: 4px;
	line-height: 1;
}
body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part .wp-block-navigation-item__content {
	letter-spacing: 0.02em;
	text-transform: none !important;
	font-size: 0.82rem;
	font-weight: 400;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent);
}
body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent);
}
body.studio-style-editorial-luxury .studio-header-phone {
	display: none !important;
}
body.studio-style-editorial-luxury .studio-header-actions .wp-block-button__link {
	border-radius: 999px;
	letter-spacing: 0.02em;
	text-transform: none !important;
	font-size: 0.8rem;
	padding: 0.55rem 1.4rem;
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-weight: 400;
	border: 1px solid transparent;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
body.studio-style-editorial-luxury .studio-header-actions .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--accent);
}

/* ---------- Motion & Cinematic Reveals ---------- */
/* Progressive enhancement: elements remain visible by default so no section is ever trapped at opacity: 0.
   GSAP & ScrollTrigger handle dynamic choreography seamlessly at runtime. */
body.studio-style-editorial-luxury .sb-reveal-on-scroll {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
body.studio-style-editorial-luxury .sb-reveal-on-scroll.is-revealed {
	opacity: 1;
	transform: translateY(0);
}
body.studio-style-editorial-luxury .sb-delay-1 { transition-delay: 0.12s; }
body.studio-style-editorial-luxury .sb-delay-2 { transition-delay: 0.24s; }
body.studio-style-editorial-luxury .sb-delay-3 { transition-delay: 0.36s; }
body.studio-style-editorial-luxury .sb-delay-4 { transition-delay: 0.48s; }

/* ---------- Interactive Before & After Slider ---------- */
body.studio-style-editorial-luxury .sb-before-after-container {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	user-select: none;
	touch-action: pan-y;
	border: 1px solid var(--wp--preset--color--border);
	--sb-ba-pos: 50%;
}
body.studio-style-editorial-luxury .sb-ba-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
body.studio-style-editorial-luxury .sb-ba-layer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
body.studio-style-editorial-luxury .sb-ba-overlay {
	clip-path: polygon(0 0, var(--sb-ba-pos, 50%) 0, var(--sb-ba-pos, 50%) 100%, 0 100%);
}
body.studio-style-editorial-luxury .sb-ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--sb-ba-pos, 50%);
	width: 2px;
	background-color: var(--wp--preset--color--base);
	box-shadow: 0 0 8px color-mix(in srgb, var(--wp--preset--color--contrast) 40%, transparent);
	pointer-events: none;
	transform: translateX(-50%);
	z-index: 10;
}
body.studio-style-editorial-luxury .sb-ba-handle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--wp--preset--font-size--small);
	box-shadow: 0 2px 10px color-mix(in srgb, var(--wp--preset--color--contrast) 25%, transparent);
}
body.studio-style-editorial-luxury .sb-ba-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	z-index: 20;
	margin: 0;
}

/* ---------- Find by Concern Interactive ---------- */
body.studio-style-editorial-luxury .sb-concerns-interactive {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--50);
}
@media (min-width: 900px) {
	body.studio-style-editorial-luxury .sb-concerns-interactive {
		grid-template-columns: 1fr 1.3fr;
		align-items: start;
	}
}
body.studio-style-editorial-luxury .sb-concern-tab {
	display: block;
	width: 100%;
	text-align: left;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 0;
	border-left: 2px solid var(--wp--preset--color--border);
	background: transparent;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	transition: all 0.25s ease;
}
body.studio-style-editorial-luxury .sb-concern-tab:hover,
body.studio-style-editorial-luxury .sb-concern-tab.is-active {
	color: var(--wp--preset--color--contrast);
	border-left-color: var(--wp--preset--color--accent);
	background-color: var(--wp--preset--color--surface);
}
body.studio-style-editorial-luxury .sb-concern-detail {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	padding: var(--wp--preset--spacing--50);
	display: none;
	animation: sbFadeIn 0.35s ease;
}
body.studio-style-editorial-luxury .sb-concern-detail.is-active {
	display: block;
}
@keyframes sbFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Treatment & Membership Cards ---------- */
body.studio-style-editorial-luxury .sb-treatment-card,
body.studio-style-editorial-luxury .sb-membership-card {
	border: 1px solid var(--wp--preset--color--border);
	background-color: var(--wp--preset--color--base);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
body.studio-style-editorial-luxury .sb-treatment-card {
	padding: 0;
	overflow: hidden;
}
body.studio-style-editorial-luxury .sb-treatment-card .wp-block-image {
	margin: 0;
}
body.studio-style-editorial-luxury .sb-treatment-info {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: var(--wp--preset--spacing--20);
}
body.studio-style-editorial-luxury .sb-treatment-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 60%, transparent);
}
body.studio-style-editorial-luxury .sb-treatment-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
	border-color: var(--wp--preset--color--accent);
}
body.studio-style-editorial-luxury .sb-treatment-banner {
	border: 1px solid var(--wp--preset--color--border);
	border-left: 3px solid var(--wp--preset--color--accent);
	box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
}

/* Membership Invitation Styling */
body.studio-style-editorial-luxury .sb-membership-card {
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--base);
	position: relative;
}
body.studio-style-editorial-luxury .sb-membership-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
body.studio-style-editorial-luxury .sb-membership-price-wrap {
	margin-block: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 80%, transparent);
}
body.studio-style-editorial-luxury .sb-membership-perks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	flex-grow: 1;
}
body.studio-style-editorial-luxury .sb-membership-perks li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.45;
}
body.studio-style-editorial-luxury .sb-perk-bullet {
	color: var(--wp--preset--color--accent);
	font-size: 0.75rem;
	flex-shrink: 0;
	margin-top: 0.15rem;
}
body.studio-style-editorial-luxury .sb-membership-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
	border-color: var(--wp--preset--color--accent);
}
body.studio-style-editorial-luxury .sb-membership-card.is-featured {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--accent);
	box-shadow: 0 8px 30px -10px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
}
body.studio-style-editorial-luxury .sb-price-tag {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

/* ---------- Headings & Section Dividers ---------- */
body.studio-style-editorial-luxury .wp-block-post-content > .alignfull > h2:first-child,
body.studio-style-editorial-luxury .wp-block-post-content > .alignfull > .wp-block-group:first-child > h2:first-child {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	letter-spacing: -0.02em;
}
body.studio-style-editorial-luxury .studio-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* ---------- Hero Flagship Composition (Editorial Campaign) ---------- */
body.studio-style-editorial-luxury .studio-hero,
body.studio-style-editorial-luxury .studio-hero-luxury {
	background: linear-gradient(to right, #f5ece7 0%, #ece0d9 38%, #eaddd6 55%, #e5d5ce 100%) !important;
	padding: 0 !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 40%, transparent);
	position: relative;
	overflow: hidden;
	min-height: clamp(580px, 86vh, 880px);
	display: flex;
	align-items: stretch;
}

body.studio-style-editorial-luxury .studio-hero .studio-hero-columns {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: stretch;
	min-height: inherit;
}

body.studio-style-editorial-luxury .studio-hero .studio-eyebrow {
	display: none !important;
}

body.studio-style-editorial-luxury .studio-hero .studio-hero-heading {
	margin: 0 0 var(--wp--preset--spacing--30) 0;
	line-height: 1.12;
}

body.studio-style-editorial-luxury .sb-hero-title-main {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.35rem, 1.9rem + 1.8vw, 3.45rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}

body.studio-style-editorial-luxury .sb-hero-title-sub {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.15rem, 1.75rem + 1.7vw, 3.15rem);
	font-style: italic;
	font-weight: 300;
	letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 88%, var(--wp--preset--color--accent));
	margin-top: 0.2rem;
}

body.studio-style-editorial-luxury .studio-hero-lede {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
	max-width: 38ch;
	margin-bottom: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--muted);
}

body.studio-style-editorial-luxury .studio-hero-ctas {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	align-items: center;
	margin-bottom: var(--wp--preset--spacing--40);
}

body.studio-style-editorial-luxury .studio-hero-ctas .wp-block-button__link {
	font-size: 0.82rem;
	letter-spacing: 0.01em;
	text-transform: none !important;
	font-weight: 500;
	padding: 0.75rem 1.75rem;
	border-radius: 999px !important;
	transition: all 0.25s ease;
}

body.studio-style-editorial-luxury .studio-hero-ctas .is-style-outline .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 35%, transparent);
	color: var(--wp--preset--color--contrast);
	background: color-mix(in srgb, var(--wp--preset--color--base) 50%, transparent);
}

body.studio-style-editorial-luxury .studio-hero-ctas .is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--contrast);
	background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
}

body.studio-style-editorial-luxury .studio-hero-trust-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 50%, transparent);
	margin-top: auto;
}

body.studio-style-editorial-luxury .sb-trust-item {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0 !important;
}

body.studio-style-editorial-luxury .sb-trust-icon {
	color: var(--wp--preset--color--contrast);
	width: 20px;
	height: 20px;
}

body.studio-style-editorial-luxury .sb-trust-label {
	font-size: 0.72rem;
	letter-spacing: 0.01em;
	text-transform: none;
	font-weight: 400;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 80%, transparent);
	white-space: nowrap;
}

@media (min-width: 900px) {
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		background: transparent !important;
		border-bottom: 1px solid rgba(28, 26, 23, 0.04) !important;
		z-index: 100 !important;
		padding: 1.15rem 1.65rem 1.15rem clamp(2rem, 5.4vw, 5.2rem) !important;
		box-sizing: border-box !important;
		pointer-events: auto !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
		max-width: 100% !important;
		width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part.is-scrolled {
		position: fixed !important;
		background-color: color-mix(in srgb, #f5ece7 96%, transparent) !important;
		backdrop-filter: blur(12px) !important;
		-webkit-backdrop-filter: blur(12px) !important;
		box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent) !important;
	}
	body.studio-style-editorial-luxury .sb-header-inner {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		max-width: 100% !important;
		gap: clamp(1rem, 2vw, 2.5rem) !important;
	}
	body.studio-style-editorial-luxury .sb-header-brand-wrap {
		flex: 0 0 auto !important;
	}
	body.studio-style-editorial-luxury .sb-header-brand-wrap .sb-header-logo-primary {
		font-size: 1.48rem !important;
		font-weight: 600 !important;
		letter-spacing: 0.15em !important;
		color: #181716 !important;
	}
	body.studio-style-editorial-luxury .sb-header-brand-wrap .sb-header-logo-sub {
		font-size: 0.58rem !important;
		font-weight: 500 !important;
		letter-spacing: 0.35em !important;
		color: #7a6b63 !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav {
		flex: 1 1 auto !important;
		display: flex !important;
		justify-content: flex-start !important;
		margin-left: clamp(1.2rem, 2.2vw, 3.2rem) !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__container {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: clamp(0.85rem, 1.4vw, 1.85rem) !important;
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-item__content {
		font-family: var(--wp--preset--font-family--body) !important;
		font-size: 0.88rem !important;
		font-weight: 450 !important;
		color: #181716 !important;
		text-decoration: none !important;
		letter-spacing: 0.01em !important;
		padding: 0.35rem 0 !important;
		white-space: nowrap !important;
		transition: color 0.2s ease !important;
	}
	/* Submenu arrows are real toggle buttons (see the Phase 2A.3 submenu rules at the end of this file). */
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-item__content:hover {
		color: #8a6a3f !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-item__content:focus-visible {
		outline: 2px solid #8a6a3f !important;
		outline-offset: 3px !important;
		border-radius: 2px !important;
	}
	body.studio-style-editorial-luxury .sb-header-utility {
		flex: 0 0 auto !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: clamp(0.75rem, 1.2vw, 1.5rem) !important;
		margin-left: auto !important;
	}
	body.studio-style-editorial-luxury .sb-header-utility .studio-header-phone {
		display: none !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-group {
		display: inline-flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 0.25rem !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-btn {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		min-height: 38px !important;
		padding: 0 !important;
		background: transparent !important;
		border: none !important;
		color: #181716 !important;
		cursor: pointer !important;
		border-radius: 50% !important;
		transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-btn:hover {
		background-color: rgba(24, 23, 22, 0.06) !important;
		color: #8a6a3f !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-btn:hover svg {
		stroke: #8a6a3f !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-btn:focus-visible {
		outline: 2px solid #8a6a3f !important;
		outline-offset: 2px !important;
	}
	body.studio-style-editorial-luxury .sb-header-icon-btn svg {
		width: 18px !important;
		height: 18px !important;
		stroke: #181716 !important;
		stroke-width: 1.5 !important;
		display: block !important;
	}
	body.studio-style-editorial-luxury .sb-header-cta-group .wp-block-button__link {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 42px !important;
		padding: 0 1.45rem !important;
		background-color: #181716 !important;
		color: #ffffff !important;
		font-family: var(--wp--preset--font-family--body) !important;
		font-size: 0.82rem !important;
		font-weight: 500 !important;
		border-radius: 999px !important;
		border: 1px solid transparent !important;
		text-decoration: none !important;
		white-space: nowrap !important;
		transition: background-color 0.25s ease, transform 0.2s ease !important;
	}
	body.studio-style-editorial-luxury .sb-header-cta-group .wp-block-button__link:hover {
		background-color: #8a6a3f !important;
		color: #ffffff !important;
	}
	body.studio-style-editorial-luxury .sb-header-cta-group .wp-block-button__link:focus-visible {
		outline: 2px solid #8a6a3f !important;
		outline-offset: 3px !important;
	}
	body.studio-style-editorial-luxury .studio-hero,
	body.studio-style-editorial-luxury .studio-hero-luxury {
		height: clamp(750px, 92vh, 880px) !important;
		min-height: 750px !important;
		max-height: 890px !important;
	}
	body.studio-style-editorial-luxury .studio-hero-text-col {
		flex: 0 0 44% !important;
		max-width: 44% !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start !important;
		padding-top: clamp(170px, 13.6vw, 202px) !important;
		padding-bottom: clamp(1.75rem, 3vw, 3rem) !important;
		padding-left: clamp(2.5rem, 5.8vw, 5.5rem) !important;
		padding-right: clamp(1rem, 2vw, 2.5rem) !important;
		box-sizing: border-box !important;
		z-index: 2 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-image-col {
		flex: 0 0 56% !important;
		max-width: 56% !important;
		margin: 0 !important;
		padding: 0 !important;
		position: relative !important;
		display: flex !important;
		align-items: stretch !important;
		z-index: 1 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap {
		width: 100% !important;
		height: 100% !important;
		position: relative !important;
		display: flex !important;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 3%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 100%) !important;
		mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 3%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 100%) !important;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap .wp-block-image {
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap img {
		width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		object-fit: cover !important;
		object-position: 50% 0% !important;
		display: block !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	body.studio-style-editorial-luxury .studio-hero-heading {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	body.studio-style-editorial-luxury .sb-hero-title-main {
		font-size: clamp(2.25rem, 1.85rem + 1.2vw, 2.95rem) !important;
		white-space: nowrap !important;
		letter-spacing: 0.06em !important;
		line-height: 1.12 !important;
		margin: 0 !important;
	}
	body.studio-style-editorial-luxury .sb-hero-title-sub {
		font-size: clamp(2.1rem, 1.7rem + 1.1vw, 2.7rem) !important;
		letter-spacing: 0.01em !important;
		line-height: 1.15 !important;
		margin-top: 0.25rem !important;
		margin-bottom: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-lede {
		font-size: 0.95rem !important;
		line-height: 1.55 !important;
		max-width: 38ch !important;
		margin-top: 42px !important;
		margin-bottom: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-ctas {
		margin-top: 42px !important;
		margin-bottom: 0 !important;
		gap: 0.85rem !important;
	}
	body.studio-style-editorial-luxury .studio-hero-ctas .wp-block-button__link {
		height: 48px !important;
		padding: 0 1.65rem !important;
		font-size: 0.84rem !important;
		font-weight: 500 !important;
		border-radius: 999px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		text-decoration: none !important;
		white-space: nowrap !important;
	}
	body.studio-style-editorial-luxury .studio-hero-trust-row {
		margin-top: 86px !important;
		padding-top: 0 !important;
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 0.65rem !important;
		max-width: 560px !important;
		width: 100% !important;
		border-top: none !important;
	}
	body.studio-style-editorial-luxury .sb-trust-item {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		gap: 0.45rem !important;
	}
	body.studio-style-editorial-luxury .sb-trust-icon {
		width: auto !important;
		height: 30px !important;
		max-width: 38px !important;
		color: #181716 !important;
		stroke: #181716 !important;
		stroke-width: 1.5 !important;
	}
	body.studio-style-editorial-luxury .sb-trust-label {
		font-size: 0.72rem !important;
		letter-spacing: 0.01em !important;
		text-transform: none !important;
		font-weight: 450 !important;
		color: #181716 !important;
		white-space: nowrap !important;
		text-align: center !important;
	}
}

@media (max-width: 899px) {
	/* Mobile Header Refinement: exact 60px–64px rendered height, compact luxury brand */
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part {
		padding: 0 1.25rem !important;
		min-height: 60px !important;
		height: 62px !important;
		max-height: 64px !important;
		display: flex !important;
		align-items: center !important;
		box-sizing: border-box !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part.is-scrolled {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
		padding: 0 !important;
		width: 100% !important;
		margin: 0 !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part .wp-block-group.alignwide {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part .wp-block-site-title {
		margin: 0 !important;
	}
	body.studio-style-editorial-luxury .wp-site-blocks > header.wp-block-template-part .wp-block-site-title a {
		display: inline-flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		text-decoration: none !important;
		line-height: 1 !important;
	}
	/* Brand lockup refinement (~15-20% visual footprint reduction matching mockup) */
	body.studio-style-editorial-luxury .sb-brand-main {
		font-size: 0.98rem !important;
		letter-spacing: 0.14em !important;
		line-height: 1.1 !important;
	}
	body.studio-style-editorial-luxury .sb-brand-sub {
		font-size: 0.42rem !important;
		letter-spacing: 0.22em !important;
		margin-top: 2.5px !important;
		line-height: 1 !important;
	}
	/* Hide desktop menu items below 900px, leaving only the clean hamburger */
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
	/* Delicate hamburger icon with accessible 44x44px touch target */
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container-open {
		min-width: 44px !important;
		min-height: 44px !important;
		width: 44px !important;
		height: 44px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		border: none !important;
		cursor: pointer !important;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container-open svg {
		width: 20px !important;
		height: 20px !important;
		stroke-width: 1.25 !important;
	}
	body.studio-style-editorial-luxury .studio-header-actions {
		display: none !important;
	}

	body.studio-style-editorial-luxury .studio-hero,
	body.studio-style-editorial-luxury .studio-hero-luxury {
		min-height: auto;
		display: block;
		padding: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero .studio-hero-columns {
		display: flex;
		flex-direction: column;
		width: 100% !important;
		margin: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-image-col {
		order: -1;
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap {
		width: 100%;
		height: auto;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap .wp-block-image {
		margin: 0;
	}
	body.studio-style-editorial-luxury .studio-hero-media-wrap img {
		width: 100%;
		height: 235px !important;
		max-height: 245px !important;
		min-height: 220px !important;
		object-fit: cover;
		object-position: 50% 18% !important;
		display: block;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	body.studio-style-editorial-luxury .studio-hero-text-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		padding: 1.25rem 1.25rem 0.75rem !important;
		box-sizing: border-box;
	}
	body.studio-style-editorial-luxury .sb-hero-title-main {
		font-size: 1.55rem;
		line-height: 1.15;
	}
	body.studio-style-editorial-luxury .sb-hero-title-sub {
		font-size: 1.4rem;
		line-height: 1.15;
		margin-top: 0.15rem;
	}
	body.studio-style-editorial-luxury .studio-hero-lede {
		font-size: 0.82rem !important;
		line-height: 1.45;
		margin-top: 0.5rem;
		margin-bottom: 0.85rem;
	}
	body.studio-style-editorial-luxury .studio-hero-ctas {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin-bottom: 0.85rem;
		gap: 0.45rem;
	}
	body.studio-style-editorial-luxury .studio-hero-ctas .wp-block-button {
		width: 100% !important;
	}
	body.studio-style-editorial-luxury .studio-hero-ctas .wp-block-button__link {
		width: 100% !important;
		text-align: center;
		padding: 0.65rem 1.15rem;
		font-size: 0.76rem;
		border-radius: 999px !important;
	}
	body.studio-style-editorial-luxury .studio-hero-trust-row {
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 0.25rem !important;
		padding-top: 0.65rem !important;
		margin-top: 0.5rem !important;
		border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 40%, transparent) !important;
	}
	body.studio-style-editorial-luxury .sb-trust-item {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		gap: 0.25rem !important;
	}
	body.studio-style-editorial-luxury .sb-trust-icon {
		width: 18px !important;
		height: 18px !important;
	}
	body.studio-style-editorial-luxury .sb-trust-label {
		font-size: 0.58rem !important;
		line-height: 1.15 !important;
		letter-spacing: 0.01em !important;
		white-space: normal !important;
		text-align: center;
	}
}

/* ---------- Services & Signature Treatments ---------- */
body.studio-style-editorial-luxury .studio-services,
body.studio-style-editorial-luxury .studio-services-luxury {
	padding-block: var(--wp--preset--spacing--70);
	background-color: var(--wp--preset--color--surface);
}
body.studio-style-editorial-luxury .studio-service-item {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: var(--wp--preset--spacing--40);
	transition: background-color 0.2s ease;
}
body.studio-style-editorial-luxury .studio-service-item:first-child {
	border-top: 1px solid var(--wp--preset--color--border);
}
body.studio-style-editorial-luxury .studio-service-price {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--primary);
}
body.studio-style-editorial-luxury .studio-service-duration {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Team / Stylists ---------- */
body.studio-style-editorial-luxury .studio-team,
body.studio-style-editorial-luxury .studio-team-luxury {
	padding-block: var(--wp--preset--spacing--70);
	background-color: var(--wp--preset--color--base);
}
body.studio-style-editorial-luxury .studio-stylist-card {
	border-radius: 0;
	border: 0;
	background: transparent;
	padding: 0;
}
body.studio-style-editorial-luxury .studio-stylist-card .wp-block-image img {
	border-radius: 0;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	filter: grayscale(15%);
	transition: filter 0.3s ease;
}
body.studio-style-editorial-luxury .studio-stylist-card:hover .wp-block-image img {
	filter: grayscale(0%);
}
body.studio-style-editorial-luxury .studio-stylist-name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	margin-top: var(--wp--preset--spacing--30);
}
body.studio-style-editorial-luxury .studio-stylist-role {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* ---------- Gallery / Portfolio ---------- */
body.studio-style-editorial-luxury .studio-gallery,
body.studio-style-editorial-luxury .studio-gallery-luxury {
	padding-block: var(--wp--preset--spacing--70);
	background-color: var(--wp--preset--color--surface);
}
body.studio-style-editorial-luxury .studio-gallery .wp-block-image img,
body.studio-style-editorial-luxury .studio-gallery-luxury .wp-block-image img {
	border-radius: 0;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: opacity 0.3s ease;
}
body.studio-style-editorial-luxury .studio-gallery .wp-block-image:hover img,
body.studio-style-editorial-luxury .studio-gallery-luxury .wp-block-image:hover img {
	opacity: 0.92;
}

/* ---------- Testimonials / Reviews ---------- */
body.studio-style-editorial-luxury .studio-testimonials,
body.studio-style-editorial-luxury .studio-testimonials-luxury {
	padding-block: var(--wp--preset--spacing--70);
	background-color: var(--wp--preset--color--base);
	text-align: center;
}
body.studio-style-editorial-luxury .studio-testimonials blockquote,
body.studio-style-editorial-luxury .studio-testimonials-luxury blockquote {
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.35;
	border: 0;
	padding: 0;
	max-width: 44rem;
	margin-inline: auto;
}
body.studio-style-editorial-luxury .studio-testimonials cite,
body.studio-style-editorial-luxury .studio-testimonials-luxury cite {
	display: block;
	margin-top: var(--wp--preset--spacing--40);
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Service Menu & Pricing ---------- */
body.studio-style-editorial-luxury .studio-menu,
body.studio-style-editorial-luxury .studio-menu-luxury {
	padding-block: var(--wp--preset--spacing--70);
	background-color: var(--wp--preset--color--surface);
}
body.studio-style-editorial-luxury .studio-menu-category {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 400;
	border-bottom: 2px solid var(--wp--preset--color--primary);
	padding-bottom: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--40);
}

/* ---------- Booking CTA ---------- */
body.studio-style-editorial-luxury .studio-cta,
body.studio-style-editorial-luxury .studio-cta-luxury {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding-block: var(--wp--preset--spacing--70);
	text-align: center;
}
body.studio-style-editorial-luxury .studio-cta h2,
body.studio-style-editorial-luxury .studio-cta-luxury h2 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xxx-large);
	font-weight: 400;
	color: var(--wp--preset--color--base);
}
body.studio-style-editorial-luxury .studio-cta p,
body.studio-style-editorial-luxury .studio-cta-luxury p {
	color: color-mix(in srgb, var(--wp--preset--color--base) 80%, var(--wp--preset--color--contrast));
	max-width: 36rem;
	margin-inline: auto;
}
body.studio-style-editorial-luxury .studio-cta .wp-block-button__link,
body.studio-style-editorial-luxury .studio-cta-luxury .wp-block-button__link {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border-radius: 0;
	border-color: var(--wp--preset--color--base);
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
}
body.studio-style-editorial-luxury .studio-cta .wp-block-button__link:hover,
body.studio-style-editorial-luxury .studio-cta-luxury .wp-block-button__link:hover {
	background-color: var(--sb-accent-on-dark);
	border-color: var(--sb-accent-on-dark);
	color: var(--wp--preset--color--contrast);
}

/* ---------- FAQ ---------- */
body.studio-style-editorial-luxury .studio-faq .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: var(--wp--preset--spacing--30);
}
body.studio-style-editorial-luxury .studio-faq .wp-block-details:first-child {
	border-top: 1px solid var(--wp--preset--color--border);
}
body.studio-style-editorial-luxury .studio-faq summary {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
}

/* ---------- Footer ---------- */
body.studio-style-editorial-luxury .wp-site-blocks > footer.wp-block-template-part {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 15%, transparent);
	padding-block: var(--wp--preset--spacing--60);
}
body.studio-style-editorial-luxury .wp-site-blocks > footer.wp-block-template-part a:where(:not(.wp-element-button)) {
	color: color-mix(in srgb, var(--wp--preset--color--base) 80%, transparent);
}
body.studio-style-editorial-luxury .wp-site-blocks > footer.wp-block-template-part a:hover {
	color: var(--wp--preset--color--base);
}
body.studio-style-editorial-luxury .wp-site-blocks > footer.wp-block-template-part h3,
body.studio-style-editorial-luxury .wp-site-blocks > footer.wp-block-template-part h4 {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: var(--sb-tracking);
	text-transform: uppercase;
	color: var(--sb-accent-on-dark);
}

/* ---------- Responsive rhythm ---------- */
@media (max-width: 781px) {
	body.studio-style-editorial-luxury .studio-hero h1,
	body.studio-style-editorial-luxury .studio-hero-luxury h1 {
		font-size: clamp(2rem, 1.6rem + 2.5vw, 2.75rem);
	}
	body.studio-style-editorial-luxury .studio-service-item {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--wp--preset--spacing--20);
	}
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	body.studio-style-editorial-luxury .sb-reveal-on-scroll {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	body.studio-style-editorial-luxury .sb-concern-detail {
		animation: none !important;
	}
	body.studio-style-editorial-luxury .sb-treatment-card,
	body.studio-style-editorial-luxury .sb-membership-card {
		transform: none !important;
		transition: none !important;
	}
}

/* ---------- Slim Luxury Mobile Sticky Bar (Mobile Only: < 900px) ---------- */
@media (min-width: 900px) {
	body.studio-style-editorial-luxury .studio-sticky-bar {
		display: none !important;
	}
}

@media (max-width: 899px) {
	body.studio-style-editorial-luxury {
		padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)) !important;
	}
	body.studio-style-editorial-luxury .studio-sticky-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 999;
		background: #1c1a17 !important;
		height: 54px;
		min-height: 54px;
		max-height: 58px;
		padding: 0 !important;
		padding-bottom: env(safe-area-inset-bottom, 0px) !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		justify-content: stretch !important;
		gap: 0 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
	}

	body.studio-style-editorial-luxury .studio-sticky-bar a {
		flex: 1 1 50% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 54px !important;
		padding: 0 0.5rem !important;
		background: transparent !important;
		color: #fbfaf7 !important;
		font-family: var(--wp--preset--font-family--body) !important;
		font-size: 0.72rem !important;
		font-weight: 500 !important;
		letter-spacing: 0.06em !important;
		text-transform: uppercase !important;
		text-decoration: none !important;
		border: none !important;
		border-radius: 0 !important;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	body.studio-style-editorial-luxury .studio-sticky-bar a:hover {
		background-color: rgba(255, 255, 255, 0.08) !important;
		color: var(--wp--preset--color--accent) !important;
	}

	body.studio-style-editorial-luxury .studio-sticky-bar__call {
		border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
	}

	body.studio-style-editorial-luxury .studio-sticky-bar__call::before {
		content: '';
		display: inline-block;
		width: 14px;
		height: 14px;
		margin-right: 7px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") no-repeat center / contain;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") no-repeat center / contain;
	}

	body.studio-style-editorial-luxury .studio-sticky-bar__quote::before {
		content: '';
		display: inline-block;
		width: 14px;
		height: 14px;
		margin-right: 7px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center / contain;
	}
}


/* Accessible Utility Modal Dialog */
.sb-utility-dialog {
	border: none;
	background: transparent;
	padding: 0;
	margin: auto;
	max-width: 520px;
	width: calc(100% - 2rem);
	z-index: 1000;
}
.sb-utility-dialog::backdrop {
	background: rgba(24, 23, 22, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.sb-dialog-panel {
	background: #fbf8f5;
	border: 1px solid rgba(24, 23, 22, 0.08);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
	padding: 2.5rem;
	position: relative;
}
.sb-dialog-close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #181716;
	transition: background-color 0.2s ease;
}
.sb-dialog-close:hover {
	background-color: rgba(24, 23, 22, 0.06);
}
.sb-dialog-eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a6a3f;
	margin: 0 0 0.5rem;
}
.sb-dialog-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 400;
	color: #181716;
	margin: 0 0 1rem;
}
.sb-dialog-text {
	font-size: 0.95rem;
	line-height: 1.55;
	color: #5c554e;
	margin: 0 0 1.5rem;
}
.sb-search-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: #ffffff;
	border: 1px solid rgba(24, 23, 22, 0.15);
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.sb-search-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 0.95rem;
	color: #181716;
}
.sb-search-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.25rem;
}
.sb-chips-label {
	font-size: 0.75rem;
	font-weight: 500;
	color: #5c554e;
	margin-right: 0.25rem;
}
.sb-chip {
	font-size: 0.75rem;
	padding: 0.35rem 0.75rem;
	background: rgba(24, 23, 22, 0.05);
	color: #181716;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.sb-chip:hover {
	background: #8a6a3f;
	color: #ffffff;
}

/* ---------- Phase 2A.2: motion details, newsletter, anchors ---------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-padding-top: 6.5rem; }
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: ease; }
}
html { scroll-padding-top: 6.5rem; }

body.studio-style-editorial-luxury .studio-philosophy figure,
body.studio-style-editorial-luxury .studio-clinic-card figure,
body.studio-style-editorial-luxury .studio-stylist-card figure,
body.studio-style-editorial-luxury .sb-treatment-card .wp-block-image { overflow: hidden; }

body.studio-style-editorial-luxury .sb-price-tag { transition: color 0.35s ease, transform 0.35s ease; }
body.studio-style-editorial-luxury .sb-treatment-card:hover .sb-price-tag { color: var(--wp--preset--color--accent); }
body.studio-style-editorial-luxury .sb-concern-tab { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, padding-left 0.3s ease; }
body.studio-style-editorial-luxury .sb-concern-detail { animation: none; }
body.studio-style-editorial-luxury .sb-concern-detail[hidden] { display: none; }

body.studio-style-editorial-luxury .sb-newsletter { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); margin-top: var(--wp--preset--spacing--20); }
body.studio-style-editorial-luxury .sb-newsletter__input { flex: 1 1 11rem; min-width: 0; min-height: 2.75rem; padding: 0.6rem 0.8rem; background: color-mix(in srgb, var(--wp--preset--color--base) 8%, transparent); border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 20%, transparent); color: var(--wp--preset--color--base); font-size: var(--wp--preset--font-size--small); }
body.studio-style-editorial-luxury .sb-newsletter__button { flex: 0 0 auto; min-height: 2.75rem; min-width: 5rem; padding: 0.6rem 1.35rem; white-space: nowrap; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); border: 0; font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
body.studio-style-editorial-luxury .sb-newsletter__status { flex: 1 0 100%; margin: 0; font-size: var(--wp--preset--font-size--x-small); color: color-mix(in srgb, var(--wp--preset--color--base) 75%, transparent); }

/* Control labels stay on one line; their row wraps instead. */
body.studio-style-editorial-luxury .sb-treatment-card .wp-block-button__link,
body.studio-style-editorial-luxury .sb-concern-detail .wp-block-button__link { white-space: nowrap; }
body.studio-style-editorial-luxury .sb-treatment-card .sb-price-tag { white-space: nowrap; }
body.studio-style-editorial-luxury .sb-treatment-meta,
body.studio-style-editorial-luxury .sb-concern-detail div[style*="display:flex"] { flex-wrap: wrap; row-gap: var(--wp--preset--spacing--20); }
body.studio-style-editorial-luxury .sb-concerns-nav { min-width: 0; max-width: 100%; }
body.studio-style-editorial-luxury .sb-concern-tab { box-sizing: border-box; max-width: 100%; }

/* Comfortable tap targets for text links. */
@media (max-width: 781px) {
	body.studio-style-editorial-luxury footer li a,
	body.studio-style-editorial-luxury footer .studio-footer-legal a,
	body.studio-style-editorial-luxury .studio-stylist-card a { display: inline-block; padding-block: 0.25rem; }
}

/* The shared before/after rule floats the first paragraph as an image label.
   Here that paragraph is the case study eyebrow, so keep it in the text flow. */
body.studio-style-editorial-luxury .studio-before-after .wp-block-column > .wp-block-group > p.studio-eyebrow:first-child {
	position: static;
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
}

body.studio-style-editorial-luxury .wp-block-post-navigation-link a {
	display: inline-block;
	padding-block: 0.4em;
}

/* The range input is transparent, so keyboard focus shows on the visible handle. */
body.studio-style-editorial-luxury .sb-before-after-container:has(.sb-ba-range:focus-visible) .sb-ba-handle-btn {
	outline: var(--wp--custom--focus--width) solid var(--wp--custom--focus--color);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #fff;
}

/* Before and after: quiet note under the slider. */
body.studio-style-editorial-luxury .sb-ba-caption {
	margin: var(--wp--preset--spacing--10) 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	font-style: italic;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

/* ---------- Phase 2A.3: header submenus ---------- */
@media (min-width: 900px) {
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-submenu__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 1.5rem;
		height: 1.5rem;
		margin-left: 0.1rem;
		padding: 0;
		color: var(--wp--preset--color--contrast);
	}
	/* The arrow is dimmed, not the button, so its focus ring shows at full strength. */
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-submenu__toggle svg {
		opacity: 0.8;
		width: 0.6rem;
		height: 0.6rem;
		stroke: currentColor;
		transition: transform 0.2s ease;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg,
	body.studio-style-editorial-luxury .sb-header-nav .has-child:hover > .wp-block-navigation-submenu__toggle svg {
		transform: rotate(180deg);
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation-submenu__toggle:focus-visible {
		outline: var(--wp--custom--focus--width, 2px) solid var(--wp--custom--focus--color, currentColor);
		outline-offset: 2px;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container {
		min-width: 15.5rem !important;
		padding: 0.6rem 0 !important;
		margin-top: 0.35rem;
		background: var(--wp--preset--color--base) !important;
		border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent) !important;
		box-shadow: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent);
		z-index: 30;
	}
	/* A small bridge so the pointer can travel from the label to the panel. */
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		inset: -0.6rem 0 auto 0;
		height: 0.6rem;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block !important;
		width: 100%;
		padding: 0.55rem 1.3rem !important;
		font-size: 0.86rem !important;
		white-space: nowrap !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background: color-mix(in srgb, var(--wp--preset--color--accent) 10%, var(--wp--preset--color--base));
		outline-offset: -2px !important;
	}
	body.studio-style-editorial-luxury .sb-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child .wp-block-navigation-item__content {
		font-weight: 600 !important;
	}
}

/* Mobile menu: each submenu is a group that expands and collapses. */
@media (max-width: 899px) {
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .has-child {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		width: 100%;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--wp--preset--color--contrast);
		cursor: pointer;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle svg {
		display: block !important;
		width: 0.75rem;
		height: 0.75rem;
		stroke: currentColor;
		transition: transform 0.2s ease;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .has-child.sb-group-open > .wp-block-navigation-submenu__toggle svg {
		transform: rotate(180deg);
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
		grid-column: 1 / -1;
		padding: 0 0 0.5rem 1rem !important;
		gap: 0.15rem !important;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .has-child:not(.sb-group-open) > .wp-block-navigation__submenu-container {
		display: none !important;
	}
	body.studio-style-editorial-luxury .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 0.8rem !important;
		color: color-mix(in srgb, var(--wp--preset--color--contrast) 72%, var(--wp--preset--color--base)) !important;
		min-height: 40px;
		display: flex !important;
		align-items: center;
	}

	/* Readable logo subline and hero trust labels on phones. */
	body.studio-style-editorial-luxury .sb-brand-sub {
		font-size: 11px !important;
		letter-spacing: 0.12em !important;
		margin-top: 4px !important;
	}
	body.studio-style-editorial-luxury .sb-trust-label {
		font-size: 11px !important;
		line-height: 1.25 !important;
	}
}

/* ---------- Phase 2A.3: header dialogs ---------- */
.sb-search-chips .sb-chip {
	border: 0;
	font: inherit;
	font-size: 0.75rem;
	cursor: pointer;
}
.sb-search-status {
	margin: 1.1rem 0 0.4rem;
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 70%, var(--wp--preset--color--base));
}
.sb-search-status:empty { display: none; }
.sb-search-results {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: min(52vh, 26rem);
	overflow-y: auto;
}
.sb-search-result {
	display: grid;
	gap: 0.15rem;
	padding: 0.8rem 0.75rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.sb-search-result:hover,
.sb-search-result:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 10%, var(--wp--preset--color--base));
	outline-offset: -2px;
}
.sb-search-result__kind {
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.sb-search-result__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1rem;
}
.sb-search-result__text {
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 70%, var(--wp--preset--color--base));
}
.sb-portal-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}
.sb-portal-actions .sb-portal-primary {
	display: inline-flex;
	padding: 0.75rem 1.6rem;
	border-radius: 999px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}
.sb-portal-actions .sb-portal-secondary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--contrast);
	text-underline-offset: 0.25em;
}

/* ---------- Phase 2A.3: sections ---------- */
/* Final call to action over an evening clinic lounge with city lights, under a dark overlay. The photo has
   no signage, so it is shown sharp (part 2A). */
body.studio-style-editorial-luxury .studio-final-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
body.studio-style-editorial-luxury .studio-final-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url("/demos/med-spa/assets/images/medspa/final-cta-ambiance.jpg") center / cover no-repeat;
}
body.studio-style-editorial-luxury .studio-final-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--wp--preset--color--contrast) 62%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--contrast) 84%, transparent) 70%),
		color-mix(in srgb, var(--wp--preset--color--contrast) 30%, transparent);
}

/* Membership cards: buttons line up along the card bottom. */
body.studio-style-editorial-luxury .sb-membership-card {
	display: flex !important;
}
body.studio-style-editorial-luxury .sb-membership-card__inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
body.studio-style-editorial-luxury .sb-membership-card__inner > div:last-child {
	margin-top: auto !important;
	padding-top: var(--wp--preset--spacing--40);
}
body.studio-style-editorial-luxury .sb-membership-feature__media {
	margin: 0;
	overflow: hidden;
}
body.studio-style-editorial-luxury .sb-membership-feature__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Demo profile tag on clinician cards. */
body.studio-style-editorial-luxury .sb-demo-tag {
	display: inline-block;
	margin: var(--wp--preset--spacing--20) 0 0.35rem;
	padding: 0.2rem 0.6rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* Concern panel: one or two treatment links. */
body.studio-style-editorial-luxury .sb-concern-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--10);
}
body.studio-style-editorial-luxury .sb-concern-links .wp-block-button { max-width: 100%; }
body.studio-style-editorial-luxury .sb-concern-links .wp-block-button__link {
	max-width: 100%;
	white-space: normal !important;
	text-align: left;
}

/* Footer: quiet trademark note and concept credit. */
body.studio-style-editorial-luxury .sb-footer-notes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: var(--wp--preset--spacing--30);
	font-size: 0.72rem;
	color: color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent);
}
body.studio-style-editorial-luxury .sb-footer-notes p { margin: 0; }
body.studio-style-editorial-luxury .sb-footer-credit a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
body.studio-style-editorial-luxury .sb-footer-credit a:hover { color: var(--wp--preset--color--base); }

/* ---------- Phase 2A.3 part 1B: one button system ----------
 * Primary: espresso pill, sentence case (as the approved Hero). Secondary: outline pill.
 * The Hero and header buttons keep their own approved rules; everything else follows these. */
body.studio-style-editorial-luxury :not(.studio-hero-ctas):not(.sb-header-cta-group) > .wp-block-button > .wp-block-button__link,
body.studio-style-editorial-luxury .studio-lead-form .wp-element-button,
body.studio-style-editorial-luxury form .wp-element-button[type="submit"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 48px;
	padding: 0.75rem 1.75rem !important;
	border-radius: 999px !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.84rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
/* Three tier cards side by side on tablets leave little room: tighter side padding keeps each label on one line. */
@media (min-width: 782px) and (max-width: 1100px) {
	body.studio-style-editorial-luxury .sb-membership-card :not(.studio-hero-ctas):not(.sb-header-cta-group) > .wp-block-button > .wp-block-button__link {
		padding-inline: 0.85rem !important;
	}
}
body.studio-style-editorial-luxury :not(.studio-hero-ctas):not(.sb-header-cta-group) > .wp-block-button > .wp-block-button__link:hover,
body.studio-style-editorial-luxury form .wp-element-button[type="submit"]:hover {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 86%, var(--wp--preset--color--base)) !important;
}
body.studio-style-editorial-luxury :not(.studio-hero-ctas) > .wp-block-button.is-style-outline > .wp-block-button__link {
	background: color-mix(in srgb, var(--wp--preset--color--base) 50%, transparent) !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 35%, transparent) !important;
	color: var(--wp--preset--color--contrast) !important;
}
body.studio-style-editorial-luxury :not(.studio-hero-ctas) > .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--contrast) !important;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent) !important;
}
/* On the dark call to action the same pair is inverted. */
body.studio-style-editorial-luxury .studio-final-cta .wp-block-button > .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	border-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}
body.studio-style-editorial-luxury .studio-final-cta .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent !important;
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 60%, transparent) !important;
	color: var(--wp--preset--color--base) !important;
}
body.studio-style-editorial-luxury .studio-final-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--base) !important;
	background: color-mix(in srgb, var(--wp--preset--color--base) 10%, transparent) !important;
}

/* ---------- Phase 2A.3 part 1B: before and after ---------- */
body.studio-style-editorial-luxury .sb-before-after-container {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 6%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-ba-layer img { color: transparent; }
body.studio-style-editorial-luxury .sb-ba-tag {
	position: absolute;
	top: 0.85rem;
	z-index: 12;
	padding: 0.3rem 0.65rem;
	background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
	color: var(--wp--preset--color--contrast);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	pointer-events: none;
}
body.studio-style-editorial-luxury .sb-ba-tag--before { left: 0.85rem; }
body.studio-style-editorial-luxury .sb-ba-tag--after { right: 0.85rem; }
body.studio-style-editorial-luxury .sb-ba-labels {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin-top: var(--wp--preset--spacing--20);
	padding-block: 0.2rem;
	overflow: visible;
	font-size: 0.72rem;
	line-height: 1.6;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 72%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-ba-labels span { white-space: nowrap; }

/* ---------- Phase 2A.3 part 1B: philosophy frame is never empty ---------- */
body.studio-style-editorial-luxury .sb-philosophy-media {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, var(--wp--preset--color--surface));
}

/* ---------- Phase 2A.3 part 1B: membership teaser (homepage) ---------- */
body.studio-style-editorial-luxury .sb-membership-teaser__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: var(--wp--preset--spacing--60);
	align-items: center;
}
body.studio-style-editorial-luxury .sb-membership-teaser__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}
body.studio-style-editorial-luxury .sb-membership-teaser__list .sb-membership-card {
	/* The shared card rule sets height: 100% for the tier grid; in this list it made the padding spill
	   over the next row (the last card covered the demo-pricing note). */
	height: auto;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.2rem 1.5rem;
	padding: 1.25rem 1.5rem;
	background: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent);
}
body.studio-style-editorial-luxury .sb-membership-teaser__name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.2rem;
}
body.studio-style-editorial-luxury .sb-membership-teaser__price {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.2rem;
	text-align: right;
}
body.studio-style-editorial-luxury .sb-membership-teaser__price small {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 65%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-membership-teaser__text {
	grid-column: 1 / -1;
	font-size: 0.88rem;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 70%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-membership-teaser__note {
	font-size: 0.75rem;
	font-style: italic;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 65%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-membership-teaser__intro .wp-block-buttons { margin-top: var(--wp--preset--spacing--30); }

/* ---------- Phase 2A.3 part 1B: membership details (/memberships/) ---------- */
body.studio-style-editorial-luxury .sb-membership-detail { padding-bottom: var(--wp--preset--spacing--70); }
body.studio-style-editorial-luxury .sb-md-section {
	padding-block: var(--wp--preset--spacing--60);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	scroll-margin-top: 7rem;
}
body.studio-style-editorial-luxury .sb-md-section h2 { margin: 0 0 var(--wp--preset--spacing--40); }
/* position: relative keeps the visually hidden "Included" labels (absolutely positioned) inside the
   scroller, so they no longer widen the page on phones. */
body.studio-style-editorial-luxury .sb-compare-scroll { position: relative; overflow-x: auto; }
body.studio-style-editorial-luxury .sb-compare-scroll:focus-visible {
	outline: var(--wp--custom--focus--width, 2px) solid var(--wp--custom--focus--color, currentColor);
	outline-offset: 4px;
}
body.studio-style-editorial-luxury .sb-compare {
	width: 100%;
	min-width: 40rem;
	border-collapse: collapse;
	font-size: 0.9rem;
}
body.studio-style-editorial-luxury .sb-compare th,
body.studio-style-editorial-luxury .sb-compare td {
	padding: 0.95rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
}
body.studio-style-editorial-luxury .sb-compare thead th {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.2rem;
	font-weight: 400;
	border-bottom-color: var(--wp--preset--color--contrast);
}
body.studio-style-editorial-luxury .sb-compare tbody th {
	font-weight: 500;
	width: 30%;
}
body.studio-style-editorial-luxury .sb-compare .is-featured {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 9%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-compare__yes { color: var(--wp--preset--color--accent); }
body.studio-style-editorial-luxury .sb-compare__no { color: color-mix(in srgb, var(--wp--preset--color--contrast) 45%, var(--wp--preset--color--base)); }
body.studio-style-editorial-luxury .sb-md-note {
	margin-top: var(--wp--preset--spacing--20);
	font-size: 0.8rem;
	font-style: italic;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 68%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-terms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
	margin: 0;
}
body.studio-style-editorial-luxury .sb-terms dt {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
}
body.studio-style-editorial-luxury .sb-terms dd {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 72%, var(--wp--preset--color--base));
}
body.studio-style-editorial-luxury .sb-md-faq { max-width: 46rem; }

@media (max-width: 899px) {
	body.studio-style-editorial-luxury .sb-membership-teaser__grid,
	body.studio-style-editorial-luxury .sb-terms { grid-template-columns: minmax(0, 1fr); }
	body.studio-style-editorial-luxury .sb-ba-tag { top: 0.6rem; font-size: 0.64rem; }
	body.studio-style-editorial-luxury .sb-ba-tag--before { left: 0.6rem; }
	body.studio-style-editorial-luxury .sb-ba-tag--after { right: 0.6rem; }
}

/* ---------- Phase 2A.5: mobile and tablet image framing ----------
 * Found by the mobile visual audit (studio/scripts/mobile-visual-audit.mjs). Desktop (782px and
 * up) is unchanged. Portrait photos are never put in a wide frame on phones (that showed only eyes
 * or only lips), and on tablets the stacked one-column cards no longer draw portraits ~900px tall.
 */
@media (max-width: 781px) {
	/* Treatment menu: the two featured cards are 16:10 on desktop; every card is 4:5 here, the
	   ratio the other three already use, so the whole face shows. */
	body.studio-style-editorial-luxury .sb-treatment-card .wp-block-image img {
		aspect-ratio: 4 / 5 !important;
		object-position: 50% 30% !important;
	}
}
@media (min-width: 600px) and (max-width: 781px) {
	/* Tablets: treatment and clinic cards put the image beside the text instead of above it. */
	body.studio-style-editorial-luxury .sb-treatment-card {
		display: grid !important;
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
		height: auto;
	}
	body.studio-style-editorial-luxury .sb-treatment-card .wp-block-image img {
		height: 100%;
		min-height: 100%;
	}
	body.studio-style-editorial-luxury .studio-clinic-card {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: var(--wp--preset--spacing--40);
		align-content: start;
	}
	body.studio-style-editorial-luxury .studio-clinic-card > figure {
		grid-row: 1 / span 3;
	}
	body.studio-style-editorial-luxury .studio-clinic-card > :not(figure) {
		grid-column: 2;
	}
	body.studio-style-editorial-luxury .studio-clinic-card > h3 {
		margin-top: 0 !important;
	}
	/* Clinicians: two per row. */
	body.studio-style-editorial-luxury .studio-specialists .wp-block-columns {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	/* Before and after: the 4:5 comparison keeps a phone-like size instead of filling the tablet. */
	body.studio-style-editorial-luxury .sb-before-after-container {
		max-width: 26rem;
		margin-inline: auto;
	}
}
