/*
 * Burrows Enterprises site styles.
 * Light theme, locked: jobsite phones in direct sun read dark-on-light best.
 * Brand indigo comes from the existing logo. Safety orange is the single accent.
 * Shape system: square corners everywhere.
 * Layers: header 20, menu panel 19, skip link 30.
 */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-variable-latin.woff2?v=258a93fe93") format("woff2-variations"), url("../fonts/archivo-variable-latin.woff2?v=258a93fe93") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #17142b;
	--ink-muted: #4b4865;
	--brand: #2e2252;
	--brand-hover: #43377a;
	--paper: #f4f5f8;
	--surface: #fcfcfd;
	--tint: #e7e8f1;
	--tint-deep: #d9dbe8;
	--line: #b9bccc;
	--line-input: #7c7f96;
	--accent: #f76707;
	--accent-hover: #ff7d24;
	--error: #b42318;
	--success: #1f6f43;

	--font: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
	--wide: 116%;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(56px, 8vw, 96px);
	--header-h: 68px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-weight: 420;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
	max-width: 100%;
}

h1,
h2,
h3 {
	margin: 0 0 0.5em;
	font-stretch: var(--wide);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--brand);
	text-wrap: balance;
}

h3 {
	font-size: 1.3rem;
	line-height: 1.25;
}

p {
	margin: 0 0 1em;
	max-width: 68ch;
}

a {
	color: var(--brand);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-color: var(--accent);
}

a:hover {
	color: var(--brand-hover);
}

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 30;
	padding: 12px 16px;
	background: var(--brand);
	color: var(--surface);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
	color: var(--surface);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.narrow > * {
	max-width: 760px;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 0;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	font-stretch: 108%;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.12s var(--ease-out);
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--ink);
}

.btn--primary:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--ink);
}

.btn--ghost {
	background: transparent;
	border-color: var(--brand);
	color: var(--brand);
}

.btn--ghost:hover {
	background: var(--brand);
	color: var(--surface);
}

.btn--lg {
	min-height: 56px;
	padding: 0 28px;
	font-size: 1.0625rem;
}

.btn--sm {
	min-height: 44px;
	padding: 0 16px;
	font-size: 0.9375rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.text-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--brand);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--surface);
	border-bottom: 2px solid var(--brand);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1400px;
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.brand {
	display: flex;
	align-items: center;
	flex: none;
	gap: 12px;
	margin-right: auto;
	text-decoration: none;
	color: var(--brand);
}

.brand picture {
	flex: none;
}

.brand img {
	width: 44px;
	height: 44px;
}

.brand__name {
	font-size: 1.125rem;
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.site-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 9px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--brand);
	box-shadow: inset 0 -3px 0 var(--accent);
}

.header-call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	font-weight: 700;
	font-stretch: 108%;
	color: var(--brand);
	text-decoration: none;
	white-space: nowrap;
}

.header-call .icon {
	width: 22px;
	height: 22px;
	color: var(--accent);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid var(--brand);
	background: transparent;
	color: var(--brand);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 24px;
	height: 24px;
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

@media (max-width: 1319px) {
	.js .nav-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 19;
		background: var(--surface);
		border-bottom: 2px solid var(--brand);
		box-shadow: 0 18px 30px -18px rgb(46 34 82 / 0.45);
	}

	.js .site-nav.is-open {
		display: block;
	}

	.js .site-nav ul {
		flex-direction: column;
		gap: 0;
		max-width: var(--wrap);
		margin: 0 auto;
		padding: 8px var(--gutter) 16px;
	}

	.js .site-nav a {
		min-height: 52px;
		font-size: 1.0625rem;
		border-bottom: 1px solid var(--tint-deep);
		box-shadow: none;
	}

	.js .site-nav a[aria-current="page"] {
		box-shadow: inset 4px 0 0 var(--accent);
		padding-left: 16px;
	}

	.site-header__inner {
		position: relative;
		gap: 12px;
	}

	/* Without JS the menu stays in the page as a scrollable row. */
	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
		height: auto;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	html:not(.js) .site-nav {
		order: 5;
		width: 100%;
		overflow-x: auto;
	}
}

@media (max-width: 760px) {
	.header-call__number {
		display: none;
	}

	.header-call {
		min-width: 48px;
		justify-content: center;
	}

	.header-bid {
		min-height: 44px;
		padding: 0 14px;
		font-size: 0.9375rem;
	}
}

@media (max-width: 560px) {
	.brand__name {
		display: none;
	}
}

@media (max-width: 380px) {
	.header-call__label {
		display: none;
	}

	.site-header__inner {
		gap: 8px;
	}
}

/* ---------- Photo slots ---------- */

.photo {
	margin: 0;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tint);
}

.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo:not(.photo--pending) {
	border: 2px solid var(--brand);
	box-shadow: 10px 10px 0 var(--tint-deep);
}

.service--feature .photo {
	box-shadow: none;
}

/* No photo yet: lapped courses of wrap with one taped seam. */
.photo--pending {
	display: grid;
	place-items: center;
	background-color: var(--tint);
	background-image:
		linear-gradient(90deg, transparent 63%, var(--accent) 63%, var(--accent) 66%, transparent 66%),
		repeating-linear-gradient(180deg, var(--tint) 0 46px, var(--tint-deep) 46px 50px, #cfd1e1 50px 52px);
	border: 2px solid var(--brand);
}

.photo__mark {
	width: 72px;
	height: 72px;
	padding: 14px;
	background: var(--surface);
	color: var(--brand);
	border: 2px solid var(--brand);
}

.photo__needed {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	padding: 8px 12px;
	background: var(--surface);
	border-left: 4px solid var(--accent);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
	padding: clamp(32px, 6vw, 72px) 0 var(--section);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.hero__title {
	font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.125rem);
	font-stretch: 104%;
	line-height: 1.12;
	letter-spacing: -0.025em;
	max-width: 22ch;
}

.hero__sub {
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
	color: var(--ink-muted);
	max-width: 40ch;
	margin-bottom: 28px;
}

.hero__actions,
.page-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (prefers-reduced-motion: no-preference) {
	.hero__copy > *,
	.hero__photo {
		animation: rise 0.7s var(--ease-out) both;
	}

	.hero__copy > :nth-child(2) {
		animation-delay: 0.08s;
	}

	.hero__copy > :nth-child(3) {
		animation-delay: 0.16s;
	}

	.hero__photo {
		animation-delay: 0.12s;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 860px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__title {
		max-width: 16ch;
	}
}

/* ---------- Shared section parts ---------- */

.section-title {
	font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2rem);
	max-width: 26ch;
}

.lede {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
	color: var(--ink-muted);
}

.small {
	font-size: 0.875rem;
	color: var(--ink-muted);
}

/* ---------- Intro + facts ---------- */

.intro {
	padding: var(--section) 0;
	border-top: 2px solid var(--brand);
	background: var(--surface);
}

.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.facts--wide {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 32px;
}

.facts__item {
	padding: 16px 18px;
	background: var(--paper);
	border-left: 5px solid var(--accent);
}

.facts dt {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink-muted);
}

.facts dd {
	margin: 4px 0 0;
	font-size: 1.35rem;
	font-weight: 800;
	font-stretch: var(--wide);
	line-height: 1.2;
	color: var(--brand);
}

@media (max-width: 860px) {
	.intro__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.facts {
		grid-template-columns: 1fr;
	}
}

/* ---------- Services bento ---------- */

.services {
	padding: var(--section) 0;
}

.services__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 16px;
	margin-top: 28px;
}

.service {
	display: flex;
	flex-direction: column;
	padding: 28px;
	background: var(--surface);
	border: 2px solid var(--brand);
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.service:hover {
	color: var(--ink);
	transform: translateY(-2px);
	box-shadow: 6px 6px 0 var(--brand);
}

.service--feature {
	grid-row: span 2;
	padding: 0;
}

.service--feature .photo {
	border: 0;
	border-bottom: 2px solid var(--brand);
}

.service__body {
	padding: 28px;
}

.service--tint {
	background: var(--tint);
}

.service--rule {
	border-top: 8px solid var(--accent);
}

.service__icon {
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	color: var(--brand);
}

.service__title {
	font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
}

.service p {
	color: var(--ink-muted);
}

.service__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-weight: 700;
	color: var(--brand);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

@media (max-width: 860px) {
	.services__grid {
		grid-template-columns: 1fr;
	}

	.service--feature {
		grid-row: auto;
	}
}

/* ---------- Scope sheet ---------- */

.scope {
	padding: var(--section) 0;
	background: var(--surface);
	border-top: 2px solid var(--brand);
	border-bottom: 2px solid var(--brand);
}

.scope__sheet {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 28px;
	border: 2px solid var(--brand);
}

.scope__col {
	padding: 24px 28px 28px;
}

.scope__col--do {
	border-right: 2px solid var(--brand);
}

.scope__col--dont {
	background: var(--paper);
}

.scope__title {
	margin: -24px -28px 20px;
	padding: 14px 28px;
	font-size: 1.125rem;
	background: var(--tint);
	border-bottom: 2px solid var(--brand);
}

.scope__col--do .scope__title {
	background: var(--brand);
	color: var(--surface);
}

.scope__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scope__list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-weight: 600;
}

.scope__list .icon {
	margin-top: 2px;
}

.scope__col--do .icon {
	color: var(--success);
}

.scope__col--dont .icon {
	color: var(--error);
}

@media (max-width: 760px) {
	.scope__sheet {
		grid-template-columns: 1fr;
	}

	.scope__col--do {
		border-right: 0;
		border-bottom: 2px solid var(--brand);
	}
}

/* ---------- Why builders use us ---------- */

.why {
	padding: var(--section) 0;
}

.why__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--brand);
}

.why__item {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 18px;
	padding: 28px 24px 24px 0;
	border-bottom: 1px solid var(--line);
}

.why__item:nth-child(odd) {
	padding-right: 32px;
	border-right: 1px solid var(--line);
}

.why__item:nth-child(even) {
	padding-left: 32px;
}

.why__icon {
	grid-row: span 2;
	width: 52px;
	height: 52px;
	padding: 12px;
	background: var(--accent);
	color: var(--ink);
}

.why__item h3 {
	margin-bottom: 6px;
}

.why__item p {
	margin: 0;
	color: var(--ink-muted);
}

@media (max-width: 760px) {
	.why__grid {
		grid-template-columns: 1fr;
	}

	.why__item:nth-child(odd),
	.why__item:nth-child(even) {
		padding: 24px 0;
		border-right: 0;
	}
}

/* ---------- Builders strip, projects, testimonials ---------- */

.builders,
.teaser,
.testimonials,
.projects,
.area {
	padding: var(--section) 0;
}

.builders__list,
.chip-list,
.area__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.builders__list li {
	padding: 14px 22px;
	border: 2px solid var(--brand);
	background: var(--surface);
	font-weight: 800;
	font-stretch: var(--wide);
	color: var(--brand);
}

.brand-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.brand-list__item {
	display: grid;
	place-items: center;
	min-height: 96px;
	padding: 16px 20px;
	background: #fff;
	border: 2px solid var(--brand);
}

.brand-list__item img {
	width: auto;
	max-width: 140px;
	max-height: 56px;
	height: auto;
}

.brand-list__name {
	font-size: 1.5rem;
	font-weight: 800;
	font-stretch: var(--wide);
	letter-spacing: 0.02em;
	color: var(--ink);
}

.chip-list li,
.area__list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: var(--tint);
	border: 1px solid var(--line);
	font-weight: 600;
}

.area__list .icon {
	color: var(--accent);
}

.project-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.project-card a {
	display: block;
	height: 100%;
	padding: 24px;
	background: var(--surface);
	border: 2px solid var(--brand);
	border-top: 8px solid var(--accent);
	color: var(--ink);
	text-decoration: none;
}

.project-card h2,
.project-card h3 {
	font-size: 1.3rem;
}

.project-card p {
	margin: 0 0 6px;
	color: var(--ink-muted);
}

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

.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.quote {
	margin: 0;
	padding: 28px;
	background: var(--surface);
	border-left: 6px solid var(--accent);
}

.quote blockquote {
	margin: 0 0 16px;
	font-size: 1.125rem;
	font-weight: 500;
}

.quote figcaption {
	color: var(--ink-muted);
}

.quote strong {
	color: var(--brand);
}

/* ---------- Bid band ---------- */

.bid-band {
	padding: clamp(40px, 6vw, 64px) 0;
	background: var(--tint);
	border-top: 6px solid var(--brand);
}

.bid-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.bid-band__title {
	font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
	margin-bottom: 8px;
}

.bid-band p {
	margin: 0;
	color: var(--ink-muted);
}

.bid-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Inner page heads ---------- */

.page-head {
	padding: clamp(32px, 5vw, 64px) 0 var(--section);
}

.page-head--plain {
	padding-bottom: clamp(32px, 5vw, 56px);
	border-bottom: 2px solid var(--brand);
}

.page-head__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.page-title {
	font-size: clamp(2rem, 1.5rem + 1.8vw, 2.625rem);
	letter-spacing: -0.02em;
}

.page-head .lede {
	margin-bottom: 24px;
}

.crumb {
	margin-bottom: 12px;
	font-weight: 600;
}

@media (max-width: 860px) {
	.page-head__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Service page blocks ---------- */

.prose-block,
.checklist,
.story {
	padding: var(--section) 0;
}

.prose h2 {
	font-size: 1.4rem;
	margin-top: 1.6em;
}

.prose h2:first-child {
	margin-top: 0;
}

.steps {
	padding: var(--section) 0;
	background: var(--surface);
	border-top: 2px solid var(--brand);
	border-bottom: 2px solid var(--brand);
}

.steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	border: 2px solid var(--brand);
}

.steps__item {
	padding: 28px;
}

.steps__item + .steps__item {
	border-left: 2px solid var(--brand);
}

.steps__item:nth-child(2) {
	background: var(--tint);
}

.steps__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	color: var(--accent);
}

.steps__item p {
	margin: 0;
	color: var(--ink-muted);
}

@media (max-width: 860px) {
	.steps__list {
		grid-template-columns: 1fr;
	}

	.steps__item + .steps__item {
		border-left: 0;
		border-top: 2px solid var(--brand);
	}
}

.spec {
	padding: var(--section) 0;
}

.spec__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(20px, 5vw, 64px);
	align-items: start;
}

.spec__body {
	padding-left: 28px;
	border-left: 6px solid var(--accent);
}

.spec__body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.spec__grid {
		grid-template-columns: 1fr;
	}
}

.tick-list {
	display: grid;
	gap: 14px;
	margin: 24px 0 28px;
	padding: 0;
	list-style: none;
}

.tick-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-weight: 600;
}

.tick-list .icon {
	margin-top: 2px;
	color: var(--success);
}

/* ---------- Contact ---------- */

.contact {
	padding: var(--section) 0;
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.contact-card {
	padding: 28px;
	background: var(--surface);
	border: 2px solid var(--brand);
}

.contact-card--primary {
	border-top: 8px solid var(--accent);
}

.contact-card__icon {
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	color: var(--brand);
}

.contact-card__title {
	font-size: 1.2rem;
	margin-bottom: 6px;
}

.contact-card p {
	color: var(--ink-muted);
}

.contact-card__number {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	font-size: 1.4rem;
	font-weight: 800;
	font-stretch: 108%;
	overflow-wrap: anywhere;
}

.contact-card__number--email {
	font-size: clamp(0.9375rem, 0.8rem + 0.6vw, 1.125rem);
	overflow-wrap: normal;
}

.contact-card__address {
	font-weight: 600;
	color: var(--ink) !important;
}

.contact-list {
	display: grid;
	gap: 18px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

.contact-list a {
	font-size: 1.125rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.contact-list .icon {
	margin-top: 4px;
	color: var(--accent);
}

/* ---------- Bid form ---------- */

.bid {
	padding: var(--section) 0;
}

.bid__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.bid-form,
.bid-done {
	padding: clamp(20px, 3vw, 36px);
	background: var(--surface);
	border: 2px solid var(--brand);
	border-top: 8px solid var(--accent);
}

.bid-form__note {
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

.req {
	color: var(--error);
	font-weight: 800;
}

.bid-form__errors {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-left: 5px solid var(--error);
	background: #fdf0ee;
	color: var(--error);
	font-weight: 600;
}

.bid-form__errors p {
	margin: 0;
}

.bid-form__errors ul {
	margin: 6px 0 0;
	padding-left: 20px;
}

.field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

@media (max-width: 600px) {
	.field-grid {
		grid-template-columns: 1fr;
	}
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.field--wide {
	grid-column: 1 / -1;
}

.field label,
.checks legend {
	font-weight: 700;
	font-size: 1rem;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 2px solid var(--line-input);
	border-radius: 0;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	border-color: var(--brand);
	outline: 3px solid var(--accent);
	outline-offset: 0;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: var(--error);
}

.field__error {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--error);
}

.checks {
	margin: 0;
	padding: 0;
	border: 0;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}

.checks legend {
	margin-bottom: 8px;
	padding: 0;
}

.check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--line-input);
	background: var(--surface);
	font-weight: 600 !important;
	cursor: pointer;
}

.check input {
	width: 20px;
	height: 20px;
	min-height: 0;
	accent-color: var(--brand);
}

.check:has(input:checked) {
	border-color: var(--brand);
	background: var(--tint);
}

.bid-form__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 28px;
}

.bid-form__hint {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

.bid-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bid-form {
	position: relative;
}

.bid-done__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 8px;
}

.bid-done__status {
	min-height: 1.6em;
	font-weight: 600;
	color: var(--success);
}

.bid-aside {
	padding: 24px;
	background: var(--tint);
	border-left: 6px solid var(--brand);
}

.bid-aside__title {
	font-size: 1.3rem;
}

@media (max-width: 900px) {
	.bid__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- 404 ---------- */

.not-found__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--surface);
	border-top: 6px solid var(--brand);
	padding-top: 48px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter) 40px;
}

.site-footer__name {
	margin-bottom: 8px;
	font-size: 1.2rem;
	font-weight: 800;
	font-stretch: var(--wide);
	color: var(--brand);
}

.site-footer p {
	color: var(--ink-muted);
}

.site-footer__staff {
	margin-top: 4px;
}

.site-footer__heading {
	font-size: 1rem;
	margin-bottom: 12px;
}

.site-footer__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list a {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0 6px;
	align-items: center;
	min-height: 40px;
	color: var(--ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-footer__list a:hover {
	color: var(--brand);
	text-decoration: underline;
}

.site-footer__list strong {
	color: var(--brand);
}

.site-footer__legal {
	max-width: none;
	margin: 0;
	padding: 18px var(--gutter);
	border-top: 1px solid var(--line);
	text-align: center;
	font-size: 0.875rem;
}

@media (max-width: 960px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.bid-band,
	.site-footer__inner {
		display: none;
	}
}
