@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Cormorant+Garamond:ital@1&display=swap');

/* 20 — Home vibe cards SYSTEM look (Debussy mock Leo-OK 2026-10-05)
   Taller ~1.1:1 · name+tagline OVER card · hover zoom+shadow · Home pane subheads off.
   Title-centering: tab titles stay centered above their pane items (existing .vs-hm__row rules). */

/* Hide retired Home pane subheads if any markup remains. */
.vs-hm .vs-hm__pane > .vs-hm__sub {
	display: none !important;
}

/* Three equal cards spanning the menu-line width. */
.vs-hm .vs-hm__pane > .vs-hm__cards--overlay {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.55rem, 1.4vw, 1rem);
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-hm .vs-hm__cards--overlay > .vs-hm__card {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

.vs-hm .vs-hm__cards--overlay .vs-hm__card-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1.1 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: #08080a;
	box-shadow: 0 0 0 1px rgba(155, 92, 255, 0.18);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vs-hm .vs-hm__cards--overlay .vs-hm__card-img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	margin: 0;
	object-fit: cover;
	object-position: center 40%;
	transition: transform 0.3s ease;
}

/* Bottom overlay: bone name + purple hairline + italic tagline. */
.vs-hm .vs-hm__cards--overlay .vs-hm__card-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: clamp(0.75rem, 2.2vw, 1.15rem) clamp(0.5rem, 1.5vw, 0.9rem) clamp(0.65rem, 1.8vw, 1rem);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.vs-hm .vs-hm__cards--overlay .vs-hm__card-title {
	display: block;
	margin: 0;
	padding: 0;
	color: #ece6dc;
	font-family: Cinzel, "Times New Roman", serif;
	font-size: clamp(0.78rem, 1.35vw, 1.05rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.vs-hm .vs-hm__cards--overlay .vs-hm__card-rule {
	display: block;
	width: clamp(2rem, 8%, 3.5rem);
	height: 2px;
	margin: 0.4rem 0 0.35rem;
	background: #9b5cff;
	opacity: 0.9;
}

.vs-hm .vs-hm__cards--overlay .vs-hm__card-tagline {
	margin: 0;
	padding: 0;
	max-width: 100%;
	color: rgba(200, 196, 190, 0.92);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(0.7rem, 1.1vw, 0.95rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Hover: slight zoom + soft shadow + sparse purple glow (desk only). */
@media (hover: hover) and (pointer: fine) {
	.vs-hm .vs-hm__cards--overlay > .vs-hm__card:hover .vs-hm__card-media,
	.vs-hm .vs-hm__cards--overlay > .vs-hm__card:focus-within .vs-hm__card-media {
		transform: translateY(-2px);
		box-shadow:
			0 10px 28px rgba(0, 0, 0, 0.55),
			0 0 18px rgba(155, 92, 255, 0.22),
			0 0 0 1px rgba(155, 92, 255, 0.28);
	}
	.vs-hm .vs-hm__cards--overlay > .vs-hm__card:hover .vs-hm__card-img,
	.vs-hm .vs-hm__cards--overlay > .vs-hm__card:focus-within .vs-hm__card-img {
		transform: scale(1.08);
	}
}

/* Phone: one column stack — same AR, keep overlay readable. */
@media (max-width: 767px) {
	.vs-hm .vs-hm__pane > .vs-hm__cards--overlay {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	.vs-hm .vs-hm__cards--overlay .vs-hm__card-title {
		font-size: 0.95rem;
	}
	.vs-hm .vs-hm__cards--overlay .vs-hm__card-tagline {
		font-size: 0.85rem;
	}
}

/* Override patch 19 under-card title/tagline when overlay markup is present. */
.vs-hm .vs-hm__cards--overlay > .vs-hm__card > .vs-hm__card-title,
.vs-hm .vs-hm__cards--overlay > .vs-hm__card > .vs-hm__card-tagline {
	display: none;
}
