/*
 * Bastion Arms landing page.
 * Gilmer is supplied with the project files. Bebas Neue is the display face.
 */

@font-face {
	font-family: "Gilmer";
	src: url("../fonts/gilmer-light.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilmer";
	src: url("../fonts/gilmer-regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilmer";
	src: url("../fonts/gilmer-medium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilmer";
	src: url("../fonts/gilmer-bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gilmer";
	src: url("../fonts/gilmer-heavy.otf") format("opentype");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Bebas Neue";
	src: url("../fonts/bebas-neue.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--ba-bg: #16191c;
	--ba-bg-deep: #121416;
	--ba-band: #14181c;
	--ba-card: #262a2d;
	--ba-card-2: #2a2e32;
	--ba-input: #34383c;
	--ba-line: rgba(255, 255, 255, 0.1);
	--ba-gold: #e2aa39;
	--ba-gold-line: #d4a84b;
	--ba-gold-deep: #6c3803;
	--ba-gold-mid: #bf882b;
	--ba-gold-bright: #fce87b;
	--ba-text: #f4f4f4;
	--ba-muted: #c5c7c9;
	--ba-soft: #aeb1b4;
	--ba-ink: #241c0e;
	--ba-wrap: 1140px;
	--ba-cut: 48px;
}

body.ba-landing {
	margin: 0;
	background: var(--ba-bg-deep);
	color: var(--ba-text);
	font-family: "Gilmer", "Segoe UI", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.ba-landing *,
body.ba-landing *::before,
body.ba-landing *::after {
	box-sizing: border-box;
}

body.ba-landing img {
	max-width: 100%;
	height: auto;
}

body.ba-landing a {
	color: inherit;
	text-decoration: none;
}

body.ba-landing h1,
body.ba-landing h2,
body.ba-landing h3,
body.ba-landing p,
body.ba-landing ul {
	margin: 0;
}

body.ba-landing ::selection {
	background: var(--ba-gold);
	color: var(--ba-ink);
}

html {
	scroll-behavior: smooth;
}

.ba-skip {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 10000;
	background: var(--ba-gold);
	color: var(--ba-ink);
	padding: 8px 12px;
	font-weight: 700;
}

.ba-skip:focus {
	top: 12px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.ba-landing :focus-visible {
	outline: 2px solid var(--ba-gold);
	outline-offset: 3px;
}

.ba-wrap {
	width: min(var(--ba-wrap), calc(100% - 48px));
	margin: 0 auto;
}

.ba-band {
	background-color: var(--ba-band);
	background-image: url("../images/pattern.svg");
	background-size: 720px 720px;
}

.ba-flat {
	background: var(--ba-bg);
}

.ba-header {
	position: relative;
	background: #101214;
	border-bottom: 1px solid var(--ba-line);
}

.ba-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 112px;
}

body.ba-landing .ba-logo__img,
body.ba-landing .ba-logo img {
	display: block;
	height: 82px;
	width: auto;
	max-width: none;
}

.ba-nav__list {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ba-nav__list a {
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ba-nav__list a:hover,
.ba-nav__list a:focus-visible {
	color: var(--ba-gold);
}

.ba-nav__toggle {
	display: none;
	width: 44px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: transparent;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.ba-nav__bar {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
}

.ba-hero {
	padding: 42px 0 56px;
}

.ba-chamfer {
	--cut: var(--ba-cut);
	position: relative;
	padding: 62px 12px 12px 12px;
}
.ba-chamfer__top2,
.ba-chamfer__top,
.ba-chamfer__right,
.ba-chamfer__bottom,
.ba-chamfer__left,
.ba-chamfer__cut {
	position: absolute;
	background: var(--ba-gold-line);
	pointer-events: none;
}

.ba-chamfer__top {
	top: 0;
	left: calc(var(--cut) + 40%);
	right: 0;
	height: 1px;
}
.ba-chamfer__top2 {
	top: var(--cut);
	left: 0;
	right: 60%;
	height: 1px;
}

.ba-chamfer__right {
	top: 0;
	right: 0;
	bottom: 0;
	width: 1px;
}

.ba-chamfer__bottom {
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
}

.ba-chamfer__left {
	top: var(--cut);
	left: 0;
	bottom: 0;
	width: 1px;
}

.ba-chamfer__cut {
	top: var(--cut);
	left: 40%;
	width: calc(var(--cut) * 1.42);
	height: 1px;
	transform-origin: left center;
	transform: rotate(-45deg);
}

.ba-hero__media {
	position: relative;
	background: #0c0e10;
}

.ba-hero__photo {
	display: block;
	width: 100%;
	height: auto;
}

.ba-hero__copy {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 46%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px 18px 28px 28px;
}

body.ba-landing .ba-hero__logo {
	width: min(220px, 78%);
	height: auto;
}

.ba-hero__tagline {
	margin-top: 16px!important;
	color: #f3f3f3;
	font-size: 18px;
	font-weight: 400;
}

.ba-hero__points {
	margin-top: 8px;
	color: var(--ba-gold);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ba-about {
	padding: 72px 0 64px;
	border-top: 1px solid var(--ba-line);
}

.ba-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 36px 70px;
	align-items: start;
}

.ba-kicker {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--ba-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.ba-kicker > span { color: var(--ba-gold)!important;}

.ba-kicker .ba-kicker__logo {
	width: auto;
	height: 18px;
	max-width: none;
	margin-top: 3px;
	flex: none;
}

.ba-kicker--dot .fa-solid {
	color: var(--ba-gold);
	padding-top:3px;
}

.ba-about h1 {
	font-family: "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(46px, 5.4vw, 60px);
	line-height: 0.9;
	letter-spacing: 0.01em;
	color: #fff;
	margin: 0 0 22px;
}

.ba-about h1 span {
	display: block;
	color: var(--ba-gold);
}

.ba-about__copy > p {
	color: var(--ba-muted);
	font-size: 18px;
	line-height: 1.65;
	margin: 0 0 16px!important;
}
.ba-about__copy h1 {
	margin: 40px 0!important;
}

.ba-offices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 22px;
}

.ba-office {
	background: #22262a;
	border-left: 3px solid;
	border-image: linear-gradient(
        to bottom,
        var(--ba-gold),
		var(--ba-gold-bright),
        var(--ba-gold-deep)
    ) 1;
	padding: 14px 14px 16px;
}

.ba-office__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ba-office h2,
.ba-feature h2 {
	font-family: "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.06em;
	color: #fff;
}

.ba-office p,
.ba-feature p {
	color: var(--ba-soft);
	font-size: 14px;
	line-height: 1.5;
}

.ba-flag {
	color: var(--ba-gold)!important;
}

.ba-features {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.ba-feature {
	position: relative;
	background: var(--ba-card-2);
	padding: 30px 40px 30px 30px;
	overflow: hidden;
}

.ba-feature::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ba-gold-deep), var(--ba-gold-mid) 18%, var(--ba-gold) 42%, var(--ba-gold-bright) 58%, var(--ba-gold) 78%, var(--ba-gold-mid));
}

.ba-feature::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border-top: 24px solid var(--ba-gold);
	border-right: 24px solid transparent;
}

.ba-feature h2 {
	margin-bottom: 8px;
}

.ba-inventory,
.ba-contact {
	padding: 56px 0;
	border-top: 1px solid var(--ba-line);
}

.ba-panel {
	border: 1px solid var(--ba-gold-line);
	border-radius: 16px;
	padding: 36px 34px 28px;
	background: rgba(12, 14, 16, 0.28);
}

.ba-inventory__title {
	display: flex;
	align-items: center;
	justify-content: left;
	gap: 12px;
	text-align: center;
	font-family: "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(28px, 3.4vw, 40px);
	letter-spacing: 0.04em;
	line-height: 1;
	color: #fff;
	margin: 26px 0!important;
}

.ba-inventory__title span {
	color: var(--ba-gold);
}

.ba-clock {
	color: var(--ba-gold);
	flex: none;
}

.ba-inventory__lead,
.ba-section-head p {
	margin: 16px auto 0;
	color: var(--ba-muted);
	font-size: 20px;
	line-height: 1.4;
}

.ba-text-link {
	color: var(--ba-gold);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-left: 4px;
}

.ba-inventory .ba-text-link {color: var(--ba-gold);}

.ba-text-link:hover {
	color: var(--ba-gold-deep);
}

.ba-inventory__photo {
	position: relative;
	margin-top: 26px;
}

body.ba-landing .ba-inventory__photo img:first-child {
	display: block;
	width: 100%;
	height: auto;
}

body.ba-landing .ba-inventory__mark {
	position: absolute;
	top: 22px;
	right: 22px;
	width: min(190px, 28%);
	height: auto;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.ba-faq {
	padding: 72px 0 64px;
	border-top: 1px solid var(--ba-line);
}

.ba-section-head {
	text-align: center;
	margin-bottom: 28px;
}

.ba-section-head .ba-kicker {
	justify-content: center;
}

.ba-section-head h2,
.ba-contact .ba-section-head h2 {
	font-family: "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(40px, 5vw, 58px);
	letter-spacing: 0.03em;
	line-height: 1;
	color: #fff;
	margin: 26px 0!important;
}

.ba-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ba-faq__item {
	background: #2c3034;
	border-left: 3px solid;
	border-image: linear-gradient(
        to bottom,
        var(--ba-gold),
		var(--ba-gold-bright),
        var(--ba-gold-deep)
    ) 1;
}

.ba-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 18px;
	cursor: pointer;
	list-style: none;
	color: #fff;
	font-family: "Bebas Neue", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.04em;
	line-height: 1.1;
	
}

.ba-faq__item summary::-webkit-details-marker {
	display: none;
}

.ba-chevron {
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--ba-gold);
	border-bottom: 2px solid var(--ba-gold);
	transform: rotate(45deg) translateY(-3px);
	flex: none;
}

.ba-faq__item:not([open]) .ba-chevron {
	transform: rotate(-45deg) translateY(2px);
}

.ba-faq__answer {
	margin: 0 18px 0 16px;
	padding: 10px 28px 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--ba-soft);
	font-size: 14.5px;
	line-height: 1.55;
}

.ba-contact .ba-panel {
	padding-bottom: 32px;
}

.ba-contact .contact-desc{
	padding: 0 10vw;
	font-size:20px!important;
}

.ba-alert {
	max-width: 760px;
	margin: 0 auto 18px;
	padding: 12px 14px;
	text-align: center;
	font-size: 15px;
}

.ba-alert--ok {
	background: rgba(226, 170, 57, 0.16);
	color: #f6e6bf;
}

.ba-alert--err {
	background: rgba(176, 64, 52, 0.22);
	color: #f3ccc8;
}

.ba-form {
	margin-top: 28px;
	position: relative;
}

.ba-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ba-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
}

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

.ba-field--full {
	grid-column: 1 / -1;
}

.wpforms-field label {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wpforms-field input,
.wpforms-field select, .wpforms-field-select select, .wpforms-container .wpforms-form .choices__inner,
.wpforms-field textarea {
	width: 100%;
	border: 0;
	background: var(--ba-input)!important;
	color: #fff;
	font-family: "Gilmer", "Segoe UI", sans-serif;
	font-size: 15px;
	padding: 13px 14px;
}

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

.wpforms-container .wpforms-form .choices .choices__inner{border-radius:0!important;border:0!important;min-height:46px!important;}
div.wpforms-container .wpforms-form .choices__list--dropdown .choices__item{color:var(--ba-card)!important;}
div.wpforms-container .wpforms-form .choices__list--single .choices__item{color:#FFFFFF!important;}
.wpforms-field select, .wpforms-field-select {
	appearance: none;
	padding-right: 40px;
	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 1.2 6 6.2 11 1.2' fill='none' stroke='%23E2AA39' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.wpforms-field option {
	background: #2c3136;
	color: #fff;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
	color: #8e9194;
}

.ba-form.is-submitted input:invalid,
.ba-form.is-submitted select:invalid,
.ba-form.is-submitted textarea:invalid {
	box-shadow: inset 0 0 0 1px #c45c4e;
}

.wpforms-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 22px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	background: linear-gradient(180deg, #f3d27a 0%, #e2aa39 46%, #c8922c 100%);
/*	font-family: "Bebas Neue", "Arial Narrow", sans-serif;*/
	font-weight: 700;
	font-size: 28px;
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 14px 18px 12px;
	text-transform:uppercase;
}

.wpforms-submit:hover {
	filter: brightness(1.06);
}
.wpforms-submit:disabled {
	cursor: wait;
	filter: saturate(0.8);
}

.ba-kicker .fa-solid,
.ba-button .fa-solid {
	letter-spacing: 0;
	line-height: 1;
}
.ba-kicker .fa-envelope {
	font-size: 20px;
	color: var(--ba-gold);
	margin-top: 3px;
}

.wpforms-submit::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f1d8";
	display: inline-block;
	margin-right: 10px;
	font-size: 0.72em;
	letter-spacing: 0;
	line-height: 1;
	vertical-align: 1px;
}

.ba-footer {
	background: #101214;
	border-top: 1px solid var(--ba-line);
	padding: 100px 0 26px;
}

.ba-footer__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1.35fr;
	gap: 10px 28px;
	align-items: start;
}

body.ba-landing .ba-footer__brand img {
	width: 168px;
	height: auto;
	max-width: none;
}

.ba-footer__col + .ba-footer__col {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	padding-left: 28px;
	min-height: 120px;
}

.ba-footer h2 {
	font-family: "Gilmer", "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 12px!important;
}

.ba-footer ul {
	list-style: none;
	padding: 0;
}


.ba-footer a {
	color: var(--ba-muted);
	font-size: 14.5px;
}

.ba-footer a:hover {
	color: var(--ba-gold);
}

.ba-footer__col p {
	color: var(--ba-soft);
	font-size: 14px;
	line-height: 1.55;
}

.ba-footer__legal {
	margin-top: 40px!important;
	text-align: center;
	color: #8d9094;
	font-size: 12.5px;
}

@media (max-width: 980px) {
	.ba-about__grid,
	.ba-footer__grid,
	.ba-offices {
		grid-template-columns: 1fr;
	}

	.ba-footer__col + .ba-footer__col {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		padding-top: 22px;
		min-height: 0;
	}

	.ba-hero__copy {
		width: 46%;
	}
}

@media (max-width: 860px) {
	.ba-nav__toggle {
		display: flex;
	}

	.ba-nav__list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 30;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #101214;
		border-bottom: 1px solid var(--ba-line);
		padding: 6px 0 12px;
	}

	.ba-nav.is-open .ba-nav__list {
		display: flex;
	}

	.ba-nav__list a {
		display: block;
		padding: 13px 22px;
	}

	.ba-header__inner {
		min-height: 84px;
	}

	body.ba-landing .ba-logo__img,
	body.ba-landing .ba-logo img {
		height: 64px;
	}
}

@media (max-width: 720px) {
	.ba-wrap {
		width: min(var(--ba-wrap), calc(100% - 28px));
	}

	.ba-hero {
		padding: 24px 0 36px;
	}

	.ba-hero__media {
		display: flex;
		flex-direction: column;
	}

	.ba-hero__copy {
		position: static;
		width: auto;
		padding: 8px 8px 18px;
	}

	.ba-hero__points {
		letter-spacing: 0.08em;
		font-size: 11px;
	}

	.ba-about,
	.ba-faq {
		padding: 48px 0;
	}

	.ba-panel {
		padding: 26px 16px 20px;
		border-radius: 12px;
	}

	.ba-form__row {
		grid-template-columns: 1fr;
	}

	.ba-inventory__title {
		flex-wrap: wrap;
	}

	.ba-faq__item summary {
		font-size: 18px;
		padding: 12px 14px;
	}

	.ba-about h1 {
		font-size: 44px;
	}
}
