/* =========================================================
   Nicolò Bottini Photography — Sito statico
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
	--c-bg:        #fafaf7;
	--c-bg-dark:   #0f0f0f;
	--c-text:      #1a1a1a;
	--c-text-soft: #5a5a5a;
	--c-text-mute: #9b9b9b;
	--c-line:      #e6e2da;
	--c-accent:    #c9a96e;     /* oro caldo */
	--c-accent-2:  #1a1a1a;

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--container:   1280px;
	--gutter:      clamp(20px, 4vw, 48px);

	--radius:      2px;
	--ease:        cubic-bezier(0.22, 1, 0.36, 1);
	--dur:         600ms;

	--header-h:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-accent); }
ul { list-style: none; padding: 0; margin: 0; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}


/* ---------- Tipografia ---------- */
.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-text-mute);
	margin-bottom: 14px;
}

.section-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}

.section-sub {
	color: var(--c-text-soft);
	font-size: 1.02rem;
	max-width: 620px;
}


/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: var(--header-h);
	z-index: 100;
	background: rgba(250, 250, 247, 0);
	transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(250, 250, 247, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom-color: var(--c-line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--c-text);
}
.brand-mark {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: 0.02em;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}
.brand-name {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}
@media (max-width: 480px) {
	.brand-name { display: none; }
}

.main-nav {
	display: flex;
	gap: 36px;
}
.main-nav a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--c-text-soft);
	position: relative;
	padding: 6px 0;
}
.main-nav a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 1.5px;
	background: var(--c-accent);
	transform: translateX(-50%);
	transition: width 0.3s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active {
	color: var(--c-text);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	width: 36px;
	height: 36px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0;
}
.menu-toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--c-text);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
	.menu-toggle { display: inline-flex; }
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: rgba(250, 250, 247, 0.98);
		backdrop-filter: blur(12px);
		flex-direction: column;
		gap: 0;
		padding: 24px var(--gutter);
		border-bottom: 1px solid var(--c-line);
		transform: translateY(-110%);
		transition: transform 0.4s var(--ease);
	}
	.main-nav.is-open { transform: translateY(0); }
	.main-nav a {
		padding: 16px 0;
		border-bottom: 1px solid var(--c-line);
		font-size: 1.05rem;
	}
	.main-nav a:last-child { border-bottom: 0; }
}


/* ---------- Hero / Slideshow ---------- */
.hero {
	height: 100vh;
	min-height: 600px;
	max-height: 1000px;
	position: relative;
	background: var(--c-bg-dark);
	overflow: hidden;
}

.slideshow {
	position: absolute;
	inset: 0;
}

.slides {
	position: absolute;
	inset: 0;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s var(--ease), transform 6s linear;
	transform: scale(1.0);
	pointer-events: none;
}
.slide.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: scale(1.06); /* Ken Burns subtle zoom */
}
.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		rgba(0,0,0,0.25) 0%,
		rgba(0,0,0,0.1) 40%,
		rgba(0,0,0,0.65) 100%);
}

.hero-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12%;
	text-align: center;
	color: #fff;
	z-index: 5;
	padding: 0 var(--gutter);
}

.hero-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.6rem, 7vw, 5.5rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
	text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.title-line {
	display: block;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeUp 1s var(--ease) forwards;
}
.title-line:nth-child(2) { animation-delay: 0.25s; }
.title-italic { font-style: italic; color: var(--c-accent); }

@keyframes fadeUp {
	to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.85);
	margin: 0 0 30px;
	opacity: 0;
	animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.btn-ghost {
	display: inline-block;
	padding: 14px 38px;
	border: 1.5px solid rgba(255,255,255,0.7);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 2px;
	opacity: 0;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
	animation: fadeUp 1s var(--ease) 0.75s forwards;
}
.btn-ghost:hover {
	background: #fff;
	color: var(--c-text);
	border-color: #fff;
	transform: translateY(-2px);
}

/* Arrows */
.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.arrow:hover {
	background: rgba(255,255,255,0.95);
	color: var(--c-text);
	border-color: #fff;
	transform: translateY(-50%) scale(1.05);
}
.arrow-prev { left: clamp(12px, 3vw, 32px); }
.arrow-next { right: clamp(12px, 3vw, 32px); }

@media (max-width: 600px) {
	.arrow { width: 40px; height: 40px; }
}

/* Dots */
.dots {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.35);
	border: 0;
	padding: 0;
	transition: background 0.25s ease, transform 0.25s ease;
}
.dot:hover { background: rgba(255,255,255,0.7); }
.dot.is-active {
	background: #fff;
	transform: scale(1.4);
}


/* ---------- Sezioni generiche ---------- */
.section {
	padding: clamp(60px, 10vw, 130px) 0;
	position: relative;
}

.section-head {
	max-width: 700px;
	margin-bottom: 50px;
}

.section + .section { border-top: 1px solid var(--c-line); }


/* ---------- Foto a scorrimento ---------- */
.section-foto { background: var(--c-bg); padding-bottom: 80px; }

.strip-scroll {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 var(--gutter) 30px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--c-line) transparent;
	scroll-behavior: smooth;
}
.strip-scroll::-webkit-scrollbar { height: 6px; }
.strip-scroll::-webkit-scrollbar-track { background: transparent; }
.strip-scroll::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 3px; }

/* Strip a scorrimento: altezza uniforme, larghezza variabile in base
   all'orientamento della foto. Così verticali, orizzontali e quadrate
   convivono naturalmente come in un photo wall. */
.strip-item {
	flex: 0 0 auto;
	height: clamp(340px, 48vw, 520px);
	width: auto;
	aspect-ratio: 3 / 4;          /* default verticale */
	scroll-snap-align: start;
	overflow: hidden;
	background: var(--c-bg-dark);
	position: relative;
	cursor: pointer;
}
.strip-item.is-h     { aspect-ratio: 3 / 2; }   /* orizzontale  */
.strip-item.is-square { aspect-ratio: 1 / 1; }  /* quadrata     */

.strip-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease), filter 0.4s ease;
}
.strip-item:hover img {
	transform: scale(1.05);
	filter: brightness(0.85);
}
.strip-item .strip-caption {
	position: absolute;
	left: 18px;
	bottom: 18px;
	right: 18px;
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.3rem;
	letter-spacing: 0.01em;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 2;
}
.strip-item:hover .strip-caption {
	opacity: 1;
	transform: translateY(0);
}
.strip-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 55%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.strip-item:hover::after { opacity: 1; }

.strip-hint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-text-mute);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0 var(--gutter);
	margin-top: 10px;
}


/* ---------- Video / Showreel ---------- */
.section-video { background: var(--c-bg); }

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(20px, 3vw, 32px);
}
.video-grid.is-single { grid-template-columns: minmax(0, 880px); justify-content: center; }
.video-grid.is-double { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin: 0 auto; }

/* Tutti verticali: griglia 4 colonne strette su desktop (formato Reel) */
.video-grid.all-vertical {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	max-width: 1200px;
	margin: 0 auto;
	gap: clamp(16px, 2vw, 22px);
}
@media (max-width: 900px) {
	.video-grid.all-vertical { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.video-grid.all-vertical { grid-template-columns: repeat(2, 1fr); }
}

.video-card {
	cursor: pointer;
	background: transparent;
	border: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: left;
	transition: transform 0.3s var(--ease);
}
.video-card:hover { transform: translateY(-3px); }

.video-poster {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--c-bg-dark);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	border-radius: 2px;
}
/* Video verticali (Reel): poster 9:16 */
.video-card.is-vertical .video-poster {
	aspect-ratio: 9 / 16;
}
/* Bottone play più piccolo per le card verticali (compatte) */
.video-card.is-vertical .video-play {
	width: 58px;
	height: 58px;
}
.video-poster::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4));
	transition: background 0.3s ease;
}
.video-card:hover .video-poster::after {
	background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55));
}

.video-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	color: var(--c-text);
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background 0.3s ease;
}
.video-play svg { margin-left: 4px; } /* ottico-centratura del triangolo */
.video-card:hover .video-play {
	background: var(--c-accent);
	color: var(--c-bg-dark);
	transform: scale(1.08);
}

.video-duration {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	background: rgba(0,0,0,0.65);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 2px;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.video-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.video-title {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 500;
	margin: 0;
	color: var(--c-text);
}
.video-subtitle {
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-text-mute);
}


/* ---------- Progetti ---------- */
.section-progetti { background: #fff; }

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
}
.filter {
	background: transparent;
	border: 1px solid var(--c-line);
	color: var(--c-text-soft);
	padding: 8px 20px;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 30px;
	transition: all 0.25s ease;
}
.filter:hover {
	border-color: var(--c-text);
	color: var(--c-text);
}
.filter.active {
	background: var(--c-text);
	color: #fff;
	border-color: var(--c-text);
}

/* Griglia progetti: layout masonry via CSS columns.
   Ogni progetto mantiene il suo aspect-ratio, le colonne si riempiono
   in modo naturale anche con orientamenti misti. */
.grid-projects {
	columns: 3;
	column-gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 900px) { .grid-projects { columns: 2; } }
@media (max-width: 540px) { .grid-projects { columns: 1; } }

.project {
	display: block;
	width: 100%;
	margin: 0 0 clamp(16px, 2.5vw, 28px);
	break-inside: avoid;
	position: relative;
	overflow: hidden;
	background: var(--c-bg-dark);
	cursor: pointer;
	aspect-ratio: 4 / 5;            /* default verticale */
	opacity: 0;
	transition: opacity 0.6s var(--ease);
}
.project.is-h      { aspect-ratio: 4 / 3; }
.project.is-square { aspect-ratio: 1 / 1; }
.project.is-wide   { aspect-ratio: 16 / 9; }

.project.is-visible {
	opacity: 1;
}
.project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.project:hover img { transform: scale(1.06); }
.project::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
	opacity: 0.55;
	transition: opacity 0.3s ease;
}
.project:hover::after { opacity: 0.85; }

.project-info {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	color: #fff;
	z-index: 2;
	transform: translateY(8px);
	transition: transform 0.4s var(--ease);
}
.project:hover .project-info { transform: translateY(0); }

.project-brand {
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: 6px;
}
.project-title {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 4px;
}
.project-year {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.05em;
}


/* ---------- Brand wall ---------- */
.section-brand { background: var(--c-bg); }

.section-head.text-center-wide {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.section-head.text-center-wide .section-sub { margin-left: auto; margin-right: auto; }

.brand-wall {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	margin: 0 auto;
}

.brand-tile {
	flex: 0 0 auto;
	width: 200px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14%;             /* spazio default, override possibile via data brand.js */
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-line);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
	color: inherit;
}
.brand-tile:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.brand-tile img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.4s ease;
}
.brand-tile:hover img { transform: scale(1.04); }

@media (max-width: 480px) {
	.brand-tile { width: 160px; height: 160px; }
}

.brand-tile-text {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--c-text-soft);
	transition: color 0.3s ease;
}
.brand-tile:hover .brand-tile-text { color: var(--c-text); }

.brand-tile-text {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--c-text-soft);
	transition: color 0.3s ease;
}
.brand-tile:hover .brand-tile-text { color: var(--c-text); }


/* ---------- Chi sono ---------- */
.section-chi-sono {
	background: #fff;
}

.about-grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: clamp(40px, 7vw, 90px);
	align-items: center;
}
@media (max-width: 820px) {
	.about-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.about-photo {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--c-bg);
	max-width: 480px;
	width: 100%;
}
.about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}
.about-photo:hover img { transform: scale(1.03); }

/* Cornice decorativa offset, stile editoriale */
.about-photo-frame {
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--c-accent);
	pointer-events: none;
	z-index: -1;
}
@media (max-width: 820px) {
	.about-photo-frame { inset: 12px -12px -12px 12px; }
	.about-photo { margin: 0 auto; }
}

.about-text { max-width: 620px; }

.about-tagline {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.4rem;
	color: var(--c-text-soft);
	margin: 0 0 28px;
	letter-spacing: 0.005em;
}

.about-text p {
	color: var(--c-text-soft);
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0 0 18px;
}

.about-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 36px;
}
.about-skills li {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-text);
	padding: 8px 18px;
	border: 1px solid var(--c-line);
	border-radius: 30px;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.about-skills li:hover {
	background: var(--c-text);
	color: #fff;
	border-color: var(--c-text);
}

.about-meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0 0 40px;
	padding: 24px 0;
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}
.about-meta > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.about-meta-num {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 500;
	color: var(--c-text);
	line-height: 1;
}
.about-meta-label {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-text-mute);
}
@media (max-width: 540px) {
	.about-meta { grid-template-columns: 1fr; gap: 14px; }
}

.btn-dark {
	display: inline-block;
	padding: 14px 38px;
	background: var(--c-text);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background 0.25s ease, transform 0.25s ease;
}
.btn-dark:hover {
	background: var(--c-accent);
	color: var(--c-bg-dark);
	transform: translateY(-2px);
}


/* ---------- Contatti ---------- */
.section-contatti {
	background: var(--c-bg-dark);
	color: #fff;
}
.section-contatti .eyebrow { color: var(--c-accent); }
.section-contatti .section-title { color: #fff; }
.section-contatti .section-sub { color: rgba(255,255,255,0.65); }

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info p {
	color: rgba(255,255,255,0.75);
	font-size: 1.05rem;
	max-width: 480px;
	margin-bottom: 36px;
}

.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list li {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: baseline;
	gap: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-label {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
}
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--c-accent); }


/* Form */
.contact-form {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.1);
	padding: clamp(28px, 4vw, 44px);
}

.form-row { margin-bottom: 22px; display: flex; flex-direction: column; }
.form-row label {
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
	margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	padding: 10px 0;
	outline: none;
	transition: border-color 0.25s ease;
}
.form-row input:focus,
.form-row textarea:focus {
	border-bottom-color: var(--c-accent);
}
.form-row textarea {
	resize: vertical;
	min-height: 110px;
}

.btn-primary {
	background: var(--c-accent);
	color: var(--c-bg-dark);
	border: 0;
	padding: 14px 38px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.btn-primary:hover {
	background: #fff;
	color: var(--c-bg-dark);
	transform: translateY(-2px);
}

.form-feedback {
	font-size: 0.9rem;
	margin: 16px 0 0;
	min-height: 24px;
}
.form-feedback.success { color: var(--c-accent); }
.form-feedback.error   { color: #ff8a80; }


/* ---------- Footer ---------- */
.site-footer {
	background: var(--c-bg-dark);
	color: rgba(255,255,255,0.6);
	padding: 50px 0 30px;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.9rem;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: center;
	text-align: center;
}
.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
}
.footer-brand .brand-mark {
	width: 32px;
	height: 32px;
	font-size: 1.2rem;
	border-color: rgba(255,255,255,0.4);
}
.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin: 0; color: rgba(255,255,255,0.4); font-size: 0.82rem; }


/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 10, 0.96);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-inner {
	max-width: 92%;
	max-height: 92%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.lightbox-media {
	max-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox-media img,
.lightbox-media video {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
}
/* I video verticali (Reel) restano stretti, mai a tutta larghezza */
.lightbox-media video {
	max-width: min(450px, 92vw);
	width: auto;
	border-radius: 4px;
	background: #000;
}
.lightbox-media iframe {
	width: min(960px, 92vw);
	aspect-ratio: 16 / 9;
	border: 0;
}
.lightbox-caption {
	color: rgba(255,255,255,0.85);
	font-family: var(--font-display);
	font-size: 1.2rem;
	text-align: center;
	max-width: 720px;
	padding: 0 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: transparent;
	border: 0;
	color: rgba(255,255,255,0.8);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease, color 0.25s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255,255,255,0.1);
	color: #fff;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev  { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 22px; top: 50%; transform: translateY(-50%); }


/* ---------- Utility ---------- */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

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