/* =====================================================================
   SAGGESE — Braceria e Macelleria
   Stile principale. Replica del mockup Canva.
   Palette e font in variabili CSS (i colori sono sovrascritti dal Customizer).
   ===================================================================== */

:root {
	--c-bordeaux: #4A0E0D;
	--c-cream:    #FDFDFC;
	--c-tan:      #E3D1B4;
	--c-tan-dark: #C6B19B; /* fallback per browser senza color-mix */
	--c-tan-dark: color-mix(in srgb, var(--c-tan) 82%, #000); /* segue il beige del Customizer */
	--c-ink:      #1B0505;
	--c-accent:   #8C4E41;

	--font-display: 'Moonscape', Georgia, 'Times New Roman', serif;
	--font-script:  'Henrietta', 'Segoe Script', 'Brush Script MT', cursive;
	--font-body:    'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--maxw: 1200px;
	--radius: 14px;
	--gap: clamp(1.5rem, 4vw, 3rem);
	--header-h: 132px;
}

/* ----------------------------- Reset di base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-bordeaux); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.section { padding-block: clamp(3rem, 7vw, 6rem); }

.rich p:last-child { margin-bottom: 0; }

/* ------------------------------- Pulsanti ------------------------------- */
.saggese-btn {
	display: inline-block;
	background: var(--c-bordeaux);
	color: var(--c-cream);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.08rem;
	letter-spacing: .02em;
	text-decoration: none;
	padding: 1em 2em;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.saggese-btn:hover,
.saggese-btn:focus-visible {
	background: #380a09;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px -10px rgba(74, 14, 13, .7);
	color: var(--c-cream);
}

/* ------------------------------- Titoli -------------------------------- */
.section-title {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .01em;
	font-weight: 400;
	color: var(--c-ink);
	font-size: clamp(3rem, 5vw, 5rem);
	margin-bottom: .5em;
}
.section-intro { max-width: 70ch; color: var(--c-ink); }
.text-accent { color: var(--c-bordeaux); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
	background: var(--c-bordeaux);
	position: sticky;
	top: 0;
	z-index: 200;
	overflow: visible;
}
.site-header .container {
	max-width: none;
	padding-left: 0;
	padding-right: clamp(.6rem, 2vw, 1.2rem);
}
.site-header__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
	padding-top: .35rem;
	padding-bottom: 0;
}

/* Logo */
.saggese-logo { display: inline-flex; align-items: flex-end; gap: .65rem; text-decoration: none; color: var(--c-tan); }
.saggese-logo__bull, .saggese-logo__img { height: 50px; width: auto; }
.site-header .saggese-logo { align-self: flex-end; flex: 1 1 auto; gap: .45rem; min-width: 0; }
.site-header .saggese-logo__bull { flex: 0 0 auto; height: clamp(82px, 8vw, 112px); margin-bottom: -.2rem; }
.site-header .saggese-logo__img { height: clamp(82px, 8vw, 112px); max-width: min(72vw, 900px); object-fit: contain; object-position: left bottom; }
.saggese-logo__text { display: inline-flex; align-items: flex-end; gap: .45rem; padding-bottom: .45rem; white-space: nowrap; }
.site-header .saggese-logo__text { flex: 1 1 auto; justify-content: space-evenly; gap: clamp(1rem, 4vw, 3.5rem); min-width: 0; padding-bottom: .72rem; }
.saggese-logo__main {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .02em;
	font-weight: 400;
	font-size: clamp(.8rem, .45rem + 1.25vw, 1.35rem);
	color: var(--c-tan);
	line-height: .9;
}
.site-header .saggese-logo__main { font-size: clamp(2.4rem, 5.4vw, 5.35rem); }
.saggese-logo__script {
	font-family: var(--font-script);
	font-size: clamp(1.45rem, .85rem + 2.25vw, 2.65rem);
	color: var(--c-tan);
	line-height: .8;
	padding-bottom: .06em;
	transform: translateY(-.02em) rotate(-6deg);
	transform-origin: left center;
}
.site-header .saggese-logo__script { font-size: clamp(2.8rem, 5vw, 5rem); }

/* Hamburger */
.nav-toggle { align-self: center; flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: .55rem; position: relative; z-index: 300; }
.nav-toggle__box { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 32px; height: 22px; }
.nav-toggle__bar { display: block; width: 100%; height: 3px; background: var(--c-tan); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Overlay nav */
.site-nav {
	position: fixed;
	inset: 0;
	background: var(--c-bordeaux);
	z-index: 150;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}
.nav-open { overflow: hidden; }
.nav-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__inner {
	width: 100%;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100dvh - var(--header-h));
	margin-top: var(--header-h);
	text-align: center;
	padding: clamp(2rem, 5vw, 4rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.site-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(1rem, 2.8vw, 2rem); }
.site-nav__menu > li {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .45s ease, transform .45s ease;
}
.nav-open .site-nav__menu > li { opacity: 1; transform: translateY(0); }
.nav-open .site-nav__menu > li:nth-child(2) { transition-delay: .06s; }
.nav-open .site-nav__menu > li:nth-child(3) { transition-delay: .12s; }
.nav-open .site-nav__menu > li:nth-child(4) { transition-delay: .18s; }
.nav-open .site-nav__menu > li:nth-child(5) { transition-delay: .24s; }
.site-nav__menu a {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .02em;
	font-weight: 400;
	color: var(--c-tan);
	text-decoration: none;
	font-size: clamp(3rem, 6.2vw, 6.4rem);
	line-height: .9;
	transition: color .2s ease;
}
.site-nav__menu a:hover, .site-nav__menu .current-menu-item > a { color: #fff; }
.site-nav__meta { margin-top: clamp(1.6rem, 4vw, 3rem); color: var(--c-tan); }
.site-nav__address { font-size: clamp(.92rem, 1vw, 1.08rem); opacity: .82; margin: 0; }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero { background: var(--c-cream); height: 700px; overflow: hidden; }
.hero .container { max-width: none; padding-inline: 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; height: 100%; }
.hero__text { padding: clamp(1.8rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.hero__text.panel { background: var(--c-tan); }
.hero__title {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-weight: 400;
	color: var(--c-ink);
	font-size: clamp(3.2rem, 5.8vw, 5.8rem);
	line-height: .96;
	margin-bottom: .4em;
}
.hero__subtitle { font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem); line-height: 1.35; color: var(--c-accent); margin-bottom: 1.6em; }
.hero__text .saggese-btn { align-self: flex-start; }
.hero__media { height: 100%; min-height: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero:hover .hero__img { transform: scale(1.035); }

.panel { background: var(--c-cream); }

/* =====================================================================
   SEZIONI SPLIT (immagine + testo)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.split__img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.split__img--tall { max-height: 600px; }
.split__text .saggese-btn { margin-top: .8rem; }

/* =====================================================================
   PRODOTTI (vetrina beige)
   ===================================================================== */
.prodotti { background: var(--c-tan); }
.prodotti__head { margin-bottom: 2rem; }
.prodotti__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.product-card__media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--c-tan-dark); }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__title { font-family: var(--font-body); font-weight: 500; color: var(--c-ink); font-size: 1.02rem; margin: .7rem 0 0; }

/* =====================================================================
   CHI SIAMO — hero storia
   ===================================================================== */
.story-hero {
	background-color: var(--c-cream);
	background-image: var(--story-hero-bg);
	background-position: center;
	background-size: cover;
	min-height: clamp(420px, 58vw, 660px);
	overflow: hidden;
	position: relative;
}
.story-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(27, 5, 5, .18), rgba(27, 5, 5, 0) 58%);
	pointer-events: none;
}
.story-hero__inner { max-width: none; min-height: inherit; display: flex; align-items: flex-start; justify-content: flex-start; padding-top: 0; padding-left: 0; }
.story-hero__text {
	background: var(--c-tan);
	width: min(520px, 48vw);
	aspect-ratio: 1 / 1;
	padding: clamp(1.8rem, 4vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 1;
}
.story-hero__title { text-transform: uppercase; font-weight: 400; color: var(--c-ink); font-size: clamp(3rem, 5vw, 5rem); line-height: .96; }
.story-hero__subtitle { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.35; color: var(--c-accent); }

/* =====================================================================
   TIMELINE
   ===================================================================== */
.timeline { background: var(--c-tan); overflow: hidden; }
.timeline__heading { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.timeline__track { position: relative; max-width: 1080px; margin-inline: auto; padding-block: .5rem; }
.timeline__track::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0; bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, transparent, var(--c-bordeaux) 8%, var(--c-bordeaux) 92%, transparent);
	transform: translateX(-50%);
}
.tl-row {
	display: grid;
	grid-template-columns: minmax(0, 400px) 56px minmax(0, 400px);
	align-items: start;
	justify-content: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	margin-block: clamp(2rem, 5vw, 4rem);
	position: relative;
}
.tl-row > .tl-text  { grid-column: 1; grid-row: 1; max-width: 400px; text-align: right; }
.tl-row > .tl-media { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-start; align-items: flex-start; align-self: start; }
.tl-row--reverse > .tl-text  { grid-column: 3; text-align: left; }
.tl-row--reverse > .tl-media { grid-column: 1; justify-content: flex-end; }
.tl-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 18px; height: 18px; margin-top: .8rem; border-radius: 50%; background: var(--c-bordeaux); border: 4px solid var(--c-tan); box-shadow: 0 0 0 0 rgba(74, 14, 13, .28); z-index: 1; transition: transform .35s ease, box-shadow .35s ease; }
.tl-year { display: block; font-family: var(--font-display); font-weight: 400; color: var(--c-bordeaux); font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; }
.tl-title { font-family: var(--font-body); font-weight: 600; color: var(--c-ink); font-size: clamp(1.15rem, 1.2vw, 1.35rem); margin: .5rem 0 .55rem; }
.tl-text__p { color: var(--c-ink); font-size: 1rem; margin: 0; }
.tl-img { display: block; width: 400px; height: 400px; max-width: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 45px -28px rgba(27, 5, 5, .65); transition: transform .45s ease, box-shadow .45s ease; }
.tl-row:hover .tl-dot { transform: scale(1.22); box-shadow: 0 0 0 12px rgba(74, 14, 13, .12); }
.tl-row:hover .tl-img { transform: translateY(-6px) scale(1.015); box-shadow: 0 24px 54px -30px rgba(27, 5, 5, .75); }

/* =====================================================================
   CONTATTI
   ===================================================================== */
.contact-map { line-height: 0; }
.contact-map__img { width: 100%; height: clamp(150px, 24vh, 260px); object-fit: cover; }
.contact-map__embed { position: relative; width: 100%; aspect-ratio: 16 / 4.2; max-height: 260px; overflow: hidden; }
.contact-map__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contatti { padding-block: clamp(1.6rem, 3vw, 2.6rem); }
.contatti__grid { display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: start; max-width: 1040px; }
.contatti__aside,
.contatti__main { min-width: 0; }
.contatti .section-title { font-size: clamp(2.2rem, 3.4vw, 3.6rem); margin-bottom: .35em; }
.contact-form { margin-top: .6rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field { display: block; margin-block: .6rem; }
.field__label { display: block; font-weight: 500; margin-bottom: .25rem; color: var(--c-ink); }
.field input, .field textarea {
	width: 100%;
	background: var(--c-tan);
	border: 1px solid var(--c-tan-dark);
	border-radius: 8px;
	padding: .62rem .85rem;
	font: inherit;
	color: var(--c-ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--c-bordeaux); outline-offset: 1px; border-color: var(--c-bordeaux); }
.field textarea { resize: vertical; min-height: 105px; }
.contact-form .saggese-btn { margin-top: .35rem; padding: .78em 1.65em; font-size: 1rem; }

.form-notice { padding: .9rem 1.1rem; border-radius: 10px; margin-block: 1rem; font-size: .98rem; }
.form-notice--ok { background: #e7efe1; color: #2f5d2f; border: 1px solid #bcd3b0; }
.form-notice--err { background: #f6e1de; color: #7a1f1a; border: 1px solid #e0b6b1; }

.phonecard {
	background: var(--c-tan);
	border-radius: 10px;
	min-height: 300px;
	padding: clamp(1.25rem, 2.4vw, 2.1rem);
	text-align: center;
	color: var(--c-bordeaux);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(.7rem, 1.4vw, 1.1rem);
}
.phonecard__icon { color: var(--c-bordeaux); line-height: 0; }
.phonecard__icon svg { width: clamp(44px, 5vw, 68px); height: clamp(44px, 5vw, 68px); stroke-width: 1.35; }
.phonecard__label { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: .9; font-size: clamp(2rem, 3.2vw, 3.35rem); }
.phonecard__num { font-size: clamp(1.08rem, 1.45vw, 1.35rem); font-weight: 600; line-height: 1.15; color: var(--c-bordeaux); text-decoration: none; }
.phonecard__num:hover { text-decoration: underline; }
.phonecard__wa { display: inline-flex; align-items: center; gap: .5rem; margin-top: .15rem; padding: .55rem 1rem; background: #25D366; color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s ease; }
.phonecard__wa:hover { background: #1da851; color: #fff; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--c-bordeaux); color: var(--c-tan); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer .saggese-logo { margin-bottom: 1rem; }
.saggese-footer-logo { display: inline-block; max-width: min(100%, 360px); margin-bottom: 1rem; line-height: 0; }
.saggese-footer-logo__img { display: block; width: 100%; height: auto; }
.site-footer__business, .site-footer__addr, .site-footer__piva { font-size: .9rem; opacity: .9; margin: .25rem 0; }
.site-footer__title { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: #fff; font-weight: 600; margin: 0 0 1rem; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__menu a, .site-footer__contacts a { color: var(--c-tan); text-decoration: none; }
.site-footer__menu a:hover, .site-footer__contacts a:hover { color: #fff; }
.site-footer__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__hours { white-space: pre-line; opacity: .9; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.site-footer__social a { color: var(--c-tan); display: inline-flex; transition: color .2s ease, transform .2s ease; }
.site-footer__social a:hover { color: #fff; transform: translateY(-2px); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); }
.site-footer__bottom p { margin: 0; padding-block: 1rem; text-align: center; font-size: .82rem; opacity: .8; }

/* =====================================================================
   EFFETTI DI ENTRATA
   ===================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .75s ease, transform .75s ease;
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.tl-row.reveal:nth-child(odd) { transform: translateX(-36px); }
.tl-row.reveal:nth-child(even) { transform: translateX(36px); }
.tl-row.reveal.is-visible { transform: translateX(0); }
.hero__media.reveal,
.story-hero.reveal {
	transform: scale(1.025);
}
.hero__media.reveal.is-visible,
.story-hero.reveal.is-visible {
	transform: scale(1);
}

/* =====================================================================
   PAGINE GENERICHE / BLOG
   ===================================================================== */
.page-content, .blog-list { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-content__title { margin-bottom: 1rem; }
.post-summary { padding-block: 1.5rem; border-bottom: 1px solid var(--c-tan); }
.post-meta { color: var(--c-accent); font-size: .85rem; }
.rich a { color: var(--c-bordeaux); }
.rich img { border-radius: 8px; margin-block: 1rem; }
.error-404 { padding-block: clamp(3rem, 8vw, 7rem); }

/* =====================================================================
   ACCESSIBILITÀ
   ===================================================================== */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	background: var(--c-cream); color: var(--c-bordeaux);
	padding: .6rem 1rem; border-radius: 6px; clip: auto; clip-path: none; width: auto; height: auto;
}
:focus-visible { outline: 2px solid var(--c-bordeaux); outline-offset: 2px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 980px) {
	.prodotti__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	:root { --header-h: 108px; }
	.site-header { overflow: hidden; }
	.site-header .container { padding-left: 0; padding-right: .8rem; }
	.site-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: var(--header-h); padding-block: .5rem 0; }
	.site-header .saggese-logo {
		align-self: end;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.site-header .saggese-logo__bull { height: 78px; margin-bottom: 0; object-fit: contain; }
	.site-header .saggese-logo__text {
		flex: 0 1 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .36rem;
		padding-bottom: 0;
		min-width: 0;
		width: 100%;
		justify-self: stretch;
		text-align: center;
		white-space: normal;
	}
	.site-header .saggese-logo__main { font-size: clamp(1rem, 2.55vw, 1.3rem); line-height: 1.05; letter-spacing: .035em; white-space: nowrap; }
	.site-header .saggese-logo__script { font-size: clamp(2.05rem, 4.5vw, 2.9rem); line-height: .9; transform: translateY(.08em) rotate(-5deg); }
	.hero { height: auto; min-height: 0; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { order: -1; min-height: 240px; }
	.hero__media { max-height: 320px; }
	.story-hero { min-height: 540px; }
	.story-hero__inner { padding-block: 0; }
	.story-hero__text { width: min(100%, 420px); }
	.split { grid-template-columns: 1fr; }
	.split__img, .split__img--tall { max-height: 360px; }
	.contatti__grid { grid-template-columns: 1fr; }
	.phonecard { min-height: 210px; }

	/* Timeline su una colonna con la linea a sinistra */
	.timeline__track::before { left: 18px; }
	.tl-row { display: block; padding-left: 48px; margin-block: 1.8rem; }
	.tl-row > .tl-text, .tl-row--reverse > .tl-text { text-align: left; }
	.tl-row > .tl-media, .tl-row--reverse > .tl-media { justify-content: flex-start; margin-top: 1rem; }
	.tl-img { width: min(100%, 400px); height: auto; aspect-ratio: 1 / 1; max-width: 100%; }
	.tl-dot { position: absolute; left: 11px; top: 6px; }
}

@media (max-width: 560px) {
	:root {
		--header-h: 92px;
		--gap: 1.25rem;
	}
	body {
		font-size: 1rem;
		line-height: 1.55;
	}
	.container { padding-inline: 1rem; }
	.section { padding-block: 2.5rem; }
	.section-title { font-size: clamp(2.45rem, 13vw, 3.65rem); line-height: .98; margin-bottom: .55em; }
	.saggese-btn { font-size: .98rem; padding: .82em 1.45em; }
	.contact-form__row { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-header { overflow: hidden; }
	.site-header .container { padding-left: 0; padding-right: .55rem; }
	.site-header__inner { gap: .55rem; min-height: var(--header-h); padding-block: .45rem 0; }
	.site-header .saggese-logo {
		align-self: end;
		gap: .5rem;
		max-width: 100%;
	}
	.site-header .saggese-logo__bull {
		height: 66px;
		margin-bottom: 0;
		object-fit: contain;
	}
	.site-header .saggese-logo__text {
		flex: 0 1 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .34rem;
		padding-bottom: 0;
		min-width: 0;
		width: 100%;
		justify-self: stretch;
		text-align: center;
		white-space: normal;
	}
	.site-header .saggese-logo__main {
		font-size: clamp(.92rem, 3.9vw, 1.08rem);
		line-height: 1.05;
		letter-spacing: .035em;
		white-space: nowrap;
	}
	.site-header .saggese-logo__script {
		font-size: clamp(1.72rem, 7.5vw, 2.15rem);
		line-height: .9;
		transform: translateY(.08em) rotate(-5deg);
	}
	.hero__media { min-height: 220px; max-height: 280px; }
	.hero__text { padding: 2rem 1rem 2.3rem; }
	.hero__title { font-size: clamp(2.55rem, 14vw, 3.9rem); line-height: .96; }
	.hero__subtitle { font-size: 1.08rem; line-height: 1.4; margin-bottom: 1.25em; }
	.story-hero { min-height: 470px; }
	.story-hero__inner { padding-left: 0; } /* la regola .container qui sopra lo reimposterebbe a 1rem */
	.story-hero__text { width: min(100%, 340px); padding: 1.65rem 1rem; }
	.story-hero__title { font-size: clamp(2.45rem, 13vw, 3.55rem); }
	.story-hero__subtitle { font-size: 1.08rem; }
	.tl-year { font-size: clamp(2.35rem, 12vw, 3.3rem); }
	.tl-title { font-size: 1.05rem; line-height: 1.25; }
	.tl-text__p { font-size: .95rem; line-height: 1.55; }
	.contatti .section-title { font-size: clamp(2.25rem, 11vw, 3.2rem); }
	.field__label,
	.field input,
	.field textarea { font-size: .96rem; }
	.phonecard__label { font-size: clamp(2.05rem, 10vw, 2.8rem); }
	.phonecard__num { font-size: 1.05rem; }
	.site-nav__menu { gap: 1rem; }
	.site-nav__inner { padding: 1.5rem 1rem; }
	.site-nav__menu a { font-size: clamp(2.65rem, 14vw, 4rem); }
	.site-nav__address { font-size: .88rem; max-width: 28ch; }
	.nav-toggle { padding-inline: .35rem; }
	.nav-toggle__box { width: 28px; }
}

@media (max-width: 380px) {
	:root { --header-h: 86px; }
	.site-header .container { padding-left: 0; }
	.site-header__inner { gap: .35rem; }
	.site-header .saggese-logo { gap: .38rem; max-width: 100%; }
	.site-header .saggese-logo__bull { height: 58px; }
	.site-header .saggese-logo__text { gap: .3rem; }
	.site-header .saggese-logo__main { font-size: .82rem; }
	.site-header .saggese-logo__script { font-size: 1.62rem; transform: translateY(.08em) rotate(-5deg); }
	.nav-toggle__box { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}
