/* Armor Heritages - landing page */

:root {
	--c-text: #232220;
	--c-copper: #8c6240;       /* darkened from mockup (#9f7249) for AA contrast */
	--c-copper-line: #7a5a3c;
	--c-band: #242422;
	--c-white: #fff;
	--font: "Noto Serif", Georgia, "Times New Roman", serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--c-text);
	background: #e8dcd1;
}

/* Fixed background: pseudo-element instead of background-attachment:fixed (broken on iOS) */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: #e8dcd1 url("img/fond-landing.jpg") center / cover no-repeat;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

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

.hero {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.25rem 1.5rem;
	text-align: center;
}

.hero__logo {
	margin: 0;
	width: 350px;
	max-width: 70vw;
}

.hero__baseline {
	margin: 2rem 0 0;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.hero__baseline-main,
.hero__baseline-sub {
	display: block;
}

.hero__baseline-main {
	font-size: 1.3rem;
	color: var(--c-text);
}

.hero__baseline-sub {
	margin-top: .35rem;
	font-size: 1.05rem;
	color: var(--c-copper);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 3.25rem;
	margin-top: 3rem;
}

.btn {
	display: inline-block;
	padding: .4rem 1.4rem;
	border-radius: 999px;
	background: var(--c-copper);
	color: var(--c-white);
	font-size: .95rem;
	text-decoration: none;
	transition: background-color .2s;
}

.btn:hover {
	background: #6f4c30;
}

.btn:focus-visible,
.hero__contact a:focus-visible {
	outline: 2px solid var(--c-text);
	outline-offset: 3px;
}

.hero__contact {
	margin-top: 3.25rem;
	font-style: normal;
	font-size: .95rem;
	line-height: 1.45;
}

.hero__contact-name {
	text-transform: uppercase;
}

.hero__contact a {
	color: inherit;
	text-underline-offset: 2px;
}

.hero__contact a:hover {
	color: var(--c-copper);
}

/* ---------- Bottom band ---------- */

.band {
	background: var(--c-band);
	color: var(--c-white);
	padding: 3.5rem 1.25rem 3.25rem;
}

.band__list {
	display: flex;
	justify-content: center;
	gap: 2rem 4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .02em;
}

.band__list li {
	flex: 0 0 12rem;
}

.band__list li::after {
	content: "";
	display: block;
	width: 3.2rem;
	height: 2px;
	margin: .9rem auto 0;
	background: var(--c-copper-line);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
	.band__list {
		gap: 2rem 1.5rem;
	}
}

@media (max-width: 640px) {
	.hero {
		padding-top: 2.5rem;
	}

	.hero__baseline-main {
		font-size: 1.1rem;
	}

	.hero__baseline-sub {
		font-size: .95rem;
	}

	.hero__actions {
		flex-direction: column;
		align-items: center;
		margin-top: 2.25rem;
	}

	.hero__contact {
		margin-top: 2.25rem;
		font-size: .9rem;
	}

	.band {
		padding: 2.5rem 1.25rem;
	}

	.band__list {
		flex-direction: column;
		align-items: center;
		gap: 1.75rem;
		font-size: 1rem;
	}

	.band__list li {
		flex-basis: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
}
