/**
 * Content pages: Product Care (Figma 3049:1752), FAQs (3049:2016), Delivery &
 * Returns (3036:1858), Materials and Craftsmanship (3098:2440),
 * Certifications (2686:2986), About Us (2578:4066), Contact (3050:2356),
 * Become a Partner (3097:2208), Work With Us (3097:2428), Testimonials
 * (3095:2381), Brands (2686:2774) and Founders Story (2578:4274).
 * Desktop from the 1640 frames; mobile is not designed, so sections stack
 * (photo above its text) with the product page's mobile rhythm.
 */

/* ---- Page header (both pages) ------------------------------------------- */

.page-hero {
	/* Figma #647a67, the announcement bar's green. */
	background: var(--color-announcement);
	color: var(--color-warm-off-white);
}

.page-hero__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding-top: 40px;
	padding-bottom: 40px;
}

.page-hero__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
}

.page-hero__breadcrumbs li + li::before {
	content: "/";
	margin-right: var(--space-2);
}

.page-hero__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.page-hero__breadcrumbs a:hover {
	text-decoration: underline;
}

.page-hero__title {
	margin: 0;
	color: inherit;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h1);
	line-height: var(--leading-h1);
}

.page-hero__intro {
	max-width: 820px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.page-hero__title + .page-hero__intro {
	margin-top: 0;
}

@media (min-width: 1024px) {
	.page-hero__inner {
		padding-top: 72px;
		padding-bottom: 64px;
	}
}

/* ---- Product Care: category chips ---------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	html:has(.care-page) {
		scroll-behavior: smooth;
	}
}

.care-nav {
	padding-top: var(--space-6);
	padding-bottom: var(--space-4);
}

/* All chips in view, wrapping onto more rows (also on mobile). */
.care-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.care-nav__list::-webkit-scrollbar {
	display: none;
}

.care-nav__list li {
	flex: none;
}

.care-nav__chip {
	display: block;
	padding: 10px 18px;
	border: 1px solid var(--color-natural-oat);
	border-radius: var(--radius-pill);
	background: var(--color-warm-off-white);
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
}

.care-nav__chip:hover {
	border-color: var(--color-deep-slate);
	color: var(--color-deep-slate);
}

.care-nav__chip[aria-current="true"] {
	border-color: var(--color-deep-slate);
	background: var(--color-deep-slate);
	color: var(--color-warm-off-white);
}

@media (max-width: 767px) {
	.care-nav__list {
		gap: 8px;
	}

	.care-nav__chip {
		padding: 8px 15px;
		font-size: 12px;
		line-height: 16px;
	}
}

@media (min-width: 1024px) {
	.care-nav {
		padding-top: 40px;
		padding-bottom: var(--space-6);
	}
}

/* Desktop: the chips' copy at the top of the window once they scrolled away
   (pages.js). One row that scrolls sideways; edges fade while chips continue. */
.care-bar {
	display: none;
}

.care-nav__list.has-more {
	--fade-right: 48px;
}

.care-nav__list.has-before {
	--fade-left: 48px;
}

.care-nav__list:is(.has-more, .has-before) {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
}

@media (min-width: 1024px) {
	.care-bar {
		position: fixed;
		top: var(--sticky-header);
		right: 0;
		left: 0;
		z-index: 40;
		display: block;
		visibility: hidden;
		background: var(--color-page);
		box-shadow: 0 2px 12px rgba(33, 51, 61, 0.08);
		transform: translateY(-100%);
	}

	.care-bar.is-visible {
		visibility: visible;
		transform: none;
	}

	.care-bar__inner {
		box-sizing: border-box;
		max-width: calc(1280px + 2 * var(--gutter));
		margin: 0 auto;
		padding: 12px var(--gutter);
	}

	.care-bar .care-nav__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	/* Sections stop below the bar when a chip is clicked. */
	.care-sections .care-section {
		scroll-margin-top: 88px;
	}
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
	.care-bar {
		transition: transform 0.25s ease, visibility 0s linear 0.25s;
	}

	.care-bar.is-visible {
		transition: transform 0.25s ease;
	}
}

/* ---- Product Care: sections ---------------------------------------------- */

.care-section {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	padding: 40px 0;
	border-top: 1px solid var(--color-pale-oat);
	scroll-margin-top: var(--space-6);
}

.care-sections {
	padding-bottom: 24px;
}

.care-section__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

/* Two photos in one file: shown whole, at the file's own proportions (set
   inline, page-product-care.php). */

.care-section__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	min-width: 0;
	padding: 28px 20px 28px;
	border: 1px solid var(--color-pale-sage);
	border-radius: var(--radius-card);
}

.care-section__eyebrow {
	margin: 0;
	color: var(--color-dark-sage);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
}

.care-section__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h3);
	line-height: var(--leading-h3);
}

/* The text: 16px apart; sub-headings with 4px more above them (Figma). */
.care-section__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.care-section__body > * {
	margin: 0;
}

/* Desktop: text before the first sub-heading stays at Figma's 452px measure
   (on tablets the card is full width and the text runs with it). */
@media (min-width: 1024px) {
	.care-section__body > :not(h3, h3 ~ *) {
		max-width: 452px;
	}
}

.care-section__body h3 {
	margin-top: 4px;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.care-section__body a {
	color: var(--color-body-gray);
	font-size: 14px;
	line-height: 20px;
}

.care-section__body a:hover {
	color: var(--color-primary);
}

.care-section__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-option-image);
}

.care-section__body ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.care-section__body ul > li {
	position: relative;
	padding-left: 18px;
}

.care-section__body ul > li::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

/* Numbered lists: step cards (Figma "Steps"). */
.care-section__body ol {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: 0;
	list-style: none;
	counter-reset: care-step;
}

.care-section__body ol > li {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	padding: 16px 20px;
	border-radius: var(--radius-option);
	background: var(--color-soft-ivory);
	counter-increment: care-step;
}

.care-section__body ol > li::before {
	content: counter(care-step);
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-pale-sage);
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 767px) {
	/* Narrow screens: steps a little tighter inside the card. */
	.care-section__body ol > li {
		gap: var(--space-3);
		padding: 14px;
	}

	.care-section__body ol > li::before {
		width: 32px;
		height: 32px;
	}
}

@media (min-width: 1024px) {
	/* Photo 520px and text card, 96px apart, sides alternating (the first
	   section has its text on the left). */
	.care-section {
		display: grid;
		grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
		align-items: center;
		gap: clamp(40px, 6vw, 96px);
		padding: 72px 0;
	}

	.care-section:nth-child(odd) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	}

	/* 1024 to 1279: the photo takes 38%, so the text card is not squeezed. */
	@media (max-width: 1279px) {
		.care-section {
			grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
		}

		.care-section:nth-child(odd) {
			grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
		}
	}

	.care-section:nth-child(odd) .care-section__media {
		order: 1;
	}

	.care-section__image {
		height: 420px;
		aspect-ratio: auto;
	}

	.care-section__image--wide {
		height: auto;
	}

	/* Long guides (with sub-headings): photo 640px high, at the top. */
	.care-section--long {
		align-items: start;
	}

	.care-section--long .care-section__image {
		height: 640px;
	}

	.care-section__card {
		padding: 36px 40px 40px;
	}

	.care-sections {
		padding-bottom: 48px;
	}
}

/* ---- FAQs ---------------------------------------------------------------- */

/* The client's short videos: a row of posters, each opening the video window. */
.faq-videos {
	padding-top: 48px;
}

/* Phones: the next video peeks in (swipe). Tablets and computers: whole
   videos only, three or four, the arrows for the rest. */
.faq-videos .card-row__item {
	flex-basis: min(320px, 72vw);
}

@media (min-width: 768px) {
	/* Inside the page's width, not to the window's edges: nothing of the next
	   video shows, and no fade over the last one. (Three classes: over
	   cards.css, which loads after this file.) */
	.faq-videos.card-row .card-row__track {
		margin: 0;
		padding: 0 0 4px;
		scroll-padding: 0;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.faq-videos .card-row__item {
		flex-basis: calc((100% - 40px) / 3);
	}
}

@media (min-width: 1024px) {
	.faq-videos .card-row__item {
		flex-basis: calc((100% - 60px) / 4);
	}
}

.faq-video__button {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--color-heading);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.faq-video__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: var(--color-pale-oat);
}

.faq-video__poster {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.faq-video__play {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 12px rgba(33, 51, 61, 0.2);
	color: var(--color-dark-sage);
}

.faq-video__title {
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 16px;
	line-height: 22px;
}

.faq-video__button:hover .faq-video__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.faq-video__button:hover .faq-video__media {
	opacity: 0.85;
}

.faq-video__button:focus-visible {
	border-radius: 12px;
	outline: var(--focus-ring);
	outline-offset: 4px;
}

.faq-page__inner {
	max-width: calc(1080px + 2 * var(--gutter));
	padding-top: 48px;
	padding-bottom: 48px;
}

.faq-category + .faq-category {
	margin-top: 60px;
}

.faq-category__title {
	margin: 0 0 var(--space-4);
	color: var(--color-dark-sage);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
	text-transform: uppercase;
}

.faq-category__list {
	border-top: 1px solid var(--color-pale-sage);
}

/* Spacing without negative margins, so the slide (site.js) has nothing to
   jump: the question sits 20px (24px desktop) from the lines, 12px (16px)
   above its answer; 8px of it is the entry's own padding at the bottom. */
.faq-entry {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-pale-sage);
}

.faq-entry__heading {
	margin: 0;
}

.faq-entry__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	width: 100%;
	padding: 20px 0 12px;
	border: 0;
	background: none;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-question);
	line-height: var(--leading-question);
	text-align: left;
	cursor: pointer;
}

.faq-entry__toggle:hover {
	color: var(--color-primary);
}

.faq-entry__toggle .icon {
	flex: none;
}

.faq-entry__toggle[aria-expanded="true"] .icon-plus,
.faq-entry__toggle[aria-expanded="false"] .icon-minus {
	display: none;
}

.faq-entry__answer {
	overflow: hidden;
	padding-bottom: 12px;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.faq-entry__answer > * {
	margin: 0;
}

.faq-entry__answer > * + * {
	margin-top: var(--space-3);
}

.faq-entry__answer a {
	color: var(--color-primary);
}

/* Cards after a category's questions (Figma "Certificates comparison"). */
.faq-cards {
	display: grid;
	gap: 20px;
	padding-top: var(--space-10);
}

.faq-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: 24px 20px;
	border-radius: 16px;
	background: var(--color-soft-ivory);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.faq-card > * {
	margin: 0;
}

.faq-card__title {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

/* Contact box. */
.faq-cta {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-items: center;
	margin-top: 40px;
	padding: 32px 20px;
	border-radius: 24px;
	background: var(--color-pale-sage);
	text-align: center;
}

.faq-cta__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h3);
	line-height: var(--leading-h3);
}

.faq-cta__text {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 768px) {
	.faq-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.faq-card {
		padding: 28px;
	}
}

@media (min-width: 1024px) {
	.faq-page__inner {
		padding-top: 80px;
		padding-bottom: 120px;
	}

	.faq-entry__toggle {
		padding: 24px 0 16px;
	}

	.faq-entry__answer {
		padding-bottom: 16px;
	}

	.faq-cta {
		margin-top: 56px;
		padding: 48px;
	}
}

/* ---- Delivery & Returns (Figma 3036:1858) -------------------------------- */

.delivery-page__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
	padding-top: 40px;
	padding-bottom: 48px;
}

/* "On this page": a Soft Ivory card; the section being read is marked (pages.js).
   Phones and tablets: a bar stuck to the top with that section's name; it
   opens the list. */
.delivery-toc {
	position: sticky;
	top: var(--sticky-header);
	z-index: 50;
	border: 1px solid var(--color-pale-oat);
	border-radius: var(--radius-card);
	background: var(--color-soft-ivory);
	box-shadow: 0 6px 18px rgba(34, 51, 60, 0.08);
}

.delivery-toc__toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: none;
	color: var(--color-deep-slate);
	font-family: var(--font-body);
	text-align: left;
	cursor: pointer;
}

.delivery-toc__toggle .icon {
	flex: none;
	color: var(--color-dark-sage);
	transition: transform 0.2s ease;
}

.delivery-toc.is-open .delivery-toc__toggle .icon {
	transform: rotate(180deg);
}

.delivery-toc__current {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.delivery-toc.toc--ready:not(.is-open) .delivery-toc__list {
	display: none;
}

/* The open list drops over the text, so the page under it never moves. */
.delivery-toc .delivery-toc__list {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	max-height: 60vh;
	margin: 0;
	padding: 12px 16px 12px 15px;
	overflow-y: auto;
	border: 1px solid var(--color-pale-oat);
	border-left-width: 1px;
	border-radius: var(--radius-card);
	background: var(--color-soft-ivory);
	box-shadow: 0 12px 28px rgba(34, 51, 60, 0.14);
}

.delivery-toc__title {
	flex: none;
	margin: 0;
	color: var(--color-dark-sage);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
}

.delivery-toc__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
}

/* The links on a thin line; the section being read: Dark Sage, its part of
   the line darker (client, 2026-10-30). */
.delivery-toc__list {
	gap: 0;
	border-left: 1px solid var(--color-pale-oat);
}

.delivery-toc__list a {
	display: block;
	margin-left: -1px;
	padding: 6px 10px 6px 14px;
	border-left: 2px solid transparent;
	border-radius: 0 6px 6px 0;
	color: var(--color-body-gray);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.delivery-toc__list a:hover {
	color: var(--color-deep-slate);
	text-decoration: underline;
}

.delivery-toc__list a[aria-current="true"] {
	border-left-color: var(--color-dark-sage);
	background: var(--color-pale-sage);
	color: var(--color-dark-sage);
	font-weight: var(--weight-gilroy-medium);
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.delivery-page) {
		scroll-behavior: smooth;
	}
}

/* Sections: 48px apart, their content 16px apart. */
.delivery-content {
	display: flex;
	flex-direction: column;
	gap: 48px;
	min-width: 0;
}

.delivery-section {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
	/* Below the bar of "On this page" when a link scrolls here (phones). */
	scroll-margin-top: 72px;
}

.delivery-section > * {
	margin: 0;
}

.delivery-section__title {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.delivery-section h3 {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-question);
	line-height: var(--leading-question);
}

/* Lead-ins ("Price:", "Basta®:"): darker, not bold (Figma). */
.delivery-section strong {
	color: var(--color-deep-slate);
	font-weight: inherit;
}

.delivery-section a,
.delivery-questions a {
	color: var(--color-primary);
}

.delivery-section ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 0 4px;
	list-style: none;
}

.delivery-section ul > li {
	position: relative;
	padding-left: 18px;
}

.delivery-section ul > li::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

/* Tables: rounded, Pale Sage line, rows alternating Soft Ivory / Warm Off White. */
.delivery-table {
	width: 100%;
	border: 1px solid var(--color-pale-sage);
	border-radius: var(--radius-option);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.delivery-table tr:nth-child(odd) {
	background: var(--color-soft-ivory);
}

.delivery-table tr:nth-child(even) {
	background: var(--color-warm-off-white);
}

.delivery-table th,
.delivery-table td {
	padding: 12px 16px;
	border: 0;
	vertical-align: top;
}

.delivery-table th {
	color: var(--color-deep-slate);
	font-weight: var(--weight-gilroy-regular);
	text-align: left;
}

.delivery-table td {
	color: var(--color-body-gray);
	text-align: right;
}

.delivery-table td a {
	color: inherit;
	text-decoration: none;
}

.delivery-table td a:hover {
	color: var(--color-primary);
	text-decoration: underline;
}

.delivery-box {
	padding: 20px 24px;
	border-radius: var(--radius-option);
	background: var(--color-soft-ivory);
	color: var(--color-deep-slate);
}

.delivery-box p {
	margin: 0;
}

.delivery-questions {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: 28px 24px;
	border-radius: var(--radius-card);
	background: var(--color-pale-sage);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.delivery-questions > * {
	margin: 0;
}

.delivery-questions__title {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

@media (min-width: 1024px) {
	/* "On this page" 360px, sticky, beside the 840px content (80px apart). */
	.delivery-page__inner {
		display: grid;
		grid-template-columns: 360px minmax(0, 1fr);
		align-items: start;
		gap: 80px;
		padding-top: 80px;
		padding-bottom: 120px;
	}

	.delivery-toc {
		top: calc(var(--sticky-header) + 24px);
		max-height: calc(100vh - var(--sticky-header) - 48px);
		overflow-y: auto;
		padding: 28px;
		border: 0;
		box-shadow: none;
	}

	.delivery-section {
		scroll-margin-top: var(--space-6);
	}

	/* Desktop: the bar is only the card's title; the list always shows. */
	.delivery-toc__toggle {
		display: block;
		margin-bottom: var(--space-3);
		padding: 0;
		cursor: default;
	}

	.delivery-toc__current,
	.delivery-toc__toggle .icon {
		display: none;
	}

	.delivery-toc.toc--ready:not(.is-open) .delivery-toc__list,
	.delivery-toc .delivery-toc__list {
		position: static;
		display: flex;
		max-height: none;
		margin: 0;
		padding: 0;
		overflow: visible;
		border: 0;
		border-left: 1px solid var(--color-pale-oat);
		border-radius: 0;
		box-shadow: none;
	}

	.delivery-table th,
	.delivery-table td {
		padding: 12px 20px;
	}

	.delivery-questions {
		padding: 36px 40px;
	}
}

/* ---- Materials and Craftsmanship, Certifications ------------------------- */

/* Figma 3098:2440 and 2686:2986 (1640 frames). Sections 120px apart on
   desktop, 48px below 1024 (as on the product page). */
.story-page {
	--block-space: 48px;
}

@media (min-width: 1024px) {
	.story-page {
		--block-space: 120px;
	}
}

/* Photo header: the photo under a slate gradient, text white. */
.photo-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 436px;
	overflow: hidden;
	isolation: isolate;
	color: var(--color-warm-off-white);
}

.photo-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(rgba(34, 51, 60, 0.15), rgba(34, 51, 60, 0.65));
}

.photo-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	padding-top: 40px;
	padding-bottom: 40px;
}

.photo-hero__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 14px;
	line-height: 24px;
	text-transform: uppercase;
}

.photo-hero__breadcrumbs li + li::before {
	content: "/";
	margin-right: var(--space-2);
}

.photo-hero__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.photo-hero__breadcrumbs a:hover {
	text-decoration: underline;
}

.photo-hero__title {
	max-width: 780px;
	margin: 0;
	color: inherit;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h1);
	line-height: var(--leading-h1);
}

.photo-hero__intro {
	max-width: 600px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

/* In-text links on a photo or a dark band: the text's own light colour,
   underlined (About Us, Our Story). */
.photo-hero__intro a,
.about-zero p a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.photo-hero__intro a:hover,
.about-zero p a:hover {
	color: inherit;
	text-decoration-thickness: 2px;
}

.photo-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4) var(--space-9);
	margin-top: 8px;
}

.photo-hero__link {
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-button);
	line-height: var(--leading-button);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
}

.photo-hero__link:hover {
	color: var(--color-warm-off-white);
	text-decoration-color: currentColor;
}

/* Phones: the button across the column, the link centred under it (as on the home page). */
@media (max-width: 767px) {
	.photo-hero__buttons {
		width: 100%;
	}

	.photo-hero__link {
		width: 100%;
		text-align: center;
	}
}

@media (min-width: 1024px) {
	.photo-hero {
		align-items: center;
		min-height: 700px;
	}

	.photo-hero::after {
		background: linear-gradient(rgba(34, 51, 60, 0), rgba(34, 51, 60, 0.5));
	}

	.photo-hero__inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.photo-hero__breadcrumbs ol {
		font-size: 16px;
	}
}

/* Eyebrows Dark Sage (Pale Sage on dark); section titles Mont Regular. */
.story-page .eyebrow {
	margin: 0;
	color: var(--color-dark-sage);
}

.story-page h2 {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h2);
	line-height: var(--leading-h2);
}

/* Only what nature makes: intro, then the four materials. */
.materials {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.materials__intro {
	display: grid;
	gap: var(--space-4);
	margin-bottom: 40px;
}

.story-page .materials__eyebrow {
	margin-bottom: var(--space-2);
}

.materials__lead {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.materials__lead p {
	margin: 0;
}

.materials__list {
	display: grid;
	gap: 40px var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.material {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.material__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	margin-bottom: 6px;
	border-radius: var(--radius-card);
	object-fit: cover;
}

.material__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.material__text {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.material__used {
	margin: 0;
	color: var(--color-dark-sage);
	font-weight: var(--weight-gilroy-medium);
	font-size: 12px;
	line-height: 24px;
	text-transform: uppercase;
}

@media (min-width: 600px) {
	.materials__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.material__image {
		aspect-ratio: 302 / 380;
	}
}

@media (min-width: 1024px) {
	.materials__intro {
		grid-template-columns: 460px minmax(0, 1fr);
		gap: 0 min(180px, 10vw);
		margin-bottom: 80px;
	}

	.materials__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Handmade to order: Dark Sage, the steps as a numbered list. The button
   comes after the steps on mobile, under the text on desktop. */
.process {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
	background: var(--color-dark-sage);
	color: var(--color-pale-sage);
}

.process__inner {
	display: grid;
	gap: 32px;
}

.process__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
}

.story-page .process__eyebrow {
	color: var(--color-pale-sage);
}

.story-page .process__title {
	color: var(--color-warm-off-white);
}

.process__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.button.button--light {
	background: var(--color-warm-off-white);
	color: var(--color-deep-slate);
}

.button.button--light:hover {
	background: var(--color-pale-oat);
	color: var(--color-deep-slate);
}

.process__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-step {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: var(--space-4);
	padding: 24px 0;
}

.process-step + .process-step {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.process-step:first-child {
	padding-top: 0;
}

.process-step:last-child {
	padding-bottom: 0;
}

.process-step__number {
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: 24px;
	line-height: 34px;
}

.process-step__title {
	margin: 0 0 var(--space-1);
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.process-step__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 1024px) {
	/* The empty 1fr rows keep the text and button centred beside the steps. */
	.process__inner {
		grid-template-columns: 420px minmax(0, 1fr);
		grid-template-rows: 1fr auto auto 1fr;
		grid-template-areas:
			". steps"
			"intro steps"
			"cta steps"
			". steps";
		gap: 0 min(120px, 7vw);
	}

	.process__intro {
		grid-area: intro;
	}

	.process__steps {
		grid-area: steps;
		align-self: center;
	}

	.process__cta {
		grid-area: cta;
		margin-top: 28px;
	}

	.process-step {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 40px;
		padding: 28px 0;
	}

	.process-step__number {
		font-size: 30px;
		line-height: 44px;
	}
}

/* Photo / text halves; the panel colour per section (Figma). Mobile (Figma
   Certifications mobile): text first, then the photo; full-width button. */
.split {
	display: grid;
	background: var(--split-tone, var(--color-warm-off-white));
}

.split--ivory {
	--split-tone: var(--color-soft-ivory);
}

.split--oat {
	--split-tone: var(--color-pale-oat);
}

.split__media {
	order: 2;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.split__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.split__video {
	height: 100%;
}

.split__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-4);
	padding: 36px var(--gutter);
}

.split__title {
	max-width: 520px;
}

.split__text {
	max-width: 605px;
	margin: 0;
	color: var(--color-deep-slate);
	font-size: var(--text-body-l);
	line-height: var(--leading-body-l);
}

.split__button {
	box-sizing: border-box;
	align-self: stretch;
	padding: 14px 20px;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}

/* Two buttons (Materials: the care guide and Zero Waste): stacked on phones,
   side by side from tablets. */
.split__buttons {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 12px;
}

@media (min-width: 600px) {
	.split__buttons {
		flex-flow: row wrap;
		align-self: flex-start;
	}
}

/* The second one outlined: the panel is the secondary button's own colour. */
.split .button.button--secondary {
	box-shadow: inset 0 0 0 1px var(--color-primary);
	background: transparent;
}

.split .button.button--secondary:hover {
	background: var(--color-pale-oat);
}

/* Tablet: still stacked, a lower photo and the button its own width. */
@media (min-width: 600px) and (max-width: 1023px) {
	.split__media {
		aspect-ratio: 16 / 9;
	}

	.split__button {
		align-self: flex-start;
	}
}

@media (min-width: 1024px) {
	/* As tall as the window below the header (at most Figma's 747 px) when the
	   text allows; the photo fills its half and never sets the height. */
	.split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: min(747px, calc(100vh - 68px));
	}

	.split__media {
		position: relative;
		order: 0;
		aspect-ratio: auto;
	}

	.split__image {
		position: absolute;
		inset: 0;
	}

	.split__button {
		align-self: flex-start;
		margin-top: 8px;
		padding: 0 var(--space-9);
		font-size: var(--text-button);
		line-height: var(--leading-button);
	}

	/* 1024 to 1279: the half is narrow; the long certificate labels fit on
	   one line at 14px. */
	@media (max-width: 1279px) {
		.split__button {
			padding: 0 20px;
			font-size: 14px;
		}
	}

	/* The text's outer edge follows the content width (1280 px, as the other
	   sections) on wide screens: 100% is the half's width, so half minus
	   640 px is the space beside the content (180 px at 1640, as in Figma). */
	.split__panel {
		gap: 20px;
		padding: 80px max(clamp(40px, 6.7vw, 110px), calc(100% - 640px)) 80px clamp(40px, 5.5vw, 90px);
	}

	.split--flip .split__media {
		order: 2;
	}

	.split--flip .split__panel {
		padding-right: clamp(40px, 5.5vw, 90px);
		padding-left: max(clamp(40px, 4.5vw, 73px), calc(100% - 640px));
	}
}

/* Our Certificates: three cards with the logo, text and the certificate PDF. */
.certificates {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
	text-align: center;
}

.certificates__text {
	max-width: 772px;
	margin: var(--space-4) auto;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.certificates__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.certificate-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px;
	background: var(--color-soft-ivory);
}

.certificate-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.certificate-card__logo {
	display: block;
	flex: none;
	width: auto;
	height: 52px;
}

.certificate-card__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.certificate-card__text {
	margin: 14px 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.certificate-card__button {
	margin-top: auto;
}

@media (min-width: 768px) {
	.certificates__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.certificates {
		padding-top: 112px;
		padding-bottom: 112px;
	}

	.certificates__text {
		margin-top: var(--space-3);
		margin-bottom: 63px;
	}

	.certificates__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px;
	}

	.certificate-card {
		min-height: 278px;
		padding: 25px;
	}

	.certificate-card__head {
		gap: var(--space-4);
	}

	.certificate-card__logo {
		height: 76px;
	}

	.certificate-card__text {
		margin: 24px 0 19px;
	}
}

/* What they mean: centred text (the atelier photo under it was taken out,
   client 2026-11-25). */
.cert-meaning {
	padding: var(--block-space) 0;
}

.cert-meaning__inner {
	max-width: calc(910px + 2 * var(--gutter));
	text-align: center;
}

.cert-meaning__text {
	margin: var(--space-4) 0 0;
	color: var(--color-body-gray);
	font-size: var(--text-body-l);
	line-height: var(--leading-body-l);
}

/* Join the Flock: centred over the ram (images/ram.svg as a mask, natural oat 20%). */
.join-flock {
	position: relative;
	overflow: clip;
	isolation: isolate;
	background: var(--color-warm-off-white);
}

.join-flock::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 391px;
	aspect-ratio: 659 / 466;
	background: rgba(222, 211, 194, 0.2);
	-webkit-mask: url(../images/ram.svg) no-repeat 0 0 / 100% 100%;
	mask: url(../images/ram.svg) no-repeat 0 0 / 100% 100%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.join-flock__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
	padding-top: 48px;
	padding-bottom: 48px;
	text-align: center;
}

.join-flock__text {
	max-width: 571px;
	margin: 0 0 var(--space-4);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 1024px) {
	.join-flock::before {
		width: 659px;
	}

	.join-flock__inner {
		justify-content: center;
		min-height: 466px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.join-flock__text {
		margin-bottom: 30px;
	}
}

/* ---- 404 (Figma 3046:1752) ------------------------------------------------ */

.not-found {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	color: var(--color-warm-off-white);
}

/* Slate from the left (desktop), so the text reads on the light photo; on
   narrow screens the text covers the photo, so evenly darker. */
.not-found::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(34, 51, 60, 0.5);
}

@media (min-width: 1024px) {
	.not-found::after {
		background: linear-gradient(90deg, rgba(34, 51, 60, 0.5), rgba(34, 51, 60, 0.1) 75%);
	}
}

.not-found__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.not-found__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding-top: 32px;
	padding-bottom: 48px;
}

.not-found__logo {
	display: block;
	width: 120px;
}

.not-found__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.not-found__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-block: auto;
}

.not-found__code {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 120px;
	line-height: 1;
}

.not-found__title {
	margin: 8px 0 0;
	color: inherit;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h2);
	line-height: var(--leading-h2);
}

.not-found__text {
	max-width: 520px;
	margin: 12px 0 32px;
	font-size: 16px;
	line-height: 24px;
}

.not-found .search-pill {
	max-width: 600px;
	border-color: var(--color-warm-off-white);
}

/* On the photo: a light ring, as on the blog's green header. */
.not-found .search-pill:hover {
	border-color: var(--color-warm-off-white);
	box-shadow: 0 0 0 4px rgba(254, 253, 253, 0.25);
}

.not-found .search-pill:focus-within {
	border-color: var(--color-warm-off-white);
	box-shadow: 0 0 0 4px rgba(254, 253, 253, 0.5);
}

.not-found__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-top: 35px;
}

.not-found__home {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	box-sizing: border-box;
	padding: 0 32px 0 28px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-pill);
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-button);
	line-height: var(--leading-button);
	text-decoration: none;
}

.not-found__home:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-warm-off-white);
}

.not-found__buttons .button {
	min-height: 56px;
}

@media (min-width: 1024px) {
	.not-found__inner {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.not-found__logo {
		width: 194px;
	}

	/* Figma: 197px "404", the title 23px into its line box. */
	.not-found__code {
		font-size: 197px;
		line-height: 231px;
	}

	.not-found__title {
		margin-top: -22px;
	}
}

/* ---- Search with no results (Figma 3030:1604) ----------------------------- */

.search-empty-page {
	--section-space: 48px;
}

@media (min-width: 1024px) {
	.search-empty-page {
		--section-space: 120px;
	}
}

.search-empty {
	padding-top: 48px;
	padding-bottom: var(--section-space);
}

.search-empty__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-6);
	text-align: center;
}

.search-empty__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-body-gray);
	font-size: 14px;
	line-height: 20px;
}

.search-empty__breadcrumbs li + li::before {
	content: "/";
	margin-right: var(--space-2);
}

.search-empty__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.search-empty__breadcrumbs a:hover {
	color: var(--color-deep-slate);
	text-decoration: underline;
}

.search-empty__title {
	max-width: 100%;
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h1);
	line-height: var(--leading-h1);
	overflow-wrap: anywhere;
}

.search-empty__text {
	max-width: 680px;
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.search-empty__popular-title {
	margin: 16px 0 0;
	color: var(--color-body-gray);
}

.search-empty__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	max-width: 900px;
	margin: -4px 0 0;
	padding: 0;
	list-style: none;
}

.search-chip {
	display: block;
	padding: 10px 20px;
	border: 1px solid var(--color-pale-sage);
	border-radius: var(--radius-pill);
	background: var(--color-warm-off-white);
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.search-chip:hover {
	border-color: var(--color-deep-slate);
	color: var(--color-deep-slate);
}

/* Help cards: Soft Ivory (Contact); a card can be Dark Sage ('tone' => 'sage'). */
.search-help {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--space-6);
	align-self: stretch;
	padding-top: 16px;
	text-align: left;
}

/* One card alone: not across the whole page. */
.search-help:has(> :only-child) {
	width: 100%;
	max-width: 640px;
	align-self: center;
}

.search-help__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	padding: 24px;
	border-radius: var(--radius-card);
	background: var(--color-soft-ivory);
	color: var(--color-body-gray);
}

.search-help__card--sage {
	background: var(--color-dark-sage);
	color: var(--color-warm-off-white);
}

.search-help__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.search-help__card--sage .search-help__title {
	color: var(--color-warm-off-white);
}

.search-help__text {
	max-width: 365px;
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 24px;
}

/* White pill, Pale Sage border (Natural Oat on the sage card). The search
   page body has WooCommerce's .woocommerce class, so these outrank its
   `.woocommerce a.button` colours. */
.search-help .button.button--outline {
	min-height: 56px;
	box-sizing: border-box;
	padding: 0 32px;
	border: 1px solid var(--color-pale-sage);
	background: var(--color-warm-off-white);
	color: var(--color-deep-slate);
}

.search-help__card--sage .button.button--outline {
	border-color: var(--color-natural-oat);
}

.search-help .button.button--outline:hover {
	border-color: var(--color-natural-oat);
	background: var(--color-pale-oat);
	color: var(--color-deep-slate);
}

@media (min-width: 1024px) {
	.search-empty {
		padding-top: 100px;
	}

	.search-help {
		padding-top: 40px;
	}

	.search-help__card {
		min-height: 240px;
		box-sizing: border-box;
		padding: 32px;
	}
}

/* ---- About Us (Figma 2578:4066) -------------------------------------------- */

/* Title in two lines as in Figma: "Natural comfort. Made / by people who care." */
@media (min-width: 1024px) {
	.about-page .photo-hero__title {
		max-width: 720px;
	}
}

/* Mission: eyebrow and title left, two paragraphs right; three values. */
.about-mission {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.about-mission__intro {
	display: grid;
	gap: var(--space-4);
}

.story-page .about-mission__eyebrow {
	margin-bottom: var(--space-4);
	color: var(--color-deep-slate);
}

.about-mission__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.about-mission__text p {
	margin: 0;
}

.about-values {
	display: grid;
	gap: var(--space-4);
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.about-value {
	padding: 28px;
	background: var(--color-soft-ivory);
}

.about-value__head {
	display: flex;
	align-items: center;
	gap: 15px;
}

.about-value__head img {
	display: block;
	flex: none;
	width: auto;
	height: 41px;
}

.about-value__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.about-value__text {
	margin: var(--space-3) 0 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: 16px;
	line-height: 26px;
}

@media (min-width: 768px) {
	.about-values {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.about-mission__intro {
		grid-template-columns: 460px minmax(0, 720px);
		justify-content: space-between;
		gap: 0 40px;
	}

	.about-values {
		gap: 28px;
		margin-top: 98px;
	}

	.about-value {
		padding: 37px 28px 30px;
	}

	.about-value__text {
		font-size: 18px;
		line-height: 34px;
	}
}

/* Workshop: Soft Ivory; the video (or its photo) beside the text, two photos. */
.about-workshop {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
	background: var(--color-soft-ivory);
}

.about-workshop__intro {
	display: grid;
	gap: 32px;
}

.about-workshop__media {
	position: relative;
	aspect-ratio: 628 / 588;
	overflow: hidden;
}

.about-workshop__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-workshop__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.about-workshop__text p:not(.eyebrow) {
	max-width: 563px;
	margin: 0;
}

.about-workshop__photos {
	display: grid;
	gap: var(--space-6);
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.about-workshop__photos figure {
	margin: 0;
}

.about-workshop__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 628 / 260;
	object-fit: cover;
}

.about-workshop__photos figcaption {
	margin-top: 14px;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: 16px;
	line-height: 26px;
}

@media (min-width: 768px) {
	.about-workshop__photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.about-workshop {
		padding-top: 127px;
		padding-bottom: 110px;
	}

	.about-workshop__intro {
		grid-template-columns: minmax(0, 628px) minmax(0, 563px);
		justify-content: space-between;
		align-items: center;
		gap: 40px;
	}

	.about-workshop__photos {
		margin-top: 25px;
	}

	.about-workshop__photos figcaption {
		font-size: 18px;
		line-height: 34px;
	}
}

/* Play button over a video's photo (shown once the video has a URL). */
.video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	padding: 0 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(254, 253, 253, 0.92);
	color: var(--color-deep-slate);
	box-shadow: 0 8px 24px rgba(34, 51, 60, 0.18);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-play:hover {
	background: var(--color-warm-off-white);
	transform: translate(-50%, -50%) scale(1.06);
}

.video-dialog {
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	padding: 0;
	border: 0;
	background: #000;
	overflow: visible;
}

.video-dialog::backdrop {
	background: rgba(34, 51, 60, 0.8);
}

.video-dialog__frame {
	aspect-ratio: 16 / 9;
}

/* An upright video (phones): as tall as the screen allows. */
.video-dialog.is-portrait {
	width: min(calc(100vw - 32px), calc((100svh - 112px) * 9 / 16));
}

.video-dialog.is-portrait .video-dialog__frame {
	aspect-ratio: 9 / 16;
}

.video-dialog__frame iframe,
.video-dialog__frame video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-dialog__close {
	position: absolute;
	top: -48px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-warm-off-white);
	color: var(--color-deep-slate);
	cursor: pointer;
}

/* Team: intro, then portraits in rows of five. */
.about-team {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.about-team__intro {
	display: grid;
	gap: var(--space-4);
	margin-bottom: 32px;
}

.about-team__text {
	max-width: 487px;
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.about-team__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-member__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin-bottom: 10px;
	object-fit: cover;
}

.team-member__photo--empty {
	background: var(--color-light-oat);
}

.team-member__name {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: 16px;
	line-height: 26px;
}

/* The name links to the person's LinkedIn, when there is one. */
.team-member__name a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.team-member__name a:hover {
	color: inherit;
	text-decoration-color: currentColor;
}

.team-member__role {
	margin: 2px 0 0;
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

@media (min-width: 600px) {
	.about-team__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.about-team {
		padding-bottom: 91px;
	}

	.about-team__intro {
		grid-template-columns: minmax(0, 1fr) 487px;
		align-items: end;
		gap: 40px;
		margin-bottom: 60px;
	}

	.about-team__text {
		padding-bottom: 12px;
	}

	.about-team__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 30px 24px;
	}

	.team-member__name {
		font-size: 18px;
		line-height: 34px;
	}

	.team-member__role {
		margin-top: 0;
	}
}

/* Zero waste: the announcement green, text white. */
.about-zero {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
	background: var(--color-announcement);
	color: var(--color-warm-off-white);
}

.story-page .about-zero__eyebrow {
	color: var(--color-warm-off-white);
}

.story-page .about-zero__title {
	margin-top: var(--space-4);
	color: var(--color-warm-off-white);
}

.about-zero__text {
	max-width: 980px;
	margin: var(--space-4) 0 0;
	font-size: 16px;
	line-height: 24px;
}

/* The client's collage of three products (2026-11-25): shown whole, at its
   own proportions, so no product is cut off on phones. */
.about-zero__image {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 32px;
}

.about-zero__steps {
	display: grid;
	gap: 28px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.about-zero__step-title {
	margin: 0 0 var(--space-3);
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.about-zero__steps p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 768px) {
	.about-zero__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px;
	}
}

@media (min-width: 1024px) {
	.about-zero {
		padding-top: 85px;
		padding-bottom: 115px;
	}

	.about-zero__text {
		margin-top: 23px;
	}

	.about-zero__image {
		margin-top: 55px;
	}

	.about-zero__step-title {
		margin-bottom: 18px;
	}
}

/* Our story, shared: one story at a time in a Soft Ivory box; dots below the text. */
.about-media {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.about-media__text {
	max-width: 900px;
	margin: var(--space-4) 0 32px;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.media-stories {
	position: relative;
	background: var(--color-soft-ivory);
}

.media-stories__track {
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.media-stories__track::-webkit-scrollbar {
	display: none;
}

/* position: the screen-reader text in a story's link (absolute) stays inside
   the scrolling row, so later stories don't widen the page. */
.media-story {
	position: relative;
	display: grid;
	flex: 0 0 100%;
	gap: 24px;
	box-sizing: border-box;
	padding: 24px 20px 64px;
	scroll-snap-align: start;
}

.media-story__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.media-story__text p:not(.eyebrow) {
	margin: 0 0 8px;
}

.media-story__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 22px;
	line-height: 30px;
}

.media-story__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	order: -1;
}

.media-story__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 554 / 369;
	object-fit: cover;
}

.media-story__logo {
	display: block;
	width: auto;
	max-width: 122px;
	height: auto;
	max-height: 40px;
	object-fit: contain;
}

/* Progress pills: the current one long and green (Figma). */
.media-stories__dots {
	position: absolute;
	bottom: 28px;
	left: 20px;
	display: flex;
	gap: 5px;
}

.media-stories__dots button {
	width: 32px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--color-pale-oat);
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.media-stories__dots button:hover {
	background: var(--color-natural-oat);
}

.media-stories__dots button[aria-current] {
	width: 82px;
	background: var(--color-announcement);
}

@media (min-width: 1024px) {
	.about-media__text {
		margin-bottom: 55px;
	}

	.media-story {
		grid-template-columns: minmax(0, 558px) minmax(0, 554px);
		justify-content: space-between;
		align-items: center;
		gap: 40px;
		min-height: 507px;
		padding: 36px 64px 36px 50px;
	}

	.media-story__media {
		order: 0;
	}

	.media-story__title {
		font-size: 28px;
		line-height: 41px;
	}

	.media-stories__dots {
		bottom: 94px;
		left: 50px;
	}
}

/* "See all press" under the stories. */
.about-media__all {
	margin: 32px 0 0;
}

/* ---- In the Media (no Figma: cards in the About Us story style) ---------- */

.press-list {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.press-grid {
	display: grid;
	gap: 32px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.press-card {
	display: flex;
	flex-direction: column;
	background: var(--color-soft-ivory);
}

.press-card__media {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--color-warm-off-white);
}

.press-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* No photo: the logo, larger, on a light ground. */
.press-card__media--logo {
	border-bottom: 1px solid var(--color-pale-oat);
}

.press-card__big-logo {
	display: block;
	width: auto;
	max-width: 55%;
	height: auto;
	max-height: 45%;
	object-fit: contain;
}

.press-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px 20px 28px;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.press-card__logo {
	display: block;
	width: auto;
	max-width: 122px;
	height: auto;
	max-height: 32px;
	object-fit: contain;
}

.press-card__source {
	margin: 0;
}

.press-card__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 20px;
	line-height: 28px;
}

.press-card__text {
	margin: 0;
}

/* The button at the bottom, so the buttons of a row line up; outlined, as
   the card is the secondary button's colour. */
.press-card__button {
	margin-top: auto;
}

.press-card .button.button--secondary {
	background: var(--color-warm-off-white);
	box-shadow: inset 0 0 0 1px var(--color-natural-oat);
}

.press-card .button.button--secondary:hover {
	background: var(--color-pale-oat);
}

.press-list__note {
	margin: 48px 0 0;
	color: var(--color-body-gray);
	font-size: 14px;
	line-height: 20px;
}

@media (min-width: 768px) {
	.press-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.press-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 24px;
	}

	.press-card__body {
		padding: 28px 28px 32px;
	}
}

/* ---- Contact (Figma 3050:2356) ------------------------------------------- */

.contact-page__inner {
	display: grid;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 64px;
}

.contact-cards {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-card {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	padding: var(--space-6);
	border-radius: 16px;
	background: var(--color-soft-ivory);
	color: var(--color-body-gray);
	text-decoration: none;
}

a.contact-card {
	transition: background-color 0.2s ease;
}

a.contact-card:hover {
	background: var(--color-light-oat);
	color: var(--color-body-gray);
}

a.contact-card:hover .contact-card__link {
	text-decoration: underline;
}

.contact-card__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
}

.contact-card__image {
	display: block;
	width: 20px;
	height: 20px;
}

.contact-card__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.contact-card__title {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.contact-card__line {
	font-size: 16px;
	line-height: 24px;
}

.contact-card__line + .contact-card__line {
	margin-top: -4px;
}

.contact-card__link {
	color: var(--color-dark-sage);
}

.contact-page__info {
	display: grid;
	gap: 40px;
	min-width: 0;
}

/* Partner locations, from the old Locations page (/locations-2/ comes here). */
.contact-locations {
	display: grid;
	gap: var(--space-4);
	scroll-margin-top: 24px;
}

.contact-locations:focus {
	outline: none;
}

.contact-locations__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.contact-locations__intro,
.contact-locations__retail {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.contact-locations__retail a {
	color: var(--color-dark-sage);
	text-decoration: underline;
}

.contact-form {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--color-pale-sage);
	border-radius: 24px;
}

.contact-form__title {
	margin: 0 0 20px;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h3);
	line-height: var(--leading-h3);
}

.contact-form__fallback {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 1024px) {
	.contact-page__inner {
		grid-template-columns: minmax(0, 460fr) minmax(0, 756fr);
		align-items: start;
		gap: 64px;
		padding-top: 80px;
		padding-bottom: 120px;
	}

	.contact-form {
		padding: 40px;
	}
}

/* ---- Become a Partner (Figma 3097:2208) ---------------------------------- */

.partner-application {
	background: var(--color-dark-sage);
	color: var(--color-warm-off-white);
}

.partner-application__inner {
	display: grid;
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.partner-application__info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.partner-page .partner-application .eyebrow {
	color: var(--color-pale-sage);
}

.partner-page .partner-application__info h2 {
	color: var(--color-warm-off-white);
}

.partner-application__text {
	margin: 0;
	color: var(--color-pale-sage);
	font-size: 16px;
	line-height: 24px;
}

.partner-benefits {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 8px 0 12px;
	padding: 0;
	list-style: none;
}

.partner-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 16px;
	line-height: 24px;
}

.partner-benefits li::before {
	content: "";
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--color-warm-off-white) url("../images/partner/icon-check.svg") no-repeat center / 14px 14px;
}

.partner-application__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 520 / 340;
	border-radius: 20px;
	object-fit: cover;
}

/* A form in a white card (Become a Partner, Work With Us): fields in Soft
   Ivory on Natural Oat, 54 px (Figma). */
.form-card {
	min-width: 0;
	padding: 24px;
	border-radius: 24px;
	background: var(--color-warm-off-white);
	color: var(--color-body-gray);
}

.story-page .form-card__title {
	margin-bottom: 20px;
	color: var(--color-deep-slate);
	font-size: var(--text-h3);
	line-height: var(--leading-h3);
}

.form-card__note {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 20px;
}

.form-card__note a {
	color: var(--color-dark-sage);
}

.form-card .how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]),
.form-card .how-form select,
.form-card .how-form textarea {
	min-height: 54px;
	padding: 14px 18px;
	border-color: var(--color-natural-oat);
	border-radius: 10px;
	background-color: var(--color-soft-ivory);
}

.form-card .how-form select {
	padding-right: 46px;
	background-position: right 18px center;
}

.form-card .how-form textarea {
	height: 170px;
	min-height: 170px;
	padding-top: 16px;
}

.form-card .how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]):hover,
.form-card .how-form select:hover,
.form-card .how-form textarea:hover {
	border-color: var(--color-input-border);
}

.form-card .how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]):focus,
.form-card .how-form select:focus,
.form-card .how-form textarea:focus {
	border-color: var(--color-focus);
}

.form-card .how-form .wpcf7-not-valid:not([type="checkbox"]) {
	border-color: var(--color-error);
}

.partner-inquiries__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.partner-inquiries__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.partner-inquiries__text p:not(.eyebrow) {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.partner-inquiries__text a {
	color: var(--color-dark-sage);
	text-decoration: none;
}

.partner-inquiries__text a:hover {
	text-decoration: underline;
}

/* Outline button (Prefer email?, Show more reviews): Deep Slate (Figma). */
.story-page .button.button--outline {
	flex: none;
	min-height: 54px;
	box-sizing: border-box;
	padding: 0 32px;
	border: 1px solid var(--color-deep-slate);
	background: transparent;
	color: var(--color-deep-slate);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.story-page .button.button--outline:hover {
	background: var(--color-deep-slate);
	color: var(--color-warm-off-white);
}

@media (min-width: 1024px) {
	.partner-application__inner {
		grid-template-columns: minmax(0, 520fr) minmax(0, 680fr);
		align-items: start;
		gap: 80px;
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.form-card {
		padding: 48px;
	}

	.partner-inquiries__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 80px;
		padding-top: 96px;
		padding-bottom: 96px;
	}
}

/* ---- Work With Us (Figma 3097:2428) -------------------------------------- */

.work-collaboration {
	background: var(--color-soft-ivory);
}

.work-collaboration__inner {
	display: grid;
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.work-collaboration__info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.work-collaboration__text {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.work-collaboration__text a {
	color: var(--color-dark-sage);
	text-decoration: none;
}

.work-collaboration__text a:hover {
	text-decoration: underline;
}

.work-types {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.work-type {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 0;
	border-top: 1px solid var(--color-natural-oat);
	color: var(--color-body-gray);
}

.work-type__title {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.work-type__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

@media (min-width: 1024px) {
	.work-collaboration__inner {
		grid-template-columns: minmax(0, 480fr) minmax(0, 704fr);
		align-items: start;
		gap: 96px;
		padding-top: 120px;
		padding-bottom: 120px;
	}
}

/* ---- Testimonials (Figma 3095:2381) -------------------------------------- */

.stars {
	display: inline-flex;
	flex: none;
	gap: 2px;
	color: var(--color-dark-sage);
	vertical-align: middle;
}

.stars svg {
	display: block;
	flex: none;
}

.testimonials-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.testimonials-rating .stars {
	color: var(--color-warm-off-white);
}

.testimonials-rating__score {
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.loved-by {
	background: var(--color-soft-ivory);
}

.loved-by__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding-top: 48px;
	padding-bottom: 48px;
	text-align: center;
}

.story-page .loved-by__title {
	color: var(--color-dark-sage);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-eyebrow);
	line-height: var(--leading-eyebrow);
}

.loved-by__names {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.testimonials {
	padding: 56px 0;
}

.testimonials__notice {
	margin: 0 0 32px;
	padding: 14px 20px;
	border-radius: 12px;
	background: var(--color-pale-sage);
	color: var(--color-deep-slate);
	font-size: 16px;
	line-height: 24px;
}

.testimonials__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 32px;
}

.testimonials__head > div {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.testimonials__body {
	display: grid;
	gap: 40px;
}

.rating-summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border-radius: 24px;
	background: var(--color-soft-ivory);
}

.rating-summary__score {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
}

.rating-summary__average {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h1);
	line-height: var(--leading-h1);
}

.rating-summary__stars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: 20px;
}

.rating-summary__bars {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rating-summary__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
}

.rating-summary__label {
	flex: none;
	width: 56px;
	color: var(--color-deep-slate);
}

.rating-summary__track {
	flex: 1;
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--color-pale-oat);
}

.rating-summary__track span {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--color-dark-sage);
}

.rating-summary__share {
	flex: none;
	width: 40px;
	text-align: right;
}

.testimonials__list {
	min-width: 0;
}

.review-tools {
	display: flex;
	gap: 12px;
	padding-bottom: 24px;
}

.review-tools__search {
	flex: 1;
	min-width: 0;
}

.review-tools input[type="search"] {
	min-height: 52px;
	padding: 14px 20px 14px 48px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	background: var(--color-soft-ivory) url("../images/testimonials/icon-search.svg") no-repeat 20px center / 18px 18px;
	appearance: none;
	transition: border-color 0.2s ease;
}

.review-tools input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.review-tools input[type="search"]:hover {
	border-color: var(--color-natural-oat);
}

.review-tools input[type="search"]:focus {
	border-color: var(--color-dark-sage);
}

.review-tools select {
	width: auto;
	min-height: 52px;
	padding: 0 42px 0 20px;
	border: 1px solid var(--color-natural-oat);
	border-radius: var(--radius-pill);
	background: transparent url("../images/testimonials/icon-sort.svg") no-repeat right 20px center / 14px 14px;
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.review-tools select:hover {
	border-color: var(--color-dark-sage);
}

.review-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.review-row {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--color-pale-oat);
}

.review-row__author {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.review-row__author p {
	margin: 0;
}

.review-row__name {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.review-row__verified {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	line-height: 20px;
}

.review-row__author .review-row__label {
	margin-top: 4px;
	font-weight: var(--weight-gilroy-medium);
	font-size: 12px;
	line-height: 24px;
	text-transform: uppercase;
}

.review-row__product {
	color: var(--color-dark-sage);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.review-row__product:hover {
	color: var(--color-dark-sage);
	text-decoration: underline;
}

.review-row__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.review-row__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.review-row__date {
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
}

.review-row__text {
	font-size: 16px;
	line-height: 24px;
	overflow-wrap: anywhere;
}

.review-row__text p {
	margin: 0;
}

.review-row__text p + p {
	margin-top: 12px;
}

.review-list__more {
	display: flex;
	justify-content: center;
	padding-top: 32px;
}

.review-list__more .button:disabled {
	cursor: progress;
	opacity: 0.6;
}

.review-list__empty {
	margin: 0;
	padding: 32px 0;
	border-top: 1px solid var(--color-pale-oat);
	font-size: 16px;
	line-height: 24px;
}

.review-list__empty a {
	color: var(--color-dark-sage);
}

/* Write a review: the form in a dialog. */
html:has(.review-dialog[open]) {
	overflow: hidden;
}

.review-dialog {
	width: min(640px, 100% - 32px);
	max-width: none;
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 24px;
	background: transparent;
}

.review-dialog::backdrop {
	background: rgba(34, 51, 60, 0.6);
}

.review-dialog__card {
	position: relative;
}

.story-page .review-dialog .form-card__title {
	margin-bottom: 8px;
	padding-right: 48px;
}

.review-dialog__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-soft-ivory);
	color: var(--color-deep-slate);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.review-dialog__close:hover {
	background: var(--color-pale-oat);
}

/* Antispam Bee's hidden trap field takes no room. */
.how-form textarea[aria-hidden="true"] {
	min-height: 0;
}

.star-input {
	margin: 0;
	padding: 0;
	border: 0;
}

.star-input legend {
	margin-bottom: 8px;
	padding: 0;
}

/* Five radios, 5 to 1, shown 1 to 5: a star and the ones before it fill. */
.star-input__stars {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.star-input__stars input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.star-input__stars label {
	display: flex;
	border-radius: 4px;
	color: var(--color-natural-oat);
	cursor: pointer;
	transition: color 0.15s ease;
}

.star-input__stars svg {
	fill: currentColor;
}

.star-input__stars input:checked ~ label {
	color: var(--color-dark-sage);
}

.star-input__stars:hover input ~ label {
	color: var(--color-natural-oat);
}

.star-input__stars:hover label:hover,
.star-input__stars:hover label:hover ~ label {
	color: var(--color-dark-sage);
}

.star-input__stars input:focus-visible + label {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

@media (min-width: 1024px) {
	.loved-by__inner {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.loved-by__names {
		gap: 12px 36px;
	}

	.testimonials {
		padding: 120px 0;
	}

	.testimonials__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		margin-bottom: 48px;
	}

	.testimonials__body {
		grid-template-columns: minmax(0, 380fr) minmax(0, 836fr);
		align-items: start;
		gap: 64px;
	}

	.rating-summary {
		padding: 36px;
	}

	.review-row {
		padding: 32px 0;
	}
}

/* From 1280 the author beside the review; below that the review would be a
   narrow column, so the author stays above it. */
@media (min-width: 1280px) {
	.review-row {
		flex-direction: row;
		gap: 48px;
	}

	.review-row__author {
		flex: none;
		width: 220px;
	}
}

/* ---- Brands, The Home of Wool® Family (Figma 2686:2774) ------------------ */

/* The photo header with the three logos along its bottom edge. */
.brands-hero {
	flex-direction: column;
	align-items: stretch;
}

.brands-hero .photo-hero__inner {
	flex: 1;
	justify-content: center;
}

.brands-hero .photo-hero__intro {
	max-width: 497px;
	font-weight: var(--weight-gilroy-medium);
	font-size: 18px;
	line-height: 27px;
}

.brands-hero__strip {
	border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.brands-hero__logos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 12px;
	padding-bottom: 12px;
	list-style: none;
}

.brands-hero__logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 12px;
}

.brands-hero__logos li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.brands-hero__logos a {
	display: block;
	transition: opacity 0.2s ease;
}

.brands-hero__logos a:hover {
	opacity: 0.8;
}

.brands-hero__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: 22px;
}

.brands-hero__logos li:last-child .brands-hero__logo {
	height: 28px;
}

/* The same space above and below every section (48 px on mobile, as Join the
   Flock); the product row adds none of its own. */
.brand-section {
	padding: 48px 0;
}

.brand-section--tinted {
	background: var(--color-soft-ivory);
}

.brand-block {
	display: grid;
	gap: 16px;
}

.brand-block__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 32px 24px;
	border-radius: 20px;
	background: var(--color-soft-ivory);
}

.brand-section--tinted .brand-block__panel {
	background: var(--color-pale-oat);
}

.brand-block__text {
	max-width: 514px;
	margin: 0;
	color: var(--color-deep-slate);
	font-size: var(--text-body-l);
	line-height: var(--leading-body-l);
}

.brand-block__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 600 / 590;
	border-radius: 20px;
}

.brand-block__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Casa Alessandro: the photo darkens towards its logo (Figma). */
.brand-section--casa-alessandro .brand-block__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(225deg, rgba(34, 51, 60, 0) 1%, rgba(34, 51, 60, 0.4) 99%);
}

.brand-block__logo {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 1;
	width: auto;
	height: 40px;
}

.brand-section--casa-alessandro .brand-block__logo {
	right: auto;
	left: 20px;
}

.brand-section--nomad-heat .brand-block__logo {
	height: 52px;
}

.brand-section .brand-products {
	padding: 48px 0 0;
}

.brand-products .card-row__head {
	align-items: flex-start;
}

.brand-products .card-row__intro {
	max-width: 652px;
}

/* The brand's own colour on its Shop button (Figma). */
.brand-section--basta .button.brand-button {
	background: #903277;
}

.brand-section--basta .button.brand-button:hover {
	background: #742862;
}

.brand-section--nomad-heat .button.brand-button {
	background: #243c69;
}

.brand-section--nomad-heat .button.brand-button:hover {
	background: #1a2d50;
}

.brands-page .join-flock {
	background: var(--color-soft-ivory);
}

@media (min-width: 768px) {
	.brands-hero__logos {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.brands-hero__logos li {
		min-height: 100px;
	}

	.brands-hero__logos li:nth-child(1) .brands-hero__logo {
		height: 49px;
	}

	.brands-hero__logos li:nth-child(2) .brands-hero__logo {
		height: 46px;
	}

	.brands-hero__logos li:nth-child(3) .brands-hero__logo {
		height: 60px;
	}
}

@media (min-width: 1024px) {
	.brands-hero {
		min-height: 715px;
	}

	.brand-section {
		padding: 120px 0;
	}

	.brand-block {
		grid-template-columns: minmax(0, 600fr) minmax(0, 639fr);
		gap: 41px;
	}

	.brand-block--flip {
		grid-template-columns: minmax(0, 639fr) minmax(0, 600fr);
	}

	/* Photo left, text right; Basta the other way round. On mobile the text
	   comes first (Figma mobile). */
	.brand-block:not(.brand-block--flip) .brand-block__media {
		order: -1;
	}

	.brand-block__panel {
		gap: 26px;
		padding: 48px 40px 48px 49px;
	}

	.brand-block__logo {
		right: 22px;
		bottom: 22px;
		height: 54px;
	}

	.brand-section--casa-alessandro .brand-block__logo {
		left: 30px;
		bottom: 34px;
		height: 56px;
	}

	.brand-section--nomad-heat .brand-block__logo {
		right: 27px;
		bottom: 18px;
		height: 75px;
	}

	.brand-section .brand-products {
		padding-top: 106px;
	}

	/* Three cards side by side: no scrolling row. */
	.brand-products .card-row__track {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.brand-products .row-progress {
		display: none;
	}
}

/* ---- Founders Story (Figma 2578:4274, mobile 2873:3601) ------------------ */

/* The photo header's eyebrow, in the breadcrumb's place and style. */
.photo-hero__eyebrow {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 14px;
	line-height: 24px;
	text-transform: uppercase;
}

.founders-page .photo-hero__title {
	max-width: 654px;
}

.founders-page .photo-hero__intro {
	max-width: 583px;
}

.founder {
	padding: 48px 0;
}

.founder__inner {
	display: grid;
	gap: 24px;
}

.founder__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.founder__portrait {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.founder__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 558 / 405;
	object-fit: cover;
}

.founder__portrait figcaption {
	display: flex;
	flex-direction: column;
	color: var(--color-deep-slate);
}

.founder__name {
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.founder__role,
.founder__story p,
.founders-columns p,
.made-to-order__text p,
.founders-ready p,
.workshop-steps__text,
.workshop-step__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.founder__story {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

/* The seven steps, on the announcement green. */
.workshop-steps {
	padding: 56px 0;
	background: var(--color-announcement);
	color: var(--color-warm-off-white);
	scroll-margin-top: 24px;
}

.founders-page .workshop-steps h2 {
	color: inherit;
}

.workshop-steps__text {
	max-width: 850px;
	margin: 16px 0 24px;
}

.workshop-steps__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.workshop-step {
	display: flex;
	gap: 20px;
	padding: 20px;
	border: 1px solid rgba(254, 253, 253, 0.2);
	border-radius: 18px;
}

.workshop-step__number {
	flex: none;
	width: 44px;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 24px;
	line-height: 36px;
}

.workshop-step__title {
	margin: 0 0 10px;
	color: inherit;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

/* A title (with a button or text) beside a column of text. */
.founders-columns {
	padding: 56px 0;
}

.founders-columns--oat {
	background: var(--color-natural-oat);
}

.founders-columns__inner {
	display: grid;
	gap: 24px;
}

.founders-columns__head,
.founders-columns__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

/* Figma's 440 px titles: "Before You Order: / What to Know". */
.founders-columns__head h2 {
	max-width: 440px;
}

/* "Meet the People Behind Home of Wool" on one line on a phone. */
@media (max-width: 599px) {
	.founders-columns .button {
		padding-right: 20px;
		padding-left: 20px;
	}
}

.made-to-order {
	padding: 56px 0;
}

.made-to-order__inner {
	display: grid;
	gap: 32px;
}

.made-to-order__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.made-to-order__text p {
	max-width: 592px;
}

.made-to-order__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 536 / 590;
	object-fit: cover;
}

/* Proof Behind the Promise: the certificate cards, left-aligned on ivory. */
.certificates--proof {
	background: var(--color-soft-ivory);
	text-align: left;
}

.certificates--proof .certificates__text {
	max-width: none;
}

.certificates--proof .certificates__text + .certificates__text {
	margin-top: 24px;
}

.certificates--proof .certificate-card {
	background: var(--color-warm-off-white);
}

.founders-page .customer-reviews {
	padding: 56px 0;
}

/* Ready to create…: green, with the ram drawing on the right. */
.founders-ready {
	position: relative;
	overflow: clip;
	isolation: isolate;
	background: var(--color-announcement);
	color: var(--color-warm-off-white);
}

.founders-ready::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: min(520px, calc(100% - 2 * var(--gutter)));
	aspect-ratio: 659 / 466;
	background: rgba(254, 253, 253, 0.08);
	-webkit-mask: url(../images/ram.svg) no-repeat 0 0 / 100% 100%;
	mask: url(../images/ram.svg) no-repeat 0 0 / 100% 100%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.founders-ready__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.founders-page .founders-ready h2 {
	max-width: 1000px;
	color: inherit;
}

.founders-ready p {
	max-width: 900px;
}

.founders-page .join-flock__title {
	max-width: 545px;
}

@media (min-width: 1024px) {
	.photo-hero__eyebrow {
		font-size: 16px;
	}

	.founders-page .photo-hero {
		min-height: 824px;
	}

	.founder {
		padding: 90px 0 120px;
	}

	/* Title and portrait on the left, the story on the right from the title down. */
	.founder__inner {
		grid-template-columns: minmax(0, 558fr) minmax(0, 659fr);
		grid-template-rows: auto 1fr;
		column-gap: 66px;
		row-gap: 32px;
	}

	.founder__intro {
		grid-column: 1;
		grid-row: 1;
	}

	.founder__portrait {
		grid-column: 1;
		grid-row: 2;
	}

	.founder__story {
		grid-column: 2;
		grid-row: 1 / 3;
		padding-top: 112px;
	}

	.workshop-steps {
		padding: 90px 0;
	}

	.workshop-steps__text {
		margin: 32px 0;
	}

	.workshop-steps__list {
		gap: 32px;
	}

	.workshop-step {
		gap: 32px;
		padding: 24px;
	}

	.workshop-step__number {
		width: 64px;
		font-size: 32px;
		line-height: 50px;
	}

	.founders-columns {
		padding: 120px 0;
	}

	.founders-columns__inner {
		grid-template-columns: minmax(0, 594fr) minmax(0, 599fr);
		align-items: center;
		column-gap: 115px;
	}

	.made-to-order {
		padding: 120px 0;
	}

	.made-to-order__inner {
		grid-template-columns: minmax(0, 680fr) minmax(0, 536fr);
		align-items: center;
		justify-content: space-between;
		column-gap: 64px;
	}

	.made-to-order__text {
		gap: 26px;
	}

	.founders-page .customer-reviews {
		padding: 100px 0;
	}

	/* Desktop: the ram on the right (Figma); centred on smaller screens. */
	.founders-ready::before {
		right: -40px;
		left: auto;
		width: 799px;
		transform: translateY(-50%);
	}

	.founders-ready__inner {
		padding-top: 144px;
		padding-bottom: 144px;
	}
}

/* ---- Forms (Contact Form 7, class "how-form") ----------------------------- */

.how-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.how-form .form-row {
	display: grid;
	gap: 20px;
}

.how-form .form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.how-form .form-field > label,
.how-form .form-label {
	color: var(--color-deep-slate);
	font-weight: var(--weight-gilroy-regular);
	font-size: 14px;
	line-height: 20px;
}

.how-form .wpcf7-form-control-wrap {
	display: block;
}

.how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]),
.how-form select,
.how-form textarea {
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--color-pale-sage);
	border-radius: 8px;
	background-color: var(--color-warm-off-white);
	transition: border-color 0.2s ease;
}

.how-form textarea {
	display: block;
	height: 150px;
	min-height: 150px;
	padding-top: 14px;
}

.how-form select {
	padding-right: 44px;
	appearance: none;
	background-image: url("../images/contact/icon-select.svg");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px 16px;
	cursor: pointer;
}

.how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]):hover,
.how-form select:hover,
.how-form textarea:hover {
	border-color: var(--color-input-border);
}

.how-form input:not([type="submit"], [type="file"], [type="checkbox"], [type="radio"]):focus,
.how-form select:focus,
.how-form textarea:focus {
	border-color: var(--color-focus);
}

.how-form .wpcf7-not-valid:not(.form-dropzone__input) {
	border-color: var(--color-error);
}

.how-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--color-error);
	font-size: 14px;
	line-height: 20px;
}

/* The photo: the file input covers the box, so a photo can be dropped on it. */
.how-form .form-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 28px 16px;
	border: 1px dashed var(--color-pale-sage);
	border-radius: 12px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.how-form .form-dropzone::before {
	content: "";
	width: 28px;
	height: 28px;
	background: url("../images/contact/icon-upload.svg") no-repeat center / 28px 28px;
}

.how-form .form-dropzone:hover,
.how-form .form-dropzone.is-dragover {
	border-color: var(--color-dark-sage);
	background: var(--color-soft-ivory);
}

.how-form .form-dropzone:has(input:focus-visible) {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

.how-form .form-dropzone .wpcf7-form-control-wrap {
	position: static;
}

.how-form .form-dropzone__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.how-form .form-dropzone__text {
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

.how-form .form-dropzone__browse {
	color: var(--color-dark-sage);
}

.how-form .form-dropzone__hint {
	max-width: 100%;
	overflow: hidden;
	color: var(--color-body-gray);
	font-size: 14px;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.how-form .form-dropzone.has-file .form-dropzone__hint {
	color: var(--color-deep-slate);
	font-weight: var(--weight-gilroy-medium);
}

.how-form .form-consent {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 14px;
	line-height: 20px;
}

/* Underlined: in the sentence the colour alone doesn't set a link apart. */
.how-form .form-consent a {
	color: var(--color-dark-sage);
	text-decoration: underline;
}

.how-form .form-consent a:hover {
	text-decoration: none;
}

.how-form .form-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: var(--space-3);
}

.how-form .form-submit .wpcf7-spinner {
	margin: 0;
}

/* Cloudflare Turnstile (its plugin adds it before the button): a row of its
   own, only as tall as a check it shows; without its line breaks. */
.how-form .form-submit .cf7-cf-turnstile {
	flex-basis: 100%;
	margin: 0 !important;
}

.how-form .form-submit br,
.how-form .cf-turnstile-br {
	display: none !important; /* The Turnstile plugin shows its spacer inline. */
}

/* The consent checkbox (an acceptance field). */
.how-form .form-acceptance .wpcf7-list-item {
	display: block;
	margin: 0;
}

.how-form .form-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-body-gray);
	font-weight: var(--weight-gilroy-regular);
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

.how-form .form-acceptance a {
	color: var(--color-dark-sage);
	text-decoration: none;
}

.how-form .form-acceptance a:hover {
	text-decoration: underline;
}

.how-form input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1.5px solid var(--color-natural-oat);
	border-radius: 4px;
	background: var(--color-warm-off-white) no-repeat center / 14px 14px;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.how-form input[type="checkbox"]:hover,
.how-form input[type="checkbox"]:checked {
	border-color: var(--color-dark-sage);
}

.how-form input[type="checkbox"]:checked {
	background-image: url("../images/partner/icon-check.svg");
}

.how-form input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

.how-form .wpcf7-not-valid input[type="checkbox"] {
	border-color: var(--color-error);
}

/* A full-width button; the spinner sits inside it, on the right. */
.how-form .form-submit--full {
	position: relative;
}

.how-form .form-submit--full .button {
	width: 100%;
}

.how-form .form-submit--full .wpcf7-spinner {
	position: absolute;
	right: 16px;
	bottom: 14px;
}

/* Contact Form 7's own rules that the forms need. Live doesn't load its
   stylesheet, which left the hidden fields and the empty message box showing. */
.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

.wpcf7 .hidden-fields-container,
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	position: relative;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--color-deep-slate);
	opacity: 0.75;
}

.wpcf7-spinner::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--color-warm-off-white);
	transform-origin: 8px 8px;
	animation: how-form-spin 1s linear infinite;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

@keyframes how-form-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation: none;
	}
}

/* After sending: Contact Form 7's message, in the site's colours. */
.wpcf7 form.how-form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--color-error);
	border-radius: 8px;
	color: var(--color-error);
	font-size: 14px;
	line-height: 20px;
}

.wpcf7 form.how-form.sent .wpcf7-response-output {
	border-color: var(--color-dark-sage);
	background: var(--color-soft-ivory);
	color: var(--color-deep-slate);
}

@media (min-width: 600px) {
	.how-form .form-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

/* ---- Affiliate Program (page-join-affiliate.php) --------------------------- */

.affiliate-steps {
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.affiliate-steps__head {
	display: grid;
	gap: var(--space-4);
	max-width: 900px;
	margin: 0 auto 40px;
	text-align: center;
}

.affiliate-steps__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.affiliate-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 32px 24px;
	border-radius: 24px;
	background: var(--color-soft-ivory);
	text-align: center;
}

.affiliate-step__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--color-dark-sage);
	color: var(--color-warm-off-white);
}

.affiliate-step h3 {
	margin: 0;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.affiliate-step p:not(.eyebrow) {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.affiliate-join {
	background: var(--color-pale-oat);
}

.affiliate-join__inner {
	display: grid;
	gap: 24px;
	align-items: start;
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.affiliate-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
}

.story-page .affiliate-card .form-card__title {
	margin: -8px 0 0;
}

.affiliate-card > p:not(.eyebrow) {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.affiliate-card > .button {
	align-self: flex-start;
}

/* AffiliateWP's forms: the card's eyebrow and title stand in for the legend. */
.affiliate-card .affwp-form fieldset {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px 16px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.affiliate-card .affwp-form legend {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.affiliate-card .affwp-form p {
	min-width: 0;
	margin: 0;
}

.affiliate-card .affwp-form label {
	display: block;
	margin: 0 0 8px;
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

.affiliate-card .affwp-form input[type="text"],
.affiliate-card .affwp-form input[type="email"],
.affiliate-card .affwp-form input[type="password"],
.affiliate-card .affwp-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--color-natural-oat);
	border-radius: 10px;
	background: var(--color-soft-ivory);
	color: var(--color-deep-slate);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 24px;
}

.affiliate-card .affwp-form textarea {
	height: 130px;
	padding-top: 16px;
	resize: vertical;
}

.affiliate-card .affwp-form input:hover,
.affiliate-card .affwp-form textarea:hover {
	border-color: var(--color-input-border);
}

.affiliate-card .affwp-form input:focus,
.affiliate-card .affwp-form textarea:focus {
	border-color: var(--color-focus);
	outline: none;
}

/* Logged in, the username and email are the account's own. */
.affiliate-card .affwp-form input[readonly] {
	color: var(--color-body-gray);
}

.affiliate-card .affwp-form label.affwp-user-remember,
.affiliate-card .affwp-form label.affwp-tos {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: var(--color-body-gray);
}

.affiliate-card .affwp-form input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--color-dark-sage);
}

.affiliate-card .affwp-form .affwp-tos a,
.affiliate-card .affwp-form .affwp-lost-password a {
	color: var(--color-dark-sage);
}

.affiliate-card .affwp-form .affwp-lost-password a {
	text-decoration: none;
}

.affiliate-card .affwp-form .affwp-lost-password a:hover {
	text-decoration: underline;
}

.affiliate-card .affwp-form .button {
	width: 100%;
}

/* Log in: Remember me and Lost your password? on one line, then the button. */
.affiliate-card .affwp-login-form fieldset {
	grid-template-columns: minmax(0, 1fr) auto;
}

.affiliate-card .affwp-login-form fieldset > p {
	grid-column: 1 / -1;
}

.affiliate-card .affwp-login-form fieldset > p:has(.affwp-user-remember) {
	grid-column: 1;
	font-size: 14px;
	line-height: 20px;
}

.affiliate-card .affwp-login-form .affwp-lost-password {
	grid-row: 3;
	grid-column: 2;
	font-size: 14px;
	line-height: 20px;
}

/* AffiliateWP's messages (errors, "awaiting approval"). */
.affiliate-card .affwp-errors,
.affiliate-card .affwp-notice {
	padding: 12px 16px;
	border: 1px solid var(--color-natural-oat);
	border-radius: 10px;
	background: var(--color-soft-ivory);
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

.affiliate-card .affwp-errors {
	border-color: var(--color-error);
}

.affiliate-card .affwp-errors p {
	margin: 0;
	color: var(--color-error);
}

@media (min-width: 768px) {
	.affiliate-steps__head {
		margin-bottom: 56px;
	}

	.affiliate-steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.affiliate-step {
		padding: 40px 36px;
	}

	.affiliate-card--register .affwp-form fieldset {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.affiliate-card--register .affwp-form fieldset > p {
		grid-column: 1 / -1;
	}

	/* Two per row: name and username, the two emails, the two passwords. */
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-user-name),
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-user-login),
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-user-email),
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-payment-email),
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-user-pass),
	.affiliate-card--register .affwp-form fieldset > p:has(#affwp-user-pass2) {
		grid-column: auto;
	}
}

@media (min-width: 1200px) {
	.affiliate-join__inner {
		grid-template-columns: 520px minmax(0, 1fr);
	}

	.affiliate-join__inner--single {
		grid-template-columns: minmax(0, 860px);
		justify-content: center;
	}
}

/* ---- Steps panel (how_theme_page_steps_panel) ------------------------------ */

.steps-panel {
	background: var(--color-dark-sage);
	color: var(--color-pale-sage);
}

.steps-panel__inner {
	display: grid;
	gap: 32px;
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

.steps-panel__head {
	display: grid;
	gap: var(--space-4);
	align-content: start;
}

.story-page .steps-panel .eyebrow {
	color: var(--color-pale-sage);
}

.story-page .steps-panel h2 {
	color: var(--color-warm-off-white);
}

.steps-panel__head p:not(.eyebrow) {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.steps-panel__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps-panel__steps li {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 28px 0;
}

.steps-panel__steps li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.steps-panel__steps li:first-child {
	padding-top: 0;
}

.steps-panel__steps li:last-child {
	padding-bottom: 0;
}

.steps-panel__number {
	flex: none;
	width: 48px;
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h3);
	line-height: var(--leading-h3);
}

.steps-panel__steps h3 {
	margin: 0 0 8px;
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.steps-panel__steps p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

/* ---- Custom Order Request (page-custom-order-request.php) ------------------ */

.custom-request {
	background: var(--color-soft-ivory);
}

.custom-request__inner {
	display: grid;
	gap: 24px 40px;
	align-items: start;
	padding-top: var(--block-space);
	padding-bottom: var(--block-space);
}

/* The form's four parts, each under a line. */
.custom-request__form .how-form {
	gap: 24px;
}

.custom-request__form .form-step {
	margin: 4px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--color-pale-oat);
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-regular);
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

/* cm / inches: a two-option pill. */
.custom-request__form .form-units .wpcf7-radio {
	display: inline-flex;
	padding: 4px;
	border-radius: var(--radius-pill);
	background: var(--color-soft-ivory);
}

.custom-request__form .form-units .wpcf7-list-item {
	margin: 0;
}

.custom-request__form .form-units label {
	position: relative;
	display: block;
	cursor: pointer;
}

.custom-request__form .form-units input {
	position: absolute;
	opacity: 0;
}

.custom-request__form .form-units .wpcf7-list-item-label {
	display: block;
	padding: 8px 22px;
	border-radius: var(--radius-pill);
	color: var(--color-deep-slate);
	font-size: 14px;
	line-height: 20px;
}

.custom-request__form .form-units input:checked + .wpcf7-list-item-label {
	background: var(--color-deep-slate);
	color: var(--color-warm-off-white);
}

.custom-request__form .form-units input:focus-visible + .wpcf7-list-item-label {
	outline: var(--focus-ring);
	outline-offset: 2px;
}

.custom-request__form .form-dropzone--large {
	padding: 32px 24px;
	border-color: var(--color-natural-oat);
	background: var(--color-soft-ivory);
}

.custom-request__form .form-dropzone__title {
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-h5);
	line-height: var(--leading-h5);
}

.custom-request__form .form-dropzone--large .form-dropzone__hint {
	white-space: normal;
}

.custom-request__form textarea {
	height: 130px;
	min-height: 130px;
}

/* Sizes and quantity: numbers without the browser's arrows. */
.custom-request__form input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.custom-request__form input[type="number"]::-webkit-inner-spin-button,
.custom-request__form input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.custom-request__form .form-submit .button {
	align-self: flex-start;
}

.custom-request__side {
	display: grid;
	gap: 20px;
}

.custom-request__image {
	display: block;
	width: 100%;
	height: 260px;
	border-radius: 24px;
	object-fit: cover;
}

.custom-help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px 24px;
	border-radius: 24px;
	background: var(--color-warm-off-white);
}

.story-page .custom-help h2 {
	font-size: var(--text-h4);
	line-height: var(--leading-h4);
}

.custom-help p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.custom-help p a {
	color: var(--color-dark-sage);
}

.custom-help--sizing {
	background: var(--color-dark-sage);
	color: var(--color-pale-sage);
}

.story-page .custom-help--sizing h2 {
	color: var(--color-warm-off-white);
}

.custom-help__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--color-warm-off-white);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: var(--text-button);
	line-height: var(--leading-button);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	cursor: pointer;
}

.custom-help__link:hover {
	text-decoration-color: currentColor;
}

/* The sizing guide drawer. */
.sizing-guide__steps {
	display: grid;
	gap: 20px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	counter-reset: sizing;
}

.sizing-guide__steps li {
	position: relative;
	margin: 0;
	padding-left: 44px;
	counter-increment: sizing;
}

.sizing-guide__steps li::before {
	content: counter(sizing);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--color-pale-sage);
	color: var(--color-dark-sage);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 14px;
}

.sizing-guide__steps h3 {
	margin: 4px 0 6px;
	color: var(--color-deep-slate);
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 18px;
	line-height: 26px;
}

.sizing-guide__steps p,
.sizing-guide__note {
	margin: 0;
	color: var(--color-body-gray);
	font-size: 16px;
	line-height: 24px;
}

.sizing-guide__note {
	padding: 16px;
	border-radius: 12px;
	background: var(--color-soft-ivory);
}

@media (min-width: 600px) {
	.how-form .form-row--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.steps-panel__steps li {
		gap: 40px;
	}

	.steps-panel__number {
		width: 64px;
	}

	.custom-request__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.custom-request__image {
		grid-column: 1 / -1;
		height: 320px;
	}

	.custom-help {
		padding: 32px;
	}
}

@media (min-width: 1024px) {
	.steps-panel__inner {
		grid-template-columns: 420px minmax(0, 1fr);
		gap: 120px;
	}
}

@media (min-width: 1200px) {
	.custom-request__inner {
		grid-template-columns: minmax(0, 1fr) 400px;
	}

	.custom-request__side {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---- More about Home of Wool: the other About pages (inc/pages.php) ---- */

.about-pages {
	padding: 56px 0;
	background: var(--color-soft-ivory);
}

.about-pages .about-pages__title {
	margin: 0 0 24px;
	color: var(--color-heading);
	font-size: var(--text-h2);
	line-height: var(--leading-h2);
}

.about-pages__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-page-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding-bottom: 4px;
	color: var(--color-deep-slate);
	text-decoration: none;
}

.about-page-card .about-page-card__image {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-card);
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.about-page-card__title {
	font-family: var(--font-heading);
	font-weight: var(--weight-mont-bold);
	font-size: 20px;
	line-height: 28px;
}

.about-page-card__text {
	font-size: 16px;
	line-height: 24px;
}

.about-page-card:hover .about-page-card__image {
	opacity: 0.88;
}

.about-page-card:hover .about-page-card__title {
	text-decoration: underline;
}

@media (min-width: 768px) {
	.about-pages__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (min-width: 1024px) {
	.about-pages {
		padding: 96px 0;
	}

	.about-pages .about-pages__title {
		margin-bottom: 40px;
	}
}
