/* NUM8 CREATIVE WINE - 2026
   Montserrat (display) + Poppins (body)
   Dark neutral + teal/gold/rose accents
*/

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

:root {
	--dark: #0e0e0e;
	--dark-soft: #161616;
	--dark-mid: #1e1e1e;
	--teal: #6EBAC8;
	--gold: #CFB86B;
	--rose: #D4556B;
	--white: #ffffff;
	--text-muted: rgba(255,255,255,0.45);
	--text-dark: #1a1a1a;
	--text-dark-mid: #333333;
	--text-dark-muted: rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Poppins', sans-serif;
	background: var(--dark);
	color: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* ═══════ HERO ═══════ */
.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
}

.hero-slideshow {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 2.5s ease-in-out;
	will-change: opacity;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14,14,14,0.2) 0%,
		rgba(14,14,14,0.4) 50%,
		rgba(14,14,14,0.92) 100%
	);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 24px;
}

.hero-logo {
	max-width: 400px;
	width: 80%;
	margin-bottom: 44px;
	filter: drop-shadow(0 4px 40px rgba(0,0,0,0.5));
	animation: fadeInUp 1.2s ease-out both;
}

.hero-tagline {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: clamp(11px, 1.5vw, 14px);
	letter-spacing: 0.45em;
	text-transform: uppercase;
	color: var(--text-muted);
	animation: fadeInUp 1.2s ease-out 0.3s both;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
}

.hero-tagline span { transition: color 0.3s; }
.hero-tagline .t-teal { color: var(--teal); }
.hero-tagline .t-gold { color: var(--gold); }
.hero-tagline .t-rose { color: var(--rose); }

/* separators between tagline words */
.hero-tagline span + span::before {
	content: '\00B7';
	margin-right: 0.6em;
	color: var(--text-muted);
	font-weight: 300;
}

.hero-scroll {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	animation: fadeInUp 1.2s ease-out 0.8s both;
	cursor: pointer;
	text-decoration: none;
}

.hero-scroll span {
	font-size: 9px;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-family: 'Montserrat', sans-serif;
}

.hero-scroll-line {
	width: 1px;
	height: 40px;
	background: var(--teal);
	animation: scrollPulse 2s ease-in-out infinite;
	transform-origin: top;
}

/* ═══════ MANIFESTO (white section) ═══════ */
.manifesto {
	position: relative;
	padding: 140px 24px 120px;
	text-align: center;
	background: var(--white);
	color: var(--text-dark);
	overflow: hidden;
}

.manifesto-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	opacity: 0.3;
	pointer-events: none;
	transition: opacity 0.6s;
}

.manifesto-inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	z-index: 1;
}

.manifesto-quote {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(36px, 6vw, 68px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--text-dark);
	margin-bottom: 44px;
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY(40px);
	transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-quote.in-view {
	opacity: 1;
	transform: translateY(0);
}

.manifesto-quote em {
	font-style: italic;
	color: var(--rose);
}

.manifesto-text {
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 400;
	line-height: 1.8;
	color: var(--text-dark-mid);
	max-width: 640px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.manifesto-text.in-view {
	opacity: 1;
	transform: translateY(0);
}

.manifesto-divider {
	display: block;
	width: 50px;
	height: 2px;
	background: var(--gold);
	margin: 44px auto;
	opacity: 0;
	transform: scaleX(0);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.manifesto-divider.in-view {
	opacity: 1;
	transform: scaleX(1);
}

.manifesto-sub {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(10px, 1.2vw, 12px);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--rose);
	font-weight: 500;
	opacity: 0;
	transform: translateY(15px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.manifesto-sub.in-view {
	opacity: 0.7;
	transform: translateY(0);
}

/* ═══════ EMOTIONS ═══════ */
.emotions {
	padding: 90px 24px;
	background: var(--dark);
	text-align: center;
	overflow: hidden;
}

.emotions-words {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: clamp(16px, 3.5vw, 50px);
	white-space: nowrap;
	max-width: 100%;
}

.emotions-word {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(22px, 5.5vw, 72px);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.emotions-word.in-view {
	opacity: 1;
	transform: translateY(0);
}

.emotions-word:nth-child(1) { color: var(--teal); transition-delay: 0s; }
.emotions-word:nth-child(2) { color: var(--gold); transition-delay: 0.12s; }
.emotions-word:nth-child(3) { color: var(--rose); transition-delay: 0.24s; }

/* ═══════ GALLERY ═══════ */
.gallery {
	padding: 80px 24px 100px;
	background: var(--dark-soft);
}

.gallery-header {
	text-align: center;
	margin-bottom: 60px;
}

.gallery-header h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(28px, 4.5vw, 56px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--white);
}

.gallery-grid {
	max-width: 1400px;
	margin: 0 auto;
	columns: 3;
	column-gap: 14px;
}

.gallery-item {
	break-inside: avoid;
	margin-bottom: 14px;
	border-radius: 6px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.in-view {
	opacity: 1;
	transform: scale(1);
}

.gallery-item img {
	width: 100%;
	height: auto;   /* ← aggiungi questa */
	display: block;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 40%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}

.gallery-item:hover::after { opacity: 1; }

/* Load More */
.gallery-loadmore {
	text-align: center;
	margin-top: 50px;
	display: none;
}

.btn-loadmore {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--white);
	background: transparent;
	border: 1px solid rgba(255,255,255,0.2);
	padding: 16px 48px;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-loadmore:hover {
	border-color: var(--teal);
	color: var(--teal);
	background: rgba(110,186,200,0.06);
}

/* ═══════ LIGHTBOX ═══════ */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

.lightbox.open {
	opacity: 1;
	pointer-events: auto;
}

.lightbox img {
	max-width: 90vw;
	max-height: 88vh;
	border-radius: 6px;
	box-shadow: 0 24px 80px rgba(0,0,0,0.5);
	transform: scale(0.92);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open img { transform: scale(1); }

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 48px;
	height: 48px;
	background: none;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 50%;
	color: var(--white);
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s, background 0.3s;
}

.lightbox-close:hover {
	border-color: var(--teal);
	background: rgba(110,186,200,0.08);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	background: none;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 50%;
	color: var(--white);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s, background 0.3s;
}

.lightbox-nav:hover {
	border-color: var(--teal);
	background: rgba(110,186,200,0.08);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ═══════ COMMUNITY CTA ═══════ */
.community {
	position: relative;
	padding: 130px 24px 150px;
	text-align: center;
	background: var(--dark);
	overflow: hidden;
}

.community-bg-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(100px, 18vw, 280px);
	font-weight: 900;
	color: rgba(255,255,255,0.015);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	letter-spacing: 0.05em;
}

.community-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
}

.community-eyebrow {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 32px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-eyebrow.in-view {
	opacity: 0.8;
	transform: translateY(0);
}

.community h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(30px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 32px;
	opacity: 0;
	transform: translateY(25px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.community h2.in-view {
	opacity: 1;
	transform: translateY(0);
}

.community-desc {
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 300;
	line-height: 1.7;
	color: rgba(255,255,255,0.55);
	margin-bottom: 52px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.community-desc.in-view {
	opacity: 1;
	transform: translateY(0);
}

.community-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.community-actions.in-view {
	opacity: 1;
	transform: translateY(0);
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 44px;
	background: var(--gold);
	color: var(--dark);
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 50px;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
	background: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 12px 44px rgba(207,184,107,0.2);
}

.btn-primary svg {
	width: 15px;
	height: 15px;
	transition: transform 0.3s;
}

.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 18px 38px;
	background: transparent;
	color: var(--white);
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 50px;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	border-color: var(--teal);
	color: var(--teal);
}

/* ═══════ FOOTER ═══════ */
.footer {
	padding: 54px 24px 44px;
	background: var(--dark);
	border-top: 1px solid rgba(255,255,255,0.04);
	text-align: center;
}

.footer-logo {
	max-height: 48px;
	width: auto;
	height: auto;
	opacity: 0.4;
	margin-bottom: 22px;
	transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 0.7; }

.footer-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 28px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.footer-links a {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.footer-links a:hover { color: var(--teal); }
.footer-links a svg { width: 13px; height: 13px; }

.footer-copy {
	font-size: 10px;
	color: rgba(255,255,255,0.2);
	letter-spacing: 0.04em;
}

.footer-copy a {
	color: rgba(255,255,255,0.3);
	text-decoration: none;
}

.footer-copy a:hover { color: var(--teal); }

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
	0%, 100% { transform: scaleY(1); opacity: 0.35; }
	50%      { transform: scaleY(1.4); opacity: 1; }
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
	.gallery-grid { columns: 3; }
}

@media (max-width: 768px) {
	.gallery-grid {
		columns: 1;
		column-gap: 0;
		max-width: 500px;
	}
	.gallery-item {
		margin-bottom: 12px;
		border-radius: 8px;
	}
	.gallery-hidden-mobile {
		display: none;
	}
	.gallery-hidden-mobile.gallery-show {
		display: block;
	}
	.gallery-loadmore {
		display: block;
	}
	.gallery-loadmore.is-hidden {
		display: none;
	}
	.manifesto {
		padding: 90px 20px 80px;
	}
	.community {
		padding: 80px 20px 100px;
	}
	.emotions {
		padding: 60px 16px;
	}
	.lightbox-prev { left: 8px; }
	.lightbox-next { right: 8px; }
	.lightbox-nav { width: 42px; height: 42px; font-size: 16px; }
}

@media (max-width: 480px) {
	.hero-logo { max-width: 260px; }
	.gallery-grid { max-width: 100%; }
}

/* ═══════ REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
}

<!--
/* ── Newsletter Form ───────────────────────────────────── */
.newsletter-form {
	max-width: 480px;
	margin: 2.5rem auto 2rem;
	text-align: center;
	position: relative;
}

.newsletter-label {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(0.85rem, 1.2vw, 1rem);
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.04em;
	margin-bottom: 1rem;
}

.newsletter-input-wrap {
	display: flex;
	gap: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.newsletter-input-wrap:focus-within {
	border-color: #6EBAC8;
}

.newsletter-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.06);
	border: none;
	padding: 0.85rem 1.2rem;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 0.9rem;
	outline: none;
}

.newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.newsletter-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #6EBAC8;
	color: #0e0e0e;
	border: none;
	padding: 0.85rem 1.4rem;
	font-family: 'Poppins', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.3s ease;
	white-space: nowrap;
}

.newsletter-btn:hover {
	background: #CFB86B;
}

.newsletter-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.newsletter-msg {
	font-family: 'Poppins', sans-serif;
	font-size: 0.8rem;
	margin-top: 0.7rem;
	min-height: 1.2em;
}

.newsletter-msg.success {
	color: #6EBAC8;
}

.newsletter-msg.error {
	color: #D4556B;
}

.newsletter-privacy {
	font-family: 'Poppins', sans-serif;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.3);
	margin-top: 0.5rem;
	letter-spacing: 0.02em;
}

@media (max-width: 480px) {
	.newsletter-input-wrap {
		flex-direction: column;
	}
	.newsletter-btn {
		justify-content: center;
		padding: 0.75rem;
	}
}