/* SKInstitute: global styles (tokens, base, header, menu panel, footer). */

:root {
	--sk-cream: #f3f4f4;
	--sk-ink: #1d2023;
	--sk-ink-deep: #121416;
	--sk-muted: #5b6064;
	--sk-line: rgba(29, 32, 35, 0.14);
	--sk-accent: #6f6454;
	--sk-white: #fbfbfa;

	--sk-font-serif: var(--wp--preset--font-family--serif, "Hedvig Letters Serif", Georgia, serif);
	--sk-font-sans: var(--wp--preset--font-family--sans, "DM Sans", system-ui, sans-serif);

	--sk-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sk-gutter: clamp(16px, 3vw, 57px);
	--sk-header-pad: clamp(16px, 5.2vw, 100px);
	--sk-header-h: clamp(72px, 5.8vw, 110px);
	--sk-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Base ---------- */

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

body {
	margin: 0;
	background: var(--sk-cream);
	color: var(--sk-ink);
	font-family: var(--sk-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--sk-accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sk-skip-link {
	position: absolute;
	top: calc(var(--sk-admin-bar) + 8px);
	left: 8px;
	z-index: 1000;
	padding: 0.75em 1.25em;
	border-radius: 999px;
	background: var(--sk-ink);
	color: var(--sk-white);
	text-decoration: none;
	transform: translateY(-200%);
}

.sk-skip-link:focus {
	transform: none;
}

body.sk-lock {
	overflow: hidden;
}

/* ---------- Buttons ---------- */

.sk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(44px, 2.8vw, 54px);
	padding: 0 clamp(20px, 2vw, 38px);
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--sk-font-sans);
	font-size: clamp(15px, 1.05vw, 20px);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.3s var(--sk-ease), color 0.3s var(--sk-ease), border-color 0.3s var(--sk-ease);
}

/* Pointer glow and magnetic pull (assets/js/magnet.js sets --mx, --my and translate). */
.sk-btn,
.elementor-button,
.sk-footer__badge {
	transition: background-color 0.3s var(--sk-ease), color 0.3s var(--sk-ease), border-color 0.3s var(--sk-ease), translate 0.45s var(--sk-ease);
}

.sk-btn.is-magnet,
.elementor-button.is-magnet,
.sk-footer__badge.is-magnet {
	transition-duration: 0.3s, 0.3s, 0.3s, 0.12s;
}

.sk-btn,
.elementor-button {
	position: relative;
	overflow: hidden;
}

.sk-btn::after,
.elementor-button::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle 70px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 70%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--sk-ease);
}

.sk-btn.is-magnet::after,
.elementor-button.is-magnet::after {
	opacity: 1;
}

.sk-btn--dark {
	background: var(--sk-ink);
	color: var(--sk-white);
}

.sk-btn--dark:hover {
	background: var(--sk-ink-deep);
}

.sk-btn--outline {
	border-color: var(--sk-ink);
	color: var(--sk-ink);
}

.sk-btn--outline:hover {
	background: var(--sk-ink);
	color: var(--sk-white);
}

.sk-btn__short {
	display: none;
}

.sk-icon-btn {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: clamp(44px, 2.8vw, 54px);
	height: clamp(44px, 2.8vw, 54px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sk-ink);
	color: var(--sk-white);
	cursor: pointer;
	transition: background-color 0.3s var(--sk-ease);
}

.sk-icon-btn:hover {
	background: var(--sk-ink-deep);
}

.sk-icon-btn--light {
	background: transparent;
	color: var(--sk-ink);
	border: 1px solid var(--sk-line);
}

.sk-icon-btn--light:hover {
	background: rgba(29, 32, 35, 0.06);
}

/* ---------- Header ---------- */

.sk-header {
	position: sticky;
	top: var(--sk-admin-bar);
	z-index: 100;
	background: var(--sk-cream);
	transition: box-shadow 0.3s var(--sk-ease);
}

.sk-header.is-scrolled {
	box-shadow: 0 1px 0 var(--sk-line), 0 8px 24px -16px rgba(29, 32, 35, 0.25);
}

.sk-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: clamp(16px, 2vw, 40px);
	min-height: var(--sk-header-h);
	padding: 0 var(--sk-header-pad);
}

.sk-header__brand {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	line-height: 0;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	width: auto;
	height: clamp(52px, 4vw, 80px);
}

.sk-brand-text {
	font-family: var(--sk-font-serif);
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
}

.sk-nav {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.sk-nav__list,
.sk-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.4vw, 28px);
}

.sk-nav__list > li {
	position: relative;
}

.sk-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.5em clamp(6px, 0.8vw, 15px);
	color: var(--sk-muted);
	font-size: clamp(15px, 1.05vw, 20px);
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.25s var(--sk-ease);
}

.sk-nav__list > li > a {
	position: relative;
}

.sk-nav__list > li > a::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: -0.45em;
	left: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--sk-ease);
}

.sk-nav__list a:hover,
.sk-nav__list .current-menu-item > a,
.sk-nav__list .current-menu-ancestor > a {
	color: var(--sk-ink);
}

.sk-nav__list > .current-menu-item > a,
.sk-nav__list > .current-menu-ancestor > a {
	font-weight: 500;
}

.sk-nav__list > li > a:hover::before {
	transform: scaleX(1);
}

/* Dropdown chevron */
.sk-nav__list > .menu-item-has-children > a::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	margin: -0.2em 0 0 0.15em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.sk-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 10;
	min-width: 240px;
	padding: 10px;
	border: 1px solid var(--sk-line);
	border-radius: 18px;
	background: var(--sk-white);
	box-shadow: 0 18px 40px -20px rgba(29, 32, 35, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s var(--sk-ease), transform 0.25s var(--sk-ease), visibility 0s linear 0.25s;
}

/* Hover bridge so the dropdown does not close between link and panel. */
.sk-nav__list .sub-menu::before {
	content: "";
	position: absolute;
	top: -12px;
	right: 0;
	left: 0;
	height: 12px;
}

.sk-nav__list li:hover > .sub-menu,
.sk-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.sk-nav__list .sub-menu a {
	display: flex;
	padding: 0.7em 0.9em;
	border-radius: 10px;
	font-size: clamp(15px, 0.95vw, 17px);
}

.sk-nav__list .sub-menu a:hover {
	background: rgba(29, 32, 35, 0.06);
}

.sk-header__end {
	display: flex;
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-items: center;
	gap: clamp(16px, 2vw, 40px);
}

/* Links to the right of the logo (second menu location). */
.sk-nav.sk-nav--right {
	grid-column: auto;
	grid-row: auto;
	justify-self: auto;
}

.sk-header__actions {
	display: flex;
	align-items: center;
	gap: clamp(8px, 0.7vw, 13px);
}

/* Desktop: both menus sit close to the logo; the booking button stays at the right edge. */
@media (min-width: 1101px) {
	.sk-header__inner {
		column-gap: clamp(40px, 6.5vw, 130px);
	}

	.sk-nav:not(.sk-nav--right) {
		justify-self: end;
	}

	.sk-header__end {
		justify-self: stretch;
		justify-content: space-between;
	}
}

/* The menu is always visible on desktop, so the panel button is only needed when it collapses. */
@media (min-width: 1101px) {
	.sk-header__actions [data-sk-open] {
		display: none;
	}
}

@media (max-width: 1100px) {
	.sk-header__inner {
		grid-template-columns: auto 1fr;
	}

	.sk-nav {
		display: none;
	}

	.sk-header__brand {
		grid-column: 1;
		justify-self: start;
	}

	.sk-header__end {
		grid-column: 2;
	}
}

@media (max-width: 480px) {
	.sk-header__cta .sk-btn__long {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.sk-header__cta .sk-btn__short {
		display: inline;
	}
}

/* Without JS the menu panel cannot open, so keep the menu visible and let it wrap. */
.no-js .sk-header__inner {
	row-gap: 8px;
}

.no-js .sk-nav {
	display: block;
}

@media (max-width: 1100px) {
	.no-js .sk-nav {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

.no-js [data-sk-open] {
	display: none;
}

/* ---------- Menu panel ---------- */

.sk-panel {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.sk-panel[hidden] {
	display: none;
}

.sk-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 20, 22, 0.45);
	opacity: 0;
	transition: opacity 0.4s var(--sk-ease);
}

.sk-panel__sheet {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: min(440px, 100%);
	padding: calc(var(--sk-admin-bar) + 20px) 28px 32px;
	overflow-y: auto;
	background: var(--sk-cream);
	transform: translateX(100%);
	transition: transform 0.45s var(--sk-ease);
}

.sk-panel.is-open .sk-panel__backdrop {
	opacity: 1;
}

.sk-panel.is-open .sk-panel__sheet {
	transform: none;
}

.sk-panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sk-panel__top .custom-logo {
	height: 52px;
}

.sk-panel__menu,
.sk-panel__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-panel__menu > li {
	border-bottom: 1px solid var(--sk-line);
}

.sk-panel__menu a {
	display: block;
	padding: 14px 0;
	font-family: var(--sk-font-serif);
	font-size: 1.6rem;
	line-height: 1.2;
	text-decoration: none;
}

.sk-panel__menu .sub-menu {
	padding: 0 0 12px 14px;
}

.sk-panel__menu .sub-menu a {
	padding: 7px 0;
	color: var(--sk-muted);
	font-family: var(--sk-font-sans);
	font-size: 1rem;
}

.sk-panel__menu .current-menu-item > a {
	color: var(--sk-accent);
}

.sk-panel__contact {
	color: var(--sk-muted);
	font-size: 0.95rem;
}

.sk-panel__contact p {
	margin: 0 0 0.5em;
}

.sk-panel__contact a {
	text-decoration: none;
}

.sk-panel__contact a:hover {
	color: var(--sk-ink);
}

.sk-panel__cta {
	align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
	.sk-panel__backdrop,
	.sk-panel__sheet {
		transition: none;
	}
}

/* ---------- Main + simple pages ---------- */

.sk-main--text {
	width: min(760px, 100% - 2 * var(--sk-gutter));
	margin: clamp(32px, 6vw, 96px) auto;
}

.sk-page-title {
	margin: 0 0 0.6em;
	font-family: var(--sk-font-serif);
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	font-weight: 400;
	line-height: 1.1;
}

.sk-post-card {
	padding: 28px 0;
	border-bottom: 1px solid var(--sk-line);
}

.sk-post-card__title {
	margin: 0 0 0.25em;
	font-family: var(--sk-font-serif);
	font-size: 1.6rem;
	font-weight: 400;
}

.sk-post-card__title a {
	text-decoration: none;
}

.sk-post-card__meta {
	margin: 0 0 0.75em;
	color: var(--sk-muted);
	font-size: 0.9rem;
}

.sk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Footer ---------- */

.sk-footer {
	--sk-footer-bg: #181b1e;
	--sk-footer-text: rgba(243, 244, 244, 0.72);
	--sk-footer-line: rgba(243, 244, 244, 0.14);
	--sk-footer-gold: #c2b49c;
	margin-top: clamp(32px, 4vw, 72px);
	font-size: clamp(15px, 1vw, 17px);
}

.sk-footer p {
	margin: 0;
}

.sk-footer a {
	text-decoration: none;
}

.sk-footer__panel {
	position: relative;
	width: 100%;
	padding: calc(clamp(32px, 3.6vw, 64px) + clamp(16px, 3vw, 52px)) max(var(--sk-gutter), calc((100% - 1380px) / 2)) 0;
	overflow: hidden;
	background:
		radial-gradient(60% 50% at 12% 0%, rgba(194, 180, 156, 0.16), rgba(194, 180, 156, 0) 70%),
		radial-gradient(50% 45% at 92% 100%, rgba(194, 180, 156, 0.09), rgba(194, 180, 156, 0) 70%),
		var(--sk-footer-bg);
	color: var(--sk-footer-text);
}

/* Thin gold line along the top edge */
.sk-footer__panel::before {
	content: "";
	position: absolute;
	top: 0;
	right: 12%;
	left: 12%;
	height: 1px;
	background: linear-gradient(90deg, rgba(194, 180, 156, 0), rgba(194, 180, 156, 0.7), rgba(194, 180, 156, 0));
}

/* Statement + booking badge */
.sk-footer__hero {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px clamp(24px, 5vw, 80px);
	padding-bottom: clamp(24px, 3vw, 44px);
	margin-bottom: clamp(24px, 3vw, 44px);
	border-bottom: 1px solid var(--sk-footer-line);
}

.sk-footer__hero-copy {
	flex: 1 1 420px;
}

.sk-footer__statement {
	margin: 0;
	color: #fff;
	font-family: var(--sk-font-serif);
	font-size: clamp(40px, 5.8vw, 104px);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.sk-footer__statement em {
	color: var(--sk-footer-gold);
	font-family: var(--wp--preset--font-family--accent, "Cormorant Garamond", Georgia, serif);
	font-size: 1.1em;
	font-style: italic;
	font-weight: 500;
}

.sk-footer__lead {
	max-width: 32em;
	margin-top: clamp(14px, 1.6vw, 24px) !important;
	font-size: clamp(16px, 1.2vw, 19px);
	line-height: 1.6;
}

.sk-footer__reach {
	display: grid;
	gap: 6px;
	margin: clamp(14px, 1.6vw, 26px) 0 0;
	padding: 0;
	list-style: none;
}

.sk-footer__reach a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-family: var(--sk-font-serif);
	font-size: clamp(20px, 2.1vw, 34px);
	line-height: 1.25;
}

.sk-footer__reach a span {
	background: linear-gradient(var(--sk-footer-gold), var(--sk-footer-gold)) 0 100% / 0 1px no-repeat;
	transition: background-size 0.5s var(--sk-ease);
}

.sk-footer__reach a:hover span {
	background-size: 100% 1px;
}

.sk-footer__reach svg {
	flex: none;
	width: 0.7em;
	height: 0.7em;
	color: var(--sk-footer-gold);
	transition: transform 0.4s var(--sk-ease);
}

.sk-footer__reach a:hover svg {
	transform: translateX(6px);
}

/* Rotating "Book a visit" badge */
.sk-footer__badge {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: clamp(120px, 11vw, 170px);
	aspect-ratio: 1;
	color: #fff;
}

.sk-footer__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sk-footer__ring text {
	fill: currentColor;
	font-family: var(--sk-font-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.sk-footer__badge-core {
	display: grid;
	place-items: center;
	width: 42%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--sk-footer-gold);
	color: #181b1e;
	transition: transform 0.5s var(--sk-ease), background-color 0.3s var(--sk-ease);
}

.sk-footer__badge-core svg {
	width: 34%;
	height: auto;
	transform: rotate(-45deg);
	transition: transform 0.5s var(--sk-ease);
}

.sk-footer__badge:hover .sk-footer__badge-core {
	background: #fff;
	transform: scale(1.1);
}

.sk-footer__badge:hover .sk-footer__badge-core svg {
	transform: rotate(0deg);
}

@media (prefers-reduced-motion: no-preference) {
	.sk-footer__ring {
		animation: sk-spin 22s linear infinite;
	}

	.sk-footer__badge:hover .sk-footer__ring {
		animation-duration: 8s;
	}
}

@keyframes sk-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Columns */
.sk-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: clamp(28px, 4vw, 72px);
	padding-bottom: clamp(32px, 4.4vw, 80px);
}

.sk-footer__logo {
	margin-bottom: 20px;
}

.sk-footer__logo .custom-logo {
	height: clamp(56px, 4.6vw, 84px);
}

.sk-footer__logo .sk-brand-text {
	color: #fff;
	font-size: 1.8rem;
}

.sk-footer__brand p {
	max-width: 30em;
	line-height: 1.65;
}

.sk-footer .sk-footer__title {
	margin: 0 0 clamp(16px, 1.6vw, 24px);
	color: var(--sk-footer-gold);
	font-family: var(--sk-font-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sk-footer__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-footer__list a,
.sk-footer__details a,
.sk-footer__legal-nav a {
	color: inherit;
	transition: color 0.25s var(--sk-ease), padding-left 0.35s var(--sk-ease);
}

.sk-footer__list a {
	position: relative;
	display: inline-block;
	font-size: clamp(16px, 1.15vw, 19px);
}

.sk-footer__list a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 10px;
	height: 1px;
	background: var(--sk-footer-gold);
	opacity: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--sk-ease), opacity 0.35s var(--sk-ease);
}

.sk-footer__list a:hover,
.sk-footer__list .current-menu-item > a {
	padding-left: 18px;
	color: #fff;
}

.sk-footer__list a:hover::before,
.sk-footer__list .current-menu-item > a::before {
	opacity: 1;
	transform: scaleX(1);
}

.sk-footer a:hover {
	color: #fff;
}

.sk-footer__details {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-footer__details li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.55;
}

.sk-footer__details svg {
	flex: none;
	margin-top: 0.2em;
	color: var(--sk-footer-gold);
}

.sk-footer__details address {
	font-style: normal;
}

.sk-footer__link {
	display: inline-block;
	margin-top: 6px;
	color: var(--sk-footer-gold);
	border-bottom: 1px solid currentColor;
}

.sk-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: clamp(18px, 1.8vw, 28px) 0 0;
	padding: 0;
	list-style: none;
}

.sk-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--sk-footer-line);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.3s var(--sk-ease), border-color 0.3s var(--sk-ease), transform 0.3s var(--sk-ease);
}

.sk-footer__social a:hover {
	border-color: var(--sk-footer-gold);
	background: var(--sk-footer-gold);
	color: var(--sk-footer-bg);
	transform: translateY(-3px);
}

/* Legal bar */
.sk-footer__bar {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	padding: 22px 0;
	border-top: 1px solid var(--sk-footer-line);
	font-size: 14px;
}

.sk-footer__legal-nav {
	margin-right: auto;
}

.sk-footer__list--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.sk-footer__top {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.sk-footer__top svg {
	box-sizing: content-box;
	padding: 8px;
	border: 1px solid var(--sk-footer-line);
	border-radius: 50%;
	transition: transform 0.35s var(--sk-ease), background-color 0.3s var(--sk-ease), border-color 0.3s var(--sk-ease);
}

.sk-footer__top:hover svg {
	border-color: var(--sk-footer-gold);
	background: var(--sk-footer-gold);
	color: var(--sk-footer-bg);
	transform: translateY(-3px);
}

/* Large faded brand name, fully visible, sitting behind the legal line */
.sk-footer__mark {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	display: block;
	margin: 0;
	color: rgba(243, 244, 244, 0.06);
	font-family: var(--sk-font-serif);
	font-size: clamp(44px, 10.6vw, 186px);
	line-height: 0.8;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

/* Fixed "Book" bar on phones */
.sk-mobile-bar {
	display: none;
}

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

	.sk-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.sk-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sk-footer__hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	/* In a column the 420px flex-basis would become a 420px height (a big empty gap). */
	.sk-footer__hero-copy {
		flex: none;
		width: 100%;
	}

	.sk-footer__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.sk-footer__legal-nav {
		margin-right: 0;
	}


	.sk-mobile-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: block;
		padding: 10px var(--sk-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(243, 244, 244, 0.92);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		box-shadow: 0 -1px 0 var(--sk-line);
	}

	.sk-mobile-bar .sk-btn {
		width: 100%;
	}

	/* The bar slides up after the first screen and steps aside for the footer's own booking badge. */
	.js .sk-mobile-bar {
		transition: translate 0.4s var(--sk-ease), visibility 0.4s;
	}

	.js .sk-mobile-bar:not(.is-visible) {
		translate: 0 100%;
		visibility: hidden;
	}
}

/* ---------- Book a Visit page: form + contact card ---------- */

.e-con.sk-book {
	display: block;
	width: min(1180px, 100% - 2 * var(--sk-gutter));
	margin: clamp(32px, 5vw, 88px) auto 0;
	padding: 0;
}

.e-con.sk-book__grid,
.e-con.sk-book__info {
	padding: 0;
}

.sk-book .sk-book__title {
	margin: 0 0 0.35em;
	font-family: var(--sk-font-serif);
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	font-weight: 400;
	line-height: 1.08;
}

.sk-book .sk-book__intro {
	max-width: 36em;
	margin: 0 0 clamp(28px, 4vw, 56px);
	color: var(--sk-muted);
	font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.sk-book .sk-book__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}

@media (max-width: 860px) {
	.sk-book .sk-book__grid {
		grid-template-columns: 1fr;
	}
}

.e-con.sk-book__form,
.sk-contact-card {
	padding: clamp(22px, 3vw, 44px);
	border: 1px solid var(--sk-line);
	border-radius: clamp(20px, 2vw, 32px);
	background: var(--sk-white);
}

.sk-contact-card__item + .sk-contact-card__item {
	margin-top: 1.6em;
	padding-top: 1.6em;
	border-top: 1px solid var(--sk-line);
}

.sk-contact-card__label {
	margin: 0 0 0.4em;
	color: var(--sk-accent);
	font-family: var(--sk-font-sans);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sk-contact-card p {
	margin: 0 0 0.3em;
}

.sk-contact-card a {
	text-decoration: none;
}

.sk-contact-card a:hover {
	text-decoration: underline;
}

/* Contact Form 7 */
.wpcf7 form {
	display: grid;
	gap: 18px;
	margin: 0;
}

.wpcf7 form > p {
	margin: 0;
}

.sk-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

@media (max-width: 560px) {
	.sk-form__row {
		grid-template-columns: 1fr;
	}
}

.wpcf7 label {
	display: block;
	color: var(--sk-ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid rgba(29, 32, 35, 0.28);
	border-radius: 14px;
	background: #fff;
	color: var(--sk-ink);
	font-family: var(--sk-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	transition: border-color 0.2s var(--sk-ease), box-shadow 0.2s var(--sk-ease);
}

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

.wpcf7 input:focus-visible,
.wpcf7 select:focus-visible,
.wpcf7 textarea:focus-visible {
	border-color: var(--sk-accent);
	outline: 2px solid var(--sk-accent);
	outline-offset: 1px;
}

.sk-form__hint {
	display: block;
	margin-top: 6px;
	color: var(--sk-muted);
	font-size: 0.85rem;
	font-weight: 400;
}

.sk-req {
	color: var(--sk-accent);
}

.wpcf7 .wpcf7-acceptance label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
}

.wpcf7 .wpcf7-acceptance input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--sk-ink);
}

.wpcf7 input[type="submit"] {
	justify-self: start;
	min-height: 54px;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: var(--sk-ink);
	color: var(--sk-white);
	font-family: var(--sk-font-sans);
	font-size: 1.05rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s var(--sk-ease);
}

.wpcf7 input[type="submit"]:hover {
	background: var(--sk-ink-deep);
}

.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #a3261f;
	font-size: 0.85rem;
	font-weight: 400;
}

.wpcf7 .wpcf7-not-valid {
	border-color: #a3261f;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--sk-line);
	border-radius: 14px;
	background: rgba(29, 32, 35, 0.04);
	font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #3f6b3a;
	background: rgba(63, 107, 58, 0.08);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: #a3261f;
	background: rgba(163, 38, 31, 0.06);
}

/* ---------- Smooth scroll (Lenis) ---------- */

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

/* ---------- Loader (first visit per session) ---------- */

.sk-loader {
	display: none;
}

.js.sk-loading .sk-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	background: var(--sk-cream);
	transition: opacity 0.7s var(--sk-ease), visibility 0.7s;
	/* Failsafe: if the script never runs, the loader still leaves. */
	animation: sk-loader-failsafe 0.5s linear 4s forwards;
}

.sk-loader.is-done {
	opacity: 0;
	visibility: hidden;
}

.sk-loader__logo {
	display: block;
	width: clamp(120px, 14vw, 200px);
	height: auto;
	animation: sk-loader-in 0.9s var(--sk-ease) both;
}

.sk-loader__name {
	font-family: var(--sk-font-serif);
	font-size: clamp(24px, 3vw, 40px);
	animation: sk-loader-in 0.9s var(--sk-ease) both;
}

@keyframes sk-loader-in {
	from {
		opacity: 0;
		translate: 0 10px;
	}
}

@keyframes sk-loader-failsafe {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

/* ---------- Page-to-page cross-fade (native View Transitions; ignored where unsupported) ---------- */

@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	::view-transition-old(root) {
		animation: 0.25s var(--sk-ease) both sk-page-out;
	}

	::view-transition-new(root) {
		animation: 0.4s var(--sk-ease) both sk-page-in;
	}

	/* The header stays put while the page behind it fades. */
	.sk-header {
		view-transition-name: sk-header;
	}
}

@keyframes sk-page-out {
	to {
		opacity: 0;
	}
}

@keyframes sk-page-in {
	from {
		opacity: 0;
	}
}

/* ---------- Soft curve where the cream page meets the dark footer ---------- */

.sk-footer__panel {
	border-radius: 50% 50% 0 0 / clamp(28px, 5vw, 88px) clamp(28px, 5vw, 88px) 0 0;
}

.sk-footer__panel::before {
	display: none;
}

/* ---------- Paper grain: a very light texture over the whole page, like uncoated paper ---------- */

body:not(.elementor-editor-active)::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9990;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.16 0 0 0 0 0.12 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.07;
	mix-blend-mode: multiply;
	pointer-events: none;
}

/* ---------- Footer entrance: blocks rise and fade in one after another (JS adds .is-in per part) ---------- */

@media (prefers-reduced-motion: no-preference) {
	/* Hidden state, only while JS is on and the part has not scrolled in yet. */
	.js body:not(.elementor-editor-active) .sk-footer__hero:not(.is-in) :is(.sk-footer__statement, .sk-footer__lead, .sk-footer__reach li),
	.js body:not(.elementor-editor-active) .sk-footer__grid:not(.is-in) > *,
	.js body:not(.elementor-editor-active) .sk-footer__grid:not(.is-in) :is(.sk-footer__list li, .sk-footer__details li, .sk-footer__social li),
	.js body:not(.elementor-editor-active) .sk-footer__bar:not(.is-in) > * {
		opacity: 0;
		translate: 0 48px;
	}

	.js body:not(.elementor-editor-active) .sk-footer__hero:not(.is-in) .sk-footer__badge {
		opacity: 0;
		scale: 0.7;
	}

	.js body:not(.elementor-editor-active) .sk-footer__bar:not(.is-in) ~ .sk-footer__mark {
		opacity: 0;
		translate: 0 40px;
	}

	.sk-footer__hero :is(.sk-footer__statement, .sk-footer__lead, .sk-footer__reach li),
	.sk-footer__grid > *,
	.sk-footer__grid :is(.sk-footer__list li, .sk-footer__details li, .sk-footer__social li),
	.sk-footer__bar > * {
		transition: opacity 0.9s var(--sk-ease), translate 0.9s var(--sk-ease);
		transition-delay: var(--d, 0s);
	}

	.sk-footer__badge {
		transition: opacity 1s var(--sk-ease) 0.25s, scale 1s var(--sk-ease) 0.25s, background-color 0.3s var(--sk-ease), translate 0.45s var(--sk-ease);
	}

	.sk-footer__mark {
		transition: opacity 1.6s var(--sk-ease) 0.3s, translate 1.6s var(--sk-ease) 0.3s;
	}

	/* Order: statement, text, contact lines; then columns left to right; their lines one by one; then the legal bar. */
	.sk-footer__statement { --d: 0s; }
	.sk-footer__lead { --d: 0.1s; }
	.sk-footer__reach li:nth-child(1) { --d: 0.18s; }
	.sk-footer__reach li:nth-child(2) { --d: 0.28s; }

	.sk-footer__grid > :nth-child(1) { --d: 0s; }
	.sk-footer__grid > :nth-child(2) { --d: 0.12s; }
	.sk-footer__grid > :nth-child(3) { --d: 0.24s; }
	.sk-footer__grid > :nth-child(4) { --d: 0.36s; }

	.sk-footer__grid li:nth-child(1) { --d: 0.3s; }
	.sk-footer__grid li:nth-child(2) { --d: 0.38s; }
	.sk-footer__grid li:nth-child(3) { --d: 0.46s; }
	.sk-footer__grid li:nth-child(4) { --d: 0.54s; }
	.sk-footer__grid li:nth-child(5) { --d: 0.62s; }
	.sk-footer__grid li:nth-child(n+6) { --d: 0.7s; }

	.sk-footer__bar > :nth-child(1) { --d: 0.1s; }
	.sk-footer__bar > :nth-child(2) { --d: 0.2s; }
	.sk-footer__bar > :nth-child(3) { --d: 0.3s; }
}

/* ---------- Header "Book A Visit" button: soft light that keeps sweeping across, no hover needed ---------- */

.sk-header__cta.sk-btn {
	border-color: rgba(194, 180, 156, 0.4);
	background: linear-gradient(135deg, #2a2e32 0%, #181b1e 70%);
	box-shadow: 0 10px 24px -14px rgba(24, 27, 30, 0.7);
	transition: box-shadow 0.4s var(--sk-ease), border-color 0.4s var(--sk-ease), translate 0.45s var(--sk-ease);
}

.sk-header__cta.sk-btn:hover {
	border-color: rgba(194, 180, 156, 0.85);
	box-shadow: 0 14px 28px -12px rgba(111, 100, 84, 0.65);
}

.sk-header__cta .sk-btn__long,
.sk-header__cta .sk-btn__short {
	position: relative;
	z-index: 1;
}

.sk-header__cta.sk-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.24) 50%, transparent 65%);
	translate: -120% 0;
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.sk-header__cta.sk-btn::before {
		animation: sk-cta-shine 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s infinite;
	}

	@keyframes sk-cta-shine {
		0%,
		20% {
			translate: -120% 0;
		}

		100% {
			translate: 120% 0;
		}
	}
}

/* ---------- Photo grade ----------
   The client's office photos are too warm and yellow (their words), so cool them
   here until the reshoot. Files are named by subject, which is what these selectors
   match. Delete this block when the new photography is in. */

:root {
	--sk-photo-grade: saturate(0.45) contrast(1.06) brightness(0.92);
	--sk-stock-grade: saturate(0.8) contrast(1.03);
	--sk-hero-grade: saturate(0.5) contrast(1.06) brightness(0.78);
}

img[src*="/reception-"],
img[src*="/treatment-room-"],
img[src*="/logo-wall-"],
img[src*="/retail-shelf-"],
img[src*="/consultation-nook-"] {
	filter: var(--sk-photo-grade);
}

/* Placeholder treatment photos are very orange: take the edge off. Never grade the before/after pair. */
img[src*="/story-"] {
	filter: var(--sk-stock-grade);
}

.sk-story__poster {
	filter: saturate(0.4) contrast(1.08) brightness(0.8);
}

.sk-hero .sk-hero__img {
	filter: var(--sk-hero-grade);
}

/* ---------- Gold buttons (matches the SK logo) ---------- */

:root {
	--sk-gold: #b8975f;
	--sk-gold-light: #d8be88;
	--sk-gold-deep: #8b6a3d;
	--sk-gold-ink: #17120d;
	--sk-gold-fill: linear-gradient(135deg, #c3a56e 0%, #dcc592 48%, #b08d57 100%);
	--sk-gold-fill-hover: linear-gradient(135deg, #cfb27c 0%, #e8d3a2 48%, #bd9a63 100%);
}

/* Solid buttons */
body .sk-btn--dark,
body .sk-header__cta.sk-btn,
body .sk-hero .sk-hero__btn:not(.sk-hero__btn--ghost),
body .elementor .sk-dm .sk-cta .elementor-button,
body .elementor .sk-dm .sk-cta--light .elementor-button,
body .elementor .sk-dm .sk-cta--brown .elementor-button,
body .sk-btn.sk-hero__btn:not(.sk-hero__btn--ghost),
body .wpcf7 input[type="submit"] {
	border-color: rgba(139, 106, 61, 0.55);
	background: var(--sk-gold-fill);
	color: var(--sk-gold-ink);
	box-shadow: 0 10px 24px -14px rgba(139, 106, 61, 0.8);
}

body .sk-btn--dark:hover,
body .sk-header__cta.sk-btn:hover,
body .sk-hero .sk-hero__btn:not(.sk-hero__btn--ghost):hover,
body .elementor .sk-dm .sk-cta .elementor-button:hover,
body .elementor .sk-dm .sk-cta--light .elementor-button:hover,
body .elementor .sk-dm .sk-cta--brown .elementor-button:hover,
body .wpcf7 input[type="submit"]:hover {
	border-color: rgba(139, 106, 61, 0.85);
	background: var(--sk-gold-fill-hover);
	color: var(--sk-gold-ink);
	box-shadow: 0 14px 28px -12px rgba(139, 106, 61, 0.9);
}

/* Outline and ghost buttons: gold edge, fill with gold on hover */
body .sk-btn--outline,
body .elementor .sk-dm .sk-cta--outline .elementor-button {
	border-color: var(--sk-gold);
	background: transparent;
	color: var(--sk-ink);
}

body .sk-btn--outline:hover,
body .elementor .sk-dm .sk-cta--outline .elementor-button:hover {
	border-color: var(--sk-gold);
	background: var(--sk-gold-fill);
	color: var(--sk-gold-ink);
}

body .elementor .sk-dm .sk-cta--ghost .elementor-button,
body .sk-hero .sk-hero__btn--ghost {
	border-color: var(--sk-gold-light);
	color: #fff;
}

body .elementor .sk-dm .sk-cta--ghost .elementor-button:hover,
body .sk-hero .sk-hero__btn--ghost:hover {
	border-color: var(--sk-gold-light);
	background: var(--sk-gold-fill);
	color: var(--sk-gold-ink);
}

/* Menu button */
body .sk-icon-btn:not(.sk-icon-btn--light) {
	background: var(--sk-gold-fill);
	color: var(--sk-gold-ink);
}

body .sk-icon-btn:not(.sk-icon-btn--light):hover {
	background: var(--sk-gold-fill-hover);
}

/* ---------- Header over a full-width hero (pages whose hero has the sk-hero-full class) ---------- */

body:has(.sk-hero-full) .sk-header {
	position: fixed;
	right: 0;
	left: 0;
	/* Frosted bar with a soft shadow, so it reads as a layer above the photo. */
	background: rgba(14, 16, 18, 0.28);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px -14px rgba(0, 0, 0, 0.55);
	transition: background-color 0.35s var(--sk-ease), box-shadow 0.3s var(--sk-ease);
}

body:has(.sk-hero-full) .sk-header.is-scrolled {
	background: var(--sk-cream);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: 0 1px 0 var(--sk-line), 0 8px 24px -16px rgba(29, 32, 35, 0.25);
}

body:has(.sk-hero-full) .sk-header:not(.is-scrolled) .sk-nav__list > li > a {
	color: rgba(255, 255, 255, 0.86);
}

body:has(.sk-hero-full) .sk-header:not(.is-scrolled) .sk-nav__list > li > a:hover,
body:has(.sk-hero-full) .sk-header:not(.is-scrolled) .sk-nav__list > .current-menu-item > a,
body:has(.sk-hero-full) .sk-header:not(.is-scrolled) .sk-nav__list > .current-menu-ancestor > a {
	color: #fff;
}

body:has(.sk-hero-full) .sk-header:not(.is-scrolled) .custom-logo {
	filter: brightness(1.45) saturate(0.85) drop-shadow(0 1px 10px rgba(10, 12, 14, 0.45));
}

.sk-footer__area {
	margin: 16px 0 0;
	font-size: 0.875em;
	line-height: 1.5;
	opacity: 0.8;
}

/* Footer: the address itself is the directions link; "Find us on Google / Yelp" as quiet text */
.sk-footer__details a.sk-footer__addr {
	display: inline-block;
	color: inherit;
}

.sk-footer__details a.sk-footer__addr:hover .sk-footer__link,
.sk-footer__details a.sk-footer__addr:focus-visible .sk-footer__link {
	color: #fff;
}

.sk-footer__find {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 16px 0 0;
	font-size: 0.9375em;
	line-height: 1.5;
}

.sk-footer__find > span:first-child {
	opacity: 0.7;
}

.sk-footer__find a {
	display: inline-block;
	padding: 4px 0;
	color: var(--sk-footer-gold);
	border-bottom: 1px solid currentColor;
	transition: color 0.25s var(--sk-ease);
}

.sk-footer__find a:hover,
.sk-footer__find a:focus-visible {
	color: #fff;
}

@media (max-width: 900px) {
	/* Comfortable thumb target: padding grows, the underline stays hugging the word */
	.sk-footer__find a {
		padding: 10px 2px;
		margin: -6px 0;
		background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 9px) / 100% 1px;
		border-bottom: 0;
	}
}
