/**
 * Beauty Suite — front-end styles for the plugin's blocks.
 * The theme owns page chrome; these styles are scoped to .vg-* components
 * so the content keeps working on any theme.
 */

/* ---------------------------------------------------------------- tokens */
:root {
	--vg-accent: #6E1423;        /* seasonal vibe, overridden inline by the plugin */
	--vg-accent-text: #6E1423;   /* AA-safe derivative, computed at save time */
	--vg-gold: #856628;
	--vg-gold-bright: #D4AF37;
	--vg-ink: #1A1817;
	--vg-paper: #F7F6F2;
}

/* =================================================================
   THE LIVING NAIL — hero
   The stage commits to its candlelit world on every theme.
   ================================================================= */
.vg-hero { position: relative; }

.vg-hero__track { height: 100vh; }

@media (min-width: 782px) and (pointer: fine) {
	/* Desktop: the ritual owns ~2.6 viewports of scroll; the stage stays pinned.
	   Extra specificity so the base .vg-hero__stage rule below cannot win. */
	.vg-hero__track { height: 260vh; }
	.vg-hero .vg-hero__track .vg-hero__stage { position: sticky; top: 0; }
}

.vg-hero__stage {
	position: relative;
	height: 100vh;
	min-height: 560px;
	display: grid;
	grid-template-columns: minmax(20rem, 36rem) 1fr;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(120% 95% at 62% 38%, var(--vg-depth-top, #281D13) 0%, var(--vg-depth-bottom, #0B0806) 78%);
	color: #EDE7DB;
}

.vg-hero__scene {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.vg-scene {
	width: min(72vw, 900px);
	height: auto;
	margin-right: -6vw;
}

.vg-hero__copy {
	position: relative;
	z-index: 2;
	grid-column: 1;
	padding: clamp(1.5rem, 5vw, 4.5rem);
	max-width: 36rem;
}

.vg-hero__eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vg-gold-bright);
	margin: 0 0 1rem;
}

.vg-hero__headline {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: var(--vg-headline-size, clamp(2.2rem, 5.4vw, 4rem));
	font-weight: 340;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #F4EEE2;
	margin: 0 0 1.1rem;
	text-wrap: balance;
}

.vg-hero__caption {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(237, 231, 219, 0.78);
	min-height: 3.2em;
	max-width: 26rem;
	margin: 0 0 1.4rem;
}

.vg-hero__chips {
	display: flex;
	gap: 0.7rem;
	margin-bottom: 1.8rem;
}

/* Text-container alignment (the copy column only — never the full stage) */
.vg-hero__copy--align-center { text-align: center; }
.vg-hero__copy--align-center .vg-hero__chips { justify-content: center; }
.vg-hero__copy--align-center .vg-hero__caption { margin-inline: auto; }
.vg-hero__copy--align-right { text-align: right; }
.vg-hero__copy--align-right .vg-hero__chips { justify-content: flex-end; }
.vg-hero__copy--align-right .vg-hero__caption { margin-left: auto; }
.vg-hero__still-inner.vg-hero__copy--align-left { text-align: left; align-items: flex-start; }
.vg-hero__still-inner.vg-hero__copy--align-right { text-align: right; align-items: flex-end; }

.vg-hero__chip {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 1px solid rgba(237, 231, 219, 0.35);
	background: var(--chip, #F6F1E8);
	cursor: pointer;
	padding: 0;
	transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.35s ease;
}

.vg-hero__chip:hover { transform: translateY(-4px) scale(1.08); }

.vg-hero__chip.is-active {
	box-shadow: 0 0 0 2px var(--vg-depth-bottom, #0B0806), 0 0 0 4px var(--vg-gold-bright);
}

.vg-hero__chip:focus-visible {
	outline: 2px solid var(--vg-gold-bright);
	outline-offset: 3px;
}

.vg-cta {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: #F4EEE2;
	background: var(--vg-accent);
	border: 1px solid transparent;
	padding: 0.9rem 1.8rem;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.vg-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -14px var(--vg-accent);
}

.vg-hero__cta { opacity: 0; transform: translateY(10px); pointer-events: none; }

.vg-hero__stage[data-act="5"] .vg-hero__cta {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

/* No-JS / reduced-motion: the CTA must always be reachable. */
.vg-hero--static .vg-hero__cta,
.no-js .vg-hero__cta { opacity: 1; transform: none; pointer-events: auto; }

/* Act rail */
.vg-hero__rail {
	position: absolute;
	z-index: 2;
	right: clamp(1rem, 3vw, 2.5rem);
	top: 50%;
	transform: translateY(-50%);
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.vg-hero__act {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-align: left;
	background: none;
	border: none;
	border-right: 2px solid transparent;
	color: rgba(237, 231, 219, 0.55);
	padding: 0.45rem 0.9rem;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.vg-hero__act-n {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-style: italic;
	color: var(--vg-gold-bright);
	margin-right: 0.5em;
}

.vg-hero__act.is-active {
	color: #F4EEE2;
	font-weight: 650;
	border-right-color: var(--vg-gold-bright);
}

.vg-hero__act:focus-visible { outline: 2px solid var(--vg-gold-bright); outline-offset: 2px; }

/* Progress meniscus */
.vg-hero__meniscus {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: rgba(212, 175, 55, 0.18);
}

.vg-hero__meniscus-fill {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--vg-gold-bright), #F2DFA0);
	transition: width 0.4s ease-out;
}

/* -----------------------------------------------------------------
   Still hero (ritual disabled) — the editorial cover.
   Admin-chosen photograph behind a velvet scrim with a slow Ken Burns
   drift; without a photo, the candlelit velvet gradient + breathing
   glow keep it luxurious.
   ----------------------------------------------------------------- */
.vg-hero--still {
	position: relative;
	min-height: min(92vh, 60rem);
	display: grid;
	place-items: center;
	overflow: hidden;
	background: radial-gradient(120% 95% at 50% 38%, var(--vg-depth-top, #281D13) 0%, var(--vg-depth-bottom, #0B0806) 78%);
	color: #F4EEE2;
	padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 6vw, 5rem);
}

.vg-hero__still-media {
	position: absolute;
	inset: -4%;
	background-size: cover;
	background-position: center;
}

@media (prefers-reduced-motion: no-preference) {
	.vg-hero__still-media { animation: vg-kenburns 26s ease-in-out infinite alternate; }
}

@keyframes vg-kenburns {
	from { transform: scale(1) translateY(0); }
	to { transform: scale(1.07) translateY(-1.5%); }
}

.vg-hero__still-media--velvet { inset: 0; animation: none; }

.vg-hero__still-glow {
	position: absolute;
	left: 50%;
	top: 42%;
	width: min(60vw, 40rem);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--vg-glow, #E2C25B) 26%, transparent) 0%, transparent 65%);
	animation: vg-breathe 7s ease-in-out infinite alternate;
}

.vg-hero__still-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(8, 5, 3, 0.78) 0%, rgba(8, 5, 3, 0.25) 45%, rgba(8, 5, 3, 0.35) 100%),
		radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(8, 5, 3, 0.55) 100%);
}

.vg-hero__still-inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vg-hero--still .vg-hero__headline {
	color: #F7F1E5;
	/* The owner's px size wins here too — only the fallback differs. */
	font-size: var(--vg-headline-size, clamp(2.6rem, 6.5vw, 4.8rem));
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.vg-hero--still .vg-hero__caption {
	color: rgba(244, 238, 226, 0.85);
	font-size: 1.08rem;
	letter-spacing: 0.02em;
	min-height: 0;
	max-width: 32rem;
	margin-bottom: 2rem;
}

.vg-hero__still-meniscus {
	width: 5.5rem;
	height: 3px;
	margin: 0.4rem 0 1.2rem;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--vg-gold-bright), transparent);
}

.vg-hero__still-cta {
	background: transparent;
	border: 1px solid rgba(212, 175, 55, 0.75);
	color: #F2DFA0;
}

.vg-hero__still-cta:hover {
	background: var(--vg-gold-bright);
	color: #171207;
	box-shadow: 0 14px 32px -16px var(--vg-gold-bright);
}

@media (max-width: 781px) {
	.vg-hero__stage {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr auto;
		min-height: 100svh;
	}
	.vg-hero__scene { position: relative; grid-row: 1; align-items: flex-end; justify-content: center; }
	.vg-scene { width: min(120vw, 560px); margin-right: 0; }
	.vg-hero__copy { grid-row: 2; padding-bottom: 4.5rem; }
	.vg-hero__rail {
		top: auto;
		bottom: 0.9rem;
		right: 50%;
		transform: translateX(50%);
		flex-direction: row;
	}
	.vg-hero__act { border-right: none; border-bottom: 2px solid transparent; padding: 0.35rem 0.5rem; }
	.vg-hero__act.is-active { border-bottom-color: var(--vg-gold-bright); }
	.vg-hero__act span + * { display: none; }
}

/* ----------------------------------------------------------- scene rig */
.vg-scene .vg-amb { transform-box: fill-box; transform-origin: center; animation: vg-breathe 7s ease-in-out infinite alternate; }
.vg-scene .vg-bokeh { transform-box: fill-box; animation: vg-drift 16s ease-in-out infinite alternate; }
.vg-scene .vg-b2 { animation-duration: 21s; animation-delay: -6s; }
.vg-scene .vg-b3 { animation-duration: 13s; animation-delay: -3s; }
.vg-scene .vg-b4 { animation-duration: 24s; animation-delay: -10s; }
.vg-scene .vg-b5 { animation-duration: 18s; animation-delay: -8s; }
.vg-hero--no-bokeh .vg-bokeh-set { display: none; }

.vg-scene .vg-cuticle { stroke: #E2C25B; stroke-width: 2.4; fill: none; opacity: 0; stroke-dasharray: 46; stroke-dashoffset: 46; stroke-linecap: round; }
.vg-scene .vg-tipline { stroke: #46231480; stroke-width: 1.6; fill: none; opacity: 0; stroke-dasharray: 40; stroke-dashoffset: 40; stroke-linecap: round; }
.vg-scene .vg-frtip { stroke: var(--vg-tip, #F6F1E8); stroke-width: 8; fill: none; stroke-linecap: round; stroke-dasharray: 48; stroke-dashoffset: 48; opacity: 0; }
.vg-scene .vg-polish { fill: var(--vg-base, #F5D9D6); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.vg-scene .vg-blob,
.vg-scene .vg-drop,
.vg-scene .vg-bristles { fill: var(--vg-base, #F5D9D6); }
.vg-scene .vg-blob { opacity: 0; transform-box: fill-box; transform-origin: center; }
.vg-scene .vg-drop { opacity: 0; transform-box: fill-box; }
.vg-scene .vg-gloss, .vg-scene .vg-sheen { opacity: 0; transform-box: fill-box; }
.vg-scene .vg-shine { fill: #FFFFFF; opacity: 0; transition: opacity 0.9s ease; }
.vg-scene .vg-tool, .vg-scene .vg-brush { opacity: 0; transform-box: fill-box; }
.vg-scene .vg-bloom { opacity: 0; transform-box: fill-box; transform-origin: center; }
.vg-scene .vg-spark { opacity: 0; transform-box: fill-box; transform-origin: center; fill: #F2DFA0; }
.vg-scene .vg-donenail { stroke: var(--vg-tip, #F6F1E8); fill: none; opacity: 0.9; }

/* Solid design program: the whole nail carries the chosen tint, no tip band. */
.vg-hero[data-design="solid"] .vg-scene .vg-polish,
.vg-hero[data-design="solid"] .vg-scene .vg-blob,
.vg-hero[data-design="solid"] .vg-scene .vg-drop,
.vg-hero[data-design="solid"] .vg-scene .vg-bristles { fill: var(--vg-tip, #F5D9D6); }
.vg-hero[data-design="solid"] .vg-scene .vg-frtip,
.vg-hero[data-design="solid"] .vg-scene .vg-tipline { display: none; }
.vg-hero[data-design="solid"] .vg-scene .vg-donenail { stroke-width: 0; }

/* Acts */
.vg-hero__stage[data-act="2"] .vg-cuticle,
.vg-hero__stage[data-act="3"] .vg-cuticle,
.vg-hero__stage[data-act="4"] .vg-cuticle,
.vg-hero__stage[data-act="5"] .vg-cuticle { opacity: 1; }
.vg-hero__stage[data-act="2"] .vg-cuticle { animation: vg-draw46 1.4s 0.5s ease forwards; }
.vg-hero__stage[data-act="3"] .vg-cuticle,
.vg-hero__stage[data-act="4"] .vg-cuticle,
.vg-hero__stage[data-act="5"] .vg-cuticle { stroke-dashoffset: 0; }
.vg-hero__stage[data-act="2"] .vg-tool { animation: vg-tool 2.6s ease-in-out 0.1s; }

.vg-hero__stage[data-act="3"] .vg-brush { animation: vg-brush 2.8s ease-in-out; }
.vg-hero__stage[data-act="3"] .vg-drop { animation: vg-dropfall 0.9s ease-in 0.8s; }
.vg-hero__stage[data-act="3"] .vg-blob { animation: vg-blob 1.4s ease 1.2s forwards; }
.vg-hero__stage[data-act="3"] .vg-polish { animation: vg-paint 1.7s 2s ease forwards; }
.vg-hero__stage[data-act="4"] .vg-polish,
.vg-hero__stage[data-act="5"] .vg-polish { opacity: 0.86; }
.vg-hero__stage[data-act="3"] .vg-shine,
.vg-hero__stage[data-act="4"] .vg-shine { opacity: 0.3; transition-delay: 2.8s; }
.vg-hero__stage[data-act="4"] .vg-shine { transition-delay: 0.4s; }

.vg-hero__stage[data-act="4"] .vg-frtip,
.vg-hero__stage[data-act="5"] .vg-frtip { opacity: 1; }
.vg-hero__stage[data-act="4"] .vg-frtip { animation: vg-tipdraw 1.7s 0.3s ease forwards; }
.vg-hero__stage[data-act="5"] .vg-frtip { stroke-dashoffset: 0; }
.vg-hero__stage[data-act="4"] .vg-tipline,
.vg-hero__stage[data-act="5"] .vg-tipline { opacity: 0.9; }
.vg-hero__stage[data-act="4"] .vg-tipline { animation: vg-draw40 1.1s 1.7s ease forwards; }
.vg-hero__stage[data-act="5"] .vg-tipline { stroke-dashoffset: 0; }
.vg-hero__stage[data-act="4"] .vg-sheen,
.vg-hero__stage[data-act="5"] .vg-sheen { opacity: 0.2; transition: opacity 0.9s ease 0.9s; }

.vg-hero__stage[data-act="5"] .vg-gloss { animation: vg-sweep 1.2s 0.2s ease-in-out; }
.vg-hero__stage[data-act="5"] .vg-polish { filter: brightness(1.16) saturate(1.15); transition: filter 1s ease 0.5s; }
.vg-hero__stage[data-act="5"] .vg-shine { opacity: 0.55; transition-delay: 0.9s; }
.vg-hero__stage[data-act="5"] .vg-bloom { animation: vg-bloom 2.6s ease forwards; }
.vg-hero__stage[data-act="5"] .vg-spark { animation: vg-spark 2.8s ease-in-out 0.8s infinite; }
.vg-hero__stage[data-act="5"] .vg-s2 { animation-delay: 1.5s; }
.vg-hero__stage[data-act="5"] .vg-s3 { animation-delay: 2.1s; }

@keyframes vg-breathe { from { opacity: 0.55; transform: scale(0.96); } to { opacity: 0.9; transform: scale(1.06); } }
@keyframes vg-drift { from { transform: translateY(12px); } to { transform: translateY(-18px); } }
@keyframes vg-draw46 { from { stroke-dashoffset: 46; } to { stroke-dashoffset: 0; } }
@keyframes vg-draw40 { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes vg-tipdraw { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
@keyframes vg-tool {
	0% { opacity: 0; transform: translate(-70px, -50px) rotate(-8deg); }
	25% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(11px, 5px) rotate(0deg); }
	72% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
	100% { opacity: 0; transform: translate(-70px, -50px) rotate(-8deg); }
}
@keyframes vg-brush {
	0% { opacity: 0; transform: translate(70px, -90px) rotate(10deg); }
	26% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
	55% { transform: translate(0, 5px) rotate(0deg); }
	78% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
	100% { opacity: 0; transform: translate(70px, -90px) rotate(10deg); }
}
@keyframes vg-dropfall {
	0% { opacity: 0; transform: translateY(-24px) scale(0.6); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateY(8px) scale(1.15); }
}
@keyframes vg-blob {
	0% { opacity: 0; transform: scale(0.4, 0.8); }
	35% { opacity: 1; transform: scale(0.75, 1.05); }
	75% { opacity: 1; transform: scale(1.55, 0.4); }
	100% { opacity: 0; transform: scale(2.3, 0.12); }
}
@keyframes vg-paint {
	0% { opacity: 0; transform: scaleY(0.12); }
	40% { opacity: 0.86; }
	100% { opacity: 0.86; transform: scaleY(1); }
}
@keyframes vg-sweep {
	0% { opacity: 0; transform: translateX(-46px) skewX(-12deg); }
	15% { opacity: 1; }
	85% { opacity: 1; }
	100% { opacity: 0; transform: translateX(60px) skewX(-12deg); }
}
@keyframes vg-bloom {
	0% { opacity: 0; transform: scale(0.5); }
	35% { opacity: 0.65; }
	100% { opacity: 0.32; transform: scale(1.15); }
}
@keyframes vg-spark {
	0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
	45% { opacity: 0.95; transform: scale(1) rotate(24deg); }
}

@media (prefers-reduced-motion: reduce) {
	.vg-scene *, .vg-hero__chip, .vg-cta { animation: none !important; transition: none !important; }
	.vg-hero__track { height: auto !important; }
	.vg-hero__stage { position: relative !important; }
}

/* =================================================================
   Booking facade
   ================================================================= */
.vg-booking--inline { border: 1px solid rgba(140, 109, 46, 0.28); background: #FFFFFF; }

.vg-booking__facade { position: relative; padding: clamp(1.5rem, 4vw, 3rem); text-align: center; }

.vg-booking__meniscus {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 5rem;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--vg-gold-bright), transparent);
	border-radius: 0 0 3px 3px;
}

.vg-booking__title {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: 1.6rem;
	font-weight: 420;
	margin: 0 0 0.6rem;
}

.vg-booking__notice { font-size: 0.85rem; opacity: 0.7; max-width: 30rem; margin: 0 auto 1.4rem; }

.vg-booking__frame { padding: 0 1.5rem 1.5rem; }
.vg-booking--floating .vg-booking__facade { padding-bottom: 2rem; }

.vg-booking--unconfigured {
	border: 1px dashed rgba(140, 109, 46, 0.5);
	padding: 1.2rem 1.5rem;
	font-size: 0.9rem;
}

/* =================================================================
   Carousel — the shared slider shell for every section's items
   ================================================================= */
.vg-carousel { position: relative; }

.vg-carousel__track {
	display: flex;
	align-items: stretch;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.5rem 0.25rem 1.25rem;
	scrollbar-width: none;
}

.vg-carousel__track::-webkit-scrollbar { display: none; }

.vg-carousel__track > * {
	scroll-snap-align: start;
	flex: 0 0 clamp(15rem, 21vw, 19rem);
}

/* House rules slider: one block of four rules per slide. */
.vg-carousel__track.vg-rules-track > * {
	flex: 0 0 100%;
	max-width: 100%;
}

.vg-carousel__track:focus-visible {
	outline: 2px solid var(--vg-gold-bright);
	outline-offset: 4px;
}

.vg-carousel__btn {
	position: absolute;
	top: 42%;
	z-index: 3;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(140, 109, 46, 0.5);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(6px);
	color: var(--vg-gold);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
	box-shadow: 0 14px 30px -18px rgba(26, 24, 23, 0.55);
}

.vg-carousel__btn:hover { background: var(--vg-gold-bright); border-color: var(--vg-gold-bright); color: #171207; }
.vg-carousel__btn:focus-visible { outline: 2px solid var(--vg-gold-bright); outline-offset: 3px; }
.vg-carousel__btn[disabled] { opacity: 0.3; cursor: default; }
.vg-carousel__btn[disabled]:hover { background: rgba(255, 255, 255, 0.85); color: var(--vg-gold); border-color: rgba(140, 109, 46, 0.5); }
.vg-carousel__btn--prev { left: -0.8rem; }
.vg-carousel__btn--next { right: -0.8rem; }

/* On the velvet exhibition wall, the arrows go dark-glass and gold. */
.vg-section--velvet .vg-carousel__btn {
	background: rgba(20, 15, 10, 0.7);
	border-color: rgba(212, 175, 55, 0.55);
	color: var(--vg-gold-bright);
}

.vg-section--velvet .vg-carousel__btn:hover { background: var(--vg-gold-bright); color: #171207; }

/* Ghost CTA — the centered card booking button */
.vg-cta--ghost {
	background: transparent;
	border: 1px solid rgba(140, 109, 46, 0.55);
	color: var(--vg-accent-text, var(--vg-gold));
	padding: 0.75rem 1.6rem;
}

.vg-cta--ghost:hover {
	background: var(--vg-accent);
	border-color: var(--vg-accent);
	color: #F4EEE2;
	box-shadow: 0 12px 28px -14px var(--vg-accent);
}

/* The card CTA: anchored to the bottom, full-width, hairline-separated,
   with a quiet arrow that slides in on hover. */
.vg-card-book {
	text-align: center;
	margin-top: auto;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(26, 24, 23, 0.08);
}

.vg-card-book .vg-cta {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
}

.vg-card-book .vg-cta::after {
	content: "→";
	display: inline-block;
	opacity: 0;
	transform: translateX(-6px);
	margin-left: 0.45em;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.vg-card-book .vg-cta:hover::after {
	opacity: 1;
	transform: translateX(0);
}

/* =================================================================
   Cards — the shared premium language (selvedge = gloss meniscus)
   ================================================================= */
.vg-artist-card, .vg-course-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid rgba(26, 24, 23, 0.09);
	padding: 1.6rem 1.5rem 1.5rem;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vg-artist-card:hover, .vg-course-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px -30px rgba(26, 24, 23, 0.45);
}

.vg-card-selvedge {
	position: absolute;
	top: 0;
	left: 1.5rem;
	width: 3.5rem;
	height: 3px;
	background: linear-gradient(90deg, var(--vg-gold-bright), transparent);
}

.vg-artist-card__name, .vg-course-card__title {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: 1.35rem;
	font-weight: 460;
	margin: 0 0 0.5rem;
}

.vg-artist-card__name a, .vg-course-card__title a { text-decoration: none; color: inherit; }

/* Artists */
.vg-artist-card__media img { width: 100%; height: auto; display: block; filter: saturate(0.92); }
.vg-artist-card__media { margin: 0 0 1rem; }
.vg-artist-card__role { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; margin: 0 0 0.4rem; }
.vg-artist-card__ig { font-size: 0.85rem; color: var(--vg-gold); text-decoration: none; }

/* =================================================================
   Lookbook — horizontal exhibition strip
   ================================================================= */
/* The lookbook track rides the shared carousel shell; only spacing differs. */
.vg-lookbook__track { gap: 1.25rem; }

.vg-look { margin: 0; }

.vg-look__media { display: block; overflow: hidden; }

.vg-look__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.6s ease;
}

.vg-look:hover .vg-look__media img { transform: scale(1.04); filter: saturate(1.08); }

.vg-look__caption {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	padding-top: 0.7rem;
	font-size: 0.88rem;
}

.vg-look__title { font-weight: 650; }
.vg-look__finish { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }

.vg-look__book {
	margin-left: auto;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--vg-gold);
	white-space: nowrap;
}

/* =================================================================
   House rules — the ritual, numbered
   ================================================================= */
.vg-rules {
	list-style: none;
	counter-reset: vg-rule;
	margin: 0;
	padding: 0;
	max-width: 44rem;
}

.vg-rule {
	counter-increment: vg-rule;
	position: relative;
	padding: 1.4rem 0 1.4rem 4rem;
	border-top: 1px solid rgba(26, 24, 23, 0.1);
}

.vg-rule::before {
	content: counter(vg-rule, lower-roman);
	position: absolute;
	left: 0;
	top: 1.2rem;
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-style: italic;
	font-size: 1.8rem;
	font-weight: 340;
	color: var(--vg-gold);
}

.vg-rule__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.3rem; }
.vg-rule__body { margin: 0; font-size: 0.95rem; opacity: 0.8; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* =================================================================
   SECTION SHELL — every module renders its own complete section.
   Empty module = no section at all.
   ================================================================= */
.vg-section {
	padding: clamp(3.5rem, 9vh, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.vg-section__inner {
	/* The salon floor: 80% of the viewport, centered, capped for very wide screens. */
	width: min(80%, 84rem);
	margin-inline: auto;
}

@media (max-width: 781px) {
	.vg-section__inner { width: 100%; }
}

.vg-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.vg-section__eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vg-accent-text, var(--vg-gold));
	margin: 0 0 0.8rem;
}

.vg-section__title {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: clamp(1.9rem, 4.2vw, 2.9rem);
	font-weight: 380;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0;
	position: relative;
	padding-bottom: 0.7rem;
	text-wrap: balance;
}

.vg-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 4.5rem;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--vg-gold-bright), transparent);
}

.vg-section__intro {
	max-width: 38rem;
	margin: 1rem 0 0;
	font-size: 0.98rem;
	opacity: 0.78;
}

.vg-section__link {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--vg-accent-text, var(--vg-gold));
	white-space: nowrap;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid rgba(140, 109, 46, 0.35);
	transition: border-color 0.25s ease;
}

.vg-section__link:hover { border-bottom-color: var(--vg-gold-bright); }

/* Velvet band — the exhibition wall. Commits to the candlelit world. */
.vg-section--velvet {
	background:
		radial-gradient(110% 90% at 50% 0%, #241B12 0%, #14100B 60%, #0C0906 100%);
	color: #EDE7DB;
}

.vg-section--velvet .vg-section__title { color: #F4EEE2; }
.vg-section--velvet .vg-section__intro { color: rgba(237, 231, 219, 0.7); opacity: 1; }
.vg-section--velvet .vg-section__eyebrow { color: var(--vg-gold-bright); }

/* ------------------------------------------------ lookbook, on the wall */
.vg-section--lookbook .vg-look__title { color: #F4EEE2; }
.vg-section--lookbook .vg-look__finish { color: rgba(237, 231, 219, 0.6); opacity: 1; }
.vg-section--lookbook .vg-look__book { color: var(--vg-gold-bright); }

.vg-look { position: relative; }

.vg-look__num {
	position: absolute;
	top: -1.6em;
	left: 0;
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--vg-gold-bright);
	opacity: 0.85;
}

.vg-section--lookbook .vg-lookbook__track { padding-top: 2rem; }

.vg-look__media {
	box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.85);
}

.vg-carousel__track.vg-lookbook__track > .vg-look {
	flex: 0 0 clamp(15rem, 26vw, 21rem);
}

/* ------------------------------------------------ artists refinement */
.vg-artist-card__media img { aspect-ratio: 4 / 5; object-fit: cover; }

.vg-artist-card__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.6rem;
	padding-top: 0.7rem;
	border-top: 1px solid rgba(26, 24, 23, 0.08);
}

.vg-artist-card__certs {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.55;
}

/* ------------------------------------------------ courses */
.vg-course-card { padding: 0 0 1.3rem; overflow: hidden; }

.vg-course-card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

.vg-course-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1rem 1.2rem 0;
}

/* Shared card numeral — the course card set the standard. */
.vg-card-num {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-style: italic;
	font-size: 1.3rem;
	font-weight: 340;
	color: rgba(212, 175, 55, 0.7);
	line-height: 1;
	margin-bottom: 0.35rem;
}

.vg-course-card__excerpt {
	font-size: 0.85rem;
	opacity: 0.78;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Full course experience (Nyumbani Course renders its own UI) */
.vg-courses-full { margin-top: 0.5rem; }

/* Gallery embed (Nyumbani Gallery renders its own grid + lightbox) */
.vg-gallery-embed { margin-top: 0.5rem; }

/* Services embed (Nyumbani Services renders its own cards + modal) */
.vg-services-embed { margin-top: 0.5rem; }

/* -----------------------------------------------------------------
   Front-page services slider: LAYOUT ONLY. The plugin's .ngs-card
   design is untouched — these rules exist solely inside .vg-carousel
   and only turn the plugin's grid into a snap-scrolling track with
   equal-height slides.
   ----------------------------------------------------------------- */
.vg-carousel .ngs-grid {
	display: flex !important;
	align-items: stretch;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.5rem 0.25rem 1.25rem;
	scrollbar-width: none;
}

.vg-carousel .ngs-grid::-webkit-scrollbar { display: none; }

.vg-carousel .ngs-grid > .ngs-card {
	flex: 0 0 clamp(16rem, 22vw, 20rem);
	width: auto;
	max-width: none;
	margin: 0;
	scroll-snap-align: start;
}

/* =================================================================
   Deposit (Mollie) + payment status
   ================================================================= */
.vg-deposit {
	max-width: 34rem;
	margin-inline: auto;
	background: #FFFFFF;
	border: 1px solid rgba(26, 24, 23, 0.09);
	border-top: 3px solid var(--vg-gold-bright);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	text-align: center;
}

.vg-deposit__lead { font-size: 0.95rem; opacity: 0.8; margin: 0 0 1.2rem; }

.vg-deposit__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0 1.2rem;
	text-align: left;
}

.vg-deposit__actions { margin-top: 0.4rem; }

.vg-deposit__note { font-size: 0.78rem; opacity: 0.6; margin: 0.9rem 0 0; }

.vg-paystatus {
	max-width: 34rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vg-paystatus__mark {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-bottom: 1.4rem;
	border: 1px solid rgba(140, 109, 46, 0.45);
	position: relative;
}

.vg-paystatus__mark::after {
	font-size: 1.6rem;
	font-family: var(--wp--preset--font-family--display, Georgia, serif);
}

.vg-paystatus__mark--paid { background: rgba(212, 175, 55, 0.14); }
.vg-paystatus__mark--paid::after { content: "✓"; color: var(--vg-gold); }
.vg-paystatus__mark--open::after, .vg-paystatus__mark--pending::after { content: "…"; color: var(--vg-gold); }
.vg-paystatus__mark--failed::after, .vg-paystatus__mark--canceled::after, .vg-paystatus__mark--expired::after { content: "✕"; color: #9C2B3E; }

.vg-paystatus__title {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: clamp(1.7rem, 4vw, 2.4rem);
	font-weight: 400;
	margin: 0;
}

.vg-paystatus__body { max-width: 28rem; opacity: 0.8; }

.vg-paystatus__amount {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: 2rem;
	color: var(--vg-accent-text, var(--vg-gold));
	margin: 0.4rem 0;
}

.vg-paystatus__note { font-size: 0.85rem; opacity: 0.65; }

/* =================================================================
   PHILOSOPHY — re-engineered, mobile-first.

   Base styles (no media query) ARE the phone layout: everything
   stacked and centered, the photograph below the words by source
   order. Desktop is an enhancement layered on top via ONE media
   query keyed off a single data-align attribute — no class
   combinations, no specificity races.
   ================================================================= */
.vg-philo {
	padding: clamp(3.5rem, 9vh, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.vg-philo__inner {
	max-width: 46rem;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.4rem;
	text-align: center;
}

.vg-philo__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 38rem;
}

.vg-philo__quote {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-style: italic;
	font-weight: 380;
	font-size: var(--vg-quote-size, clamp(1.5rem, 3.6vw, 2.2rem));
	line-height: 1.25;
	text-wrap: balance;
	margin: 0.9rem 0 0;
}

.vg-philo__rule {
	display: block;
	width: 5rem;
	height: 3px;
	border-radius: 3px;
	margin: 1.7rem auto;
	background: linear-gradient(90deg, transparent, var(--vg-gold-bright), transparent);
}

.vg-philo__body {
	margin: 0;
	opacity: 0.8;
}

/* The arched, champagne-framed photograph — compact on phones. */
.vg-philo__media {
	margin: 0;
	width: min(70vw, 17rem);
	position: relative;
	flex: none;
}

.vg-philo__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	border-radius: 9rem 9rem 0 0;
	box-shadow: 0 40px 70px -40px rgba(26, 24, 23, 0.55);
}

.vg-philo__media::before {
	content: "";
	position: absolute;
	inset: -10px;
	border: 1px solid rgba(212, 175, 55, 0.55);
	border-radius: 10rem 10rem 0 0;
	pointer-events: none;
}

/* ---------- desktop enhancement: one media query, one attribute ---------- */
@media (min-width: 782px) {
	.vg-philo[data-align="left"] .vg-philo__inner--split,
	.vg-philo[data-align="right"] .vg-philo__inner--split {
		max-width: 72rem;
		display: grid;
		align-items: center;
		gap: clamp(2.5rem, 6vw, 5rem);
	}

	.vg-philo[data-align="left"] .vg-philo__inner--split {
		grid-template-columns: 1.15fr 0.85fr;
		text-align: left;
	}

	.vg-philo[data-align="right"] .vg-philo__inner--split {
		grid-template-columns: 0.85fr 1.15fr;
		text-align: right;
	}

	/* Copy stays first in the DOM; grid placement puts it on the chosen
	   side. Left: copy col 1 (natural). Right: copy col 2, photo col 1. */
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__copy { grid-column: 2; grid-row: 1; }
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__media { grid-column: 1; grid-row: 1; }

	.vg-philo[data-align="left"] .vg-philo__inner--split .vg-philo__copy { align-items: flex-start; }
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__copy { align-items: flex-end; }
	.vg-philo[data-align="left"] .vg-philo__inner--split .vg-philo__rule { margin-left: 0; }
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__rule { margin-right: 0; }

	.vg-philo[data-align="left"] .vg-philo__inner--split .vg-philo__media,
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__media {
		width: 100%;
		max-width: 24rem;
		justify-self: center;
	}

	.vg-philo[data-align="left"] .vg-philo__inner--split .vg-philo__media img,
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__media img {
		border-radius: 12rem 12rem 0 0;
	}

	.vg-philo[data-align="left"] .vg-philo__inner--split .vg-philo__media::before,
	.vg-philo[data-align="right"] .vg-philo__inner--split .vg-philo__media::before {
		inset: -14px;
		border-radius: 13rem 13rem 0 0;
	}

	/* Text-only alignment (no photo): align the stacked copy. */
	.vg-philo[data-align="left"] .vg-philo__inner:not(.vg-philo__inner--split) { text-align: left; align-items: flex-start; }
	.vg-philo[data-align="left"] .vg-philo__inner:not(.vg-philo__inner--split) .vg-philo__copy { align-items: flex-start; }
	.vg-philo[data-align="left"] .vg-philo__inner:not(.vg-philo__inner--split) .vg-philo__rule { margin-left: 0; }
	.vg-philo[data-align="right"] .vg-philo__inner:not(.vg-philo__inner--split) { text-align: right; align-items: flex-end; }
	.vg-philo[data-align="right"] .vg-philo__inner:not(.vg-philo__inner--split) .vg-philo__copy { align-items: flex-end; }
	.vg-philo[data-align="right"] .vg-philo__inner:not(.vg-philo__inner--split) .vg-philo__rule { margin-right: 0; }
}

/* Signature — the script face, gently rotated. */
.vg-signature {
	font-family: var(--wp--preset--font-family--signature, 'Great Vibes', 'Segoe Script', cursive);
	font-size: clamp(2.1rem, 5vw, 2.9rem);
	line-height: 1.1;
	color: var(--vg-accent-text, var(--vg-gold));
	margin: 1.4rem 0 0;
	transform: rotate(-3deg);
}

/* ------------------------------------------------ page banner */
.vg-page-banner img {
	width: 100%;
	object-fit: cover;
	display: block;
}

.vg-page-banner { margin: 0 !important; }

/* =================================================================
   Contact — info column + protected form
   ================================================================= */
.vg-contact {
	display: grid;
	grid-template-columns: minmax(15rem, 0.8fr) minmax(20rem, 1.4fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

@media (max-width: 781px) {
	.vg-contact { grid-template-columns: 1fr; }
}

.vg-contact__info-title {
	font-family: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	font-size: 1.3rem;
	font-weight: 460;
	margin: 0 0 1.2rem;
}

.vg-contact__row {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.8rem 0;
	border-top: 1px solid rgba(26, 24, 23, 0.08);
}

.vg-contact__label {
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vg-gold);
}

.vg-contact__value { font-size: 0.95rem; color: inherit; text-decoration: none; }

.vg-contact__form {
	background: #FFFFFF;
	border: 1px solid rgba(26, 24, 23, 0.09);
	border-top: 3px solid var(--vg-gold-bright);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.vg-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 0 1.2rem;
}

.vg-contact__field { margin: 0 0 1.1rem; }

.vg-contact__field label {
	display: block;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vg-ink);
	opacity: 0.65;
	margin-bottom: 0.4rem;
}

.vg-contact__field input,
.vg-contact__field textarea {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	color: var(--vg-ink);
	background: var(--vg-paper);
	border: 1px solid rgba(26, 24, 23, 0.14);
	border-radius: 0;
	padding: 0.75rem 0.9rem;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vg-contact__field input:focus,
.vg-contact__field textarea:focus {
	outline: none;
	border-color: var(--vg-gold);
	box-shadow: 0 0 0 1px var(--vg-gold);
}

.vg-contact__field textarea { resize: vertical; min-height: 8rem; }

/* Honeypot: off-canvas, never display:none (some bots skip hidden inputs). */
.vg-contact__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vg-contact__actions { text-align: center; margin: 0.4rem 0 0; }

.vg-contact__status { text-align: center; font-size: 0.9rem; margin: 0.9rem 0 0; min-height: 1.4em; }
.vg-contact__status.is-ok { color: #4E7A3A; font-weight: 600; }
.vg-contact__status.is-error { color: #9C2B3E; }

/* ------------------------------------------------ rules in columns */
@media (min-width: 900px) {
	.vg-rules {
		max-width: none;
		columns: 2;
		column-gap: 4rem;
	}
	.vg-rule { break-inside: avoid; }
}
