:root {
	--lcfc-bg: #F4F5F3;
	--lcfc-surface: #FFFFFF;
	--lcfc-ink: #16191A;
	--lcfc-muted: #5A646A;
	--lcfc-accent: #E1541F;
	--lcfc-support: #2C3A40;
	--lcfc-line: #DCDFDB;
	--lcfc-radius: 6px;
	--lcfc-radius-sm: 4px;
}

/* ---------- Project photo gallery ---------- */

.lcfc-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
}

.lcfc-gallery__item {
	margin: 0;
	min-width: 0;
}

/* Every fifth photo takes two columns, so the run reads as a job record
   rather than a tidy catalogue grid. */
.lcfc-gallery__item--wide {
	grid-column: span 2;
}

.lcfc-gallery__link {
	display: block;
	border-radius: var(--lcfc-radius);
	overflow: hidden;
	background: var(--lcfc-line);
}

.lcfc-gallery__link img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lcfc-radius);
}

.lcfc-gallery__item--wide .lcfc-gallery__link img {
	aspect-ratio: 8 / 3;
}

.lcfc-gallery__caption {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--lcfc-muted);
}

.lcfc-gallery__count {
	margin: 0 0 16px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lcfc-muted);
}

@media (max-width: 1024px) {
	.lcfc-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.lcfc-gallery {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.lcfc-gallery__item--wide {
		grid-column: span 1;
	}

	.lcfc-gallery__item--wide .lcfc-gallery__link img {
		aspect-ratio: 4 / 3;
	}
}

/* ---------- Filter chips ---------- */

.lcfc-filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lcfc-filters__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.lcfc-filters__label {
	margin: 0 6px 0 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lcfc-muted);
}

.lcfc-chip {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--lcfc-line);
	border-radius: var(--lcfc-radius-sm);
	font-size: 15px;
	line-height: 1.3;
	color: var(--lcfc-ink);
	text-decoration: none;
	background: var(--lcfc-surface);
}

.lcfc-chip:hover,
.lcfc-chip:focus-visible {
	border-color: var(--lcfc-support);
	color: var(--lcfc-ink);
}

.lcfc-chip--current {
	border-color: var(--lcfc-accent);
	color: var(--lcfc-accent);
}

.lcfc-chip__count {
	color: var(--lcfc-muted);
	font-size: 13px;
}

/* ---------- Project card (loop item) ---------- */

.lcfc-card-link {
	text-decoration: none;
}

.lcfc-card__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lcfc-radius);
}

.lcfc-card:hover .lcfc-card__img img {
	opacity: 0.92;
}

.lcfc-hero__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lcfc-radius);
}

@media (max-width: 767px) {
	.lcfc-hero__img img {
		aspect-ratio: 3 / 2;
	}
}

/* Keep the story column near a 65-character measure. */
.lcfc-measure {
	max-width: 68ch;
}

.lcfc-meta-line {
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lcfc-muted);
}

.lcfc-meta-line a {
	color: inherit;
	text-decoration: none;
}
