/**
 * Sutton Fresh — main stylesheet.
 * Design token system with surface classes. No hardcoded colours in
 * components; everything reads local surface tokens.
 *
 * Version: 1.6.8
 * Author: Arlieo (arlieo.co.uk)
 */

/* ── Fonts (self-hosted) ─────────────────────────────────────────── */
@font-face {
	font-family: 'Fraunces';
	src: url('../fonts/fraunces-latin-400-normal.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fraunces';
	src: url('../fonts/fraunces-latin-400-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Fraunces';
	src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fraunces';
	src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Public Sans';
	src: url('../fonts/public-sans-latin-400-normal.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Public Sans';
	src: url('../fonts/public-sans-latin-600-normal.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Public Sans';
	src: url('../fonts/public-sans-latin-700-normal.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ── Global tokens ───────────────────────────────────────────────── */
:root {
	/* Brand palette (referenced ONLY by surface classes below).
	   Client brand values: dark green #2b452a, white #fdfdfd,
	   grey green #879585, gold #9d7d39, cream #f8f5ec.
	   Darker derivatives exist purely to keep small text at WCAG AA;
	   the raw grey green and gold are used at display sizes and
	   decoratively. */
	--sf-green-900: #20331f;
	--sf-green: #2b452a;
	--sf-green-700: #3a5739;
	--sf-sage: #879585;
	--sf-sage-100: #dbe2d8;
	--sf-gold: #9d7d39;
	--sf-gold-700: #7a6128;
	--sf-gold-300: #cfb679;
	--sf-gold-tint: #f1e9d5;
	--sf-cream: #f8f5ec;
	--sf-white: #fdfdfd;
	--sf-ink: #22301e;
	--sf-ink-muted: #566353;

	/* Type */
	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Fluid type scale */
	--text-sm: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
	--text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	--text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
	--text-xl: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
	--text-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);

	/* Spacing */
	--space-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
	--space-gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
	--container: 72rem;
	--container-narrow: 46rem;

	/* Shape */
	--radius: 14px;
	--radius-lg: 22px;
	/* Organic asymmetric radius used on feature imagery — echoes the
	   soft field curves in the logo without going full blob. */
	--radius-organic: 1.5rem 4.5rem 1.5rem 4.5rem;
}

/* ── Surfaces ────────────────────────────────────────────────────── */
/* Each surface defines the full local token set every component reads. */
.surface--cream {
	--bg: var(--sf-cream);
	--fg: var(--sf-ink);
	--fg-muted: var(--sf-ink-muted);
	--accent: var(--sf-gold-700);
	--accent-display: var(--sf-gold);
	--decor: var(--sf-sage);
	--rule: #e3ddcc;
	--card-bg: var(--sf-white);
	--btn-bg: var(--sf-green);
	--btn-fg: var(--sf-white);
	--btn-hover: var(--sf-green-900);
	--focus-ring: var(--sf-green);
	background: var(--bg);
	color: var(--fg);
}
.surface--white {
	--bg: var(--sf-white);
	--fg: var(--sf-ink);
	--fg-muted: var(--sf-ink-muted);
	--accent: var(--sf-gold-700);
	--accent-display: var(--sf-gold);
	--decor: var(--sf-sage);
	--rule: #e9e5d9;
	--card-bg: var(--sf-cream);
	--btn-bg: var(--sf-green);
	--btn-fg: var(--sf-white);
	--btn-hover: var(--sf-green-900);
	--focus-ring: var(--sf-green);
	background: var(--bg);
	color: var(--fg);
}
.surface--green {
	--bg: var(--sf-green);
	--fg: var(--sf-white);
	--fg-muted: var(--sf-sage-100);
	--accent: var(--sf-gold-300);
	--accent-display: var(--sf-gold-300);
	--decor: var(--sf-sage);
	--rule: rgba(255, 255, 255, 0.18);
	--card-bg: var(--sf-green-700);
	--btn-bg: var(--sf-cream);
	--btn-fg: var(--sf-green-900);
	--btn-hover: var(--sf-white);
	--focus-ring: var(--sf-gold-300);
	background: var(--bg);
	color: var(--fg);
}
.surface--gold {
	--bg: var(--sf-gold-tint);
	--fg: var(--sf-ink);
	--fg-muted: var(--sf-ink-muted);
	--accent: var(--sf-green);
	--accent-display: var(--sf-gold);
	--decor: var(--sf-gold);
	--rule: #e0d3b2;
	--card-bg: var(--sf-white);
	--btn-bg: var(--sf-green);
	--btn-fg: var(--sf-white);
	--btn-hover: var(--sf-green-900);
	--focus-ring: var(--sf-green);
	background: var(--bg);
	color: var(--fg);
}

/* ── Reset & base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.65;
	color: var(--sf-ink);
	background: var(--sf-cream);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.6em;
	color: var(--fg, var(--sf-ink));
}

h1 {
	font-size: var(--text-2xl);
}
h2 {
	font-size: var(--text-xl);
}
h3 {
	font-size: var(--text-lg);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--accent, var(--sf-gold-700));
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--focus-ring, var(--sf-green));
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--sf-green-900);
	color: var(--sf-white);
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
	left: 0;
}

/* ── Layout primitives ───────────────────────────────────────────── */
.container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}
.container--narrow {
	max-width: var(--container-narrow);
}

.section {
	padding-block: var(--space-section);
}

.section__intro {
	max-width: 44rem;
	margin-bottom: var(--space-gap);
}

.section__heading {
	margin-bottom: 0.4em;
}

.eyebrow {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent, var(--sf-gold-700));
	margin: 0 0 0.75rem;
}
.eyebrow::before {
	content: '';
	display: inline-block;
	width: 1.75rem;
	height: 2px;
	border-radius: 2px;
	background: var(--accent-display, var(--accent, var(--sf-gold)));
	margin-right: 0.6rem;
	vertical-align: middle;
}
.u-text-center .eyebrow::before {
	display: none;
}

.u-text-center {
	text-align: center;
}
.u-text-center .section__intro {
	margin-inline: auto;
}

.prose :is(ul, ol) {
	padding-left: 1.25rem;
}
.prose a {
	color: var(--accent);
}
.prose :last-child {
	margin-bottom: 0;
}
.prose em {
	font-family: var(--font-display);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
	display: inline-block;
	padding: 0.8rem 1.7rem;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
		transform 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
}
.btn--solid {
	background: var(--btn-bg, var(--sf-green));
	color: var(--btn-fg, var(--sf-white));
}
.btn--solid:hover {
	background: var(--btn-hover, var(--sf-green-900));
	color: var(--btn-fg, var(--sf-white));
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -10px rgba(34, 48, 30, 0.45);
}
.btn:active {
	transform: translateY(0);
}
.btn--outline {
	background: transparent;
	color: var(--fg, var(--sf-ink));
	border-color: var(--fg, var(--sf-ink));
}
.btn--outline:hover {
	background: var(--fg, var(--sf-ink));
	color: var(--bg, var(--sf-cream));
}

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--rule);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.75rem;
}

.site-header__logo {
	height: 64px;
	width: auto;
}

.site-header__wordmark {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.04em;
	color: var(--sf-green);
	text-transform: uppercase;
}
.site-header__wordmark em {
	font-style: italic;
	text-transform: none;
	color: var(--sf-gold-700);
}
.site-header__wordmark--inverse {
	color: var(--sf-white);
}
.site-header__wordmark--inverse em {
	color: var(--sf-gold-300);
}

.site-header__brand {
	text-decoration: none;
}

.site-nav__list {
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	font-weight: 600;
	font-size: var(--text-sm);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fg);
	padding: 0.5rem 0;
	position: relative;
}
.site-nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--accent-display, var(--accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s ease;
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item a::after {
	transform: scaleX(1);
}

.site-nav__toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 2px solid var(--fg);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	font: inherit;
	font-weight: 600;
	color: var(--fg);
	cursor: pointer;
}
.site-nav__toggle-bar {
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}
.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
	content: '';
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}
.site-nav__toggle-bar::before {
	top: -5px;
}
.site-nav__toggle-bar::after {
	top: 5px;
}

@media (max-width: 799px) {
	.site-nav__toggle {
		display: inline-flex;
	}
	.site-nav__list {
		display: none;
		position: absolute;
		inset: 100% 0 auto 0;
		flex-direction: column;
		gap: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--rule);
		padding: 0.5rem 1.25rem 1.25rem;
	}
	body.nav-open .site-nav__list {
		display: flex;
	}
	.site-nav__list a {
		display: block;
		padding: 0.9rem 0;
		border-bottom: 1px solid var(--rule);
	}
}

/* ── Hero (split: content left, full-height half-width image right,
      solid green dissolving into the photo) ─────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.hero__content {
	position: relative;
	z-index: 1;
	max-width: 36rem;
}
.hero__heading {
	color: var(--fg);
}
.hero__subheading {
	font-size: var(--text-lg);
	color: var(--fg-muted);
	max-width: 34rem;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.75rem;
}
.hero .btn--outline {
	color: var(--fg);
	border-color: var(--fg);
}
.hero .btn--outline:hover {
	background: var(--fg);
	color: var(--sf-green-900);
}
.hero__hours {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 2rem;
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fg-muted);
	border: 1px solid var(--rule);
	border-radius: 999px;
	padding: 0.5rem 1.1rem;
}
.hero__hours-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
/* Mobile: image sits below the content, full-bleed, fading down from green. */
.hero__media {
	position: relative;
	margin-top: 2.25rem;
	margin-bottom: calc(-1 * clamp(3.5rem, 2.5rem + 5vw, 7rem));
}
.hero__image {
	width: 100%;
	height: clamp(280px, 45vw, 420px);
	object-fit: cover;
	display: block;
}
/* The stylistic separation: solid surface green dissolving into the photo. */
.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, var(--bg) 0%, rgba(43, 69, 42, 0) 45%);
}

/* Desktop: full height, half width, flush to the section's edges. */
@media (min-width: 900px) {
	.hero--has-image {
		display: flex;
		align-items: center;
		min-height: min(74vh, 42rem);
	}
	.hero--has-image .container {
		width: min(100% - 2.5rem, var(--container));
	}
	.hero--has-image .hero__content {
		max-width: min(34rem, calc(50vw - 4rem));
	}
	.hero__media {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		margin: 0;
	}
	.hero__image {
		width: 100%;
		height: 100%;
	}
	.hero__media::after {
		background: linear-gradient(90deg, var(--bg) 0%, rgba(43, 69, 42, 0) 48%);
	}
}

/* ── Split section ───────────────────────────────────────────────── */
.split__grid {
	display: grid;
	gap: var(--space-gap);
	align-items: center;
}
@media (min-width: 800px) {
	.split__grid {
		grid-template-columns: 1fr 1fr;
	}
	.split--image-left .split__content {
		order: 2;
	}
	.split--image-left .split__media {
		order: 1;
	}
}
.split__image {
	border-radius: var(--radius-organic);
	width: 100%;
	aspect-ratio: 9 / 10;
	object-fit: cover;
}
.split--image-left .split__image {
	border-radius: 4.5rem 1.5rem 4.5rem 1.5rem;
}
.split__content .btn {
	margin-top: 1.25rem;
}

/* ── USP grid ────────────────────────────────────────────────────── */
/* Column count is set per instance from the item count (see the
   usp-grid template), so incomplete last rows never occur where a
   better arrangement exists — e.g. 6 items render 3+3, not 4+2. */
.usp-grid {
	display: grid;
	gap: var(--space-gap);
	grid-template-columns: 1fr;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 620px) {
	.usp-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 960px) {
	.usp-grid--cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.usp-grid--cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.usp-grid--cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}
.usp {
	background: var(--card-bg);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
	padding: 1.75rem 1.5rem;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.usp:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px -20px rgba(34, 48, 30, 0.35);
}
.usp__icon {
	width: 40px;
	height: 40px;
	color: var(--accent-display, var(--accent));
	margin-bottom: 1rem;
	transition: transform 0.22s ease;
}
.usp:hover .usp__icon {
	transform: rotate(-6deg) scale(1.08);
}
.usp__title {
	font-size: var(--text-lg);
	margin-bottom: 0.35em;
}
.usp__text {
	color: var(--fg-muted);
	font-size: var(--text-sm);
	margin: 0;
}

/* ── Product grid ────────────────────────────────────────────────── */
/* Flex, not grid: the column count comes from the item count (set in
   the template, same logic as the selling points grid) and any
   incomplete last row centres itself — 5 products render 3 over a
   centred 2, never 4 over an orphaned 1. */
.product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}
.product-card {
	width: 100%;
}
@media (min-width: 620px) {
	.product-card {
		width: calc((100% - var(--space-gap)) / 2);
	}
}
@media (min-width: 960px) {
	.product-grid--cols-2 .product-card {
		width: calc((100% - var(--space-gap)) / 2);
	}
	.product-grid--cols-3 .product-card {
		width: calc((100% - 2 * var(--space-gap)) / 3);
	}
	.product-grid--cols-4 .product-card {
		width: calc((100% - 3 * var(--space-gap)) / 4);
	}
}
.product-card__media {
	position: relative;
	border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
	overflow: hidden;
	background: var(--card-bg);
	aspect-ratio: 4 / 3;
	margin-bottom: 0.9rem;
}
.product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.product-card:hover .product-card__image {
	transform: scale(1.045);
}
.product-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.3rem 0.8rem;
}
.product-card__name {
	font-size: var(--text-lg);
	margin-bottom: 0.2em;
}
.product-card__detail {
	color: var(--fg-muted);
	font-size: var(--text-sm);
	margin: 0;
}

.product-grid__cta {
	text-align: center;
	margin-top: var(--space-gap);
}

/* ── Steps ───────────────────────────────────────────────────────── */
.steps {
	display: grid;
	gap: var(--space-gap);
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}
.step {
	background: var(--card-bg);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
	padding: 1.75rem 1.5rem;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px -20px rgba(0, 0, 0, 0.4);
}
.step__number {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--bg);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
.step__title {
	font-size: var(--text-lg);
	margin-bottom: 0.35em;
}
.step__text {
	color: var(--fg-muted);
	font-size: var(--text-sm);
	margin: 0;
}

/* ── Gallery ─────────────────────────────────────────────────────── */
.gallery-grid {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}
.gallery-grid__item {
	overflow: hidden;
	border-radius: var(--radius);
}
.gallery-grid__item:nth-child(4n + 1) {
	border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
}
.gallery-grid__item:nth-child(4n + 3) {
	border-radius: var(--radius) var(--radius-lg) var(--radius) var(--radius-lg);
}
.gallery-grid__image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.gallery-grid__item:hover .gallery-grid__image {
	transform: scale(1.05);
}

/* ── Visit ───────────────────────────────────────────────────────── */
.visit__grid {
	display: grid;
	gap: var(--space-gap);
}
@media (min-width: 900px) {
	.visit__grid {
		grid-template-columns: 5fr 6fr;
		align-items: center;
	}
}
.visit__facts {
	margin: 1.5rem 0 0;
	display: grid;
	gap: 1rem;
}
.visit__fact dt {
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}
.visit__fact dd {
	margin: 0.15rem 0 0;
}
.visit__map {
	border-radius: var(--radius-organic);
	overflow: hidden;
	border: 1px solid var(--rule);
	aspect-ratio: 4 / 3;
	background: var(--card-bg);
}
.visit__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.visit__map--admin-note {
	display: grid;
	place-items: center;
	padding: 2rem;
	color: var(--fg-muted);
	font-size: var(--text-sm);
}

/* ── CTA banner ──────────────────────────────────────────────────── */
.cta-banner__heading {
	max-width: 30ch;
	margin-inline: auto;
}
.cta-banner__text {
	color: var(--fg-muted);
	max-width: 46ch;
	margin: 0 auto 1.5rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq {
	display: grid;
	gap: 0.75rem;
}
.faq__item {
	background: var(--card-bg);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0;
}
.faq__question {
	font-family: var(--font-display);
	font-size: var(--text-lg);
	font-weight: 600;
	padding: 1.1rem 3rem 1.1rem 1.4rem;
	cursor: pointer;
	position: relative;
	list-style: none;
}
.faq__question::-webkit-details-marker {
	display: none;
}
.faq__question::after {
	content: '+';
	position: absolute;
	right: 1.4rem;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--accent-display, var(--accent));
	transition: transform 0.25s ease;
}
.faq__item[open] .faq__question::after {
	transform: translateY(-50%) rotate(45deg);
}
.faq__item {
	transition: border-color 0.2s ease;
}
.faq__item[open] {
	border-color: var(--accent-display, var(--accent));
}
.faq__answer {
	padding: 0 1.4rem 1.25rem;
	color: var(--fg-muted);
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact__grid {
	display: grid;
	gap: var(--space-gap);
}
@media (min-width: 900px) {
	.contact__grid {
		grid-template-columns: 5fr 6fr;
		align-items: start;
	}
	.contact__grid--single {
		grid-template-columns: 1fr;
		max-width: var(--container-narrow);
	}
}
.contact__details {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-weight: 600;
}

/* Contact Form 7 styling — reads surface tokens, works on any surface. */
.wpcf7 .wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: var(--text-sm);
	margin-bottom: 1rem;
}
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit) {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.8rem 1rem;
	font: inherit;
	color: var(--fg);
	background: var(--card-bg);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: 3px solid var(--focus-ring);
	outline-offset: 1px;
	border-color: var(--focus-ring);
}
.wpcf7 .wpcf7-submit {
	display: inline-block;
	padding: 0.8rem 1.7rem;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.18s ease;
}
.wpcf7 .wpcf7-submit:hover {
	background: var(--btn-hover);
}
.wpcf7 .wpcf7-not-valid-tip {
	color: #a4262c;
	font-size: var(--text-sm);
	margin-top: 0.25rem;
}
.surface--green .wpcf7 .wpcf7-not-valid-tip {
	color: #ffb3ab;
}
.wpcf7 .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1.2rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}

/* ── Post cards ──────────────────────────────────────────────────── */
.post-list {
	display: grid;
	gap: var(--space-gap);
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.post-card__media img {
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.post-card__title {
	font-size: var(--text-lg);
	margin: 0.9rem 0 0.3rem;
}
.post-card__title a {
	color: var(--fg, var(--sf-ink));
	text-decoration: none;
}
.post-card__title a:hover {
	text-decoration: underline;
}
.post-card__excerpt {
	color: var(--fg-muted, var(--sf-ink-muted));
	font-size: var(--text-sm);
}

/* ── Milk benefits (filling bottle) ──────────────────────────────── */
.milk-stats__grid {
	display: grid;
	gap: var(--space-gap);
	align-items: center;
}
@media (min-width: 800px) {
	.milk-stats__grid {
		grid-template-columns: 2fr 3fr;
	}
}
.milk-stats__bottle {
	display: flex;
	justify-content: center;
}
.milk-stats__bottle svg {
	width: min(180px, 40vw);
	height: auto;
}
.milk-stats__outline {
	fill: none;
	stroke: var(--fg);
	stroke-width: 5;
	stroke-linejoin: round;
}
.milk-stats__fill {
	fill: var(--card-bg);
}
.surface--green .milk-stats__fill {
	fill: var(--sf-white);
}
.milk-stats__list {
	margin: 1.25rem 0 0;
	display: grid;
}
.milk-stats__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rule);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.5s ease, transform 0.5s ease;
	transition-delay: var(--stat-delay, 0s);
}
.milk-stats.is-poured .milk-stats__row,
html:not(.js) .milk-stats__row {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.milk-stats__row {
		opacity: 1;
		transform: none;
	}
}
.milk-stats__row dt {
	color: var(--fg-muted);
}
.milk-stats__row dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--text-lg);
	color: var(--fg);
}
.milk-stats__punchline {
	font-family: var(--font-display);
	font-style: italic;
	font-size: var(--text-lg);
	color: var(--accent-display, var(--accent));
	margin: 1.25rem 0 0;
}

/* ── Flavour ticker ──────────────────────────────────────────────── */
.ticker {
	position: relative;
	overflow: hidden;
	padding-block: 1.1rem;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}
.ticker__track {
	display: flex;
	align-items: center;
	gap: 3rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
}
.ticker--moving .ticker__track {
	animation: sf-ticker var(--ticker-duration, 30s) linear infinite;
}
.ticker--moving:hover .ticker__track,
.ticker--moving:focus-within .ticker__track {
	animation-play-state: paused;
}
.ticker__item {
	font-family: var(--font-display);
	font-size: var(--text-lg);
	font-weight: 700;
	white-space: nowrap;
	color: var(--fg);
	display: flex;
	align-items: center;
	gap: 3rem;
}
/* Custom-coloured flavours get a thin brand green outline so pale
   shades (lemon, vanilla) stay readable on any band background. */
/* Tinted words carry no outline: flavour colours are chosen against
   the ticker's white background, per the guidance on the colour field. */
.ticker__word {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

/* Two-tone flavours (e.g. rhubarb and custard) blend colour one into
   colour two across the word. Browsers without gradient-text support
   fall back to the solid first colour set inline. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.ticker__item--blend {
		background-image: linear-gradient(90deg, var(--fl-c1), var(--fl-c2));
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent !important;
	}
}
.ticker__item::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-display, var(--accent));
	flex: none;
}
/* Static fallback: no JS or reduced motion — wrap neatly instead. */
html:not(.js) .ticker__track,
.ticker--static .ticker__track {
	width: auto;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 0.75rem;
}
/* Pause control: revealed by JS only, since it is useless without it.
   WCAG 2.2.2 requires a mechanism to stop moving content. */
.ticker__pause {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: 0.5rem;
	transform: translateY(-50%);
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 50%;
	background: var(--bg);
	color: var(--fg);
	cursor: pointer;
}
.ticker__pause[hidden] {
	display: none;
}
.ticker__pause-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.ticker__pause::before {
	content: '';
	width: 0.7rem;
	height: 0.8rem;
	background: currentColor;
	clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}
.ticker__pause[aria-pressed='true']::before {
	clip-path: polygon(15% 0, 100% 50%, 15% 100%);
}
.ticker--paused .ticker__track {
	animation-play-state: paused !important;
}

@keyframes sf-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ── Cow print ribbon ────────────────────────────────────────────── */
/* Brand green-on-white cow print, used as a thin confident band above
   the footer. Tile is horizontally seamless. */
.cow-print-band {
	height: 48px;
	background-color: var(--sf-white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='56' viewBox='0 0 360 56'%3E%3Cg fill='%233a5739'%3E%3Cpath d='M-28 10 C-6 2 26 8 30 24 C34 40 14 54 -6 50 C-26 46 -44 20 -28 10 Z'/%3E%3Cpath d='M332 10 C354 2 386 8 390 24 C394 40 374 54 354 50 C334 46 316 20 332 10 Z'/%3E%3Cpath d='M84 -12 C108 -18 126 -2 122 14 C118 30 96 34 82 24 C68 14 64 -6 84 -12 Z'/%3E%3Cpath d='M176 30 C196 18 226 26 228 42 C230 58 206 68 186 62 C166 56 158 41 176 30 Z'/%3E%3Cpath d='M262 4 C282 -4 304 6 302 20 C300 34 280 40 266 32 C252 24 246 10 262 4 Z'/%3E%3Cpath d='M140 44 C150 38 162 42 162 50 C162 58 150 62 142 58 C134 54 132 48 140 44 Z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: auto 100%;
}

/* ── Footer ──────────────────────────────────────────────────────── */
/* The pattern band renders inside the footer as its full-width top
   border, so it appears above the footer on every page automatically. */
.site-footer {
	padding-block: 0;
}
.site-footer__grid {
	display: grid;
	gap: var(--space-gap);
	padding-top: var(--space-section);
	padding-bottom: var(--space-gap);
}
@media (min-width: 800px) {
	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}
.site-footer__logo {
	max-height: 110px;
	width: auto;
}
.site-footer__strapline {
	color: var(--fg-muted);
	font-family: var(--font-display);
	font-style: italic;
	margin-top: 0.75rem;
}
.site-footer__title {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.75rem;
}
.site-footer address {
	font-style: normal;
}
.site-footer a {
	color: var(--fg);
}
.site-footer__note {
	color: var(--fg-muted);
	font-size: var(--text-sm);
}
.site-footer__socials {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.site-footer__legal {
	border-top: 1px solid var(--rule);
	padding-block: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	font-size: var(--text-sm);
	color: var(--fg-muted);
}
.site-footer__legal p {
	margin: 0;
}
.site-footer__legal-menu {
	list-style: none;
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination {
	margin-top: var(--space-gap);
}
.pagination .page-numbers {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--rule, #e3ddcc);
	border-radius: 8px;
	text-decoration: none;
	color: var(--fg, var(--sf-ink));
}
.pagination .page-numbers.current {
	background: var(--sf-green);
	color: var(--sf-white);
	border-color: var(--sf-green);
}

/* ── Scroll reveal ───────────────────────────────────────────────── */
/* Elements are tagged by main.js (never hidden without JS present,
   and never when prefers-reduced-motion is set — JS checks both). */
.sf-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s ease, transform 0.65s ease;
	transition-delay: var(--reveal-delay, 0s);
}
.sf-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ── Motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
