/* ==========================================================================
   Feathered Unicorn — site theme
   --------------------------------------------------------------------------
   Palette, type and card treatment come from the temp homepage
   (/index.html, .fu-vendor). Built on Bootstrap 5.3.8, themed through --bs-*
   variables rather than by overriding Bootstrap's rules.

   Loaded LAST in includes/css.php so it wins against the Porto theme.

   NOTE: the "Porto transition" block below exists only while sections are
   still being migrated off the old theme. Once every includes/sections/*.php
   is converted, drop theme.css / theme-elements.css / additional.css /
   skins/default.css from css.php and delete that block.
   ========================================================================== */

:root {
	/* --- brand ------------------------------------------------------- */
	--fu-plum: #2e2438;
	--fu-plum-soft: #5b4d68;
	--fu-parchment: #fbf7f0;
	--fu-meadow: #4a7c6f;
	--fu-line: #e3d9ca;
	--fu-sand: #e6ded1;
	--fu-mist: #efe7f2;

	--fu-orchid: #8b6fb0;
	/* Darker orchid for small text — the base tone only reaches ~3.5:1 on
	   parchment, which is under AA for text at this size. This clears 5.4:1. */
	--fu-orchid-deep: #6b4f96;
	--fu-lagoon: #5fb0a6;
	--fu-gold: #e4c06a;
	--fu-shimmer: linear-gradient(
		115deg,
		#8b6fb0 0%,
		#5fb0a6 42%,
		#e4c06a 82%,
		#8b6fb0 100%
	);

	/* --- form -------------------------------------------------------- */
	--fu-radius: 22px;
	--fu-radius-sm: 14px;
	--fu-shadow: 0 24px 60px -28px rgba(46, 36, 56, 0.45);
	--fu-shadow-lg: 0 44px 96px -44px rgba(46, 36, 56, 0.55);
	--fu-highlight: 0 2px 0 rgba(255, 255, 255, 0.6) inset;

	--fu-sans: "Nunito Sans", ui-sans-serif, system-ui, -apple-system,
		"Segoe UI", Roboto, sans-serif;
	--fu-serif: "Fraunces", Georgia, "Times New Roman", serif;
	/* Numbers and tabular figures */
	--fu-mono: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
		monospace;
	/* Alternate face, available for content that wants a third voice */
	--fu-alt: "Raleway", var(--fu-sans);

	/* --- bootstrap theming ------------------------------------------- */
	--bs-body-font-family: var(--fu-sans);
	--bs-body-color: var(--fu-plum-soft);
	--bs-body-bg: transparent;
	--bs-emphasis-color: var(--fu-plum);
	--bs-heading-color: var(--fu-plum);
	--bs-border-color: var(--fu-line);
	--bs-link-color: var(--fu-meadow);
	--bs-link-hover-color: var(--fu-plum);
	--bs-border-radius: var(--fu-radius-sm);
	--bs-border-radius-lg: var(--fu-radius);
}

/* ==========================================================================
   Porto transition overrides — TEMPORARY, see note at top of file
   ========================================================================== */

/* skins/default.css sets the body font with !important, so this has to match
   it to win. Remove along with that stylesheet. */
body {
	font-family: var(--fu-sans) !important;
}

/* Porto's .page-header / section chrome must not apply to the new markup. */
.fu-page section.section,
section.fu-section {
	background: transparent;
	border: 0;
	margin: 0;
}

/* Porto paints the page wrapper white, which shows through any gap between
   sections and reads as a hard white band against the warm backdrop. */
.body {
	background-color: transparent;
}

/* Porto styles the footer by ID (#footer, specificity 1-0-0), which outranks
   .fu-footer (0-1-0). Left alone it re-imposes margin-top:50px — the white
   strip above the footer — plus padding:0, its own dark border, and gray link
   colors. These have to be ID-scoped to win. Delete with theme.css. */
#footer.fu-footer {
	margin-top: 0;
	padding: clamp(3.5rem, 7vw, 6rem) 0 1.75rem;
	border-top: 0;
	background: var(--fu-plum);
	font-size: 1rem;
}
#footer.fu-footer h4 {
	color: var(--fu-parchment);
}
#footer.fu-footer a:not(.btn):not(.no-footer-css) {
	color: rgba(251, 247, 240, 0.72);
}
#footer.fu-footer a:not(.btn):not(.no-footer-css):hover {
	color: var(--fu-gold);
}
#footer.fu-footer .fu-btn {
	color: #fff;
}

/* Porto underlines every non-button link on hover via `a:not(.btn):hover`
   (specificity 0-2-1), which beats a plain `.fu-teaser { text-decoration:none }`.
   Card-shaped links wrap their whole contents in one <a>, so that rule
   underlines the heading, tags and body copy together. Repeating :not(.btn)
   here takes these to 0-3-1 so they win. Body copy links inside .fu-prose are
   deliberately left alone — they should still underline. */
a:not(.btn).fu-card:hover,
a:not(.btn).fu-teaser:hover,
a:not(.btn).fu-tile:hover,
a:not(.btn).fu-filter:hover,
a:not(.btn).fu-tag:hover,
a:not(.btn).fu-btn:hover,
.fu-crumbs a:hover,
.fu-social a:hover,
.fu-nav .nav-link:hover,
.fu-nav .dropdown-item:hover,
.fu-teaser:hover .fu-teaser__more,
#footer.fu-footer a:hover {
	text-decoration: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	color: var(--fu-plum-soft);
	background-color: #f7f1e8;
	background-image: radial-gradient(
			1100px 640px at 16% -10%,
			var(--fu-mist) 0%,
			rgba(239, 231, 242, 0) 62%
		),
		radial-gradient(
			900px 700px at 94% 2%,
			#f4ece1 0%,
			rgba(244, 236, 225, 0) 58%
		),
		linear-gradient(180deg, #f8f3ea 0%, var(--fu-sand) 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.fu-display {
	font-family: var(--fu-serif) !important;
	font-optical-sizing: auto;
	font-weight: 600;
	color: var(--fu-plum);
	line-height: 1.12;
	letter-spacing: -0.01em;
}

h1,
.fu-h1 {
	font-size: clamp(2.15rem, 5vw, 3.75rem);
}
h2,
.fu-h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
h3,
.fu-h3 {
	font-size: clamp(1.15rem, 1.9vw, 1.5rem);
	line-height: 1.25;
}

p {
	line-height: 1.65;
}

.fu-lead {
	font-size: clamp(1rem, 1.35vw, 1.16rem);
	line-height: 1.62;
	color: var(--fu-plum-soft);
}

::selection {
	background: var(--fu-orchid);
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--fu-meadow);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ==========================================================================
   Reusable pieces
   ========================================================================== */

.fu-eyebrow {
	display: inline-block;
	font-family: var(--fu-sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fu-meadow);
	margin-bottom: 0.85rem;
}
.fu-eyebrow--light {
	color: var(--fu-gold);
}

/* Centred section/feature intros ("For Local Makers", "Kind Words"). These sit
   above a centered heading rather than labelling a left-aligned block, so at the
   base size and color they read as an inconsistent copy of the left-aligned
   eyebrows. Raleway, larger and in orchid makes the difference deliberate.
   NOT for the centered eyebrows on empty-state cards ("None found", "Event
   closed") — those are status messages, not section intros. */
.fu-eyebrow--lead {
	font-family: var(--fu-alt) !important;
	font-size: 0.95rem;
	letter-spacing: 0.22em;
	color: var(--fu-orchid-deep);
	margin-bottom: 1rem;
}

.fu-section {
	padding: clamp(3.5rem, 7vw, 7rem) 0;
}

/* Page-level notices. Participates in the section rhythm (so the block after it
   collapses its top padding) but at a fraction of the height — an alert is a
   short interruption, not a content section.
   The :has() rule pulls in the hero's bottom gap too, so the notice isn't
   marooned between two large voids. Browsers without :has() simply keep the
   normal hero spacing, which is the pre-existing behavior. */
.fu-notices {
	padding-top: 0;
	padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.fu-hero:has(+ .fu-notices) {
	padding-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

/* Sections carry padding on both sides, then drop the top one when they follow
   another themed block that already supplied the gap. Doing it here rather than
   with pt-0 in the markup means a section landing after unconverted Porto
   content still spaces itself, and stops doing so on its own once that
   neighbour is migrated. */
.fu-hero + .fu-section,
.fu-section + .fu-section {
	padding-top: 0;
}

.fu-card {
	position: relative;
	background: var(--fu-parchment);
	border: 1px solid var(--fu-line);
	border-radius: var(--fu-radius);
	box-shadow: var(--fu-shadow), var(--fu-highlight);
}

.fu-card--glow {
	overflow: hidden;
}
.fu-card--glow::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto -20%;
	height: 60%;
	background: var(--fu-shimmer);
	opacity: 0.1;
	filter: blur(38px);
	pointer-events: none;
}
.fu-card--glow > * {
	position: relative;
}

/* Hairline of shimmer along the top edge. overflow:hidden is what makes it
   follow the corners — at 3px tall the spec scales a 22px radius to ~3px. */
.fu-card--accent {
	overflow: hidden;
}
.fu-card--accent::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--fu-shimmer);
	opacity: 0.85;
}

/* Feature panel. Used by the shared_content block that appears on the home and
   About pages only — it holds site-wide copy rather than page copy, so it is
   deliberately a different surface from the parchment cards around it. The
   lavender comes from the same family as the page backdrop, so it reads as a
   separate panel without leaving the palette. */
.fu-card--feature {
	background: linear-gradient(155deg, var(--fu-mist) 0%, #f7f1e9 100%);
	border-color: rgba(139, 111, 176, 0.3);
}

.fu-rule {
	height: 2px;
	border: 0;
	opacity: 0.45;
	background: var(--fu-shimmer);
}

.fu-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: var(--fu-meadow);
	background: rgba(95, 176, 166, 0.13);
	border: 1px solid rgba(74, 124, 111, 0.2);
	font-size: 1.15rem;
}
.fu-chip svg {
	width: 24px;
	height: 24px;
}

/* --- buttons ---------------------------------------------------------- */

.fu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	border: 0;
	cursor: pointer;
	font-family: var(--fu-sans);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: #fff;
	padding: 0.95rem 1.9rem;
	border-radius: 999px;
	background-color: var(--fu-plum);
	background-image: var(--fu-shimmer);
	background-size: 230% 100%;
	background-position: 0% 50%;
	/* Keep |spread| > offset-y so the shadow's own bottom edge stays tucked
	   behind the button and only the blurred tail shows. */
	box-shadow: 0 10px 26px -14px rgba(46, 36, 56, 0.45);
	transition: background-position 0.55s ease, transform 0.12s ease,
		box-shadow 0.2s ease, color 0.2s ease;
}
.fu-btn:hover {
	color: #fff;
	background-position: 100% 50%;
	box-shadow: 0 14px 32px -16px rgba(46, 36, 56, 0.5);
}
.fu-btn:active {
	transform: translateY(1px);
}

.fu-btn--ghost {
	color: var(--fu-plum);
	background-color: transparent;
	background-image: none;
	border: 1px solid var(--fu-line);
	box-shadow: none;
}
.fu-btn--ghost:hover {
	color: var(--fu-plum);
	background-color: rgba(255, 255, 255, 0.6);
	border-color: var(--fu-meadow);
	box-shadow: 0 10px 24px -14px rgba(46, 36, 56, 0.5);
}

.fu-btn--sm {
	padding: 0.65rem 1.3rem;
	font-size: 0.9rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.fu-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(251, 247, 240, 0.82);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(227, 217, 202, 0.9);
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.fu-header.is-stuck {
	background: rgba(251, 247, 240, 0.95);
	box-shadow: 0 10px 30px -22px rgba(46, 36, 56, 0.7);
}

.fu-logo img {
	display: block;
	width: auto;
	height: clamp(30px, 4.4vw, 44px);
}

.fu-nav .nav-link {
	font-family: var(--fu-sans);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--fu-plum);
	padding: 0.45rem 1.15rem;
	border-radius: 999px;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.fu-nav .nav-link:hover,
.fu-nav .nav-link:focus-visible,
.fu-nav .nav-link.show {
	color: var(--fu-meadow);
	background: rgba(95, 176, 166, 0.1);
}
.fu-nav .nav-link.active {
	color: var(--fu-meadow);
	background: rgba(95, 176, 166, 0.14);
}

.fu-nav .dropdown-menu {
	--bs-dropdown-bg: var(--fu-parchment);
	--bs-dropdown-border-color: var(--fu-line);
	--bs-dropdown-border-radius: var(--fu-radius-sm);
	--bs-dropdown-link-color: var(--fu-plum-soft);
	--bs-dropdown-link-hover-color: var(--fu-plum);
	--bs-dropdown-link-hover-bg: rgba(95, 176, 166, 0.12);
	--bs-dropdown-link-active-color: var(--fu-plum);
	--bs-dropdown-link-active-bg: rgba(95, 176, 166, 0.16);
	--bs-dropdown-font-size: 0.92rem;
	--bs-dropdown-padding-y: 0.5rem;
	box-shadow: var(--fu-shadow);
	margin-top: 0.5rem;
}
.fu-nav .dropdown-item {
	border-radius: 8px;
	padding: 0.5rem 0.85rem;
	width: auto;
	margin: 0 0.4rem;
}

.fu-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fu-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--fu-plum-soft);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.fu-social a:hover {
	color: var(--fu-meadow);
	background: rgba(95, 176, 166, 0.12);
}
.fu-social svg {
	width: 17px;
	height: 17px;
}

.fu-burger {
	border: 1px solid var(--fu-line);
	background: transparent;
	color: var(--fu-plum);
	border-radius: 12px;
	padding: 0.45rem 0.6rem;
	line-height: 0;
}
.fu-burger:hover {
	border-color: var(--fu-meadow);
	color: var(--fu-meadow);
}

/* ==========================================================================
   Page hero
   ========================================================================== */

.fu-hero {
	position: relative;
	padding-top: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

.fu-hero__media {
	position: relative;
	height: clamp(220px, 30vw, 380px);
	border-radius: var(--fu-radius);
	overflow: hidden;
	box-shadow: var(--fu-shadow-lg);
}
/* Home page hero gets more room than an inner page header. */
.fu-hero__media--tall {
	height: clamp(300px, 42vw, 560px);
}
.fu-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Warm the photo toward the palette so it never fights the parchment. */
.fu-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
			180deg,
			rgba(46, 36, 56, 0.15) 0%,
			rgba(46, 36, 56, 0.55) 100%
		),
		linear-gradient(
			115deg,
			rgba(139, 111, 176, 0.35),
			rgba(95, 176, 166, 0.22)
		);
}

.fu-hero__card {
	position: relative;
	padding: clamp(1.75rem, 3.6vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
	text-align: center;
}
/* Only pull the card up when there is a photo above it to overlap. */
.fu-hero--media .fu-hero__card {
	margin-top: clamp(-6rem, -7vw, -3.5rem);
}

.fu-feather {
	width: 44px;
	height: auto;
	display: block;
	margin: 0 auto 1rem;
}

.fu-crumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
}
.fu-crumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--fu-plum-soft);
}
.fu-crumbs li + li::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--fu-gold);
}
.fu-crumbs a {
	color: var(--fu-plum-soft);
	text-decoration: none;
}
.fu-crumbs a:hover {
	color: var(--fu-meadow);
}
.fu-crumbs [aria-current] {
	color: var(--fu-plum);
}

/* ==========================================================================
   Prose — CMS rich-text output
   ========================================================================== */

.fu-prose {
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--fu-plum-soft);
}
.fu-prose > :first-child {
	margin-top: 0;
}
.fu-prose > :last-child {
	margin-bottom: 0;
}
.fu-prose h2,
.fu-prose h3,
.fu-prose h4 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	color: var(--fu-plum);
}
.fu-prose h4,
.fu-prose h5,
.fu-prose h6 {
	font-family: var(--fu-serif);
	font-weight: 600;
	font-size: 1.1rem;
}
.fu-prose p {
	margin-bottom: 1.15rem;
}
.fu-prose a {
	color: var(--fu-meadow);
	text-underline-offset: 3px;
}
.fu-prose a:hover {
	color: var(--fu-plum);
}
.fu-prose ul,
.fu-prose ol {
	margin: 0 0 1.15rem;
	padding-left: 1.35rem;
}
.fu-prose li {
	margin-bottom: 0.5rem;
}
.fu-prose ul {
	list-style: none;
	padding-left: 0;
}
.fu-prose ul li {
	position: relative;
	padding-left: 1.5rem;
}
.fu-prose ul li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.65em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fu-gold);
}
.fu-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fu-radius-sm);
	border: 1px solid var(--fu-line);
}
.fu-prose blockquote {
	font-family: var(--fu-serif);
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--fu-plum);
	border-left: 3px solid transparent;
	border-image: var(--fu-shimmer) 1;
	padding-left: 1.25rem;
	margin: 1.75rem 0;
}
.fu-prose hr {
	border: 0;
	height: 1px;
	background: var(--fu-line);
	opacity: 1;
	margin: 2rem 0;
}
.fu-prose table {
	width: 100%;
	margin-bottom: 1.25rem;
	border-collapse: collapse;
}
.fu-prose th,
.fu-prose td {
	padding: 0.65rem 0.85rem;
	border-bottom: 1px solid var(--fu-line);
	text-align: left;
}
.fu-prose th {
	font-weight: 700;
	color: var(--fu-plum);
}

/* ==========================================================================
   Story composition
   ========================================================================== */

.fu-stack {
	position: relative;
	padding-bottom: 3.5rem;
	padding-right: 3rem;
}
.fu-stack img {
	display: block;
	width: 100%;
	border-radius: var(--fu-radius);
	border: 1px solid var(--fu-line);
	box-shadow: var(--fu-shadow);
}
/* Scoped so these beat `.fu-stack img { width: 100% }` on specificity. */
.fu-stack .fu-stack__back {
	width: 82%;
	margin-left: auto;
}
.fu-stack .fu-stack__front {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 54%;
	box-shadow: 0 0 0 7px var(--fu-parchment), var(--fu-shadow-lg);
}

.fu-quote {
	font-family: var(--fu-serif);
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	line-height: 1.5;
	color: var(--fu-plum);
	border-left: 3px solid transparent;
	border-image: var(--fu-shimmer) 1;
	padding-left: 1.25rem;
	margin: 0;
}

/* ==========================================================================
   Cards for list pages
   ========================================================================== */

.fu-value {
	height: 100%;
	padding: clamp(1.5rem, 2.6vw, 2.15rem);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fu-value:hover {
	transform: translateY(-4px);
	box-shadow: var(--fu-shadow-lg), var(--fu-highlight);
}

/* Teaser card: optional image, then body. Used by services / articles /
   events / employment / policies / forms list pages. */
.fu-teaser {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fu-teaser:hover,
.fu-teaser:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--fu-shadow-lg), var(--fu-highlight);
}
.fu-teaser__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--fu-sand);
}
.fu-teaser__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.fu-teaser:hover .fu-teaser__media img {
	transform: scale(1.05);
}
.fu-teaser__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: clamp(1.25rem, 2.2vw, 1.85rem);
}
.fu-teaser__body h3 {
	margin-bottom: 0.6rem;
}
/* The card is no longer a link — this is the only clickable thing in it, so it
   has to read as an action rather than as trailing text. align-self keeps it
   from stretching the width of the flex column. */
.fu-teaser__more {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 1rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--fu-meadow);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: color 0.2s ease, gap 0.2s ease;
}
.fu-teaser__more:hover,
.fu-teaser__more:focus-visible,
.fu-teaser:hover .fu-teaser__more {
	color: var(--fu-plum);
}
/* Arrow slides out on hover of the link itself. */
.fu-teaser__more:hover,
.fu-teaser__more:focus-visible {
	gap: 0.7rem;
}

/* ==========================================================================
   Vendors
   ========================================================================== */

/* Category filter pills. Real links to ?category=N, so they must read as
   navigation rather than as buttons. */
.fu-filter {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1.05rem;
	border-radius: 999px;
	border: 1px solid var(--fu-line);
	background: rgba(255, 255, 255, 0.55);
	color: var(--fu-plum);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.fu-filter:hover {
	color: var(--fu-meadow);
	border-color: var(--fu-meadow);
	background: rgba(95, 176, 166, 0.1);
}
.fu-filter.is-on {
	color: #fff;
	background: var(--fu-meadow);
	border-color: var(--fu-meadow);
}
.fu-filter__count {
	font-size: 0.76rem;
	font-weight: 700;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: rgba(46, 36, 56, 0.1);
}
.fu-filter.is-on .fu-filter__count {
	background: rgba(255, 255, 255, 0.25);
}

/* Category tag. Static on cards, a link on the profile page. */
.fu-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.7rem;
	margin: 0 0.3rem 0.3rem 0;
	border-radius: 999px;
	background: rgba(139, 111, 176, 0.12);
	border: 1px solid rgba(139, 111, 176, 0.22);
	color: var(--fu-plum-soft);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.fu-tag--link:hover {
	color: var(--fu-plum);
	background: rgba(139, 111, 176, 0.2);
	border-color: var(--fu-orchid);
}

/* Vendor logos are supplied at wildly different aspect ratios, so they are
   contained on a parchment field rather than cropped like a photo. */
.fu-vendor__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 1.25rem;
}
.fu-teaser__media.fu-vendor__logo img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.fu-vendor__logo--lg {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	padding: 1.75rem;
}
.fu-vendor__logo--lg img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
.fu-vendor__fallback svg {
	width: 44px;
	height: 88px;
	opacity: 0.6;
}
.fu-vendor__logo--lg .fu-vendor__fallback svg {
	width: 72px;
	height: 144px;
}

/* --- vendor marquee ---------------------------------------------------- */
/* Markup and the accessibility rationale live in includes/custom/vendors-carousel.php */

.vendor-band .vendor-marquee {
	display: flex;
	overflow: hidden;
	gap: 0;
	/* Fade the band into the page rather than cutting logos off hard. */
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(
		to right,
		transparent,
		#000 6%,
		#000 94%,
		transparent
	);
}
.vendor-band .vendor-track {
	display: flex;
	align-items: center;
	gap: 3rem;
	flex: 0 0 auto;
	list-style: none;
	margin: 0;
	padding: 0 1.5rem 0 0;
	animation: vendor-scroll var(--vendor-scroll-duration, 40s) linear infinite;
}
.vendor-band .vendor-track img {
	display: block;
	height: 72px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	/* Mixed-quality maker logos sit together better desaturated until hovered. */
	filter: grayscale(100%);
	opacity: 0.75;
	transition: filter 0.25s ease, opacity 0.25s ease;
}
.vendor-band .vendor-track a:hover img,
.vendor-band .vendor-track a:focus-visible img {
	filter: none;
	opacity: 1;
}
.vendor-band .vendor-track a:focus-visible {
	outline: 3px solid var(--fu-meadow);
	outline-offset: 4px;
}

/* Pause for hover AND for keyboard focus — focus alone is the one people forget. */
.vendor-band .vendor-marquee:hover .vendor-track,
.vendor-band .vendor-marquee:focus-within .vendor-track {
	animation-play-state: paused;
}

@keyframes vendor-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}

/* Reduced motion: no animation at all, just a centered wrapped row. */
@media (prefers-reduced-motion: reduce) {
	.vendor-band .vendor-marquee {
		overflow: visible;
		mask-image: none;
		-webkit-mask-image: none;
		justify-content: center;
	}
	.vendor-band .vendor-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		gap: 2rem;
		padding: 0;
	}
	.vendor-band .vendor-track[aria-hidden="true"] {
		display: none;
	}
	.vendor-band .vendor-track img {
		filter: none;
		opacity: 1;
	}
}

/* Small uppercase meta line — dates, locations, categories. */
.fu-meta {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fu-plum-soft);
	opacity: 0.85;
}

/* Date block for event cards. */
.fu-date {
	flex: 0 0 auto;
	width: 72px;
	text-align: center;
	border-radius: var(--fu-radius-sm);
	border: 1px solid var(--fu-line);
	background: rgba(255, 255, 255, 0.55);
	padding: 0.6rem 0.3rem;
	line-height: 1.1;
}
.fu-date__month {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fu-meadow);
}
.fu-date__day {
	font-family: var(--fu-serif);
	font-weight: 600;
	font-size: 1.6rem;
	color: var(--fu-plum);
}

/* Staff portrait. Contained on a field rather than cropped, since headshots
   arrive at unpredictable crops. */
.fu-staff__photo {
	width: 100%;
	height: auto;
	border-radius: var(--fu-radius-sm);
	border: 1px solid var(--fu-line);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.fu-quote-card {
	display: flex;
	flex-direction: column;
}
.fu-quote-card blockquote {
	font-family: var(--fu-serif);
	font-size: 1.08rem;
	line-height: 1.5;
	color: var(--fu-plum);
}
/* Oversized opening quote, set behind the text as texture. */
.fu-quote-card__mark {
	position: absolute;
	top: 0.1em;
	right: 0.35em;
	font-family: var(--fu-serif);
	font-size: 6rem;
	line-height: 1;
	color: var(--fu-orchid);
	opacity: 0.14;
	pointer-events: none;
	user-select: none;
}
.fu-stars {
	display: block;
	color: var(--fu-gold);
	font-size: 0.85rem;
	letter-spacing: 0.1em;
}

/* ==========================================================================
   Stats / gallery
   ========================================================================== */

.fu-stats {
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem);
}
.fu-stat__num,
/* Porto's count-up plugin owns `.counter strong`, so this has to out-specify
   `.counter strong` to restyle the animated numbers. */
.fu-stats .counter strong {
	display: block;
	font-family: var(--fu-serif);
	font-weight: 600;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	line-height: 1;
	color: var(--fu-plum);
}
.fu-stat__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--fu-plum-soft);
	margin-top: 0.5rem;
}
/* Divider rules only make sense once the stats sit in a single row. Below md
   they wrap two-up, where a `+ .fu-stat` rule would draw a line down the middle
   of the wrap and another across it — the row gap does the separating instead. */
@media (min-width: 768px) {
	.fu-stat + .fu-stat {
		border-left: 1px solid var(--fu-line);
	}
}

/* Two-up on phones: four full-width rows was roughly 600px of scrolling for
   four short numbers. Tightened to suit the smaller cell. */
@media (max-width: 767.98px) {
	.fu-stat .fu-chip {
		width: 44px;
		height: 44px;
		font-size: 1rem;
		margin-bottom: 0.6rem !important;
	}
	.fu-stat .fu-chip svg {
		width: 20px;
		height: 20px;
	}
	.fu-stat__label {
		font-size: 0.72rem;
		letter-spacing: 0.1em;
		margin-top: 0.35rem;
	}
}

.fu-tile {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--fu-radius-sm);
	border: 1px solid var(--fu-line);
	box-shadow: var(--fu-shadow);
	aspect-ratio: 4 / 3;
}
.fu-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.fu-tile:hover img {
	transform: scale(1.06);
}
.fu-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		115deg,
		rgba(139, 111, 176, 0.3),
		rgba(95, 176, 166, 0.2)
	);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.fu-tile:hover::after {
	opacity: 1;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.fu-accordion {
	--bs-accordion-bg: transparent;
	--bs-accordion-border-color: var(--fu-line);
	--bs-accordion-border-radius: var(--fu-radius);
	--bs-accordion-btn-color: var(--fu-plum);
	--bs-accordion-btn-bg: var(--fu-parchment);
	--bs-accordion-active-color: var(--fu-plum);
	--bs-accordion-active-bg: rgba(95, 176, 166, 0.09);
	--bs-accordion-btn-focus-box-shadow: none;
	--bs-accordion-color: var(--fu-plum-soft);
}
.fu-accordion .accordion-item {
	background: var(--fu-parchment);
	margin-bottom: 1rem;
	border-radius: var(--fu-radius);
	overflow: hidden;
	box-shadow: var(--fu-shadow);
}
.fu-accordion .accordion-button {
	font-family: var(--fu-serif);
	font-weight: 600;
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	padding: 1.15rem 1.4rem;
}
.fu-accordion .accordion-button::after {
	--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234a7c6f' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	--bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}
.fu-accordion .accordion-body {
	padding: 0 1.4rem 1.4rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.fu-form .form-label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fu-plum);
	margin-bottom: 0.4rem;
}
.fu-form .form-control,
.fu-form .form-select {
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--fu-line);
	border-radius: var(--fu-radius-sm);
	padding: 0.8rem 1rem;
	color: var(--fu-plum);
	font-size: 1rem;
	box-shadow: none;
}
.fu-form .form-control:focus,
.fu-form .form-select:focus {
	background: #fff;
	border-color: var(--fu-meadow);
	box-shadow: 0 0 0 3px rgba(74, 124, 111, 0.15);
	color: var(--fu-plum);
}
.fu-form .form-control::placeholder {
	color: rgba(91, 77, 104, 0.55);
}
.fu-form textarea.form-control {
	min-height: 150px;
}

/* ==========================================================================
   Coming Soon
   ========================================================================== */

/* header-logo.php ships with me-auto for the navbar; center it here instead. */
.fu-soon__logo .fu-logo {
	margin: 0 auto !important;
	display: inline-block;
}
.fu-soon__logo .fu-logo img {
	height: auto;
	max-width: 280px;
}

.fu-soon__panel {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	padding: clamp(0.75rem, 3vw, 1.5rem);
}
.fu-soon__panel[hidden] {
	display: none;
}
/* Thin shimmer accent along the top of the form panel. */
.fu-soon__panel::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--fu-shimmer);
	opacity: 0.85;
}

.fu-soon__loading {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	align-items: center;
	justify-content: center;
	background: var(--fu-parchment);
	color: var(--fu-plum-soft);
	font-size: 0.9rem;
	transition: opacity 0.3s ease;
}
.fu-soon__loading.is-hidden {
	opacity: 0;
	visibility: hidden;
}
.fu-soon__spinner {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid var(--fu-line);
	border-top-color: var(--fu-orchid);
	animation: fu-spin 0.8s linear infinite;
}
@keyframes fu-spin {
	to {
		transform: rotate(360deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	.fu-soon__spinner {
		animation-duration: 1.6s;
	}
}

/* ==========================================================================
   CTA + footer
   ========================================================================== */

.fu-cta {
	position: relative;
	overflow: hidden;
	border-radius: var(--fu-radius);
	padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
	text-align: center;
	color: #fff;
	background-color: var(--fu-plum);
	box-shadow: var(--fu-shadow-lg);
}
.fu-cta::before {
	content: "";
	position: absolute;
	inset: -50% -10%;
	background: var(--fu-shimmer);
	opacity: 0.36;
	filter: blur(46px);
}
.fu-cta > * {
	position: relative;
}
.fu-cta h2 {
	color: #fff;
}
.fu-cta p {
	color: rgba(255, 255, 255, 0.85);
}
.fu-cta .fu-btn {
	background-image: none;
	background-color: var(--fu-parchment);
	color: var(--fu-plum);
}
.fu-cta .fu-btn:hover {
	background-color: #fff;
	color: var(--fu-plum);
}

/* Embedded map. The iframe the CMS stores carries its own height attribute,
   which is usually shorter than the wrapper — hence the pale strip above the
   footer, which was Porto's .google-map background showing through. Pinning the
   iframe to the wrapper removes the gap whatever height the embed declares. */
.fu-map {
	position: relative;
	height: clamp(280px, 34vw, 450px);
	overflow: hidden;
	background: var(--fu-sand);
	line-height: 0;
}
.fu-map iframe,
.fu-map object,
.fu-map embed {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}

.fu-footer {
	background: var(--fu-plum);
	color: rgba(251, 247, 240, 0.72);
	padding: clamp(3.5rem, 7vw, 6rem) 0 1.75rem;
}
.fu-footer h4 {
	font-family: var(--fu-serif);
	font-weight: 600;
	font-size: 1rem;
	color: var(--fu-parchment);
	margin-bottom: 1rem;
}
.fu-footer a {
	color: rgba(251, 247, 240, 0.72);
	text-decoration: none;
}
.fu-footer a:hover {
	color: var(--fu-gold);
}
.fu-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.fu-footer li + li {
	margin-top: 0.5rem;
}
/* ...but .fu-social is a horizontal row of <li>, so the rule above pushes every
   icon except the first one down by 8px and the first reads as sitting high. */
.fu-footer .fu-social li + li {
	margin-top: 0;
}
.fu-footer__logo img {
	max-width: 210px;
	height: auto;
}
/* Copyright band. Standardised across Sagentic sites: a full-width black strip
   below the footer, not a rule inside it. */
.fu-copyright {
	background: #000;
	color: #fff;
	padding: 0.6rem 0;
	font-family: var(--fu-sans);
	font-size: 0.625rem; /* 10px — matches the other Sagentic sites */
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fu-copyright a {
	color: #fff;
	text-decoration: none;
}
.fu-copyright img {
	max-width: 145px;
	height: auto;
}
.fu-footer .fu-social a {
	color: rgba(251, 247, 240, 0.72);
}
.fu-footer .fu-social a:hover {
	color: var(--fu-gold);
	background: rgba(251, 247, 240, 0.1);
}

/* Back-to-top */
.fu-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1020;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	background: var(--fu-plum);
	box-shadow: var(--fu-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.fu-top.is-in {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ==========================================================================
   Motion
   ========================================================================== */

.fu-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.fu-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.fu-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.fu-btn,
	.fu-value,
	.fu-teaser,
	.fu-tile img,
	.fu-tile::after,
	.fu-teaser__media img {
		transition: none;
	}
}

/* --- vendor photo gallery ---------------------------------------------- */
/* Vendor-supplied product photos (Addendum A1.4). Unlike logos these ARE
   cropped — they are square-cropped on upload, so the grid is uniform and no
   rule here has to compensate for aspect ratio. Markup in
   includes/custom/vendors-detail.php */
.fu-gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.875rem;
}
.fu-gallery__item {
	margin: 0;
}
.fu-gallery__item a {
	display: block;
	border-radius: var(--fu-radius);
	overflow: hidden;
	background: #fff;
}
.fu-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.fu-gallery__item a:hover img,
.fu-gallery__item a:focus-visible img {
	transform: scale(1.04);
}
.fu-gallery__item a:focus-visible {
	outline: 3px solid var(--fu-orchid-deep);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.fu-gallery__item img {
		transition: none;
	}
	.fu-gallery__item a:hover img,
	.fu-gallery__item a:focus-visible img {
		transform: none;
	}
}

/* --- class listing cards ------------------------------------------------ */
/* Markup in includes/custom/classes-list.php. One card per upcoming SESSION,
   so a class running twice appears twice, both linking to the same class page. */
.fu-class {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.fu-class__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--fu-parchment);
	overflow: hidden;
}
.fu-class__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.fu-class:hover .fu-class__media img {
	transform: scale(1.03);
}
.fu-class__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2.25rem;
	color: var(--fu-sand);
}
.fu-class__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.15rem 1.25rem 1.35rem;
	flex: 1 1 auto;
}
.fu-class__title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}
.fu-class__title a {
	color: inherit;
	text-decoration: none;
}
.fu-class__title a:hover,
.fu-class__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.fu-class__teacher {
	margin: 0;
	font-size: 0.9rem;
	color: var(--fu-plum-soft);
}
.fu-class__summary {
	margin: 0.15rem 0 0;
	font-size: 0.94rem;
}
.fu-class__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.6rem;
	margin: 0.35rem 0 0;
}
.fu-class__price {
	font-size: 1.1rem;
	font-weight: 700;
}
.fu-class__seats {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	color: var(--fu-plum-soft);
}
/* Push the button to the bottom so cards in a row line up. */
.fu-class__body > .fu-btn {
	margin-top: auto;
	align-self: flex-start;
}
.fu-class__hero {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fu-radius);
}

/* --- definition list of facts (class detail) ---------------------------- */
.fu-facts {
	display: grid;
	gap: 0.85rem;
	margin: 0;
}
.fu-facts > div {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: 0.85rem;
}
.fu-facts dt {
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fu-plum-soft);
	padding-top: 0.15rem;
}
.fu-facts dd {
	margin: 0;
}
@media (max-width: 575.98px) {
	.fu-facts > div {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}
}

/* --- checkmark lists ----------------------------------------------------- */
.fu-ticks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}
.fu-ticks li {
	position: relative;
	padding-left: 1.5rem;
}
.fu-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--fu-meadow);
}

@media (prefers-reduced-motion: reduce) {
	.fu-class__media img,
	.fu-class:hover .fu-class__media img {
		transition: none;
		transform: none;
	}
}

/* --- button group (service detail CTAs) --------------------------------- */
.fu-btngroup {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}
/* A disabled CTA is a <span>, not a dead <a>: nothing to tab to, nothing to
   click, and it still reads as a button. */
.fu-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	filter: grayscale(100%);
}
