/* ==========================================================================
   J Sassi Med Spa - Phase 2 visual theme
   Loaded by template-parts/header.php for the landing page only (body.medspa-theme),
   after the CMS colour <style> block, so legacy pages are unaffected.

   Palette:  black #0B0B0B | ivory #F5F2ED | taupe #B6A89A | white #FFFFFF | charcoal #292929
   Type:     Cormorant Garamond (headings) + Montserrat (body, navigation, buttons)
   ========================================================================== */

.medspa-theme {
	--ms-black: #0B0B0B;
	--ms-ivory: #F5F2ED;
	--ms-taupe: #B6A89A;
	--ms-taupe-dark: #7B6F63;   /* taupe darkened for small text on light backgrounds (AA contrast) */
	--ms-white: #FFFFFF;
	--ms-charcoal: #292929;
	--ms-line: #E3DCD2;
	--ms-serif: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', Georgia, serif;
	--ms-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--ms-nav-h: 84px;

	font-family: var(--ms-sans);
	font-weight: 400;
	color: var(--ms-charcoal);
	background: var(--ms-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
html { overflow-x: hidden; }
.medspa-theme p { font-family: var(--ms-sans); }
.medspa-theme ::selection { background: var(--ms-black); color: var(--ms-ivory); }

/* --------------------------------------------------------------------------
   Buttons (replaces the blue / yellow button styling everywhere on the page)
   -------------------------------------------------------------------------- */
.medspa-theme .medspa-btn,
.medspa-theme .btn-custom,
.medspa-theme .btn-white,
.medspa-theme .rws-btn-color,
.medspa-theme .btn_contact,
.medspa-theme input[type="submit"],
.medspa-theme .btn.btn-success,
.medspa-theme .btn.btn-primary,
.medspa-theme .btn.btn-warning {
	display: inline-block;
	font-family: var(--ms-sans);
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .26em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	padding: 18px 38px;
	border: 1px solid var(--ms-black);
	border-radius: 0;
	box-shadow: none;
	background: var(--ms-black);
	color: var(--ms-ivory);
	cursor: pointer;
	-webkit-appearance: none;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.medspa-theme .medspa-btn:hover,
.medspa-theme .btn-custom:hover,
.medspa-theme .rws-btn-color:hover,
.medspa-theme .btn_contact:hover,
.medspa-theme input[type="submit"]:hover,
.medspa-theme .btn.btn-success:hover {
	background: var(--ms-charcoal);
	border-color: var(--ms-charcoal);
	color: var(--ms-white);
	text-decoration: none;
}
.medspa-theme .medspa-btn:focus-visible,
.medspa-theme .btn_contact:focus-visible,
.medspa-theme .btn-white:focus-visible,
.medspa-theme #navigation a:focus-visible,
.medspa-theme #navigation-mobile a:focus-visible {
	outline: 2px solid var(--ms-taupe);
	outline-offset: 3px;
}
/* BOOK NOW on black (hero, call to action, navigation, mobile menu): solid ivory with black text so the
   button reads clearly against the black field (black on ivory is about 17:1; hover black on taupe is about 8:1,
   both above the WCAG AA 4.5:1 minimum). Dimensions are unchanged. */
.medspa-theme .medspa-btn--light,
.medspa-theme .btn-white {
	background: var(--ms-ivory);
	border-color: var(--ms-ivory);
	color: var(--ms-black);
	font-weight: 600;
}
.medspa-theme .medspa-btn--light:hover,
.medspa-theme .btn-white:hover {
	background: var(--ms-taupe);
	border-color: var(--ms-taupe);
	color: var(--ms-black);
}
/* the CMS styler / legacy callout rules also colour links in the call-to-action: pin the button colours */
.medspa-theme #action a.btn-white,
.medspa-theme #action a.btn-white:visited {
	background: var(--ms-ivory) !important;
	border-color: var(--ms-ivory) !important;
	color: var(--ms-black) !important;
}
.medspa-theme #action a.btn-white:hover,
.medspa-theme #action a.btn-white:focus-visible {
	background: var(--ms-taupe) !important;
	border-color: var(--ms-taupe) !important;
	color: var(--ms-black) !important;
}
.medspa-theme #action a.btn-white:focus-visible { border-color: var(--ms-white) !important; }
.medspa-theme .medspa-btn--light:focus-visible,
.medspa-theme .btn-white:focus-visible,
.medspa-theme #navigation .nav > li.nav-menu-btn > a:focus-visible,
.medspa-theme #navigation-mobile ul > li.nav-menu-btn > a:focus-visible {
	outline: 3px solid var(--ms-white);
	outline-offset: 3px;
	background: var(--ms-taupe);
	border-color: var(--ms-white);
	color: var(--ms-black);
}
.medspa-theme .btn_contact[disabled] { opacity: .55; cursor: wait; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.medspa-theme #navigation.navbar.navbar-location {
	height: var(--ms-nav-h);
	padding: 0;
	background: var(--ms-black);
	border-bottom: 1px solid rgba(182, 168, 154, .22);
	box-shadow: none;
	display: flex;
	align-items: center;
	color: var(--ms-ivory);
}
.medspa-theme #navigation.navbar.navbar-location.affix { padding: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.medspa-theme #navigation.navbar > .container {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: 1320px;
	padding-left: 40px;
	padding-right: 40px;
}
.medspa-theme #navigation .navbar-brand { float: none; margin: 0; }
.medspa-theme #navigation .navbar-brand a { display: block; line-height: 0; }
.medspa-theme #navigation .navbar-brand img {
	height: 46px;
	width: auto;
}
.medspa-theme #navigation .navbar-brand .brand-secondary { display: none !important; }
.medspa-theme #navigation .navbar-brand .brand-main { visibility: visible !important; opacity: 1 !important; }

.medspa-theme #navigation .nav {
	float: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	height: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
.medspa-theme #navigation .nav > li { float: none; padding: 0 0 0 38px; }
.medspa-theme #navigation .nav > li:last-child { padding-right: 0; }
.medspa-theme #navigation .nav > li > a,
.medspa-theme #navigation .nav > li > a:visited {
	float: none;
	display: block;
	position: relative;
	padding: 6px 0 !important;
	font-family: var(--ms-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: rgba(245, 242, 237, .78) !important;
	background: transparent !important;
	border: 0 !important;
	text-decoration: none;
	transition: color .25s ease;
}
.medspa-theme #navigation .nav > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: .26em;
	bottom: 0;
	height: 1px;
	background: var(--ms-taupe);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s ease;
}
.medspa-theme #navigation .nav > li > a:hover,
.medspa-theme #navigation .nav > li > a.active { color: var(--ms-white) !important; }
.medspa-theme #navigation .nav > li > a:hover::after,
.medspa-theme #navigation .nav > li > a.active::after { transform: scaleX(1); }

/* prominent consultation CTA */
.medspa-theme #navigation .nav > li.nav-menu-btn { padding-left: 46px; padding-top: 0; padding-bottom: 0; }
.medspa-theme #navigation .nav > li.nav-menu-btn > a,
.medspa-theme #navigation .nav > li.nav-menu-btn > a:visited {
	padding: 15px 28px !important;
	border: 1px solid var(--ms-ivory) !important;
	background: var(--ms-ivory) !important;
	color: var(--ms-black) !important;
	font-weight: 600;
	border-radius: 0 !important;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.medspa-theme #navigation .nav > li.nav-menu-btn > a::after { display: none; }
.medspa-theme #navigation .nav > li.nav-menu-btn > a:hover,
.medspa-theme #navigation .nav > li.nav-menu-btn > a.active,
.medspa-theme #navigation .nav > li.nav-menu-btn > a:focus-visible {
	background: var(--ms-taupe) !important;
	border-color: var(--ms-taupe) !important;
	color: var(--ms-black) !important;
}
.medspa-theme #navigation .nav > li.nav-menu-btn > a:focus-visible { border-color: var(--ms-white) !important; }

/* the hero already carries the large logo: keep the small one hidden until the page scrolls */
@media (min-width: 992px) {
	.medspa-theme #navigation:not(.affix) .navbar-brand { opacity: 0; pointer-events: none; }
	.medspa-theme #navigation .navbar-brand { transition: opacity .35s ease; }
}

/* hamburger */
.medspa-theme #navigation .nav-btn-mobile { display: none; float: none; }
.medspa-theme #navigation .nav-btn-mobile a,
.medspa-theme #navigation.navbar.navbar-location.navbar-landing .nav-btn-mobile a {
	display: block;
	color: var(--ms-ivory) !important;
	font-size: 34px;
	line-height: 44px;
	transition: color .25s ease;
}
.medspa-theme #navigation .nav-btn-mobile a:hover { color: var(--ms-taupe) !important; }

/* compact desktop / landscape tablet */
@media (min-width: 992px) and (max-width: 1199px) {
	.medspa-theme #navigation .nav > li { padding-left: 24px; }
	.medspa-theme #navigation .nav > li.nav-menu-btn { padding-left: 30px; }
	.medspa-theme #navigation .nav > li > a { font-size: 10.5px; letter-spacing: .2em; }
	.medspa-theme #navigation .nav > li.nav-menu-btn > a { padding: 13px 20px !important; }
	.medspa-theme #navigation.navbar > .container { padding-left: 28px; padding-right: 28px; }
}

/* tablet portrait and phones: off-canvas menu (built by js/script.js, toggled by .navbar-btn-toggle) */
@media (max-width: 991px) {
	.medspa-theme { --ms-nav-h: 68px; }
	.medspa-theme #navigation.navbar > .container { padding-left: 22px; padding-right: 22px; }
	.medspa-theme #navigation .navbar-brand img { height: 38px; }
	.medspa-theme #navigation .nav { display: none; }
	.medspa-theme #navigation .nav-btn-mobile { display: block; }

	/* keep the page and the bar in place; the menu slides over a dimmed page */
	.medspa-theme.nav-mobile-open #body-wrap { right: 0 !important; }
	.medspa-theme.nav-mobile-open #body-wrap::after {
		content: "";
		position: fixed;
		top: 0; right: 0; bottom: 0; left: 0;
		background: rgba(11, 11, 11, .62);
		z-index: 1050;
	}
	.medspa-theme.nav-mobile-open #navigation.navbar.navbar-location { right: 0; left: 0; }

	.medspa-theme #navigation-mobile {
		display: block;
		right: 0;
		width: min(360px, 86vw);
		background: var(--ms-black);
		border-left: 1px solid rgba(182, 168, 154, .25);
		z-index: 1100;
		transform: translateX(104%);
		visibility: hidden;
		transition: transform .35s ease, visibility 0s linear .35s;
	}
	.medspa-theme.nav-mobile-open #navigation-mobile {
		transform: none;
		visibility: visible;
		transition: transform .35s ease;
	}
}
.medspa-theme #navigation-mobile .scrollbar-inner { padding: 0 0 40px; }
.medspa-theme #navigation-mobile button.navbar-btn-close {
	width: 100%;
	height: var(--ms-nav-h);
	line-height: 1;
	background: transparent;
	color: var(--ms-ivory);
	font-family: var(--ms-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .26em;
	text-transform: uppercase;
	text-align: right;
	padding: 0 30px;
	border: 0;
	border-bottom: 1px solid rgba(182, 168, 154, .25);
}
.medspa-theme #navigation-mobile button.navbar-btn-close:hover { background: transparent; color: var(--ms-taupe); }
.medspa-theme #navigation-mobile ul { padding: 18px 30px 0; }
.medspa-theme #navigation-mobile ul > li { border-bottom: 1px solid rgba(182, 168, 154, .18); }
.medspa-theme #navigation-mobile ul > li:last-child { border-bottom: 0; }
.medspa-theme #navigation-mobile ul > li > a {
	font-family: var(--ms-sans);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .26em;
	padding: 22px 0;
	color: rgba(245, 242, 237, .8);
}
.medspa-theme #navigation-mobile ul > li > a:hover,
.medspa-theme #navigation-mobile ul > li > a.active,
.medspa-theme #navigation-mobile.scrollspy ul > li > a.active { color: var(--ms-white); }
.medspa-theme #navigation-mobile ul > li.nav-menu-btn { border: 0; padding-top: 28px; }
.medspa-theme #navigation-mobile ul > li.nav-menu-btn > a {
	border: 1px solid var(--ms-ivory);
	background: var(--ms-ivory);
	text-align: center;
	padding: 18px 12px;
	color: var(--ms-black);
	font-weight: 600;
}
.medspa-theme #navigation-mobile ul > li.nav-menu-btn > a:hover { background: var(--ms-taupe); border-color: var(--ms-taupe); color: var(--ms-black); }

/* --------------------------------------------------------------------------
   Hero: one continuous black field (branding ~45% | photograph ~55%, blended across the boundary)
   -------------------------------------------------------------------------- */
.medspa-theme .medspa-hero {
	display: flex;
	flex-wrap: nowrap;
	position: relative;
	min-height: clamp(600px, 100vh, 900px);   /* fits a typical desktop viewport; never taller than 900px */
	padding: var(--ms-nav-h) 0 0;
	margin: 0;
	background: var(--ms-black);
	color: var(--ms-ivory);
	overflow: hidden;
}
.medspa-theme .medspa-hero__brand {
	flex: 0 0 45%;
	max-width: 45%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px clamp(28px, 3.4vw, 72px) 44px;
	background: transparent;
	position: relative;
	z-index: 1;
}
.medspa-theme .medspa-hero__brand-inner { width: 100%; text-align: center; }
.medspa-theme .medspa-hero__logo { margin: 0; padding: 0; line-height: 0; }
.medspa-theme .medspa-hero__logo img {
	width: clamp(260px, 25.5vw, 500px);   /* ~18% smaller than the first pass */
	max-width: 100%;
	height: auto;
}
.medspa-theme .medspa-hero__tagline {
	display: block;
	margin: clamp(22px, 2.3vw, 38px) 0 clamp(26px, 2.6vw, 42px);
	font-family: var(--ms-sans);
	font-size: clamp(10px, .86vw, 13px);
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--ms-taupe);
}
.medspa-theme .medspa-hero__tagline span { margin: 0 .55em; opacity: .55; }
.medspa-theme .medspa-hero__cta { margin: 0; }
/* Seamless photograph (Phase 5): the hero is one continuous black field.
   The photograph (a model on a black background, supplied through the CMS) starts under the right edge of
   the branding panel and runs to the right edge, so the hair flows across the old 45% boundary.
   - the photo layer sits behind the branding panel (z-index) and below the fixed navigation
   - `mix-blend-mode: lighten` against the theme black makes the photo's own black match #0B0B0B exactly,
     so there is no tonal edge (browsers without it simply show the photo's native black)
   - a black-to-transparent gradient on the photo's left side removes the straight edge */
.medspa-theme .medspa-hero__photo {
	position: absolute;
	top: var(--ms-nav-h);
	right: 0;
	bottom: 0;
	left: 34%;
	overflow: hidden;
	background: var(--ms-black);
	z-index: 0;
}
.medspa-theme .medspa-hero__photo img {
	position: absolute;
	top: 0; left: 4px;                 /* 4px of plain theme black at the box edge: no sub-pixel bleed or hairline */
	width: calc(100% - 4px);
	height: 100%;
	object-fit: cover;
	object-position: 100% 22%;
	mix-blend-mode: lighten;
}
.medspa-theme .medspa-hero__photo::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 46%;
	pointer-events: none;
	background: linear-gradient(90deg,
		rgba(11, 11, 11, 1) 0%,
		rgba(11, 11, 11, .86) 22%,
		rgba(11, 11, 11, .55) 48%,
		rgba(11, 11, 11, .2) 76%,
		rgba(11, 11, 11, 0) 100%);
}

@media (max-width: 991px) {
	.medspa-theme .medspa-hero { display: block; min-height: 0; }
	.medspa-theme .medspa-hero__brand {
		max-width: none;
		padding: 40px 24px 44px;
	}
	.medspa-theme .medspa-hero__logo img { width: min(58vw, 340px); }
	.medspa-theme .medspa-hero__tagline {
		font-size: 11px;
		letter-spacing: .28em;
		margin: 24px 0 28px;
	}
	.medspa-theme .medspa-hero__brand { background: var(--ms-black); }
	.medspa-theme .medspa-hero__photo {
		position: relative;
		top: auto; right: auto; bottom: auto; left: auto;
		min-height: 0;
		height: min(80vw, 560px);
	}
	.medspa-theme .medspa-hero__photo img { left: 0; width: 100%; object-position: 100% 20%; }
	/* soft black fade at the top so the photo melts into the branding block (no hard horizontal edge) */
	.medspa-theme .medspa-hero__photo::after {
		top: 0; left: 0; right: 0; bottom: auto;
		width: auto;
		height: 24%;
		background: linear-gradient(180deg, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, .6) 45%, rgba(11, 11, 11, 0) 100%);
	}
}
/* stacked layout: crop to the model (the CMS photo has an empty black left half) */
@supports (object-view-box: inset(0)) {
	@media (max-width: 991px) {
		.medspa-theme .medspa-hero__photo img {
			object-view-box: inset(0 0 0 57.5%);
			object-position: 60% 16%;
		}
	}
}
@media (max-width: 575px) {
	.medspa-theme .medspa-hero__brand { padding: 30px 20px 36px; }
	.medspa-theme .medspa-hero__logo img { width: min(62vw, 250px); }
	.medspa-theme .medspa-hero__tagline { font-size: 9.5px; letter-spacing: .22em; margin: 20px 0 24px; }
	.medspa-theme .medspa-hero__tagline span { margin: 0 .35em; }
	.medspa-theme .medspa-hero__photo { height: 92vw; }
}

/* --------------------------------------------------------------------------
   Shared section typography
   -------------------------------------------------------------------------- */
.medspa-theme h1, .medspa-theme h2, .medspa-theme h3, .medspa-theme h4, .medspa-theme h5 {
	font-family: var(--ms-serif);
	font-weight: 500;
	letter-spacing: .005em;
	text-transform: none;
	color: var(--ms-black);
}
.medspa-theme h1 span, .medspa-theme h2 span, .medspa-theme h3 span, .medspa-theme h4 span { color: inherit; }
.medspa-theme a, .medspa-theme a:visited { color: var(--ms-charcoal); }
.medspa-theme a:hover { color: var(--ms-black); text-decoration: none; }
.medspa-theme p { font-size: 15.5px; line-height: 1.95; font-weight: 400; color: #454545; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.medspa-theme .rws-bg-white { background: var(--ms-white); }
.medspa-theme #services { padding: 120px 0 30px; }
.medspa-theme #services .post-heading-left { text-align: center; margin: 0 auto 52px; padding: 0; }
.medspa-theme #services .post-heading-left p {
	margin: 0 0 18px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--ms-taupe-dark);
}
.medspa-theme #services .post-heading-left h2 {
	margin: 0;
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: 1.08;
	font-weight: 400;
	text-transform: none;
}
.medspa-theme #services .post-heading-left h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 34px auto 0;
	background: var(--ms-taupe);
}

/* smooth anchor scrolling (category links, nav links); off for visitors who prefer reduced motion */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Service category navigation: four anchor links in a row (two columns on phones) */
.medspa-theme .medspa-cats { max-width: 1040px; margin: 0 auto 96px; }
.medspa-theme .medspa-cats__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
}
.medspa-theme .medspa-cats__list > li { margin: 0; padding: 0; }
.medspa-theme .medspa-cats__link,
.medspa-theme .medspa-cats__link:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 14px 12px;
	font-family: var(--ms-sans);
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .22em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	color: var(--ms-black);
	background: var(--ms-ivory);
	border: 1px solid var(--ms-taupe-dark);
	border-radius: 0;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.medspa-theme .medspa-cats__link:hover {
	background: var(--ms-black);
	border-color: var(--ms-black);
	color: var(--ms-ivory);
	text-decoration: none;
}
.medspa-theme .medspa-cats__link:focus-visible {
	outline: 2px solid var(--ms-black);
	outline-offset: 3px;
	background: var(--ms-black);
	border-color: var(--ms-black);
	color: var(--ms-ivory);
}
.medspa-theme .medspa-cats__link:active {
	background: var(--ms-charcoal);
	border-color: var(--ms-charcoal);
	color: var(--ms-white);
	transform: translateY(1px);
}
/* the section currently in view */
.medspa-theme .medspa-cats__link[aria-current="true"] {
	background: var(--ms-black);
	border-color: var(--ms-black);
	color: var(--ms-ivory);
	box-shadow: inset 0 -3px 0 var(--ms-taupe);
}

/* Service categories */
.medspa-theme #services .medspa-service {
	margin: 0 0 96px;
	scroll-margin-top: calc(var(--ms-nav-h) + 28px); /* keep the heading clear of the fixed navigation bar */
}
.medspa-theme #services .medspa-service .row { align-items: center; margin-bottom: 0; }
.medspa-theme #services .medspa-service__title {
	position: relative;
	margin: 0 0 26px;
	padding-top: 28px;
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.15;
	font-weight: 500;
}
.medspa-theme #services .medspa-service__title::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 44px;
	height: 1px;
	background: var(--ms-taupe);
}
.medspa-theme #services .medspa-service p { margin: 0 0 16px; max-width: 520px; }
.medspa-theme #services .medspa-service__body > :last-child,
.medspa-theme #services .medspa-treatment > :last-child { margin-bottom: 0; }
/* individual treatments inside a category */
.medspa-theme #services .medspa-treatment + .medspa-treatment { margin-top: 36px; }
.medspa-theme #services .medspa-treatment__name {
	margin: 0 0 14px;
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.25;
	font-weight: 500;
}
.medspa-theme #services .medspa-service__intro + .medspa-treatment { margin-top: 30px; }
.medspa-theme #services .medspa-service__contact { margin-top: 22px; }
.medspa-theme #services .medspa-service__book { margin-top: 28px; }
.medspa-theme #services a.medspa-service__link {
	color: inherit;
	border-bottom: 1px solid rgba(123, 111, 99, .55);
	text-decoration: none;
	transition: border-color .2s ease;
}
.medspa-theme #services a.medspa-service__link:hover { border-bottom-color: currentColor; text-decoration: none; }
.medspa-theme #services a.medspa-service__link:focus-visible,
.medspa-theme #services a.medspa-phone:focus-visible { outline: 2px solid var(--ms-black); outline-offset: 3px; }
.medspa-theme #services figure.affa-thumbnail { margin: 0; overflow: hidden; background: var(--ms-ivory); }
.medspa-theme #services figure.affa-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
/* a category without a photograph: a centred ivory panel, complete on its own */
.medspa-theme #services .medspa-service--no-image .medspa-service__body {
	padding: 64px 48px 68px;
	text-align: center;
	background: var(--ms-ivory);
}
.medspa-theme #services .medspa-service--no-image .medspa-service__title::before { left: 50%; margin-left: -22px; }
.medspa-theme #services .medspa-service--no-image p { margin-left: auto; margin-right: auto; }
@media (min-width: 992px) {
	/* alternate the photograph side for an editorial rhythm */
	.medspa-theme #services .medspa-service--flip .row { flex-direction: row-reverse; justify-content: space-between; }
	.medspa-theme #services .medspa-service--flip .row > .col-lg-6:last-child { margin-left: 0; }
}
@media (max-width: 991px) {
	.medspa-theme #services { padding: 84px 0 10px; }
	.medspa-theme #services .post-heading-left { margin-bottom: 40px; }
	.medspa-theme .medspa-cats { margin-bottom: 64px; }
	.medspa-theme #services .medspa-service { margin-bottom: 64px; }
	.medspa-theme #services .medspa-service p { max-width: none; }
	.medspa-theme #services .medspa-service__body { margin-bottom: 28px; }
	.medspa-theme #services .medspa-service--no-image .medspa-service__body { margin-bottom: 0; padding: 52px 28px 56px; }
	.medspa-theme #services .medspa-service--no-image p { max-width: 520px; }
}
@media (max-width: 767px) {
	.medspa-theme .medspa-cats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.medspa-theme .medspa-cats__link { min-height: 56px; padding: 12px 8px; font-size: 11px; letter-spacing: .16em; }
}
@media (max-width: 400px) {
	.medspa-theme .medspa-cats__link { letter-spacing: .12em; }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.medspa-theme #about { background: var(--ms-ivory); padding: 120px 0 130px; }
.medspa-theme #about .post-heading-center-location { text-align: center; margin: 0 auto 64px; padding: 0; }
.medspa-theme #about .post-heading-center-location h2 {
	margin: 0;
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: 1.08;
	font-weight: 400;
}
.medspa-theme #about .post-heading-center-location h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 34px auto 0;
	background: var(--ms-taupe);
}
.medspa-theme #about .row { align-items: center; }
.medspa-theme #about p { font-size: 16.5px; line-height: 2; color: #3c3c3c; margin: 0; }
.medspa-theme #about p + p { margin-top: 1.35em; }
.medspa-theme #about figure.img { position: relative; margin: 0; }
.medspa-theme #about figure.img::before {
	content: "";
	position: absolute;
	top: 22px; left: 22px; right: -22px; bottom: -22px;
	border: 1px solid var(--ms-taupe);
	z-index: 0;
}
.medspa-theme #about figure.img img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	box-shadow: none;
}
@media (max-width: 991px) {
	.medspa-theme #about { padding: 84px 0 96px; }
	.medspa-theme #about .post-heading-center-location { margin-bottom: 44px; }
	.medspa-theme #about figure.img { margin: 48px 22px 0 0 !important; }
	.medspa-theme #about figure.img::before { top: 16px; left: 16px; right: -16px; bottom: -16px; }
}

/* --------------------------------------------------------------------------
   Call to action (black accent band)
   -------------------------------------------------------------------------- */
.medspa-theme #action {
	background: var(--ms-black) !important;
	color: var(--ms-ivory);
	padding: 120px 0 124px;
}
.medspa-theme #action .rws-callout-location { max-width: 780px; margin: 0 auto; }
.medspa-theme #action h3 {
	margin: 0 0 28px;
	color: var(--ms-ivory);
	font-size: clamp(36px, 4.2vw, 58px);
	line-height: 1.1;
	font-weight: 400;
}
.medspa-theme #action p {
	margin: 0 auto 46px;
	color: rgba(245, 242, 237, .78);
	font-size: 16px;
	line-height: 2;
	text-wrap: balance;
}
@media (max-width: 767px) { .medspa-theme #action { padding: 84px 0 88px; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.medspa-theme #contact { background: var(--ms-ivory) !important; position: relative; }
.medspa-theme #contact .parallax-mirror { display: none !important; }
.medspa-theme #contact > div { background: transparent !important; padding-top: 120px; padding-bottom: 130px; }
.medspa-theme #contact .rws-signup-location { max-width: 760px; margin: 0 auto; }
.medspa-theme #contact form.rws-form-signup {
	background: var(--ms-white) !important;
	border: 1px solid var(--ms-line);
	border-radius: 0;
	box-shadow: 0 30px 60px -40px rgba(11, 11, 11, .25);
	padding: 64px 64px 48px;
	color: var(--ms-charcoal);
}
.medspa-theme .form-heading { text-align: center; margin: 0 0 40px; }
.medspa-theme .form-heading h2 {
	margin: 0 0 14px;
	font-size: clamp(34px, 3.6vw, 48px);
	line-height: 1.1;
	font-weight: 400;
}
.medspa-theme .form-heading p { margin: 0; color: var(--ms-taupe-dark); font-size: 15px; line-height: 1.8; }
.medspa-theme .form-heading::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 30px auto 0;
	background: var(--ms-taupe);
}
.medspa-theme .contactForm label,
.medspa-theme .rws-modal label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--ms-sans);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ms-taupe-dark);
}
.medspa-theme .contactForm .form-control {
	height: 54px;
	margin: 0 0 24px;
	padding: 0 18px;
	font-family: var(--ms-sans);
	font-size: 15px;
	color: var(--ms-black);
	background: var(--ms-white);
	border: 1px solid #D5CCC0;
	border-radius: 0;
	box-shadow: none;
	transition: border-color .25s ease, background-color .25s ease;
}
.medspa-theme .contactForm textarea.form-control { height: auto; min-height: 150px; padding: 16px 18px; line-height: 1.7; resize: vertical; }
.medspa-theme .contactForm .form-control::placeholder { color: #9A9186; opacity: 1; }
.medspa-theme .contactForm .form-control:focus { border-color: var(--ms-black); background: var(--ms-white); outline: 0; box-shadow: none; }
.medspa-theme .contactForm .form-control.invalid { border-color: #8A3B3B; background: #FBF7F6; }
.medspa-theme #contact .form-fields { text-align: center; }
.medspa-theme #contact .form-fields label,
.medspa-theme #contact .form-fields .form-control { text-align: left; }
.medspa-theme #contact .btn_contact { margin-top: 10px; min-width: 240px; }
.medspa-theme .form-info {
	margin: 24px 0 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.8;
	color: var(--ms-taupe-dark);
}
.medspa-theme .form-info a { color: var(--ms-black); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ms-taupe); }
.medspa-theme .form-info a:hover { text-decoration-color: var(--ms-black); }
.medspa-theme .form-info.recaptcha-text { margin-top: 8px; font-size: 11px; }

/* confirmation / error messages (injected into .thanks by secure_form()) */
.medspa-theme .message, .medspa-theme #contact .message {
	display: block;
	color: var(--ms-charcoal) !important;
	background: transparent !important;
	margin: 0 0 24px;
}
.medspa-theme .message center { display: block; }
.medspa-theme .thanks .alert {
	margin: 0;
	padding: 20px 24px;
	font-family: var(--ms-sans);
	font-size: 14px;
	line-height: 1.7;
	text-align: center;
	border-radius: 0;
	background: var(--ms-white);
	color: var(--ms-charcoal);
	border: 1px solid var(--ms-taupe);
}
.medspa-theme .thanks .alert-danger { border-color: #8A3B3B; border-left-width: 3px; color: #5E2A2A; background: #FBF7F6; }

@media (max-width: 767px) {
	.medspa-theme #contact > div { padding-top: 72px; padding-bottom: 80px; }
	.medspa-theme #contact form.rws-form-signup { padding: 40px 22px 32px; }
	.medspa-theme #contact .btn_contact { width: 100%; min-width: 0; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.medspa-theme #footer.footer-location {
	background: var(--ms-black) !important;
	color: rgba(245, 242, 237, .78) !important;
	padding: 88px 0 36px;
	border-top: 0;
}
.medspa-theme #footer .footer-text { font-size: 14px; line-height: 2; letter-spacing: .04em; color: rgba(245, 242, 237, .78); }
.medspa-theme #footer .footer-text strong {
	display: inline-block;
	margin-bottom: 8px;
	font-family: var(--ms-serif);
	font-size: 30px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--ms-ivory);
}
.medspa-theme #footer .footer-logo { text-align: right; }
.medspa-theme #footer .footer-logo img { width: 240px; max-width: 70%; height: auto; display: inline-block; }
.medspa-theme #footer .footer-credits {
	margin-top: 64px;
	padding-top: 28px;
	border-top: 1px solid rgba(182, 168, 154, .25);
	font-size: 11.5px;
	letter-spacing: .1em;
	color: var(--ms-taupe);
}
.medspa-theme #footer a, .medspa-theme #footer a:visited { color: var(--ms-taupe); }
.medspa-theme #footer a:hover { color: var(--ms-ivory); }
.medspa-theme #footer .medspa-social { margin: 18px 0 0; padding: 0; display: flex; gap: 14px; }
.medspa-theme #footer .medspa-social li { margin: 0; padding: 0; }
.medspa-theme #footer .medspa-social__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(182, 168, 154, .45);
	color: var(--ms-taupe);
	transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
.medspa-theme #footer .medspa-social__link:hover,
.medspa-theme #footer .medspa-social__link:focus-visible { color: var(--ms-black); background: var(--ms-ivory); border-color: var(--ms-ivory); }
.medspa-theme #footer .medspa-social__icon { display: block; }
@media (max-width: 991px) { .medspa-theme #footer .medspa-social { justify-content: center; } }
@media (max-width: 767px) {
	.medspa-theme #footer.footer-location { padding: 64px 0 28px; text-align: center; }
	.medspa-theme #footer .footer-logo { text-align: center; margin-top: 36px; }
	.medspa-theme #footer .footer-credits { margin-top: 44px; text-align: center; }
	.medspa-theme #footer .footer-credits > div + div { margin-top: 8px; }
}

/* back-to-top */
.medspa-theme a.scrollup, .medspa-theme a.scrollup.styler_bg_color {
	background-color: var(--ms-black) !important;
	color: var(--ms-ivory) !important;
	border: 1px solid rgba(182, 168, 154, .5);
	border-radius: 0;
}
.medspa-theme a.scrollup:hover { background-color: var(--ms-charcoal) !important; }

/* --------------------------------------------------------------------------
   Modals (consultation form and privacy policy)
   -------------------------------------------------------------------------- */
.medspa-theme .modal-backdrop.show { opacity: .72; background: var(--ms-black); }
.medspa-theme .rws-modal .modal-content {
	background: var(--ms-ivory);
	border: 0;
	border-radius: 0;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
	color: var(--ms-charcoal);
}
.medspa-theme .rws-modal .modal-body { padding: 52px 48px 40px; }
.medspa-theme .rws-modal .close {
	position: absolute; top: 14px; right: 18px; z-index: 5;
	font-family: var(--ms-sans);
	font-weight: 300;
	font-size: 30px;
	color: var(--ms-black);
	opacity: .7;
	text-shadow: none;
}
.medspa-theme .rws-modal .close:hover { opacity: 1; color: var(--ms-black); }
.medspa-theme .rws-modal h4 { margin: 0 0 12px; font-size: 34px; line-height: 1.15; font-weight: 500; text-align: center; }
.medspa-theme .rws-modal h4 + p { text-align: center; color: var(--ms-taupe-dark); font-size: 14.5px; line-height: 1.8; margin-bottom: 30px; }
.medspa-theme .rws-modal .form-group { margin-bottom: 0; }
.medspa-theme .rws-modal .btn_contact { display: block; width: 100%; margin-top: 6px; }
.medspa-theme .rws-modal .message { margin-bottom: 20px; }
.medspa-theme .terms-modal .modal-body { font-size: 14px; line-height: 1.9; max-height: 70vh; overflow-y: auto; }
.medspa-theme .terms-modal p { font-size: 14px; line-height: 1.9; }
@media (max-width: 575px) { .medspa-theme .rws-modal .modal-body { padding: 44px 22px 28px; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	.medspa-theme *, .medspa-theme *::before, .medspa-theme *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Phone number links (tel:): inline text links that inherit the surrounding colour.
   (Legacy `.rws-callout-location a` turns every link in the CTA into a bordered button, so reset it here.) */
.medspa-theme a.medspa-phone,
.medspa-theme .rws-callout-location a.medspa-phone,
.medspa-theme .rws-callout-location a.medspa-phone:hover {
	display: inline;
	height: auto;
	line-height: inherit;
	padding: 0;
	margin: 0;
	border: 0;
	border-bottom: 1px solid rgba(182, 168, 154, .55);
	border-radius: 0;
	background: transparent;
	color: inherit !important;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .2s ease;
}
.medspa-theme a.medspa-phone:hover,
.medspa-theme .rws-callout-location a.medspa-phone:hover { border-bottom-color: currentColor; }
