/*
 * Homepage Hero — literal reproduction of Website 7 / home_page_7.html's
 * "Hero Section: Asymmetrical Layout". Scoped to the homepage only
 * (body.log-frontpage / .mr7-*) — deliberately runs its own font pairing
 * (EB Garamond + Manrope) and near-square button radius, both different
 * from the pill/Cormorant system used sitewide, per explicit direction to
 * reproduce this reference literally on the home page only.
 *
 * Color values are the reference's own Material role hex codes (most are
 * numerically identical to our --plum-, --ink-, and --paper tokens anyway
 * — e.g. primary-container == --plum-950 == #1e1440 — written as literals
 * here so this file stays a faithful, self-contained copy of the source).
 *
 * Fonts (EB Garamond + Manrope) are enqueued as a real <link> in
 * functions-log-enqueue-pages.php, not via @import here — Chrome's CSS
 * parser silently drops an @import whose url() contains semicolons (this
 * family string has several, one per weight/style pair) AND the very next
 * rule in the file, which is exactly what caused .mr7-hero's own background
 * and min-height to go missing. Never reintroduce a semicolon-bearing
 * @import in this theme; enqueue the font as its own stylesheet instead.
 */

.mr7-hero {
	position: relative;
	min-height: 68vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 40px 24px;
	max-width: 1920px;
	margin: 0 auto;
	background: #f4eef9;
	font-family: 'Manrope', -apple-system, sans-serif;
}

@media (min-width: 768px) {
	.mr7-hero { padding: 40px 88px; }
}

.mr7-hero-blob {
	position: absolute;
	top: 0;
	right: 0;
	width: 66%;
	height: 100%;
	background: #ece3f7;
	border-bottom-left-radius: 999px;
	opacity: .5;
	z-index: 0;
}

.mr7-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	width: 100%;
	align-items: center;
}

@media (min-width: 768px) {
	.mr7-hero-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
}

/* ── Left: text column ── */
.mr7-hero-text {
	grid-column: 1 / -1;
	padding-top: 48px;
}

@media (min-width: 768px) {
	.mr7-hero-text { grid-column: 1 / span 5; padding-top: 0; }
}

.mr7-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 4px 12px;
	background: #e3d9f0;
	border-radius: 999px;
}

.mr7-hero-eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffe088;
}

.mr7-hero-eyebrow span {
	font-family: 'Manrope', sans-serif;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #2a1a4d;
}

.mr7-hero h1 {
	font-family: 'EB Garamond', Georgia, serif;
	font-weight: 500;
	font-size: clamp(34px, 5vw, 50px);
	line-height: 1.12;
	letter-spacing: -.02em;
	color: #010006;
	margin: 0 0 32px;
}

.mr7-hero h1 em {
	display: block;
	font-style: italic;
	font-weight: 300;
	color: #4a3570;
}

.mr7-hero p.mr7-lede {
	font-family: 'Manrope', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: #4a3570;
	max-width: 460px;
	margin: 0 0 40px;
}

.mr7-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 640px) {
	.mr7-hero-actions { flex-direction: row; gap: 24px; }
}

.mr7-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 2px;
	font-family: 'Manrope', sans-serif;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s, color .2s, transform .15s;
}

@media (min-width: 640px) {
	.mr7-btn { padding: 16px 32px; }
}

.mr7-btn-primary {
	background: #1e1440;
	color: #ffe088;
	box-shadow: 0 12px 28px rgba(30, 20, 64, .2);
}

.mr7-btn-primary:hover { background: #010006; color: #ffe088; }

.mr7-btn-primary svg {
	width: 16px;
	height: 16px;
	transition: transform .2s;
}

.mr7-btn-primary:hover svg { transform: translateX(3px); }

.mr7-btn-outline {
	border: 1px solid #d4c5e8;
	color: #1e1440;
	background: transparent;
}

.mr7-btn-outline:hover { background: #ece3f7; color: #1e1440; }

/* ── Right: cinematic portrait + floating glass card ── */
.mr7-hero-visual {
	grid-column: 1 / -1;
	position: relative;
}

@media (min-width: 768px) {
	.mr7-hero-visual { grid-column: 6 / span 7; }
}

.mr7-hero-photo-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 40px -10px rgba(30, 20, 64, .15);
}

@media (min-width: 768px) {
	.mr7-hero-photo-wrap { aspect-ratio: auto; height: 58vh; }
}

.mr7-hero-photo-wrap img,
.mr7-hero-photo-wrap .hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.mr7-hero-card {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	padding: 20px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, .3);
	box-shadow: 0 20px 40px -10px rgba(30, 20, 64, .15);
}

@media (min-width: 768px) {
	.mr7-hero-card { right: auto; width: 380px; }
}

.mr7-hero-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.mr7-hero-card-head span {
	font-family: 'Manrope', sans-serif;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #4a3570;
}

.mr7-hero-card-head svg { width: 18px; height: 18px; color: #887daf; }

.mr7-hero-card-list {
	border-top: 1px solid rgba(212, 197, 232, .5);
}

.mr7-hero-cat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 24px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(212, 197, 232, .3);
}

.mr7-hero-cat-row:last-child { border-bottom: none; }

.mr7-hero-cat-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	min-width: 0;
}

.mr7-hero-cat-link .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #1e1440;
	flex-shrink: 0;
}

.mr7-hero-cat-link span {
	font-family: 'Manrope', sans-serif;
	font-size: 13.5px;
	color: #2a1a4d;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .2s;
}

.mr7-hero-cat-link:hover span { color: #1e1440; text-decoration: underline; }

.mr7-hero-restocked {
	position: absolute;
	top: 24px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: rgba(255, 255, 255, .85);
	border-radius: 999px;
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: #2a1a4d;
	box-shadow: 0 4px 14px rgba(30, 20, 64, .12);
}

.mr7-hero-restocked .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b3873b;
}

@media (max-width: 767px) {
	.mr7-hero { min-height: auto; }
	.mr7-hero-visual { margin-top: 32px; }
	.mr7-hero-card { position: static; margin-top: 16px; width: auto; }
	.mr7-hero-restocked { top: 12px; right: 12px; }
}
