/*
 * Roost Bainbridge: shared overrides (Nov 2026).
 * Loaded on every page right after the inline <style> block, so rules here win
 * over the page CSS at equal specificity. Page-specific CSS still lives inline.
 */

/* ------------------------------------------------------------------
 * Font fallback
 * Gotham loads from Cloud.typography a moment after the page renders.
 * Until then, show Arial scaled to Gotham's measured widths and vertical
 * metrics, so the swap doesn't reflow lines or jump from a serif.
 * (Measured Nov 2026: Gotham is 5.6–7.6% wider than Arial at each weight;
 * ascent 0.96em, descent 0.24em. Overrides are pre-divided by size-adjust.)
 * ------------------------------------------------------------------ */
@font-face {
	font-family: "Gotham Fallback";
	font-weight: 100 450;
	src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular");
	size-adjust: 106%;
	ascent-override: 90.6%;
	descent-override: 22.6%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Gotham Fallback";
	font-weight: 451 550;
	src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular");
	size-adjust: 107.5%;
	ascent-override: 89.3%;
	descent-override: 22.3%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Gotham Fallback";
	font-weight: 551 900;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
	size-adjust: 103.3%;
	ascent-override: 92.9%;
	descent-override: 23.2%;
	line-gap-override: 0%;
}

body {
	font-family: "Gotham A", "Gotham B", "Gotham Fallback", Arial, sans-serif;
}

::selection { background: rgba(229, 0, 34, 0.16); }

/* ------------------------------------------------------------------
 * Lists inside text blocks: left-aligned even where the block is centered
 * (e.g. the Live / Work columns), with the headings still centered.
 * ------------------------------------------------------------------ */
.container .textBlock ul {
	text-align: left;
	padding-left: 1.2em;
	margin: 0;
}
.container .textBlock ul li {
	padding: 0.25em 0;
}
.container .textBlock ul li::marker {
	color: #E50022;
}

/* ------------------------------------------------------------------
 * Contact form ("Submit A Form")
 * ------------------------------------------------------------------ */
.contactForm-box {
	padding-top: 40px;
	padding-bottom: 80px;
}
.contactUs-heading h2 {
	font-weight: 300;
	font-size: 35px;
	color: #404047;
	margin: 0 0 40px;
}
@media screen and (min-width: 560px) {
	.contactUs-heading h2 { font-size: 45px; }
}

.contactForm-section .form-group {
	margin-bottom: 28px;
}

/* Field labels: the nav's uppercase voice, quieter than the old 18px bold */
.contactForm-section label[for],
.contactForm-section .form-group-label label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1F1F22;
	padding-bottom: 10px;
}

/* "First Name" / "Last Name" hints under the name fields */
.contactForm-section span[for] {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #66666d;
}

.contactForm-section form input:not([type="checkbox"]):not([type="submit"]),
.contactForm-section textarea#message {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font: inherit;
	font-size: 16px; /* 16px keeps iOS from zooming on focus */
	color: #1F1F22;
	background: #fff;
	border: 1px solid #1F1F22;
	border-radius: 0;
	transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
	-webkit-appearance: none;
	appearance: none;
}
.contactForm-section textarea#message {
	height: auto;
	min-height: 180px;
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}
.contactForm-section form input:not([type="checkbox"]):not([type="submit"]):hover,
.contactForm-section textarea#message:hover {
	border-color: #000;
}
.contactForm-section form input:not([type="checkbox"]):not([type="submit"]):focus,
.contactForm-section textarea#message:focus {
	outline: none;
	border-color: #E50022;
	box-shadow: 0 0 0 3px rgba(229, 0, 34, 0.15);
}
.contactForm-section form input:user-invalid,
.contactForm-section textarea#message:user-invalid {
	border-color: #B3001B;
}

/* "How did you hear about this project?" options: an even, wrapping row */
.contactForm-section .form-group.required {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}
.contactForm-section .form-group.required .form-group-label {
	flex-basis: 100%;
}
.contactForm-section .form-group.required > label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #404047;
	cursor: pointer;
}
.contactForm-section .form-group.required > label label {
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit;
	cursor: inherit;
}
.contactForm-section form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #E50022;
	cursor: pointer;
}
.contactForm-section form input[type="checkbox"]:focus-visible {
	outline: 2px solid #E50022;
	outline-offset: 2px;
}

/* Send button */
.contactForm-section .form-submit-group {
	margin-top: 8px;
}
.contactForm-section input#btn_submit {
	height: 52px;
	padding: 0 56px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	background: #E50022;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 150ms ease-out, transform 100ms ease-out;
	-webkit-appearance: none;
	appearance: none;
}
.contactForm-section input#btn_submit:hover {
	background: #C4001D;
}
.contactForm-section input#btn_submit:active {
	transform: translateY(1px);
}
.contactForm-section input#btn_submit:focus-visible {
	outline: 2px solid #1F1F22;
	outline-offset: 3px;
}
.contactForm-section input#btn_submit:disabled {
	background: #b9b9be;
	cursor: default;
}

/* Phones: stack first/last name instead of squeezing them side by side */
@media screen and (max-width: 560px) {
	.contactForm-section .col-md-6 {
		width: 100%;
		float: none;
	}
	.contactForm-section .col-md-offset-2 {
		padding: 0 20px;
	}
	.contactForm-section input#btn_submit {
		width: 100%;
		padding: 0 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contactForm-section input,
	.contactForm-section textarea { transition: none; }
}
