/*
 * EMBLEM theme additions on top of the generated design styles (styles.css):
 * team bios from the editor, generic pages, form states and the cookie banner.
 * Design rules: headings 38px or smaller, body 15px, disclaimers at 50% opacity.
 */

/* Real phones (iOS Safari / Android Chrome) auto-inflate small text, which can make the project card badges
   (dark and outline chips) look broken. Desktop emulation never shows it. */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* Refreshing used to nudge the page down ~10-30px (and a little more on every refresh). Content above the
	   viewport settles as images and fonts load, and the browser's scroll anchoring scrolled to compensate.
	   Turning anchoring off keeps the position where the browser restored it. */
	overflow-anchor: none;
}

/* Team member bio (editor content; matches the design's inline paragraph styles). */
.v-team-member .emblem-bio p {
	margin: 16px 0 0;
	font-size: 15px;
	line-height: 26px;
	font-weight: 300;
	color: #d9d9d9;
	text-wrap: pretty;
}
.v-team-member .emblem-bio p:first-child {
	margin-top: 0;
}

/* Team member layout: portrait left, text right. styles.css has a stray, unconditional block (the Brittany Tsirlis
   rules) that stacks the profile at every width, so restore the two columns above phone width. Phones (640px and
   below) stack. This file loads after styles.css, so equal specificity wins. */
@media (min-width: 641px) {
	.v-team-member .pgrid {
		grid-template-columns: 300px minmax(0, 1fr) !important;
		column-gap: 72px !important;
		row-gap: 0 !important;
	}
	.v-team-member .pph {
		max-width: none;
	}
	.v-team-member .d-l {
		font-size: 36px !important;
		line-height: 44px !important;
	}
}
@media (min-width: 641px) and (max-width: 960px) {
	.v-team-member .pgrid {
		grid-template-columns: 220px minmax(0, 1fr) !important;
		column-gap: 40px !important;
	}
}

/* Generic pages (no design view). */
.emblem-generic__section {
	background: #000000;
	color: #ffffff;
	padding: 148px 48px 112px;
}
.emblem-generic__inner {
	max-width: 760px;
	margin: 0 auto;
}
.emblem-generic__title {
	margin: 0;
	font-size: 36px;
	line-height: 44px;
	font-weight: 300;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.emblem-generic__content {
	margin-top: 28px;
	font-size: 15px;
	line-height: 26px;
	color: #d9d9d9;
}
.emblem-generic__content p,
.emblem-generic__content ul,
.emblem-generic__content ol {
	margin: 16px 0 0;
	text-wrap: pretty;
}
.emblem-generic__content h2 {
	margin: 40px 0 0;
	font-size: 22px;
	line-height: 30px;
	font-weight: 300;
	color: #ffffff;
}
.emblem-generic__content a,
.emblem-generic__link {
	color: #ffffff;
	border-bottom: 1px solid #4d4d4f;
}
@media (max-width: 960px) {
	.emblem-generic__section {
		padding: 136px 24px 72px;
	}
	.emblem-generic__title {
		font-size: 30px;
		line-height: 38px;
	}
}

/* Form states added by forms.js. */
.emblem-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.emblem-form-error {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 20px;
	color: #ff9b9b;
}
.emblem-form-status {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 26px;
	color: #d9d9d9;
	text-wrap: pretty;
}
[aria-invalid="true"] {
	outline: 1px solid #ff9b9b;
	outline-offset: 2px;
}
[aria-busy="true"] {
	opacity: 0.6;
	pointer-events: none;
}

/* Cookie banner. Accept and Decline share one style: same size, same weight. */
.emblem-consent {
	position: fixed;
	left: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	max-width: 560px;
	box-sizing: border-box;
	padding: 24px 28px;
	background: #0d0d0d;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #d9d9d9;
	font-family: 'Helvetica Neue LT Std', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 20px;
	font-weight: 300;
}
.emblem-consent[hidden] {
	display: none;
}
.emblem-consent__text {
	margin: 0;
	text-wrap: pretty;
}
.emblem-consent__text a {
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px solid #4d4d4f;
}
.emblem-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 18px;
}
.emblem-consent__btn {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #ffffff;
	background: transparent;
	color: #ffffff;
	font-family: inherit;
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
}
.emblem-consent__btn:hover {
	background: #ffffff;
	color: #000000;
}
.emblem-consent__btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}
@media (max-width: 600px) {
	.emblem-consent {
		left: 16px;
		right: 16px;
		bottom: 16px;
		padding: 20px;
	}
}

/* Editable legal, subscribe and Homeowners FAQ links. */
#legal .emblem-legal-intro a,
#legal .emblem-legal-body a,
#subscribe .emblem-sub-note a,
.emblem-faq-answer a {
	color: #d9d9d9;
	border-bottom: 1px solid #4d4d4f;
	padding-bottom: 2px;
	text-decoration: none;
}

/* Shared baseline layout & responsive styles for brand-new projects added in WP Admin. */
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) section[id] {
	scroll-margin-top: 64px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) a {
	text-decoration: none;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .fs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .fs > div {
	padding: 20px 0 0 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .fs > div:first-child {
	padding-left: 0;
	border-left: 0;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .alist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: column;
	column-gap: 48px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .am3,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .kl {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 48px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .k5 {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: 32px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .k4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 48px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .al {
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
	min-height: 56px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 15px;
	line-height: 22px;
	color: #d9d9d9;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .al svg {
	flex: none;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .am {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cg {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi {
	margin: 0;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #0d0d0d;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi.w2 {
	grid-column: span 2;
	aspect-ratio: 8 / 3;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi.t2 {
	grid-row: span 2;
	aspect-ratio: auto;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 32px 16px 12px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
	color: #ffffff;
	font-size: 13px;
	line-height: 18px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .aw3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .aw2,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .g2,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .dg {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	align-items: start;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .dimg {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 24px;
	background: #1c1d1f;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .n4,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .n8,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nph,
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .wh4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nph figure {
	margin: 0;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nph .im {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #1c1d1f;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nph .im img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.14);
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp {
	position: relative;
	overflow: hidden;
	background: #1c1d1f;
	user-select: none;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .cl {
	position: absolute;
	inset: 0;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .cl img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .rg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	z-index: 4;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .tag {
	position: absolute;
	top: 20px;
	z-index: 3;
	padding: 4px 10px;
	background: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .hd2 {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 3;
	pointer-events: none;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .hd2 .ln {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.8);
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cmp .hd2 .kn {
	position: absolute;
	top: 50%;
	left: -24px;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.75);
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .btn {
	display: inline-block;
	border: 1px solid #ffffff;
	background: transparent;
	color: #ffffff;
	text-transform: uppercase;
	cursor: pointer;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .btn:hover {
	background: #ffffff;
	color: #000000;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .fld {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	margin-top: 6px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .chk {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: none;
	accent-color: #ffffff;
}
.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .lnk {
	padding: 0;
	border: 0;
	border-bottom: 1px solid #ffffff;
	background: transparent;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}
@media (max-width: 960px) {
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .pad {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .sec {
		height: auto !important;
		padding-top: 80px !important;
		padding-bottom: 80px !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .snl {
		display: none !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .split,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .split2,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .g2,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .dg,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .aw2,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .aw3,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .fs,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .alist,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .am3,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .kl,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .k4,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .k5,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .n4,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .n8,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .nph,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .wh4,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .sf,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cr3 {
		grid-template-columns: minmax(0, 1fr) !important;
		height: auto !important;
		row-gap: 32px;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .alist {
		grid-template-rows: none !important;
		grid-auto-flow: row !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cg,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .am {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .am > *,
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .cgi.w2 {
		grid-column: span 2 !important;
		aspect-ratio: 4 / 3 !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .tmodal {
		padding: 56px 24px 36px !important;
	}
	.v-project:not(#v-page-allure):not(#v-page-design-district):not(#v-page-jarvis):not(#v-page-artform):not(#v-page-arte) .two {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Required-field marker (emblem_required_marker()) on every form, and the Speak with Us
   popup's "How did you hear about us?" select, styled like the popup's underlined fields. */
.emblem-req {
	margin-left: 2px;
	color: inherit;
}
#cf select.fld {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	cursor: pointer;
}
#cf select.fld option {
	background: #0d0d0d;
	color: #ffffff;
}
#cf [data-heard-other][hidden] {
	display: none;
}

/* Design District and Allure: keep the "Internationally Recognized." heading inside a phone screen. */
@media (max-width: 600px) {
	:is(#v-page-design-district, #v-page-allure) #awards h2 {
		font-size: 28px !important;
		line-height: 34px !important;
		text-wrap: balance;
	}
}

/* Arte and Artform: show more of the Square One photo on phones (4:3 instead of the generated 3:2). */
@media (max-width: 600px) {
	:is(#v-page-artform, #v-page-arte) .sq > figure {
		aspect-ratio: 4 / 3 !important;
	}
}

/* About Us "Inspiration" (#place): keep the full-bleed cinematic layout cohesive with #global and
   #detail, but limit the 2:1 lobby photo (2400x1200) to the upper portion and fade seamlessly into
   black behind the text so it doesn't upscale a zoomed 1.6x crop into blurriness on phones. */
@media (max-width: 600px) {
	#v-page-firm section#place::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 18%, rgba(0, 0, 0, 0.45) 44%, rgba(0, 0, 0, 0.92) 57%, #000000 63%) !important;
	}
	#v-page-firm section#place .ed > img {
		bottom: auto !important;
		height: 62% !important;
		transform-origin: 50% 100% !important;
		transform: scale(1.22);
	}
	.js-ed #v-page-firm section#place.in .ed > img {
		transform: scale(1.12);
	}
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
	#v-page-firm section#place .ed > img {
		transform: scale(1.12) !important;
		transform-origin: 50% 100% !important;
	}
}

/* Firm page pillar cards: two columns on phones leave "HOME TECHNOLOGY" wider than the card, so tighten the label and let it wrap. */
@media (max-width: 600px) {
	#v-page-firm .pc > div:last-child {
		gap: 10px !important;
	}
	#v-page-firm .pc > div:last-child > span:last-child {
		font-size: 11px !important;
		letter-spacing: 0.08em !important;
		overflow-wrap: anywhere;
	}
}

/* Projects page: mobile card image crops so landmarks and buildings aren't clipped. */
@media (max-width: 960px) {
	/* Allure: widen from 4:5 so the CN Tower stays visible on the left. */
	#v-page-projects #allure .ph {
		aspect-ratio: 5 / 4 !important;
	}
	#v-page-projects #allure .ph img {
		object-position: 50% 90% !important;
	}

	/* Artform: match the 4:3 photo so the building isn't cropped on the sides (consistent across Safari and Chromium). */
	#v-page-projects #artform .ph {
		aspect-ratio: 4 / 3 !important;
	}
	#v-page-projects #artform .ph img {
		object-view-box: none !important;
		transform: scale(1.15) !important;
		transform-origin: 55% 68% !important;
	}

	/* 1 Jarvis: more horizontal and top-aligned to show the full tower with less foreground brick. */
	#v-page-projects #jarvis .ph {
		aspect-ratio: 16 / 10 !important;
	}
	#v-page-projects #jarvis .ph img {
		object-position: 50% 0% !important;
	}

	/* Robinson Village: widen from 4:5 so the full building fits without side cropping. */
	#v-page-projects #robinson .ph {
		aspect-ratio: 4 / 3 !important;
	}
	#v-page-projects #robinson .ph img {
		object-position: 50% 100% !important;
	}

	/* 75 Wilson St.: narrow the frame slightly and zoom in on the tower to trim excess sky on top and sides (works across Safari and Chromium). */
	#v-page-projects #johnst .ph {
		aspect-ratio: 2 / 3 !important;
	}
	#v-page-projects #johnst .ph img {
		object-view-box: none !important;
		object-position: 39% 50% !important;
		transform: scale(1.18) !important;
		transform-origin: 50% 82% !important;
	}
}

/* Project card chips (every badge after the status, e.g. "Tour model suites"): styles.css (round 17, 600px and under) sets these to 11px / 16px line /
   2px 9px padding with !important, which leaves the text about 1px above centre on iOS Safari. Override it with the
   same selector plus the chip class, nudging the padding down 1px (3px top, 1px bottom); height stays 22px. */
@media (max-width: 600px) {
	#v-page-projects section#projects article.card > div:nth-child(2) > span.emblem-chip {
		padding: 3px 9px 1px !important;
	}
}
