/*
 * Bespoke internal page layouts for M-Sistemos Premium.
 */

.msp-page-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
	align-items: start;
	gap: clamp(54px, 8vw, 124px);
}

.msp-page-split h2,
.msp-alpr-interface h2,
.msp-about-lead h2,
.msp-page-cta h2 {
	margin: 0;
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 1;
	text-wrap: balance;
}

.msp-page-split > p,
.msp-page-split > div:last-child > p {
	margin: 0;
	color: var(--msp-muted);
	font-size: 17px;
	line-height: 1.8;
}

.msp-page-split > div:last-child > p + p {
	margin-top: 22px;
}

.msp-page-cta {
	padding: clamp(94px, 10vw, 150px) 0;
	color: #fff;
	text-align: center;
	background:
		radial-gradient(circle at 50% 0, rgba(199, 167, 94, 0.14), transparent 35%),
		#080908;
}

.msp-page-cta .msp-eyebrow {
	justify-content: center;
}

.msp-page-cta h2 {
	max-width: 920px;
	margin-inline: auto;
}

.msp-page-cta .msp-button {
	margin-top: 38px;
}

/* ALPR product */
.msp-alpr-hero {
	position: relative;
	min-height: 760px;
	overflow: hidden;
	color: #fff;
	background: #080908;
	isolation: isolate;
}

.msp-alpr-hero > img,
.msp-alpr-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.msp-alpr-hero > img {
	z-index: -2;
	object-fit: cover;
	object-position: center;
}

.msp-alpr-hero__shade {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(4, 6, 8, 0.96) 0%, rgba(5, 7, 9, 0.82) 48%, rgba(5, 7, 9, 0.26) 84%),
		linear-gradient(180deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.62));
}

.msp-alpr-hero__content {
	padding-top: clamp(96px, 11vw, 150px);
	padding-bottom: 100px;
}

.msp-alpr-hero h1 {
	margin: 0;
	font-size: clamp(74px, 10vw, 150px);
	font-weight: 500;
	letter-spacing: -0.08em;
	line-height: 0.78;
}

.msp-alpr-hero h2 {
	max-width: 700px;
	margin: 48px 0 0;
	font-size: clamp(25px, 2.5vw, 38px);
	font-weight: 500;
	line-height: 1.18;
}

.msp-alpr-hero__content > p:not(.msp-eyebrow) {
	max-width: 700px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 17px;
	line-height: 1.75;
}

.msp-alpr-hero ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 330px));
	gap: 12px 28px;
	max-width: 720px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.msp-alpr-hero li {
	position: relative;
	padding-left: 20px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.5;
}

.msp-alpr-hero li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.58em;
	width: 5px;
	height: 5px;
	background: var(--msp-gold);
	border-radius: 50%;
}

.msp-alpr-value,
.msp-about-story {
	padding: clamp(94px, 10vw, 150px) 0;
}

.msp-alpr-value__grid,
.msp-about-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 68px;
	border-top: 1px solid var(--msp-line);
}

.msp-alpr-value__grid article,
.msp-about-values__grid article {
	min-height: 240px;
	padding: 30px 28px 28px;
	border-right: 1px solid var(--msp-line);
}

.msp-alpr-value__grid article:first-child,
.msp-about-values__grid article:first-child {
	padding-left: 0;
}

.msp-alpr-value__grid article:last-child,
.msp-about-values__grid article:last-child {
	border-right: 0;
}

.msp-alpr-value__grid small,
.msp-about-values__grid small {
	color: var(--msp-gold-dark);
	font-family: "Jura", Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.msp-alpr-value__grid h3,
.msp-about-values__grid h3 {
	margin: 70px 0 13px;
	font-size: 22px;
	font-weight: 600;
}

.msp-alpr-value__grid p,
.msp-about-values__grid p {
	margin: 0;
	color: var(--msp-muted);
	font-size: 14px;
	line-height: 1.65;
}

.msp-alpr-interface {
	padding: clamp(90px, 9vw, 138px) 0;
	color: #fff;
	background:
		radial-gradient(circle at 78% 0, rgba(199, 167, 94, 0.11), transparent 30%),
		#0a0a09;
}

.msp-alpr-interface h2 {
	max-width: 780px;
}

.msp-alpr-interface__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 56px;
}

.msp-alpr-interface figure {
	margin: 0;
	overflow: hidden;
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.msp-alpr-interface figure:nth-child(2) {
	transform: translateY(30px);
}

.msp-alpr-interface img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top;
	background: #090a0b;
}

.msp-alpr-interface figcaption {
	padding: 18px 20px;
	color: rgba(255, 255, 255, 0.7);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.msp-alpr-architecture {
	padding: clamp(105px, 11vw, 165px) 0;
	background: var(--msp-paper);
}

.msp-alpr-architecture ul {
	display: grid;
	gap: 12px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.msp-alpr-architecture li {
	padding: 14px 0;
	border-top: 1px solid var(--msp-line);
	font-family: "Jura", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* About */
.msp-about-hero {
	padding: clamp(100px, 10vw, 156px) 0;
	color: #fff;
	background:
		radial-gradient(circle at 80% 35%, rgba(199, 167, 94, 0.16), transparent 25%),
		#080908;
}

.msp-about-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: center;
	gap: clamp(60px, 9vw, 140px);
}

.msp-about-hero h1 {
	max-width: 840px;
	margin: 0;
	font-size: clamp(54px, 7vw, 98px);
	font-weight: 650;
	letter-spacing: -0.07em;
	line-height: 0.92;
	text-transform: uppercase;
}

.msp-about-hero__grid > div:first-child > p:not(.msp-eyebrow) {
	max-width: 700px;
	margin: 32px 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 17px;
	line-height: 1.75;
}

.msp-about-monogram {
	position: relative;
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid rgba(199, 167, 94, 0.4);
}

.msp-about-monogram::before,
.msp-about-monogram::after {
	content: "";
	position: absolute;
	background: rgba(199, 167, 94, 0.24);
}

.msp-about-monogram::before {
	left: 50%;
	top: -35px;
	width: 1px;
	height: calc(100% + 70px);
}

.msp-about-monogram::after {
	left: -35px;
	top: 50%;
	width: calc(100% + 70px);
	height: 1px;
}

.msp-about-monogram span {
	z-index: 1;
	font-family: "Jura", Arial, sans-serif;
	font-size: 88px;
	font-weight: 500;
	letter-spacing: -0.1em;
}

.msp-about-monogram small {
	position: absolute;
	right: 18px;
	bottom: 15px;
	color: var(--msp-gold);
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	letter-spacing: 0.16em;
}

.msp-about-values {
	padding: clamp(90px, 9vw, 136px) 0;
	background: var(--msp-paper);
}

.msp-about-values__grid {
	margin-top: 42px;
}

.msp-about-lead {
	padding: clamp(90px, 9vw, 140px) 0;
	color: #fff;
	background: #11100e;
}

.msp-about-lead__grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(58px, 9vw, 140px);
}

.msp-about-lead__portrait {
	position: relative;
	display: grid;
	min-height: 480px;
	place-items: center;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(199, 167, 94, 0.18), transparent 55%),
		#191814;
	border: 1px solid rgba(199, 167, 94, 0.24);
}

.msp-about-lead__portrait::before {
	content: "";
	position: absolute;
	inset: 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.msp-about-lead__portrait span {
	font-family: "Jura", Arial, sans-serif;
	font-size: clamp(88px, 11vw, 160px);
	font-weight: 500;
	letter-spacing: -0.12em;
}

.msp-about-lead p:not(.msp-eyebrow) {
	max-width: 620px;
	margin: 28px 0;
	color: rgba(255, 255, 255, 0.67);
	font-size: 17px;
	line-height: 1.8;
}

.msp-about-lead a {
	color: var(--msp-gold);
	font-family: "Jura", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.msp-about-lead a span {
	margin-left: 12px;
}

/* Contact */
.msp-contact-hero,
.msp-gallery-hero {
	padding: clamp(95px, 10vw, 150px) 0;
	color: #fff;
	background:
		radial-gradient(circle at 80% 25%, rgba(199, 167, 94, 0.14), transparent 30%),
		#080908;
}

.msp-contact-hero h1,
.msp-gallery-hero h1 {
	margin: 0;
	font-size: clamp(62px, 9vw, 128px);
	font-weight: 600;
	letter-spacing: -0.075em;
	line-height: 0.86;
	text-transform: uppercase;
}

.msp-contact-hero .msp-shell > p:last-child,
.msp-gallery-hero .msp-shell > p:last-child {
	max-width: 720px;
	margin: 34px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 17px;
	line-height: 1.75;
}

.msp-contact-body {
	padding: clamp(85px, 9vw, 135px) 0;
	background: var(--msp-paper);
}

.msp-contact-body__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.25fr);
	gap: clamp(50px, 8vw, 120px);
}

.msp-contact-body aside {
	display: flex;
	align-self: start;
	flex-direction: column;
	border-top: 1px solid var(--msp-line);
}

.msp-contact-body aside > a,
.msp-contact-body aside > div {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 24px 0;
	border-bottom: 1px solid var(--msp-line);
}

.msp-contact-body aside small {
	color: var(--msp-gold-dark);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.msp-contact-body aside strong {
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 500;
}

.msp-contact-body aside > p {
	margin: 26px 0 0;
	color: var(--msp-muted);
	font-size: 14px;
	line-height: 1.7;
}

.msp-contact-form {
	padding: clamp(30px, 4vw, 58px);
	background: #fff;
	border: 1px solid var(--msp-line);
	box-shadow: 0 20px 55px rgba(38, 32, 21, 0.07);
}

.msp-contact-form > h2 {
	margin: 0 0 34px;
	font-size: clamp(32px, 4vw, 52px);
	letter-spacing: -0.045em;
	line-height: 1;
}

.msp-contact-form > p {
	max-width: 620px;
	margin: -16px 0 32px;
	color: var(--msp-muted);
	line-height: 1.7;
}

.msp-contact-form label,
.msp-contact-form .wpforms-field-label {
	color: #312e29;
	font-family: "Jura", Arial, sans-serif;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.msp-contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.msp-contact-form textarea,
.msp-contact-form select {
	width: 100% !important;
	min-height: 52px;
	padding: 12px 14px !important;
	color: var(--msp-ink) !important;
	background: #f8f7f4 !important;
	border: 1px solid rgba(39, 34, 24, 0.18) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.msp-contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.msp-contact-form input:focus,
.msp-contact-form textarea:focus,
.msp-contact-form select:focus {
	border-color: var(--msp-gold-dark) !important;
	outline: 1px solid var(--msp-gold-dark);
}

.msp-contact-form input[type="submit"],
.msp-contact-form button[type="submit"],
.msp-contact-form .wpforms-submit {
	min-height: 52px !important;
	padding: 0 28px !important;
	color: #13110d !important;
	background: var(--msp-gold) !important;
	border: 1px solid var(--msp-gold) !important;
	border-radius: 0 !important;
	font-family: "Jura", Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Gallery */
.msp-gallery-content {
	padding: clamp(74px, 8vw, 120px) 0;
	background: var(--msp-paper);
}

.msp-gallery-content .wp-block-gallery,
.msp-gallery-content .blocks-gallery-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px !important;
	width: 100%;
	margin: 0;
	padding: 0;
}

.msp-gallery-content .wp-block-gallery figure,
.msp-gallery-content .blocks-gallery-item {
	width: auto !important;
	margin: 0 !important;
	overflow: hidden;
	background: #ddd8ce;
}

.msp-gallery-content .wp-block-gallery img,
.msp-gallery-content .blocks-gallery-item img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.msp-gallery-content .wp-block-gallery figure:hover img,
.msp-gallery-content .blocks-gallery-item:hover img {
	transform: scale(1.025);
}

@media (max-width: 900px) {
	.msp-page-split,
	.msp-about-hero__grid,
	.msp-about-lead__grid,
	.msp-contact-body__grid {
		grid-template-columns: 1fr;
	}

	.msp-about-monogram {
		width: min(330px, 75vw);
	}

	.msp-alpr-value__grid,
	.msp-about-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msp-alpr-value__grid article:nth-child(2),
	.msp-about-values__grid article:nth-child(2) {
		border-right: 0;
	}

	.msp-alpr-interface__grid,
	.msp-gallery-content .wp-block-gallery,
	.msp-gallery-content .blocks-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msp-alpr-interface figure:nth-child(2) {
		transform: none;
	}
}

@media (max-width: 680px) {
	.msp-alpr-hero {
		min-height: 800px;
	}

	.msp-alpr-hero h1 {
		font-size: clamp(68px, 24vw, 102px);
	}

	.msp-alpr-hero ul,
	.msp-alpr-value__grid,
	.msp-about-values__grid,
	.msp-alpr-interface__grid,
	.msp-gallery-content .wp-block-gallery,
	.msp-gallery-content .blocks-gallery-grid {
		grid-template-columns: 1fr;
	}

	.msp-alpr-value__grid article,
	.msp-alpr-value__grid article:first-child,
	.msp-about-values__grid article,
	.msp-about-values__grid article:first-child {
		min-height: 0;
		padding: 28px 0;
		border-right: 0;
		border-bottom: 1px solid var(--msp-line);
	}

	.msp-alpr-value__grid h3,
	.msp-about-values__grid h3 {
		margin-top: 30px;
	}

	.msp-alpr-interface img {
		aspect-ratio: 4 / 5;
	}

	.msp-about-lead__portrait {
		min-height: 360px;
	}

	.msp-contact-hero h1,
	.msp-gallery-hero h1 {
		font-size: clamp(46px, 15vw, 64px);
		overflow-wrap: anywhere;
	}

	.msp-contact-form {
		margin-inline: -8px;
	}
}

/* Projects portfolio */
.msp-projects {
	--msp-project-blue: #175fba;
	--msp-project-navy: #071426;
	--msp-project-cream: #f4f1eb;
	color: #161a20;
	background: var(--msp-project-cream);
}

.msp-projects-hero {
	position: relative;
	display: grid;
	min-height: min(790px, calc(100svh - 96px));
	overflow: hidden;
	color: #fff;
	background: var(--msp-project-navy);
	isolation: isolate;
}

.msp-projects-hero > img,
.msp-projects-hero__veil {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.msp-projects-hero > img {
	z-index: -2;
	object-fit: cover;
	object-position: 69% center;
	filter: saturate(.82) contrast(1.03);
	transform: scale(1.015);
}

.msp-projects-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(4, 13, 25, .98) 0%, rgba(5, 17, 34, .9) 42%, rgba(5, 17, 34, .42) 72%, rgba(5, 17, 34, .65) 100%),
		linear-gradient(180deg, rgba(3, 9, 18, .12) 45%, rgba(3, 10, 20, .92) 100%);
}

.msp-projects-hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: min(var(--msp-shell), calc(100% - 48px));
	margin-inline: auto;
	padding-top: clamp(92px, 9vw, 136px);
	padding-bottom: 42px;
}

.msp-projects-hero__copy {
	max-width: 860px;
}

.msp-projects-hero .msp-eyebrow,
.msp-project-feature .msp-eyebrow,
.msp-projects-cta .msp-eyebrow {
	color: #69aaff;
}

.msp-projects-hero .msp-eyebrow::before,
.msp-project-feature .msp-eyebrow::before,
.msp-projects-cta .msp-eyebrow::before {
	background: #2380ed;
}

.msp-projects-hero h1 {
	margin: 24px 0 0;
	color: #fff !important;
	font-size: clamp(58px, 6.2vw, 100px);
	font-weight: 600;
	letter-spacing: -.065em;
	line-height: .9;
	text-wrap: balance;
}

.msp-projects-hero h1 em {
	color: #7db5f5;
	font-style: normal;
	font-weight: 500;
}

.msp-projects-hero__copy > p:not(.msp-eyebrow) {
	max-width: 680px;
	margin: 30px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 17px;
	line-height: 1.75;
}

.msp-projects-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-top: 36px;
	color: #fff;
	font-family: "Jura", Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.msp-projects-hero__link span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.msp-projects-hero__link:hover span {
	background: var(--msp-project-blue);
	border-color: var(--msp-project-blue);
	transform: translateY(3px);
}

.msp-projects-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 930px;
	border-top: 1px solid rgba(255,255,255,.18);
}

.msp-projects-hero__stats > div {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 26px 34px 0 0;
	border-right: 1px solid rgba(255,255,255,.18);
}

.msp-projects-hero__stats > div + div {
	padding-left: 34px;
}

.msp-projects-hero__stats > div:last-child {
	border-right: 0;
}

.msp-projects-hero__stats strong {
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 600;
	letter-spacing: -.04em;
}

.msp-projects-hero__stats span {
	max-width: 120px;
	color: rgba(255,255,255,.58);
	font-size: 11px;
	letter-spacing: .04em;
	line-height: 1.4;
	text-transform: uppercase;
}

.msp-projects-index {
	padding: clamp(92px, 9vw, 142px) 0;
	background: #fff;
}

.msp-projects-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
	align-items: end;
	gap: 60px;
	padding-bottom: 48px;
	border-bottom: 1px solid #dedbd4;
}

.msp-projects-heading h2 {
	margin: 12px 0 0;
	font-size: clamp(48px, 5vw, 76px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: .96;
}

.msp-projects-heading > p {
	margin: 0;
	color: #6d7179;
	font-size: 15px;
	line-height: 1.75;
}

.msp-projects-toolbar {
	display: flex;
	gap: 9px;
	margin: 38px 0 48px;
	overflow-x: auto;
	scrollbar-width: none;
}

.msp-projects-toolbar::-webkit-scrollbar {
	display: none;
}

.msp-projects-toolbar button {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 18px;
	color: #4d535b;
	background: #fff;
	border: 1px solid #d8d9db;
	border-radius: 2px;
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.msp-projects-toolbar button:hover,
.msp-projects-toolbar button.is-active {
	color: #fff;
	background: var(--msp-project-blue);
	border-color: var(--msp-project-blue);
}

.msp-projects-toolbar button:focus-visible,
.msp-project-card button:focus-visible,
.msp-project-feature button:focus-visible,
.msp-project-viewer button:focus-visible {
	outline: 2px solid #4f9fff;
	outline-offset: 3px;
}

.msp-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 24px;
}

.msp-project-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dedfe1;
	box-shadow: 0 18px 42px rgba(18, 27, 42, .04);
	transition: box-shadow .35s ease, transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}

.msp-project-card[hidden] {
	display: none !important;
}

.msp-project-card:hover {
	box-shadow: 0 28px 64px rgba(16, 31, 53, .12);
	transform: translateY(-5px);
}

.msp-project-card:nth-child(3n) {
	grid-column: span 2;
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
}

.msp-project-card__media {
	position: relative;
	display: block;
	width: 100%;
	height: 360px;
	padding: 0;
	overflow: hidden;
	background: #d8dbe0;
	border: 0;
	cursor: pointer;
}

.msp-project-card:nth-child(3n) .msp-project-card__media {
	height: 510px;
}

.msp-project-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 48%, rgba(3,10,20,.6));
	pointer-events: none;
}

.msp-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.22,1,.36,1), filter .45s ease;
}

.msp-project-card:hover .msp-project-card__media img {
	filter: saturate(1.08);
	transform: scale(1.035);
}

.msp-project-card__number,
.msp-project-card__expand {
	position: absolute;
	z-index: 2;
	color: #fff;
}

.msp-project-card__number {
	left: 22px;
	top: 20px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	background: rgba(5,16,31,.72);
	border: 1px solid rgba(255,255,255,.28);
	backdrop-filter: blur(10px);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
}

.msp-project-card__expand {
	right: 22px;
	bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	transform: translateY(8px);
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
}

.msp-project-card:hover .msp-project-card__expand,
.msp-project-card__media:focus-visible .msp-project-card__expand {
	transform: none;
	opacity: 1;
}

.msp-project-card__body {
	padding: 28px 30px 30px;
}

.msp-project-card:nth-child(3n) .msp-project-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 5vw, 64px);
}

.msp-project-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 21px;
}

.msp-project-card__tags span {
	padding: 6px 9px;
	color: #165ba9;
	background: #edf5ff;
	border: 1px solid #d7e8fb;
	font-family: "Jura", Arial, sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.msp-project-card__type {
	margin: 0 0 9px !important;
	color: #8a8e95 !important;
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px !important;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.msp-project-card h3 {
	margin: 0;
	font-size: clamp(25px, 2.4vw, 34px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.msp-project-card__body > p:not(.msp-project-card__type) {
	margin: 16px 0 0;
	color: #696e76;
	font-size: 14px;
	line-height: 1.7;
}

.msp-project-card__action,
.msp-project-feature__actions button {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 16px;
	margin-top: 25px;
	padding: 0 0 7px;
	color: #175fae;
	background: none;
	border: 0;
	border-bottom: 1px solid #a7c7eb;
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}

.msp-project-card__action span,
.msp-project-feature__actions button span {
	transition: transform .25s ease;
}

.msp-project-card__action:hover span,
.msp-project-feature__actions button:hover span {
	transform: translateX(4px);
}

.msp-project-feature {
	padding: clamp(86px, 9vw, 140px) 0;
	color: #fff;
	background:
		radial-gradient(circle at 82% 12%, rgba(25,104,203,.22), transparent 34%),
		linear-gradient(135deg, #06111f, #07182d 58%, #06111e);
}

.msp-project-feature__inner {
	display: grid;
	grid-template-columns: minmax(330px, .74fr) minmax(0, 1.26fr);
	align-items: center;
	gap: clamp(60px, 8vw, 124px);
}

.msp-project-feature h2 {
	margin: 18px 0 0;
	font-size: clamp(45px, 5vw, 76px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: .98;
}

.msp-project-feature__copy > p:not(.msp-eyebrow) {
	margin: 26px 0 0;
	color: rgba(255,255,255,.66);
	font-size: 15px;
	line-height: 1.75;
}

.msp-project-feature__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 14px;
	margin-top: 32px;
}

.msp-project-feature__metrics span {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: rgba(255,255,255,.5);
	font-size: 9px;
	letter-spacing: .04em;
	line-height: 1.4;
	text-transform: uppercase;
}

.msp-project-feature__metrics strong {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -.03em;
}

.msp-project-feature__actions {
	display: flex;
	align-items: center;
	gap: 27px;
	margin-top: 38px;
}

.msp-project-feature__actions .msp-button {
	color: #fff;
	background: var(--msp-project-blue);
	border-color: var(--msp-project-blue);
}

.msp-project-feature__actions button {
	margin-top: 0;
	color: #8fc2ff;
	border-color: rgba(143,194,255,.45);
}

.msp-project-feature__visual {
	position: relative;
	width: 100%;
	padding: 0;
	overflow: hidden;
	background: #030b15;
	border: 1px solid rgba(126,181,248,.22);
	box-shadow: 0 40px 90px rgba(0,0,0,.42);
	cursor: pointer;
	transform: perspective(1200px) rotateY(-2deg);
	transition: border-color .3s ease, transform .5s cubic-bezier(.22,1,.36,1);
}

.msp-project-feature__visual:hover {
	border-color: rgba(126,181,248,.52);
	transform: perspective(1200px) rotateY(0) translateY(-5px);
}

.msp-project-feature__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.22,1,.36,1);
}

.msp-project-feature__visual:hover img {
	transform: scale(1.02);
}

.msp-project-feature__visual span {
	position: absolute;
	right: 20px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 15px;
	color: #fff;
	background: rgba(3,12,24,.8);
	border: 1px solid rgba(255,255,255,.2);
	backdrop-filter: blur(12px);
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.msp-projects-cta {
	padding: clamp(76px, 8vw, 112px) 0;
	color: #fff;
	background: #090d14;
	border-top: 1px solid rgba(255,255,255,.1);
}

.msp-projects-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
	align-items: end;
	gap: 80px;
}

.msp-projects-cta h2 {
	margin: 14px 0 0;
	color: #fff !important;
	font-size: clamp(43px, 5vw, 70px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: .98;
}

.msp-projects-cta__inner > div:last-child p {
	margin: 0;
	color: rgba(255,255,255,.6);
	font-size: 14px;
	line-height: 1.75;
}

.msp-projects-cta .msp-button {
	margin-top: 28px;
	color: #fff;
	background: var(--msp-project-blue);
	border-color: var(--msp-project-blue);
}

.msp-project-viewer {
	inset: 0;
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: #fff;
	background: #02060c;
	border: 0;
	box-shadow: none;
}

.msp-project-viewer::backdrop {
	background: #02060c;
}

.msp-project-viewer__panel {
	position: relative;
	height: 100dvh;
	overflow: hidden;
}

.msp-project-viewer header {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 22px 28px 42px;
	background: linear-gradient(180deg, rgba(2, 6, 12, .96) 0%, rgba(2, 6, 12, .72) 58%, transparent 100%);
}

.msp-project-viewer header p {
	margin: 0 0 5px;
	color: #72adf3;
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.msp-project-viewer header h2 {
	max-width: min(900px, 70vw);
	overflow: hidden;
	margin: 0;
	color: #fff !important;
	font-size: clamp(18px, 1.5vw, 24px);
	font-weight: 500;
	letter-spacing: -.025em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.msp-project-viewer header button {
	display: grid;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	place-items: center;
	color: #fff;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 50%;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.msp-project-viewer__stage {
	position: absolute;
	inset: 0;
	display: grid;
	min-width: 0;
	min-height: 0;
	padding: 82px 88px 104px;
	place-items: center;
	background: radial-gradient(circle at center, #0b1119 0%, #02060c 72%);
	touch-action: pan-y;
}

.msp-project-viewer__stage > button {
	position: absolute;
	z-index: 14;
	top: 50%;
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	color: rgba(255,255,255,.76);
	background: rgba(10, 17, 27, .76);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	backdrop-filter: blur(10px);
	font-size: 24px;
	cursor: pointer;
	transform: translateY(-50%);
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.msp-project-viewer__stage > button:first-child {
	left: 24px;
}

.msp-project-viewer__stage > button:last-child {
	right: 24px;
}

.msp-project-viewer__stage > button:hover {
	color: #fff;
	background: #175fba;
	transform: translateY(-50%) scale(1.04);
}

.msp-project-viewer figure {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.wp-site-blocks .ms-page .msp-project-viewer figure img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain;
	opacity: 1;
	transition: opacity .22s ease;
}

.msp-project-viewer.is-loading figure img {
	opacity: .16;
}

.msp-project-viewer__loader {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: none;
	width: 40px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, .22);
	border-top-color: #72adf3;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: msp-viewer-spin .75s linear infinite;
}

.msp-project-viewer.is-loading .msp-project-viewer__loader {
	display: block;
}

@keyframes msp-viewer-spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.msp-project-viewer figcaption {
	position: absolute;
	left: 18px;
	bottom: 14px;
	max-width: min(620px, calc(100% - 36px));
	padding: 9px 12px;
	color: rgba(255,255,255,.82);
	background: rgba(2,8,16,.72);
	backdrop-filter: blur(8px);
	font-size: 12px;
	line-height: 1.5;
}

.msp-project-viewer footer {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	grid-template-columns: 80px minmax(0,1fr);
	align-items: center;
	gap: 18px;
	padding: 34px 24px 16px;
	background: linear-gradient(0deg, rgba(2, 6, 12, .98) 0%, rgba(2, 6, 12, .72) 60%, transparent 100%);
}

.msp-project-viewer footer > span {
	color: rgba(255,255,255,.62);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
}

.msp-project-viewer footer > div {
	display: flex;
	gap: 9px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.msp-project-viewer footer button {
	flex: 0 0 66px;
	width: 66px;
	height: 46px;
	padding: 0;
	overflow: hidden;
	background: #101a27;
	border: 2px solid transparent;
	opacity: .56;
	cursor: pointer;
}

.msp-project-viewer footer button.is-active {
	border-color: #4a9bf6;
	opacity: 1;
}

.msp-project-viewer footer img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.wp-site-blocks .ms-page .msp-project-single-hero > img,
.wp-site-blocks .ms-page .msp-projects-hero > img,
.wp-site-blocks .ms-page .msp-project-card__media img,
.wp-site-blocks .ms-page .msp-project-single-gallery__grid img,
.wp-site-blocks .ms-page .msp-project-related__media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

body.msp-viewer-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.msp-projects-hero {
		min-height: 760px;
	}

	.msp-projects-hero > img {
		object-position: 64% center;
	}

	.msp-projects-heading,
	.msp-project-feature__inner,
	.msp-projects-cta__inner {
		grid-template-columns: 1fr;
	}

	.msp-projects-grid {
		grid-template-columns: 1fr;
	}

	.msp-project-card:nth-child(3n) {
		grid-column: auto;
		display: block;
	}

	.msp-project-card:nth-child(3n) .msp-project-card__media {
		height: 420px;
	}

	.msp-project-feature__visual {
		transform: none;
	}
}

@media (max-width: 680px) {
	.msp-projects-hero {
		min-height: 720px;
	}

	.msp-projects-hero > img {
		object-position: 70% center;
	}

	.msp-projects-hero__veil {
		background: linear-gradient(90deg, rgba(4,13,25,.96), rgba(4,13,25,.68)), linear-gradient(180deg, rgba(3,9,18,.08) 38%, rgba(3,10,20,.96) 100%);
	}

	.msp-projects-hero__inner {
		width: min(var(--msp-shell), calc(100% - 32px));
		padding-top: 72px;
		padding-bottom: 24px;
	}

	.msp-projects-hero h1 {
		font-size: clamp(45px, 13.8vw, 65px);
		line-height: .93;
	}

	.msp-projects-hero__copy > p:not(.msp-eyebrow) {
		font-size: 14px;
		line-height: 1.65;
	}

	.msp-projects-hero__link {
		margin-top: 26px;
	}

	.msp-projects-hero__stats {
		grid-template-columns: repeat(3, minmax(0,1fr));
	}

	.msp-projects-hero__stats > div,
	.msp-projects-hero__stats > div + div {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
		padding: 17px 9px 0;
	}

	.msp-projects-hero__stats > div:first-child {
		padding-left: 0;
	}

	.msp-projects-hero__stats strong {
		font-size: 25px;
	}

	.msp-projects-hero__stats span {
		font-size: 8px;
	}

	.msp-projects-heading {
		gap: 24px;
		padding-bottom: 30px;
	}

	.msp-projects-heading h2 {
		font-size: 44px;
	}

	.msp-projects-toolbar {
		margin: 26px -20px 34px;
		padding-inline: 20px;
	}

	.msp-project-card__media,
	.msp-project-card:nth-child(3n) .msp-project-card__media {
		height: 290px;
	}

	.msp-project-card__body,
	.msp-project-card:nth-child(3n) .msp-project-card__body {
		padding: 23px 21px 25px;
	}

	.msp-project-card__expand {
		transform: none;
		opacity: 1;
	}

	.msp-project-feature__inner {
		gap: 42px;
	}

	.msp-project-feature h2 {
		font-size: 43px;
	}

	.msp-project-feature__metrics {
		gap: 8px;
	}

	.msp-project-feature__metrics strong {
		font-size: 22px;
	}

	.msp-project-feature__actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
	}

	.msp-project-feature__visual span {
		right: 10px;
		bottom: 10px;
	}

	.msp-projects-cta__inner {
		gap: 30px;
	}

	.msp-project-viewer {
		width: 100vw;
		height: 100dvh;
		border: 0;
	}

	.msp-project-viewer header {
		padding: 13px 14px 30px;
	}

	.msp-project-viewer header h2 {
		max-width: calc(100vw - 92px);
		font-size: 15px;
	}

	.msp-project-viewer__stage {
		position: absolute;
		inset: 0;
		padding: 68px 0 78px;
	}

	.msp-project-viewer__stage > button {
		z-index: 14;
		width: 42px;
		height: 42px;
		background: rgba(3,10,19,.62);
	}

	.msp-project-viewer__stage > button:first-child {
		left: 8px;
	}

	.msp-project-viewer__stage > button:last-child {
		right: 8px;
	}

	.msp-project-viewer figcaption {
		left: 8px;
		bottom: 8px;
		max-width: calc(100% - 16px);
		font-size: 10px;
	}

	.msp-project-viewer footer {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 8px;
		padding: 28px 10px 8px;
	}

	.msp-project-viewer footer button {
		flex-basis: 58px;
		width: 58px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.msp-project-card,
	.msp-project-card__media img,
	.msp-project-feature__visual,
	.msp-project-feature__visual img {
		transition: none !important;
	}
}

/* Managed single project */
.msp-project-single {
	--msp-project-blue: #175fba;
	color: #171c24;
	background: #f3f0ea;
}

.msp-project-single-hero {
	position: relative;
	min-height: min(850px, calc(100svh - 96px));
	overflow: hidden;
	color: #fff;
	background: #06111f;
	isolation: isolate;
}

.msp-project-single-hero > img,
.msp-project-single-hero__veil {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.msp-project-single-hero > img {
	z-index: -2;
	object-fit: cover;
	filter: saturate(.88) contrast(1.03);
}

.msp-project-single-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(3,11,23,.96) 0%, rgba(3,12,25,.83) 48%, rgba(3,12,25,.28) 82%),
		linear-gradient(180deg, rgba(2,8,16,.12) 35%, rgba(2,9,19,.88) 100%);
}

.msp-project-single-hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: inherit;
	padding-top: 44px;
	padding-bottom: 42px;
}

.msp-project-breadcrumb {
	display: flex;
	align-items: center;
	gap: 11px;
	color: rgba(255,255,255,.5);
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.msp-project-breadcrumb a {
	color: #8bc1ff;
}

.msp-project-breadcrumb a:hover {
	color: #fff;
}

.msp-project-single-hero__copy {
	max-width: 1050px;
	margin-top: auto;
	padding-top: 100px;
}

.msp-project-single-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.msp-project-single-hero__tags span {
	padding: 8px 11px;
	color: #ddecff;
	background: rgba(18,91,181,.26);
	border: 1px solid rgba(112,177,255,.4);
	backdrop-filter: blur(10px);
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.msp-project-single-hero h1 {
	max-width: 1050px;
	margin: 0;
	color: #fff !important;
	font-size: clamp(58px, 7.3vw, 118px);
	font-weight: 600;
	letter-spacing: -.07em;
	line-height: .88;
	text-wrap: balance;
}

.msp-project-single-hero__copy > p {
	max-width: 760px;
	margin: 30px 0 0;
	color: rgba(255,255,255,.7);
	font-size: clamp(17px, 1.6vw, 22px);
	line-height: 1.55;
}

.msp-project-single-hero__meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	max-width: 1120px;
	margin-top: 54px;
	border-top: 1px solid rgba(255,255,255,.2);
}

.msp-project-single-hero__meta > div {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 23px 30px 0;
	border-right: 1px solid rgba(255,255,255,.17);
}

.msp-project-single-hero__meta > div:first-child {
	padding-left: 0;
}

.msp-project-single-hero__meta > div:last-child {
	border-right: 0;
}

.msp-project-single-hero__meta small {
	color: rgba(255,255,255,.44);
	font-family: "Jura", Arial, sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.msp-project-single-hero__meta strong {
	font-size: 16px;
	font-weight: 500;
}

.msp-project-single-overview {
	padding: clamp(92px, 10vw, 154px) 0;
	background: #fff;
}

.msp-project-single-overview__grid {
	display: grid;
	grid-template-columns: minmax(0,1.2fr) minmax(340px,.62fr);
	align-items: start;
	gap: clamp(70px, 10vw, 150px);
}

.msp-project-single-content h2 {
	max-width: 850px;
	margin: 18px 0 0;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: 1;
	text-wrap: balance;
}

.msp-project-single-entry {
	max-width: 800px;
	margin-top: 38px;
	color: #666c74;
	font-size: 17px;
	line-height: 1.85;
}

.msp-project-single-entry > *:first-child {
	margin-top: 0;
}

.msp-project-single-entry h2,
.msp-project-single-entry h3 {
	margin: 38px 0 14px;
	color: #171c24;
	font-size: 26px;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.msp-project-single-entry ul {
	padding-left: 20px;
}

.msp-project-single-scope {
	position: sticky;
	top: 124px;
	padding: 34px;
	background: #f4f2ed;
	border: 1px solid #dedbd4;
}

.msp-project-single-scope ol {
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.msp-project-single-scope li {
	display: grid;
	grid-template-columns: 34px minmax(0,1fr);
	align-items: baseline;
	gap: 13px;
	padding: 17px 0;
	border-top: 1px solid #d9d5cd;
}

.msp-project-single-scope li span {
	color: #1967bf;
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
}

.msp-project-single-scope li strong {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.msp-project-single-scope > p:not(.msp-eyebrow) {
	color: #686e76;
	font-size: 14px;
	line-height: 1.7;
}

.msp-project-single-gallery {
	padding: clamp(88px, 9vw, 140px) 0;
	background: #f3f0ea;
}

.msp-project-single-gallery header {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(320px,.62fr);
	align-items: end;
	gap: 70px;
	margin-bottom: 50px;
}

.msp-project-single-gallery header h2 {
	margin: 15px 0 0;
	font-size: clamp(46px, 5.5vw, 78px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .96;
}

.msp-project-single-gallery header > p {
	margin: 0;
	color: #6b7078;
	font-size: 14px;
	line-height: 1.75;
}

.msp-project-single-gallery__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0,1fr));
	grid-auto-rows: 240px;
	gap: 16px;
}

.msp-project-single-gallery__grid > button {
	position: relative;
	grid-column: span 4;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: hidden;
	background: #d7d5d0;
	border: 0;
	cursor: zoom-in;
}

.msp-project-single-gallery__grid > button:nth-child(1) {
	grid-column: span 8;
	grid-row: span 2;
}

.msp-project-single-gallery__grid > button:nth-child(2),
.msp-project-single-gallery__grid > button:nth-child(5n) {
	grid-row: span 2;
}

.msp-project-single-gallery__grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.22,1,.36,1), filter .4s ease;
}

.msp-project-single-gallery__grid button:hover img {
	filter: saturate(1.08);
	transform: scale(1.035);
}

.msp-project-single-gallery__grid button > span {
	position: absolute;
	right: 13px;
	bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	color: #fff;
	background: rgba(4,13,25,.72);
	border: 1px solid rgba(255,255,255,.22);
	backdrop-filter: blur(8px);
	font-family: "Jura", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
}

.msp-project-related {
	padding: clamp(88px, 9vw, 138px) 0;
	background: #fff;
}

.msp-project-related__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 48px;
	margin-bottom: 46px;
	padding-bottom: 34px;
	border-bottom: 1px solid #ddd9d1;
}

.msp-project-related__header h2 {
	margin: 14px 0 0;
	color: #171c24;
	font-size: clamp(43px, 4.8vw, 70px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: .98;
}

.msp-project-related__header > a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 7px;
	color: #175fba;
	border-bottom: 1px solid rgba(23, 95, 186, .35);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.msp-project-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.msp-project-related__card {
	min-width: 0;
}

.msp-project-related__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #d8d9db;
}

.msp-project-related__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .75s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.msp-project-related__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 52%, rgba(3, 11, 22, .46));
	pointer-events: none;
}

.msp-project-related__media > span {
	position: absolute;
	z-index: 2;
	right: 18px;
	bottom: 18px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: #fff;
	background: rgba(4, 13, 25, .72);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	backdrop-filter: blur(8px);
	transition: background .3s ease, transform .3s ease;
}

.msp-project-related__card:hover .msp-project-related__media img {
	filter: saturate(1.06);
	transform: scale(1.035);
}

.msp-project-related__card:hover .msp-project-related__media > span {
	background: #175fba;
	transform: translate(2px, -2px);
}

.msp-project-related__body {
	padding: 22px 2px 0;
}

.msp-project-related__body p {
	margin: 0 0 10px;
	color: #1766ba;
	font-family: "Jura", Arial, sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.msp-project-related__body h3 {
	margin: 0;
	font-size: clamp(23px, 2.1vw, 31px);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1.08;
}

.msp-project-related__body h3 a {
	color: #171c24;
}

.msp-project-single-result {
	padding: clamp(90px, 10vw, 150px) 0;
	color: #fff;
	background: linear-gradient(135deg, #071322, #0a1d35);
}

.msp-project-single-result .msp-shell {
	display: grid;
	grid-template-columns: minmax(200px,.36fr) minmax(0,1fr);
	gap: 70px;
}

.msp-project-single-result .msp-eyebrow {
	color: #75b2f8;
}

.msp-project-single-result h2 {
	max-width: 920px;
	margin: 0;
	font-size: clamp(45px, 5.5vw, 82px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .96;
}

.msp-project-single-result div > p {
	max-width: 720px;
	margin: 28px 0 0;
	color: rgba(255,255,255,.62);
	font-size: 16px;
	line-height: 1.8;
}

.msp-project-admin-edit {
	display: inline-flex;
	margin: 24px 0 0 20px;
	color: #8fc2ff;
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.msp-projects-empty {
	grid-column: 1 / -1;
	padding: 70px;
	text-align: center;
	background: #f5f3ef;
	border: 1px solid #dedbd4;
}

.msp-projects-empty h3 {
	margin: 0;
	font-size: 32px;
}

.msp-projects-empty p {
	color: #6c7178;
}

.msp-project-card h3 a {
	color: inherit;
}

.msp-project-card__media:focus-visible,
.msp-project-card__action:focus-visible,
.msp-project-feature__visual:focus-visible,
.msp-project-single-gallery button:focus-visible,
.msp-project-related a:focus-visible {
	outline: 3px solid #4c9df7;
	outline-offset: 3px;
}

@media (max-width: 980px) {
	.msp-project-single-overview__grid,
	.msp-project-single-gallery header,
	.msp-project-single-result .msp-shell {
		grid-template-columns: 1fr;
	}

	.msp-project-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msp-project-single-scope {
		position: static;
	}

	.msp-project-single-gallery__grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
		grid-auto-rows: 250px;
	}

	.msp-project-single-gallery__grid > button,
	.msp-project-single-gallery__grid > button:nth-child(1),
	.msp-project-single-gallery__grid > button:nth-child(2),
	.msp-project-single-gallery__grid > button:nth-child(5n) {
		grid-column: auto;
		grid-row: auto;
	}

	.msp-project-single-gallery__grid > button:first-child {
		grid-column: 1 / -1;
		grid-row: span 2;
	}
}

@media (max-width: 680px) {
	.msp-project-single-hero {
		min-height: 760px;
	}

	.msp-project-single-hero__inner {
		padding-top: 26px;
		padding-bottom: 24px;
	}

	.msp-project-single-hero__copy {
		padding-top: 64px;
	}

	.msp-project-single-hero h1 {
		font-size: clamp(46px, 14vw, 68px);
		line-height: .92;
	}

	.msp-project-single-hero__copy > p {
		font-size: 15px;
	}

	.msp-project-single-hero__meta {
		grid-template-columns: repeat(2, minmax(0,1fr));
		margin-top: 36px;
	}

	.msp-project-single-hero__meta > div,
	.msp-project-single-hero__meta > div:first-child {
		padding: 15px 10px 0;
	}

	.msp-project-single-hero__meta > div:nth-child(2) {
		border-right: 0;
	}

	.msp-project-single-content h2,
	.msp-project-single-gallery header h2,
	.msp-project-related__header h2,
	.msp-project-single-result h2 {
		font-size: 41px;
	}

	.msp-project-single-entry {
		font-size: 15px;
	}

	.msp-project-single-scope {
		padding: 25px 21px;
	}

	.msp-project-single-gallery__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 260px;
		gap: 10px;
	}

	.msp-project-single-gallery__grid > button:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.msp-project-related__header {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.msp-project-related__header > a {
		justify-self: start;
	}

	.msp-project-related__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.msp-project-admin-edit {
		display: flex;
		margin-left: 0;
	}
}
