:root {
	color-scheme: dark;
	font-family: Georgia, "Times New Roman", serif;
	background: #000;
	color: #f0efed;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-width: 280px;
	min-height: 100%;
	margin: 0;
	background: #000;
}

main {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: 100svh;
	overflow: hidden;
	padding: clamp(44px, 7vh, 82px) 24px;
	text-align: center;
}

main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: radial-gradient(ellipse at 50% 44%, #19191a 0, #080808 43%, #000 78%), repeating-radial-gradient(ellipse at 50% 50%, #ffffff05 0 1px, transparent 1px 7px);
}

main::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	box-shadow: inset 0 0 22vw 8vw #000;
	background: radial-gradient(ellipse at 14% 50%, #aab6bf0b 0, transparent 38%), radial-gradient(ellipse at 86% 48%, #aab6bf0a 0, transparent 39%);
}

.rain {
	position: fixed;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.fog {
	position: absolute;
	inset: 18% -18% 5%;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse at 26% 57%, #b7c2ce0f 0, transparent 42%), radial-gradient(ellipse at 72% 48%, #bec9cf0c 0, transparent 44%);
	filter: blur(34px);
	animation: drift 26s ease-in-out infinite alternate;
}

.memorial {
	position: relative;
	z-index: 2;
	width: min(820px, 100%);
	text-shadow: 0 2px 18px #000, 0 0 2px #fff4;
}

.years {
	margin: 0;
	padding-left: .36em;
	font-size: clamp(2.8rem, 7vw, 5.4rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: clamp(.25em, 1.5vw, .42em);
	white-space: nowrap;
}

.ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: min(410px, 72%);
	margin: 28px auto 22px;
	color: #d1121b;
}

.ornament::before,
.ornament::after {
	content: "";
	height: 1px;
	flex: 1;
	background: linear-gradient(90deg, transparent, currentColor);
}

.ornament::after {
	transform: scaleX(-1);
}

.mark {
	position: relative;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	transform: rotate(45deg);
	border: 1px solid currentColor;
}

.mark::before,
.mark::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.mark::before {
	width: 32px;
	height: 1px;
}

.mark::after {
	width: 1px;
	height: 32px;
}

h1 {
	margin: 0;
	padding-left: .35em;
	font-size: clamp(2.25rem, 5vw, 4.2rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: clamp(.24em, 1.3vw, .42em);
}

.message {
	margin: clamp(52px, 8vh, 82px) auto 0;
	font-size: clamp(1.18rem, 2.7vw, 2rem);
	line-height: 1.35;
	letter-spacing: clamp(.08em, .55vw, .16em);
	text-wrap: balance;
}

.message p {
	margin: 0;
}

.message p+p {
	margin-top: clamp(36px, 5vh, 54px);
}

.signature {
	margin: clamp(38px, 5vh, 58px) 0 0;
	font-size: clamp(1.15rem, 2.7vw, 1.85rem);
	letter-spacing: .12em;
}

.notice {
	margin-top: clamp(54px, 8vh, 86px);
}

.notice p {
	margin: 0;
	color: #c5c3c0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(.85rem, 1.7vw, 1rem);
	line-height: 1.75;
	letter-spacing: .055em;
}

.booking {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 51px;
	margin-top: 27px;
	padding: 15px 25px;
	border: 1px solid #c10c0ccc;
	background: #c10c0ccc;
	color: #e1dcd5;
	font: 400 .8125rem/1.4 Arial, Helvetica, sans-serif;
	letter-spacing: .13em;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}

.booking:hover {
	background: #191817;
	border-color: #b3aaa0;
}

.booking:focus-visible {
	outline: 2px solid #eeeae5;
	outline-offset: 6px;
}

@keyframes drift {
	from {
		transform: translate(-5%, 0);
		opacity: .35;
	}

	to {
		transform: translate(5%, 5%);
		opacity: .65;
	}
}

@media (max-width: 560px) {
	main {
		padding: 42px 18px 38px;
	}

	.years {
		padding-left: .18em;
		font-size: clamp(2.25rem, 12vw, 3.5rem);
		letter-spacing: .18em;
	}

	.ornament {
		width: min(300px, 78%);
		margin-block: 22px 18px;
	}

	h1 {
		padding-left: .17em;
		font-size: clamp(1.8rem, 9vw, 2.75rem);
		letter-spacing: .17em;
	}

	.message {
		font-size: 1.06rem;
		line-height: 1.7;
		letter-spacing: .045em;
	}

	.message p+p {
		margin-top: 30px;
	}

	.signature {
		margin-top: 34px;
		font-size: 1.05rem;
	}

	.notice {
		margin-top: 48px;
	}

	.notice p {
		font-size: .875rem;
	}

	.booking {
		width: min(100%, 310px);
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fog {
		animation: none;
		opacity: .4;
	}

	.booking {
		transition: none;
	}
}

.separatore-gotico {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	color: #f20d0d;
}

.separatore-gotico .croce {
	width: 30px;
	height: 55px;
	flex-shrink: 0;
	fill: currentColor;
}

.separatore-gotico .linea {
	height: 1px;
	flex: 1;
}

.separatore-gotico .linea-sx {
	background: linear-gradient(to right,
			transparent,
			currentColor);
}

.separatore-gotico .linea-dx {
	background: linear-gradient(to left,
			transparent,
			currentColor);
}


@media (max-width: 767px) {
	.cta-container {
		padding-bottom: 75px;
	}
}