:root {
	--carta: #FAF6F0;
	--sabbia: #F0E7D8;
	--terracotta: #C05C33;
	--ocra: #D9A441;
	--caramello: #8A5A3B;
	--inchiostro: #2B2320;
	--notte: #241D18;
}

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

/* Doodle hero (left:-30px) e polaroid ruotate sporgono dal viewport → niente scroll laterale.
   Serve su ENTRAMBI html e body: solo su body non è affidabile (propagazione al viewport,
   iOS Safari lo ignora). clip > hidden: non crea un contesto di scroll. */
html {
	overflow-x: clip;
}

body.far-overland-home {
	background: var(--carta);
	color: var(--inchiostro);
	font-family: 'Urbanist', sans-serif;
	overflow-x: clip;
}

.site-header {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 96px;
}

.logo {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 22px;
	color: var(--inchiostro);
	letter-spacing: 0.02em;
	text-decoration: none;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-right a {
	color: var(--inchiostro);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	opacity: 0.85;
}

.lang-switch {
	display: flex;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
}
.lang-switch a { opacity: 0.6; }
.lang-switch a.active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	min-height: 74svh;
	padding: 40px 96px 80px;
}

.hero-doodle {
	position: absolute;
	left: -30px;
	bottom: 20px;
	width: 190px;
	height: auto;
	pointer-events: none;
	opacity: 0.9;
}

.hero-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 580px;
	flex-shrink: 0;
	align-self: flex-start;
	padding-top: 90px;
}

.hero-title {
	font-family: 'DM Serif Display', serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	font-size: clamp(34px, 4.4vw, 62px);
	line-height: 1.2;
	color: var(--inchiostro);
}

.hero-sub {
	font-family: 'Urbanist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: var(--inchiostro);
	opacity: 0.75;
}

.btn-cta {
	display: inline-flex;
	align-items: center;
	background: var(--terracotta);
	color: var(--carta);
	padding: 14px 26px;
	border-radius: 28px;
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	width: fit-content;
	transition: transform 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); }

.hero-photo-frame {
	position: relative;
	width: min(54vw, 680px);
	flex-shrink: 0;
	background: #fff;
	padding: 14px;
	border-radius: 6px;
	box-shadow: 0 20px 50px -20px rgba(43, 35, 32, 0.35);
	transform: rotate(-2deg);
}

.hero-photo-stack {
	position: relative;
	width: min(54vw, 680px);
	flex-shrink: 0;
	padding-top: 10px;
}

.hero-photo-stack-card {
	position: absolute;
	inset: 10px 0 0 0;
	background: #fff;
	padding: 10px 10px 44px;
	border-radius: 6px;
	box-shadow: 0 16px 40px -20px rgba(43, 35, 32, 0.3);
	box-sizing: border-box;
}
.hero-photo-stack-card-inner {
	width: 100%;
	height: 100%;
	border-radius: 3px;
	overflow: hidden;
	background: var(--sabbia);
}
.hero-photo-stack-card-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hero-photo-stack-card--1 { transform: rotate(-6deg); z-index: 1; }
.hero-photo-stack-card--2 { transform: rotate(4deg); z-index: 2; }

.hero-photo-plain {
	position: relative;
	z-index: 3;
	background: #fff;
	padding: 14px 14px 48px;
	border-radius: 6px;
	box-shadow: 0 20px 50px -20px rgba(43, 35, 32, 0.35);
	transform: rotate(-1.5deg);
}
.hero-photo-plain-inner {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 3px;
	overflow: hidden;
}

.hero-photo-tape {
	position: absolute;
	top: -14px;
	left: 50%;
	width: 90px;
	height: 34px;
	transform: translateX(-50%) rotate(-4deg);
	background: rgba(217, 164, 65, 0.55);
	border: 1px solid rgba(217, 164, 65, 0.3);
	z-index: 4;
	box-shadow: 0 2px 6px rgba(43, 35, 32, 0.15);
}

.hero-photo-plain-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-photo-inner {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 3px;
	overflow: hidden;
	background: var(--notte);
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.15);
	will-change: transform;
	animation: heroBgZoomIn 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroBgZoomIn {
	from { transform: scale(1.32); }
	to { transform: scale(1.15); }
}

.hero-subject {
	position: absolute;
	left: 50%;
	bottom: -6%;
	width: 100%;
	height: auto;
	max-height: 98%;
	object-fit: contain;
	object-position: bottom;
	transform: translateX(-50%);
}

.after-hero {
	background: #fff;
	min-height: 130vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 120px 48px;
}

.after-hero p {
	max-width: 480px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--inchiostro);
	opacity: 0.6;
	text-align: center;
}

.site-newsletter {
	background: rgba(217, 164, 65, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 72px 64px;
}

.site-newsletter-title {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 28px;
	color: var(--inchiostro);
	text-align: center;
}

.site-newsletter-form {
	display: flex;
	gap: 12px;
}

.site-newsletter-input {
	background: var(--sabbia);
	border: none;
	border-radius: 28px;
	padding: 14px 20px;
	width: 320px;
	max-width: 60vw;
	font-family: 'Urbanist', sans-serif;
	font-size: 15px;
	color: var(--inchiostro);
}

.site-newsletter-btn {
	background: var(--terracotta);
	color: #fff;
	border: none;
	border-radius: 28px;
	padding: 14px 24px;
	font-family: 'Urbanist', sans-serif;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}

.site-footer {
	background: var(--notte);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	padding: 48px 64px;
}

.site-footer-logo {
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: 2px;
	color: #fff;
	margin-right: auto;
}

.site-footer-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.site-footer-links a {
	color: #d9c7b2;
	text-decoration: none;
	font-family: 'Urbanist', sans-serif;
	font-size: 14px;
}

/* ---------- Menu mobile (hamburger + overlay) ---------- */

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 60;
}
.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--inchiostro);
	transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}
body.nav-open .nav-toggle span { background: var(--carta); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: flex; }

	.nav-right {
		position: fixed;
		inset: 0;
		z-index: 50;
		flex-direction: column;
		justify-content: center;
		gap: 28px;
		background: var(--notte);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}
	body.nav-open .nav-right {
		opacity: 1;
		pointer-events: auto;
	}
	body.nav-open { overflow: hidden; }

	.nav-right a {
		color: var(--carta);
		font-family: 'Nunito', sans-serif;
		font-weight: 800;
		font-size: 24px;
		opacity: 1;
	}
	.nav-right .lang-switch {
		font-size: 16px;
	}
	.nav-right .lang-switch a { opacity: 0.6; }
	.nav-right .lang-switch a.active { opacity: 1; }
	.nav-right .btn-newsletter-nav {
		background: var(--terracotta);
		color: #fff;
		font-size: 16px;
		padding: 12px 24px;
		border-radius: 28px;
	}

	.site-header { padding: 20px 32px; }
	.hero { flex-direction: column-reverse; padding: 24px 32px 56px; gap: 32px; }
	.hero-photo-frame { width: 100%; max-width: 420px; }
	.hero-photo-stack { width: 100%; max-width: 420px; }
	.hero-content { max-width: 100%; }
	.site-newsletter { padding: 48px 24px; }
	.site-footer { padding: 32px 24px; }
}
