.t-archive-page {
	--t-archive-inline: clamp(20px, 5vw, 72px);
	--t-archive-max-width: 1200px;
	--t-archive-gap: clamp(32px, 5vw, 64px);

	color: var(--thinking-color-section-text-primary);
	background: var(--color-bg-page);
	font-family: var(--thinking-font-family-base);
}

.t-archive-hero {
	max-width: var(--t-archive-max-width);
	margin-inline: auto;
	padding: clamp(64px, 10vw, 128px) var(--t-archive-inline) clamp(40px, 6vw, 72px);
}

.t-archive-hero__inner {
	max-width: 760px;
	min-width: 0;
}

.t-archive-hero__eyebrow {
	margin-bottom: 0.85rem;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.t-archive-hero__title {
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h1-size);
	font-weight: var(--thinking-type-h1-weight);
	line-height: var(--thinking-line-height-h1);
	overflow-wrap: anywhere;
}

.t-archive-hero__lead {
	max-width: 58ch;
	margin: 1.25rem 0 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-large-size);
	font-weight: var(--thinking-type-body-large-weight);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-project-archive__groups {
	max-width: var(--t-archive-max-width);
	margin-inline: auto;
	padding: 0 var(--t-archive-inline) clamp(56px, 8vw, 104px);
}

.t-project-archive__filters {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 4vw, 48px);
	margin: 0 0 clamp(28px, 5vw, 52px);
	padding: 0 0 14px;
	border-bottom: 1px solid var(--color-border-soft);
}

.t-project-archive__filter {
	position: relative;
	padding: 0 0 10px;
	border: 0;
	background: transparent;
	color: var(--thinking-color-section-text-secondary);
	font: inherit;
	font-size: var(--thinking-type-h3-size);
	line-height: var(--thinking-line-height-h3);
	cursor: pointer;
	transition: color 0.2s ease;
}

.t-project-archive__filter::after {
	position: absolute;
	right: 0;
	bottom: -15px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	opacity: 0;
	transform: scaleX(0.4);
	transform-origin: left center;
	transition: opacity 0.2s ease, transform 0.24s ease;
}

.t-project-archive__filter:hover,
.t-project-archive__filter:focus-visible,
.t-project-archive__filter[aria-selected="true"] {
	color: var(--thinking-color-section-heading);
}

.t-project-archive__filter[aria-selected="true"]::after {
	opacity: 1;
	transform: scaleX(1);
}

.t-project-archive__filter:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.t-project-archive__groups.is-enhanced .t-project-group__title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.t-project-archive__groups.is-enhanced .t-project-group + .t-project-group {
	margin-top: 0;
}

.t-project-card[hidden],
.t-project-group[hidden] {
	display: none;
}

.t-project-archive__more {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	min-height: 3rem;
	margin: clamp(36px, 5vw, 56px) auto 0;
	padding: 0.7rem 1.8rem;
	border: 1px solid rgba(29, 29, 31, 0.28);
	border-radius: 0;
	background: transparent;
	color: var(--thinking-color-section-text-primary);
	font-size: var(--thinking-type-button-size);
	font-weight: var(--thinking-type-button-weight);
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.t-project-archive__more[hidden] {
	display: none;
}

.t-project-archive__more:hover,
.t-project-archive__more:focus-visible {
	border-color: var(--thinking-color-section-text-primary);
	background: var(--thinking-color-section-text-primary);
	color: var(--color-bg-page);
}

.t-project-archive__more:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.t-project-archive__empty-group {
	margin: 0;
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 1px solid var(--color-border-soft);
	border-bottom: 1px solid var(--color-border-soft);
	color: var(--thinking-color-section-text-secondary);
}

.t-project-group + .t-project-group {
	margin-top: clamp(56px, 8vw, 96px);
}

.t-project-group__title {
	margin: 0 0 clamp(20px, 3vw, 32px);
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h2-size);
	font-weight: var(--thinking-type-h2-weight);
	line-height: var(--thinking-line-height-h2);
}

.t-project-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 40px) clamp(18px, 2vw, 28px);
}

.t-faq-archive__groups {
	max-width: var(--t-archive-max-width);
	margin-inline: auto;
	padding: 0 var(--t-archive-inline) clamp(56px, 8vw, 104px);
}

.t-faq-group + .t-faq-group {
	margin-top: clamp(56px, 8vw, 96px);
}

.t-faq-group__title {
	max-width: 22em;
	margin: 0 0 clamp(20px, 3vw, 32px);
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h2-size);
	font-weight: var(--thinking-type-h2-weight);
	line-height: var(--thinking-line-height-h2);
	overflow-wrap: anywhere;
}

.t-faq-card__number {
	margin: 0 0 0.85rem;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
}

.t-faq-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto);
	gap: clamp(20px, 4vw, 44px);
	align-items: start;
	margin: 0;
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 1px solid var(--color-border-soft);
}

.t-faq-card:last-child {
	border-bottom: 1px solid var(--color-border-soft);
}

.t-faq-card__content {
	min-width: 0;
}

.t-faq-card__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.t-faq-card__topic {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 1.9rem;
	padding: 0.22rem 0.65rem;
	border: 1px solid var(--color-border-soft);
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	line-height: var(--thinking-line-height-caption);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.t-faq-card__topic:hover,
.t-faq-card__topic:focus-visible {
	color: var(--thinking-color-section-text-primary);
	border-color: currentColor;
}

.t-faq-card__title {
	max-width: 18em;
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h2-size);
	font-weight: var(--thinking-type-h2-weight);
	line-height: var(--thinking-line-height-h2);
	overflow-wrap: anywhere;
}

.t-faq-card__title a {
	color: inherit;
	text-decoration: none;
}

.t-faq-card__title a:hover,
.t-faq-card__title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.t-faq-card__excerpt {
	max-width: 66ch;
	margin: 1rem 0 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-faq-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 2.25rem;
	padding: 0.3rem 0;
	color: var(--thinking-color-section-text-primary);
	font-size: var(--thinking-type-button-size);
	font-weight: var(--thinking-type-button-weight);
	line-height: 1.2;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-align: right;
	white-space: nowrap;
}

.t-archive-page__pagination {
	max-width: var(--t-archive-max-width);
	margin-inline: auto;
	padding: 0 var(--t-archive-inline) clamp(56px, 8vw, 104px);
}

.t-archive-page__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.t-archive-page__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	padding: 0.25rem 0.55rem;
	border: 1px solid var(--color-border-soft);
	color: inherit;
	text-decoration: none;
	font-size: var(--thinking-type-caption-size);
	line-height: 1.2;
}

.t-archive-page__pagination .page-numbers.current {
	border-color: currentColor;
}

.t-archive-page__empty {
	max-width: var(--t-archive-max-width);
	margin-inline: auto;
	padding: 0 var(--t-archive-inline) clamp(56px, 8vw, 104px);
	color: var(--thinking-color-section-text-secondary);
}

@media (min-width: 1280px) {
	.t-layout-shell .t-archive-hero,
	.t-layout-shell .t-project-archive__groups,
	.t-layout-shell .t-faq-archive__groups,
	.t-layout-shell .t-archive-page__pagination,
	.t-layout-shell .t-archive-page__empty {
		max-width: none;
		margin-inline: 0;
		padding-right: clamp(32px, 4vw, 64px);
		padding-left: 0;
	}

	.t-layout-shell .t-project-archive__grid {
		gap: clamp(20px, 2vw, 32px);
	}

	.t-layout-shell .t-faq-archive__groups {
		max-width: 1080px;
	}

	.t-layout-shell .t-faq-card__title {
		max-width: none;
	}
}

@media (max-width: 1023px) {
	.t-project-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.t-archive-page {
		--t-archive-inline: 20px;
	}

	.t-archive-hero {
		padding-top: 48px;
		padding-bottom: 36px;
	}

	.t-archive-hero__title,
	.t-archive-hero__lead {
		min-width: 0;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.t-project-archive__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.t-project-archive__filters {
		gap: 28px;
	}

	.t-project-archive__filter {
		font-size: 1rem;
	}

	.t-faq-card {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		padding: 28px 0;
	}

	.t-faq-card__topics {
		margin-bottom: 0.9rem;
	}

	.t-faq-card__title {
		max-width: none;
	}

	.t-faq-card__more {
		justify-content: flex-start;
		width: fit-content;
		text-align: left;
	}
}
