/*
 * Lincoln FC theme styles. Loaded on the front end and in the block editor.
 * Motion lives at the bottom, behind .lfc-js and prefers-reduced-motion.
 */

/* ---------- Tokens ---------- */
:root {
	--lfc-red: var(--wp--preset--color--red);
	--lfc-red-dark: var(--wp--preset--color--red-dark);
	--lfc-ink: var(--wp--preset--color--ink);
	--lfc-cream: var(--wp--preset--color--cream);
	--lfc-white: var(--wp--preset--color--white);
	--lfc-gold: var(--wp--preset--color--gold);
	--lfc-gold-dark: var(--wp--preset--color--gold-dark);
	--lfc-grey: var(--wp--preset--color--grey);
	--lfc-line: var(--wp--preset--color--line);
	--lfc-line-soft: var(--wp--preset--color--line-soft);
	--lfc-lime: var(--wp--preset--color--lime);
	--lfc-body: var(--wp--preset--font-family--body);
	--lfc-display: var(--wp--preset--font-family--display);
	--lfc-extend: var(--wp--preset--font-family--extend);
	--lfc-mono: var(--wp--preset--font-family--mono);
	--lfc-gutter: clamp(16px, 4.5vw, 64px);
	--lfc-header-h: 104px;
	--lfc-ease: cubic-bezier(.2, .7, .2, 1);
	--lfc-content: 1312px;
}

@media (max-width: 781px) {
	:root {
		--lfc-header-h: 76px;
	}
}

.editor-styles-wrapper {
	--lfc-header-h: 0px;
}

/* ---------- Base ---------- */
body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	overflow-x: clip;
}

body .wp-site-blocks > *,
body .lfc-page > *,
.editor-styles-wrapper .is-root-container > .alignfull {
	margin-block: 0;
}

[id] {
	scroll-margin-top: calc(var(--lfc-header-h) + 8px);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--lfc-red);
	outline-offset: 3px;
}

.lfc-dark a:focus-visible,
.lfc-dark button:focus-visible,
.lfc-dark input:focus-visible {
	outline-color: var(--lfc-lime);
}

.lfc-dark a:not(.wp-block-button__link) {
	color: var(--lfc-cream);
}

.lfc-dark a:not(.wp-block-button__link):hover {
	color: var(--lfc-lime);
}

p {
	margin: 0;
}

/* Custom-layout containers: their own gaps, not WordPress block margins. */
body .lfc-hero > *,
body .lfc-hero__stage > *,
body .lfc-hero__intro > *,
body .lfc-reg-item > *,
body .lfc-card > *,
body .lfc-card__more > *,
body .lfc-details > *,
body .lfc-placement__meta > *,
body .lfc-kits > *,
body .lfc-kits__titles > *,
body .lfc-kit > *,
body .lfc-families__aid > *,
body .lfc-volunteer > *,
body .lfc-volunteer__body > *,
body .lfc-about > *,
body .lfc-about__main > *,
body .lfc-about__body > *,
body .lfc-staff-wrap > *,
body .lfc-staff-card > *,
body .lfc-hillside__copy > *,
body .lfc-rent > *,
body .lfc-rent__body > *,
body .lfc-footer__cols > *,
body .lfc-footer__col > *,
body .lfc-footer__legal > *,
body .lfc-band > *,
body .lfc-header > *,
body .lfc-header__nav > * {
	margin-block: 0;
}

/* ---------- Type helpers ---------- */
.lfc-label {
	font-family: var(--lfc-mono);
	font-size: 13px;
	letter-spacing: .01em;
	color: var(--lfc-red);
}

.lfc-label.is-muted {
	color: var(--lfc-grey);
}

.lfc-meta {
	font-family: var(--lfc-mono);
	font-size: 13px;
	color: var(--lfc-grey);
}

.lfc-small {
	font-size: 15px;
	line-height: 1.55;
}

.lfc-lede {
	font-size: 17px;
	line-height: 1.6;
}

.wp-block-heading.lfc-card-title {
	margin: 0;
	font-family: var(--lfc-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 35px;
	line-height: 1.05;
	color: var(--lfc-gold-dark);
}

/* Outlined section headings (block style on core/heading). */
.wp-block-heading.is-style-outlined {
	margin: 0;
	font-family: var(--lfc-extend);
	font-stretch: 125%;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -.03em;
	font-size: clamp(40px, 6.2vw, 90px);
	line-height: .85;
	white-space: nowrap;
	color: var(--lfc-red);
	caret-color: var(--lfc-red);
}

@supports (-webkit-text-stroke: 1px black) {
	.wp-block-heading.is-style-outlined {
		color: transparent;
		-webkit-text-stroke: 2.25px var(--lfc-red);
	}
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
	text-decoration: none;
	text-align: center;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

body .wp-block-buttons {
	gap: 12px;
}

/* Outline: 1.5px ink border. */
body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	padding: 0 26px;
	border: 1.5px solid var(--lfc-ink);
	background: transparent;
	color: var(--lfc-ink);
}

body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
	background: var(--lfc-ink);
	color: var(--lfc-white);
}

/* Cream: for dark bands. */
.is-style-cream > .wp-block-button__link {
	background: var(--lfc-cream);
	color: var(--lfc-ink);
}

.is-style-cream > .wp-block-button__link:hover {
	background: var(--lfc-white);
	color: var(--lfc-red-dark);
}

/* Mono: hero pair. */
.is-style-mono > .wp-block-button__link,
.is-style-mono-outline > .wp-block-button__link {
	padding: 0 26px;
	font-family: var(--lfc-mono);
	font-weight: 600;
	font-size: 16px;
	text-transform: uppercase;
}

.is-style-mono > .wp-block-button__link {
	background: var(--lfc-red);
	color: var(--lfc-cream);
	letter-spacing: .1em;
}

.is-style-mono > .wp-block-button__link:hover {
	background: var(--lfc-red-dark);
	color: var(--lfc-white);
}

.is-style-mono-outline > .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--lfc-gold-dark);
	color: var(--lfc-gold-dark);
	letter-spacing: .06em;
}

.is-style-mono-outline > .wp-block-button__link:hover {
	background: var(--lfc-gold);
	border-color: var(--lfc-gold);
	color: var(--lfc-ink);
}

/* Nav Register. */
.is-style-nav-register > .wp-block-button__link {
	padding: 0 22px;
	background: var(--lfc-gold);
	color: var(--lfc-ink);
	font-family: var(--lfc-mono);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.is-style-nav-register > .wp-block-button__link:hover {
	background: var(--lfc-red);
	color: var(--lfc-white);
}

/* Club chip. */
body .lfc-clubs {
	gap: 8px;
}

.is-style-chip > .wp-block-button__link {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--lfc-line-soft);
	background: transparent;
	color: var(--lfc-ink);
	font-size: 15px;
	font-weight: 500;
}

.is-style-chip > .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--lfc-red);
	color: var(--lfc-red);
}

/* Text link (a button that reads like a link). */
.is-style-text-link > .wp-block-button__link {
	display: inline;
	min-height: 0;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--lfc-red);
	font: inherit;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: .15em;
}

.is-style-text-link > .wp-block-button__link:hover {
	background: none;
	color: var(--lfc-red-dark);
}

.lfc-dark .is-style-text-link > .wp-block-button__link {
	color: var(--lfc-cream);
}

.lfc-dark .is-style-text-link > .wp-block-button__link:hover {
	color: var(--lfc-lime);
}

/* Whole-card link: the link text is the item title; ::after covers the card. */
.is-style-card-link > .wp-block-button__link {
	display: inline;
	min-height: 0;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--lfc-ink);
	font-family: var(--lfc-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.is-style-card-link > .wp-block-button__link:hover {
	background: none;
	color: var(--lfc-red-dark);
}

.is-style-card-link > .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.is-style-card-link > .wp-block-button__link:focus-visible {
	outline: none;
}

.editor-styles-wrapper .is-style-card-link > .wp-block-button__link::after {
	content: none;
}

/* ---------- Header ---------- */
.lfc-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--lfc-white);
}

.admin-bar .lfc-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .lfc-site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .lfc-site-header {
		top: 0;
	}
}

.lfc-header {
	box-sizing: border-box;
	min-height: var(--lfc-header-h);
	padding: 16px var(--lfc-gutter);
	gap: 16px 32px;
	background: var(--lfc-white);
}

.lfc-logo img,
.lfc-logo .custom-logo {
	display: block;
	width: auto;
	height: 54px;
}

body .lfc-header__nav {
	gap: 8px 28px;
}

.lfc-nav .wp-block-navigation__container {
	gap: 8px 28px;
}

.lfc-nav .wp-block-navigation-item__content {
	padding: 12px 2px;
	color: var(--lfc-gold-dark);
	font-family: var(--lfc-mono);
	font-weight: 500;
	font-size: 16px;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 6px;
	transition: color .18s ease, text-decoration-color .18s ease;
}

.lfc-nav .wp-block-navigation-item__content:hover,
.lfc-nav .wp-block-navigation-item__content:focus-visible {
	color: var(--lfc-red);
	text-decoration-color: currentColor;
}

/* Menu toggle and close: 44px targets. */
.lfc-nav .wp-block-navigation__responsive-container-open,
.lfc-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--lfc-ink);
}

.lfc-nav .wp-block-navigation__responsive-container-open svg,
.lfc-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

/* Overlay: cream, large mono links. */
.lfc-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	padding: 16px var(--lfc-gutter) 32px;
	background: var(--lfc-cream);
}

.lfc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 16px;
	right: var(--lfc-gutter);
}

.lfc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px;
	align-items: flex-start;
}

.lfc-nav .is-menu-open .wp-block-navigation__container,
.lfc-nav .is-menu-open .wp-block-navigation-item {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	gap: 4px;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
}

.lfc-nav .is-menu-open .wp-block-navigation-item__content {
	padding: 10px 0;
	color: var(--lfc-ink);
	font-size: clamp(26px, 7vw, 34px);
	font-weight: 500;
	letter-spacing: .08em;
}

/* Overlay from 782px down (core switches at 600px). */
@media (min-width: 600px) and (max-width: 781px) {
	.lfc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-flex;
	}

	.lfc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 781px) {
	.lfc-header {
		padding-block: 12px;
		gap: 12px;
	}

	.lfc-logo img,
	.lfc-logo .custom-logo {
		height: 46px;
	}

	body .lfc-header__nav {
		gap: 8px;
	}

	.lfc-header__cta {
		order: -1;
	}

	.is-style-nav-register > .wp-block-button__link {
		min-height: 44px;
		padding: 0 14px;
		font-size: 14px;
		letter-spacing: .1em;
	}
}

@media (max-width: 359px) {
	.lfc-logo img,
	.lfc-logo .custom-logo {
		height: 40px;
	}
}

/* ---------- Sections ---------- */
.lfc-section {
	box-sizing: border-box;
	padding-inline: var(--lfc-gutter);
}

body .lfc-section > * + * {
	margin-block-start: 36px;
}

/* ---------- Hero ---------- */
.lfc-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	min-height: max(calc(57.5vw - var(--lfc-header-h)), calc(600px - var(--lfc-header-h)));
	padding-bottom: 56px;
	background: var(--lfc-white);
	color: var(--lfc-ink);
	overflow-x: clip;
}

.lfc-hero__stage {
	position: absolute;
	top: calc(-1 * var(--lfc-header-h));
	left: 0;
	right: 0;
	container-type: inline-size;
	pointer-events: none;
}

.lfc-hero__img,
.lfc-hero__img img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.lfc-hero__type {
	position: absolute;
	top: 29.1%;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	white-space: nowrap;
	font-family: var(--lfc-extend);
	font-stretch: 125%;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -.02em;
	font-size: 9.8cqi;
	line-height: .92;
	color: var(--lfc-red);
}

@supports (-webkit-text-stroke: 1px black) {
	.lfc-hero__type {
		color: transparent;
		-webkit-text-stroke: clamp(1.25px, .18vw, 2.75px) var(--lfc-red);
	}
}

.lfc-hero__intro {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 25px;
	width: 100%;
	max-width: calc(var(--lfc-content) + 2 * var(--lfc-gutter));
	margin-inline: auto;
	padding-inline: var(--lfc-gutter);
}

.wp-block-heading.lfc-hero__title {
	margin: 0;
	max-width: 22ch;
	font-size: clamp(30px, 2.8vw, 40px);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--lfc-ink);
}

/* Phones: bigger art (cropped at the sides), no gap, stacked buttons. */
@media (max-width: 781px) {
	.lfc-hero {
		display: block;
		min-height: 0;
		padding-bottom: 48px;
	}

	body .lfc-hero > .lfc-hero__stage {
		position: relative;
		top: auto;
		width: 128vw;
		margin: -13vw 0 -15vw -14vw;
	}

	/* Sized to the screen, not the (wider) art, so both lines fit. */
	.lfc-hero__type {
		font-size: 10.2vw;
	}

	@supports (-webkit-text-stroke: 1px black) {
		.lfc-hero__type {
			-webkit-text-stroke-width: 2px;
		}
	}

}

@media (max-width: 600px) {
	body .lfc-hero__buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.lfc-hero__buttons .wp-block-button,
	.lfc-hero__buttons .wp-block-button__link {
		width: 100%;
	}
}

.editor-styles-wrapper .lfc-hero__stage {
	top: 0;
}

/* The editor gives every block position:relative; keep the layered pieces layered. */
.editor-styles-wrapper .lfc-hero__stage > .lfc-hero__type,
.editor-styles-wrapper .lfc-about .lfc-about__wm {
	position: absolute;
}

@media (min-width: 782px) {
	.editor-styles-wrapper .lfc-hero > .lfc-hero__stage {
		position: absolute;
	}
}

/* ---------- Register ---------- */
.lfc-register {
	padding-block: clamp(56px, 5.6vw, 81px);
	background: linear-gradient(180deg, var(--lfc-white) 0%, var(--lfc-cream) 50%);
}

body .lfc-hrow {
	gap: 20px 97px;
}

.lfc-hrow__text {
	flex: 1 1 320px;
	max-width: 620px;
	line-height: 1.55;
}

.lfc-panel {
	box-sizing: border-box;
	padding: clamp(24px, 3vw, 40px);
	border-radius: 4px;
	background: var(--lfc-white);
}

.lfc-reg-items.lfc-reg-items {
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 0 32px;
}

.lfc-reg-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 0;
	border-top: 1px solid var(--lfc-line-soft);
}

.lfc-reg-item:has(.is-style-card-link a:focus-visible) {
	outline: 3px solid var(--lfc-red);
	outline-offset: 3px;
}

.lfc-reg-item:hover .is-style-card-link > .wp-block-button__link {
	color: var(--lfc-red-dark);
}

.lfc-reg-item__text {
	line-height: 1.5;
}

body .lfc-panel__foot {
	gap: 16px 32px;
	align-items: center;
}

/* ---------- Photo band ---------- */
.lfc-band .wp-block-image {
	margin: 0;
}

.lfc-band img {
	display: block;
	width: 100%;
	height: clamp(280px, 38vw, 560px);
	object-fit: cover;
	object-position: 50% 62%;
}

/* ---------- Programs ---------- */
.lfc-programs {
	padding-block: 88px 56px;
}

.lfc-cards.lfc-cards {
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 20px;
}

.lfc-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border-radius: 4px;
	background: var(--lfc-white);
	line-height: 1.6;
	transition: transform .18s ease, box-shadow .18s ease;
}

.lfc-card ul {
	margin: 0;
	padding-left: 20px;
}

.lfc-card__more {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--lfc-line-soft);
}

.lfc-inline.lfc-inline {
	display: block;
}

.lfc-inline > p {
	display: inline;
}

.lfc-inline > .wp-block-buttons {
	display: inline-flex;
	margin-left: .3em;
}

.lfc-details {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 8px 16px;
	padding-top: 12px;
	border-top: 1px solid var(--lfc-line-soft);
	font-size: 15px;
	line-height: 1.5;
}

/* Placement band. */
.lfc-placement.lfc-placement {
	box-sizing: border-box;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 20px 40px;
	align-items: center;
	padding: 32px;
	border-radius: 4px;
	background: var(--lfc-ink);
	color: var(--lfc-cream);
	line-height: 1.6;
}

.wp-block-heading.lfc-placement__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--lfc-cream);
}

.lfc-placement__meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lfc-mono-gold {
	font-family: var(--lfc-mono);
	font-size: 14px;
	line-height: 1.6;
	color: var(--lfc-gold);
}

/* Kits. */
body .lfc-section > .lfc-kits {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
}

body .lfc-kits__head {
	gap: 12px 32px;
}

.lfc-kits__titles {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lfc-kits__controls {
	display: flex;
	gap: 8px;
}

.lfc-kbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--lfc-ink);
	border-radius: 6px;
	background: transparent;
	color: var(--lfc-ink);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}

.lfc-kbtn:hover {
	background: var(--lfc-ink);
	color: var(--lfc-white);
}

.lfc-kbtn:disabled {
	opacity: .3;
	cursor: default;
	background: transparent;
	color: var(--lfc-ink);
}

body .lfc-kits__track {
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	padding: 4px 2px 14px;
	scrollbar-color: var(--lfc-gold) transparent;
}

.lfc-kit {
	box-sizing: border-box;
	display: flex;
	flex: 0 0 clamp(220px, 26vw, 300px);
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px 16px 16px;
	border-radius: 4px;
	background: var(--lfc-white);
	scroll-snap-align: start;
	transition: transform .18s ease, box-shadow .18s ease;
}

.lfc-kit .wp-block-image {
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.lfc-kit img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: contain;
	transition: transform .2s ease;
}

.lfc-kit__name {
	font-family: var(--lfc-mono);
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: center;
}

/* ---------- Families ---------- */
.lfc-families {
	padding-block: 32px 88px;
}

body .lfc-families__cols,
body .lfc-hillside__cols {
	gap: 40px 64px;
	align-items: flex-start;
	margin: 0;
}

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

.lfc-families__aid > .is-style-outlined {
	margin-bottom: 20px;
}

.lfc-families__aid .lfc-lede {
	max-width: 560px;
}

body .wp-block-quote.lfc-quote {
	max-width: 560px;
	margin: 16px 0 0;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--lfc-line);
}

body .wp-block-quote.lfc-quote + .lfc-quote {
	margin-top: 8px;
}

.lfc-quote p {
	margin: 0;
	font-family: var(--lfc-mono);
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.4;
	color: var(--lfc-red);
}

.lfc-quote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--lfc-mono);
	font-size: 13px;
	font-style: normal;
	color: var(--lfc-grey);
}

.lfc-volunteer {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 4px;
	background: var(--lfc-ink);
	color: var(--lfc-cream);
}

.lfc-volunteer__img {
	margin: 0;
}

.lfc-volunteer__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 55% 40%;
}

.lfc-volunteer__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(28px, 3vw, 40px);
}

.wp-block-heading.lfc-volunteer__title {
	margin: 0;
	font-size: clamp(28px, 2.6vw, 38px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--lfc-cream);
}

/* ---------- About ---------- */
.lfc-about {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	isolation: isolate;
	background: var(--lfc-cream);
}

.lfc-about__main {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	gap: 56px;
	min-width: 0;
	padding: 88px var(--lfc-gutter);
	container: lfc-about-main / inline-size;
}

.lfc-about__main > :not(.lfc-about__wm) {
	position: relative;
	z-index: 1;
}

.lfc-about .lfc-about__wm {
	position: absolute;
	z-index: 0;
	top: 40px;
	left: -6%;
	width: min(980px, 95vw);
	margin: 0;
	opacity: .1;
	pointer-events: none;
}

.lfc-about__wm img {
	display: block;
	width: 100%;
	height: auto;
}

body .lfc-about__intro {
	gap: 24px 40px;
}

.lfc-pull {
	flex: 0 1 285px;
	font-family: var(--lfc-mono);
	font-size: clamp(22px, 2.3vw, 33px);
	line-height: 1.3;
	color: var(--lfc-red);
}

.lfc-about__body {
	display: flex;
	flex: 2 1 380px;
	flex-direction: column;
	gap: 18px;
	font-size: 17px;
	line-height: 1.6;
}

.lfc-staff-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wp-block-heading.lfc-sub {
	margin: 0;
	font-family: var(--lfc-body);
	font-size: 17px;
	font-weight: 700;
	text-transform: none;
}

.lfc-staff.lfc-staff {
	grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
	gap: 20px 32px;
}

.lfc-staff-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--lfc-line);
	font-size: 15px;
}

.lfc-about .lfc-about__img {
	position: relative;
	z-index: 0;
	flex: 1 1 100%;
	margin: 0;
}

.lfc-about__img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	object-position: 30% 50%;
}

/* Side by side from 782px: image top = heading top; copy panel overlaps the image. */
@media (min-width: 782px) {
	.lfc-about__main {
		flex: 1 1 0;
	}

	.lfc-about .lfc-about__img {
		flex: 0 0 min(590px, 42%);
		margin-top: 88px;
	}

	.lfc-about__img img {
		height: 100%;
		min-height: 520px;
		max-height: none;
	}

	.lfc-about .lfc-about__body {
		position: relative;
		z-index: 2;
		/* Past the column's own padding, then ~7rem into the image. */
		margin-right: calc(-7rem - var(--lfc-gutter));
		padding: 0 2.5rem 2rem 0;
		background: var(--lfc-cream);
	}
}

/* Only when the quote and copy sit side by side: the panel rises 2rem so the first
   line of copy lines up with the top of the quote (and never covers it when wrapped). */
@container lfc-about-main (min-width: 706px) {
	.lfc-about .lfc-about__body {
		margin-top: -2rem;
		padding-top: 2rem;
	}
}

/* ---------- Hillside ---------- */
.lfc-hillside {
	padding-block: 88px;
	background: var(--lfc-white);
}

.lfc-hillside__copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lfc-kicker {
	margin-bottom: 14px;
	font-family: var(--lfc-mono);
	font-size: 15px;
	line-height: 1.4;
	color: var(--lfc-red);
}

body .lfc-hillside__copy > .lfc-kicker {
	margin-bottom: 14px;
}

.lfc-rent {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 4px;
	background: var(--lfc-cream);
}

.lfc-rent__img {
	margin: 0;
}

.lfc-rent__img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 50% 55%;
}

.lfc-rent__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	line-height: 1.6;
}

/* ---------- Footer ---------- */
.lfc-footer {
	box-sizing: border-box;
	padding: 56px var(--lfc-gutter) 32px;
	background: var(--lfc-ink);
	color: var(--lfc-cream);
}

.lfc-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 40px 48px;
}

.lfc-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.lfc-footer__col:first-child {
	gap: 16px;
}

.lfc-footer__logo {
	margin: 0;
}

.lfc-footer__logo img {
	display: block;
	width: auto;
	height: 60px;
}

.wp-block-heading.lfc-footer__h,
.lfc-footer__h {
	margin: 0 0 4px;
	font-family: var(--lfc-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--lfc-cream);
}

/* Social links (core Social Icons block, icon + label). */
body .lfc-footer ul.wp-block-social-links.lfc-social {
	gap: 0;
	margin: 0;
	padding: 0;
}

body .lfc-footer .lfc-social .wp-social-link {
	margin: 0;
	color: var(--lfc-cream);
	transition: color .15s ease;
}

body .lfc-footer .lfc-social .wp-social-link:hover {
	color: var(--lfc-lime);
	transform: none;
}

body .lfc-footer .lfc-social .wp-block-social-link-anchor {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	font-size: 16px;
}

body .lfc-footer .lfc-social .wp-block-social-link-anchor svg {
	width: 22px;
	height: 22px;
	flex: none;
}

body .lfc-footer .lfc-social .wp-block-social-link-label {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: .15em;
}

.lfc-footer__label {
	font-size: 14px;
	line-height: 1.5;
	color: var(--lfc-gold);
}

body .lfc-footer > .lfc-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #3A3B3E;
}

body .lfc-archive {
	gap: 0 .35em;
	font-size: 15px;
}

.lfc-legal {
	font-family: var(--lfc-mono);
	font-size: 13px;
	line-height: 1.6;
	color: var(--lfc-gold);
}

.lfc-editor-note {
	display: none;
}

.editor-styles-wrapper .lfc-editor-note {
	display: block;
	font-size: 13px;
	font-style: italic;
	color: var(--lfc-gold);
}

/* Signup form (rendered by PHP when Settings → Lincoln FC has a form address). */
.lfc-signup {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.lfc-signup__label {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--lfc-cream);
}

.lfc-signup__help {
	font-size: 14px;
	line-height: 1.5;
	color: var(--lfc-gold);
}

.lfc-signup__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lfc-signup input[type="email"] {
	box-sizing: border-box;
	flex: 1 1 180px;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: var(--lfc-cream);
	color: var(--lfc-ink);
	font: inherit;
	font-size: 16px;
}

.lfc-signup__button {
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 6px;
	background: var(--lfc-red);
	color: var(--lfc-white);
	font-family: var(--lfc-body);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .18s ease;
}

.lfc-signup__button:hover {
	background: var(--lfc-red-dark);
}

.lfc-signup__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Plain pages (404, other pages) ---------- */
.lfc-plain {
	padding: 64px var(--lfc-gutter) 88px;
}

/* ---------- Phones: readable sizes ---------- */
@media (max-width: 781px) {
	.lfc-card {
		padding: 24px;
	}

	.lfc-details,
	.lfc-staff-card,
	.lfc-small,
	.lfc-footer__label,
	.lfc-archive {
		font-size: 16px;
	}

	.wp-block-heading.is-style-outlined {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.lfc-hillside,
	.lfc-programs {
		padding-block: 64px 48px;
	}

	.lfc-about__main {
		padding-block: 64px 40px;
	}

	.lfc-footer__cols {
		grid-template-columns: 1fr;
	}
}

/* ---------- Hover (cards lift, kit images scale) ---------- */
@media (hover: hover) {
	.lfc-card:hover,
	.lfc-kit:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 24px -12px rgba(30, 31, 33, .25);
	}

	.lfc-kit:hover img {
		transform: scale(1.03);
	}
}

/* ---------- Motion (front end only, never in the editor) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.lfc-js .lfc-reveal,
	.lfc-js .lfc-stagger > * {
		opacity: 0;
		translate: 0 16px;
		transition:
			opacity .5s var(--lfc-ease) var(--lfc-delay, 0s),
			translate .5s var(--lfc-ease) var(--lfc-delay, 0s),
			transform .18s ease,
			box-shadow .18s ease;
	}

	.lfc-js .lfc-reveal.is-visible,
	.lfc-js .lfc-stagger.is-visible > * {
		opacity: 1;
		translate: none;
	}

	.lfc-js .lfc-stagger > :nth-child(2) { --lfc-delay: 60ms; }
	.lfc-js .lfc-stagger > :nth-child(3) { --lfc-delay: 120ms; }
	.lfc-js .lfc-stagger > :nth-child(n + 4) { --lfc-delay: 180ms; }

	.lfc-js .lfc-hero__img {
		animation: lfc-fade .7s var(--lfc-ease) both;
	}

	.lfc-js .lfc-hero__type {
		animation: lfc-settle .7s var(--lfc-ease) .1s both;
	}

	@keyframes lfc-fade {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	@keyframes lfc-settle {
		from { opacity: 0; transform: scale(1.02); }
		to { opacity: 1; transform: none; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.lfc-card,
	.lfc-kit,
	.lfc-kit img {
		transition: none;
	}

	.lfc-card:hover,
	.lfc-kit:hover,
	.lfc-kit:hover img {
		transform: none;
	}
}
