/* =========================================================================
   La Via Delle Arti — foglio di stile principale
   Replica del design originale: bg #F6F5F2 · inchiostro #1A1A1A · accento #8B2613
   Font: Cormorant Garamond (display) · Marcellus (brand/numeri) · Helvetica (testo)
   ========================================================================= */

:root {
	--bg: #F6F5F2;
	--ink: #1A1A1A;
	--accent: #8B2613;
	--accent-hover: #A32E18;
	--border: #E2DFD8;
	--border-strong: #DCD9D1;
	--panel: #EDEBE6;
	--body: #4A4A4A;
	--muted: #666666;
	--muted-2: #777777;
	--muted-3: #888888;
	--watermark: rgba(30, 58, 138, 0.2);
	--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-brand: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--padding-x: 32px;
	--header-h: 88px;
}

@media (min-width: 768px) {
	:root { --padding-x: 64px; }
}
@media (min-width: 1024px) {
	:root { --padding-x: 96px; }
}

/* ---------- Reset leggero ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p, blockquote, figure { margin: 0; }

button { font: inherit; cursor: pointer; background: none; border: 0; }

section { scroll-margin-top: var(--header-h); }

::selection { background: var(--accent); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px;
	width: auto; height: auto; clip: auto;
	z-index: 100000; background: #fff; padding: 8px 16px;
}

/* =========================================================================
   HEADER
   ========================================================================= */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 245, 242, 0.95);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	padding: 20px var(--padding-x);
	display: flex; align-items: center; justify-content: space-between;
	gap: 48px;
	max-width: 1400px; margin: 0 auto;
}

/* Logo testuale */
.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1.1; }

.brand__logo { height: 46px; width: auto; display: block; }

.brand--footer .brand__logo { height: 40px; }

.brand__text { display: flex; flex-direction: column; gap: 4px; }

.brand { flex: 0 0 auto; }

.brand__name { white-space: nowrap; }

/* Header fit: tra 1024 e 1250px il brand si compatta per stare col menu su una riga */
@media (min-width: 1024px) and (max-width: 1250px) {
	.brand__name { font-size: 19px; letter-spacing: 0.12em; }
	.brand__logo { height: 40px; }
	.brand { gap: 10px; }
}

.brand__name {
	font-family: var(--font-brand);
	font-size: 22px; font-weight: 400;
	letter-spacing: 0.15em; text-transform: uppercase;
	color: var(--ink);
}

.brand__name--sm { font-size: 20px; }

.brand__accent { color: var(--accent); font-weight: 600; }

.brand__tag {
	font-size: 10px; letter-spacing: 0.25em;
	text-transform: uppercase; color: var(--muted);
}

/* Navigazione desktop */
.main-nav { display: none; }

@media (min-width: 1024px) {
	.main-nav { display: block; }
	.nav-toggle { display: none; }
}

.main-nav__list {
	display: flex; flex-wrap: nowrap; align-items: center; gap: 26px;
	font-size: 12.5px; letter-spacing: 0.15em;
	font-weight: 500; text-transform: uppercase; color: #333;
}

.main-nav__list a { white-space: nowrap; }

@media (min-width: 1400px) {
	.main-nav__list { gap: 40px; font-size: 13px; letter-spacing: 0.2em; }
}

.main-nav__list a { transition: color .25s ease; }
.main-nav__list a:hover { color: var(--accent); }

/* Hamburger */
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle span:last-child { width: 16px; align-self: flex-end; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

/* Menu mobile */
.mobile-nav {
	position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0;
	background: var(--bg); z-index: 40;
	padding: 64px var(--padding-x);
	display: flex; flex-direction: column; justify-content: space-between;
	transform: translateY(-8px); opacity: 0; pointer-events: none;
	transition: opacity .3s ease, transform .3s ease;
}

.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }

.mobile-nav ul { display: flex; flex-direction: column; gap: 36px; }
.mobile-nav a {
	font-family: var(--font-display);
	font-size: 32px; letter-spacing: 0.04em;
}

.mobile-nav__label {
	font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--accent); font-weight: 600; margin-bottom: 8px;
}

/* =========================================================================
   ELEMENTI COMUNI
   ========================================================================= */

.kicker {
	display: block;
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.3em; font-weight: 600;
	color: var(--accent); margin-bottom: 10px;
}

.section { padding: 100px var(--padding-x); border-bottom: 1px solid var(--border); }

.section__header {
	display: flex; flex-direction: column; gap: 24px;
	margin-bottom: 48px;
	padding-bottom: 20px;
}

@media (min-width: 768px) {
	.section__header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.section__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 42px; line-height: 1.05;
}

@media (min-width: 640px) {
	.section__title { font-size: 56px; }
}

.section__intro {
	font-size: 14px; color: var(--muted); line-height: 1.6;
	max-width: 400px;
}

@media (min-width: 768px) { .section__intro { margin: 0 0 0 24px; } }

/* Link con freccia */
.cta-link {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 13px; text-transform: uppercase;
	letter-spacing: 0.18em; font-weight: 600;
	color: var(--ink); padding-bottom: 2px;
	border-bottom: 1px solid var(--ink);
	transition: border-color .25s ease, color .25s ease;
}

.cta-link:hover { border-color: var(--accent); color: var(--accent); }

.cta-link__arrow {
	font-size: 18px; line-height: 1;
	transition: transform .3s ease;
}

.cta-link:hover .cta-link__arrow { transform: translateX(6px); }

/* Animazione di ingresso */
html.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	display: flex; align-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--border);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
}

@media (min-width: 1024px) {
	.hero { background-size: cover; background-position: center center; }
}

.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to right, #F6F5F2 0%, rgba(246, 245, 242, 0.92) 26%, rgba(246, 245, 242, 0.55) 46%, rgba(246, 245, 242, 0.2) 68%, rgba(246, 245, 242, 0) 88%);
}

@media (max-width: 640px) {
	.hero__overlay { background: linear-gradient(to top, rgba(246,245,242,.92) 55%, rgba(246,245,242,.55)); }
}

.hero__inner {
	position: relative; z-index: 1;
	width: 100%;
	max-width: 1400px; margin: 0 auto;
	padding: 80px var(--padding-x);
}

.hero__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: clamp(46px, 8vw, 88px);
	line-height: 1.02;
	max-width: 680px;
}

.hero__title em {
	font-style: italic; font-weight: 400;
	text-decoration: underline;
	text-decoration-color: rgba(139, 38, 19, 0.3);
	text-underline-offset: 12px;
}

.hero__lead {
	margin-top: 32px;
	font-size: 16px; font-weight: 300;
	color: var(--body); line-height: 1.7;
	max-width: 480px; margin-bottom: 48px;
}

@media (min-width: 768px) { .hero__lead { font-size: 18px; } }

/* =========================================================================
   ENSEMBLE — due card affiancate
   ========================================================================= */

.ensembles { display: grid; grid-template-columns: 1fr; gap: 40px; }

@media (min-width: 1024px) {
	.ensembles { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
}

.ensemble-row {
	position: relative;
	display: flex; flex-direction: column; gap: 20px;
	padding: 32px 26px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.5);
	transition: border-color .25s ease;
	overflow: hidden;
}

.ensemble-row:hover { border-color: var(--accent); }

.ensemble-row__watermark {
	position: absolute; top: 6px; right: 14px;
	font-family: var(--font-display); font-weight: 300;
	font-size: 56px; line-height: 1;
	color: var(--watermark);
	user-select: none; pointer-events: none;
}

.ensemble-row__text { display: flex; flex-direction: column; }

.ensemble-row__number {
	display: block; margin-bottom: 12px;
	font-family: var(--font-brand);
	font-size: 28px; font-weight: 300;
	color: #A09D94;
}

.ensemble-row__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: clamp(30px, 3.4vw, 38px); line-height: 1.12; margin-bottom: 14px;
}

.ensemble-row__desc { font-size: 15px; color: var(--body); line-height: 1.7; }

.ensemble-row__figure { display: flex; justify-content: center; margin: 8px 0 4px; }

.ensemble-row__figure img {
	max-height: 240px; width: auto; object-fit: contain;
	mix-blend-mode: multiply;
	filter: contrast(1.05);
}

.ensemble-row .cta-link { margin-top: auto; align-self: flex-start; }

.ensemble-row__title a { color: inherit; text-decoration: none; }
.ensemble-row__title a:hover { color: var(--accent); }

/* =========================================================================
   CONCERTI
   ========================================================================= */

.filters {
	display: inline-flex; align-items: center; gap: 4px;
	border: 1px solid var(--border-strong);
	background: var(--panel);
	padding: 4px; flex-wrap: wrap;
}

.filters__btn {
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.15em; font-weight: 600;
	color: #555; padding: 8px 16px;
	background: transparent; transition: all .25s ease;
}

.filters__btn:hover { color: var(--ink); }

.filters__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(26,26,26,.10); }

.concert-list { display: flex; flex-direction: column; gap: 32px; }

.concert-card {
	display: flex; flex-wrap: wrap; gap: 32px;
	padding: 28px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: border-color .25s ease, opacity .35s ease, transform .35s ease;
}

.concert-card:hover { border-color: var(--accent); }

.concert-card.is-hidden { display: none; }

.concert-card__date {
	flex: 0 0 auto; min-width: 140px;
	display: flex; flex-direction: column;
	border-bottom: 1px solid var(--border-strong);
	padding-bottom: 16px;
}

@media (min-width: 768px) {
	.concert-card__date { border-bottom: 0; border-right: 1px solid var(--border-strong); padding: 0 24px 0 0; }
}

.concert-card__day {
	font-family: var(--font-display); font-weight: 300;
	font-size: 52px; line-height: 0.9; color: var(--ink); margin-bottom: 6px;
}

.concert-card__month {
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.2em; font-weight: 600;
	color: var(--accent); margin-bottom: 2px;
}

.concert-card__year { font-size: 11px; color: var(--muted-2); }

.concert-card__time {
	margin-top: 16px;
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.15em; font-weight: 500; color: #555;
}

.concert-card__thumb {
	position: relative; overflow: hidden;
	flex: 0 0 auto; width: 100%; height: 200px;
	background: var(--border-strong);
}

@media (min-width: 768px) { .concert-card__thumb { width: 260px; height: 170px; } }

.concert-card__thumb img {
	width: 100%; height: 100%; object-fit: cover;
	filter: contrast(1.05);
	transition: transform .5s ease;
}

.concert-card:hover .concert-card__thumb img { transform: scale(1.05); }

.concert-card__badge {
	position: absolute; top: 8px; left: 8px;
	background: rgba(26, 26, 26, 0.8); color: #fff;
	font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em;
	padding: 3px 8px;
}

.concert-card__body {
	flex: 1 1 300px; min-width: 260px;
	display: flex; flex-direction: column; justify-content: space-between;
}

.concert-card__ensemble {
	display: block; margin-bottom: 6px;
	font-size: 10px; text-transform: uppercase;
	letter-spacing: 0.25em; font-weight: 700; color: var(--accent);
}

.concert-card__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 28px; line-height: 1.15; margin-bottom: 8px;
	transition: color .25s ease;
}

@media (min-width: 640px) { .concert-card__title { font-size: 34px; } }

.concert-card:hover .concert-card__title { color: var(--accent); }

.concert-card__composer { font-size: 14px; color: #333; font-weight: 500; margin-bottom: 8px; }

.concert-card__program {
	font-size: 13px; color: var(--muted); line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.concert-card__footer {
	margin-top: 20px; padding-top: 16px;
	border-top: 1px solid rgba(220, 217, 209, 0.6);
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.concert-card__venue { font-size: 12px; color: var(--body); font-weight: 500; }

.concert-card__arrow {
	font-size: 18px; color: var(--ink); flex: 0 0 auto;
	transition: transform .3s ease, color .3s ease;
}

.concert-card:hover .concert-card__arrow { transform: translateX(6px); color: var(--accent); }

/* Modale concerto */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }

.modal__overlay { position: absolute; inset: 0; background: rgba(26, 26, 26, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.modal__box {
	position: relative; z-index: 1;
	background: var(--bg); max-width: 760px; width: 100%;
	max-height: 88vh; overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 14px 12px 0;
	box-shadow: 0 30px 80px rgba(0,0,0,.35);
	animation: modal-in .35s ease;
}

@keyframes modal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.modal__close {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 36px; height: 36px; font-size: 26px; line-height: 1;
	background: rgba(246,245,242,.9); border-radius: 50%;
	transition: color .2s ease;
}

.modal__close:hover { color: var(--accent); }

.modal__img { width: 100%; height: auto; object-fit: contain; }

.modal__body { padding: 32px; }

.modal__ensemble { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; color: var(--accent); margin-bottom: 8px; }

.modal__title { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; margin-bottom: 8px; }

.modal__composer { font-size: 14px; color: #333; font-weight: 500; margin-bottom: 20px; }

.modal__meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.modal__meta > div { display: flex; gap: 12px; font-size: 14px; line-height: 1.6; align-items: baseline; }

.modal__meta dt { font-weight: 600; color: var(--ink); flex: 0 0 118px; }

.modal__meta dd { margin: 0; color: var(--muted); white-space: pre-line; }

/* =========================================================================
   CHI SIAMO
   ========================================================================= */

.about {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 60px;
	align-items: center; margin-bottom: 80px;
}

@media (min-width: 1024px) {
	.about { grid-template-columns: repeat(12, 1fr); }
	.about__text { grid-column: span 7; }
	.about__quote { grid-column: span 5; }
}

.about__title {
	font-family: var(--font-display); font-weight: 300;
	font-size: 40px; line-height: 1.1; margin-bottom: 28px;
}

@media (min-width: 640px) { .about__title { font-size: 54px; } }

.about__p { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }

.about__p.lead { font-size: 16px; color: var(--body); margin-bottom: 20px; }

.stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	padding-top: 24px; margin-top: 16px;
	border-top: 1px solid var(--border);
}

.stat__value { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; color: var(--ink); }

.stat__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-2); }

.about__quote {
	position: relative; overflow: hidden;
	background: var(--ink); color: #fff;
	padding: 40px;
}

@media (min-width: 768px) { .about__quote { padding: 52px; } }

.about__quotemark {
	position: absolute; top: -10px; left: -10px;
	font-family: var(--font-display); font-weight: 300;
	font-size: 120px; line-height: 0.5;
	color: var(--accent); opacity: 0.4;
	user-select: none;
}

.about__quote blockquote {
	position: relative; z-index: 1;
	font-family: var(--font-display); font-style: italic; font-weight: 300;
	font-size: 24px; line-height: 1.4; margin-bottom: 24px;
}

@media (min-width: 640px) { .about__quote blockquote { font-size: 28px; } }

.about__quote cite {
	display: block; font-style: normal;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em;
	color: #CCC; font-weight: 500;
	border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 16px;
}

/* =========================================================================
   STORIA
   ========================================================================= */

.section--story { border-bottom: 0; }

.story {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 60px;
	align-items: start;
}

@media (min-width: 1024px) {
	.story { grid-template-columns: repeat(12, 1fr); }
	.story__gallery { grid-column: span 5; order: 2; }
	.story__text { grid-column: span 7; order: 1; }
}

.story__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.story__gallery img { width: 100%; height: 160px; object-fit: cover; }
.story__gallery .span-2 { grid-column: span 2; height: 220px; }

@media (min-width: 768px) {
	.story__gallery img { height: 200px; }
	.story__gallery .span-2 { height: 270px; }
}

.story__title {
	font-family: var(--font-display); font-weight: 300;
	font-size: 30px; line-height: 1.2; margin-bottom: 24px;
}

@media (min-width: 640px) { .story__title { font-size: 36px; } }

.story__paragraphs { display: flex; flex-direction: column; gap: 18px; }

.story__paragraphs p { font-size: 15px; color: var(--body); line-height: 1.85; font-weight: 300; }

.story__whatwedo { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }

.story__whatwedo .kicker { margin-bottom: 16px; }

.whatwedo { display: flex; flex-direction: column; gap: 12px; }

.whatwedo li { display: flex; gap: 12px; font-size: 15px; color: var(--body); line-height: 1.7; font-weight: 300; }

.whatwedo li::before { content: '—'; color: var(--accent); flex: 0 0 auto; }

.story__note { margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; font-style: italic; }

/* =========================================================================
   CONTATTI (sezione scura)
   ========================================================================= */

.section--dark {
	background: var(--ink); color: #fff;
	border-bottom: 0;
}

.section--dark .kicker { color: var(--accent); filter: brightness(1.5); }

.contact {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 60px;
}

@media (min-width: 1024px) {
	.contact { grid-template-columns: repeat(12, 1fr); }
	.contact__info { grid-column: span 5; }
	.contact__panel { grid-column: span 7; }
}

.contact__info { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }

.contact__title {
	font-family: var(--font-display); font-weight: 300;
	font-size: 42px; line-height: 1.1; margin-bottom: 24px; color: #fff;
}

@media (min-width: 640px) { .contact__title { font-size: 54px; } }

.contact__lead { font-size: 15px; color: #AAA; line-height: 1.7; font-weight: 300; }

.contact__list {
	display: flex; flex-direction: column; gap: 16px;
	font-size: 13px; color: #CCC;
	border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
}

.contact__list a { transition: color .25s ease; }
.contact__list a:hover { color: #fff; }

.contact__panel {
	background: #242424;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 32px;
}

@media (min-width: 640px) { .contact__panel { padding: 48px; } }

.contact__form-title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 28px; margin-bottom: 24px; color: #fff;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 0 24px; }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; margin-bottom: 24px; }

.form-field label {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.15em; color: #AAA; margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 0;
	color: #fff; font: inherit; font-size: 15px;
	padding: 12px 14px;
	transition: border-color .25s ease;
	-webkit-appearance: none; appearance: none;
}

.form-field select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23AAAAAA' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
	padding-right: 36px;
}

.form-field select option { color: #1A1A1A; background: #F6F5F2; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); }

.form-field textarea { resize: vertical; min-height: 130px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.btn-submit {
	display: inline-block;
	background: var(--accent); color: #fff;
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 0.2em; font-weight: 600;
	padding: 16px 40px;
	transition: background .25s ease;
}

.btn-submit:hover { background: var(--accent-hover); }

.form-success {
	background: rgba(139, 38, 19, 0.2);
	border: 1px solid var(--accent);
	padding: 24px; text-align: center; margin-bottom: 32px;
}

.form-success__title { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; color: #fff; }

.form-success p { color: #DDD; font-size: 13px; }

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 60px var(--padding-x) 40px;
}

.site-footer__grid {
	max-width: 1400px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
	margin-bottom: 48px;
}

@media (min-width: 900px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }

.brand--footer { margin-bottom: 16px; }

.site-footer__about { font-size: 13px; color: var(--muted-3); line-height: 1.7; max-width: 280px; }

.site-footer__heading {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.25em; font-weight: 700;
	color: var(--ink); margin: 8px 0 16px;
}

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }

.site-footer__links a { font-size: 13px; color: var(--muted); transition: color .25s ease; }
.site-footer__links a:hover { color: var(--accent); }

.site-footer__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }

.site-footer__contacts a:hover { color: var(--accent); }

.site-footer__contacts .muted, .site-footer__bottom .muted { color: var(--muted-3); }

.site-footer__bottom {
	max-width: 1400px; margin: 0 auto;
	border-top: 1px solid var(--border); padding-top: 24px;
	display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between;
}

@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }

.site-footer__bottom p { font-size: 11px; color: var(--muted-3); }

/* =========================================================================
   PAGINE INTERNE / SINGOLI / 404
   ========================================================================= */

.page-content { max-width: 800px; margin: 0 auto; padding: 100px var(--padding-x); }

.page-content h1, .entry-title {
	font-family: var(--font-display); font-weight: 400;
	font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin-bottom: 24px;
}

.page-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 40px 0 16px; }

.page-content p { color: var(--body); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }

.page-content a { color: var(--accent); border-bottom: 1px solid rgba(139, 38, 19, .3); }
.page-content a:hover { border-color: var(--accent); }

.page-content ul:not(.whatwedo), .page-content ol { padding-left: 20px; margin-bottom: 20px; color: var(--body); }
.page-content ul:not(.whatwedo) { list-style: disc; }
.page-content ol { list-style: decimal; }

.error-404 { text-align: center; }

.error-404 .code {
	font-family: var(--font-display); font-weight: 300;
	font-size: clamp(90px, 18vw, 180px); line-height: 1; color: var(--watermark);
}

.error-404 .btn-submit { margin-top: 16px; display: inline-block; }

/* =========================================================================
   PAGINA AMMINISTRAZIONE TRASPARENTE
   ========================================================================= */

.tp-hero {
	padding: 80px var(--padding-x) 56px;
	border-bottom: 1px solid var(--border);
}

.tp-hero__inner { max-width: 1200px; margin: 0 auto; }

.tp-hero__title {
	font-family: var(--font-display); font-weight: 300;
	font-size: clamp(36px, 5.5vw, 58px); line-height: 1.08;
	margin-bottom: 20px;
}

.tp-hero__lead { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; max-width: 640px; }

.tp-section { padding: 64px var(--padding-x); border-bottom: 1px solid var(--border); }

.tp-section__inner { max-width: 1200px; margin: 0 auto; }

.tp-section__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 34px; line-height: 1.15; margin-bottom: 8px;
}

@media (min-width: 640px) { .tp-section__title { font-size: 42px; } }

.tp-section__note { font-size: 13px; color: var(--muted-3); margin-bottom: 36px; font-style: italic; }

/* Dati dell'associazione: righe definizione */
.tp-dl {
	display: grid; grid-template-columns: 1fr;
	border-top: 1px solid var(--border);
}

@media (min-width: 768px) { .tp-dl { grid-template-columns: 220px 1fr; } }

.tp-dl > div {
	display: flex; flex-direction: column; gap: 2px;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
	.tp-dl > div { grid-column: span 2; display: grid; grid-template-columns: 220px 1fr; }
	.tp-dl dt, .tp-dl dd { padding: 16px 0; }
}

.tp-dl dt {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.25em; font-weight: 700; color: var(--accent);
}

.tp-dl dd { margin: 0; font-size: 15px; color: var(--body); line-height: 1.7; font-weight: 300; }

.tp-dl dd a { color: var(--ink); border-bottom: 1px solid rgba(139, 38, 19, .3); transition: color .2s ease; }
.tp-dl dd a:hover { color: var(--accent); }

/* Organi sociali / collaboratori: griglia di card */
.tp-grid {
	display: grid; grid-template-columns: 1fr; gap: 24px;
}

@media (min-width: 640px) { .tp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tp-grid { grid-template-columns: repeat(3, 1fr); } }

.tp-card {
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.5);
	padding: 28px;
	display: flex; flex-direction: column; gap: 8px;
	transition: border-color .25s ease;
}

.tp-card:hover { border-color: var(--accent); }

.tp-card__role {
	font-size: 10px; text-transform: uppercase;
	letter-spacing: 0.25em; font-weight: 700; color: var(--accent);
}

.tp-card__name {
	font-family: var(--font-display); font-weight: 400;
	font-size: 24px; line-height: 1.15; color: var(--ink);
}

.tp-card__desc { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 300; }

.tp-card__meta {
	margin-top: auto; padding-top: 14px;
	border-top: 1px solid var(--border);
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--muted-2); display: flex; flex-direction: column; gap: 6px;
}

.tp-card__meta strong { color: var(--ink); font-weight: 600; }

.tp-card__link {
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
	font-weight: 600; color: var(--ink);
	border-bottom: 1px solid var(--ink); align-self: flex-start;
	padding-bottom: 1px; transition: color .2s ease, border-color .2s ease;
}

.tp-card__link:hover { color: var(--accent); border-color: var(--accent); }

/* Documento / rendiconti */
.tp-doc {
	display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
}

.tp-doc__figure {
	flex: 0 1 420px; border: 1px solid var(--border);
	background: #fff; padding: 16px;
}

.tp-doc__figure img { width: 100%; height: auto; }

.tp-doc__caption { margin-top: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-3); }

.tp-doc__list { flex: 1 1 300px; display: flex; flex-direction: column; border-top: 1px solid var(--border); }

.tp-doc__list a, .tp-doc__list span {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 0; border-bottom: 1px solid var(--border);
	font-size: 14px; color: var(--body); font-weight: 400;
	transition: color .2s ease;
}

.tp-doc__list a .tp-doc__arrow, .tp-doc__list span .tp-doc__arrow { color: var(--ink); transition: transform .25s ease; }
.tp-doc__list a:hover { color: var(--accent); }
.tp-doc__list a:hover .tp-doc__arrow { transform: translateX(6px); color: var(--accent); }

/* Tabelle contributi (L. 124/2017) */
.tp-text p { font-size: 15px; color: var(--body); line-height: 1.85; font-weight: 300; margin-bottom: 16px; }

.tp-year {
	font-family: var(--font-display); font-weight: 400;
	font-size: 30px; line-height: 1; color: var(--ink);
	margin: 40px 0 4px;
}

.tp-year:first-of-type { margin-top: 24px; }

.tp-year small {
	display: block; margin-top: 4px;
	font-family: var(--font-body); font-size: 11px;
	text-transform: uppercase; letter-spacing: 0.2em;
	color: var(--muted-3); font-weight: 400;
}

.tp-tablewrap { overflow-x: auto; }

.tp-table {
	width: 100%; border-collapse: collapse;
	font-size: 13.5px; background: rgba(255,255,255,.5);
}

.tp-table th {
	text-align: left;
	font-size: 10px; text-transform: uppercase;
	letter-spacing: 0.2em; color: var(--accent); font-weight: 700;
	padding: 10px 12px; border-bottom: 1px solid var(--ink);
}

.tp-table td {
	padding: 12px; border-bottom: 1px solid var(--border);
	color: var(--body); line-height: 1.55; vertical-align: top; font-weight: 300;
}

.tp-table td.num, .tp-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.tp-table tr.tot td {
	border-top: 2px solid var(--ink); border-bottom: 0;
	font-weight: 600; color: var(--ink); background: var(--panel);
}

.tp-source {
	margin-top: 20px; font-size: 12px; color: var(--muted-3);
	font-style: italic;
}

.tp-source a { color: var(--muted); border-bottom: 1px solid var(--border-strong); }
.tp-source a:hover { color: var(--accent); }

@media (max-width: 720px) {
	.tp-table thead { display: none; }
	.tp-table, .tp-table tbody, .tp-table tr, .tp-table td { display: block; width: 100%; }
	.tp-table tr { padding: 12px 0; border-bottom: 1px solid var(--border-strong); }
	.tp-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border: 0; padding: 4px 0; text-align: right; }
	.tp-table td::before {
		content: attr(data-label);
		font-size: 10px; text-transform: uppercase;
		letter-spacing: 0.15em; color: var(--accent); font-weight: 700;
		text-align: left; flex: 0 0 auto;
	}
	.tp-table tr.tot { display: flex; justify-content: space-between; padding: 10px 12px; margin-top: 8px; background: var(--panel); }
	.tp-table tr.tot td { padding: 0; }
	.tp-table tr.tot td:first-child::before { content: none; }
}

/* =========================================================================
   PAGINE ENSEMBLE (Tiepolo Barocca / Tiepolo Brass)
   ========================================================================= */

.ens-heroimg { border-bottom: 1px solid var(--border); overflow: hidden; }

.ens-heroimg img { width: 100%; max-height: 480px; object-fit: cover; }

/* Timeline "Momenti significativi" */
.ens-timeline { border-top: 1px solid var(--border); margin-top: 8px; }

.ens-timeline__item {
	display: grid; grid-template-columns: 140px 1fr; gap: 24px;
	padding: 22px 0; border-bottom: 1px solid var(--border);
}

.ens-timeline__year {
	font-family: var(--font-display); font-weight: 400;
	font-size: 32px; line-height: 1; color: var(--accent);
}

.ens-timeline__year small {
	display: block; margin-top: 6px;
	font-family: var(--font-body); font-size: 10px;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--muted-3); font-weight: 400;
}

.ens-timeline__text { font-size: 15px; color: var(--body); line-height: 1.8; font-weight: 300; }

.ens-timeline__text strong { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
	.ens-timeline__item { grid-template-columns: 1fr; gap: 8px; }
}

/* Elenco concerti compatto nelle pagine ensemble */
.ens-concert { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }

.ens-concert__date {
	font-family: var(--font-display); font-weight: 400;
	font-size: 26px; color: var(--ink); flex: 0 0 150px;
}

.ens-concert__date small {
	font-family: var(--font-body); font-size: 10px;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--accent); font-weight: 600; display: block; margin-top: 2px;
}

.ens-concert__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 22px; line-height: 1.2; color: var(--ink);
	transition: color .2s ease;
}

a.ens-concert:hover .ens-concert__title { color: var(--accent); }

.ens-concert__venue { width: 100%; font-size: 12px; color: var(--muted); }

.ensemble-row__title a { color: inherit; text-decoration: none; }
.ensemble-row__title a:hover { color: var(--accent); }

/* =========================================================================
   PAGINA "I NOSTRI PROGETTI"
   ========================================================================= */

.proj-list { display: flex; flex-direction: column; gap: 72px; }

.proj-row {
	display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px;
	padding-bottom: 56px; border-bottom: 1px solid var(--border);
}

.proj-row:last-child { border-bottom: 0; padding-bottom: 0; }

.proj-row__figure { flex: 0 0 260px; }

.proj-row__figure img {
	width: 100%; height: auto; display: block;
	border: 1px solid var(--border); background: #fff; padding: 8px;
	box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
}

.proj-row__body { flex: 1 1 340px; min-width: 280px; }

.proj-row__tag {
	display: block; margin-bottom: 10px;
	font-size: 10px; text-transform: uppercase;
	letter-spacing: 0.25em; font-weight: 700; color: var(--accent);
}

.proj-row__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 34px; line-height: 1.1; margin-bottom: 16px;
}

@media (min-width: 768px) {
	.proj-row--reverse { flex-direction: row-reverse; }
}

.proj-row__desc { font-size: 15px; color: var(--body); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }

.proj-row__desc + .proj-row__desc { margin-top: -6px; }

/* Programma di sala */
.proj-program {
	margin-top: 24px; padding-top: 20px;
	border-top: 1px solid var(--border);
	columns: 2; column-gap: 40px;
	font-size: 13px; color: var(--muted); line-height: 1.7;
}

@media (max-width: 720px) { .proj-program { columns: 1; } }

.proj-program li {
	break-inside: avoid; padding-left: 14px; position: relative;
	margin-bottom: 6px;
}

.proj-program li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

.proj-program strong { color: var(--ink); font-weight: 600; }

/* Miniature di richiamo (pagina Tiepolo Brass) */
.proj-tease { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.proj-tease__posters { display: flex; gap: 12px; flex-wrap: wrap; }

.proj-tease__posters img {
	width: 96px; height: auto;
	border: 1px solid var(--border); background: #fff; padding: 4px;
	transition: transform .3s ease;
}

.proj-tease__posters a:hover img { transform: translateY(-6px); }

/* Singolo concerto */
.concert-hero { padding: 80px var(--padding-x) 40px; border-bottom: 1px solid var(--border); }

.concert-hero__inner { max-width: 1200px; margin: 0 auto; }

.concert-hero__img { width: 100%; max-height: 460px; object-fit: cover; margin-top: 32px; }

.concert-meta {
	max-width: 800px; margin: 0 auto; padding: 40px var(--padding-x) 100px;
	display: flex; flex-direction: column; gap: 12px;
}

.concert-meta > div { display: flex; gap: 8px; font-size: 15px; }
.concert-meta dt { font-weight: 600; flex: 0 0 auto; }
.concert-meta dd { margin: 0; color: var(--body); }

/* Menu mobile generato da wp_nav_menu */
.mobile-nav__list { display: flex; flex-direction: column; gap: 36px; }
.mobile-nav__list a { font-family: var(--font-display); font-size: 32px; letter-spacing: 0.04em; }

/* =========================================================================
   PAGINA CONTATTI
   ========================================================================= */

.contact-page {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 48px;
	align-items: start;
}

@media (min-width: 1024px) {
	.contact-page { grid-template-columns: 5fr 7fr; }
}

.lvda-map {
	margin-top: 24px;
	border: 1px solid var(--border);
	background: var(--panel);
}

.lvda-map iframe {
	width: 100%; height: 380px; border: 0; display: block;
	filter: grayscale(1) contrast(1.04) opacity(0.92);
}

/* =========================================================================
   SOSTEGNO (loghi enti) — sopra il footer
   ========================================================================= */

.sostegno {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 64px var(--padding-x) 36px;
	text-align: center;
}

.sostegno__title {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.3em; font-weight: 600;
	color: var(--accent); margin-bottom: 28px;
}

.sostegno__loghi {
	display: flex; flex-wrap: wrap;
	justify-content: center; align-items: stretch; gap: 20px;
}

.sostegno__logo {
	background: #fff;
	border: 1px solid var(--border);
	padding: 8px 14px;
	display: flex; align-items: center; justify-content: center;
	transition: transform .25s ease, border-color .25s ease;
}

.sostegno__logo img { max-height: 132px; max-width: 330px; width: auto; height: auto; }

/* Io sono FVG: resta alla misura precedente, già ben leggibile */
.sostegno__logo img[alt="Io sono FVG"] { max-height: 112px; max-width: 290px; }

.sostegno__logo:hover { transform: translateY(-4px); border-color: var(--accent); }


/* =========================================================================
   PAGINA CONTATTI — impaginazione più compatta
   ========================================================================= */

.contact-page { max-width: 1040px; gap: 48px 72px; }

.tp-section--contatti { padding-top: 48px; padding-bottom: 48px; }

.contact-page .tp-dl > div { padding: 12px 0; }

@media (min-width: 640px) {
	.contact-page .tp-dl > div { padding: 0; grid-column: span 2; display: grid; grid-template-columns: 220px 1fr; }
	.contact-page .tp-dl dt, .contact-page .tp-dl dd { padding: 12px 0; }
}

.contact-page .tp-section__title { margin-bottom: 20px; }

.contact-page .contact__form-title { margin-bottom: 18px; }

.contact-page .form-field { margin-bottom: 18px; }

.contact-page .contact__panel { padding: 30px; }

@media (min-width: 640px) {
	.contact-page .contact__panel { padding: 34px 38px; }
}

.contact-page .lvda-map iframe { height: 340px; }

/* Ripiani troppo stretti: etichette compatte sotto i 640px */
@media (max-width: 639px) {
	.tp-dl dt { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 3px; }
	.tp-dl dd { font-size: 15px; line-height: 1.6; }
	.tp-dl > div { padding: 13px 0; }
}


/* Elenco recapiti a riga singola (pagina Contatti) */
.contact-lines { border-top: 1px solid var(--border); margin-top: 24px; }

.contact-lines li {
	display: flex; align-items: baseline; gap: 10px;
	padding: 14px 0; border-bottom: 1px solid var(--border);
	font-size: 15px; color: var(--body); line-height: 1.6; font-weight: 300;
}

.contact-lines li strong { color: var(--ink); font-weight: 600; }

.contact-lines a { color: var(--ink); border-bottom: 1px solid rgba(139, 38, 19, 0.3); transition: color 0.2s ease; }
.contact-lines a:hover { color: var(--accent); }


/* Recapiti e lead su riga singola */
.contact-lines li { flex-wrap: nowrap; }

.cl-txt { white-space: nowrap; }

.tp-hero__lead--single { max-width: none; }

@media (min-width: 560px) {
	.tp-hero__lead--single { white-space: nowrap; }
}

@media (max-width: 640px) {
	.contact-lines li { font-size: 14px; padding: 12px 0; }
}

@media (max-width: 420px) {
	.contact-lines li { font-size: 13px; }
	.tp-section--contatti { padding-left: 20px; padding-right: 20px; }
}


/* Solista: terza riga dopo il titolo (senza etichetta) */
.concert-card__solista { font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 8px; }

.modal__solista { font-size: 14px; color: #555555; font-style: italic; margin: -14px 0 20px; }

/* Pulsante del popup centrato */
.modal__cta { display: block; width: 100%; text-align: center; }


/* Breve descrizione nella card (al posto del programma) */
.concert-card__breve {
	font-size: 13px; color: var(--muted); line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Regione, Fondazione e Porcia: un gradino più grandi */
.sostegno__logo img[alt="Regione Friuli Venezia Giulia"],
.sostegno__logo img[alt="Fondazione Friuli"],
.sostegno__logo img[alt="Città di Porcia"] { max-height: 165px; max-width: 390px; }

/* =========================================================================
   EVENTI PASSATI — griglia locandine
   ========================================================================= */

.past-grid { columns: 1; column-gap: 24px; }

@media (min-width: 640px) { .past-grid { columns: 2; } }
@media (min-width: 1024px) { .past-grid { columns: 3; } }

.past-card { break-inside: avoid; width: 100%; margin-bottom: 24px; }

.past-card {
	display: flex; flex-direction: column;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.5);
	color: inherit; text-decoration: none;
	transition: border-color .25s ease, transform .25s ease;
}

a.past-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.past-card__img { position: relative; overflow: hidden; background: var(--border-strong); }

.past-card__img img { width: 100%; height: auto; display: block; filter: saturate(0.85) contrast(1.05); }

.past-card__badge {
	position: absolute; top: 10px; left: 10px;
	background: rgba(26, 26, 26, 0.8); color: #fff;
	font-size: 9px; text-transform: uppercase; letter-spacing: 0.2em;
	padding: 3px 8px;
}

.past-card__body { padding: 18px 20px 20px; }

.past-card__date {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.15em; font-weight: 700; color: var(--accent);
	margin-bottom: 6px;
}

.past-card__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 24px; line-height: 1.15; margin-bottom: 8px;
}

.past-card__venue { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
