/* LFW 2027 — Splash page */
/* Anton: reale. "Placard Next Wide" (commerciale) → fallback Oswald */
:root {
	--nero: #000;
	--bianco: #fff;
	--rosso: #e8291c;
	--font-anton: 'Anton', 'Arial Narrow', sans-serif;
	--font-wide: 'Oswald', 'Arial Narrow', sans-serif;
	/* Sfondo hero: quanto nero sopra BG.webp (0 = foto piena, 1 = tutto nero) */
	--bg-overlay: .82;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--nero);
	color: var(--bianco);
	font-family: var(--font-wide);
	overflow-x: hidden;
}

/* ---- Menù 3 puntini ---- */
.menu-dots {
	position: fixed;
	top: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}
.menu-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bianco);
	transition: opacity .2s;
}
.menu-dots:hover span { opacity: .6; }

/* ---- Pagina 1: hero ---- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	/* BG.webp mascherato dal nero */
	background:
		linear-gradient(rgba(0,0,0,var(--bg-overlay)), rgba(0,0,0,var(--bg-overlay)));
	background-color: var(--nero);
	background-color: var(--nero);
}

.hero-inner {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8vh 5vw 4vh;
}

/* Diametro del cerchio, riusato anche per posizionare le scritte */
:root { --circle: 55vmin; }

.circle {
	flex: 0 1 auto;
	width: var(--circle);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
}
.circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(1) brightness(1.05);
}

.titles {
	/* sovrapposta al bordo destro del cerchio: regola qui la sovrapposizione */
	position: absolute;
	top: 50%;
	left: calc(45% + (var(--circle) / 2) - .35em);
	transform: translateY(-52%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: .82;
	pointer-events: none;
}
/* "LF" e "W" a scalini: sposta visivamente da qui con left/top (o transform) */
.lfw {
	font-family: var(--font-anton);
	font-weight: 400;
	font-size: clamp(5rem, 18vmin, 15rem);
	letter-spacing: .01em;
	display: flex;
	flex-direction: column;
}
.lfw-l1,
.lfw-l2 {
	position: relative;
	display: block;
	line-height: .95;
}
.lfw-l1 { left: 0; top: 0; }
.lfw-l2 { left: .3em; top: -.05em; }
.end-lfw {
	font-family: var(--font-wide);
	font-weight: 600;
	font-size: clamp(2rem, 7vmin, 5.5rem);
	color: var(--rosso);
	letter-spacing: .02em;
	margin-top: .15em;
	left: 1.1em;
	position: relative;
}

.date {
	position: absolute;
	left: 4vw;
	bottom: 5vh;
	font-family: var(--font-wide);
	font-weight: 600;
	font-size: clamp(.9rem, 2vmin, 1.4rem);
	letter-spacing: .06em;
}

.scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 3vh;
	transform: translateX(-50%);
	font-size: 1.4rem;
	opacity: .5;
	animation: bounce 1.6s infinite;
}
@keyframes bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}

/* ---- Pagina 2: countdown ---- */
.countdown {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nero);
}


.count {
	display: flex;
	align-items: baseline;
	gap: clamp(.8rem, 3vw, 3rem);
}
@media screen and (max-width: 480px) {
	.count {
		display: block;
	}
}
.unit {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.unit span {
	font-family: var(--font-wide);
	font-weight: 600;
	font-size: clamp(2.5rem, 9vw, 8rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.unit small {
	margin-top: .8em;
	font-size: clamp(.7rem, 1.6vw, 1.3rem);
	font-weight: 600;
	letter-spacing: .08em;
}
.sep {
	font-family: var(--font-wide);
	font-weight: 600;
	font-size: clamp(2rem, 7vw, 6rem);
	transform: translateY(-.35em);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
	.hero-inner {
		flex-direction: column;
		padding-top: 10vh;
	}
	:root { --circle: min(70vw, 340px); }
	.circle { width: var(--circle); top: -6em;
		position: relative;

	}
	.lfw { font-size: clamp(4rem, 22vw, 8rem); gap: .1em; }
	.lfw span + span { margin-left: -.05em; }
	.titles {
		position: relative;
		top:-9em;
		left:0;
		transform: none;
		align-items: center;
	}
	.end { font-size: clamp(1.6rem, 8vw, 3rem); }
	.date { font-size: .85rem; }
	.count { flex-wrap: wrap; justify-content: center; row-gap: 1.5rem; }
	.sep { display: none; }
	.count .unit { min-width: 38vw; }
}
