/*
Theme Name: Matteo Lovadina
Text Domain: matteo-lovadina
Description: Work-in-progress page for matteolovadina.com
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* Holding page (holding.php). Plain CSS, no Tailwind utilities needed. */

html {
	scroll-behavior: smooth;
}

body.holding {
	--ink: #f5f5f2;
	--muted: #a3a39e;
	--ground: #0a0a0a;
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--ground);
	color: var(--ink);
	font-family: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}

body.holding ::selection {
	background: var(--ink);
	color: var(--ground);
}

.hold {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12vh clamp(1.25rem, 6vw, 5rem) 6vh;
}

.hold__name {
	margin: 0;
	font-weight: 400;
	font-size: clamp(3.25rem, 11vw, 9rem);
	line-height: 0.92;
	letter-spacing: -0.035em;
}

.hold__motto {
	margin: 2.25rem 0 0;
	font-style: italic;
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	line-height: 1.3;
	color: var(--ink);
}

.hold__status {
	margin: 0.75rem 0 0;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.5;
	color: var(--muted);
}

.hold__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding: 1.5rem clamp(1.25rem, 6vw, 5rem) 2rem;
	border-top: 1px solid rgba(245, 245, 242, 0.18);
	font-size: 1rem;
	color: var(--muted);
}

.hold__foot a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: opacity 160ms ease;
}

.hold__foot a:focus-visible {
	outline: 1px solid var(--ink);
	outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
	.hold__foot a:hover {
		opacity: 0.7;
	}
}

/* One quiet arrival, nothing else moves. */
.hold__name,
.hold__motto,
.hold__status {
	animation: hold-in 900ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.hold__motto { animation-delay: 180ms; }
.hold__status { animation-delay: 300ms; }

@keyframes hold-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.hold__name,
	.hold__motto,
	.hold__status {
		animation: hold-fade 300ms ease both;
	}
	@keyframes hold-fade {
		from { opacity: 0; }
		to { opacity: 1; }
	}
}
