/* =========================================================================
   Boyle Built — Projects archive (Phase I7)

   Page-specific components only. The hero reuses .internal-hero's
   'standard' variant with 'lead_text' (Phase I6 widening); nothing here
   touches the Homepage's carousel styles (assets/css/projects.css is a
   SEPARATE, unrelated file for that carousel — this file is named
   "projects-archive.css" specifically to avoid any confusion/collision).
   ========================================================================= */

/* -------------------------------------------------------------------------
   Filters + Sort
   ------------------------------------------------------------------------- */

.projects-browse {
	background-color: var(--color-bg);
}

.projects-browse__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: var(--space-section-v) var(--space-section-h);
}

.projects-browse__filter-row {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.project-filters {
	display: flex;
	flex-wrap: wrap;
	column-gap: 24px;
	row-gap: 10px;
}

.project-filters__tab {
	position: relative;
	padding-bottom: 6px;
	color: var(--color-ink);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
}

.project-filters__tab:hover {
	color: var(--color-primary-green);
}

.project-filters__tab:focus-visible {
	outline: 2px solid var(--color-primary-green);
	outline-offset: 2px;
}

.project-filters__tab.is-active {
	color: var(--color-gold);
}

.project-filters__tab.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 20px;
	height: 2px;
	background-color: var(--color-gold);
}

.project-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 8px 14px;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius-card);
	background-color: var(--color-bg);
}

.project-sort__label {
	color: var(--color-ink);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	white-space: nowrap;
}

.project-sort__select {
	border: none;
	background: none;
	color: var(--color-ink);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
}

.project-sort__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 2px;
	cursor: pointer;
}

.project-sort__submit img {
	width: 12px;
	height: 12px;
}

.projects-browse__heading {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 26px;
}

.projects-browse__empty {
	color: var(--color-body-muted);
	font-family: var(--font-body);
	font-size: 14px;
}

/* -------------------------------------------------------------------------
   Featured Project
   ------------------------------------------------------------------------- */

.featured-project {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-card);
	overflow: hidden;
}

.featured-project__panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px;
	background-color: #101010;
	color: var(--color-text-light);
}

.featured-project__eyebrow {
	margin: 0;
	color: var(--color-gold);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
}

.featured-project__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
}

.featured-project__location {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--color-text-muted-lt1);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
}

.featured-project__location img {
	width: 14px;
	height: 14px;
}

.featured-project__summary {
	margin: 0;
	color: var(--color-text-muted-lt2);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.6;
}

.featured-project__cta {
	align-self: flex-start;
	margin-top: 8px;
}

.featured-project__media {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.featured-project__exterior img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.featured-project__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
}

.featured-project__gallery-item img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
   Project Grid / Project Card
   ------------------------------------------------------------------------- */

.project-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-card-gap);
}

.project-card-archive {
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg);
	border-radius: var(--radius-card);
	overflow: visible;
}

.project-card-archive__media {
	position: relative;
}

.project-card-archive__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-card);
}

.project-card-archive__badge {
	position: absolute;
	left: 16px;
	bottom: -18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-primary-green);
	border: 3px solid var(--color-bg);
}

.project-card-archive__badge img {
	width: 18px;
	height: 18px;
}

.project-card-archive__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 28px 4px 4px;
}

.project-card-archive__title {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 19px;
}

.project-card-archive__location {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--color-body-muted);
	font-family: var(--font-body);
	font-size: 13px;
}

.project-card-archive__location img {
	width: 13px;
	height: 13px;
}

/* -------------------------------------------------------------------------
   Project Feature Strip
   ------------------------------------------------------------------------- */

.project-feature-strip {
	background-color: #101010;
	color: var(--color-text-light);
}

.project-feature-strip__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: var(--space-section-v) var(--space-section-h);
}

.project-feature-strip__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.project-feature-strip__eyebrow {
	margin: 0;
	color: var(--color-gold);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
}

.project-feature-strip__heading {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 26px;
}

.project-feature-strip__text {
	margin: 0;
	color: var(--color-text-muted-lt1);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.6;
	max-width: 360px;
}

.project-feature-strip__actions {
	margin-top: 8px;
}

.project-feature-strip__features {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.project-feature-strip__feature {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.project-feature-strip__feature-icon {
	width: 28px;
	height: 28px;
}

.project-feature-strip__feature-title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
}

.project-feature-strip__feature-description {
	margin: 0;
	color: var(--color-text-muted-lt2);
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	max-width: 220px;
}

.project-feature-strip__image-wrapper {
	width: 100%;
}

.project-feature-strip__image {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: var(--radius-card);
}

/* -------------------------------------------------------------------------
   Tablet (601–1024px)
   ------------------------------------------------------------------------- */

@media (min-width: 601px) {
	.projects-browse__filter-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.featured-project {
		flex-direction: row;
	}

	.featured-project__panel {
		flex: 0 0 34%;
		justify-content: center;
	}

	.featured-project__media {
		flex: 1;
	}

	.featured-project__exterior img {
		height: 240px;
	}

	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-feature-strip__inner {
		flex-direction: row;
		align-items: center;
	}

	.project-feature-strip__content {
		flex: 1;
	}

	.project-feature-strip__features {
		flex-direction: row;
		flex: 1;
		gap: 24px;
	}

	.project-feature-strip__image-wrapper {
		flex: 0 0 200px;
	}

	.project-feature-strip__image {
		height: 100%;
		min-height: 220px;
	}
}

/* -------------------------------------------------------------------------
   Desktop (1025px+)
   ------------------------------------------------------------------------- */

@media (min-width: 1025px) {
	.project-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.featured-project__panel {
		flex: 0 0 28%;
		padding: 40px 32px;
	}

	.featured-project__exterior img {
		height: 260px;
	}

	.featured-project__gallery-item img {
		height: 128px;
	}
}
