html {
	scroll-behavior: smooth;
}

body.admin-bar .nav {
	top: 32px;
}

.siteNav {
	background: rgba(5, 5, 5, 0.96);
	border-bottom-color: rgba(213, 167, 65, 0.24);
	position: sticky;
	top: 0;
	z-index: 30;
}

.screenReaderText {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.pageIntro {
	padding: 86px 0 70px;
}

.pageIntro h1 {
	color: var(--paper);
	font-size: clamp(44px, 6vw, 82px);
	letter-spacing: 0;
	line-height: .98;
	max-width: 860px;
}

.pageIntro > p:last-child {
	color: #b8b2a8;
	font-size: 16px;
	line-height: 1.75;
	margin: 28px 0 0;
	max-width: 680px;
}

.pageIntro + .section {
	padding-top: 0;
}

.siteNav a:focus-visible,
.siteNav button:focus-visible,
.siteNav select:focus-visible,
.button:focus-visible,
.textLink:focus-visible,
.proofButton:focus-visible,
.briefProgress button:focus-visible,
.wizardBack:focus-visible,
.wizardNext:focus-visible {
	outline: 2px solid var(--gold2);
	outline-offset: 4px;
}

.siteNav .navlinks a.active {
	color: var(--gold2);
}

.siteNav .navlinks a.active::after {
	background: var(--gold);
	content: "";
	display: block;
	height: 1px;
	margin-top: 8px;
	width: 100%;
}

.mobileNavToggle {
	background: transparent;
	border: 1px solid rgba(213, 167, 65, 0.45);
	cursor: pointer;
	display: none;
	height: 42px;
	place-items: center;
	width: 42px;
}

.mobileNavToggle i {
	background: var(--gold2);
	display: block;
	height: 1px;
	margin: 0;
	width: 18px;
}

.mobileNavToggle[aria-expanded="true"] i:nth-of-type(1) {
	transform: translateY(6px) rotate(45deg);
}

.mobileNavToggle[aria-expanded="true"] i:nth-of-type(2) {
	opacity: 0;
}

.mobileNavToggle[aria-expanded="true"] i:nth-of-type(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.languageControl button[aria-pressed="true"] {
	background: rgba(213, 167, 65, 0.14);
	color: var(--gold2);
}

.siteNav + .translateEngine + main,
.siteNav + main {
	margin-top: 0;
}

.briefMessage,
.briefSaved {
	border: 1px solid rgba(213, 167, 65, 0.38);
	background: #0b0a08;
	margin-top: 22px;
	padding: 22px;
}

.briefMessage {
	color: #d7cfc2;
	font-size: 11px;
	line-height: 1.6;
}

.briefMessage.error {
	border-color: rgba(170, 64, 48, 0.55);
	color: #f0c4bc;
}

.briefSaved h3 {
	color: #e4d8c6;
	margin: 0 0 10px;
	font: 25px Georgia, serif;
}

.briefSaved p {
	color: #8f897f;
	margin: 0 0 18px;
	font-size: 11px;
	line-height: 1.7;
}

.briefSaved dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
	margin: 18px 0;
}

.briefSaved div {
	background: #0b0a08;
	padding: 13px;
}

.briefSaved dt {
	color: #8a806f;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin-bottom: 7px;
	font-size: 7px;
}

.briefSaved dd {
	color: #d7cfc2;
	overflow-wrap: anywhere;
	margin: 0;
	font-size: 10px;
	line-height: 1.5;
}

.briefSaved .button {
	justify-content: center;
	width: 100%;
	margin-top: 16px;
}

.wizardNext[disabled],
.formButton[disabled],
.calcButton[disabled] {
	cursor: wait;
	opacity: .65;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

@media (max-width: 1050px) {
	.siteNav {
		gap: 12px;
	}

	.mobileNavToggle {
		align-content: center;
		display: grid;
		gap: 5px;
		order: 2;
	}

	.siteNav .navlinks {
		background: rgba(5, 5, 5, 0.98);
		border: 1px solid rgba(213, 167, 65, 0.22);
		border-top: 0;
		box-shadow: 0 24px 45px rgba(0, 0, 0, 0.45);
		display: none;
		gap: 0;
		left: 0;
		padding: 8px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	body.navOpen .siteNav .navlinks {
		display: grid;
	}

	.siteNav .navlinks a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.11);
		min-height: 48px;
		padding: 16px;
	}

	.siteNav .navlinks a:last-child {
		border-bottom: 0;
	}

	.siteNav .navlinks a.active::after {
		margin-top: 6px;
		width: 48px;
	}

	.navTools {
		margin-left: auto;
		order: 3;
	}
}

@media (max-width: 782px) {
	body.admin-bar .nav {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.pageIntro {
		padding: 58px 0 52px;
	}

	.pageIntro h1 {
		font-size: 42px;
	}

	.pageIntro > p:last-child {
		font-size: 14px;
		margin-top: 22px;
	}
}

@media (max-width: 620px) {
	.briefSaved dl {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 440px) {
	.siteNav {
		width: min(1180px, 100% - 28px);
	}

	.navTools select {
		display: none;
	}
}
