/**
 * Single project template.
 *
 * Matches the design system used across the rest of the site:
 *   dark band   #2d3133
 *   accent      #bb001d on light, #f21d30 on dark
 *   cream       #f7f9fb
 *   border      #e6e8ea
 *   headings    Plus Jakarta Sans, body Inter
 *
 * Uses the same --fw-shell / --fw-gutter variables as the header and footer so
 * the page lines up with them.
 */

.fw-single {
	font-family: var(--fw-font);
	color: #3f4650;
}

.fw-single__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--fw-shell);
	margin: 0 auto;
	padding-left: var(--fw-gutter);
	padding-right: var(--fw-gutter);
}

.fw-single__heading {
	margin: 0 0 24px;
	color: #191c1e;
	font-family: var(--fw-font);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

/* -------------------------------------------------------------------- hero */

.fw-single__hero {
	background: #2d3133;
	padding: 56px 0 64px;
}

.fw-single__crumb {
	margin-bottom: 28px;
	font-family: Inter, sans-serif;
	font-size: 12px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #9aa1a7;
}

.fw-single__crumb a {
	color: #9aa1a7;
	text-decoration: none;
}

.fw-single__crumb a:hover {
	color: #fff;
}

.fw-single__crumb span[aria-hidden] {
	margin: 0 8px;
	color: #5c6369;
}

.fw-single__crumb-current {
	color: #e6e8ea;
}

.fw-single__eyebrow {
	margin: 0 0 14px;
	color: #f21d30;
	font-family: var(--fw-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.fw-single__title {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--fw-font);
	font-size: clamp(30px, 4.2vw, 52px);
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.12;
}

.fw-single__lede {
	max-width: 780px;
	margin: 0;
	color: #cfd3d6;
	font-family: Inter, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
}

/* ------------------------------------------------------------------- cover */

.fw-single__cover {
	background: #2d3133;
	line-height: 0;
}

.fw-single__cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 72vh;
	object-fit: cover;
}

/* ----------------------------------------------------------------- details */

.fw-single__details {
	background: #fff;
	padding: 64px 0;
}

.fw-single__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	background: #e6e8ea;
	border: 1px solid #e6e8ea;
	border-radius: 8px;
	overflow: hidden;
}

.fw-single__meta-item {
	margin: 0;
	padding: 20px 22px;
	background: #fff;
}

.fw-single__meta dt {
	margin: 0 0 6px;
	color: #7a828a;
	font-family: var(--fw-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.fw-single__meta dd {
	margin: 0;
	color: #191c1e;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

/* ------------------------------------------------------------------- story */

.fw-single__story {
	background: #f7f9fb;
	padding: 80px 0;
}

.fw-single__split {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.fw-single__prose {
	color: #3f4650;
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.fw-single__prose > *:first-child {
	margin-top: 0;
}

.fw-single__prose h1,
.fw-single__prose h2,
.fw-single__prose h3,
.fw-single__prose h4 {
	margin: 32px 0 12px;
	color: #191c1e;
	font-family: var(--fw-font);
	font-weight: 700;
	letter-spacing: -0.3px;
	line-height: 1.3;
}

.fw-single__prose h2 { font-size: 24px; }
.fw-single__prose h3 { font-size: 19px; }
.fw-single__prose h4 { font-size: 16px; }

.fw-single__prose p {
	margin: 0 0 18px;
}

.fw-single__prose ul,
.fw-single__prose ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.fw-single__prose li {
	margin-bottom: 8px;
}

.fw-single__prose a {
	color: #bb001d;
	text-decoration: underline;
}

.fw-single__prose strong {
	color: #191c1e;
	font-weight: 700;
}

.fw-single__prose code {
	background: #eceef0;
	border-radius: 3px;
	color: #191c1e;
	font-size: 14px;
	padding: 2px 6px;
}

.fw-single__prose blockquote {
	margin: 0 0 18px;
	padding: 4px 0 4px 20px;
	border-left: 3px solid #bb001d;
	color: #565e74;
	font-style: italic;
}

.fw-single__prose blockquote p {
	margin: 0;
}

.fw-single__prose hr {
	margin: 32px 0;
	border: 0;
	border-top: 1px solid #e6e8ea;
}

/* ------------------------------------------------------------------- aside */

.fw-single__aside {
	background: #fff;
	border: 1px solid #e6e8ea;
	border-radius: 8px;
	padding: 28px;
}

.fw-single__aside-title {
	margin: 0 0 16px;
	color: #191c1e;
	font-family: var(--fw-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.fw-single__specs {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.fw-single__specs li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 5px 0;
	color: #3f4650;
	font-family: Inter, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

.fw-single__aside-cta {
	display: block;
	text-align: center;
}

/* ----------------------------------------------------------------- gallery */

.fw-single__gallery {
	background: #fff;
	padding: 80px 0;
}

.fw-single__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.fw-single__figure {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #eceef0;
	aspect-ratio: 4 / 3;
}

.fw-single__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.fw-single__figure:hover img {
	transform: scale(1.04);
}

/* ------------------------------------------------------------------ videos */

.fw-single__videos {
	background: #f7f9fb;
	padding: 80px 0;
}

.fw-single__video-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.fw-single__video {
	position: relative;
	background: #191c1e;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.fw-single__video iframe,
.fw-single__video embed,
.fw-single__video object,
.fw-single__video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.fw-single__video-fallback {
	margin: 0;
	padding: 24px;
	color: #e6e8ea;
	font-family: Inter, sans-serif;
	font-size: 14px;
	word-break: break-all;
}

.fw-single__video-fallback a {
	color: #fff;
}

/* ------------------------------------------------------------------- pager */

.fw-single__pager {
	background: #fff;
	border-top: 1px solid #e6e8ea;
	padding: 28px 0;
}

.fw-single__pager-inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.fw-single__pager-link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 46%;
	text-decoration: none;
}

.fw-single__pager-link--next {
	margin-left: auto;
	text-align: right;
}

.fw-single__pager-label {
	color: #7a828a;
	font-family: var(--fw-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.fw-single__pager-title {
	color: #191c1e;
	font-family: var(--fw-font);
	font-size: 16px;
	font-weight: 600;
}

.fw-single__pager-link:hover .fw-single__pager-title {
	color: #bb001d;
}

/* --------------------------------------------------------------------- cta */

.fw-single__cta {
	background: #2d3133;
	padding: 72px 0;
	text-align: center;
}

.fw-single__cta-title {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--fw-font);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -0.6px;
}

.fw-single__cta-text {
	max-width: 640px;
	margin: 0 auto 26px;
	color: #cfd3d6;
	font-family: Inter, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

.fw-single__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.fw-btn--ghost {
	background: transparent;
	border: 1px solid #5c6369;
	color: #e6e8ea;
}

.fw-btn--ghost:hover,
.fw-btn--ghost:focus-visible {
	background: #3b4145;
	border-color: #7a828a;
	color: #fff;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 980px) {
	.fw-single__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fw-single__split {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.fw-single__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fw-single__video-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.fw-single__hero {
		padding: 36px 0 44px;
	}

	.fw-single__details,
	.fw-single__gallery,
	.fw-single__videos,
	.fw-single__story {
		padding: 48px 0;
	}

	.fw-single__meta,
	.fw-single__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.fw-single__pager-inner {
		flex-direction: column;
	}

	.fw-single__pager-link,
	.fw-single__pager-link--next {
		max-width: 100%;
		margin-left: 0;
		text-align: left;
	}
}


