:root {
	color-scheme: dark;
	font-family: 'Montserrat', 'Avenir Next', sans-serif;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #111;
	color: #f4f0bd;
}

* {
	box-sizing: border-box;
}

body {
	min-width: 240px;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	display: grid;
	place-items: center;
	background: #111;
}

.link-page {
	position: relative;
	isolation: isolate;
	width: min(100%, 460px);
	height: min(100svh, 900px);
	min-height: 560px;
	overflow: hidden;
	border: 1px solid rgba(244, 240, 189, 0.16);
	border-radius: 16px;
	background: #080808;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.portrait,
.photo-shade {
	position: absolute;
	z-index: -1;
	inset: 0;
	width: 100%;
	height: 100%;
}

.portrait {
	object-fit: cover;
	object-position: center 34%;
	filter: grayscale(1) brightness(0.76);
	transition: opacity 300ms ease;
}

.link-page.image-unavailable .portrait {
	opacity: 0;
}

.link-page.image-unavailable {
	background: radial-gradient(ellipse at 50% 38%, #45433e 0, #211f1d 34%, #080808 72%);
}

.photo-shade {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.6) 100%);
}

.page-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(22px, 5vh, 42px) clamp(20px, 8%, 40px) clamp(24px, 5vh, 42px);
}

.brand {
	width: 100%;
	text-align: center;
}

.brand h1 {
	margin: 0;
	color: #f4f0bd;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2.2rem, 9vw, 3.15rem);
	font-weight: 700;
	line-height: 1.06;
	text-transform: uppercase;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.link-list {
	width: 100%;
	display: grid;
	gap: clamp(8px, 1.5vh, 13px);
	margin-top: auto;
}

.link-button {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: #e8ee74;
	color: #282b18;
	font-size: clamp(0.68rem, 2.5vw, 0.82rem);
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.link-button:hover {
	transform: translateY(-2px);
	background: #f3f6a1;
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
}

.link-button:focus-visible,
.social-links a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.social-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	margin-top: clamp(18px, 4vh, 30px);
}

.social-links a {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	color: #fff;
	transition: transform 160ms ease, color 160ms ease;
}

.social-links a:hover {
	transform: translateY(-2px);
	color: #e8ee74;
}

.social-links svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.social-links .facebook-icon,
.social-links .filled-icon {
	fill: currentColor;
	stroke: none;
}

@media (min-width: 700px) and (min-height: 760px) {
	.link-page {
		height: min(92svh, 900px);
	}
}

@media (max-height: 620px) {
	.link-page {
		min-height: 0;
		height: 100svh;
		border-radius: 0;
	}

	.page-content {
		padding-top: 16px;
		padding-bottom: 14px;
	}

	.brand h1 {
		font-size: clamp(1.75rem, 7vh, 2.5rem);
	}

	.link-list {
		gap: 7px;
	}

	.link-button {
		min-height: 40px;
	}

	.social-links {
		margin-top: 12px;
	}
}

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