.projectsMain,
.projectViewMain {
	--projectRailOffset: max(24px, calc((100cqw - 1600px) / 2));
	--projectSectionSpace: clamp(64px, 5vw, 96px);
	width: 100%;
	color: #0b1428;
	background: #fff;
}
.projectInner {
	width: min(1600px, calc(100% - 48px));
	margin-inline: auto;
}
.projectIcon {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.projectIconCircle {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	border-radius: 50%;
	background: #e6f1ff;
	color: #1672fb;
}
.projectIconCircle > .projectIcon {
	width: 58%;
	height: 58%;
}
.projectGlobalIcon {
	width: clamp(24px, 1.6vw, 30px);
	height: clamp(24px, 1.6vw, 30px);
	flex-shrink: 0;
}
.projectEyebrow {
	color: #4c97f8;
	font-size: clamp(12px, 0.9vw, 14px);
	font-weight: 900;
	letter-spacing: 0.28em;
	line-height: 1.5;
}
.projectSectionHeading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}
.projectSectionHeading h2 {
	font-size: clamp(30px, 2.5vw, 44px);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: -0.04em;
	margin-top: 14px;
}
.projectsMain h1,
.projectsMain h2,
.projectsMain h3,
.projectsMain p,
.projectsMain dd {
	word-break: keep-all;
	overflow-wrap: break-word;
}
.projectSectionDescription {
	flex: 0 1 540px;
	max-width: 540px;
	color: #647284;
	font-size: clamp(16px, 1.1vw, 19px);
	font-weight: 500;
	line-height: 1.65;
	white-space: normal;
}
.projectAbout {
	min-height: 580px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.projectAboutCopy {
	min-width: 0;
	padding: 88px 36px 64px var(--projectRailOffset);
}
.projectAbout h1 {
	font-size: clamp(32px, 2.75vw, 52px);
	line-height: 1.3;
	letter-spacing: -0.04em;
	margin: 18px 0 24px;
}
.projectAbout h1 span {
	color: #000094;
}
.projectAboutDescription {
	color: #647284;
	font-size: clamp(16px, 1.2vw, 20px);
	font-weight: 500;
	line-height: 1.7;
	white-space: normal;
}
.projectAboutStats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid #edf1f6;
	padding-top: 32px;
	margin-top: 32px;
}
.projectAboutStats > div {
	min-width: 0;
	text-align: center;
	border-right: 1px solid #edf1f6;
}
.projectAboutStats > div:first-child {
	text-align: left;
}
.projectAboutStats > div:last-child {
	border: 0;
}
.projectAboutStats dt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #000094;
	font-size: clamp(24px, 2vw, 34px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.035em;
}
.projectAboutStats > div:first-child dt {
	justify-content: flex-start;
}
.projectAboutStats dd {
	text-wrap: balance;
	color: #818b99;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 10px;
}
.projectAboutVisual {
	position: relative;
	overflow: hidden;
	clip-path: polygon(8% 0, 100% 0, 100% 100%, 8% 100%, 0 88%, 0 12%);
}
.projectAboutVisual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.projectAboutVisual p {
	position: absolute;
	top: 76px;
	right: var(--projectRailOffset);
	color: #d0dbe4;
	padding: 8px;
	background: rgba(5, 23, 39, 0.82);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.8;
	letter-spacing: 0.28em;
	text-align: right;
}
.projectFeatured {
	padding-block: var(--projectSectionSpace) 0;
}
.projectFeatured .projectSectionHeading {
	margin-bottom: 36px;
}
.projectCards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.projectCard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #edf2f8;
	border-radius: 10px;
	overflow: hidden;
	transition:
		transform 240ms ease,
		box-shadow 240ms ease,
		border-color 240ms ease;
}
.projectCard:focus-visible {
	outline: 3px solid #000094;
	outline-offset: 4px;
}
.projectCardPhoto {
	flex: 0 0 auto;
	aspect-ratio: 2.1;
	width: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}
@media (hover: hover) {
	.projectCard:hover {
		transform: translateY(-4px);
		border-color: #000094;
		box-shadow: 0 12px 28px rgba(7, 20, 31, 0.18);
	}
	.projectCard:hover .projectCardPhoto {
		transform: scale(1.025);
	}
}
@media (prefers-reduced-motion: reduce) {
	.projectCard,
	.projectCardPhoto {
		transition: none;
		transform: none !important;
	}
}
.projectCardContent {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.projectCard h3 {
	font-size: clamp(20px, 1.4vw, 25px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: -0.035em;
}
.projectCardContent > p {
	color: #647284;
	font-size: clamp(16px, 1vw, 18px);
	line-height: 1.65;
	font-weight: 500;
	white-space: normal;
	margin-top: 14px;
}
.projectCardBottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 24px;
}
.projectCategory {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1d467d;
	background: #e6f1ff;
	border-radius: 30px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
}
.projectCategory > .projectIcon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}
.projectCardArrow {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 2px solid #9fc7ff;
	border-radius: 50%;
	color: #1676ff;
	font-size: 28px;
	line-height: 1;
	display: grid;
	place-items: center;
}
.projectProcess {
	padding-block: var(--projectSectionSpace);
}
.projectProcess .projectSectionHeading {
	margin-bottom: 36px;
}
.projectProcessSteps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}
.projectProcessSteps li {
	position: relative;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	border: 1px solid #edf2f8;
	border-radius: 14px;
	padding: 28px 22px;
	min-height: 180px;
}
.projectProcessSteps h3 {
	font-size: 20px;
	color: #1672fb;
	font-weight: 900;
	line-height: 1.4;
	margin: 6px 0 10px;
}
.projectProcessSteps p {
	white-space: normal;
	font-size: 15px;
	color: #647284;
	line-height: 1.65;
	font-weight: 500;
}
.projectProcessArrow {
	position: absolute;
	right: -25px;
	top: 65px;
	color: #419bff;
	font-size: 25px;
}
.projectConsultation {
	position: relative;
	min-height: 340px;
	overflow: hidden;
	background: #102537;
	color: #fff;
}
.projectConsultationPhoto {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}
.projectConsultation::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#102537 0%,
		rgba(16, 37, 55, 0.94) 44%,
		rgba(16, 37, 55, 0.8) 66%,
		rgba(16, 37, 55, 0.12) 100%
	);
}
.projectConsultationContent {
	position: relative;
	z-index: 1;
	width: min(1600px, calc(100% - 48px));
	margin-inline: auto;
	padding-block: 48px;
}
.projectConsultation .projectEyebrow {
	color: #aabed0;
	font-size: 12px;
	letter-spacing: 0.28em;
}
.projectConsultation h2 {
	max-width: 1050px;
	font-size: clamp(28px, 2vw, 36px);
	line-height: 1.4;
	margin-top: 22px;
	letter-spacing: -0.035em;
}
.projectConsultationContent > p:not(.projectEyebrow) {
	max-width: 1000px;
	font-size: clamp(16px, 1.1vw, 20px);
	line-height: 1.65;
	color: #a6b6c6;
	margin-top: 14px;
}
.projectConsultation a {
	display: inline-flex;
	gap: 18px;
	justify-content: center;
	align-items: center;
	min-height: 54px;
	padding: 14px 28px;
	margin-top: 28px;
	border-radius: 5px;
	background: #0060ff;
	font-size: 18px;
	font-weight: 500;
}
.projectConsultation a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}
.projectConsultationSignature {
	position: absolute;
	z-index: 1;
	right: var(--projectRailOffset);
	bottom: 48px;
	color: #9eb4c7;
	font-size: 11px;
	letter-spacing: 0.28em;
	line-height: 1.7;
	padding: 8px;
	background: rgba(5, 23, 39, 0.82);
}

/* Match company visuals and calm card interactions. */
.projectAboutStats > div:first-child {
	text-align: center;
}
.projectAboutStats > div:first-child dt {
	justify-content: center;
}
.projectAboutVisual p,
.projectConsultationSignature {
	top: 60px;
	bottom: auto;
	right: var(--projectRailOffset);
	padding: 0 0 0 20px;
	border-left: 1px solid #2984c8;
	background: transparent;
	text-align: right;
	color: #e8f2fa;
	text-shadow: 0 1px 3px #071b2d;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 4px;
}
.projectCard {
	transition:
		box-shadow 180ms ease,
		border-color 180ms ease;
}
.projectCard:hover,
.projectCard:focus-visible {
	transform: none;
	border-color: #c9d8eb;
	box-shadow: 0 6px 18px rgba(7, 29, 60, 0.09);
}
.projectCard:hover .projectCardPhoto {
	transform: none;
}
.projectProcessSteps {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.projectProcessSteps li {
	display: block;
	min-height: 300px;
	padding: 24px;
	border-radius: 8px;
}
.projectProcessSteps .projectIconCircle {
	margin-inline: auto;
	background: #e8f3ff;
	color: #082d5f;
	width: 80px;
	height: 80px;
}
.projectProcessSteps .projectIconCircle svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.projectProcessSteps .projectCapabilityNumber {
	color: #2689ff;
	font-size: 13px;
	font-weight: 700;
	margin-top: 4px;
}
.projectProcessSteps h3 {
	color: #07141f;
	font-size: 20px;
	line-height: 1.2;
	min-height: 48px;
	margin: 8px 0 18px;
}
.projectProcessSteps h3 span {
	display: block;
}
.projectProcessSteps .projectCapabilityBody {
	font-size: 14px;
	color: #536478;
	line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
	.projectCard {
		transition: none;
	}
}

.projectCardPending {
	cursor: default;
}
.projectCardPending:hover {
	transform: none;
	box-shadow: none;
}
.projectCardPending:hover .projectCardPhoto {
	transform: none;
}
.projectCardPending .projectCardArrow {
	display: none;
}

/* Responsive: tablet 768-1199.98px, mobile <=767.98px. Desktop >=1200px untouched. */
@media (max-width: 1199.98px) {
	.projectSectionHeading {
		display: block;
	}
	.projectSectionDescription {
		max-width: 640px;
		margin-top: 18px;
	}
	.projectCards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
	.projectAbout {
		min-height: 520px;
	}
	.projectAboutCopy {
		padding: 72px 28px 56px var(--projectRailOffset);
	}
	.projectAboutStats dt {
		font-size: clamp(22px, 2.6vw, 30px);
	}
	.projectAboutStats dd {
		font-size: 13px;
	}
}
@media (max-width: 991.98px) {
	.projectAbout {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	.projectAboutCopy {
		padding: 64px 24px 48px;
	}
	.projectAboutVisual {
		height: clamp(280px, 42vw, 400px);
		clip-path: none;
	}
	.projectAboutVisual p,
	.projectConsultationSignature {
		top: 32px;
		right: 24px;
	}
	.projectConsultationSignature {
		display: none;
	}
	.projectConsultation::after {
		background: rgba(7, 20, 31, 0.82);
	}
	.projectProcessSteps {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.projectProcessSteps li {
		display: grid;
		grid-template-columns: 80px minmax(0, 1fr);
		column-gap: 24px;
		align-items: center;
		min-height: 0;
		padding: 20px 24px;
	}
	.projectProcessSteps .projectIconCircle {
		grid-row: 1 / span 3;
		margin: 0;
	}
	.projectProcessSteps h3 {
		min-height: 0;
		margin: 4px 0 8px;
	}
	.projectConsultationContent {
		padding-block: 44px;
	}
}
@media (max-width: 767.98px) {
	.projectsMain {
		--projectSectionSpace: 56px;
	}
	.projectInner,
	.projectConsultationContent {
		width: calc(100% - 40px);
	}
	.projectSectionHeading h2 {
		font-size: clamp(26px, 7vw, 32px);
		margin-top: 10px;
	}
	.projectSectionDescription {
		font-size: 16px;
		margin-top: 14px;
	}
	.projectAbout h1 {
		font-size: clamp(28px, 8vw, 36px);
		margin: 14px 0 18px;
	}
	.projectAboutCopy {
		padding: 48px 20px 40px;
	}
	.projectAboutDescription {
		font-size: 16px;
	}
	.projectAboutStats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
		margin-top: 28px;
		padding-top: 24px;
	}
	.projectAboutStats > div {
		border: 0;
	}
	.projectAboutStats dt {
		font-size: clamp(24px, 7vw, 28px);
	}
	.projectAboutStats dd {
		font-size: 13px;
		margin-top: 6px;
	}
	.projectAboutVisual {
		height: clamp(220px, 62vw, 300px);
	}
	.projectAboutVisual p {
		top: 20px;
		right: 20px;
		font-size: 8px;
		letter-spacing: 3px;
		padding-left: 14px;
	}
	.projectFeatured .projectSectionHeading,
	.projectProcess .projectSectionHeading {
		margin-bottom: 24px;
	}
	.projectCards {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
	.projectCardPhoto {
		aspect-ratio: 16 / 9;
	}
	.projectCardContent {
		padding: 20px;
	}
	.projectCard h3 {
		font-size: clamp(19px, 5.4vw, 22px);
	}
	.projectCardContent > p {
		font-size: 15px;
		margin-top: 10px;
	}
	.projectCardBottom {
		padding-top: 18px;
	}
	.projectCategory {
		font-size: 13px;
		padding: 6px 12px;
		min-width: 0;
	}
	.projectProcessSteps {
		position: relative;
		gap: 0;
	}
	.projectProcessSteps::before {
		content: "";
		position: absolute;
		left: 31px;
		top: 32px;
		bottom: 32px;
		width: 2px;
		background: #d6e6fb;
	}
	.projectProcessSteps li {
		position: relative;
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 16px;
		align-items: start;
		border: 0;
		border-radius: 0;
		padding: 0 0 24px;
	}
	.projectProcessSteps li:last-child {
		padding-bottom: 0;
	}
	.projectProcessSteps .projectIconCircle {
		position: relative;
		width: 64px;
		height: 64px;
		flex-basis: 64px;
		border: 4px solid #fff;
		box-sizing: border-box;
	}
	.projectProcessSteps .projectIconCircle svg {
		width: 30px;
		height: 30px;
	}
	.projectProcessSteps h3 {
		font-size: 18px;
		margin: 2px 0 6px;
	}
	.projectProcessSteps .projectCapabilityBody {
		font-size: 14px;
	}
	.projectConsultation {
		min-height: 0;
	}
	.projectConsultationContent {
		padding-block: 40px;
	}
	.projectConsultation h2 {
		font-size: clamp(22px, 6.2vw, 28px);
		margin-top: 16px;
	}
	.projectConsultationContent > p:not(.projectEyebrow) {
		font-size: 15px;
	}
	.projectConsultation a {
		display: flex;
		width: 100%;
		min-height: 48px;
		margin-top: 24px;
		padding: 12px 20px;
		font-size: 16px;
	}
}

/* Swipe through project stages on mobile. */
@media (max-width: 767.98px) {
 .projectProcessSteps {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: none;
 }
 .projectProcessSteps::-webkit-scrollbar { display: none; }
 .projectProcessSteps::before { display: none; }
 .projectProcessSteps li:nth-child(n) {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(260px, 78vw);
  min-height: 0;
  padding: 18px;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
 }
 .projectProcessSteps .projectIconCircle {
  position: static;
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  margin: 0 0 10px;
  border: 0;
  color: #000094;
 }
 .projectProcessSteps .projectIconCircle svg { width: 25px; height: 25px; }
 .projectProcessSteps .projectCapabilityNumber { color: #000094; font-size: 12px; }
 .projectProcessSteps h3 { font-size: 17px; line-height: 1.4; margin: 8px 0; min-height: 0; }
 .projectProcessSteps .projectCapabilityBody { font-size: 13px; line-height: 1.65; margin: 0; }
}

/* Compact featured project pairs on mobile. */
@media (max-width: 767.98px) {
 .projectFeatured .projectEyebrow { font-size: 10px; letter-spacing: 2px; }
 .projectFeatured .projectSectionHeading h2 { font-size: 23px; margin-block: 10px 12px; }
 .projectFeatured .projectSectionDescription { font-size: 13px; line-height: 1.65; }
 .projectFeatured .projectCards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .projectFeatured .projectCard { min-width: 0; }
 .projectFeatured .projectCardPhoto { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
 .projectFeatured .projectCardContent { padding: 12px 10px; }
 .projectFeatured .projectCard h3 { font-size: 15px; line-height: 1.45; }
 .projectFeatured .projectCardContent > p { font-size: 12px; line-height: 1.6; margin-top: 8px; }
 .projectFeatured .projectCardBottom { gap: 6px; padding-top: 12px; }
 .projectFeatured .projectCategory { font-size: 10px; padding: 4px 8px; gap: 4px; }
 .projectFeatured .projectCategory > .projectIcon { flex-basis: 14px; width: 14px; height: 14px; }
 .projectFeatured .projectCardArrow { flex-basis: 30px; width: 30px; height: 30px; font-size: 20px; }
}
