/*
 * Reference-led homepage layer.
 * Loaded after the legacy homepage stylesheet so the official MEEM structure
 * can evolve without leaking into archive, product, cart or checkout views.
 */

.meem-home {
	--meem-home-canvas: #fff;
	--meem-home-soft: #fbf8f5;
	--meem-home-shell: #e5d8d0;
	--meem-home-line: #ded8d4;
	--meem-home-ink: #1e1917;
	--meem-home-muted: #625750;
	--meem-home-accent: #9c514d;
	--meem-home-doodle: #ff6f75;
	--meem-home-doodle-ease: cubic-bezier(.42, 0, .26, 1);
	--meem-home-ease: cubic-bezier(.16, 1, .3, 1);
	max-width: 100vw;
	background: var(--meem-home-canvas);
	color: var(--meem-home-ink);
	overflow-x: clip;
}

.meem-home h1,
.meem-home h2,
.meem-home h3 {
	color: var(--meem-home-ink);
}

.meem-home h2 {
	font-size: clamp(2.35rem, 4.2vw, 4.5rem);
	letter-spacing: -.045em;
	line-height: .98;
}

.meem-home-heading-mark {
	display: grid;
	justify-items: start;
	width: fit-content;
	max-width: 100%;
}

.meem-home-doodle {
	display: block;
	width: clamp(7.5rem, 15vw, 12.75rem);
	height: auto;
	margin: -2px 0 -8px 8%;
	overflow: visible;
	pointer-events: none;
}

.meem-home-doodle--short {
	width: clamp(7rem, 13vw, 10.25rem);
	margin-left: 31%;
}

.meem-home-doodle path {
	fill: none;
	stroke: var(--meem-home-doodle);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 100 100;
	stroke-dashoffset: 100;
	opacity: .82;
	vector-effect: non-scaling-stroke;
}

.meem-home-doodle path + path {
	stroke-width: 4.25;
}

.meem-home-doodle.is-drawn path {
	animation: meem-home-doodle-draw 900ms var(--meem-home-doodle-ease) 140ms both;
}

.meem-home-doodle.is-drawn path + path {
	animation-duration: 680ms;
	animation-delay: 820ms;
}

@keyframes meem-home-doodle-draw {
	0% {
		stroke-dashoffset: 100;
		opacity: .72;
	}

	18% {
		opacity: 1;
	}

	to {
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

.meem-home-kicker {
	color: var(--meem-home-accent);
	font-size: .72rem;
	letter-spacing: .08em;
}

.meem-home :where(a, button):focus-visible {
	outline: 2px solid var(--meem-home-accent);
	outline-offset: 3px;
}

.meem-home-hero {
	padding: 0;
	background: var(--meem-home-canvas);
	overflow: hidden;
}

.meem-home-hero::before {
	display: none;
}

.meem-home-hero__link,
.meem-home-hero__stage,
.meem-home-hero__stage picture {
	display: block;
	width: 100%;
}

.meem-home-hero__stage {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.meem-home-hero__stage::after {
	display: none;
}

.meem-home-hero__stage img {
	width: 100%;
	height: clamp(19rem, 32vw, 31rem);
	aspect-ratio: auto;
	border-radius: 0;
	object-fit: cover;
	object-position: center 48%;
	transition: transform 700ms var(--meem-home-ease), filter 300ms var(--meem-home-ease);
}

.meem-home-hero__link:hover img {
	filter: saturate(1.025);
	transform: scale(1.008);
}

.meem-home-hero__link:focus-visible {
	outline-offset: -4px;
}

html.meem-motion-ready .meem-home .meem-home-hero__stage[data-meem-reveal],
html.meem-motion-ready .meem-home .meem-home-hero__stage[data-meem-reveal].is-visible {
	transform: none;
}

.meem-home-products,
.meem-home-families {
	width: min(100% - 48px, 1440px);
	margin-inline: auto;
	padding-block: clamp(4rem, 7vw, 7rem);
}

.meem-home-products {
	padding-top: clamp(3rem, 5.8vw, 5.8rem);
}

.meem-home-families {
	padding-top: clamp(3.5rem, 6vw, 6.5rem);
	padding-bottom: clamp(3.25rem, 5.6vw, 5.5rem);
}

.meem-home-section-head,
.meem-home-section-head--row {
	display: flex;
	width: 100%;
	max-width: none;
	margin: 0 0 clamp(1.8rem, 3vw, 3rem);
	gap: 24px;
	align-items: end;
	justify-content: space-between;
}

.meem-home-section-head > div {
	display: grid;
	gap: 9px;
}

.meem-home-text-link {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 2px;
	border: 0;
	color: var(--meem-home-ink);
	font-size: .82rem;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
}

.meem-home-text-link::after {
	width: 2rem;
}

.meem-home-family-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(1.05rem, 2vw, 1.75rem);
}

.meem-home-family-card,
.meem-home-family-card--large {
	display: grid;
	grid-column: span 2;
	grid-template-columns: 1fr;
	gap: 12px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	transition: color 220ms var(--meem-home-ease), transform 220ms var(--meem-home-ease);
}

.meem-home-family-card:nth-last-child(2):nth-child(3n + 1) {
	grid-column: 2 / span 2;
}

.meem-home-family-card:last-child:nth-child(3n + 1) {
	grid-column: 3 / span 2;
}

.meem-home-family-card:hover {
	background: transparent;
	box-shadow: none;
	transform: translateY(-2px);
}

.meem-home-family-card:active {
	transform: translateY(0) scale(.99);
}

.meem-home-family-card:focus-visible {
	outline: 2px solid var(--meem-home-ink);
	outline-offset: 4px;
}

.meem-home-family-card__media {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	border: 0;
	border-radius: 0;
	background: var(--meem-home-soft);
	overflow: hidden;
}

.meem-home-family-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms var(--meem-home-ease);
}

.meem-home-family-card:hover .meem-home-family-card__image {
	transform: scale(1.025);
}

.meem-home-family-card__mark {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: linear-gradient(145deg, #f8f3ef, #e4d6ce);
	box-shadow: none;
	color: #635a55;
	font-size: .78rem;
	letter-spacing: .18em;
}

.meem-home-family-card strong {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 4px;
	font-family: var(--meem-font-ui);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .045em;
	line-height: 1.35;
	text-align: center;
	text-wrap: balance;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.meem-home-product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(1rem, 1.8vw, 1.5rem);
}

.meem-home-product-card {
	display: grid;
	grid-template-rows: auto auto minmax(2.6rem, auto) auto minmax(44px, 1fr);
	gap: 8px;
	min-width: 0;
	padding: 12px !important;
	border: 1px solid rgba(30, 25, 23, 0.12) !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(30, 25, 23, 0.045) !important;
	transition: transform 220ms var(--meem-home-ease), border-color 220ms var(--meem-home-ease), box-shadow 220ms var(--meem-home-ease);
}

.meem-home-product-card:hover {
	border-color: rgba(30, 25, 23, 0.18) !important;
	background: #fff !important;
	box-shadow: 0 10px 24px rgba(30, 25, 23, 0.07) !important;
	transform: translateY(-2px) !important;
}

.meem-home-product-card__media {
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	border: 0 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	overflow: hidden;
}

.meem-home-product-card__image {
	width: 96%;
	height: 96%;
	object-fit: contain;
	transition: transform 360ms var(--meem-home-ease);
}

.meem-home-product-card:hover .meem-home-product-card__image {
	transform: scale(1.035);
}

.meem-home-product-card__category {
	grid-row: 2;
	margin: 5px 0 0;
	color: var(--meem-home-accent);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1.35;
	text-transform: uppercase;
}

.meem-home-product-card h3 {
	grid-row: 3;
	margin: 0;
	font-family: var(--meem-font-ui);
	font-size: clamp(.85rem, .9vw, .96rem);
	font-weight: 700;
	line-height: 1.4;
}

.meem-home-product-card__price {
	grid-row: 4;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
	align-items: baseline;
	width: 100%;
	color: var(--meem-home-ink);
	font-family: var(--meem-font-ui);
	font-size: .88rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.meem-home-product-card__price del {
	color: #81756f;
	font-weight: 500;
}

.meem-home-product-card__price ins {
	color: var(--meem-home-accent);
	text-decoration: none;
}

.meem-home-product-card__link {
	grid-row: 5;
	align-self: end;
	justify-self: stretch;
	min-height: 44px;
	margin-top: 4px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--meem-home-ink);
	color: #fff;
	box-shadow: none;
	font-size: .69rem;
	letter-spacing: .055em;
}

.meem-home-product-card__link:hover {
	background: #332a26;
	box-shadow: none;
}

.meem-home-promo {
	padding-block: clamp(4rem, 7vw, 7rem);
	background: #191614;
	color: #fff;
}

.meem-home-promo__inner {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(30rem, 1.2fr);
	width: min(100% - 48px, 1440px);
	margin-inline: auto;
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: center;
}

.meem-home-promo__copy {
	display: grid;
	gap: 16px;
	align-content: center;
}

.meem-home-promo h2 {
	max-width: 11ch;
	color: #fff;
	font-size: clamp(2.5rem, 4.5vw, 5rem);
	letter-spacing: -.045em;
}

.meem-home-promo .meem-home-kicker {
	color: #dda8ab;
}

.meem-home-promo-product {
	display: grid;
	gap: 7px;
	max-width: 34rem;
	margin: 6px 0 10px;
	padding: 18px 0;
	border-block: 1px solid rgba(255, 255, 255, .16);
}

.meem-home-promo-product h3,
.meem-home-promo-product h3 a,
.meem-home-promo-product .meem-home-product-card__price {
	color: #fff;
}

.meem-home-promo-product h3 {
	font-size: 1.05rem;
}

.meem-home-promo__image {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

.meem-home-promo__image::before {
	display: none;
}

.meem-home-promo__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 0;
	object-fit: cover;
	object-position: center 53%;
}

.meem-home-button {
	min-height: 44px;
	border-radius: 12px;
	box-shadow: none;
}

.meem-home-button--light {
	background: #fff;
	color: var(--meem-home-ink);
}

.meem-home-button--ghost-light {
	border-color: rgba(255, 255, 255, .48);
	color: #fff;
}

.meem-home-instagram {
	padding-block: clamp(4rem, 7vw, 7rem);
	background: #efe3dc;
}

.meem-home-instagram > .meem-home-section-head,
.meem-home-instagram__rail {
	width: min(100% - 48px, 1440px);
	margin-inline: auto;
}

.meem-home-instagram__actions {
	display: flex;
	gap: 20px;
	align-items: center;
}

.meem-home-instagram__nav {
	display: flex;
	gap: 8px;
}

.meem-home-instagram__nav button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #cfc3bc;
	border-radius: 12px;
	background: rgba(255, 255, 255, .72);
	color: var(--meem-home-ink);
	cursor: pointer;
	transition: background 180ms var(--meem-home-ease), color 180ms var(--meem-home-ease), transform 180ms var(--meem-home-ease);
}

.meem-home-instagram__nav button:hover:not(:disabled) {
	background: var(--meem-home-ink);
	color: #fff;
	transform: translateY(-1px);
}

.meem-home-instagram__nav button:disabled {
	color: #9a8f89;
	cursor: not-allowed;
}

.meem-home-instagram__nav svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.meem-home-instagram__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(17.5rem, 21rem);
	gap: 18px;
	padding: 3px 2px 16px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-color: #a99b93 transparent;
	scrollbar-width: thin;
}

.meem-home-instagram__rail:focus-visible {
	outline: 2px solid var(--meem-home-accent);
	outline-offset: 4px;
}

.meem-home-instagram__rail::-webkit-scrollbar {
	height: 8px;
}

.meem-home-instagram__rail::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: #a99b93;
}

.meem-home-instagram-card {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	min-width: 0;
	border: 1px solid #d8cec8;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	scroll-snap-align: start;
}

.meem-home-instagram-card__media {
	display: block;
	aspect-ratio: 1;
	background: var(--meem-home-soft);
	overflow: hidden;
}

.meem-home-instagram-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms var(--meem-home-ease);
}

@media (max-width: 1180px) {
	.meem-home-family-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.meem-home-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.meem-home-promo__inner {
		grid-template-columns: minmax(0, .8fr) minmax(24rem, 1fr);
	}
}

@media (max-width: 820px) {
	.meem-home-hero__stage img {
		height: clamp(17rem, 54vw, 24rem);
	}

	.meem-home-family-grid,
	.meem-home-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.meem-home-promo__inner {
		grid-template-columns: 1fr;
	}

	.meem-home-promo__image {
		order: -1;
	}
}

@media (max-width: 620px) {
	.meem-home {
		background: #fff;
	}

	.meem-home-hero__stage img {
		height: clamp(15rem, 70vw, 18rem);
		object-position: center 48%;
	}

	.meem-home-products,
	.meem-home-families,
	.meem-home-promo__inner,
	.meem-home-instagram > .meem-home-section-head,
	.meem-home-instagram__rail {
		width: min(100% - 28px, 1440px);
	}

	.meem-home-products,
	.meem-home-families,
	.meem-home-instagram,
	.meem-home-promo {
		padding-block: 3.5rem;
	}

	.meem-home-families {
		padding-top: 3.25rem;
	}

	.meem-home-section-head,
	.meem-home-section-head--row {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		align-items: end;
		margin-bottom: 1.5rem;
	}

	.meem-home-section-head h2 {
		max-width: none;
		font-size: clamp(2.25rem, 11vw, 3.1rem);
	}

	.meem-home-section-head .meem-home-text-link {
		justify-self: start;
		font-size: .75rem;
	}

	.meem-home-section-head .meem-home-text-link::after {
		display: none;
	}

	.meem-home-family-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.meem-home-family-card,
	.meem-home-family-card--large {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 0;
	}

	.meem-home-family-card__media {
		aspect-ratio: 1;
	}

	.meem-home-family-card strong {
		font-size: .71rem;
		letter-spacing: .025em;
	}

	.meem-home-product-grid {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(15.5rem, 78vw);
		grid-template-columns: none;
		gap: 14px;
		padding: 2px 2px 14px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
		scrollbar-width: thin;
	}

	.meem-home-product-card {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto minmax(2.6rem, auto) auto minmax(44px, 1fr);
		gap: 8px;
		padding: 0;
		scroll-snap-align: start;
	}

	.meem-home-product-card__media {
		grid-row: 1;
	}

	.meem-home-promo h2 {
		max-width: 12ch;
		font-size: clamp(2.3rem, 10.5vw, 3.35rem);
	}

	.meem-home-actions,
	.meem-home-button {
		width: 100%;
	}

	.meem-home-instagram > .meem-home-section-head {
		grid-template-columns: 1fr;
	}

	.meem-home-instagram__actions {
		justify-content: space-between;
	}

	.meem-home-instagram__nav {
		display: none;
	}

	.meem-home-instagram__rail {
		grid-auto-columns: minmax(16rem, 82vw);
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.meem-home-hero__stage img,
	.meem-home-family-card,
	.meem-home-family-card__image,
	.meem-home-product-card__image,
	.meem-home-instagram-card__image,
	.meem-home-instagram__rail {
		scroll-behavior: auto;
		transition-duration: .001ms;
	}
}

/* Final homepage composition: viewport hero, scalable unframed family tiles and minimal Instagram links. */
.meem-home {
	width: 100%;
	max-width: none;
}

body.meem-official-page main.meem-home {
	background: #fff;
}

.meem-home .meem-home-hero {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
}

.meem-home .meem-home-hero__link,
.meem-home .meem-home-hero__stage,
.meem-home .meem-home-hero__stage picture {
	display: block;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.meem-home .meem-home-hero__stage {
	background: #eeedf3 url("../images/meem-home-hero-wide-v3.jpg") center / cover no-repeat !important;
}

.meem-home .meem-home-hero__stage img {
	display: block;
	width: 100%;
	height: clamp(19rem, 32vw, 31rem);
	aspect-ratio: auto !important;
	border-radius: 0 !important;
	background: transparent !important;
	opacity: 0;
	object-fit: contain;
	object-position: center;
}

.meem-home .meem-home-hero__link:hover img {
	transform: none;
}

.meem-home-section-head--families {
	padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
	border-bottom: 1px solid var(--meem-home-line);
}

.meem-home-section-head--families h2 {
	font-size: clamp(2.45rem, 4.2vw, 4.25rem);
}

.meem-home-section-action {
	display: inline-flex;
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	gap: 14px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px 0 20px;
	border: 1px solid #cfc7c2;
	border-radius: 12px;
	background: #fff;
	color: var(--meem-home-ink);
	font-family: var(--meem-font-ui);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1;
	transition: background 180ms var(--meem-home-ease), border-color 180ms var(--meem-home-ease), color 180ms var(--meem-home-ease), transform 180ms var(--meem-home-ease);
}

.meem-home-section-action svg {
	display: block;
	flex: 0 0 19px;
	width: 19px;
	height: 19px;
	max-width: 19px;
	max-height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.meem-home-section-action:hover {
	border-color: var(--meem-home-ink);
	background: var(--meem-home-ink);
	color: #fff;
	transform: translateY(-1px);
}

.meem-home .meem-home-family-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.meem-home .meem-home-family-card,
.meem-home .meem-home-family-card--large {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 12px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.meem-home .meem-home-family-card:hover {
	background: transparent !important;
	transform: translateY(-2px) !important;
}

.meem-home .meem-home-family-card:active {
	transform: translateY(0) scale(.99) !important;
}

.meem-home .meem-home-family-card:focus-visible {
	outline: 2px solid var(--meem-home-ink);
	outline-offset: 4px;
}

.meem-home .meem-home-family-card__media {
	aspect-ratio: 1 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--meem-home-soft) !important;
}

.meem-home .meem-home-family-card strong {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 4px;
}

.meem-home-instagram__rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: clamp(14px, 1.5vw, 20px);
	padding: 3px 0;
	overflow: visible;
	scroll-snap-type: none;
}

.meem-home-instagram-card {
	position: relative;
	display: block;
	aspect-ratio: 1;
	min-width: 0;
	border: 1px solid var(--meem-home-line);
	border-radius: 12px;
	background: var(--meem-home-soft);
	box-shadow: 0 2px 10px rgba(30, 25, 23, 0.06);
	isolation: isolate;
	overflow: hidden;
	transition: border-color 180ms var(--meem-home-ease), box-shadow 180ms var(--meem-home-ease), transform 180ms var(--meem-home-ease);
}

.meem-home-instagram-card__media {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #f8f3ef, #e6d8d0);
	overflow: hidden;
}

.meem-home-instagram-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms var(--meem-home-ease);
}

.meem-home-instagram-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	gap: 9px;
	place-content: center;
	place-items: center;
	padding: 18px;
	background: rgba(30, 25, 23, 0.48);
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms var(--meem-home-ease);
}

.meem-home-instagram-card__overlay svg {
	display: block;
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.meem-home-instagram-card__overlay > span {
	font-family: var(--meem-font-ui);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

.meem-home-instagram-card:hover,
.meem-home-instagram-card:focus-visible {
	border-color: rgba(30, 25, 23, 0.46);
	box-shadow: 0 6px 18px rgba(30, 25, 23, 0.1);
	transform: translateY(-2px);
}

.meem-home-instagram-card:focus-visible {
	outline: 2px solid var(--meem-home-ink);
	outline-offset: 3px;
}

.meem-home-instagram-card:hover .meem-home-instagram-card__overlay,
.meem-home-instagram-card:focus-visible .meem-home-instagram-card__overlay {
	opacity: 1;
}

.meem-home-instagram-card:hover .meem-home-instagram-card__image,
.meem-home-instagram-card:focus-visible .meem-home-instagram-card__image {
	transform: scale(1.025);
}

@media (hover: none) {
	.meem-home-instagram-card__overlay {
		inset: 10px 10px auto auto;
		width: 40px;
		height: 40px;
		padding: 0;
		border-radius: 999px;
		background: rgba(30, 25, 23, 0.58);
		opacity: 1;
	}

	.meem-home-instagram-card__overlay svg {
		width: 20px;
		height: 20px;
	}

	.meem-home-instagram-card__overlay > span {
		display: none;
	}
}

@media (max-width: 767px) {
	.meem-home-instagram__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}
}

@media (max-width: 900px) {
	.meem-home .meem-home-family-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 620px) {
	.meem-home .meem-home-hero__stage {
		background: #eeedf3 !important;
	}

	.meem-home .meem-home-hero__stage img {
		height: auto;
		aspect-ratio: 1672 / 941 !important;
		opacity: 1;
		object-position: center;
	}

	.meem-home-section-head--families {
		gap: 18px;
	}

	.meem-home-section-head--families h2 {
		font-size: clamp(2rem, 10vw, 2.65rem);
	}

	.meem-home-section-action {
		width: 100%;
		justify-content: space-between;
	}

	.meem-home .meem-home-family-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px 12px !important;
	}

	.meem-home .meem-home-family-card,
	.meem-home .meem-home-family-card--large {
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	.meem-home .meem-home-family-card strong {
		min-height: 0;
		padding: 0 4px;
		font-size: .875rem;
		letter-spacing: .025em;
	}

	.meem-home .meem-home-product-grid {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(15.5rem, 78vw);
		grid-template-columns: none !important;
		gap: 14px;
		padding: 2px 2px 14px;
		overflow-x: auto;
		overflow-y: hidden;
		contain: layout inline-size;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
	}

	.meem-home .meem-home-product-card {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto auto minmax(2.6rem, auto) auto minmax(44px, 1fr);
		padding: 10px !important;
		scroll-snap-align: start;
	}

	.meem-home-instagram__rail {
		display: grid;
		grid-auto-flow: row;
		grid-auto-columns: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px;
		padding: 3px 0;
		overflow: visible;
		contain: none;
		overscroll-behavior: auto;
		scroll-snap-type: none;
	}

	.meem-home-instagram-card {
		scroll-snap-align: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.meem-home-instagram-card,
	.meem-home-instagram-card__image,
	.meem-home-instagram-card__overlay {
		transition-duration: .001ms;
	}

	.meem-home-doodle path {
		animation: none !important;
		stroke-dashoffset: 0 !important;
		opacity: 1 !important;
	}
}

/* Three equal cards per row, with incomplete final rows optically centered. */
.meem-home .meem-home-family-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.meem-home .meem-home-family-card,
.meem-home .meem-home-family-card--large {
	grid-column: span 2 !important;
}

.meem-home .meem-home-family-card:nth-last-child(2):nth-child(3n + 1) {
	grid-column: 2 / span 2 !important;
}

.meem-home .meem-home-family-card:last-child:nth-child(3n + 1) {
	grid-column: 3 / span 2 !important;
}
