:root {
  --ink: #2B3B7C;
  --deep: #141D4A;
  --blue: #2B3B7C;
  --blue-soft: #E4E8F5;
  --soft: #F3F5FA;
  --white: #FFFFFF;
  --black: #141D4A;
  --text: #1F2A57;
  --muted: #525B7A;
  --line: #D6DBEA;
  --red: #2B3B7C;
  --pink: #C973B0;
  --pink-tint: #F4E4F1;
  --mint: #68B09B;
  --mint-tint: #DCEEE9;
  --lime: #A3AE00;
  --lime-tint: #EEF0CF;
  --display: "Lexend", "Segoe UI", Arial, sans-serif;
  --body: "Zilla Slab", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
  --shadow: 0 18px 44px rgba(20, 29, 74, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.125rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); font-weight: 700; }
.skip:focus { top: 8px; }

h1, .h2 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 54ch; }
.kicker { font: 500 .8125rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.section { padding-block: clamp(52px, 6.5vw, 88px); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; }
.prose { max-width: 66ch; }
.white { background: var(--ink); color: var(--white); --dark-muted: #E1E5F4; }
.white .h2, .white .sub-h, .white .kicker { color: var(--white); }
.white .lead, .white .prose { color: var(--white); }
.white a:not(.btn) { color: var(--white); }
.white a:not(.btn):hover { color: #E9C8E0; }
.white .btn:not(.btn--ghost) { background: var(--white); border-color: var(--white); color: var(--ink); }
.white .btn:not(.btn--ghost):hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.white .btn--ghost { color: var(--white); border-color: var(--white); }
.white .btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.white .card, .white .card p, .white .notice, .white .people li, .white .fest-card, .white .news-card, .white .chip, .white .search input { color: var(--text); }
.white .card a, .white .notice a, .white .fest-card a, .white .news-card a { color: var(--ink); }
.white .card a:hover, .white .fest-card a:hover { color: var(--ink); }
.white .card h3, .white .fest-card h3 { color: var(--ink); }
.white .links li, .white .timeline li, .white .partner-list li { border-color: rgba(255, 255, 255, .28); }
.white .links a::after { color: var(--white); }
.white .links small, .white .partner-list span, .white .act p, .white .edition p, .white .bill span { color: var(--dark-muted); }
.white .timeline b, .white .bill time, .white .bill strong, .white .act h3 a, .white .edition h3 { color: var(--white); }
.white .edition p { color: var(--white); }
.more { font-weight: 600; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 20px; font: 600 1.0625rem/1.1 var(--display); text-decoration: none; background: var(--blue); color: var(--white); border: 1px solid var(--blue); border-radius: 0; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); border-color: var(--blue); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--ink); }

/* Testata */
.utility { background: var(--ink); color: #E1E5F4; font-size: .9rem; }
.utility-in { display: flex; justify-content: space-between; gap: 24px; padding-block: 7px; }
.utility ul { display: flex; gap: 20px; }
.utility a { color: var(--white); text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.site-head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { width: auto; height: 54px; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li > a { display: block; padding: 10px; font: 500 1rem/1 var(--display); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { width: 22px; height: 32px; margin-left: -8px; padding: 0 5px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.sub-toggle svg { width: 100%; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; width: 350px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.sub a { display: block; padding: 11px 12px; color: var(--ink); text-decoration: none; }
.sub b { display: block; font: 500 1rem/1.3 var(--display); }
.sub span { display: block; font-size: .95rem; line-height: 1.3; color: var(--muted); }
.sub a:hover { background: var(--soft); }
.sub a:hover b { color: var(--blue); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] ~ .sub { opacity: 1; visibility: visible; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px; background: none; border: 0; color: var(--ink); font: 600 1.0625rem var(--display); cursor: pointer; }
.menu-ico, .menu-ico::before { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-ico { transform: translateY(-4px); }
.menu-ico::before { content: ""; transform: translateY(8px); }
.menu-btn[aria-expanded="true"] .menu-ico { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: rotate(-90deg); }

@media (max-width: 960px) {
  .utility-in > p { display: none; }
  .utility { font-size: .8125rem; }
  .utility ul { justify-content: flex-end; width: 100%; flex-wrap: wrap; gap: 4px 14px; }
  .head-in { min-height: 68px; }
  .brand img { height: 44px; }
  .menu-btn { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--nav-top, 68px) 0 0 0; padding: 8px var(--gutter) 40px; background: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
  .main-nav.open { visibility: visible; opacity: 1; }
  .main-nav > ul { display: block; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 15px 0; font: 600 1.45rem/1.1 var(--display); border: 0; flex: 1; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { display: none; }
  .sub { position: static; width: 100%; padding: 0 0 10px; border: 0; box-shadow: none; opacity: 1; visibility: inherit; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] ~ .sub { visibility: inherit; }
  .sub a { padding: 8px 0; }
  .sub span { display: none; }
  .sub b { font-weight: 400; color: var(--blue); font-size: 1.125rem; }
}

/* Home: foto a tutta larghezza */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 62vh, 560px); background: var(--ink); color: var(--white); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; right: 14px; top: 12px; z-index: 3; color: var(--white); font: 500 .8125rem var(--display); }
@media (min-width: 961px) { .slide-zoom img { transform: scale(1.45); transform-origin: 0% 62%; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 29, 74, .9) 0%, rgba(20, 29, 74, .62) 42%, rgba(20, 29, 74, 0) 72%), linear-gradient(0deg, rgba(20, 29, 74, .55), transparent 40%); pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding-block: 48px 124px; }
.hero h1 { max-width: 22ch; font-size: clamp(1.9rem, 3.3vw, 2.9rem); color: var(--white); }
.hero .lead { margin-top: 18px; color: #E1E5F4; }
.slide-ctrl { position: absolute; right: var(--edge); bottom: 88px; z-index: 3; min-height: 40px; padding: 7px 14px; background: rgba(20, 29, 74, .78); border: 1px solid rgba(255, 255, 255, .55); border-radius: 0; color: var(--white); font: 600 .9375rem var(--display); cursor: pointer; }
.slide-ctrl:hover { background: var(--ink); }
.slide-ctrl:focus-visible { outline-color: var(--white); }

/* Le tre porte d'ingresso */
.doors { position: relative; z-index: 4; margin-top: -68px; }
.doors-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.door { padding: clamp(18px, 2.2vw, 28px); border-left: 1px solid var(--line); }
.door:first-child { border-left: 0; }
.door h2 { display: flex; align-items: center; gap: 12px; font: 600 1.35rem/1.2 var(--display); color: var(--ink); }
.door h2::before { content: ""; flex: none; width: 13px; height: 13px; transform: rotate(45deg); background: var(--pink); }
.door:nth-child(2) h2::before { background: var(--mint); }
.door:nth-child(3) h2::before { background: var(--lime); }
.door > p { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; line-height: 1.45; }
.door ul { margin-top: 10px; }
.door li { border-top: 1px solid var(--line); }
.door li a { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; color: var(--ink); font-weight: 500; text-decoration: none; }
.door li a::after { content: "→"; color: var(--blue); transition: transform .2s; }
.door li a:hover { color: var(--blue); }
.door li a:hover::after { transform: translateX(4px); }

/* Pagina Credits: ogni logo nello stesso spazio */
.credits { display: grid; gap: 32px; }
.credits .partners { display: block; padding-top: 18px; }
.credits .partners-title { margin-bottom: 16px; font: 700 .8125rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.credits .partners-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 28px 32px; align-items: center; }
.credits .partners-logos li { display: flex; align-items: center; justify-content: center; }
.credits .partners-logos img { width: 100%; height: 76px; object-fit: contain; }
@media (min-width: 1100px) { .credits .partners-logos { grid-template-columns: repeat(7, 1fr); gap: 28px 20px; } }

/* Articoli e archivi migrati */
.article { max-width: 860px; }
.art-img { margin-bottom: 26px; }
.art-img img { width: 100%; max-height: 620px; object-fit: contain; background: var(--soft); }
.rich { font-size: 1.125rem; line-height: 1.65; overflow-wrap: anywhere; }
.rich p, .rich ul, .rich ol, .rich blockquote, .rich table, .rich figure { margin-block: 0 1em; }
.rich ul, .rich ol { padding-left: 1.4em; list-style: revert; }
.rich h2, .rich h3, .rich h4 { margin-block: 1.4em .5em; font-family: var(--display); color: var(--ink); line-height: 1.25; }
.rich h2 { font-size: 1.6rem; } .rich h3 { font-size: 1.3rem; } .rich h4 { font-size: 1.1rem; }
.rich img { height: auto; margin-block: 8px; }
.rich iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.rich table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.rich td, .rich th { padding: 6px 10px; border: 1px solid var(--line); vertical-align: top; }
.art-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 18px; }
.art-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.art-back { margin-top: 30px; }
.year-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.year-nav .chip { text-decoration: none; }
.year-group + .year-group { margin-top: 48px; }
.year-group > .h2 { margin-bottom: 18px; }
.news-img--blank { background: linear-gradient(135deg, var(--blue-soft), var(--soft)); }

/* Amministrazione trasparente */
.t-wrap { overflow-x: auto; border: 1px solid var(--line); }
.t-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .975rem; line-height: 1.35; }
.t-table th, .t-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.t-table thead th { background: var(--ink); color: var(--white); font: 600 .8125rem/1.25 var(--display); }
.t-table tbody th { font: 600 .9375rem/1.3 var(--display); color: var(--ink); }
.t-table tbody tr:nth-child(even) { background: var(--soft); }
.t-table b { color: var(--ink); }
.t-table a { font-weight: 600; white-space: nowrap; }
.t-missing { color: var(--muted); font-style: italic; }
.t-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.t-note { margin-top: 10px; max-width: none; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.t-term { display: block; margin-top: 4px; font-size: .75rem; color: var(--muted); }
@media (max-width: 760px) {
  .t-wrap { overflow: visible; border: 0; }
  .t-table { min-width: 0; }
  .t-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .t-table tr { display: block; margin-bottom: 14px; border: 1px solid var(--line); background: var(--white) !important; }
  .t-table th, .t-table td { display: block; padding: 8px 12px; }
  .t-table th[scope=row] { display: block; background: var(--ink); color: var(--white); }
  .t-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 .8125rem/1.3 var(--display); color: var(--muted); }
  .t-table td:empty { display: none; }
}

/* Organizzazione e Aree operative */
.staff { display: grid; gap: clamp(36px, 5vw, 56px); }
.staff-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.staff-head .h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.staff-mail { font-weight: 600; }
.staff .people a { display: block; margin-top: 4px; font-size: .975rem; overflow-wrap: anywhere; }
.staff-empty { color: var(--muted); font-style: italic; }

/* Sportello Europa */
.se-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #A2BFC5 0%, #BCCFD3 48%, #CBDADD 82%, #CBDADD 100%); }
.se-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 44px; background: linear-gradient(180deg, #5F8F9D, #316C7C); }
.se-hero-in { position: relative; z-index: 2; padding-block: clamp(30px, 4vw, 48px) 92px; }
.se-hero .crumbs { color: var(--ink); }
.se-hero .crumbs a { color: var(--ink); }
.se-title { display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 14px); width: fit-content; margin-top: 12px; color: var(--ink); line-height: .98; }
.se-title span { display: block; }
.se-word { font-size: clamp(2.3rem, 4.8vw, 4.2rem); font-weight: 600; transform: skewX(-10deg); transform-origin: left bottom; }
.se-word strong { display: block; margin-left: .55em; font-size: 1.42em; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.se-mark { flex: none; width: clamp(104px, 17vw, 230px); height: auto; margin-bottom: -6px; }
.se-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--ink); }
.se-pillars { display: grid; gap: 4px; margin-top: 18px; font: 500 1.125rem/1.3 var(--display); }
.se-pillars a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.se-pillars a:hover { text-decoration: underline; color: var(--ink); }
.se-pillars a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.se-eu { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 1.0156rem; line-height: 1.25; color: var(--ink); }
.se-flag { flex: none; width: 60px; height: 40px; box-shadow: 0 1px 4px rgba(20, 29, 74, .3); }
.se-tree { position: absolute; right: 0; bottom: 0; z-index: 1; width: auto; height: 100%; max-height: 520px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%), linear-gradient(180deg, transparent, #000 7%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 16%), linear-gradient(180deg, transparent, #000 7%); mask-composite: intersect; }
.se-logos { padding-block: 16px; border-bottom: 1px solid var(--line); }
.se-logos .partners-logos { justify-content: center; gap: 12px 30px; }
.se-logos .pl-asso { height: 38px; }
.se-logos .pl-cocis { height: 42px; }
.se-logos .pl-euradia { height: 32px; }
.se-logos .pl-fed { height: 42px; }
.se-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 5vw, 72px); align-items: start; }
.se-intro .lead { margin-top: 12px; color: var(--text); }
.se-who { padding: 22px 24px; background: var(--soft); border-left: 3px solid #FFCC00; }
.se-who h3 { font: 600 1.15rem/1.25 var(--display); color: var(--ink); }
.se-who p { margin-top: 6px; }
.se-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.se-topics li { padding: 6px 14px; background: var(--blue-soft); color: var(--ink); font: 500 .9375rem/1.25 var(--display); }
.se-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.se-service { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--white); color: var(--text); scroll-margin-top: 100px; }
.se-service::before { content: ""; width: 26px; height: 26px; background: #FFCC00; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.white .se-service h3, .se-service h3 { font: 600 1.3rem/1.2 var(--display); color: var(--ink); }
.se-service p { font-size: 1.0625rem; line-height: 1.45; }
.white .se-service a { margin-top: auto; padding-top: 6px; color: var(--ink); font-weight: 600; }
.se-contact { background: #003399; color: var(--white); }
.se-contact-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(34px, 4vw, 52px); }
.se-contact .se-flag { width: 96px; height: 64px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.se-contact .h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.se-contact address { margin-top: 6px; }
.se-contact a:not(.btn) { color: var(--white); }

/* Festival Multidisciplinare Sardegna */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.partners-title { font-size: .9375rem; line-height: 1.2; color: var(--muted); }
.partners-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.partners-logos img { width: auto; height: 30px; max-width: 100%; }
.partners-logos .p-diac { height: 36px; }
.partners-logos .p-ras { height: 34px; }
.partners-logos .p-sard { height: 15px; }
.partners-band { padding-block: 22px; border-bottom: 1px solid var(--line); }
.partners-band .partners { padding-top: 0; border-top: 0; }
.fms-logo { display: block; width: auto; height: 78px; }
.fms-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center; margin-bottom: 22px; }
.fms-top .h2 { margin-block: 14px 10px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.fms-top p { max-width: 62ch; }
.fms-top .more { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 500; }
.fms-top .dy { max-width: 260px; justify-self: end; }
.fms-page-logo { display: block; width: auto; height: 96px; margin-bottom: 26px; }
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 28px; }
.intro-text { margin-top: 14px; max-width: 58ch; font-size: 1.2rem; }
.intro-text b { font-weight: 600; }
.dy { width: 100%; max-width: 440px; justify-self: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 20px 22px; text-align: center; background: var(--pink-tint); }
.tile::before { content: ""; width: 26px; height: 26px; margin-bottom: 8px; transform: rotate(45deg); background: var(--pink); }
.tile b { font: 700 1rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.tile span { font-size: 1.0625rem; line-height: 1.35; }
.tile--mint { background: var(--mint-tint); }
.tile--mint::before { background: var(--mint); }
.tile--lime { background: var(--lime-tint); }
.tile--lime::before { background: var(--lime); }
.dance { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--black); color: var(--white); }
.dance-text { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(36px, 5vw, 72px) var(--edge); }
.dance .h2 { color: var(--white); }
.dance-brand { font: 600 .9375rem var(--display); letter-spacing: .14em; text-transform: uppercase; }
.dance-brand span { color: var(--lime); }
.dance-note { font-style: italic; font-size: 1.2rem; line-height: 1.45; color: #E8EEF0; }
.dance-dia { width: 42px; height: 42px; margin-left: 8px; margin-bottom: 8px; transform: rotate(45deg); background: var(--pink); }
.dance-img { position: relative; min-height: 460px; overflow: hidden; }
.dance-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.dance--solo .dance-img img { object-position: 70% 80%; }
.dance-img::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 30%; background: linear-gradient(90deg, var(--black), transparent); }
.places-head { padding-block: clamp(32px, 4vw, 48px); background: var(--ink); color: var(--white); }
.places-head .kicker { color: #E9C8E0; }
.places-head .h2 { margin-top: 10px; color: var(--white); }
.places { display: grid; gap: clamp(24px, 3vw, 40px); }
.place { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(24px, 4vw, 56px); align-items: center; --dia: var(--pink); }
.place--mint { --dia: var(--mint); }
.place--lime { --dia: var(--lime); }
.place:nth-child(even) .place-img { order: 2; }
.place-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--black); }
.place-img img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 8px; bottom: 6px; color: var(--white); font: 500 .8125rem var(--display); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.page-head > .credit { z-index: 2; right: 12px; }
.feature-photo { position: relative; }
.fms-sites small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.2; color: var(--muted); }
.place h3, .edition h3 { display: flex; align-items: center; gap: 12px; font: 700 1.5rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.place h3::before, .edition h3::before { content: ""; flex: none; width: 13px; height: 13px; transform: rotate(45deg); background: var(--dia); }
.place-where { margin-block: 6px 8px; font: 500 .8125rem/1.35 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.place p:last-child { max-width: 46ch; }
.wide-photo { position: relative; margin-bottom: 26px; }
.wide-photo img { width: 100%; max-height: 420px; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 18px; background: var(--pink); color: var(--ink); font: 700 .8125rem var(--display); letter-spacing: .12em; text-transform: uppercase; }
.editions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.edition { --dia: var(--pink); }
.edition.place--mint { --dia: var(--mint); }
.edition.place--lime { --dia: var(--lime); }
.edition h3 { font-size: .9375rem; letter-spacing: .08em; margin-bottom: 8px; }
.edition p { line-height: 1.4; }
.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--white); text-align: center; }
.cta::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 90px 90px 0; border-color: transparent var(--pink) transparent transparent; }
.cta::after { content: ""; position: absolute; bottom: 0; left: 0; border-style: solid; border-width: 64px 0 0 64px; border-color: transparent transparent transparent var(--mint); }
.cta-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: clamp(44px, 5vw, 68px); }
.cta .h2 { color: var(--white); }
.cta ul { display: grid; gap: 8px; text-align: left; font-size: 1.2rem; }
.cta li { display: flex; align-items: center; gap: 12px; }
.cta li::before { content: ""; flex: none; width: 11px; height: 11px; transform: rotate(45deg); background: var(--white); }
.cta .btn { padding-inline: 34px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.cta-note { font-style: italic; }
.fms { padding-top: clamp(32px, 4vw, 48px); }
.fms-sites { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.fms-sites a { display: block; color: var(--ink); text-decoration: none; }
.fms-sites img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fms-sites b { display: block; margin-top: 8px; font: 700 .95rem/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.fms-sites span { font-size: 1rem; color: var(--muted); }
.fms-sites a:hover b { color: var(--blue); }
.sites { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px clamp(16px, 2.2vw, 28px); }
.site { grid-column: span 2; }
.site:nth-child(n+4) { grid-column: span 3; }
.site-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.site-img img { width: 100%; height: 100%; object-fit: cover; }
.site h3 { margin-top: 12px; font: 600 1.4rem/1.2 var(--display); color: var(--ink); }
.site-place { color: var(--blue); font-weight: 600; font-size: 1.0156rem; }
.site-2025 { margin-top: 6px; color: var(--muted); font-size: 1.0156rem; line-height: 1.4; }
.site-2025 b { color: var(--ink); }

/* Chi siamo con i numeri */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about .h2 { margin-block: 10px 16px; }
.about .prose { margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.stat { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(2.3rem, 3.8vw, 3.25rem)/1 var(--display); color: var(--blue); }
.stat span { display: block; margin-top: 8px; font-size: 1.0156rem; line-height: 1.35; color: var(--muted); }

/* In evidenza */
.front { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.front .news-card { display: grid; grid-template-columns: 1fr 1fr; }
.front .news-img { aspect-ratio: auto; min-height: 300px; }
.front .news-body { align-content: center; padding: 28px; }
.front .news-body h3 { font-size: 1.8rem; }
.news-rows li { border-top: 1px solid var(--line); }
.news-rows li:last-child { border-bottom: 1px solid var(--line); }
.news-rows a { display: block; padding-block: 13px; color: var(--ink); text-decoration: none; }
.news-rows b { display: block; font: 600 1.25rem/1.2 var(--display); }
.news-rows a:hover b { color: var(--blue); }
.news-rows .news-when { display: block; font-size: .95rem; }

/* Attività: righe foto e testo alternate */
.row { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.row-img { position: relative; overflow: hidden; background: var(--ink); }
.row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.row:hover .row-img img { transform: scale(1.025); }
.row-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px) var(--edge) clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px); background: var(--soft); }
.row:nth-child(even) .row-img { order: 2; }
.row:nth-child(even) .row-text { padding: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) var(--edge); background: var(--white); }
.row-text .h2 { margin-block: 8px 12px; }
.row-text > p:not(.kicker) { color: var(--muted); max-width: 48ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block: 16px 22px; }
.chips a { font-weight: 600; }
.row-text .btn { align-self: flex-start; }

/* Striscia dei soci in home */
.band-soci { padding-block: clamp(36px, 4vw, 52px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 60px); }
.band-soci .section-head, .section--tight .section-head { margin-bottom: 22px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 8px 12px; }
.facts-in > div { padding: 18px 20px; background: var(--pink-tint); }
.facts-in > div:nth-child(2) { background: var(--mint-tint); }
.facts-in > div:nth-child(3) { background: var(--lime-tint); }
.facts-in > div:nth-child(4) { background: var(--soft); }
.facts-in b { display: block; font: 600 clamp(1.9rem, 3vw, 2.5rem)/1.05 var(--display); color: var(--blue); }
.facts-in span { font-size: 1.0156rem; line-height: 1.3; color: var(--muted); }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.act { position: relative; }
.act-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.act-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.act:hover .act-img img { transform: scale(1.03); }
.act h3 { margin-top: 12px; font: 600 1.35rem/1.2 var(--display); }
.act h3 a { color: var(--ink); text-decoration: none; }
.act h3 a::after { content: ""; position: absolute; inset: 0; }
.act:hover h3 a { color: var(--blue); }
.act p { margin-top: 4px; color: var(--muted); font-size: 1.0156rem; line-height: 1.4; }
.strip { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.strip-track { display: flex; width: max-content; animation: slide 90s linear infinite; }
.strip:hover .strip-track, .strip.paused .strip-track { animation-play-state: paused; }
.strip ul { display: flex; flex: none; }
.strip li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 132px; padding-inline: 10px; text-align: center; font-size: .9375rem; line-height: 1.2; color: var(--muted); }
@keyframes slide { to { transform: translateX(-50%); } }
.strip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }

/* Stemmi */
.crest { position: relative; display: grid; place-items: center; width: 72px; height: 84px; }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.crest--logo { width: 128px; }
.crest--dark img { padding: 8px; background: var(--ink); }
.mono { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 600 1.25rem/1 var(--display); }

/* Pagina soci */
.soci-count { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-bottom: 28px; }
.soci-count b { display: block; font: 600 2.4rem/1 var(--display); color: var(--blue); }
.soci-count span { color: var(--muted); font-size: 1.0156rem; }
.toolbar { position: sticky; top: 81px; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; padding-block: 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.tabs { display: inline-flex; margin-right: 8px; border: 1px solid var(--ink); border-radius: 0; overflow: hidden; }
.tab { min-height: 42px; padding: 7px 16px; background: var(--white); border: 0; color: var(--ink); font: 600 1rem var(--display); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip { min-height: 42px; padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 600 1rem var(--display); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.search { position: relative; flex: 1 1 220px; max-width: 340px; margin-left: auto; }
.search input { min-height: 42px; width: 100%; padding: 7px 14px; border: 1px solid var(--muted); border-radius: 0; background: var(--white); font: inherit; color: var(--text); }
.search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; padding: 1px; }
.ente { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px 16px; outline: 1px solid var(--line); text-align: center; transition: background .15s; }
.ente:hover { background: var(--soft); }
.ente[hidden], .list-cols li[hidden], .list-group[hidden] { display: none; }
.ente-name { font-weight: 600; font-size: 1rem; line-height: 1.22; color: var(--ink); }
.list-group + .list-group { margin-top: 36px; }
.list-group h3 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 600 1.5rem/1.2 var(--display); color: var(--ink); }
.list-group h3 span { font: 400 1.0625rem var(--body); color: var(--muted); }
.list-cols { columns: 4 200px; column-gap: 32px; }
.list-cols li { padding-block: 5px; break-inside: avoid; border-bottom: 1px solid var(--soft); }
.empty { padding: 28px 0; font-size: 1.2rem; }
[data-view="logos"] .view-list, [data-view="list"] .view-logos { display: none; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.news-card:hover { border-color: var(--blue); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.news-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.news-body { display: grid; gap: 6px; padding: 20px; }
.news-body h3 { font: 600 1.4rem/1.18 var(--display); }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover h3 a { color: var(--blue); }
.news-when { font-weight: 600; color: var(--blue); font-size: 1rem; }
.news-body > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* Doppia fascia */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--white); }
.duo-a { padding: clamp(40px, 5vw, 68px) clamp(28px, 4vw, 64px) clamp(40px, 5vw, 68px) var(--edge); background: var(--blue); }
.duo-b { padding: clamp(40px, 5vw, 68px) var(--edge) clamp(40px, 5vw, 68px) clamp(28px, 4vw, 64px); background: var(--black); }
.duo .h2 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.duo .kicker { color: #E1E5F4; }
.duo p:not(.kicker) { color: #E1E5F4; max-width: 46ch; }
.duo .btn { margin-top: 8px; }

/* Testata pagine interne */
.page-head { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.page-head.has-photo { min-height: 400px; display: flex; align-items: flex-end; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 29, 74, .92), rgba(20, 29, 74, .55) 50%, rgba(20, 29, 74, .05) 80%); }
.page-head-in { position: relative; z-index: 1; padding-block: clamp(40px, 5vw, 60px); }
.page-head h1 { margin-top: 12px; max-width: 22ch; font-size: clamp(2rem, 3.8vw, 3.1rem); color: var(--white); }
.page-head .lead { margin-top: 12px; color: #E1E5F4; font-style: italic; }
.crumbs { font-size: 1rem; color: #E1E5F4; }
.crumbs a { color: var(--white); }
.crumbs a:hover { color: var(--white); }
.crumbs a:focus-visible, .page-head a:focus-visible { outline-color: var(--white); }
.subnav { background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 15px 12px 13px; color: var(--ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav li:first-child a { padding-left: 0; }
.subnav a:hover { color: var(--blue); }
.subnav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }

/* Griglie interne */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(20px, 5vw, 72px); align-items: start; }
.split > .h2 { position: sticky; top: 112px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; padding: 1px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.2vw, 28px); background: var(--white); outline: 1px solid var(--line); }
.card h3 { font: 600 1.4rem/1.18 var(--display); color: var(--ink); }
.card p { font-size: 1.0625rem; line-height: 1.5; }
.card > a:last-child { margin-top: auto; padding-top: 6px; font-weight: 600; overflow-wrap: anywhere; }

.timeline li { display: grid; grid-template-columns: 7ch 1fr; gap: 20px; padding-block: 15px; border-top: 1px solid var(--line); }
.timeline b { font: 600 1.5rem/1.1 var(--display); color: var(--blue); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.people li { padding: 16px 18px; background: var(--soft); border-left: 3px solid var(--blue); }
.white .people li { background: var(--white); }
.people b { display: block; font: 600 1.1rem/1.25 var(--display); color: var(--ink); }
.people span { display: block; margin-top: 3px; font-size: 1rem; line-height: 1.35; color: var(--muted); }
.sub-h { margin-block: 36px 14px; font: 600 1.4rem/1.2 var(--display); color: var(--ink); }
.sub-h:first-child { margin-top: 0; }
.links li { border-top: 1px solid var(--line); }
.links li:last-child { border-bottom: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; color: var(--ink); text-decoration: none; font-weight: 600; }
.links a::after { content: "→"; color: var(--blue); }
.links a:hover { color: var(--blue); }
.links small { display: block; font-weight: 400; font-size: .975rem; color: var(--muted); }
.partner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; font-size: 1.0156rem; }
.partner-list li { padding-block: 9px; border-top: 1px solid var(--line); }
.partner-list span { display: block; font-size: .925rem; color: var(--muted); }
.kicker + .h2 { margin-top: 8px; }

/* Programma */
.bill li { display: grid; grid-template-columns: 8.5ch 1fr; gap: 16px; align-items: baseline; padding-block: 11px; border-top: 1px solid var(--line); }
.bill li:last-child { border-bottom: 1px solid var(--line); }
.bill time { font-weight: 600; font-size: 1rem; color: var(--blue); }
.bill strong { display: block; font: 600 1.2rem/1.2 var(--display); color: var(--ink); }
.bill span { color: var(--muted); font-size: 1rem; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.feature-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-grid .lead { margin-block: 10px 0; color: var(--muted); }

/* Galleria */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 19vw, 260px); gap: 8px; }
.mosaic figure { position: relative; overflow: hidden; background: var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.m-a { grid-column: span 7; grid-row: span 2; }
.m-b { grid-column: span 5; }
.m-c { grid-column: span 5; }

/* Festival */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.fest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1px; padding: 1px; }
.fest-card { background: var(--white); outline: 1px solid var(--line); }
.fest-card a, .fest-card .fest-static { display: flex; flex-direction: column; height: 100%; min-height: 160px; padding: 22px; color: var(--text); text-decoration: none; transition: background .15s; }
.fest-card a:hover { background: var(--blue-soft); }
.fest-card[hidden] { display: none; }
.fest-card h3 { font: 600 1.45rem/1.15 var(--display); color: var(--ink); }
.fest-place { margin-top: 6px; font-size: 1.0156rem; line-height: 1.3; color: var(--muted); }
.fest-years { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 1rem; color: var(--blue); }

/* Contatti */
.contact-big { font: 600 clamp(1.5rem, 3vw, 2.25rem)/1.2 var(--display); overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
.contact-big:hover { color: var(--blue); }
.notice { padding: 16px 20px; background: var(--blue-soft); border-left: 3px solid var(--blue); font-size: 1.0625rem; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Piede */
.site-foot { background: var(--ink); color: #E1E5F4; font-size: 1.0625rem; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 52px 36px; }
.foot-grid h2 { margin-bottom: 12px; font: 700 .8125rem var(--display); letter-spacing: .09em; text-transform: uppercase; color: #E1E5F4; }
.site-foot a { color: var(--white); text-decoration: none; }
.foot-grid a { line-height: 1.8; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--white); }
.foot-grid p { margin-top: 10px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px 26px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; }

@media (max-width: 960px) {
  .se-services { grid-template-columns: repeat(2, 1fr); }
  .se-intro, .se-contact-in { grid-template-columns: 1fr; }
  .se-lead { max-width: 54%; }
  .se-tree { width: min(44%, 340px); height: auto; max-height: none; }
  .intro, .fms-top, .dance, .place, .editions { grid-template-columns: 1fr; }
  .fms-top .dy { display: none; }
  .place:nth-child(even) .place-img { order: 0; }
  .dance-text { padding: 36px var(--gutter); }
  .dance-img { min-height: 0; aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: repeat(2, 1fr) !important; }
  .fms-logo { height: 62px; }
  .fms-sites { grid-template-columns: repeat(2, 1fr); }
  .sites { grid-template-columns: 1fr; }
  .site, .site:nth-child(n+4) { grid-column: auto; }
  .partners-logos { justify-content: flex-start; }
  .doors-grid, .acts, .front, .row, .duo, .news-grid, .split, .feature-grid { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .door { border-left: 0; border-top: 1px solid var(--line); }
  .door:first-child { border-top: 0; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 29, 74, .94) 25%, rgba(20, 29, 74, .3) 70%, rgba(20, 29, 74, 0.05)); }
  .slide-ctrl { top: 12px; right: 12px; bottom: auto; }
  .row { min-height: 0; }
  .row-img { aspect-ratio: 16 / 10; }
  .row:nth-child(even) .row-img { order: 0; }
  .row-text, .row:nth-child(even) .row-text { padding: 28px var(--gutter) 36px; }
  .duo-a, .duo-b { padding: 40px var(--gutter); }
  .split > .h2 { position: static; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; }
  .search { margin-left: 0; max-width: none; flex-basis: 100%; }
  .toolbar { position: static; }
  .page-head.has-photo { min-height: 340px; }
  .page-head.has-photo::after { background: linear-gradient(0deg, rgba(20, 29, 74, .94) 30%, rgba(20, 29, 74, .25)); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .m-a { grid-column: span 2; grid-row: span 1; }
  .m-b, .m-c { grid-column: span 1; }
}
@media (max-width: 620px) {
  .se-lead { max-width: 46ch; }
  .se-hero-in { padding-bottom: 28px; }
  .se-tree { position: relative; display: block; height: auto; width: min(78%, 300px); max-height: none; margin-left: auto; }
}
@media (max-height: 520px) {
  .site-head { position: static; }
  .toolbar { position: static; }
}
@media (max-width: 560px) {
  .se-services { grid-template-columns: 1fr; }
  .credits .partners-logos { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .front .news-card { grid-template-columns: 1fr; }
  .front .news-img { min-height: 0; aspect-ratio: 16 / 10; }
  .timeline li, .bill li { grid-template-columns: 1fr; gap: 3px; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .chips { gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .strip { overflow-x: auto; }
}
.posters .news-img { aspect-ratio: 3 / 2; }
/* Archivio Nora Jazz Festival */
.nj-intro { display: grid; gap: 18px; max-width: 70ch; margin-bottom: 28px; }
.nj-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.nj-ed { display: grid; grid-template-columns: 170px 1fr; gap: 12px 36px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.nj-ed--img { grid-template-columns: 170px 1fr 300px; }
.nj-year { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--ink); font-weight: 600; }
.nj-n { display: block; margin-top: 8px; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nj-facts { font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.nj-note { margin-bottom: 10px; }
.nj-lineup { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nj-lineup li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .9375rem; }
.nj-lineup a { text-decoration: underline; text-underline-offset: 3px; }
.nj-empty { color: var(--muted); font-style: italic; }
.nj-news { margin-top: 14px; font-size: .9375rem; }
.nj-news a { margin-right: 14px; }
.nj-img { margin: 0; }
.nj-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; display: block; background: var(--ink); }
.nj-img--contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.nj-img figcaption { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) {
  .nj-ed, .nj-ed--img { grid-template-columns: 1fr; gap: 12px; }
  .nj-head { display: flex; align-items: baseline; gap: 14px; }
  .nj-year { font-size: 2rem; }
  .nj-n { margin-top: 0; }
  .nj-img { order: -1; }
}

/* Catalogo Teatro Ragazzi */
.cat-dl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding: 20px 24px; border: 1px solid var(--line); background: var(--white); }
.cat-dl p { margin: 0; }
.rich .lead-sub { font-size: 1.1rem; color: var(--muted); }
.rich ul.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rich ul.credits li { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rich ul.credits li span { color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .rich ul.credits li { grid-template-columns: 1fr; gap: 2px; } }
.cat-dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.t-wrap--next { margin-top: 32px; }

.ente-rapp { margin-top: -4px; font-size: .86rem; line-height: 1.3; color: var(--muted); }
.list-cols li b { display: block; font-weight: 600; }
.list-rapp { display: block; font-size: .86rem; color: var(--muted); }
.ente-rapp small, .list-rapp small { display: block; font-size: .8rem; opacity: .85; }
.list-rapp small { display: inline; }
.list-rapp small::before { content: ' · '; }
.assemblea-h { margin: 40px 0 16px; }
.assemblea-h:first-child { margin-top: 0; }
.assemblea-h span { font-size: .6em; color: var(--muted); font-weight: 400; }
.and-target { margin: 24px 0 0; padding-left: 1.2em; }
.and-target li { margin-bottom: 12px; }
.and-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.and-intro p + p { margin-top: 14px; }
.and-intro .lead { margin-bottom: 18px; }
.and-target { list-style: disc; }
.and-target li::marker { color: var(--blue); }
.and-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.head-logos { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 44px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .28); }
.hl-group { display: flex; flex-direction: column; gap: 10px; }
.hl-group ul { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; list-style: none; margin: 0; padding: 0; }
.hl-cap { margin: 0; font-size: .8rem; letter-spacing: .02em; color: #E1E5F4; }
.head-logos img { display: block; width: auto; max-width: 100%; height: 40px; }
.head-logos .hl-and { height: 40px; }
.head-logos .hl-ael { height: 44px; }
.head-logos .hl-lirico { height: 56px; }
.head-logos .hl-ras { height: 42px; }
.head-logos .hl-fds { height: 46px; }
.head-logos .hl-ca { height: 60px; }
@media (max-width: 760px) {
  .head-logos { gap: 22px; }
  .hl-group ul { gap: 16px 24px; }
  .head-logos .hl-and { height: 30px; }
  .head-logos .hl-ael { height: 32px; }
  .head-logos .hl-lirico { height: 38px; }
  .head-logos .hl-ras { height: 30px; }
  .head-logos .hl-fds { height: 34px; }
  .head-logos .hl-ca { height: 44px; }
}
.head-logos { align-items: flex-start; }
.hl-group ul { min-height: 60px; }
@media (max-width: 760px) { .hl-cap--empty { display: none; } .hl-group ul { min-height: 0; } }
.page-head--light { background: var(--blue-soft); color: var(--text); }
.page-head--light h1 { color: var(--ink); }
.page-head--light .lead { color: var(--text); }
.page-head .lead-note { margin-top: 6px; font-size: .9rem; color: #E1E5F4; }
.page-head--light .lead-note { color: var(--muted); }
.page-head--light .crumbs, .page-head--light .crumbs a { color: var(--ink); }
.page-head--light .head-logos { border-top-color: rgba(43, 59, 124, .2); }
.page-head--light .hl-cap { color: var(--muted); }
.page-head--light a:focus-visible { outline-color: var(--ink); }
.and-photo { position: relative; margin: 0; background: #000; }
.and-photo img { display: block; width: 100%; max-width: 1400px; height: auto; margin: 0 auto; }
.form-side { margin-top: 14px; color: var(--text); }
.cand-form { display: grid; gap: 18px; }
.cand-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f label { font: 600 .95rem/1.2 var(--display); color: var(--ink); }
.f label span, .f-note span, .f-check .req { color: #B3261E; }
.f input { width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem var(--body); color: var(--text); background: var(--white); border: 1px solid #AEB5CF; border-radius: 0; }
.f input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.f input[type="file"] { padding: 9px; background: var(--soft); }
.f small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.f-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.f-note { margin: 0; color: var(--muted); font-size: .9rem; }
.cand-form .btn { justify-self: start; border: 0; cursor: pointer; }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } }

.and-home { background: var(--blue-soft); }
.and-home-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(28px, 4vw, 64px); align-items: center; }
.and-home .h2 { margin: 12px 0 14px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.and-home-text > p:not(.kicker) { max-width: 60ch; color: var(--text); }
.and-home-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 22px 0 26px; padding: 0; list-style: none; }
.and-home-facts b { display: block; font: 600 1.9rem/1 var(--display); color: var(--blue); }
.and-home-facts span { display: block; margin-top: 4px; max-width: 18ch; font-size: .92rem; line-height: 1.3; color: var(--muted); }
.and-home-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.and-home-photo { position: relative; margin: 0; }
.and-home-photo img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 42% 50%; }
.and-home .head-logos { margin-top: 30px; border-top-color: rgba(43, 59, 124, .2); }
.and-home .hl-cap { color: var(--muted); }
@media (max-width: 960px) { .and-home-grid { grid-template-columns: 1fr; } .and-home-photo { order: -1; } }
.credit .copy { font-size: 1.05em; }
.rich .photo-credit { font-size: .9rem; color: var(--muted); }
.art-img--credit { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
.art-img--credit img { display: block; width: auto; max-width: 100%; background: none; }
.bandi-head p { max-width: 70ch; margin-top: 10px; color: var(--text); }
.bandi-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; }
.bandi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.bando { display: flex; flex-direction: column; padding: 20px 22px 18px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.bando[hidden] { display: none; }
.bando-top { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font: 600 .78rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.bando-cat { color: var(--muted); }
.bando-state { color: #1E7A4F; }
.bando.is-soon .bando-state { color: #B3261E; }
.bando.is-closed { border-top-color: #AEB5CF; opacity: .85; }
.bando.is-closed .bando-state { color: var(--muted); }
.bando h3 { margin: 0; font: 600 1.15rem/1.25 var(--display); color: var(--ink); }
.bando-ente { margin: 6px 0 14px; font-size: .95rem; color: var(--muted); }
.bando-key { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: .95rem; }
.bando-key dt { font: 600 .8rem/1.5 var(--display); color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.bando-key dd { margin: 0; color: var(--text); }
.bando-scad { font-weight: 700; color: var(--ink) !important; }
.bando details { margin-top: auto; border-top: 1px solid var(--line); }
.bando summary { padding: 10px 0; cursor: pointer; font: 600 .95rem var(--display); color: var(--blue); }
.bando-more { padding-bottom: 8px; font-size: .95rem; }
.bando-more p, .bando-more ul { margin: 0 0 8px; }
.bando-more ul { padding-left: 18px; }
.bando-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.bando-link { font: 600 1rem var(--display); }
.bandi-empty { margin: 10px 0 0; color: var(--muted); }
.bandi-archivio { margin-top: 36px; }
.bandi-archivio > summary { cursor: pointer; padding: 12px 0; font: 600 1.15rem var(--display); color: var(--ink); border-top: 1px solid var(--line); }
.bandi-archivio > summary span { color: var(--muted); font-weight: 400; }
.bandi-archivio .bandi-grid { margin-top: 12px; }
@media (max-width: 600px) { .bandi-grid { grid-template-columns: 1fr; } .bando-key { grid-template-columns: 1fr; gap: 2px; } .bando-key dd { margin-bottom: 6px; } }
.bando-top { flex-wrap: wrap; }
.bando-state { white-space: nowrap; }

.and-home-note, .news-note, .art-note { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.and-home-note { margin: 8px 0 14px; }
.news-note { margin: 4px 0 6px; }
.art-note { margin-bottom: 18px; }
