/* Wells Farmshop – homepage section intros */

.home-intros *,
.home-intros *::before,
.home-intros *::after { box-sizing: border-box; }

.home-intros {
	color: var(--wells-navy);
	font-family: var(--font-sans);
}

.christmas-wrap {
	padding: var(--edge) var(--gutter);
	background: var(--wells-white);
}
.christmas-band {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(50px, 5.2vw, 74px) calc(var(--gutter) + 20px);
	background: var(--wells-navy);
	color: #fff;
	text-align: center;
}
.christmas-band::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(212, 178, 106, .55);
	pointer-events: none;
}
.christmas-band__spark { display: block; margin-bottom: 18px; fill: #d4b26a; }
.christmas-band__label {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .82);
	font: 500 13.5px/1.3 var(--font-sans);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.christmas-band__title {
	margin: 0;
	font: 400 clamp(26px, 2.6vw, 36px)/1.2 var(--font-serif);
	text-wrap: balance;
}
.christmas-band__text {
	max-width: 560px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .86);
	font-size: 17px;
	line-height: 1.7;
	text-wrap: balance;
}
.christmas-band__text strong { font-weight: 500; color: #fff; }
.christmas-band__top,
.christmas-band__main { display: flex; flex-direction: column; align-items: center; }
.christmas-band__side { width: 100%; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 900px) {
	.christmas-band--split {
		max-width: 1160px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 0 clamp(40px, 5vw, 72px);
		align-items: start;
		padding: clamp(44px, 4vw, 56px) clamp(48px, 5vw, 72px);
		text-align: left;
	}
	.christmas-band--split .christmas-band__top { grid-column: 1 / -1; margin-bottom: 40px; text-align: center; }
	.christmas-band--split .christmas-band__label { margin-bottom: 0; }
	.christmas-band--split .christmas-band__main { align-items: flex-start; }
	.christmas-band--split .christmas-band__title,
	.christmas-band--split .christmas-band__subhead { font: italic 400 26px/1.25 var(--font-serif); }
	.christmas-band--split .christmas-band__title { margin-bottom: 6px; }
	.christmas-band--split .christmas-band__text { margin-top: 8px; }
	.christmas-band--split .christmas-band__text { max-width: none; text-wrap: pretty; }
	.christmas-band--split .christmas-band__side { align-items: stretch; }
	.christmas-band--split .christmas-band__hours { max-width: none; margin-top: 0; padding-top: 0; border-top: 0; }
	.christmas-band--split .christmas-band__hours + .christmas-band__hours { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(212, 178, 106, .55); }
	.christmas-band--split .christmas-band__subhead { margin-bottom: 8px; }
	.christmas-band--split .christmas-band__events li { grid-template-columns: 12em 1fr; padding: 8px 0; }
	.christmas-band--split .christmas-band__events li:first-child { padding-top: 4px; }
}
.christmas-band .text-link { margin-top: 14px; }
.christmas-band .text-link + .text-link { margin-top: 0; }
.christmas-band .text-link { text-decoration-line: underline; text-decoration-color: rgba(212, 178, 106, .8); }
.christmas-band .text-link:hover { text-decoration-color: #fff; }
@media (min-width: 900px) {
	.christmas-band .text-link { min-height: 36px; }
}
.christmas-band__hours {
	width: 100%;
	max-width: 440px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(212, 178, 106, .55);
}
.christmas-band__label + .christmas-band__hours { margin-top: 4px; padding-top: 0; border-top: 0; }
.christmas-band__subhead {
	margin: 0 0 12px;
	font: italic 400 21px/1.3 var(--font-serif);
	color: #fff;
}
.christmas-band__hours dl { margin: 0; }
.christmas-band__hours dl > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.christmas-band__hours dt { color: rgba(255, 255, 255, .86); }
.christmas-band__hours dd { margin: 0; color: #fff; font-weight: 500; text-align: right; white-space: nowrap; }
.christmas-band__hours + .text-link { margin-top: 26px; }
.christmas-band__label + .christmas-band__hours,
.christmas-band__spark + .christmas-band__hours { margin-top: 4px; padding-top: 0; border-top: 0; }
.christmas-band__hours + .christmas-band__hours { margin-top: 26px; }
.christmas-band__events ul { margin: 0; padding: 0; list-style: none; }
.christmas-band__events li {
	display: grid;
	grid-template-columns: 11em 1fr;
	gap: 4px 20px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
.christmas-band__events li:last-child { border-bottom: 0; }
.christmas-band__when { color: rgba(255, 255, 255, .86); }
.christmas-band__what { color: #fff; font-weight: 500; }
.christmas-band__what a { color: inherit; text-decoration: underline; text-decoration-color: rgba(212, 178, 106, .8); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.christmas-band__what a::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 10px;
	margin-left: 12px;
	vertical-align: middle;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.5 5h22.5M18.5 1 23 5l-4.5 4'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.5 5h22.5M18.5 1 23 5l-4.5 4'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .3s var(--ease);
}
.christmas-band__what a:hover::after { transform: translateX(5px); }
.christmas-band__what a:hover { text-decoration-color: #fff; }
.christmas-band__what a:focus-visible { outline: 2px solid #d4b26a; outline-offset: 2px; }
.christmas-band__detail { display: block; color: rgba(255, 255, 255, .78); font-weight: 400; font-size: 15px; }
@media (min-width: 601px) and (max-width: 860px) {
	.christmas-wrap { padding-inline: 30px; }
}
@media (max-width: 600px) {
	.christmas-band::before { inset: 10px; }
	.christmas-band { padding: 40px 30px; }
	.christmas-band__hours dl > div { gap: 12px; font-size: 15px; }
	.christmas-band__hours dt { white-space: nowrap; }
	.christmas-band__events li { grid-template-columns: 1fr; gap: 2px; font-size: 15px; }
}
@media (max-width: 380px) {
	.christmas-band__hours dt { white-space: normal; }
}

.statement {
	padding: clamp(47px, 4.9vw, 71px) var(--gutter);
	background: var(--wells-white);
	text-align: center;
}
.statement p {
	max-width: 900px;
	margin: 0 auto;
	font: 400 clamp(20px, 2.05vw, 28px)/1.55 var(--font-serif);
	text-wrap: balance;
}

.statement__mark { color: var(--wells-navy); }
.statement__mark svg { display: block; width: 100%; height: auto; }
.statement .statement__eyebrow {
	margin: 0 auto 20px;
	font: 500 13.5px/1 var(--font-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	opacity: .7;
}
.statement em { font-style: italic; }

.statement--emblem .statement__mark { width: 100px; margin: 0 auto 22px; }
.statement--mark-only { padding-top: 0; }
.statement--mark-only .statement__mark { width: 100px; margin: 0 auto; }

.placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	background:
		linear-gradient(135deg, rgba(126, 154, 126, .18), rgba(126, 154, 126, .34)),
		var(--wells-sage-light);
	color: rgba(28, 42, 69, .55);
	font: 400 12px/1.4 var(--font-sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	text-align: center;
}
.placeholder--portrait { aspect-ratio: 4 / 5; }
.placeholder--landscape { aspect-ratio: 3 / 2; }
.intro__media img,
.pair__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.intro__media img { aspect-ratio: 4 / 5; object-position: center 40%; }
.pair__media img { aspect-ratio: 3 / 2; }

.intro-band--tint { background: var(--wells-tint); }

.home-intros { --col-gap: clamp(40px, 6vw, 96px); }

.intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--col-gap);
	max-width: 1240px;
	margin: 0 auto;
	padding: var(--edge) var(--gutter);
}
.intro__media {
	width: 100%;
}
.intro__text { max-width: 450px; }

.intro--reverse .intro__media { order: 2; }
.intro--reverse .intro__text { justify-self: end; }

h2.intro__label { font-family: var(--font-sans); line-height: 1.3; }
.intro__label {
	margin: 0 0 16px;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .7;
}
.intro__title {
	margin: 0 0 22px;
	font: 400 clamp(30px, 3vw, 42px)/1.18 var(--font-serif);
	letter-spacing: .005em;
	text-wrap: balance;
}
.intro__body {
	margin: 0;
	color: var(--wells-ink);
	font-size: 17px;
	line-height: 1.75;
}

.intro__counter { margin: 24px 0 0; }
.intro__names li:nth-last-child(-n + 2) { border-bottom: 0; }
.intro__names {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.intro__names li {
	padding: 10px 0 9px;
	border-bottom: 1px solid rgba(28, 42, 69, .14);
	color: var(--wells-ink);
	font: 400 15.5px/1.4 var(--font-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
@media (max-width: 480px) {
	.intro__names { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 20px; }
}
@media (max-width: 370px) {
	.intro__names li { font-size: 14.5px; }
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	margin-top: 18px;
	color: inherit;
	font-size: 15px;
	letter-spacing: .04em;
	text-decoration: none;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}
.text-link::after {
	content: "";
	width: 24px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.5 5h22.5M18.5 1 23 5l-4.5 4'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.5 5h22.5M18.5 1 23 5l-4.5 4'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .3s var(--ease);
}
.text-link:hover::after { transform: translateX(5px); }
.text-link:hover,
.text-link:focus-visible { text-decoration-line: underline; }
.text-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.icon-text-link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	min-height: 44px;
	color: inherit;
	font-size: 15px;
	letter-spacing: .04em;
	text-decoration: none;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}
.icon-text-link .icon { flex: none; width: 18px; height: 18px; }
.icon-text-link:hover,
.icon-text-link:focus-visible { text-decoration-line: underline; }
.icon-text-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px var(--col-gap);
	max-width: 1240px;
	margin: 0 auto;
	padding: var(--edge) var(--gutter);
}
.pair__item .intro__label { margin-top: 28px; }
.pair__title {
	margin: 0 0 12px;
	font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--font-serif);
}
.pair__item .intro__body { max-width: 440px; }
.pair__item .intro__body a { color: inherit; text-underline-offset: 3px; }
.pair__item .intro__body em { white-space: nowrap; }
.pair__item .text-link { margin-top: 8px; }

.reviews {
	background: var(--wells-tint);
	padding: clamp(60px, 6.5vw, 96px) var(--gutter);
	text-align: center;
}
.reviews__inner { max-width: 1240px; margin: 0 auto; }
.reviews__label { margin: 0; }
.reviews__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 16px 0 0;
	color: var(--wells-ink);
	font-size: 15px;
}
.stars {
	display: inline-flex;
	gap: 4px;
	color: var(--wells-navy);
	line-height: 0;
}
.stars svg { display: block; width: 12px; height: 12px; }
.stars .is-on { fill: currentColor; opacity: .72; }
.stars .is-off { fill: none; stroke: currentColor; stroke-width: .8; opacity: .4; }

.reviews__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: clamp(30px, 3.4vw, 44px) 0 0;
}
.review {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 4px clamp(24px, 3.4vw, 52px);
}
.review + .review { border-left: 1px solid rgba(28, 42, 69, .14); }
.review blockquote { margin: 20px 0 0; }
.review blockquote p {
	margin: 0;
	font: italic 400 17px/1.75 var(--font-serif);
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption {
	margin-top: auto;
	padding-top: 20px;
	color: var(--wells-ink);
	font-size: 13.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.review figcaption span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reviews .text-link { margin-top: clamp(30px, 3.4vw, 44px); }

@media (max-width: 860px) {
	.reviews__list { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
	.review { padding: 30px 0; }
	.review + .review { border-left: 0; border-top: 1px solid rgba(28, 42, 69, .14); }
	.review:first-child { padding-top: 0; }
	.review:last-child { padding-bottom: 0; }
}

@media (max-width: 860px) {
	.intro {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.intro__media,
	.intro--reverse .intro__media {
		order: 0;
		justify-self: stretch;
		width: 100%;
	}
	.intro__text,
	.intro--reverse .intro__text { justify-self: start; max-width: 560px; }
	.placeholder--portrait,
	.intro__media img { aspect-ratio: 16 / 10; }
	.intro__media img { object-position: center 45%; }
	.pair { grid-template-columns: minmax(0, 1fr); }
	.intro,
	.pair { padding-top: var(--gutter); }
}

@media (min-width: 601px) and (max-width: 860px) {
	.intro,
	.pair { padding: 30px 30px var(--edge); }
	.intro-band { margin-top: 28px; }
	.statement + .intro-band { margin-top: 0; }
}

@media (max-width: 600px) {
	.intro-band { margin-top: 18px; }
	.statement + .intro-band,
	.christmas-wrap + .intro-band { margin-top: 0; }
	.review:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.text-link::after { transition: none; }
}

@media (max-width: 600px) {
	.intro { gap: 22px; }
	.intro__label { margin-bottom: 12px; }
	.intro__title { margin-bottom: 14px; font-size: 24px; line-height: 1.2; }
	.intro__body { font-size: 16px; line-height: 1.65; }
	.placeholder--portrait,
	.intro__media img { aspect-ratio: 4 / 3; }
	.statement p { font-size: 19px; line-height: 1.5; }
}
