/* ============================================================
   TERRENE 1.2.2 — EDITORIAL PAPER FOOTER
   Inspired by the reference's hierarchy, with original grocery copy/art.
   ============================================================ */

.brand-ticker.brand-ticker--footer {
	position: relative;
	z-index: 2;
	height: 52px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 0;
	border-top: 1px solid rgba(65, 58, 47, .12);
	border-bottom: 1px solid rgba(65, 58, 47, .12);
	background: #f7f4ec;
	color: #8b806e;
}

.brand-ticker--footer .brand-ticker__row {
	display: flex;
	align-items: center;
	gap: 0;
	width: max-content;
	padding: 0;
	color: #8b806e;
	font-family: "DM Sans", sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .22em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	will-change: transform;
}

.brand-ticker--footer .brand-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding: 0 22px;
}

.brand-ticker--footer .brand-ticker__arrow {
	color: #9b8b72;
	font-size: 11px;
	font-weight: 400;
}

.site-footer.site-footer--editorial {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 66px 0 0;
	border: 0;
	background: #f7f4ec;
	color: #3f3a33;
}

.footer-editorial__container {
	position: relative;
	z-index: 1;
	width: min(900px, calc(100% - 64px));
	margin-inline: auto;
}

.footer-editorial__top-rule {
	width: 100%;
	height: 1px;
	margin: 0 0 42px;
	background: rgba(66, 59, 48, .15);
}

.footer-editorial__grid {
	display: grid;
	grid-template-columns: 150px minmax(105px, 1fr) minmax(175px, 1.45fr) minmax(145px, 1fr);
	gap: clamp(22px, 3.4vw, 54px);
	align-items: start;
	padding: 0 0 43px;
	border-bottom: 1px solid rgba(66, 59, 48, .15);
}

.footer-editorial__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 20px;
}

.footer-editorial__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 112px;
	width: 100%;
}

.footer-editorial__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 145px;
}

.footer-editorial__logo .custom-logo {
	display: block;
	width: auto;
	max-width: 142px;
	max-height: 118px;
	object-fit: contain;
}

.footer-editorial__wordmark {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #39362f;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 22px;
	font-weight: 500;
	line-height: .96;
	text-decoration: none;
}

.footer-editorial__wordmark svg {
	width: 43px;
	height: 43px;
	color: #85936f;
}

.footer-editorial__tagline {
	max-width: 19ch;
	margin: 12px 0 0;
	color: #8a8174;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 14px;
	line-height: 1.35;
}

.footer-editorial__col h4 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 17px;
	color: #877b68;
	font-family: "DM Sans", sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .2em;
	line-height: 1.2;
	text-transform: uppercase;
}

.footer-editorial__label-icon {
	display: inline-block;
	color: #a89d89;
	font-size: 10px;
	line-height: 1;
}

.footer-editorial__links,
.footer-editorial__col .footer__menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-editorial__links li,
.footer-editorial__col .footer__menu li {
	margin: 0;
	padding: 0;
}

.footer-editorial__links a,
.footer-editorial__col .footer__menu a {
	color: #4a443b;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	transition: color .22s ease, opacity .22s ease;
}

.footer-editorial__links a:hover,
.footer-editorial__col .footer__menu a:hover {
	color: #8b9271;
	opacity: .82;
}

.footer-editorial__service {
	max-width: 620px;
	margin: 0 auto;
	padding: 29px 0 31px;
	text-align: center;
}

.footer-editorial__service h4 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 14px;
	color: #8b806d;
	font-family: "DM Sans", sans-serif;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.footer-editorial__service p {
	max-width: 76ch;
	margin: 0 auto;
	color: #82796d;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 15px;
	line-height: 1.55;
}

.footer-editorial__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	padding: 18px 0 0;
	border-top: 1px solid rgba(66, 59, 48, .15);
	color: #8b806f;
}

.footer-editorial__bottom p {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 8px;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.footer-editorial__art {
	position: relative;
	width: 100%;
	height: clamp(380px, 36vw, 620px);
	margin: 10px auto 0;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
	background: #f8f4ed;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 100%);
}

.footer-editorial__art img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0 auto;
	object-fit: cover;
	object-position: center 55%;
	transform: translate3d(0, 7px, 0) scale(1.025, 1.08);
	transform-origin: center center;
	animation: footer-particle-drift 10s ease-in-out infinite alternate;
}

@keyframes footer-particle-drift {
	from { transform: translate3d(0, 9px, 0) scale(1.025, 1.08); }
	to { transform: translate3d(0, -5px, 0) scale(1.04, 1.10); }
}

@media (max-width: 1024px) {
	.footer-editorial__container {
		width: min(900px, calc(100% - 48px));
	}
	.footer-editorial__grid {
		grid-template-columns: 130px 1fr 1.35fr 1fr;
		gap: 22px;
	}
	.footer-editorial__links a,
	.footer-editorial__col .footer__menu a {
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	.brand-ticker.brand-ticker--footer {
		height: 43px;
	}
	.brand-ticker--footer .brand-ticker__row {
		font-size: 8px;
		letter-spacing: .16em;
	}
	.brand-ticker--footer .brand-ticker__item {
		gap: 15px;
		padding-inline: 14px;
	}
	.site-footer.site-footer--editorial {
		padding-top: 40px;
	}
	.footer-editorial__container {
		width: calc(100% - 40px);
	}
	.footer-editorial__top-rule {
		margin-bottom: 28px;
	}
	.footer-editorial__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 24px;
		padding-bottom: 30px;
	}
	.footer-editorial__brand {
		grid-column: 1 / -1;
		padding-top: 0;
		padding-bottom: 4px;
	}
	.footer-editorial__logo {
		min-height: 86px;
	}
	.footer-editorial__logo .custom-logo {
		max-height: 88px;
	}
	.footer-editorial__tagline {
		margin-top: 7px;
	}
	.footer-editorial__col h4 {
		margin-bottom: 12px;
		font-size: 8px;
	}
	.footer-editorial__links,
	.footer-editorial__col .footer__menu {
		gap: 7px;
	}
	.footer-editorial__links a,
	.footer-editorial__col .footer__menu a {
		font-size: 15px;
	}
	.footer-editorial__service {
		padding: 24px 0;
	}
	.footer-editorial__service p {
		font-size: 14px;
	}
	.footer-editorial__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 9px;
		padding-top: 15px;
	}
	.footer-editorial__bottom p {
		font-size: 7px;
	}
	.footer-editorial__art {
		width: 150%;
		height: 280px;
		margin-left: -25%;
		margin-top: 6px;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 100%);
	}
	.footer-editorial__art img {
		object-fit: contain;
		object-position: center bottom;
		transform: translate3d(0, 4px, 0) scale(1.04, 1.02);
	}
}

@media (prefers-reduced-motion: reduce) {
	.footer-editorial__art img {
		animation: none;
		transform: none;
	}
}
