/* ==========================================================================
   Hayfield Dairy
   Change the brand here: colours, fonts and sizes are all tokens.
   ========================================================================== */
:root {
	/* Palette taken from the current site. Variable names are kept from v1. */
	--milk:   #ffffff;   /* white */
	--stone:  #ebe8e5;   /* warm grey: header + soft sections */
	--meadow: #2f3432;   /* charcoal */
	--churn:  #4e5b56;   /* slate green: section under the hero, footer */
	--butter: #a8894b;   /* gold: active menu item, labels, buttons */
	--ink:    #2b2b2b;
	--ink-soft: #5d605e;
	--hero-text: #f8eeeb;

	--font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-label: "Oswald", "Arial Narrow", sans-serif;

	--step--1: clamp(0.8125rem, 0.8rem + 0.1vw, 0.875rem);
	--step-0:  clamp(0.9375rem, 0.92rem + 0.15vw, 1rem);
	--step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
	--step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--step-3:  clamp(1.9rem, 1.55rem + 1.6vw, 2.75rem);
	--step-4:  clamp(2.4rem, 1.7rem + 3vw, 4rem);

	--container: 1260px;
	--narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--radius: 4px;
	--header-h: 150px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--milk);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--butter); color: var(--ink); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.is-center { text-align: center; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0.7rem 1.5rem;
	border: 2px solid transparent; border-radius: 999px;
	font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
	text-decoration: none; line-height: 1.2; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--butter); color: var(--milk); }
.btn--primary:hover { background: #937640; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--milk); color: var(--churn); border-color: var(--milk); }
.btn--dark { background: var(--churn); color: var(--milk); }
.btn--dark:hover { background: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn-row.is-center { justify-content: center; margin-top: 2.5rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
	--header-fg: var(--ink);
	position: sticky; top: 0; z-index: 50;
	background: var(--stone); color: var(--header-fg);
	transition: background-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(43,43,43,.12); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }

/* Logo and its versions. */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { width: auto; max-height: 64px; transition: max-height .3s; }
.site-header.is-scrolled .logo__img { max-height: 44px; }
.logo__img--light, .logo__img--sticky { display: none; }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.has-sticky-logo.is-scrolled .logo__img--main { display: none; }
.has-sticky-logo.is-scrolled .logo__img--sticky { display: block; }

/* Centred layout (matches the current site): logo, rule, menu. */
@media (min-width: 961px) {
	.site-header--center .site-header__inner { flex-direction: column; justify-content: flex-end; gap: 0; padding-top: 0.5rem; min-height: 0; }
	.site-header--center .logo { padding-bottom: 0.4rem; }
	.site-header--center .logo__img { max-height: 80px; }
	.site-header--center.is-scrolled .logo__img { max-height: 50px; }
	.site-header--center .site-nav { width: 100%; justify-content: center; border-top: 1px solid var(--ink); }
	.site-header--center .menu { justify-content: center; }
}

/* Optional transparent header over a hero. */
.site-header--transparent { position: fixed; left: 0; right: 0; background: transparent; --header-fg: var(--milk); }
.site-header--transparent .site-nav { border-top-color: rgba(255,255,255,.6) !important; }
.site-header--transparent .logo__text { color: var(--milk); }
.site-header--transparent.has-light-logo:not(.is-scrolled) .logo__img--main { display: none; }
.site-header--transparent.has-light-logo:not(.is-scrolled) .logo__img--light { display: block; }
.site-header--transparent:not(.is-scrolled) { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0)); }
.site-header--transparent.is-scrolled { background: var(--stone); --header-fg: var(--ink); }
.site-header--transparent.is-scrolled .site-nav { border-top-color: var(--ink) !important; }
.has-transparent-header .site-main > .block--hero:first-child .hero__inner { padding-top: calc(var(--header-h) + 3rem); }

/* Menu */
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.menu { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a {
	position: relative; display: block; color: var(--header-fg); text-decoration: none;
	font-family: var(--font-body); font-weight: 400; font-size: 0.8125rem;
	text-transform: uppercase; letter-spacing: 0.14em;
	padding: 1.45rem 1.25rem 1.5rem; transition: color .2s;
}
/* Short thick bar sitting on the rule above the active item. */
.menu > li > a::before {
	content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px;
	background: var(--header-fg); transform: scaleX(0); transition: transform .25s;
}
.menu a:hover, .menu a.is-active, .menu .current-menu-item > a:not([href*="#"]), .menu .current-page-ancestor > a { color: var(--butter); }
.menu > li > a.is-active::before, .menu > .current-menu-item > a:not([href*="#"])::before, .menu > li > a:hover::before { transform: scaleX(1); }
.site-header.is-scrolled .menu a { padding-block: 1.1rem 1.15rem; }
.menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	list-style: none; margin: 0; padding: 0.5rem 0;
	background: var(--stone); box-shadow: 0 10px 24px rgba(43,43,43,.12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { padding: 0.6rem 1.25rem; }

/* Left layout spacing. */
.site-header--left .menu a { padding-block: 1rem; }
.site-header--left .menu > li > a::before { top: auto; bottom: 0.4rem; left: 1.25rem; right: 1.25rem; }

.nav-toggle, .nav-close, .nav-overlay { display: none; }

/* Mobile: slide-in panel from the right with a close button. */
@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; color: var(--header-fg);
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 26px; height: 2px; background: currentColor; position: relative;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -8px; }
	.nav-toggle__bars::after { top: 8px; }

	.site-header__inner { min-height: 76px; }
	.site-header--center .site-header__inner { justify-content: center; position: relative; }
	.site-header--center .nav-toggle { position: absolute; right: calc(var(--gutter) - 12px); top: 50%; transform: translateY(-50%); }
	.logo__img, .site-header--center .logo__img { max-height: 52px; }
	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
		width: min(340px, 86vw); overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 1.5rem;
		padding: 5rem 2rem 2rem; background: var(--churn); --header-fg: var(--milk);
		transform: translateX(100%); visibility: hidden;
	}
	/* Animate only after load, so the panel never flashes on first paint. */
	.js-ready .site-nav { transition: transform .35s ease, visibility .35s; }
	.site-nav.is-open { transform: none; visibility: visible; }
	.nav-close {
		display: inline-flex; align-items: center; justify-content: center;
		position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px;
		border: 0; background: transparent; color: var(--milk); font-size: 1.4rem; cursor: pointer;
	}
	.menu { flex-direction: column; gap: 0; }
	.menu a { padding: 1rem 0; font-size: 0.875rem; border-bottom: 1px solid rgba(255,255,255,.15); }
	.menu > li > a::before { display: none; }
	.menu a:hover, .menu a.is-active { color: #d9bd83; }
	.menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 1rem; }
	.menu .sub-menu a { color: var(--milk); }
	.site-nav .btn { align-self: flex-start; }

	.nav-overlay { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(27,35,46,.5); }
	.nav-overlay[hidden] { display: none; }
	body.nav-is-open { overflow: hidden; }
}

/* Page header ------------------------------------------------------------ */
.page-header { background: var(--churn); color: var(--milk); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-header__title { margin: 0; max-width: 18ch; }
.page-header__meta { margin-bottom: 0.75rem; opacity: 0.8; }
.single-thumb { margin-top: 2.5rem; }
.single-thumb img { border-radius: var(--radius); }

/* Sections + backgrounds ------------------------------------------------- */
.block { position: relative; background: var(--section-bg); color: var(--section-fg); }
.space--compact { padding-block: clamp(2rem, 4vw, 3rem); }
.space--normal  { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.space--roomy   { padding-block: clamp(5rem, 11vw, 9rem); }

.bg--milk   { --section-bg: var(--milk);   --section-fg: var(--ink); --muted: var(--ink-soft); --accent: var(--meadow); }
.bg--stone  { --section-bg: var(--stone);  --section-fg: var(--ink); --muted: var(--ink-soft); --accent: var(--meadow); }
.bg--meadow { --section-bg: var(--meadow); --section-fg: var(--milk); --muted: rgba(255,255,255,.8); --accent: #d9bd83; }
.bg--churn  { --section-bg: var(--churn);  --section-fg: var(--milk); --muted: rgba(255,255,255,.82); --accent: #d9bd83; }
.bg--butter { --section-bg: var(--butter); --section-fg: var(--milk); --muted: rgba(255,255,255,.88); --accent: var(--ink); }

/* The poured-milk wave: the theme's signature edge. */
.wave {
	position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
	width: 100%; height: clamp(18px, 2.4vw, 34px);
	fill: var(--section-bg); pointer-events: none;
}

.block__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.block__head.is-center { margin-inline: auto; text-align: center; }
.block__title { margin-bottom: 0.4em; }
.block__intro { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.block__intro p:last-child { margin: 0; }

/* Entry content (Classic Editor + WYSIWYG) ------------------------------- */
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: var(--step-2); margin-top: 1.5em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content a { color: var(--accent); font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin: 0 0 1em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: var(--step-1); }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-caption-text { font-size: var(--step--1); color: var(--muted); margin-top: 0.5em; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--stone); }
.entry-content .btn { margin-top: 0.5rem; }

/* Hero ------------------------------------------------------------------- */
.block--hero { display: flex; align-items: flex-end; overflow: hidden; padding: 0; isolation: isolate; background: var(--meadow); }
.hero--tall  { min-height: min(82vh, 780px); }
.hero--short { min-height: clamp(320px, 45vh, 460px); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 100%); }
.hero__inner { padding-block: clamp(4rem, 9vw, 7rem) clamp(7rem, 12vw, 9.5rem); }
.hero__content { max-width: 52rem; margin-inline: auto; text-align: center; color: var(--hero-text); }
.hero__title { font-size: var(--step-4); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 0.6em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__label { font-family: var(--font-label); font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.5em; margin: 0 0 1.25rem; color: var(--milk); }
.hero__text { font-size: var(--step-1); line-height: 1.5; max-width: 38rem; margin-inline: auto; }
.block--hero .btn-row { justify-content: center; }
.block--hero .btn--ghost { color: var(--milk); }
.hero__line { position: absolute; left: 50%; bottom: 0; width: 1px; height: clamp(40px, 5vw, 60px); background: var(--milk); }
/* The line carries on into the section below, over its torn edge. */
.block--hero + .block::before {
	content: ""; position: absolute; left: 50%; top: clamp(-34px, -2.4vw, -18px); z-index: 3;
	width: 1px; height: clamp(60px, 6vw, 80px); background: var(--milk);
}
.hero__inner.has-foreground { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .hero__inner.has-foreground { grid-template-columns: 1.1fr 0.9fr; align-items: center; } .hero__inner.has-foreground .hero__content { text-align: left; margin: 0; } }
.hero__foreground img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }

/* Split (text + image) --------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 860px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--image-right .split__media { order: 2; }
}
.split__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius); }
.split__body { max-width: 34rem; }

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.card__body { padding-top: 1.25rem; }
.card__body p { color: var(--muted); }
.card--icon { text-align: center; align-items: center; }
.card--icon .card__media { width: 72px; height: 72px; color: var(--accent); }
.card--icon .card__media img, .svg-icon svg { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.svg-icon { display: block; width: 100%; height: 100%; }
.svg-icon svg [fill]:not([fill="none"]) { fill: currentColor; }
.svg-icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.card__link { margin-top: auto; font-weight: 700; color: var(--accent); }

/* Products --------------------------------------------------------------- */
.products { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product__media { position: relative; }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.product__badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	background: var(--butter); color: var(--ink); font-size: var(--step--1); font-weight: 700;
	padding: 0.25rem 0.7rem; border-radius: 999px;
}
.product__body { padding-top: 1rem; }
.product__name { margin-bottom: 0.3em; }
.product__body p { color: var(--muted); margin-bottom: 0.5em; }
.product__price { font-weight: 700; color: var(--section-fg) !important; }

/* Facts ------------------------------------------------------------------ */
.facts { display: grid; gap: 2rem; margin: 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.fact { display: flex; flex-direction: column-reverse; }
.fact__value { margin: 0; font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: var(--accent); }
.fact__label { margin-top: 0.6rem; color: var(--muted); }

/* Gallery ---------------------------------------------------------------- */
.gallery-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery-grid__item { display: block; overflow: hidden; border-radius: 10px; }
.gallery-grid__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery-grid__item:hover img { transform: scale(1.04); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(27,35,46,.88); }
.lightbox img { max-height: 86vh; width: auto; border-radius: 8px; }
.lightbox__close {
	position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%;
	border: 0; background: var(--milk); color: var(--ink); font-size: 1.5rem; cursor: pointer;
}

/* Testimonials ----------------------------------------------------------- */
.quotes { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; }
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote figcaption { display: flex; flex-direction: column; color: var(--muted); }
.quote figcaption strong { color: var(--section-fg); }

/* FAQ -------------------------------------------------------------------- */
.faq__item { border-bottom: 1px solid color-mix(in srgb, var(--section-fg) 18%, transparent); }
.faq__q {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 0; font-weight: 700; font-size: var(--step-1);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-family: var(--font-display); font-size: 1.5em; line-height: 0.8; color: var(--accent); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.5rem; color: var(--muted); }

/* Posts ------------------------------------------------------------------ */
.post-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card__link { display: block; text-decoration: none; }
.post-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card__link:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { padding-top: 1rem; }
.post-card__date { font-size: var(--step--1); color: var(--muted, var(--ink-soft)); }
.post-card__title { margin: 0.3em 0; }
.post-card__link:hover .post-card__title { text-decoration: underline; }
.post-card__body p { color: var(--muted, var(--ink-soft)); }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border-radius: 8px; text-decoration: none; border: 1px solid var(--stone); }
.pagination .current { background: var(--churn); color: var(--milk); border-color: var(--churn); }

/* CTA -------------------------------------------------------------------- */
.block--cta { text-align: center; overflow: hidden; isolation: isolate; }
.cta__inner { max-width: 44rem; }
.cta__title { margin-bottom: 0.3em; }
.cta__text { font-size: var(--step-1); color: var(--muted); }
.cta--image { color: var(--milk); }
.cta--image .cta__text { color: var(--milk); }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: rgba(29,53,87,.65); }
.cta--image .btn--dark { background: var(--butter); color: var(--ink); }

/* Contact + Contact Form 7 ----------------------------------------------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.5fr 1fr; } }
.contact--form-only { max-width: 46rem; }
.contact__details h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-0); margin: 1.75rem 0 0.4rem; }
.contact__details h3:first-child { margin-top: 0; }
.contact__details address { font-style: normal; }
.map { margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 420px; border: 0; }

.wpcf7 form > p, .wpcf7 form > div { margin-bottom: 1.25rem; }
.wpcf7 label { display: block; font-weight: 500; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"],
.wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 0.4rem; padding: 0.8rem 1rem;
	font: inherit; color: var(--ink); background: var(--milk);
	border: 1.5px solid #c9ccc2; border-radius: 10px;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--churn); box-shadow: 0 0 0 3px rgba(244,201,93,.6); }
.wpcf7 input[type="submit"] {
	min-height: 48px; padding: 0.7rem 1.75rem; border: 0; border-radius: 999px;
	background: var(--churn); color: var(--milk); font: inherit; font-weight: 700; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--ink); }
.wpcf7-list-item { margin: 0 1rem 0 0; }
.wpcf7-not-valid-tip { color: #a12a1f; font-size: var(--step--1); margin-top: 0.3rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: 10px; border-width: 2px; }
.wpcf7-spinner { vertical-align: middle; }

/* Hours ------------------------------------------------------------------ */
.hours { margin: 0; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed color-mix(in srgb, currentColor 25%, transparent); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; }

/* Search form ------------------------------------------------------------ */
.search-form { display: flex; gap: 0.5rem; margin: 1.5rem 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 0.75rem 1rem; font: inherit; border: 1.5px solid #c9ccc2; border-radius: 999px; }
.search-submit { padding: 0.75rem 1.25rem; border: 0; border-radius: 999px; background: var(--churn); color: var(--milk); font: inherit; font-weight: 700; cursor: pointer; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--milk); }
.site-footer__top { text-align: center; padding-block: 1rem clamp(2.5rem, 5vw, 3.5rem); }
.site-footer__top .logo img { max-height: 110px; margin-inline: auto; }
.site-footer__top .logo__text { font-size: var(--step-2); }
.social-line { margin: 1.25rem 0 0; color: var(--ink-soft); }
.social-line a { color: var(--butter); font-weight: 500; }
.site-footer__main { background: var(--churn); color: var(--milk); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__grid p { opacity: 0.85; }
.site-footer__title {
	font-family: var(--font-body); font-weight: 700; font-size: var(--step--1);
	text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; color: #d9bd83;
}
.site-footer address { font-style: normal; opacity: 0.85; }
.site-footer__main a { text-decoration-color: rgba(253,253,251,.4); }
.site-footer__main a:hover { text-decoration-color: #d9bd83; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 0.4rem; }
.site-footer__base { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(253,253,251,.15); font-size: var(--step--1); opacity: 0.8; }
.site-footer__base p { margin: 0; }

/* Labels above headings -------------------------------------------------- */
.eyebrow {
	margin: 0 0 0.9rem;
	font-family: var(--font-label); font-weight: 400; font-size: var(--step--1);
	text-transform: uppercase; letter-spacing: 0.35em;
	color: var(--butter);
}
.block__head .eyebrow + .block__title, .split__body .eyebrow + h2 { margin-top: 0; }

/* Separator -------------------------------------------------------------- */
.separator { display: flex; justify-content: center; padding-block: 0.5rem; background: var(--section-bg); color: var(--accent); }
.separator img, .separator .svg-icon { width: auto; max-width: min(320px, 70vw); height: auto; }
.separator .svg-icon svg { width: 100%; height: auto; }
.separator svg { width: 240px; height: auto; }


/* Team ------------------------------------------------------------------- */
.team--rows { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.team--rows .member { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 800px) {
	.team--rows .member { grid-template-columns: 2fr 3fr; }
	.team--rows .member:nth-child(even) .member__photo { order: 2; }
}
.team--grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); text-align: center; }
.member__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; max-width: 420px; margin-inline: auto; }
.team--grid .member__photo img { max-width: 240px; }
.member__name { font-size: var(--step-2); margin-bottom: 0.2em; }
.member__role { margin-bottom: 1rem; }
.member__bio { color: var(--muted); }

/* Opening hours (large) -------------------------------------------------- */
.hours-big { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 6vw, 6rem); margin: 0; text-align: center; }
.hours-big__row { display: flex; flex-direction: column; }
.hours-big dt { font-weight: 700; font-size: var(--step-1); }
.hours-big dd { margin: 0.3rem 0 0; font-family: var(--font-display); font-size: var(--step-4); line-height: 1.05; color: var(--accent); }
.hours-big__note { text-align: center; margin: 2rem 0 0; color: var(--muted); }

/* CTA form (newsletter) -------------------------------------------------- */
.cta__form { max-width: 34rem; margin: 2rem auto 0; text-align: left; }
