/**
 * Forestry content blocks.
 *
 * Loaded on the front end and as an editor style, so the block editor renders
 * each section the way the page will. Selectors are class-based and namespaced
 * `fcx-` so nothing here depends on markup the editor wraps around a block.
 *
 * The visual system: full-width bands of green at different values, an
 * editorial serif whose italic carries the accent colour, hairline rules
 * instead of shadows, and near-square corners.
 */

/* ===========================================================================
 * Video hero
 * ======================================================================== */

.fcx-vhero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--fcx-green-950);
	color: var(--fcx-white);
	isolation: isolate;
}

/*
 * Clamped rather than a bare vh: on a very tall display an unbounded viewport
 * height leaves the headline stranded at the bottom of a wall of video.
 */
.fcx-vhero--short    { min-height: clamp(22rem, 56vh, 30rem); }
.fcx-vhero--standard { min-height: clamp(28rem, 72vh, 40rem); }
.fcx-vhero--tall     { min-height: clamp(32rem, 88vh, 48rem); }

.fcx-vhero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

/* The poster holds the space until, and if, the video arrives. */
.fcx-vhero__poster,
.fcx-vhero__media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--fcx-focal, 50% 50%);
}

/* ---- Slideshow background ----
 *
 * Every picture is stacked in the same place and the current one is simply the
 * opaque one. Before script runs the first slide is opaque and the rest are
 * not, which is why a hero with JavaScript off is a still photograph rather
 * than a pile of them.
 */
.fcx-vhero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.fcx-vhero__slide.is-current { opacity: 1; }

/* The fade is only introduced once script is driving the stack; without it the
 * first slide should appear instantly, not fade in on load. */
.fcx-vhero.is-slideshow-ready .fcx-vhero__slide {
	transition: opacity 1200ms var(--fcx-ease);
}

/*
 * A slow drift across the frame while a picture is showing. It is small enough
 * to read as depth rather than movement, and it stops with everything else.
 */
.fcx-vhero.is-slideshow-ready .fcx-vhero__slide .fcx-vhero__poster {
	transform: scale(1.06);
	transition: transform 7000ms linear;
}

.fcx-vhero.is-slideshow-ready .fcx-vhero__slide.is-current .fcx-vhero__poster {
	transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.fcx-vhero__slide,
	.fcx-vhero__slide .fcx-vhero__poster {
		transition: none !important;
		transform: none !important;
	}
}

/* ---- Slide dots ---- */

.fcx-vhero__dots {
	position: absolute;
	left: var(--fcx-gutter);
	bottom: 1.6rem;
	z-index: 3;
	display: flex;
	gap: 0.55rem;
}

.fcx-vhero__dot {
	width: 2.25rem;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.38);
	cursor: pointer;
	transition: background-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-vhero__dot:hover { background: rgba(255, 255, 255, 0.65); }
.fcx-vhero__dot.is-current { background: var(--fcx-lime); }

.fcx-vhero__dot:focus-visible {
	outline: 2px solid var(--fcx-lime);
	outline-offset: 4px;
}

/*
 * The dots stay bottom-left whatever the headline does, because the pause
 * control is always bottom-right and the two would otherwise overlap.
 */

@media (max-width: 600px) {
	.fcx-vhero__dot { width: 1.6rem; }
}

/* Below the toggle's own row, the two would still meet. */
@media (max-width: 420px) {
	.fcx-vhero__dots { bottom: 4.1rem; }
}

/*
 * The player is sized to cover rather than fit, so a 16:9 video fills a hero of
 * any proportion without letterboxing. It is only revealed once the player
 * reports ready, which is what makes a blocked embed fall back cleanly.
 */
.fcx-vhero__frame {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 700ms var(--fcx-ease);
	pointer-events: none;
	border: 0;
}

.fcx-vhero__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.fcx-vhero.is-video-playing .fcx-vhero__frame { opacity: 1; }

.fcx-vhero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/*
 * Green-tinted readability wash, weighted towards the headline side. The
 * direction follows the alignment: whichever side the headline is on gets the
 * heavy end of the gradient, so the type keeps its contrast over a photograph
 * we cannot predict. 270deg runs strong-to-weak left-wards, which is what a
 * right-aligned headline wants.
 */
.fcx-vhero__overlay { --fcx-wash: 270deg; }
.fcx-vhero--align-left .fcx-vhero__overlay { --fcx-wash: 90deg; }

.fcx-vhero--green-light .fcx-vhero__overlay {
	background:
		linear-gradient(var(--fcx-wash), rgba(9, 34, 19, 0.62) 0%, rgba(9, 34, 19, 0.28) 55%, rgba(9, 34, 19, 0.18) 100%),
		linear-gradient(180deg, rgba(5, 23, 12, 0.30), rgba(5, 23, 12, 0.15));
}

.fcx-vhero--green-medium .fcx-vhero__overlay {
	background:
		linear-gradient(var(--fcx-wash), rgba(9, 34, 19, 0.80) 0%, rgba(9, 34, 19, 0.46) 55%, rgba(9, 34, 19, 0.32) 100%),
		linear-gradient(180deg, rgba(5, 23, 12, 0.42), rgba(5, 23, 12, 0.26));
}

.fcx-vhero--green-strong .fcx-vhero__overlay {
	background:
		linear-gradient(var(--fcx-wash), rgba(9, 34, 19, 0.92) 0%, rgba(9, 34, 19, 0.66) 55%, rgba(9, 34, 19, 0.52) 100%),
		linear-gradient(180deg, rgba(5, 23, 12, 0.55), rgba(5, 23, 12, 0.40));
}

.fcx-vhero--black-light .fcx-vhero__overlay  { background: linear-gradient(var(--fcx-wash), rgba(6, 8, 6, 0.60), rgba(6, 8, 6, 0.20)); }
.fcx-vhero--black-medium .fcx-vhero__overlay { background: linear-gradient(var(--fcx-wash), rgba(6, 8, 6, 0.78), rgba(6, 8, 6, 0.38)); }
.fcx-vhero--black-strong .fcx-vhero__overlay { background: linear-gradient(var(--fcx-wash), rgba(6, 8, 6, 0.90), rgba(6, 8, 6, 0.58)); }

/* A centred headline sits mid-gradient, so it gets an even wash instead. */
.fcx-vhero--align-centre .fcx-vhero__overlay { --fcx-wash: 180deg; }

/*
 * A column, not a row: the breadcrumb trail stacks above the headline rather
 * than lining up beside it. Horizontal placement moves to align-items so the
 * three alignments behave exactly as they did.
 */
.fcx-vhero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(4rem, 10vw, 7rem);
}

.fcx-vhero--align-right  .fcx-vhero__inner { align-items: flex-end; }
.fcx-vhero--align-left   .fcx-vhero__inner { align-items: flex-start; }
.fcx-vhero--align-centre .fcx-vhero__inner { align-items: center; text-align: center; }

.fcx-vhero__title {
	max-width: 16ch;
	margin: 0;
	color: var(--fcx-white);
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-hero);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.04;
	text-shadow: 0 2px 30px rgba(5, 23, 12, 0.35);
}

/*
 * Breadcrumbs inside the hero. They sit on a photograph rather than the cream
 * page header, so they take the light palette and the lime accent instead of
 * the muted-on-paper pair.
 */
.fcx-vhero__crumbs { margin-bottom: 1.1rem; }

.fcx-vhero__crumbs .fcx-breadcrumbs { color: var(--fcx-on-dark-body); }
.fcx-vhero__crumbs .fcx-breadcrumbs a { color: var(--fcx-lime); }

.fcx-vhero--align-right .fcx-vhero__inner { text-align: right; }
.fcx-vhero--align-centre .fcx-vhero__crumbs { text-align: center; }

.fcx-vhero--align-right .fcx-vhero__title { text-align: right; }

/*
 * A headline pushed to one side has to stay on its own half to read as pushed.
 * At 58% it crossed the centreline and looked centred, so the measure is held
 * under half the container and the type steps down to suit the narrower column.
 */
.fcx-vhero--align-right .fcx-vhero__title,
.fcx-vhero--align-left .fcx-vhero__title {
	max-width: min(13ch, 44%);
	font-size: clamp(2.4rem, 5vw, 4.6rem);
}

@media (max-width: 900px) {
	.fcx-vhero--align-right .fcx-vhero__title,
	.fcx-vhero--align-left .fcx-vhero__title { max-width: 100%; }
}

/* Pause control for persistent motion. Hidden until a player is really running. */
.fcx-vhero__toggle {
	position: absolute;
	right: var(--fcx-gutter);
	bottom: 1.5rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--fcx-rule-dark);
	border-radius: var(--fcx-r-pill);
	background: rgba(5, 23, 12, 0.55);
	color: var(--fcx-white);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(2px);
}

.fcx-vhero__toggle:hover { background: rgba(5, 23, 12, 0.78); }

.fcx-vhero__toggle-icon {
	width: 10px;
	height: 12px;
	background: currentColor;
	/* Two bars for pause; a triangle when paused. */
	clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

.fcx-vhero__toggle:not(.is-playing) .fcx-vhero__toggle-icon {
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Editor-only configuration warning. */
.fcx-vhero__notice {
	position: absolute;
	left: var(--fcx-gutter);
	bottom: 1.5rem;
	z-index: 3;
	max-width: 34rem;
	margin: 0;
	padding: 0.7rem 1rem;
	border-left: 3px solid var(--fcx-lime);
	background: rgba(5, 23, 12, 0.82);
	color: var(--fcx-white);
	font-size: var(--fcx-text-sm);
}

.fcx-vhero__notice span {
	display: block;
	margin-top: 0.2rem;
	color: var(--fcx-on-dark-muted);
	font-size: var(--fcx-text-micro);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

@media (max-width: 780px) {
	.fcx-vhero__inner { justify-content: flex-start !important; }
	.fcx-vhero__title { max-width: 100%; text-align: left !important; }
	.fcx-vhero__notice { display: none; }
}

/* ===========================================================================
 * Statistics strip
 * ======================================================================== */

.fcx-stats {
	background: var(--fcx-green-900);
	color: var(--fcx-on-dark);
}

.fcx-stats--light {
	background: var(--fcx-cream);
	color: var(--fcx-body);
}

.fcx-stats {
	padding-block: clamp(3rem, 6vw, 4.75rem);
}

.fcx-stats__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.75rem);
}

/*
 * Each figure is a card rather than a cell in a ruled row. On a band sitting
 * between two blocks of green the set needs enough presence to be a section in
 * its own right, and a card gives the number somewhere to sit.
 */
.fcx-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--fcx-rule-dark-soft);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-green-800);
	color: inherit;
	text-decoration: none;
}

.fcx-stats--light .fcx-stat {
	border-color: var(--fcx-rule);
	background: var(--fcx-white);
}

.fcx-stat__value {
	display: flex;
	align-items: baseline;
	gap: 0.05em;
	margin: 0;
	color: var(--fcx-white);
	font-family: var(--fcx-font-display);
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1;
}

.fcx-stats--light .fcx-stat__value { color: var(--fcx-ink); }

/*
 * Tabular figures are what stop the number jittering while it counts: every
 * digit occupies the same width, so 1 -> 8 does not nudge the unit sideways.
 */
.fcx-stat__figure {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/*
 * The unit rides small, the way a figure is set in print. It carries the accent
 * colour of whichever tone it is on: green-400 is only 4.1:1 on the dark card,
 * which a unit this size scrapes past but does not clear outright, so the dark
 * tone uses lime like everything else on green.
 */
.fcx-stat__unit {
	font-size: 0.62em;
	line-height: 1;
	color: var(--fcx-lime);
}

.fcx-stats--light .fcx-stat__unit { color: var(--fcx-green-500); }
.fcx-stat__unit--before { margin-right: 0.06em; }

/*
 * A short accent rule that draws itself out from nothing as the strip arrives.
 * It sits between the figure and its label and does the work a divider used to.
 */
.fcx-stat__rule {
	display: block;
	width: 2.25rem;
	height: 2px;
	margin: 1.1rem 0 1rem;
	border-radius: 2px;
	background: var(--fcx-lime);
	transform-origin: left center;
}

.fcx-stats--light .fcx-stat__rule { background: var(--fcx-green-500); }

.fcx-stat__label {
	margin: 0;
	color: var(--fcx-on-dark-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

/*
 * Pushes the label to the foot of the card, so a two-line label lengthens the
 * card downwards instead of shunting its neighbours' figures out of line, and
 * every label sits on the same baseline whether or not the card is a link.
 */
.fcx-stat__label { margin-top: auto; }

.fcx-stats--light .fcx-stat__label { color: var(--fcx-muted); }

.fcx-stat--link {
	transition:
		transform var(--fcx-duration) var(--fcx-ease),
		border-color var(--fcx-duration) var(--fcx-ease),
		box-shadow var(--fcx-duration) var(--fcx-ease);
}

.fcx-stat--link:hover {
	transform: translateY(-3px);
	border-color: var(--fcx-rule-dark);
}

.fcx-stats--light .fcx-stat--link:hover {
	border-color: rgba(21, 126, 63, 0.35);
	box-shadow: 0 12px 28px -18px rgba(5, 23, 12, 0.45);
}

.fcx-stat--link:hover .fcx-stat__rule { width: 3.25rem; }
.fcx-stat__rule { transition: width var(--fcx-duration) var(--fcx-ease); }

.fcx-stat__arrow {
	position: absolute;
	top: clamp(1.5rem, 3vw, 2.25rem);
	right: clamp(1.5rem, 3vw, 2.25rem);
	color: var(--fcx-lime);
	transition: transform var(--fcx-duration) var(--fcx-ease);
}

/* Lime is all but invisible on cream, and the arrow is the only sign the
 * figure is a link, so the light strip carries it in the brand green. */
.fcx-stats--light .fcx-stat__arrow { color: var(--fcx-green-500); }
.fcx-stat--link:hover .fcx-stat__arrow { transform: translate(2px, -2px); }

/* ---- Arrival ----
 *
 * The strip fades in as one, then its cells rise in sequence and each accent
 * rule draws out behind its figure. All of it is gated on the motion class, so
 * without JavaScript - or with reduced motion asked for - the strip is simply
 * there, fully formed.
 */
html.fcx-motion .fcx-stats[data-fcx-reveal] .fcx-stat {
	opacity: 0;
	transform: translateY(var(--fcx-reveal-distance));
	transition:
		opacity var(--fcx-reveal-duration) var(--fcx-ease),
		transform var(--fcx-reveal-duration) var(--fcx-ease);
}

html.fcx-motion .fcx-stats[data-fcx-reveal] .fcx-stat__rule {
	transform: scaleX(0);
	transition: transform var(--fcx-reveal-duration) var(--fcx-ease);
}

html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat {
	opacity: 1;
	transform: none;
}

html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat__rule { transform: none; }

html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(1),
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(1) .fcx-stat__rule { transition-delay: calc(var(--fcx-reveal-stagger) * 1); }
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(2),
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(2) .fcx-stat__rule { transition-delay: calc(var(--fcx-reveal-stagger) * 2); }
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(3),
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(3) .fcx-stat__rule { transition-delay: calc(var(--fcx-reveal-stagger) * 3); }
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(n + 4),
html.fcx-motion .fcx-stats[data-fcx-reveal].is-revealed .fcx-stat:nth-child(n + 4) .fcx-stat__rule { transition-delay: calc(var(--fcx-reveal-stagger) * 4); }

@media (max-width: 900px) {
	.fcx-stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.fcx-stats__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
	.fcx-stats__inner { grid-template-columns: minmax(0, 1fr); }
	.fcx-stats__inner > * { border-left: 0 !important; }
	.fcx-stats__inner > * + * { border-top: 1px solid var(--fcx-rule-dark-soft); }
}

/* ===========================================================================
 * Section heading
 * ======================================================================== */

.fcx-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: end;
	gap: 1.5rem clamp(2rem, 5vw, 4rem);
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.fcx-section-heading__title { font-size: var(--fcx-text-3xl); }

.fcx-section-heading__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.fcx-section-heading__intro {
	max-width: 46ch;
	margin: 0;
	font-size: var(--fcx-text-base);
}

.fcx-section-heading--stacked,
.fcx-section-heading--centered {
	grid-template-columns: minmax(0, 1fr);
}

.fcx-section-heading--centered { justify-items: center; text-align: center; }
.fcx-section-heading--centered .fcx-eyebrow { justify-content: center; }
.fcx-section-heading--centered .fcx-section-heading__title { max-width: 26ch; }

/* Matches the centred About section rather than the narrow column an aside
 * uses when the heading is split. */
.fcx-section-heading--centered .fcx-section-heading__intro {
	max-width: 60ch;
	font-size: var(--fcx-text-lg);
}

.fcx-section-heading--light .fcx-section-heading__title { color: var(--fcx-white); }
.fcx-section-heading--light .fcx-section-heading__intro { color: var(--fcx-on-dark-body); }
.fcx-section-heading--light .fcx-eyebrow { color: var(--fcx-lime); }

@media (max-width: 860px) {
	.fcx-section-heading { grid-template-columns: minmax(0, 1fr); }
}

/* ===========================================================================
 * About / mission
 * ======================================================================== */

.fcx-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.fcx-about__title {
	font-size: var(--fcx-text-3xl);
	max-width: 14ch;
}

.fcx-about__body {
	padding-top: 0.5rem;
	color: var(--fcx-body);
}

.fcx-about__body > *:last-child { margin-bottom: 0; }
.fcx-about__copy > *:last-child { margin-bottom: 0; }
.fcx-about__link { margin: 1.75rem 0 0; }

@media (max-width: 860px) {
	.fcx-about__inner { grid-template-columns: minmax(0, 1fr); }
	.fcx-about__title { max-width: 100%; }
}

/* ---- Centred arrangement ----
 *
 * One column down the middle, ending on the button. The measure is held near
 * 60 characters: centred text is harder to scan than ranged-left, so the lines
 * have to stay short enough that the eye finds the next one without hunting.
 */
.fcx-about--centred .fcx-about__inner {
	display: block;
	max-width: 68rem;
	margin-inline: auto;
	text-align: center;
}

.fcx-about--centred .fcx-about__title {
	max-width: 24ch;
	margin-inline: auto;
	font-size: var(--fcx-text-4xl);
}

.fcx-about--centred .fcx-about__body {
	padding-top: 0;
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

/*
 * The copy is wider than a default paragraph and set larger to match. Widening
 * alone would have pushed the line past 90 characters, which centred text can
 * least afford; the larger size holds it near 70 while the block itself sits
 * comfortably under the heading instead of looking pinched beneath it.
 */
.fcx-about--centred .fcx-about__copy {
	max-width: 48rem;
	margin-inline: auto;
	font-size: var(--fcx-text-xl);
	line-height: 1.6;
}

.fcx-about--centred .fcx-about__link { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }

/* ---- Beside arrangement ----
 *
 * The words in one column, the picture in the other, centred against each
 * other so a portrait and a short paragraph balance rather than one hanging
 * off the top of the row.
 *
 * Which side the picture takes is DOM order, set by the block, not a CSS
 * reordering - so when the columns stack on a narrow screen they read in the
 * order they were written rather than in a surprising one.
 * ------------------------------------------------------------------------ */

.fcx-about--beside .fcx-about__inner {
	align-items: center;
	gap: clamp(2rem, 4.5vw, 4rem);
}

.fcx-about--beside .fcx-about__text {
	display: flex;
	flex-direction: column;
}

/* Beside a picture the heading has a whole column, so it need not be narrow. */
.fcx-about--beside .fcx-about__title { max-width: 20ch; }

.fcx-about--beside .fcx-about__copy {
	margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
	color: var(--fcx-body);
}

.fcx-about--beside .fcx-about__copy > *:last-child { margin-bottom: 0; }

/* The figure is a column of its own here, so it carries no top margin. */
.fcx-about--beside .fcx-about__figure { margin: 0; }

.is-style-fcx-band-deep .fcx-about--beside .fcx-about__copy,
.is-style-fcx-band-mid .fcx-about--beside .fcx-about__copy { color: var(--fcx-on-dark-body); }

@media (max-width: 860px) {
	.fcx-about--beside .fcx-about__title { max-width: 100%; }
}

/* ---- Optional illustration ---- */

.fcx-about__figure {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.fcx-about__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--fcx-r-md);
}

.fcx-about__caption {
	margin: 0.85rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.5;
}

.is-style-fcx-band-deep .fcx-about__caption,
.is-style-fcx-band-mid .fcx-about__caption { color: var(--fcx-on-dark-muted); }

/* Wider than the reading measure: a photograph is looked at, not read. */
.fcx-about--centred .fcx-about__figure {
	max-width: 58rem;
	margin-inline: auto;
}

/*
 * A statement of purpose sitting under the descriptive copy: set apart by a
 * rule and the display serif rather than by another heading, since it is a
 * sentence rather than a title.
 */
.fcx-about__copy .fcx-lead {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 1px solid var(--fcx-rule);
	color: var(--fcx-ink);
	font-family: var(--fcx-font-display);
	/*
	 * A step above the body copy, which is itself enlarged in this layout. The
	 * floor is high rather than proportional: at tablet widths the viewport
	 * term bottoms out while the box stays wide, which was pushing the line
	 * past eighty characters.
	 */
	font-size: clamp(1.45rem, 1.9vw, 1.6rem);
	font-style: italic;
	line-height: 1.45;
}

.is-style-fcx-band-deep .fcx-about__copy .fcx-lead,
.is-style-fcx-band-mid .fcx-about__copy .fcx-lead {
	border-top-color: var(--fcx-rule-dark);
	color: var(--fcx-on-dark);
}

@media (max-width: 860px) {
	.fcx-about--centred .fcx-about__title { max-width: 100%; }
}

/* ---- List as pills ----
 *
 * A short set of points reads better as tags than as a bulleted column. The
 * markers go, the list becomes a wrapping row, and each item gets a soft green
 * chip. Still a real <ul>, so it is still announced as a list of four items.
 */
.is-style-fcx-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
	padding: 0;
	list-style: none;
}

.fcx-about--centred .is-style-fcx-pills { justify-content: center; }

.is-style-fcx-pills > li {
	margin: 0;
	padding: 0.55rem 1.15rem;
	border: 1px solid rgba(21, 126, 63, 0.22);
	border-radius: var(--fcx-r-pill);
	background: rgba(21, 126, 63, 0.07);
	color: var(--fcx-green-700);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-base);
	font-weight: 500;
	line-height: 1.35;
}

.is-style-fcx-pills > li::marker { content: none; }

/* On the green bands the same chip inverts rather than disappearing. */
.is-style-fcx-band-deep .is-style-fcx-pills > li,
.is-style-fcx-band-mid .is-style-fcx-pills > li {
	border-color: var(--fcx-rule-dark);
	background: rgba(244, 246, 240, 0.08);
	color: var(--fcx-on-dark);
}

/*
 * The pills arrive one after another once their block reveals. This is a
 * child-level stagger rather than a reveal of its own, so it costs no extra
 * observers - and like every other transition here it collapses to nothing when
 * the motion class is absent, which is the case whenever JavaScript has not run
 * or the visitor prefers reduced motion.
 */
html.fcx-motion [data-fcx-reveal] .is-style-fcx-pills > li {
	opacity: 0;
	transform: translateY(0.7rem) scale(0.96);
	transition:
		opacity var(--fcx-reveal-duration) var(--fcx-ease),
		transform var(--fcx-reveal-duration) var(--fcx-ease);
}

html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li {
	opacity: 1;
	transform: none;
}

html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(1) { transition-delay: calc(var(--fcx-reveal-stagger) * 1); }
html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(2) { transition-delay: calc(var(--fcx-reveal-stagger) * 2); }
html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(3) { transition-delay: calc(var(--fcx-reveal-stagger) * 3); }
html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(4) { transition-delay: calc(var(--fcx-reveal-stagger) * 4); }
html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(5) { transition-delay: calc(var(--fcx-reveal-stagger) * 5); }
html.fcx-motion [data-fcx-reveal].is-revealed .is-style-fcx-pills > li:nth-child(n + 6) { transition-delay: calc(var(--fcx-reveal-stagger) * 6); }

/* ---- Principle columns ---- */

.fcx-principles {
	display: grid;
	gap: 0;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--fcx-rule);
}

.fcx-principles--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-principles--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcx-principles--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fcx-principle {
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.75rem);
	padding-left: 0;
}

.fcx-principles > * + * {
	padding-left: clamp(1.25rem, 2.5vw, 2rem);
	border-left: 1px solid var(--fcx-rule);
}

/*
 * The divider above is written for a single row. Once the cards wrap, the first
 * card of every later row inherits a rule on its left with nothing beside it,
 * so the column count clears it and separates the rows horizontally instead.
 */
.fcx-principles--cols-2 > *:nth-child(2n + 1),
.fcx-principles--cols-3 > *:nth-child(3n + 1),
.fcx-principles--cols-4 > *:nth-child(4n + 1) {
	padding-left: 0;
	border-left: 0;
}

.fcx-principles--cols-2 > *:nth-child(n + 3),
.fcx-principles--cols-3 > *:nth-child(n + 4),
.fcx-principles--cols-4 > *:nth-child(n + 5) {
	border-top: 1px solid var(--fcx-rule);
}

.is-style-fcx-band-deep .fcx-principles--cols-2 > *:nth-child(n + 3),
.is-style-fcx-band-deep .fcx-principles--cols-3 > *:nth-child(n + 4),
.is-style-fcx-band-deep .fcx-principles--cols-4 > *:nth-child(n + 5),
.is-style-fcx-band-mid .fcx-principles--cols-2 > *:nth-child(n + 3),
.is-style-fcx-band-mid .fcx-principles--cols-3 > *:nth-child(n + 4),
.is-style-fcx-band-mid .fcx-principles--cols-4 > *:nth-child(n + 5) {
	border-top-color: var(--fcx-rule-dark-soft);
}

.fcx-principle__icon {
	display: block;
	margin-bottom: 0.85rem;
	color: var(--fcx-green-500);
}

.fcx-principle__title {
	margin: 0 0 0.4rem;
	color: var(--fcx-ink);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-lg);
	font-weight: 600;
	letter-spacing: 0;
}

.fcx-principle__body {
	margin: 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-base);
	line-height: 1.6;
}

.fcx-principle__link { margin: 0.9rem 0 0; }

/*
 * Both of these blocks were only ever used on the warm bands, so their colours
 * were written for dark-on-light. They are general-purpose sections, and a
 * page may well want them on green, so the green bands get their counterparts
 * rather than leaving an editor with body text they cannot read.
 */
.is-style-fcx-band-deep .fcx-about__body,
.is-style-fcx-band-mid .fcx-about__body { color: var(--fcx-on-dark-body); }

.is-style-fcx-band-deep .fcx-principles,
.is-style-fcx-band-mid .fcx-principles { border-top-color: var(--fcx-rule-dark-soft); }

.is-style-fcx-band-deep .fcx-principles > * + *,
.is-style-fcx-band-mid .fcx-principles > * + * { border-left-color: var(--fcx-rule-dark-soft); }

.is-style-fcx-band-deep .fcx-principle__icon,
.is-style-fcx-band-mid .fcx-principle__icon { color: var(--fcx-lime); }

.is-style-fcx-band-deep .fcx-principle__title,
.is-style-fcx-band-mid .fcx-principle__title { color: var(--fcx-on-dark); }

.is-style-fcx-band-deep .fcx-principle__body,
.is-style-fcx-band-mid .fcx-principle__body { color: var(--fcx-on-dark-muted); }

/* The solid button is near-black on green; the lime one is the dark-band pair. */
.is-style-fcx-band-deep .fcx-about__link .fcx-btn--solid,
.is-style-fcx-band-mid .fcx-about__link .fcx-btn--solid {
	background: var(--fcx-lime);
	color: var(--fcx-green-950);
}

@media (max-width: 760px) {
	.fcx-principles { grid-template-columns: minmax(0, 1fr) !important; }
	.fcx-principles > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--fcx-rule); }

	.is-style-fcx-band-deep .fcx-principles > * + *,
	.is-style-fcx-band-mid .fcx-principles > * + * { border-top-color: var(--fcx-rule-dark-soft); }
}

/* ===========================================================================
 * Programme cards
 * ======================================================================== */

.fcx-programmes {
	display: grid;
	gap: 1px;
	background: var(--fcx-rule-dark-soft);
	border: 1px solid var(--fcx-rule-dark-soft);
}

.fcx-programmes--light {
	background: var(--fcx-rule);
	border-color: var(--fcx-rule);
}

.fcx-programmes--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-programmes--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcx-programmes--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fcx-programme {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	background: var(--fcx-green-900);
	color: var(--fcx-on-dark-body);
	text-decoration: none;
	transition: background-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-programmes--light .fcx-programme {
	background: var(--fcx-paper);
	color: var(--fcx-body);
}

.fcx-programme--link:hover { background: var(--fcx-green-800); }
.fcx-programmes--light .fcx-programme--link:hover { background: var(--fcx-cream); }

.fcx-programme__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 1.1rem;
	background: var(--fcx-green-800);
}

.fcx-programme__img,
.fcx-programme__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--fcx-ease);
}

.fcx-programme--link:hover .fcx-programme__img { transform: scale(1.05); }

/*
 * The number sits on a photograph we cannot predict, so it carries its own
 * near-opaque backing rather than trusting the image behind it.
 */
.fcx-programme__number {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.25rem 0.5rem;
	border-radius: var(--fcx-r-sm);
	background: rgba(5, 23, 12, 0.86);
	color: var(--fcx-lime);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.14em;
}

.fcx-programme__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.fcx-programme__title {
	margin: 0 0 0.5rem;
	color: var(--fcx-white);
	font-family: var(--fcx-font-display);
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.fcx-programmes--light .fcx-programme__title { color: var(--fcx-ink); }

.fcx-programme__desc {
	margin: 0;
	font-size: var(--fcx-text-sm);
	line-height: 1.65;
}

.fcx-programme__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	padding-top: 1.5rem;
	color: var(--fcx-lime);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fcx-programmes--light .fcx-programme__cta { color: var(--fcx-green-500); }

.fcx-programme__cta .fcx-arrow { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-programme--link:hover .fcx-programme__cta .fcx-arrow { transform: translate(2px, -2px); }

@media (max-width: 1024px) {
	.fcx-programmes--cols-3,
	.fcx-programmes--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.fcx-programmes { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ===========================================================================
 * Editorial feature
 * ======================================================================== */

.fcx-feature__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 0;
}

.fcx-feature--media-right .fcx-feature__media { order: 2; }

.fcx-feature__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	min-height: 26rem;
}

.fcx-feature__img,
.fcx-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fcx-feature__caption {
	position: absolute;
	left: 1.75rem;
	bottom: 1.75rem;
	color: var(--fcx-white);
	text-shadow: 0 1px 14px rgba(5, 23, 12, 0.6);
}

.fcx-feature__caption-eyebrow {
	display: block;
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.85;
}

.fcx-feature__caption-title {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--fcx-font-display);
	font-size: 1.5rem;
}

.fcx-feature__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--fcx-white);
}

.fcx-feature__title {
	font-size: var(--fcx-text-3xl);
	max-width: 13ch;
}

.fcx-feature__body {
	max-width: 44ch;
	margin: 1.5rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-base);
}

.fcx-feature__actions { margin-top: 2rem; }

.fcx-feature__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--fcx-rule);
}

.fcx-note { text-decoration: none; }

.fcx-note__title {
	display: block;
	color: var(--fcx-ink);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-base);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fcx-note__subtitle {
	display: block;
	margin-top: 0.25rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fcx-note--link:hover .fcx-note__title { color: var(--fcx-green-500); }

@media (max-width: 900px) {
	.fcx-feature__inner { grid-template-columns: minmax(0, 1fr); }
	.fcx-feature--media-right .fcx-feature__media { order: initial; }
	.fcx-feature__media { min-height: 18rem; }
	.fcx-feature__title { max-width: 100%; }
}

/* ===========================================================================
 * Quick access
 * ======================================================================== */

.fcx-quick {
	padding-block: var(--fcx-section);
	background: var(--fcx-green-700);
	color: var(--fcx-on-dark-body);
}

.fcx-quick__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.fcx-quick__title {
	font-size: var(--fcx-text-3xl);
	max-width: 11ch;
}

.fcx-quick__body {
	max-width: 34ch;
	margin: 1.25rem 0 0;
	color: var(--fcx-on-dark-muted);
	font-size: var(--fcx-text-base);
}

.fcx-quick__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fcx-quick;
	border-top: 1px solid var(--fcx-rule-dark-soft);
}

.fcx-quick__item {
	counter-increment: fcx-quick;
	border-bottom: 1px solid var(--fcx-rule-dark-soft);
}

.fcx-quick__link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 0.25rem;
	color: var(--fcx-white);
	font-size: var(--fcx-text-lg);
	text-decoration: none;
	transition: color var(--fcx-duration) var(--fcx-ease), padding-left var(--fcx-duration) var(--fcx-ease);
}

/* The number is drawn, never typed, so reordering never means renumbering. */
.fcx-quick--numbered .fcx-quick__link::before {
	content: counter(fcx-quick, decimal-leading-zero);
	color: var(--fcx-lime);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	min-width: 1.75rem;
}

.fcx-quick__label { flex: 1; }

.fcx-quick__link .fcx-arrow {
	color: var(--fcx-lime);
	transition: transform var(--fcx-duration) var(--fcx-ease);
}

.fcx-quick__link:hover,
.fcx-quick__link:focus-visible {
	color: var(--fcx-lime);
	padding-left: 0.6rem;
}

.fcx-quick__link:hover .fcx-arrow { transform: translate(3px, -3px); }

@media (max-width: 860px) {
	.fcx-quick__inner { grid-template-columns: minmax(0, 1fr); }
	.fcx-quick__title { max-width: 100%; }
}

/* ===========================================================================
 * Core values carousel
 * ======================================================================== */

.fcx-values {
	padding-block: var(--fcx-section);
	background: var(--fcx-cream);
	overflow: hidden;
}

.fcx-values--dark {
	background: var(--fcx-green-900);
	color: var(--fcx-on-dark-body);
}

.fcx-values__head {
	max-width: 42rem;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.fcx-values__title { font-size: var(--fcx-text-3xl); }
.fcx-values--dark .fcx-values__title { color: var(--fcx-white); }

.fcx-values__intro {
	max-width: 48ch;
	margin: 1.15rem auto 0;
	font-size: var(--fcx-text-base);
}

/*
 * Before enhancement this is an ordinary scrollable row, so the values are
 * readable and swipeable with no JavaScript at all.
 */
.fcx-values__viewport {
	position: relative;
	overflow-x: auto;
	scrollbar-width: none;
}

.fcx-values__viewport::-webkit-scrollbar { display: none; }

.fcx-values__track {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0 0 1rem;
	list-style: none;
}

.fcx-value {
	position: relative;
	flex: 0 0 min(74vw, 20rem);
	overflow: hidden;
	border-radius: var(--fcx-r-lg);
	background: var(--fcx-green-900);
	aspect-ratio: 3 / 4;
}

/* ---- Enhanced: the fanned, centre-dominant arrangement ---- */

.fcx-values.is-enhanced .fcx-values__viewport {
	overflow: visible;
	display: flex;
	justify-content: center;
	min-height: 30rem;
	perspective: 1400px;
}

.fcx-values.is-enhanced .fcx-values__viewport:focus-visible {
	outline: 3px solid var(--fcx-green-500);
	outline-offset: 6px;
}

.fcx-values.is-enhanced .fcx-values__track {
	position: relative;
	display: block;
	width: 100%;
	height: 30rem;
	padding: 0;
}

.fcx-values.is-enhanced .fcx-value {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(70vw, 19rem);
	height: 100%;
	flex: none;
	cursor: pointer;
	/*
	 * Each card is pushed sideways by its distance from the centre and scaled
	 * down, which produces the overlapping fan without touching DOM order.
	 */
	transform:
		translateX(calc(-50% + (var(--fcx-offset, 0) * 10.5rem)))
		scale(calc(1 - (var(--fcx-distance, 0) * 0.09)))
		translateY(calc(var(--fcx-distance, 0) * 0.9rem));
	opacity: calc(1 - (var(--fcx-distance, 0) * 0.14));
	transition:
		transform 600ms var(--fcx-ease),
		opacity 600ms var(--fcx-ease);
}

.fcx-values.is-enhanced .fcx-value.is-active {
	cursor: default;
	box-shadow: var(--fcx-shadow-lg);
}

.fcx-values.is-enhanced .fcx-value.is-far {
	opacity: 0;
	pointer-events: none;
}

.fcx-value__media {
	position: absolute;
	inset: 0;
}

.fcx-value__img,
.fcx-value__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fcx-value__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 23, 12, 0.94) 8%, rgba(5, 23, 12, 0.45) 52%, rgba(5, 23, 12, 0.10) 100%);
}

.fcx-value__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.5rem;
	color: var(--fcx-white);
}

.fcx-value__label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--fcx-lime);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fcx-value__title {
	margin: 0 0 0.5rem;
	color: var(--fcx-white);
	font-family: var(--fcx-font-display);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.2;
}

.fcx-value__desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--fcx-text-sm);
	line-height: 1.6;
}

/*
 * Only the centre card shows its wording. The cards beside it are overlapped by
 * their neighbours and dimmed by the fan, which would leave their text both
 * clipped and below the contrast floor; as images alone they read as depth.
 * The text stays in the document and returns the moment a card becomes active.
 */
.fcx-values.is-enhanced .fcx-value:not(.is-active) .fcx-value__body {
	opacity: 0;
	transition: opacity 350ms var(--fcx-ease);
}

.fcx-values__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.fcx-values__nav {
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0;
	border: 1px solid var(--fcx-rule-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--fcx-ink);
	cursor: pointer;
	transition: background-color var(--fcx-duration) var(--fcx-ease),
		color var(--fcx-duration) var(--fcx-ease),
		border-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-values--dark .fcx-values__nav { border-color: var(--fcx-rule-dark); color: var(--fcx-white); }

.fcx-values__nav:hover {
	background: var(--fcx-green-500);
	border-color: var(--fcx-green-500);
	color: var(--fcx-white);
}

.fcx-values__status {
	min-width: 12rem;
	margin: 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	text-align: center;
}

.fcx-values--dark .fcx-values__status { color: var(--fcx-on-dark-muted); }

.fcx-values__pause {
	padding: 0.5rem 1rem;
	border: 1px solid var(--fcx-rule-strong);
	border-radius: var(--fcx-r-pill);
	background: transparent;
	color: inherit;
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 700px) {
	.fcx-values.is-enhanced .fcx-values__viewport,
	.fcx-values.is-enhanced .fcx-values__track { height: 26rem; min-height: 26rem; }
	.fcx-values.is-enhanced .fcx-value {
		width: 74vw;
		transform:
			translateX(calc(-50% + (var(--fcx-offset, 0) * 82%)))
			scale(calc(1 - (var(--fcx-distance, 0) * 0.08)));
	}
}

/* ===========================================================================
 * News
 * ======================================================================== */

.fcx-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.fcx-news--cols-2 .fcx-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-news--cols-4 .fcx-news__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* The featured card takes a wider, taller slot at the start of the row. */
.fcx-news--featured .fcx-news__grid { grid-template-columns: 1.6fr 1fr 1fr; }

.fcx-post {
	display: flex;
	flex-direction: column;
	background: var(--fcx-white);
	border: 1px solid var(--fcx-rule);
}

.fcx-post__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--fcx-cream);
}

.fcx-post--feature .fcx-post__media { aspect-ratio: 16 / 11; }

.fcx-post__img,
.fcx-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--fcx-ease);
}

.fcx-post:hover .fcx-post__img { transform: scale(1.04); }

.fcx-post__flag {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.3rem 0.7rem;
	background: var(--fcx-lime);
	color: var(--fcx-green-950);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fcx-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.35rem 1.4rem 1.5rem;
}

.fcx-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fcx-post__cat { color: var(--fcx-green-500); }

.fcx-post__title {
	margin: 0 0 0.6rem;
	font-family: var(--fcx-font-display);
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.25;
}

.fcx-post--feature .fcx-post__title { font-size: 1.5rem; }

.fcx-post__title a { color: var(--fcx-ink); text-decoration: none; }
.fcx-post__title a:hover,
.fcx-post__title a:focus-visible { color: var(--fcx-green-500); }

.fcx-post__excerpt {
	margin: 0 0 1.25rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.65;
}

.fcx-post__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	align-self: flex-start;
	color: var(--fcx-ink);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.fcx-post__cta:hover { color: var(--fcx-green-500); }
.fcx-post__cta .fcx-arrow { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-post__cta:hover .fcx-arrow { transform: translate(2px, -2px); }

.fcx-news__empty {
	margin: 0;
	padding: 2.5rem;
	border: 1px dashed var(--fcx-rule-strong);
	color: var(--fcx-muted);
	text-align: center;
}

@media (max-width: 1024px) {
	.fcx-news__grid,
	.fcx-news--featured .fcx-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fcx-post--feature { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.fcx-news__grid,
	.fcx-news--featured .fcx-news__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===========================================================================
 * Call to action
 * ======================================================================== */

.fcx-cta {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-block: var(--fcx-section);
	background: var(--fcx-green-950);
	color: var(--fcx-on-dark-body);
	isolation: isolate;
}

.fcx-cta__media { position: absolute; inset: 0; z-index: 0; }

.fcx-cta__img,
.fcx-cta__media img { width: 100%; height: 100%; object-fit: cover; }

.fcx-cta__overlay { position: absolute; inset: 0; }

.fcx-cta--light .fcx-cta__overlay  { background: linear-gradient(90deg, rgba(5, 23, 12, 0.78), rgba(5, 23, 12, 0.42)); }
.fcx-cta--medium .fcx-cta__overlay { background: linear-gradient(90deg, rgba(5, 23, 12, 0.90), rgba(5, 23, 12, 0.62)); }
.fcx-cta--strong .fcx-cta__overlay { background: linear-gradient(90deg, rgba(5, 23, 12, 0.96), rgba(5, 23, 12, 0.78)); }

.fcx-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.fcx-cta__title { font-size: var(--fcx-text-3xl); max-width: 14ch; }

.fcx-cta__body {
	max-width: 42ch;
	margin: 0 0 1.75rem;
	color: var(--fcx-on-dark-body);
	font-size: var(--fcx-text-base);
}

@media (max-width: 860px) {
	.fcx-cta__inner { grid-template-columns: minmax(0, 1fr); }
	.fcx-cta__title { max-width: 100%; }
}

/* ===========================================================================
 * Branch locator
 * ======================================================================== */

.fcx-locator__head { margin-bottom: 1.75rem; }
.fcx-locator__title { font-size: var(--fcx-text-2xl); }
.fcx-locator__intro { max-width: 60ch; margin: 0.85rem 0 0; }

.fcx-locator__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.fcx-locator__field { flex: 1 1 14rem; }

.fcx-locator__field label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fcx-locator__field input,
.fcx-locator__field select {
	width: 100%;
	min-height: 46px;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--fcx-rule-strong);
	border-radius: var(--fcx-r-sm);
	background: var(--fcx-white);
	color: var(--fcx-ink);
	font-family: inherit;
	font-size: var(--fcx-text-base);
}

.fcx-locator__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 1.5rem;
	align-items: start;
}

.fcx-locator__mapwrap {
	position: relative;
	min-height: 12rem;
	border: 1px solid var(--fcx-rule);
	background: var(--fcx-cream);
}

.fcx-locator__map {
	width: 100%;
	height: var(--fcx-map-height, 520px);
	background: var(--fcx-cream);
}

.fcx-locator__mapnote {
	margin: 0;
	padding: 1.5rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

/* Once Leaflet is running the note is redundant. */
.fcx-locator.is-mapped .fcx-locator__mapnote { display: none; }

.fcx-locator__listwrap {
	max-height: var(--fcx-map-height, 520px);
	overflow-y: auto;
	padding-right: 0.35rem;
}

.fcx-locator__count {
	margin: 0 0 0.75rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fcx-locator__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcx-branch {
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--fcx-rule);
	background: var(--fcx-white);
	transition: border-color var(--fcx-duration) var(--fcx-ease),
		box-shadow var(--fcx-duration) var(--fcx-ease);
}

.fcx-branch.is-selected {
	border-color: var(--fcx-green-500);
	box-shadow: inset 3px 0 0 var(--fcx-green-500);
}

.fcx-branch__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.fcx-branch__name {
	margin: 0;
	font-family: var(--fcx-font-display);
	font-size: 1.1rem;
	font-weight: 400;
}

.fcx-branch__region {
	color: var(--fcx-green-500);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fcx-branch__desc {
	margin: 0 0 0.75rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-branch__details {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fcx-text-sm);
}

.fcx-branch__detail {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: var(--fcx-body);
}

.fcx-branch__icon { color: var(--fcx-green-500); margin-top: 0.2rem; }
.fcx-branch__city { display: block; }

.fcx-branch__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--fcx-rule);
}

.fcx-branch__locate,
.fcx-branch__directions {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fcx-green-500);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.fcx-branch__locate:hover,
.fcx-branch__directions:hover { color: var(--fcx-green-700); }

.fcx-branch__nomap {
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-style: italic;
}

.fcx-locator__noresults,
.fcx-locator__empty {
	margin: 1rem 0 0;
	padding: 1.5rem;
	border: 1px dashed var(--fcx-rule-strong);
	color: var(--fcx-muted);
	text-align: center;
}

/* Leaflet marker, drawn rather than an image so it takes the brand colour. */
.fcx-marker__dot {
	display: block;
	width: 18px;
	height: 18px;
	border: 3px solid var(--fcx-white);
	border-radius: 50%;
	background: var(--fcx-green-500);
	box-shadow: 0 1px 6px rgba(5, 23, 12, 0.5);
}

@media (max-width: 900px) {
	.fcx-locator__layout { grid-template-columns: minmax(0, 1fr); }
	.fcx-locator__listwrap { max-height: none; overflow: visible; }
	.fcx-locator__map { height: 22rem; }
}

/* ===========================================================================
 * Video
 * ======================================================================== */

.fcx-video { margin: 0; }

.fcx-video__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--fcx-r-md);
	background: var(--fcx-green-950);
	isolation: isolate;
}

.fcx-video__poster,
.fcx-video__frame > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--fcx-ease);
}

.fcx-video__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 23, 12, 0.18), rgba(5, 23, 12, 0.72));
}

.fcx-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.fcx-video__play-icon {
	display: grid;
	place-items: center;
	width: 4.25rem;
	height: 4.25rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(5, 23, 12, 0.55);
	backdrop-filter: blur(2px);
	transition:
		background-color var(--fcx-duration) var(--fcx-ease),
		border-color var(--fcx-duration) var(--fcx-ease),
		transform var(--fcx-duration) var(--fcx-ease);
}

/* The triangle, drawn rather than fetched. */
.fcx-video__play-icon::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 0.28rem;
	border-top: 0.7rem solid transparent;
	border-bottom: 0.7rem solid transparent;
	border-left: 1.1rem solid var(--fcx-white);
}

.fcx-video__play:hover .fcx-video__play-icon,
.fcx-video__play:focus-visible .fcx-video__play-icon {
	transform: scale(1.06);
	border-color: var(--fcx-lime);
	background: rgba(5, 23, 12, 0.78);
}

.fcx-video__play:hover .fcx-video__play-icon::after,
.fcx-video__play:focus-visible .fcx-video__play-icon::after { border-left-color: var(--fcx-lime); }

.fcx-video__play:hover ~ .fcx-video__poster,
.fcx-video__frame:hover .fcx-video__poster { transform: scale(1.03); }

.fcx-video__play:focus-visible {
	outline: 3px solid var(--fcx-lime);
	outline-offset: -4px;
}

.fcx-video__title {
	position: absolute;
	left: 1.1rem;
	right: 1.1rem;
	bottom: 1rem;
	color: var(--fcx-white);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-base);
	font-weight: 600;
	line-height: 1.35;
	text-shadow: 0 1px 12px rgba(5, 23, 12, 0.6);
	pointer-events: none;
}

/* Once the player is in, everything the still needed gets out of its way. */
.fcx-video__iframe {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	border: 0;
}

.fcx-video__frame.is-playing .fcx-video__poster,
.fcx-video__frame.is-playing .fcx-video__scrim,
.fcx-video__frame.is-playing .fcx-video__play,
.fcx-video__frame.is-playing .fcx-video__title { display: none; }

.fcx-video__caption {
	margin: 0.85rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.5;
}

.is-style-fcx-band-deep .fcx-video__caption,
.is-style-fcx-band-mid .fcx-video__caption { color: var(--fcx-on-dark-muted); }

.fcx-video__notice {
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--fcx-green-500);
	background: var(--fcx-cream);
	color: var(--fcx-body);
	font-size: var(--fcx-text-sm);
}

/* ---- Gallery tiles ----
 *
 * WordPress sizes each gallery figure to its own image, so a row of portraits
 * beside a row of landscapes steps up and down. A shared ratio settles it.
 */
.wp-block-gallery.has-nested-images figure.wp-block-image {
	aspect-ratio: 4 / 3;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Editor-only guidance beside an empty grid. Never rendered for visitors. */
.fcx-news__hint {
	max-width: 46rem;
	margin: 1rem 0 0;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--fcx-green-500);
	background: var(--fcx-cream);
	color: var(--fcx-body);
	font-size: var(--fcx-text-sm);
	line-height: 1.55;
}

/* ===========================================================================
 * Vacancies and tenders
 * ======================================================================== */

.fcx-jobs__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--fcx-rule);
}

.fcx-job {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
	border-bottom: 1px solid var(--fcx-rule);
	transition: background-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-job:hover { background: rgba(21, 126, 63, 0.03); }

.fcx-job__main { flex: 1 1 22rem; min-width: 0; }

.fcx-job__title {
	margin: 0;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-xl);
	font-weight: 400;
	line-height: 1.25;
}

.fcx-job__title a { color: var(--fcx-ink); text-decoration: none; }
.fcx-job__title a:hover { color: var(--fcx-green-500); }

/* Facts read as one line separated by dots rather than a stack of labels. */
.fcx-job__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.9rem;
	margin: 0.5rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-job__facts span + span::before {
	content: "·";
	margin-right: 0.9rem;
	color: var(--fcx-rule-strong);
}

.fcx-job__aside {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	flex: none;
}

.fcx-job__status {
	padding: 0.3rem 0.7rem;
	border: 1px solid rgba(21, 126, 63, 0.28);
	border-radius: var(--fcx-r-pill);
	background: rgba(21, 126, 63, 0.07);
	color: var(--fcx-green-700);
	font-size: var(--fcx-text-sm);
	font-weight: 500;
	white-space: nowrap;
}

/* Closing soon is a warning, not an error - amber rather than red. */
.fcx-job__status--soon {
	border-color: rgba(146, 100, 0, 0.3);
	background: rgba(146, 100, 0, 0.08);
	color: #7a5300;
}

.fcx-job__status--closed {
	border-color: var(--fcx-rule-strong);
	background: transparent;
	color: var(--fcx-muted);
}

.fcx-job--closed .fcx-job__title a { color: var(--fcx-muted); }

.fcx-job__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--fcx-green-600);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.fcx-job__cta:hover { color: var(--fcx-green-500); }
.fcx-job__cta .fcx-arrow { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-job__cta:hover .fcx-arrow { transform: translate(2px, -2px); }

.fcx-jobs__empty {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px dashed var(--fcx-rule-strong);
	border-radius: var(--fcx-r-md);
	color: var(--fcx-muted);
	text-align: center;
}

.fcx-jobs__notice {
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--fcx-green-500);
	background: var(--fcx-cream);
	font-size: var(--fcx-text-sm);
}

@media (max-width: 640px) {
	.fcx-job { align-items: flex-start; }
	.fcx-job__aside { width: 100%; justify-content: space-between; }
}

/* ---- One vacancy or tender ---- */

.fcx-vacancy__flag {
	display: inline-block;
	margin: 1rem 0 0;
	padding: 0.4rem 0.85rem;
	border-radius: var(--fcx-r-pill);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
}

.fcx-vacancy__flag--soon {
	background: rgba(146, 100, 0, 0.1);
	color: #7a5300;
}

.fcx-vacancy__flag--closed {
	background: rgba(16, 22, 15, 0.06);
	color: var(--fcx-muted);
}

.fcx-vacancy__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20rem;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}

.fcx-vacancy__body { max-width: none; margin: 0; padding: 0; }

/* The facts panel sticks while the description scrolls past it. */
.fcx-vacancy__side {
	position: sticky;
	top: calc(var(--fcx-header-height) + 1.5rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-cream);
}

.fcx-vacancy__facts { margin: 0; }

.fcx-vacancy__facts dt {
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fcx-vacancy__facts dd {
	margin: 0.2rem 0 1rem;
	color: var(--fcx-ink);
	font-size: var(--fcx-text-base);
	font-weight: 500;
}

.fcx-vacancy__facts dd:last-child { margin-bottom: 0; }

.fcx-vacancy__pack { margin: 1.25rem 0 0; }
.fcx-vacancy__pack .fcx-btn { width: 100%; justify-content: center; }

.fcx-vacancy__email {
	margin: 1rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-vacancy__back { margin: 0 0 clamp(3rem, 6vw, 5rem); }

@media (max-width: 900px) {
	.fcx-vacancy__layout { grid-template-columns: minmax(0, 1fr); }
	.fcx-vacancy__side { position: static; }
}

/* ---- Documents ---- */

.fcx-docs {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.fcx-doc + .fcx-doc { margin-top: 0.6rem; }

.fcx-doc__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-white);
	color: var(--fcx-ink);
	text-decoration: none;
	transition:
		border-color var(--fcx-duration) var(--fcx-ease),
		background-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-doc__link:hover {
	border-color: rgba(21, 126, 63, 0.4);
	background: rgba(21, 126, 63, 0.04);
}

.fcx-doc__name { font-weight: 600; }

.fcx-doc__meta {
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	white-space: nowrap;
}

/* ---- The application form ---- */

.fcx-apply {
	max-width: 46rem;
	margin: 0 0 clamp(3rem, 6vw, 5rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-paper);
	scroll-margin-top: calc(var(--fcx-header-height) + 1.5rem);
}

.fcx-apply__title {
	margin: 0;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-2xl);
	font-weight: 400;
}

.fcx-apply__intro {
	margin: 0.6rem 0 1.75rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-apply__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

.fcx-apply__field { margin: 0 0 1.1rem; }
.fcx-apply__grid .fcx-apply__field { margin: 0; }

.fcx-apply__field label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--fcx-ink);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
}

.fcx-apply__field input[type="text"],
.fcx-apply__field input[type="email"],
.fcx-apply__field input[type="tel"],
.fcx-apply__field input[type="file"],
.fcx-apply__field textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--fcx-rule-strong);
	border-radius: var(--fcx-r-sm);
	background: var(--fcx-white);
	color: var(--fcx-ink);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-base);
}

.fcx-apply__field input:focus-visible,
.fcx-apply__field textarea:focus-visible {
	outline: 2px solid var(--fcx-green-500);
	outline-offset: 1px;
	border-color: var(--fcx-green-500);
}

.fcx-apply__field textarea { min-height: 8rem; resize: vertical; }

/* Off-screen rather than display:none, so it is still a real field. */
.fcx-apply__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fcx-apply__privacy {
	margin: 1.25rem 0;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--fcx-green-500);
	background: var(--fcx-cream);
	color: var(--fcx-body);
	font-size: var(--fcx-text-sm);
	line-height: 1.55;
}

@media (max-width: 620px) {
	.fcx-apply__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- The result of submitting ---- */

.fcx-formnote {
	max-width: 46rem;
	margin: 0 0 2rem;
	padding: 1.1rem 1.35rem;
	border-radius: var(--fcx-r-md);
	font-size: var(--fcx-text-base);
	scroll-margin-top: calc(var(--fcx-header-height) + 1.5rem);
}

.fcx-formnote--good {
	border: 1px solid rgba(21, 126, 63, 0.35);
	background: rgba(21, 126, 63, 0.07);
	color: var(--fcx-green-700);
}

.fcx-formnote--bad {
	border: 1px solid rgba(146, 45, 46, 0.32);
	background: rgba(146, 45, 46, 0.06);
	color: #8a2b2c;
}

/* ===========================================================================
 * Permits and licences
 * ======================================================================== */

/*
 * Separate cards rather than one joined grid. A joined grid draws its lines
 * with the gap, which means a part-filled last row shows the line colour as a
 * grey block where a card should be; five permits in a three-column grid did
 * exactly that. Cards with real gaps simply end where they end.
 */
.fcx-permits {
	display: grid;
	gap: 1rem;
}

.fcx-permits--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-permits--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fcx-permit {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-white);
	transition:
		border-color var(--fcx-duration) var(--fcx-ease),
		transform var(--fcx-duration) var(--fcx-ease),
		box-shadow var(--fcx-duration) var(--fcx-ease);
}

.fcx-permit:hover {
	border-color: rgba(21, 126, 63, 0.35);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -20px rgba(5, 23, 12, 0.4);
}

.fcx-permit__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1.1rem;
	border-radius: var(--fcx-r-md);
	background: rgba(21, 126, 63, 0.09);
	color: var(--fcx-green-600);
}

.fcx-permit__title {
	margin: 0 0 0.6rem;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-xl);
	font-weight: 400;
	line-height: 1.25;
}

.fcx-permit__title a { color: var(--fcx-ink); text-decoration: none; }
.fcx-permit__title a:hover { color: var(--fcx-green-500); }

/* The turnaround is a promise, so it is set apart from the description. */
.fcx-permit__turnaround {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	margin: 0 0 0.85rem;
	padding: 0.3rem 0.7rem;
	border-radius: var(--fcx-r-pill);
	background: rgba(21, 126, 63, 0.08);
	color: var(--fcx-green-700);
	font-size: var(--fcx-text-sm);
	font-weight: 500;
	line-height: 1.35;
}

.fcx-permit__desc {
	margin: 0 0 1.1rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-base);
	line-height: 1.6;
}

/* Pushes the actions to the foot so every card's row of links lines up. */
.fcx-permit__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

.fcx-permit__link,
.fcx-permit__form {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.fcx-permit__link { color: var(--fcx-green-600); }
.fcx-permit__link:hover { color: var(--fcx-green-500); }
.fcx-permit__link .fcx-arrow { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-permit__link:hover .fcx-arrow { transform: translate(2px, -2px); }

.fcx-permit__form { color: var(--fcx-muted); }
.fcx-permit__form:hover { color: var(--fcx-green-600); }

@media (max-width: 860px) { .fcx-permits { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .fcx-permits { grid-template-columns: minmax(0, 1fr) !important; } }

/* ===========================================================================
 * Downloads
 * ======================================================================== */

.fcx-files__title {
	margin: 0 0 1.25rem;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-2xl);
	font-weight: 400;
}

.fcx-files__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcx-files__list--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-files__list--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fcx-file__link {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-white);
	color: var(--fcx-ink);
	text-decoration: none;
	transition:
		border-color var(--fcx-duration) var(--fcx-ease),
		background-color var(--fcx-duration) var(--fcx-ease),
		transform var(--fcx-duration) var(--fcx-ease);
}

.fcx-file__link:hover {
	border-color: rgba(21, 126, 63, 0.4);
	background: rgba(21, 126, 63, 0.03);
	transform: translateY(-1px);
}

/*
 * The badge carries the file type rather than a generic document glyph, so the
 * format is legible before the link is read.
 */
.fcx-file__badge {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.9rem;
	height: 3.4rem;
	border: 1px solid rgba(21, 126, 63, 0.25);
	border-radius: var(--fcx-r-sm);
	background: rgba(21, 126, 63, 0.07);
	color: var(--fcx-green-700);
}

.fcx-file__ext {
	font-family: var(--fcx-font-sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.fcx-file__body { flex: 1; min-width: 0; }

.fcx-file__name {
	display: block;
	font-weight: 600;
	line-height: 1.35;
}

.fcx-file__desc {
	display: block;
	margin-top: 0.2rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.5;
}

.fcx-file__meta {
	display: block;
	margin-top: 0.35rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fcx-file__action {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgba(21, 126, 63, 0.08);
	color: var(--fcx-green-600);
	transition:
		background-color var(--fcx-duration) var(--fcx-ease),
		transform var(--fcx-duration) var(--fcx-ease);
}

.fcx-file__link:hover .fcx-file__action {
	background: var(--fcx-green-500);
	color: var(--fcx-white);
	transform: translateY(2px);
}

.fcx-files__empty,
.fcx-file--empty {
	margin: 0;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px dashed var(--fcx-rule-strong);
	border-radius: var(--fcx-r-md);
	color: var(--fcx-muted);
	font-size: var(--fcx-text-base);
	list-style: none;
}

/* On the green bands the cards invert rather than glaring white. */
.is-style-fcx-band-deep .fcx-file__link,
.is-style-fcx-band-mid .fcx-file__link {
	border-color: var(--fcx-rule-dark);
	background: var(--fcx-green-800);
	color: var(--fcx-on-dark);
}

.is-style-fcx-band-deep .fcx-file__badge,
.is-style-fcx-band-mid .fcx-file__badge {
	border-color: var(--fcx-rule-dark);
	background: rgba(244, 246, 240, 0.08);
	color: var(--fcx-lime);
}

.is-style-fcx-band-deep .fcx-file__desc,
.is-style-fcx-band-deep .fcx-file__meta,
.is-style-fcx-band-mid .fcx-file__desc,
.is-style-fcx-band-mid .fcx-file__meta { color: var(--fcx-on-dark-muted); }

.is-style-fcx-band-deep .fcx-files__title,
.is-style-fcx-band-mid .fcx-files__title { color: var(--fcx-on-dark); }

@media (max-width: 700px) {
	.fcx-files__list { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ===========================================================================
 * Shop
 * ======================================================================== */

.fcx-shop__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.fcx-shop__pill {
	padding: 0.45rem 1rem;
	border: 1px solid var(--fcx-rule-strong);
	border-radius: var(--fcx-r-pill);
	color: var(--fcx-body);
	font-size: var(--fcx-text-sm);
	font-weight: 500;
	text-decoration: none;
	transition:
		border-color var(--fcx-duration) var(--fcx-ease),
		background-color var(--fcx-duration) var(--fcx-ease),
		color var(--fcx-duration) var(--fcx-ease);
}

.fcx-shop__pill:hover {
	border-color: var(--fcx-green-500);
	color: var(--fcx-green-600);
}

.fcx-shop__pill.is-current {
	border-color: var(--fcx-green-500);
	background: var(--fcx-green-500);
	color: var(--fcx-white);
}

.fcx-shop__grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcx-shop__grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-shop__grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcx-shop__grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fcx-product {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--fcx-rule);
	border-radius: var(--fcx-r-md);
	background: var(--fcx-white);
	transition:
		border-color var(--fcx-duration) var(--fcx-ease),
		transform var(--fcx-duration) var(--fcx-ease),
		box-shadow var(--fcx-duration) var(--fcx-ease);
}

.fcx-product:hover {
	border-color: rgba(21, 126, 63, 0.35);
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -22px rgba(5, 23, 12, 0.45);
}

.fcx-product__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--fcx-cream);
}

.fcx-product__img,
.fcx-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--fcx-ease);
}

.fcx-product:hover .fcx-product__img { transform: scale(1.04); }

/* Both flashes sit on the picture, so both carry their own solid ground. */
.fcx-product__badge,
.fcx-product__stock {
	position: absolute;
	top: 0.7rem;
	padding: 0.25rem 0.6rem;
	border-radius: var(--fcx-r-sm);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fcx-product__badge {
	left: 0.7rem;
	background: var(--fcx-lime);
	color: var(--fcx-green-950);
}

.fcx-product__stock {
	right: 0.7rem;
	background: rgba(5, 23, 12, 0.86);
	color: var(--fcx-white);
}

.fcx-product__stock--seasonal { background: rgba(122, 83, 0, 0.9); }

.fcx-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.fcx-product__cat {
	margin: 0 0 0.4rem;
	color: var(--fcx-green-600);
	font-size: var(--fcx-text-micro);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fcx-product__title {
	margin: 0 0 0.5rem;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-xl);
	font-weight: 400;
	line-height: 1.25;
}

.fcx-product__title a { color: var(--fcx-ink); text-decoration: none; }
.fcx-product__title a:hover { color: var(--fcx-green-500); }

.fcx-product__desc {
	margin: 0 0 1rem;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.6;
}

/* Pushed to the foot so prices line up across a row of uneven descriptions. */
.fcx-product__price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: auto 0 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--fcx-rule);
}

.fcx-product__amount {
	color: var(--fcx-ink);
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-2xl);
	line-height: 1;
}

.fcx-product__amount--enquiry { font-size: var(--fcx-text-lg); }

.fcx-product__unit {
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
}

.fcx-product__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--fcx-green-600);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.fcx-product__cta:hover { color: var(--fcx-green-500); }
.fcx-product__cta .fcx-arrow { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-product__cta:hover .fcx-arrow { transform: translate(2px, -2px); }

.fcx-shop__empty {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px dashed var(--fcx-rule-strong);
	border-radius: var(--fcx-r-md);
	color: var(--fcx-muted);
	text-align: center;
}

@media (max-width: 900px) {
	.fcx-shop__grid--cols-3,
	.fcx-shop__grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.fcx-shop__grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---- One product ---- */

.fcx-productpage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}

.fcx-productpage__media {
	overflow: hidden;
	border-radius: var(--fcx-r-md);
	background: var(--fcx-cream);
}

.fcx-productpage__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fcx-productpage__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

.fcx-productpage__cats a {
	padding: 0.3rem 0.75rem;
	border-radius: var(--fcx-r-pill);
	background: rgba(21, 126, 63, 0.08);
	color: var(--fcx-green-700);
	font-size: var(--fcx-text-sm);
	font-weight: 500;
	text-decoration: none;
}

.fcx-productpage__cats a:hover { background: rgba(21, 126, 63, 0.16); }

.fcx-productpage__price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

.fcx-productpage__amount {
	color: var(--fcx-ink);
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-3xl);
	line-height: 1;
}

.fcx-productpage__unit { color: var(--fcx-muted); font-size: var(--fcx-text-lg); }

.fcx-productpage__stock {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.35rem 0.8rem;
	border-radius: var(--fcx-r-pill);
	background: rgba(5, 23, 12, 0.07);
	color: var(--fcx-body);
	font-size: var(--fcx-text-sm);
	font-weight: 600;
}

.fcx-productpage__body { max-width: none; margin: 0; padding: 0; }
.fcx-productpage__body > *:first-child { margin-top: 0; }

.fcx-productpage__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.75rem 0 0;
}

.fcx-productpage__note {
	margin: 1.25rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.55;
}

.fcx-productpage__more { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.fcx-productpage__more-title {
	margin: 0 0 1.5rem;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-2xl);
	font-weight: 400;
}

@media (max-width: 900px) {
	.fcx-productpage { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
 * People — the Board and senior management
 *
 * Portraits first, in a plain grid. Deliberately quieter than the product and
 * permit cards: no border, no lift, no flash. The photograph is the card, the
 * name sits under it, and the whole row reads as one thing rather than as a
 * set of separate boxes competing for attention.
 * ------------------------------------------------------------------------ */

.fcx-people {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.4vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcx-people--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcx-people--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcx-people--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fcx-person {
	position: relative;
	display: flex;
	flex-direction: column;
}

.fcx-person__media {
	position: relative;
	overflow: hidden;
	margin-bottom: 1rem;
	aspect-ratio: 4 / 5;
	border-radius: var(--fcx-r-md);
	background: var(--fcx-cream);
}

/*
 * A hairline over the picture, so a pale portrait on a pale band still has an
 * edge. Inside the frame rather than a border, which would shift the crop.
 */
.fcx-person__media::after {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(5, 23, 12, 0.08);
	content: "";
	pointer-events: none;
}

.fcx-person__img,
.fcx-person__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 700ms var(--fcx-ease);
}

.fcx-person:hover .fcx-person__img { transform: scale(1.03); }

.fcx-person__name {
	margin: 0;
	font-family: var(--fcx-font-display);
	font-size: var(--fcx-text-lg);
	font-weight: 400;
	line-height: 1.25;
}

.fcx-person__role {
	margin: 0.35rem 0 0;
	color: var(--fcx-green-600);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/*
 * The biography as it reads inside the card, which is where it lives until
 * person.js moves it into the dialog. Without JavaScript this is the whole
 * feature, so it is styled to be read, not to be a leftover.
 */
.fcx-person__bio > p {
	margin: 0.6rem 0 0;
	color: var(--fcx-muted);
	font-size: var(--fcx-text-sm);
	line-height: 1.6;
}

.fcx-people__empty {
	margin: 0;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px dashed var(--fcx-rule-strong);
	border-radius: var(--fcx-r-md);
	color: var(--fcx-muted);
	font-size: var(--fcx-text-base);
}

/* On the green bands the type inverts; the frame's hairline lightens with it. */
.is-style-fcx-band-deep .fcx-person__media::after,
.is-style-fcx-band-mid .fcx-person__media::after {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.is-style-fcx-band-deep .fcx-person__role,
.is-style-fcx-band-mid .fcx-person__role { color: var(--fcx-lime); }

.is-style-fcx-band-deep .fcx-person__bio,
.is-style-fcx-band-mid .fcx-person__bio { color: var(--fcx-on-dark-body); }

.is-style-fcx-band-deep .fcx-people__empty,
.is-style-fcx-band-mid .fcx-people__empty {
	border-color: var(--fcx-rule-dark);
	color: var(--fcx-on-dark-body);
}

@media (max-width: 900px) {
	.fcx-people--cols-3,
	.fcx-people--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.fcx-people { grid-template-columns: minmax(0, 1fr) !important; }
}

/* --- Read biography ------------------------------------------------------ */

.fcx-person__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.7rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fcx-green-600);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--fcx-duration) var(--fcx-ease);
}

/*
 * The button is the accessible control, but the whole card is the target: a
 * portrait is a much easier thing to hit than five words of small caps.
 */
.fcx-person__more::after {
	position: absolute;
	inset: 0;
	border-radius: var(--fcx-r-md);
	content: "";
}

.fcx-person.is-interactive { cursor: pointer; }
.fcx-person.is-interactive:hover .fcx-person__more { color: var(--fcx-green-500); }
.fcx-person__more .fcx-icon { transition: transform var(--fcx-duration) var(--fcx-ease); }
.fcx-person.is-interactive:hover .fcx-person__more .fcx-icon { transform: translate(2px, -2px); }

/* The focus ring belongs on the card, since the card is what responds. */
.fcx-person__more:focus-visible { outline: none; }

.fcx-person:has(.fcx-person__more:focus-visible) {
	outline: 2px solid var(--fcx-green-500);
	outline-offset: 6px;
	border-radius: var(--fcx-r-md);
}

/* --- The biography dialog ------------------------------------------------ */

.fcx-person__dialog {
	width: min(1060px, calc(100vw - 2rem));
	max-width: none;
	max-height: calc(100vh - 2rem);
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: var(--fcx-r-lg);
	background: transparent;
}

.fcx-person__dialog::backdrop {
	background: rgba(5, 23, 12, 0.62);
	backdrop-filter: blur(3px);
}

.fcx-person__sheet {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
	overflow: hidden;
	max-height: calc(100vh - 2rem);
	border-radius: inherit;
	background: var(--fcx-white);
	box-shadow: 0 40px 90px -40px rgba(5, 23, 12, 0.7);
}

.fcx-person__sheet:focus { outline: none; }

.fcx-person__portrait {
	position: relative;
	overflow: hidden;
	background: var(--fcx-cream);
}

.fcx-person__portrait-img,
.fcx-person__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.fcx-person__detail {
	overflow-y: auto;
	padding: clamp(1.75rem, 3.4vw, 3rem);
}

/* The role, ruled underneath the way the section eyebrows are. */
.fcx-person__eyebrow {
	display: inline-block;
	margin: 0 0 1.1rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid var(--fcx-green-500);
	color: var(--fcx-green-600);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.fcx-person__title {
	margin: 0 0 1.5rem;
	font-family: var(--fcx-font-display);
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.12;
}

/* The biography sits in a quiet panel, marked with the brand green. */
.fcx-person__story .fcx-person__bio {
	padding: clamp(1rem, 2vw, 1.4rem) clamp(1.1rem, 2.2vw, 1.6rem);
	border-left: 3px solid var(--fcx-green-500);
	border-radius: 0 var(--fcx-r-sm) var(--fcx-r-sm) 0;
	background: rgba(21, 126, 63, 0.07);
}

.fcx-person__story .fcx-person__bio > p {
	margin: 0 0 0.9rem;
	color: var(--fcx-ink);
	font-size: var(--fcx-text-base);
	font-style: italic;
	line-height: 1.7;
}

.fcx-person__story .fcx-person__bio > p:last-child { margin-bottom: 0; }

.fcx-person__close {
	position: absolute;
	top: clamp(0.75rem, 1.6vw, 1.15rem);
	right: clamp(0.75rem, 1.6vw, 1.15rem);
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--fcx-rule);
	border-radius: 50%;
	background: var(--fcx-white);
	color: var(--fcx-ink);
	/* Stacked, this sits over the photograph: the shadow keeps its edge. */
	box-shadow: 0 2px 10px -2px rgba(5, 23, 12, 0.35);
	cursor: pointer;
	transition:
		background var(--fcx-duration) var(--fcx-ease),
		color var(--fcx-duration) var(--fcx-ease),
		border-color var(--fcx-duration) var(--fcx-ease);
}

.fcx-person__close:hover {
	border-color: var(--fcx-green-500);
	background: var(--fcx-green-500);
	color: var(--fcx-white);
}

@media (max-width: 780px) {
	.fcx-person__sheet { grid-template-columns: minmax(0, 1fr); }
	/* Stacked, the portrait becomes a header band rather than a full page. */
	.fcx-person__portrait { aspect-ratio: 4 / 3; }
}

/*
 * The sheet scrolls, so the dialog must never be taller than the viewport, and
 * the page behind it must not scroll while it is open.
 */
@media (max-width: 480px) {
	.fcx-person__dialog { width: calc(100vw - 1rem); }
}

/* ---------------------------------------------------------------------------
 * What kind of office each one is
 *
 * The Commission's network is four different things — a head office, a college,
 * provincial offices and research stations — and two provinces hold more than
 * one kind. Region alone cannot tell them apart, so the card says which, and
 * the map marker takes its colour from the same fact.
 * ------------------------------------------------------------------------ */

.fcx-branch__type {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.55rem;
	border-radius: 50px;
	background: rgba(21, 126, 63, 0.09);
	color: var(--fcx-green-600);
	font-family: var(--fcx-font-sans);
	font-size: var(--fcx-text-micro);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* A dot in the marker's colour, so the badge and the pin read as one thing. */
.fcx-branch__type::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.fcx-branch__type--head_office { color: var(--fcx-green-700); }
.fcx-branch__type--forestry_college { color: #7a5300; background: rgba(122, 83, 0, 0.09); }
.fcx-branch__type--research_station { color: #1f5f7a; background: rgba(31, 95, 122, 0.09); }

.fcx-marker--head_office .fcx-marker__dot { background: var(--fcx-green-700); }
.fcx-marker--forestry_college .fcx-marker__dot { background: #7a5300; }
.fcx-marker--research_station .fcx-marker__dot { background: #1f5f7a; }
