/* Johns Bins – responsive page style */

@font-face {
	font-family: "Stardos Stencil";
	src: url("fonts/stardos-stencil-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

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

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

body {
	min-height: 100vh;
	min-height: 100dvh;
	/* Same dark-red-to-black fade as the original background image */
	background: #000 linear-gradient(to bottom, #800000 0%, #960001 15%, #000 100%) no-repeat;
	background-attachment: fixed;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

.page {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(24px, 6vw, 52px) 16px 40px;
}

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

.logo img { width: 459px; }

.tagline {
	margin: 1.1rem 0 1.6rem;
	font-family: "Stardos Stencil", Stencil, Impact, "Arial Black", sans-serif;
	font-weight: 700;
	font-size: clamp(1.25rem, 4.5vw, 2rem);
	line-height: 1.15;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tagline:has(+ .since) { margin-bottom: .45rem; }

.since {
	margin-bottom: 1.6rem;
	font-size: clamp(1rem, 3.6vw, 1.3rem);
	font-style: italic;
	letter-spacing: .03em;
	color: #f3dede;
}

.photo {
	width: 753px;
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}

.contact {
	list-style: none;
	margin-top: 1.6rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
}

.contact a {
	display: inline-block;
	min-height: 48px;          /* comfortable tap target */
	padding: .2rem .6rem;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	overflow-wrap: anywhere;
}

.contact a:hover,
.contact a:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }

.phone {
	font-family: "Stardos Stencil", Stencil, Impact, "Arial Black", sans-serif;
	font-weight: 700;
	font-size: clamp(2.2rem, 10vw, 4rem);
	line-height: 1.1;
	letter-spacing: .03em;
}

.email {
	margin-top: .6rem;
	font-family: "Courier New", Courier, monospace;
	font-weight: 700;
	font-size: clamp(1.05rem, 4.6vw, 2.1rem);
	line-height: 1.6;
	text-decoration: underline !important;
	text-underline-offset: .2em;
}
