/*
============================================================
ADITI PROMOTERS
PROJECTS ARCHIVE
Premium Editorial Real Estate System
============================================================
*/

.projects {
	--projects-bg: #f5f2ec;
	--projects-paper: #ffffff;
	--projects-ink: #101a2d;
	--projects-muted: #69758a;
	--projects-navy: #173765;
	--projects-gold: #c99524;
	--projects-line: rgba(16, 26, 45, 0.14);
	--projects-shadow: 0 30px 70px rgba(16, 26, 45, 0.08);

	background: var(--projects-bg);
	color: var(--projects-ink);
}

.projects-container {
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
}

/* ---------------------------------------------------------
   INTRO
--------------------------------------------------------- */

.projects-hero {
	padding: 86px 0 130px;
}

.projects-intro {
	max-width: 900px;
	margin: 0 auto 90px;
	text-align: center;
}

.projects-eyebrow {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--projects-gold);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.32em;
	line-height: 1.2;
}

.projects-title {
	max-width: 900px;
	margin: 0 auto;
	color: var(--projects-ink);
	font-family: var(--font-serif, Georgia, serif);
	font-size: clamp(58px, 6vw, 92px);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.96;
}

.projects-description {
	max-width: 760px;
	margin: 34px auto 0;
	color: var(--projects-muted);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
}

/* ---------------------------------------------------------
   PROJECT LIST
--------------------------------------------------------- */

.projects-list {
	display: flex;
	flex-direction: column;
	gap: 110px;
}

.project-feature {
	position: relative;
}

.project-feature__link {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(360px, 0.85fr);
	min-height: 610px;
	overflow: hidden;
	background: var(--projects-paper);
	color: inherit;
	text-decoration: none;
	box-shadow: var(--projects-shadow);
}

.project-feature:nth-child(even) .project-feature__media {
	order: 2;
}

.project-feature:nth-child(even) .project-feature__content {
	order: 1;
}

/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.project-feature__media {
	position: relative;
	min-height: 610px;
	overflow: hidden;
	background: var(--projects-navy);
}

.project-feature__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition:
		transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 700ms ease;
}

.project-feature__media-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(16, 26, 45, 0.02) 45%,
			rgba(16, 26, 45, 0.20) 100%
		);
	pointer-events: none;
}

.project-feature__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(
			145deg,
			#1d3e70 0%,
			#142d54 100%
		);
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
}

.project-feature__index {
	position: absolute;
	top: 28px;
	left: 30px;
	z-index: 2;
	color: #ffffff;
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	opacity: 0.9;
}

/* ---------------------------------------------------------
   CONTENT PANEL
--------------------------------------------------------- */

.project-feature__content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 64px 54px 46px;
	background: var(--projects-paper);
}

.project-feature__top {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 90px;
}

.project-feature__label {
	max-width: 90px;
	color: #8992a0;
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1.5;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.project-feature__accent {
	display: block;
	width: 48px;
	height: 2px;
	background: var(--projects-gold);
}

.project-feature__main {
	margin-top: 30px;
}

.project-feature__title {
	max-width: 390px;
	margin: 0;
	color: var(--projects-ink);
	font-family: var(--font-serif, Georgia, serif);
	font-size: clamp(48px, 4vw, 68px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 0.98;
	transition: color 350ms ease;
}

.project-feature__excerpt {
	max-width: 360px;
	margin: 28px 0 0;
	color: var(--projects-muted);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 15px;
	line-height: 1.7;
}

.project-feature__footer {
	margin-top: auto;
	padding-top: 42px;
}

.project-feature__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 19px;
	border-top: 1px solid var(--projects-line);
	color: var(--projects-navy);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
}

.project-feature__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--projects-line);
	border-radius: 50%;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0;
	transform: translate(0, 0);
	transition:
		transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
		background 350ms ease,
		color 350ms ease,
		border-color 350ms ease;
}

/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.project-feature__link:hover .project-feature__image {
	transform: scale(1.045);
	filter: saturate(1.04);
}

.project-feature__link:hover .project-feature__title {
	color: var(--projects-navy);
}

.project-feature__link:hover .project-feature__arrow {
	transform: translate(5px, -5px);
	border-color: var(--projects-gold);
	background: var(--projects-gold);
	color: #ffffff;
}

/* ---------------------------------------------------------
   PAGINATION
--------------------------------------------------------- */

.projects .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 100px;
}

.projects .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--projects-line);
	color: var(--projects-navy);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background 250ms ease,
		color 250ms ease,
		border-color 250ms ease;
}

.projects .page-numbers:hover,
.projects .page-numbers.current {
	border-color: var(--projects-navy);
	background: var(--projects-navy);
	color: #ffffff;
}

/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.projects-empty {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 0 40px;
}

.projects-empty__eyebrow {
	display: block;
	margin-bottom: 24px;
	color: var(--projects-gold);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
}

.projects-empty h2 {
	margin: 0;
	color: var(--projects-ink);
	font-family: var(--font-serif, Georgia, serif);
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
}

.projects-empty p {
	max-width: 620px;
	margin: 24px 0 0;
	color: var(--projects-muted);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 17px;
	line-height: 1.7;
}

.projects-empty__link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: 35px;
	color: var(--projects-navy);
	font-family: var(--font-sans, Arial, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-decoration: none;
}

/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 1000px) {

	.projects-container {
		width: min(100% - 48px, 760px);
	}

	.projects-hero {
		padding: 70px 0 100px;
	}

	.projects-intro {
		margin-bottom: 70px;
	}

	.project-feature__link {
		grid-template-columns: 1.55fr 1fr;
		min-height: 520px;
	}

	.project-feature__media {
		min-height: 520px;
	}

	.project-feature__content {
		padding: 48px 38px 36px;
	}

	.project-feature__title {
		font-size: clamp(42px, 5vw, 58px);
	}

	.projects-list {
		gap: 80px;
	}
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

	.projects-container {
		width: min(100% - 32px, 560px);
	}

	.projects-hero {
		padding: 54px 0 72px;
	}

	.projects-intro {
		margin-bottom: 54px;
	}

	.projects-eyebrow {
		margin-bottom: 18px;
		font-size: 10px;
	}

	.projects-title {
		font-size: clamp(48px, 13vw, 68px);
		line-height: 0.98;
	}

	.projects-description {
		margin-top: 24px;
		font-size: 16px;
		line-height: 1.6;
	}

	.projects-list {
		gap: 56px;
	}

	.project-feature__link,
	.project-feature:nth-child(even) .project-feature__link {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.project-feature:nth-child(even) .project-feature__media,
	.project-feature:nth-child(even) .project-feature__content {
		order: initial;
	}

	.project-feature__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.project-feature__content {
		min-height: 420px;
		padding: 34px 28px 28px;
	}

	.project-feature__top {
		min-height: 65px;
	}

	.project-feature__label {
		font-size: 8px;
	}

	.project-feature__accent {
		width: 38px;
	}

	.project-feature__main {
		margin-top: 22px;
	}

	.project-feature__title {
		max-width: 100%;
		font-size: clamp(44px, 13vw, 60px);
	}

	.project-feature__excerpt {
		margin-top: 22px;
		font-size: 14px;
	}

	.project-feature__footer {
		padding-top: 32px;
	}

	.project-feature__cta {
		padding-top: 16px;
	}

	.projects-empty {
		padding: 50px 0 20px;
	}
}

/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 420px) {

	.projects-container {
		width: calc(100% - 24px);
	}

	.projects-title {
		font-size: 46px;
	}

	.project-feature__content {
		min-height: 380px;
		padding: 28px 22px 24px;
	}

	.project-feature__title {
		font-size: 43px;
	}

	.project-feature__index {
		top: 18px;
		left: 20px;
	}
}

/* ---------------------------------------------------------
   ACCESSIBILITY
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.project-feature__image,
	.project-feature__title,
	.project-feature__arrow {
		transition: none;
	}

	.project-feature__link:hover .project-feature__image {
		transform: none;
	}

	.project-feature__link:hover .project-feature__arrow {
		transform: none;
	}
}
/* V5.2 â€” project titles include city context without changing the archive structure. */
.project-feature__title{max-width:680px;}
.project-feature__location{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#7d8796;margin-top:10px;}

/* Project catalogue metadata */
.project-feature__availability{
	display:flex;
	flex-wrap:wrap;
	gap:10px 18px;
	margin-top:24px;
	padding-top:16px;
	border-top:1px solid var(--projects-line);
	color:var(--projects-muted);
	font-family:var(--font-sans,Arial,sans-serif);
	font-size:10px;
	font-weight:600;
	letter-spacing:.08em;
	text-transform:uppercase;
}
.project-feature__availability span{white-space:nowrap;}
.project-feature__availability strong{
	margin-right:4px;
	color:var(--projects-ink);
	font-size:14px;
}
.project-feature__location{
	margin:12px 0 0;
	color:var(--projects-muted);
	font-family:var(--font-sans,Arial,sans-serif);
	font-size:11px;
	font-weight:600;
	letter-spacing:.10em;
	text-transform:uppercase;
}
@media (max-width:800px){
	.project-feature__availability{gap:8px 14px;margin-top:20px;padding-top:13px;font-size:9px;}
	.project-feature__availability strong{font-size:13px;}
}

/* =========================================================
   V2.6 â€” PROJECT CATALOGUE TITLE REFINEMENT
   Keep long project/location titles premium without dominating the card.
   ========================================================= */
.project-feature__title{
	max-width:680px;
	font-size:clamp(42px,3.2vw,54px);
	line-height:.98;
}

@media (max-width:1000px){
	.project-feature__title{font-size:clamp(40px,4.8vw,50px);}
}

@media (max-width:800px){
	.project-feature__title{font-size:clamp(36px,9.5vw,46px);}
}

@media (max-width:560px){
	.project-feature__title{font-size:34px;line-height:1.02;}
}

/* =========================================================
   V2.6 PATCH â€” BALANCED ALTERNATING PROJECT CARDS
   Keep the image/content proportions consistent on desktop.
   The second card places the content left and the large image right.
   ========================================================= */
@media (min-width: 1001px) {
	.project-feature:nth-child(even) .project-feature__link {
		grid-template-columns: minmax(360px, .85fr) minmax(0, 2.15fr);
	}
}