/*
 * Project archive at /photo/.
 *
 * Every selector is scoped to the archive root so the portfolio presentation
 * cannot leak into project singles or native Divi layouts.
 */

#main-content.tnp-photo-archive {
	--tnp-photo-ink: #171a1f;
	--tnp-photo-text: #343a42;
	--tnp-photo-muted: #69727d;
	--tnp-photo-brand: #f6c945;
	--tnp-photo-brand-dark: #d9a900;
	--tnp-photo-warm: #fff8dd;
	--tnp-photo-surface: #f6f7f9;
	--tnp-photo-border: #e1e6ea;
	--tnp-photo-white: #ffffff;
	--tnp-photo-shadow: 0 22px 60px rgb(23 26 31 / 10%);
	background: var(--tnp-photo-white);
	color: var(--tnp-photo-text);
	font-family: "Manrope Local", Arial, sans-serif;
}

.tnp-photo-archive *,
.tnp-photo-archive *::before,
.tnp-photo-archive *::after {
	box-sizing: border-box;
}

.tnp-photo-archive :where(h1, h2, p, ul, figure) {
	margin: 0;
	padding: 0;
}

.tnp-photo-archive :where(a, button):focus-visible {
	outline: 3px solid var(--tnp-photo-ink);
	outline-offset: 4px;
	box-shadow: 0 0 0 7px var(--tnp-photo-brand);
}

.tnp-photo-shell {
	width: var(--tnp-container-width);
	margin-inline: auto;
}

.tnp-photo-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #8a6800;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.tnp-photo-eyebrow > span {
	width: 28px;
	height: 2px;
	border-radius: 999px;
	background: currentcolor;
}

.tnp-photo-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(30px, 4vw, 50px);
	color: var(--tnp-photo-muted);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.5;
}

.tnp-photo-breadcrumb a {
	color: var(--tnp-photo-text);
	text-decoration: underline;
	text-decoration-color: rgb(217 169 0 / 55%);
	text-underline-offset: 0.18em;
}

.tnp-photo-breadcrumb svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.tnp-photo-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 8vw, 112px);
	background:
		radial-gradient(circle at 7% 14%, rgb(246 201 69 / 20%), transparent 30%),
		linear-gradient(180deg, #fffdf5 0%, var(--tnp-photo-white) 100%);
}

.tnp-photo-hero::after {
	position: absolute;
	top: 12%;
	right: -8rem;
	width: 25rem;
	height: 25rem;
	border: 1px solid rgb(23 26 31 / 5%);
	border-radius: 50%;
	box-shadow:
		0 0 0 3rem rgb(23 26 31 / 2.5%),
		0 0 0 7rem rgb(246 201 69 / 4%);
	content: "";
	pointer-events: none;
}

.tnp-photo-hero__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
	gap: clamp(42px, 7vw, 96px);
	align-items: center;
}

.tnp-photo-hero__copy h1 {
	max-width: 790px;
	margin-top: 18px;
	padding: 0;
	color: var(--tnp-photo-ink);
	font-family: "Manrope Local", Arial, sans-serif;
	font-size: clamp(46px, 6.4vw, 78px);
	font-weight: 800;
	line-height: 0.99;
	letter-spacing: -0.05em;
}

.tnp-photo-hero__lead {
	max-width: 720px;
	margin-top: 28px !important;
	color: #525b65;
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.65;
}

.tnp-photo-hero__actions,
.tnp-photo-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 34px;
}

.tnp-photo-button {
	display: inline-flex;
	min-height: 52px;
	padding: 13px 22px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 2px solid transparent;
	border-radius: 13px;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.tnp-photo-button svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.tnp-photo-button--primary {
	border-color: var(--tnp-photo-brand);
	background: var(--tnp-photo-brand);
	color: var(--tnp-photo-ink);
	box-shadow: 0 12px 28px rgb(23 26 31 / 14%);
}

.tnp-photo-button--secondary {
	border-color: var(--tnp-photo-border);
	background: var(--tnp-photo-white);
	color: var(--tnp-photo-ink);
}

.tnp-photo-button--secondary svg {
	fill: currentcolor;
	stroke: none;
}

.tnp-photo-proof {
	position: relative;
	min-height: 390px;
	padding: clamp(34px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 11%);
	border-radius: 28px;
	background:
		linear-gradient(145deg, rgb(255 255 255 / 8%), transparent 45%),
		var(--tnp-photo-ink);
	box-shadow: 0 30px 80px rgb(23 26 31 / 20%);
	color: var(--tnp-photo-white);
}

.tnp-photo-proof__halo {
	position: absolute;
	top: -60px;
	right: -60px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: var(--tnp-photo-brand);
	box-shadow: 0 0 0 36px rgb(246 201 69 / 8%);
	opacity: 0.94;
}

.tnp-photo-proof__label {
	position: relative;
	color: rgb(255 255 255 / 62%);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tnp-photo-proof__number {
	position: relative;
	margin-top: 18px !important;
	color: var(--tnp-photo-white);
	font-size: clamp(64px, 8vw, 96px);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.06em;
}

.tnp-photo-proof__title {
	position: relative;
	max-width: 260px;
	margin-top: 14px !important;
	color: rgb(255 255 255 / 76%);
	font-size: 1.03rem;
	font-weight: 650;
	line-height: 1.5;
}

.tnp-photo-proof ul {
	position: relative;
	display: grid;
	gap: 12px;
	margin-top: 34px;
	list-style: none;
}

.tnp-photo-proof li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: rgb(255 255 255 / 72%);
	font-size: 0.9rem;
	line-height: 1.45;
}

.tnp-photo-proof li::before {
	display: grid;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgb(246 201 69 / 16%);
	color: var(--tnp-photo-brand);
	content: "\2713";
	font-size: 0.72rem;
	font-weight: 900;
	place-items: center;
}

.tnp-photo-browser {
	padding: clamp(72px, 8vw, 112px) 0;
	background: var(--tnp-photo-surface);
}

.tnp-photo-browser__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 36px;
}

.tnp-photo-browser__heading h2,
.tnp-photo-cta__copy h2 {
	margin-top: 14px;
	padding: 0;
	color: var(--tnp-photo-ink);
	font-family: "Manrope Local", Arial, sans-serif;
	font-size: clamp(36px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.tnp-photo-browser__summary {
	flex: 0 0 auto;
	padding-bottom: 8px !important;
	color: var(--tnp-photo-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.tnp-photo-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 34px;
}

.tnp-photo-filter {
	display: inline-flex;
	min-height: 42px;
	padding: 9px 13px 9px 16px;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--tnp-photo-border);
	border-radius: 999px;
	background: var(--tnp-photo-white);
	color: #444c55;
	font-size: 0.85rem;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.tnp-photo-filter > span {
	display: grid;
	min-width: 23px;
	height: 23px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--tnp-photo-surface);
	color: var(--tnp-photo-muted);
	font-size: 0.72rem;
	place-items: center;
}

.tnp-photo-filter--active {
	border-color: var(--tnp-photo-ink);
	background: var(--tnp-photo-ink);
	color: var(--tnp-photo-white);
}

.tnp-photo-filter--active > span {
	background: var(--tnp-photo-brand);
	color: var(--tnp-photo-ink);
}

.tnp-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.tnp-photo-grid--featured {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnp-photo-featured-more {
	display: flex;
	justify-content: center;
	margin-top: clamp(36px, 5vw, 54px);
}

.tnp-photo-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tnp-photo-border);
	border-radius: 22px;
	background: var(--tnp-photo-white);
	box-shadow: 0 14px 38px rgb(23 26 31 / 7%);
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.tnp-photo-card__link {
	display: flex;
	height: 100%;
	color: inherit;
	flex-direction: column;
	text-decoration: none;
}

.tnp-photo-card:focus-within {
	border-color: var(--tnp-photo-brand-dark);
	box-shadow: 0 0 0 4px rgb(246 201 69 / 30%), 0 18px 44px rgb(23 26 31 / 12%);
}

.tnp-photo-card__link:focus-visible {
	outline: 0;
	box-shadow:
		inset 0 0 0 3px var(--tnp-photo-ink),
		inset 0 0 0 7px var(--tnp-photo-brand);
}

.tnp-photo-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dfe3e6;
}

.tnp-photo-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tnp-photo-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 70% 20%, rgb(246 201 69 / 45%), transparent 34%),
		linear-gradient(145deg, #eef0f2, #d9dde0);
	place-items: center;
}

.tnp-photo-card__placeholder svg,
.tnp-photo-empty > span svg {
	width: 56px;
	height: 56px;
	fill: none;
	stroke: #808891;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.tnp-photo-card__shade {
	position: absolute;
	inset: auto 0 0;
	height: 30%;
	background: linear-gradient(transparent, rgb(23 26 31 / 18%));
	pointer-events: none;
}

.tnp-photo-card__body {
	display: flex;
	padding: 24px 24px 23px;
	flex: 1 1 auto;
	flex-direction: column;
}

.tnp-photo-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px !important;
	list-style: none;
}

.tnp-photo-card__tags li {
	padding: 5px 8px;
	border-radius: 7px;
	background: var(--tnp-photo-warm);
	color: #735800;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.tnp-photo-card__body h3 {
	padding: 0;
	color: var(--tnp-photo-ink);
	font-family: "Manrope Local", Arial, sans-serif;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.tnp-photo-card__body > p {
	margin-top: 13px;
	color: #626b75;
	font-size: 0.9rem;
	line-height: 1.6;
}

.tnp-photo-card__action {
	display: inline-flex;
	width: fit-content;
	margin-top: auto;
	padding-top: 21px;
	align-items: center;
	gap: 8px;
	color: var(--tnp-photo-ink);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: underline;
	text-decoration-color: var(--tnp-photo-brand-dark);
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.22em;
}

.tnp-photo-card__action svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform 160ms ease;
}

.tnp-photo-pagination {
	margin-top: clamp(42px, 6vw, 66px);
}

.tnp-photo-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tnp-photo-pagination li {
	margin: 0;
}

.tnp-photo-pagination a,
.tnp-photo-pagination .current,
.tnp-photo-pagination .dots {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 1px solid var(--tnp-photo-border);
	border-radius: 11px;
	background: var(--tnp-photo-white);
	color: var(--tnp-photo-text);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.tnp-photo-pagination .current {
	border-color: var(--tnp-photo-ink);
	background: var(--tnp-photo-ink);
	color: var(--tnp-photo-white);
}

.tnp-photo-pagination .dots {
	border-color: transparent;
	background: transparent;
}

.tnp-photo-pagination .prev,
.tnp-photo-pagination .next {
	padding-inline: 17px;
}

.tnp-photo-empty {
	display: flex;
	max-width: 720px;
	margin: 40px auto 0;
	padding: clamp(34px, 6vw, 58px);
	align-items: center;
	border: 1px solid var(--tnp-photo-border);
	border-radius: 24px;
	background: var(--tnp-photo-white);
	box-shadow: var(--tnp-photo-shadow);
	flex-direction: column;
	text-align: center;
}

.tnp-photo-empty > span {
	display: grid;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--tnp-photo-warm);
	place-items: center;
}

.tnp-photo-empty h2 {
	margin-top: 24px;
	color: var(--tnp-photo-ink);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.2;
}

.tnp-photo-empty p {
	max-width: 520px;
	margin-top: 13px;
	color: var(--tnp-photo-muted);
	line-height: 1.6;
}

.tnp-photo-empty .tnp-photo-button {
	margin-top: 25px;
}

.tnp-photo-cta {
	padding: clamp(72px, 8vw, 108px) 0;
	background: var(--tnp-photo-white);
}

.tnp-photo-cta__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
	gap: clamp(40px, 7vw, 90px);
	align-items: center;
	padding: clamp(38px, 6vw, 70px);
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(circle at 94% 12%, rgb(246 201 69 / 17%), transparent 30%),
		var(--tnp-photo-ink);
	box-shadow: 0 26px 70px rgb(23 26 31 / 18%);
}

.tnp-photo-cta__card::after {
	position: absolute;
	right: -70px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	border: 1px solid rgb(255 255 255 / 8%);
	border-radius: 50%;
	box-shadow: 0 0 0 38px rgb(255 255 255 / 3%);
	content: "";
	pointer-events: none;
}

.tnp-photo-cta__copy,
.tnp-photo-cta__actions {
	position: relative;
	z-index: 1;
}

.tnp-photo-cta .tnp-photo-eyebrow {
	color: var(--tnp-photo-brand);
}

.tnp-photo-cta__copy h2 {
	color: var(--tnp-photo-white);
}

.tnp-photo-cta__copy > p:last-child {
	max-width: 690px;
	margin-top: 18px;
	color: rgb(255 255 255 / 70%);
	font-size: 1rem;
	line-height: 1.65;
}

.tnp-photo-cta__actions {
	margin-top: 0;
	align-items: stretch;
	flex-direction: column;
}

.tnp-photo-cta__actions .tnp-photo-button {
	width: 100%;
}

.tnp-photo-cta__phone {
	display: flex;
	min-height: 58px;
	padding: 10px 14px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-radius: 12px;
	color: var(--tnp-photo-white);
	flex-direction: column;
	text-align: center;
	text-decoration: none;
}

.tnp-photo-cta__phone span {
	color: rgb(255 255 255 / 55%);
	font-size: 0.76rem;
	font-weight: 700;
}

.tnp-photo-cta__phone strong {
	font-size: 1.03rem;
	font-weight: 800;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.tnp-photo-button:hover {
		transform: translateY(-2px);
	}

	.tnp-photo-button--primary:hover {
		border-color: var(--tnp-photo-brand-dark);
		background: var(--tnp-photo-brand-dark);
		color: var(--tnp-photo-ink);
	}

	.tnp-photo-button--secondary:hover {
		border-color: var(--tnp-photo-ink);
		background: var(--tnp-photo-warm);
	}

	.tnp-photo-filter:hover {
		border-color: #b9c0c7;
		background: var(--tnp-photo-warm);
		color: var(--tnp-photo-ink);
	}

	.tnp-photo-filter--active:hover {
		border-color: var(--tnp-photo-ink);
		background: var(--tnp-photo-ink);
		color: var(--tnp-photo-white);
	}

	.tnp-photo-card:hover {
		border-color: rgb(217 169 0 / 58%);
		box-shadow: 0 24px 58px rgb(23 26 31 / 14%);
		transform: translateY(-5px);
	}

	.tnp-photo-card:hover .tnp-photo-card__image {
		transform: scale(1.035);
	}

	.tnp-photo-card:hover .tnp-photo-card__action svg {
		transform: translateX(4px);
	}
}

@media (max-width: 1080px) {
	.tnp-photo-hero__layout,
	.tnp-photo-cta__card {
		grid-template-columns: minmax(0, 1fr);
	}

	.tnp-photo-proof {
		min-height: 0;
	}

	.tnp-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tnp-photo-cta__actions {
		max-width: 440px;
	}
}

@media (max-width: 760px) {
	.tnp-photo-browser__heading {
		align-items: start;
		flex-direction: column;
		gap: 16px;
	}

	.tnp-photo-browser__summary {
		padding-bottom: 0 !important;
	}

	.tnp-photo-filters {
		margin-inline: -16px;
		padding: 9px 16px 12px;
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
	}

	.tnp-photo-filter {
		flex: 0 0 auto;
	}
}

@media (max-width: 680px) {
	.tnp-photo-hero {
		padding-top: 24px;
	}

	.tnp-photo-breadcrumb {
		margin-bottom: 28px;
	}

	.tnp-photo-hero__copy h1 {
		font-size: clamp(40px, 12vw, 54px);
		line-height: 1.02;
	}

	.tnp-photo-hero__lead {
		margin-top: 22px !important;
		font-size: 1rem;
	}

	.tnp-photo-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tnp-photo-hero__actions .tnp-photo-button {
		width: 100%;
	}

	.tnp-photo-proof {
		padding: 32px 26px;
		border-radius: 22px;
	}

	.tnp-photo-proof__number {
		font-size: 68px;
	}

	.tnp-photo-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin-top: 30px;
	}

	.tnp-photo-card {
		border-radius: 18px;
	}

	.tnp-photo-card__body {
		padding: 22px 20px 21px;
	}

	.tnp-photo-card__body h3 {
		font-size: 21px;
	}

	.tnp-photo-featured-more .tnp-photo-button {
		width: 100%;
	}

	.tnp-photo-pagination .prev span:last-child,
	.tnp-photo-pagination .next span:first-child {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.tnp-photo-pagination .prev,
	.tnp-photo-pagination .next {
		width: 44px;
		padding-inline: 12px;
	}

	.tnp-photo-cta__card {
		padding: 34px 24px;
		border-radius: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tnp-photo-archive *,
	.tnp-photo-archive *::before,
	.tnp-photo-archive *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
