﻿@font-face {
  font-family: 'Montecatini Pro';
  src: local('MontecatiniPro-Normale'), local('Montecatini Pro Normale');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Red Hat Display';
  src: url('assets/fonts/RedHatDisplay-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Red Hat Display';
  src: url('assets/fonts/RedHatDisplay-Italic-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
:root{--navy:#202f42;--coral:#ff705b;--cream:#fff8e5;--paper:#fffdf6;--ink:#202f42;--line:#202f4226}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 "Red Hat Display",Arial,sans-serif}img{display:block;width:100%}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--coral);outline-offset:6px}.skip-link{position:fixed;left:20px;top:-80px;z-index:100;background:var(--cream);padding:12px}.skip-link:focus{top:12px}.topbar{height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:var(--cream);border-bottom:1px solid var(--line);position:relative;z-index:20}.brand{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:800;line-height:1.05;letter-spacing:-.04em}.brand-mark{display:flex;align-items:center;gap:4px;transform:rotate(-12deg)}.brand-mark i{display:block;width:10px;height:25px;border-radius:40% 40% 0 0;background:var(--coral)}.brand-mark i:nth-child(2){height:38px}.brand-mark i:nth-child(3){height:20px}.nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700}.nav a:hover{color:#b63b28}.nav-cta{border:1px solid var(--ink);padding:10px 20px;border-radius:30px}.menu-toggle{display:none}.hero{min-height:720px;position:relative;display:grid;grid-template-columns:1fr;color:white;background:var(--navy);overflow:hidden}.hero-art{position:absolute;inset:0}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#12202ce6 0%,#12202c77 65%,#12202c22),linear-gradient(0deg,#12202c88,transparent 50%)}.stamp-large{position:absolute;inset:0}.stamp img{height:100%;object-fit:cover;object-position:center 62%}.hero-copy{padding:90px 7% 110px;position:relative;z-index:2;max-width:1200px}.eyebrow{font:500 14px/1.5 "Red Hat Display",monospace;letter-spacing:.08em;text-transform:uppercase;margin:0 0 24px}.hero .eyebrow{color:#fff4db}.hero h1{font:400 clamp(48px,6.8vw,100px)/.99 "Red Hat Display",Arial,sans-serif;letter-spacing:-.065em;text-transform:uppercase;margin:0;max-width:1000px}.hero h1 em{color:var(--coral);font-style:normal}.hero-lead{max-width:460px;font-size:18px;line-height:1.7;margin:28px 0}.round-link{display:inline-flex;padding:14px 25px;border-radius:40px;background:var(--cream);color:var(--ink);font-weight:700;font-size:14px;transition:background .2s}.round-link:hover{background:var(--coral)}.round-link br{display:none}.round-link b{display:none}.hero-caption{position:absolute;z-index:3;bottom:25px;left:7%;right:7%;display:flex;justify-content:space-between;border-top:1px solid #ffffff66;padding-top:16px;font:14px "Red Hat Display",monospace;text-transform:uppercase;letter-spacing:.12em}.section{padding:100px 7%}.section-index,.pillar>span,.collab-grid article>span{display:none}h2{font:400 clamp(36px,4.5vw,66px)/1.06 "Red Hat Display",Arial,sans-serif;letter-spacing:-.055em;text-transform:uppercase;margin:0}h2 em,h2 i{font-style:normal;color:#c44732}h3{line-height:1.2;letter-spacing:-.035em}p{margin:0 0 20px}.manifesto{display:grid;grid-template-columns:1fr 1.25fr .8fr;gap:50px;align-items:center;background:var(--cream)}.manifesto-copy .lead{font-size:20px;font-weight:700;line-height:1.5}.manifesto-copy p:last-child{margin-bottom:0}.vinyl-card{margin:0;transform:rotate(3deg);background:var(--coral);padding:12px;box-shadow:12px 16px 0 #202f4212}.vinyl-card img{aspect-ratio:1;object-fit:cover}.vinyl-card figcaption{padding:16px 5px 5px;display:flex;flex-direction:column;line-height:1.5}.vinyl-card strong{font-size:20px}.vinyl-card span{font-size:14px}.directions{display:grid;grid-template-columns:1fr 1fr;background:var(--coral)}.direction{padding:64px 14%}.direction:last-child{background:var(--navy);color:var(--cream)}.direction>span{font:14px "Red Hat Display",monospace}.direction h3{font:400 clamp(28px,3vw,44px)/1.1 "Red Hat Display";text-transform:uppercase;margin:20px 0}.direction p{max-width:440px;margin:0}.direction-symbol{display:none}.section-heading,.territory-head{display:flex;justify-content:space-between;align-items:start;gap:30px;margin-bottom:48px}.section-heading h2{max-width:650px}.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.pillar{padding:32px 30px 32px 0;border-bottom:1px solid var(--line)}.pillar:nth-child(3n+2),.pillar:nth-child(3n+3){padding-left:30px;border-left:1px solid var(--line)}.pillar h3{font-size:24px;margin:0 0 18px}.pillar p{max-width:300px;margin:0}.timeline{background:var(--navy);color:var(--cream)}.timeline-head{display:flex;justify-content:space-between;gap:35px;margin-bottom:55px}.years{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #ffffff44}.year{padding:28px 20px 0 0}.year:not(:first-child){padding-left:20px;border-left:1px solid #ffffff33}.year b{color:var(--coral);font:24px "Red Hat Display"}.year h3{margin:35px 0 16px;font-size:22px}.year p{font-size:15px}.festival{display:grid;grid-template-columns:1.1fr 1fr;padding:0;background:var(--cream)}.festival-photo{position:relative;min-height:620px;overflow:hidden}.festival-photo>img{height:100%;object-fit:cover}.postal{position:absolute;bottom:35px;left:35px;background:var(--coral);padding:22px;transform:rotate(-5deg);font:20px/1.1 "Red Hat Display";border:6px solid var(--cream)}.festival-copy{padding:80px 12%}.festival-copy>p:not(.eyebrow){margin-top:28px}.festival ul{list-style:none;padding:0;margin:30px 0 0}.festival li{border-top:1px solid var(--line);padding:12px 0;display:flex;gap:18px;font-size:15px}.festival li b{min-width:90px}.territory-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.photo-card{background:var(--cream)}.photo-card img{height:320px;object-fit:cover}.photo-card>div{padding:28px}.photo-card span{font:14px "Red Hat Display"}.photo-card h3{font-size:26px;margin:15px 0}.photo-card p{margin:0}.location-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.location-strip div{padding:22px 20px;display:flex;flex-direction:column;gap:6px}.location-strip div+div{border-left:1px solid var(--line)}.location-strip span{font-size:14px}.artists{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;background:var(--coral)}.artists-head{grid-column:1/-1}.artists h2 em{color:var(--ink)}.artist-photo img{height:100%;min-height:420px;object-fit:cover}.artist-list{display:grid;grid-template-columns:1fr 1fr;align-content:center}.artist-list span{padding:10px 6px;border-bottom:1px solid #202f4233;font-size:14px;font-weight:700}.numbers{background:var(--cream);display:grid;grid-template-columns:1fr 2fr;gap:45px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:20px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:15px}.metric:nth-child(n+4){border-top:1px solid var(--line);padding-top:30px}.metric strong{font:400 clamp(30px,3.7vw,60px)/1.1 "Red Hat Display";letter-spacing:-.065em}.metric > span{font-size:14px;line-height:1.5}.data-note{grid-column:1/-1;font-size:13px;margin:0}.impact{display:grid;grid-template-columns:1fr 1.6fr;gap:60px;background:var(--navy);color:var(--cream)}.impact h2 em{color:var(--coral)}.bar-chart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;height:300px;border-bottom:1px solid #ffffff66}.bar-chart>div{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;position:relative;padding-top:28px}.bar-chart i{display:block;width:70%;height:var(--h);background:var(--cream);border-radius:6px 6px 0 0;position:relative}.bar-chart div:last-child i{background:var(--coral)}.bar-chart b{position:absolute;bottom:-35px;font:14px "Red Hat Display"}.bar-chart span{position:absolute;bottom:calc(var(--h) + 8px);font:14px "Red Hat Display"}.ecosystem{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:15px;border-top:1px solid #ffffff33}.ecosystem article{padding-top:24px;display:flex;flex-direction:column}.ecosystem strong{font:42px "Red Hat Display";color:var(--coral)}.ecosystem span{font-size:14px}.collaboration{background:var(--coral);display:grid;grid-template-columns:1fr 1.3fr;gap:70px}.collaboration h2 em{color:var(--ink)}.collab-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.collab-grid article{border-top:1px solid #202f4266;padding-top:24px}.collab-grid h3{font-size:23px;margin:0 0 18px}.collab-grid p{font-size:15px}footer{background:var(--navy);color:var(--cream);display:grid;grid-template-columns:1fr 1fr auto;gap:30px;align-items:end;padding:60px 7%}.footer-mark{font:clamp(24px,3vw,42px)/1 "Red Hat Display";letter-spacing:-.05em}.footer-info{font-size:14px}.footer-info p{margin:0}.back-top{border:1px solid #ffffff66;border-radius:30px;padding:12px 18px;font-size:14px}.dossier-link{display:inline-block;border-bottom:1px solid currentColor;margin:12px 0;padding-bottom:3px}.reveal{opacity:1}.js-motion .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}.js-motion .reveal.visible{opacity:1;transform:none}@media(min-width:1600px){.section{padding-left:max(7%,calc((100vw - 1400px)/2));padding-right:max(7%,calc((100vw - 1400px)/2))}}@media(max-width:1050px){.nav{gap:16px}.manifesto{grid-template-columns:1fr 1.4fr}.vinyl-card{grid-column:2;max-width:300px}.hero-copy{padding-top:80px}.hero{min-height:660px}.numbers{grid-template-columns:1fr}.artists{gap:30px}.collaboration{grid-template-columns:1fr}.years{grid-template-columns:repeat(3,1fr);gap:30px}.year:not(:first-child){border:0;padding-left:0}.festival-copy{padding:60px 10%}.festival h2{font-size:38px}}@media(max-width:720px){html{scroll-padding-top:20px}.topbar{height:80px;padding:0 6%}.brand{font-size:12px}.menu-toggle{display:flex;flex-direction:column;gap:6px;background:transparent;border:1px solid var(--line);border-radius:50%;width:44px;height:44px;align-items:center;justify-content:center;z-index:22}.menu-toggle span{width:20px;height:2px;background:var(--ink)}.nav{display:none;position:absolute;top:80px;left:0;right:0;background:var(--cream);padding:24px 6%;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line);box-shadow:0 20px 30px #0002}.nav.open{display:flex}.nav a{padding:10px}.hero{min-height:690px}.hero-copy{padding:70px 6% 100px}.hero h1{font-size:clamp(39px,8.6vw,60px)}.hero .eyebrow{max-width:270px;font-size:13px}.hero-lead{font-size:16px;max-width:330px}.hero-art:after{background:linear-gradient(90deg,#12202ce6,#12202c66),linear-gradient(0deg,#12202c77,transparent)}.stamp img{object-position:60% center}.hero-caption{left:6%;right:6%;font-size:12px}.section{padding:65px 6%}h2{font-size:clamp(32px,8vw,48px)}.eyebrow{font-size:13px}.manifesto{grid-template-columns:1fr;gap:30px}.vinyl-card{grid-column:auto;max-width:330px;justify-self:center}.directions{grid-template-columns:1fr}.direction{padding:45px 6%}.section-heading,.territory-head,.timeline-head{display:block}.section-heading .eyebrow,.territory-head .eyebrow{margin-bottom:20px}.pillar-grid{grid-template-columns:1fr 1fr}.pillar,.pillar:nth-child(3n+2),.pillar:nth-child(3n+3){padding:24px 14px 24px 0;border-left:0}.pillar:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}.pillar h3{font-size:20px}.pillar p{font-size:15px}.years{grid-template-columns:1fr;gap:0}.year{padding:24px 0!important;border-bottom:1px solid #ffffff33!important;display:grid;grid-template-columns:75px 1fr;gap:8px}.year b{grid-row:1/3;font-size:20px}.year h3{margin:0}.year p{margin:5px 0}.festival{grid-template-columns:1fr;padding:0}.festival-photo{min-height:0;height:410px}.festival-copy{padding:50px 6%}.territory-grid{grid-template-columns:1fr}.photo-card img{height:270px}.location-strip{grid-template-columns:1fr}.location-strip div+div{border-left:0;border-top:1px solid var(--line)}.artists{grid-template-columns:1fr}.artists-head{grid-column:auto}.artist-photo img{min-height:0;height:300px}.artist-list span{font-size:13px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:20px 15px!important;border-top:1px solid var(--line)}.metric strong{font-size:38px}.impact{grid-template-columns:1fr;gap:40px}.bar-chart{height:250px;gap:10px;margin-bottom:25px}.ecosystem{grid-template-columns:1fr;gap:5px}.ecosystem article{padding:16px 0;border-bottom:1px solid #ffffff33}.collaboration{gap:35px}.collab-grid{gap:24px;grid-template-columns:1fr}footer{grid-template-columns:1fr auto;padding:45px 6%}.footer-info{grid-row:2;grid-column:1/-1}.footer-mark{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.js-motion .reveal{opacity:1;transform:none;transition:none}*{transition:none!important}}

/* Logo ufficiale: proporzioni originali su desktop e mobile. */
.brand { flex-shrink: 0; }
.brand-logo { display: block; width: clamp(220px, 24vw, 340px); height: auto; }
@media (max-width: 720px) {
  .brand-logo { width: clamp(180px, 58vw, 280px); }
}

/* Crescita progressiva al primo ingresso del grafico nello schermo. */
.bar-chart > div { --bar-delay: 0ms; }
.bar-chart > div:nth-child(2) { --bar-delay: 120ms; }
.bar-chart > div:nth-child(3) { --bar-delay: 240ms; }
.bar-chart > div:nth-child(4) { --bar-delay: 360ms; }
.bar-chart > div:nth-child(5) { --bar-delay: 480ms; }
@media (prefers-reduced-motion: no-preference) {
  .js-motion .bar-chart i {
    transform: scaleY(0);
    transform-origin: center bottom;
    transition: transform 1000ms cubic-bezier(.22, 1, .36, 1) var(--bar-delay);
  }
  .js-motion .bar-chart span {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 450ms ease calc(var(--bar-delay) + 500ms),
                transform 450ms ease calc(var(--bar-delay) + 500ms);
  }
  .js-motion .bar-chart.visible i { transform: scaleY(1); }
  .js-motion .bar-chart.visible span { opacity: 1; transform: translateY(0); }
}

.metric strong { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Timeline interattiva 2022–2026. */
.timeline-hint { font-size: 14px; opacity: .8; margin-bottom: 24px; }
.timeline-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  margin-bottom: 38px;
}
.timeline-controls::before, .timeline-controls::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #ffffff33;
  z-index: -1;
}
.timeline-controls::after {
  background: var(--coral);
  transform-origin: left;
  transform: scaleX(var(--timeline-progress, 0));
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}
.timeline-tab {
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 8px 12px;
  font: 20px "Red Hat Display", monospace;
  transition: color 200ms;
}
.timeline-tab::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff88;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 6px var(--navy);
  transition: background 250ms, border-color 250ms, box-shadow 250ms;
}
.timeline-tab[aria-selected="true"], .timeline-tab:hover { color: var(--coral); }
.timeline-tab[aria-selected="true"]::before {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 0 0 6px var(--navy), 0 0 0 7px var(--coral);
}
.timeline-tab.is-past::before { background: var(--coral); border-color: var(--coral); }
.timeline.is-interactive .years { display: block; border-top: 0; }
.timeline.is-interactive .year {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: 12px 50px;
  border: 1px solid #ffffff33 !important;
  border-radius: 8px;
  padding: 44px !important;
  min-height: 230px;
  background: #ffffff04;
}
.timeline.is-interactive .year[hidden] { display: none; }
.timeline.is-interactive .year b {
  grid-row: 1 / 3;
  align-self: center;
  font: clamp(60px, 8vw, 120px)/1 "Red Hat Display", sans-serif;
  letter-spacing: -.06em;
  color: var(--coral);
}
.timeline.is-interactive .year h3 { margin: 0; align-self: end; font-size: 30px; }
.timeline.is-interactive .year p { margin: 0; max-width: 620px; font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .timeline.is-interactive .year:not([hidden]) { animation: timeline-enter 500ms ease both; }
  @keyframes timeline-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 720px) {
  .timeline-tab { font-size: 15px; padding-inline: 2px; }
  .timeline-controls { margin-bottom: 24px; }
  .timeline.is-interactive .year { grid-template-columns: 1fr; padding: 28px 22px !important; min-height: 285px; gap: 20px; }
  .timeline.is-interactive .year b { grid-row: auto; font-size: 64px; }
  .timeline.is-interactive .year h3 { font-size: 25px; }
  .timeline.is-interactive .year p { font-size: 16px; }
}


.aftermovies { background: var(--cream); }
.aftermovies .section-heading h2 { max-width: 800px; }
.film-intro { max-width: 560px; margin-bottom: 40px; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
.film-play { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.film-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.film-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #101c2acc, transparent 65%); }
.play-icon { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--ink); background: var(--cream); font-size: 25px; padding-left: 4px; transition: background 200ms; }
.play-label { position: absolute; z-index: 1; bottom: 22px; left: 24px; color: white; font-size: 14px; font-weight: 700; }
.film-play:hover img { transform: scale(1.045); }
.film-play:hover .play-icon { background: var(--coral); }
.film-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 20px; }
.film-caption h3 { font-size: 24px; margin: 0; }
.film-caption > span { font: 14px "Red Hat Display", monospace; }
.youtube-link { display: inline-block; font-size: 14px; border-bottom: 1px solid var(--line); margin-top: 12px; }
.film-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: var(--navy); }
.timeline-film-link { display: inline-block; font-size: 14px; color: var(--coral); text-decoration: underline; text-underline-offset: 5px; }
.timeline.is-interactive .year .timeline-film-link { grid-column: 2; }
.moments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0 7% 80px; background: var(--coral); }
.moments-grid figure { margin: 0; }
.moments-grid img { height: 420px; object-fit: cover; }
.moments-grid figure:nth-child(2) { padding-top: 45px; }
.moments-grid figcaption { font-size: 14px; padding-top: 12px; }
@media (min-width: 721px) and (max-width: 1100px) { .nav { gap: 12px; font-size: 13px; } .brand-logo { width: 220px; } }
@media (max-width: 720px) {
  .film-grid { grid-template-columns: 1fr; gap: 35px; }
  .film-caption h3 { font-size: 22px; }
  .film-caption > span { font-size: 12px; }
  .play-icon { width: 60px; height: 60px; font-size: 21px; }
  .timeline.is-interactive .year .timeline-film-link { grid-column: 1; }
  .moments-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 6% 60px; }
  .moments-grid img { height: 420px; }
  .moments-grid figure:nth-child(2) { padding-top: 0; }
  .artist-photo img { height: 440px; object-position: center 40%; }
}

/* I valori animati mantengono la tipografia del numero, non delle etichette. */
.metric strong > span[aria-hidden="true"] { font: inherit; letter-spacing: inherit; line-height: inherit; }


/* Copertina a due facce, senza cornice. */
.record-card { margin: 0; min-width: 0; width: 100%; max-width: 390px; justify-self: center; }
.record-stage { perspective: 1100px; padding: 14px 8px 24px; }
.record-sleeve {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateZ(2deg);
  transition: transform 850ms cubic-bezier(.22, .7, .25, 1);
}
.record-sleeve.is-back { transform: rotateY(168deg) rotateZ(-2deg); }
.record-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 3px 2px 0 #394036, 6px 4px 0 #dfd8c5, 16px 20px 28px #202f4230;
  overflow: hidden;
}
.record-face img { width: 100%; height: 100%; object-fit: contain; }
.record-back { transform: rotateY(180deg); }
.record-card figcaption { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.record-card figcaption strong { font-size: 21px; }
.record-card figcaption > span { font-size: 14px; }
@media (max-width: 1050px) and (min-width: 721px) { .record-card { grid-column: 2; max-width: 330px; } }
@media (max-width: 720px) { .record-card { max-width: 350px; } }
@media (prefers-reduced-motion: reduce) {
  .record-sleeve, .record-sleeve.is-back { transform: none; transition: none; }
  .record-back { transform: none; visibility: hidden; }
  .record-sleeve.is-back .record-front { visibility: hidden; }
  .record-sleeve.is-back .record-back { visibility: visible; }
}

/* Rotazione continua dell'oggetto sui due lati. */
.record-stage { position: relative; padding-bottom: 35px; }
.record-stage::after {
  content: '';
  position: absolute;
  width: 72%;
  height: 16px;
  left: 14%;
  bottom: 6px;
  background: #202f422b;
  filter: blur(10px);
  border-radius: 50%;
  pointer-events: none;
}
.record-sleeve { transition: none; }
.record-face { box-shadow: 2px 0 0 #d6cbb4, -2px 0 0 #394036; }
.record-front { transform: translateZ(1.5px); }
.record-back { transform: rotateY(180deg) translateZ(1.5px); }
@media (prefers-reduced-motion: no-preference) {
  .record-sleeve { animation: record-turn 16s linear infinite; }

  @keyframes record-turn {
    from { transform: rotateX(5deg) rotateY(-12deg) rotateZ(2deg); }
    to { transform: rotateX(5deg) rotateY(348deg) rotateZ(2deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .record-front { transform: none; }
  .record-back { visibility: hidden; }
}

/* Custodia con volume reale: dorso e quattro bordi tra le due facce. */
.record-sleeve { --record-depth: 12px; }
.record-front { transform: translateZ(calc(var(--record-depth) / 2)); }
.record-back { transform: rotateY(180deg) translateZ(calc(var(--record-depth) / 2)); }
.record-face { box-shadow: none; }
.record-edge {
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(90deg, #c8bda1, #f6eed7 32%, #d6cab0 65%, #a89e85);
  border: 1px solid #202f4226;
}
.record-edge-left, .record-edge-right {
  width: var(--record-depth);
  height: 100%;
  top: 0;
}
.record-edge-left {
  left: calc(var(--record-depth) / -2);
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, #183c2b, #397343 45%, #1b442c);
}
.record-edge-right {
  right: calc(var(--record-depth) / -2);
  transform: rotateY(90deg);
  background: linear-gradient(90deg, #c7bfa5 0%, #f5ecd1 23%, #303027 35%, #171e1d 50%, #303027 65%, #f5ecd1 77%, #c7bfa5 100%);
}
.record-edge-top, .record-edge-bottom {
  width: 100%;
  height: var(--record-depth);
  left: 0;
}
.record-edge-top { top: calc(var(--record-depth) / -2); transform: rotateX(90deg); }
.record-edge-bottom { bottom: calc(var(--record-depth) / -2); transform: rotateX(-90deg); }
@media (prefers-reduced-motion: reduce) {
  .record-front { transform: none; }
  .record-edge { display: none; }
}


/* Video a tutta superficie nella hero, sotto testo e sfumatura. */
.hero-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-art { background: url('assets/photos/live-villa-bombrini-2023.jpg') center / cover no-repeat; }

/* Gerarchia tipografica: Montecatini per i titoli principali. */
h1, h2, .hero h1 {
  font-family: 'Montecatini Pro', 'Red Hat Display', sans-serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
}
button, input, select, textarea { font-family: 'Red Hat Display', Arial, sans-serif; }

.metric strong, .ecosystem strong, .timeline.is-interactive .year b { font-weight: 800; }
.footer-mark { font-weight: 700; }

.directions .direction h3 {
  font-family: 'Montecatini Pro', 'Red Hat Display', sans-serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
}


/* Transatlantica: archivio postale, itinerari e geometrie nautiche. */
.aftermovies { background: var(--navy); color: var(--cream); }
.aftermovies h2 em { color: var(--coral); }
.aftermovies .section-heading { align-items: end; }
.aftermovies .section-heading .eyebrow { max-width: 180px; }
.film-intro { color: #fff8e5d9; margin-bottom: 48px; }
.film-grid { gap: 48px 36px; }
.film-card {
  position: relative;
  padding: 22px 22px 26px;
  color: var(--navy);
  background-color: var(--cream);
  background-image: radial-gradient(circle at 7px 0, var(--navy) 5px, transparent 5.5px),
    radial-gradient(circle at 7px 7px, var(--navy) 5px, transparent 5.5px),
    radial-gradient(circle at 0 7px, var(--navy) 5px, transparent 5.5px),
    radial-gradient(circle at 7px 7px, var(--navy) 5px, transparent 5.5px);
  background-size: 14px 7px, 14px 7px, 7px 14px, 7px 14px;
  background-position: left top, left bottom, left top, right top;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}
.film-play { border: 1px solid var(--navy); }
.film-caption { padding-top: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.film-caption > span { border: 1px solid var(--navy); border-radius: 50%; padding: 13px 10px; font-size: 12px; transform: rotate(-9deg); white-space: nowrap; }
.film-caption h3 { font-size: clamp(22px, 2vw, 30px); }
.youtube-link { border-bottom: 1px solid var(--navy); }
.film-card::after { content: ''; position: absolute; right: 29px; bottom: 28px; width: 48px; height: 11px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(-12deg); pointer-events: none; }
.timeline { position: relative; }
.timeline-head { padding-bottom: 32px; border-bottom: 1px solid #fff8e533; }
.timeline-head h2 { text-align: right; }
.timeline-hint { letter-spacing: .03em; }
.timeline-controls { margin-top: 36px; }
.timeline-tab { gap: 20px; font-size: 22px; }
.timeline-tab[aria-selected="true"] { font-weight: 800; }
.timeline.is-interactive .year {
  grid-template-columns: .6fr 1.15fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px !important;
  border-radius: 0;
  color: var(--navy);
  background: var(--cream);
  border: 0 !important;
  border-top: 8px solid var(--coral) !important;
  min-height: 300px;
  position: relative;
}
.timeline.is-interactive .year::before, .timeline.is-interactive .year::after { content: ''; position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); top: calc(50% - 12px); }
.timeline.is-interactive .year::before { left: -12px; }
.timeline.is-interactive .year::after { right: -12px; }
.timeline.is-interactive .year > b { grid-row: auto; font-size: clamp(48px, 5vw, 76px); writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; color: var(--navy); padding-left: 26px; border-left: 1px dashed #202f4255; letter-spacing: -.045em; }
.timeline.is-interactive .year h3 { font-size: clamp(25px, 2.5vw, 36px); margin-bottom: 18px; }
.timeline.is-interactive .year p { font-size: 16px; line-height: 1.7; }
.journey-photo { height: 245px; width: 100%; object-fit: cover; }
.timeline.is-interactive .year:first-child .journey-photo { object-fit: contain; }
.timeline-film-link { color: #b63b28; margin-top: 22px; font-weight: 700; }
.collaboration { background: var(--cream); gap: 60px; padding-top: 90px; padding-bottom: 90px; }
.collaboration-copy { position: relative; }
.collaboration-mosaic { width: 100px; height: 100px; margin-bottom: 35px; }
.collaboration h2 { font-size: clamp(38px, 4.2vw, 64px); }
.collaboration h2 em { color: #c44732; }
.collaboration-ship { width: min(100%, 390px); height: auto; margin-top: 50px; }
.collab-grid { align-content: center; gap: 40px 30px; }
.collab-grid article { border-top: 1px solid var(--line); padding-top: 25px; }
.collab-grid h3 { font-size: 25px; }
footer { border-top: 7px solid var(--coral); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .film-card { transition: transform 300ms ease, box-shadow 300ms ease; }
  .film-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 8px 12px 0 #0002; }
}
@media (max-width: 1050px) {
  .timeline.is-interactive .year { grid-template-columns: 90px 1fr 1fr; gap: 22px; }
  .timeline.is-interactive .year > b { font-size: 60px; }
}
@media (max-width: 720px) {
  .film-card { padding: 18px 18px 24px; }
  .film-grid { gap: 35px; }
  .film-caption { gap: 8px; }
  .film-caption > span { font-size: 11px; padding: 11px 7px; }
  .timeline-head h2 { text-align: left; }
  .timeline-tab { font-size: 16px; }
  .timeline.is-interactive .year { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px !important; }
  .timeline.is-interactive .year > b { writing-mode: horizontal-tb; transform: none; justify-self: start; border-left: 0; border-bottom: 1px dashed #202f4255; padding: 0 0 15px; width: 100%; font-size: 54px; }
  .journey-photo { height: 230px; }
  .timeline.is-interactive .year:first-child .journey-photo { height: 260px; }
  .collaboration-mosaic { width: 80px; height: 80px; margin-bottom: 28px; }
  .collaboration-ship { max-width: 310px; margin-top: 30px; }
  .collaboration { gap: 35px; padding-top: 65px; padding-bottom: 65px; }
}

.skip-link:not(:focus) { clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }

/* Prua originale e mosaico come firma visiva della chiusura. */
.collaboration-ship { width: 180px; max-width: 60%; height: auto; margin: 35px 0 0; }
footer { grid-template-columns: minmax(180px, 280px) 1.1fr 1fr auto; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.footer-mosaic { display: block; width: 100%; height: auto; }
footer .footer-mark { font-size: clamp(25px, 2.6vw, 40px); }
@media (max-width: 1050px) {
  footer { grid-template-columns: 220px 1fr auto; gap: 32px; }
  .footer-mosaic { grid-row: 1 / 3; }
  footer .footer-mark { grid-column: 2; }
  footer .footer-info { grid-column: 2; grid-row: 2; }
  footer .back-top { grid-column: 3; grid-row: 2; }
}
@media (max-width: 720px) {
  .collaboration-ship { width: 150px; margin-top: 28px; }
  footer { grid-template-columns: 1fr auto; gap: 30px; padding-top: 45px; padding-bottom: 45px; }
  .footer-mosaic { width: min(75%, 260px); grid-column: 1 / -1; grid-row: 1; }
  footer .footer-mark { grid-column: 1 / -1; grid-row: 2; font-size: 32px; }
  footer .footer-info { grid-column: 1; grid-row: 3; }
  footer .back-top { grid-column: 2; grid-row: 3; }
}

/* Scambio culturale: due rotte complementari, un unico linguaggio. */
.directions { position: relative; isolation: isolate; }
.direction { padding: 65px 14% 48px; }
.direction h3 { font-size: clamp(38px, 4.3vw, 65px); margin: 26px 0; }
.direction > span { display: inline-block; border: 1px solid currentColor; border-radius: 30px; padding: 6px 13px; font-size: 12px; letter-spacing: .06em; }
.direction p { min-height: 82px; }
.cultural-route { max-width: 430px; margin-top: 28px; }
.cultural-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.route-ports { display: flex; justify-content: space-between; padding-top: 3px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.directions .direction-symbol { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); z-index: 1; display: grid; place-items: center; width: 106px; height: 106px; border-radius: 50%; border: 1px solid var(--navy); background: var(--cream); color: var(--navy); font-size: 13px; text-align: center; line-height: 1.35; box-shadow: 0 0 0 7px #fff8e52b; }
/* I segni del mosaico diventano una famiglia di simboli dei format. */
.pillars { background: var(--cream); }
.pillar-grid { border-bottom: 1px solid var(--line); }
.pillar { position: relative; min-height: 290px; padding: 32px 30px 34px 0; }
.pillar:nth-child(3n+2), .pillar:nth-child(3n+3) { padding-left: 30px; }
.format-symbol { width: 72px; height: 72px; object-fit: contain; margin-bottom: 38px; }
.pillar h3 { max-width: 300px; font-size: 25px; margin-bottom: 15px; }
.pillar p { max-width: 310px; font-size: 16px; }
/* Cartoline dal territorio: luogo, immagine e racconto. */
.territory { background: var(--paper); }
.territory-head { align-items: end; }
.territory-head h2 { text-align: right; }
.territory-grid { gap: 35px; }
.territory .photo-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); padding: 14px; box-shadow: 7px 9px 0 #202f4209; }
.territory .photo-card > .postcard-heading { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 16px; }
.territory .postcard-heading span { margin: 0; color: var(--navy); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.territory .postcard-heading span:last-child { opacity: .7; text-align: right; }
.territory .photo-card > img { height: 340px; width: 100%; object-fit: cover; }
.territory .photo-card > .postcard-copy { position: relative; padding: 28px 14px 18px; display: block; }
.territory .postcard-copy h3 { max-width: calc(100% - 95px); font-size: 26px; margin: 0 0 18px; }
.territory .postcard-copy p { max-width: 360px; margin: 0; line-height: 1.65; font-size: 16px; }
.territory .postcard-copy .postcard-date { position: absolute; top: 26px; right: 10px; display: grid; place-items: center; min-width: 82px; min-height: 48px; padding: 8px; color: var(--navy); border: 1px solid #202f4266; border-radius: 50%; font-size: 12px; transform: rotate(-10deg); }
.territory .location-strip { background: var(--navy); color: var(--cream); border: 0; }
.territory .location-strip > div { position: relative; padding: 28px 26px 28px 46px; border-color: #fff8e533; }
.territory .location-strip > div::before { content: ''; position: absolute; top: 37px; left: 25px; width: 7px; height: 7px; border: 1px solid var(--coral); border-radius: 50%; background: var(--coral); }
.territory .location-strip b { font-size: 20px; }
.territory .location-strip span { font-size: 14px; color: #fff8e5d9; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {


  .cultural-route path { animation: cultural-flow 18s linear infinite; }
  @keyframes cultural-flow { to { stroke-dashoffset: -100; } }
}
@media (max-width: 1050px) and (min-width: 721px) {
  .direction { padding-left: 11%; padding-right: 14%; }
  .directions .direction-symbol { width: 86px; height: 86px; font-size: 12px; }
}
@media (max-width: 720px) {
  .direction { padding: 46px 6%; }
  .direction h3 { font-size: 44px; }
  .direction p { min-height: 0; max-width: 350px; }
  .directions .direction-symbol { display: none; }
  .cultural-route { margin-top: 24px; max-width: 350px; }
  .pillar, .pillar:nth-child(3n+2), .pillar:nth-child(3n+3) { padding: 26px 16px 28px 0; min-height: 290px; }
  .pillar:nth-child(even) { padding-left: 18px; }
  .format-symbol { width: 58px; height: 58px; margin-bottom: 28px; }
  .pillar h3 { font-size: 21px; }
  .pillar p { font-size: 15px; }
  .territory-head h2 { text-align: left; }
  .territory-grid { gap: 30px; }
  .territory .photo-card { padding: 10px; }
  .territory .photo-card > img { height: 260px; }
  .territory .postcard-heading span { font-size: 10px; }
  .territory .photo-card > .postcard-copy { padding: 24px 8px 15px; }
  .territory .postcard-copy h3 { font-size: 23px; max-width: calc(100% - 80px); }
  .territory .postcard-copy .postcard-date { min-width: 70px; min-height: 42px; right: 2px; font-size: 11px; }
  .territory .postcard-copy p { font-size: 15px; }
}

/* Sei movimenti autonomi per i sei format, attivi solo a schermo. */
@media (prefers-reduced-motion: no-preference) {
  .format-symbol {
    transform-origin: center;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: paused;
  }
  .pillar:hover .format-symbol { animation-play-state: running; }
  .format-symbol[data-motion="record"] { animation-name: format-record; animation-duration: 5.5s; }
  .format-symbol[data-motion="rhythm"] { animation-name: format-rhythm; animation-duration: 4.8s; }
  .format-symbol[data-motion="propeller"] { animation-name: format-propeller; animation-duration: 8s; animation-timing-function: linear; }
  .format-symbol[data-motion="wave"] { animation-name: format-wave; animation-duration: 4.5s; transform-origin: 50% 80%; }
  .format-symbol[data-motion="open"] { animation-name: format-open; animation-duration: 6s; }
  .format-symbol[data-motion="connect"] { animation-name: format-connect; animation-duration: 5.2s; }
  @keyframes format-record {
    0%, 100% { transform: perspective(280px) rotateY(-22deg) rotateZ(-8deg); }
    50% { transform: perspective(280px) rotateY(28deg) rotateZ(8deg); }
  }
  @keyframes format-rhythm {
    0%, 60%, 100% { transform: translateY(0) skewX(0) scaleY(1); }
    12% { transform: translateY(-5px) skewX(-7deg) scaleY(.93); }
    24% { transform: translateY(0) skewX(5deg) scaleY(1.04); }
    36% { transform: translateY(-3px) skewX(-4deg) scaleY(.96); }
    48% { transform: translateY(0) skewX(0) scaleY(1); }
  }
  @keyframes format-propeller { to { transform: rotate(360deg); } }
  @keyframes format-wave {
    0%, 100% { transform: translateY(2px) rotate(-12deg); }
    50% { transform: translateY(-5px) rotate(12deg); }
  }
  @keyframes format-open {
    0%, 18% { transform: rotate(0) scale(.93); }
    42%, 60% { transform: rotate(90deg) scale(1.06); }
    84%, 100% { transform: rotate(180deg) scale(.93); }
  }
  @keyframes format-connect {
    0%, 100% { transform: scaleX(1) scaleY(1); }
    28% { transform: scaleX(.8) scaleY(1.06); }
    55% { transform: scaleX(1.06) scaleY(.96); }
    78% { transform: scaleX(.94) scaleY(1.02); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .format-symbol { animation: none; transform: none; }
}


/* Un dato guida il racconto, gli altri ne descrivono la portata. */
.numbers { grid-template-columns: 1.1fr 1fr; gap: 40px 65px; }
.numbers-title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.numbers-title h2 { text-align: right; }
.metric-featured { justify-content: center; padding: 35px 0; border: 0; gap: 14px; }
.metric-featured .eyebrow { margin: 0 0 12px; font-size: 13px; }
.metric-featured strong { font-size: clamp(80px, 10vw, 160px); line-height: .95; letter-spacing: -.065em; color: var(--coral); }
.metric-featured > span { font-size: 27px; max-width: none; line-height: 1.25; font-weight: 700; }
.metric-context { max-width: 380px; font-size: 16px; margin: 10px 0 0; }
.numbers .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.numbers .metric-grid .metric { border: 0; border-bottom: 1px solid var(--line); padding: 22px 0; gap: 12px; }
.numbers .metric-grid .metric:nth-child(even) { border-left: 1px solid var(--line); padding-left: 25px; }
.numbers .metric-grid .metric:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: start; gap: 25px; }
.numbers .metric-grid strong { font-size: clamp(34px, 3.5vw, 54px); }
.numbers .metric-grid .metric > span { font-size: 14px; max-width: 200px; }
/* Affiche musicale, con i nomi come materia grafica. */
.artists { grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); gap: 50px; }
.artists-head { border-bottom: 1px solid #202f4244; padding-bottom: 38px; }
.artists-head h2 { font-size: clamp(38px, 4.6vw, 68px); max-width: 1050px; }
.artist-photo { min-width: 0; position: relative; align-self: stretch; }
.artist-photo img { min-height: 650px; height: 100%; object-position: center 40%; }
.artist-list { display: flex; flex-wrap: wrap; gap: 11px 16px; align-content: center; align-items: baseline; min-width: 0; padding: 15px 0; }
.poster-label { flex: 0 0 100%; border-bottom: 1px solid #202f4266; padding-bottom: 20px; margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.artist-list > span { display: block; border: 0; padding: 0; font-size: clamp(20px,2.15vw,32px); line-height: 1.12; font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; }
.artist-list > span:nth-of-type(-n+2) { flex-basis: 100%; font-size: clamp(42px,4.65vw,70px); font-weight: 900; line-height: 1; letter-spacing: -.055em; }
.artist-list > span:nth-of-type(3), .artist-list > span:nth-of-type(4) { font-size: clamp(28px,3vw,44px); }
.artist-list > span:nth-of-type(n+13) { font-size: clamp(17px,1.6vw,24px); font-weight: 600; }
.artist-list > span:nth-of-type(7), .artist-list > span:nth-of-type(10) { color: var(--cream); }
/* Une même étiquette pour les liens, catégories et étapes. */
:root { --label-radius: 999px; }
.topbar { position: sticky; top: 0; z-index: 50; }
.brand-logo { width: clamp(220px, 22vw, 300px); }
.nav { gap: 4px; }
.nav a { border: 1px solid transparent; border-radius: var(--label-radius); padding: 8px 12px; font-size: 14px; transition: background 180ms, border-color 180ms, color 180ms; }
.nav a:hover { color: var(--navy); border-color: var(--line); }
.nav .nav-cta { padding: 8px 15px; border-color: var(--navy); }
.nav a[aria-current="location"] { background: var(--coral); color: var(--navy); border-color: var(--coral); }
.round-link, .back-top, .direction > span { border-radius: var(--label-radius); }
.timeline-tab { border-radius: 14px; }
.timeline-tab[aria-selected="true"] { background: #ff705b12; }
html { scroll-padding-top: 115px; }
@media (max-width: 1050px) {
  .numbers { gap: 35px; }
  .artist-photo img { min-height: 580px; }
}
@media (max-width: 980px) {
  .topbar { height: 80px; padding: 0 6%; }
  .menu-toggle { display:flex; flex-direction:column; gap:6px; background:transparent; border:1px solid var(--line); border-radius:50%; width:44px; height:44px; align-items:center; justify-content:center; z-index:52; }
  .menu-toggle span { width:20px; height:2px; background:var(--ink); }
  .nav { display:none; position:absolute; top:80px; left:0; right:0; background:var(--cream); padding:24px 6%; flex-direction:column; align-items:stretch; border-bottom:1px solid var(--line); box-shadow:0 20px 30px #0002; gap:8px; }
  .nav.open { display:flex; }
  .nav a { padding:10px 16px; }
  html { scroll-padding-top: 95px; }
}
@media (max-width: 720px) {
  .numbers { grid-template-columns: 1fr; gap: 30px; }
  .numbers-title { display: block; }
  .numbers-title h2 { text-align: left; }
  .metric-featured { padding: 15px 0 30px !important; border-top: 0; border-bottom: 1px solid var(--line); }
  .metric-featured strong { font-size: clamp(74px, 20vw, 130px); }
  .metric-featured > span { font-size: 23px; }
  .metric-context { font-size: 15px; }
  .numbers .metric-grid .metric { padding: 22px 12px 22px 0 !important; min-height: 140px; }
  .numbers .metric-grid .metric:nth-child(even) { padding-left: 18px !important; }
  .numbers .metric-grid .metric:last-child { min-height: 100px; }
  .numbers .metric-grid strong { font-size: 42px; }
  .artists { grid-template-columns: 1fr; gap: 28px; }
  .artists-head { padding-bottom: 28px; }
  .artist-photo img { min-height: 0; height: 420px; }
  .artist-list { gap: 12px 14px; padding: 0; }
  .artist-list > span { font-size: 25px; }
  .artist-list > span:nth-of-type(-n+2) { font-size: clamp(40px,11vw,68px); }
  .artist-list > span:nth-of-type(3), .artist-list > span:nth-of-type(4) { font-size: 30px; }
  .artist-list > span:nth-of-type(n+13) { font-size: 20px; }
}


/* Genova come origine del viaggio: una vera tavola cartografica nel racconto. */
.genova-atlas { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 0; margin: 0 0 55px; background: var(--navy); color: var(--cream); }
.genova-map { margin: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.genova-map a { display: block; outline-offset: 5px; }
.genova-map img { width: 100%; height: auto; display: block; border: 1px solid #fff8e533; }
.genova-map figcaption { padding-top: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff8e5cc; }
.genova-story { padding: 45px 36px; align-self: center; }
.genova-story .eyebrow { color: var(--coral); font-size: 13px; }
.genova-story h3 { font-size: clamp(28px, 3.1vw, 45px); font-weight: 700; line-height: 1.12; margin: 0 0 26px; letter-spacing: -.045em; }
.genova-story > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: #fff8e5de; }
.atlas-link { display: inline-block; border: 1px solid #fff8e588; border-radius: var(--label-radius, 999px); padding: 10px 18px; margin-top: 12px; font-size: 14px; font-weight: 700; transition: background 200ms, color 200ms, border-color 200ms; }
.atlas-link:hover { background: var(--coral); border-color: var(--coral); color: var(--navy); }
@media (max-width: 1050px) { .genova-atlas { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .genova-story { padding: 30px 25px; } }
@media (max-width: 720px) {
  .genova-atlas { grid-template-columns: 1fr; margin-bottom: 35px; }
  .genova-map { padding: 14px 14px 0; }
  .genova-map figcaption { font-size: 11px; }
  .genova-story { padding: 30px 24px 35px; }
  .genova-story h3 { font-size: 34px; }
  .genova-story > p:not(.eyebrow) { font-size: 15px; }
}

/* La cartografia entra nel paesaggio della sezione Territorio. */
.territory { position: relative; isolation: isolate; background: var(--cream); }
.territory::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/brand/mappa-genova.webp') center top / cover no-repeat;
  opacity: .24;
  pointer-events: none;
}
.territory::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #fff8e566, #fff8e52b 45%, #fff8e599);
  pointer-events: none;
}
.territory .photo-card { background-color: var(--cream); }
@media (max-width: 720px) {
  .territory::before { background-size: auto 100%; background-position: 58% top; opacity: .2; }
}

/* Destinazioni: tre biglietti, con linguaggio nautico e cartografico. */
.territory .location-strip { gap: 22px; border: 0; background: transparent; }
.territory .location-strip > .destination {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  grid-template-rows: auto auto 1fr;
  align-items: center;
  gap: 16px 18px;
  padding: 25px 26px 30px;
  border: 1px solid var(--navy);
  border-top: 5px solid var(--coral);
  background: var(--cream);
  color: var(--navy);
  min-height: 240px;
  box-shadow: 5px 7px 0 #202f4212;
}
.territory .location-strip > .destination::before { display: none; }
.destination-label { grid-column: 1; margin: 0; font-size: 11px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.destination img { grid-column: 2; grid-row: 1 / 3; width: 64px; height: 72px; object-fit: contain; justify-self: end; }
.territory .location-strip .destination b { grid-column: 1; font-family: 'Montecatini Pro', 'Red Hat Display', sans-serif; font-weight: 400; font-size: clamp(30px, 3vw, 43px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.015em; }
.territory .location-strip .destination > span { grid-column: 1 / -1; align-self: end; display: block; padding-top: 20px; margin-top: 3px; border-top: 1px dashed #202f4266; color: var(--navy); font-size: 14px; line-height: 1.65; min-height: 66px; }
.territory .location-strip > .destination::after { content: ''; position: absolute; width: 14px; height: 14px; top: -9px; left: calc(50% - 7px); border: 1px solid var(--navy); border-radius: 50%; background: var(--cream); }
.territory .location-strip > .destination-costa { background: var(--navy); color: var(--cream); border-color: var(--navy); border-top-color: var(--coral); }
.territory .location-strip .destination-costa > span { color: var(--cream); border-color: #fff8e566; }
@media (max-width: 1050px) {
  .territory .location-strip { gap: 16px; }
  .territory .location-strip > .destination { grid-template-columns: minmax(0, 1fr) 48px; padding: 22px 18px; gap: 15px 8px; }
  .destination img { width: 45px; height: 58px; }
  .territory .location-strip .destination b { font-size: 32px; }
}
@media (max-width: 720px) {
  .territory .location-strip { grid-template-columns: 1fr; gap: 24px; }
  .territory .location-strip > .destination { grid-template-columns: minmax(0, 1fr) 70px; padding: 25px; min-height: 220px; }
  .destination img { width: 64px; height: 72px; }
  .territory .location-strip .destination b { font-size: 39px; }
  .territory .location-strip .destination > span { min-height: 0; }
}

/* Angoli morbidi per le immagini del racconto musicale. */
.artists .artist-photo img,
.moments-grid img {
  border-radius: 16px;
}

/* Tre ricordi a ventaglio, come una mano di carte. */
.moments-grid.moments-fan { display: block; position: relative; min-height: 610px; padding: 30px 7% 80px; overflow: clip; }
.moments-fan .moment-card {
  --fan-x: -50%; --fan-angle: 0deg;
  position: absolute; left: 50%; top: 45px;
  width: clamp(240px, 25vw, 330px);
  margin: 0; padding: 10px 10px 4px;
  background: var(--cream); border: 1px solid #202f422b;
  border-radius: 23px;
  box-shadow: 0 15px 30px #202f422e;
  transform-origin: 50% 90%;
  transform: translateX(var(--fan-x)) rotate(var(--fan-angle));
  transition: transform 450ms cubic-bezier(.22,1,.36,1), box-shadow 450ms;
}
.moments-fan .moment-card:nth-child(1) { --fan-x: -115%; --fan-angle: -15deg; z-index: 1; }
.moments-fan .moment-card:nth-child(2) { padding-top: 10px; z-index: 2; }
.moments-fan .moment-card:nth-child(3) { --fan-x: 15%; --fan-angle: 15deg; z-index: 3; }
.moment-select { display: block; width: 100%; border: 0; border-radius: 16px; padding: 0; background: transparent; cursor: pointer; }
.moments-fan .moment-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.moments-fan figcaption { padding: 14px 6px 12px; font-size: 14px; line-height: 1.45; min-height: 60px; }
.moments-fan .moment-card.is-active, .moments-fan .moment-card:focus-within { z-index: 10; transform: translateX(var(--fan-x)) translateY(-26px) rotate(0deg); box-shadow: 0 22px 45px #202f4240; }
@media (hover: hover) {
  .moments-fan .moment-card:hover { z-index: 11; transform: translateX(var(--fan-x)) translateY(-26px) rotate(0deg); box-shadow: 0 22px 45px #202f4240; }
}
@media (max-width: 720px) {
  .moments-grid.moments-fan { min-height: 430px; padding: 20px 0 45px; }
  .moments-fan .moment-card { width: clamp(150px, 46vw, 230px); top: 55px; padding: 7px 7px 2px; border-radius: 19px; }
  .moments-fan .moment-card:nth-child(1) { --fan-x: -90%; --fan-angle: -13deg; }
  .moments-fan .moment-card:nth-child(2) { padding-top: 7px; }
  .moments-fan .moment-card:nth-child(3) { --fan-x: -10%; --fan-angle: 13deg; }
  .moments-fan figcaption { font-size: 12px; min-height: 61px; padding: 12px 4px; }
  .moments-fan .moment-card img { border-radius: 12px; }
  .moments-fan .moment-card.is-active, .moments-fan .moment-card:focus-within { transform: translateX(var(--fan-x)) translateY(-22px) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .moments-fan .moment-card { transition: none; } }

@media (max-width: 720px) {
  .moments-fan .moment-card:nth-child(1) { --fan-x: -82%; --fan-angle: -10deg; }
  .moments-fan .moment-card:nth-child(3) { --fan-x: -18%; --fan-angle: 10deg; }
}

/* Cinque carte a sinistra, il mazzo per distribuire una nuova mano a destra. */
.photo-table { display: grid; grid-template-columns: minmax(0,1fr) 210px; align-items: center; gap: 35px; padding: 30px 7% 70px; background: var(--coral); overflow: clip; }
.photo-table .moments-grid.moments-fan { min-height: 500px; padding: 0; background: transparent; overflow: visible; }
.photo-table .moment-card { width: clamp(150px,17vw,230px); top: 70px; padding: 0 !important; background: transparent; border: 0; box-shadow: none; border-radius: 18px; }
.photo-table .moment-card:nth-child(1) { --fan-x: -130%; --fan-angle: -22deg; z-index: 1; }
.photo-table .moment-card:nth-child(2) { --fan-x: -90%; --fan-angle: -11deg; z-index: 2; }
.photo-table .moment-card:nth-child(3) { --fan-x: -50%; --fan-angle: 0deg; z-index: 3; }
.photo-table .moment-card:nth-child(4) { --fan-x: -10%; --fan-angle: 11deg; z-index: 4; }
.photo-table .moment-card:nth-child(5) { --fan-x: 30%; --fan-angle: 22deg; z-index: 5; }
.photo-table .moment-select { perspective: 900px; border-radius: 18px; color: var(--navy); text-align: left; }
.card-flip { position: relative; display: block; aspect-ratio: 3 / 4.35; transform-style: preserve-3d; transition: transform 380ms ease; }
.photo-card-front, .photo-card-back { display: flex; position: absolute; inset: 0; flex-direction: column; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 12px 24px #202f4233; }
.photo-card-front { padding: 8px; background: var(--cream); border: 1px solid #202f4226; }
.photo-table .moment-card .photo-card-front img { width: 100%; height: 0; min-height: 0; flex: 1; aspect-ratio: auto; object-fit: cover; border-radius: 12px; }
.moment-caption { display: block; padding: 12px 3px 5px; min-height: 48px; font-size: 12px; line-height: 1.4; }
.photo-card-back { transform: rotateY(180deg); }
.photo-table .moment-card .photo-card-back img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: fill; border-radius: 0; }
.photo-table .moment-card.is-active, .photo-table .moment-card:focus-within { z-index: 15; box-shadow: none; }
@media (hover:hover) { .photo-table .moment-card:hover { z-index: 16; box-shadow: none; } }
.moments-fan.is-dealing .card-flip { transform: rotateY(180deg); }
.photo-dealer { position: relative; z-index: 20; text-align: center; padding: 20px 0; }
.deal-button { border: 0; background: transparent; color: var(--navy); padding: 16px; cursor: pointer; width: 100%; border-radius: 18px; }
.deck-stack { display: block; position: relative; width: 140px; margin: 0 auto 30px; isolation: isolate; transition: transform 250ms ease; }
.deck-stack::before, .deck-stack::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url('assets/brand/retro-carte.svg') center / 100% 100% no-repeat; filter: drop-shadow(1px 4px 2px #202f4233); }
.deck-stack::before { transform: translate(-7px,4px) rotate(-7deg); }
.deck-stack::after { transform: translate(7px,7px) rotate(6deg); }
.deck-stack > img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 8px #202f4233); }
.deal-label { display: inline-block; border: 1px solid var(--navy); border-radius: 999px; font-size: 14px; font-weight: 700; padding: 10px 15px; line-height: 1.4; background: var(--cream); }
.deal-button:disabled { cursor: wait; }
.deal-status { font-size: 13px; margin: 2px 0 0; min-height: 22px; }
@media (hover:hover) { .deal-button:not(:disabled):hover .deck-stack { transform: translateY(-8px) rotate(3deg); } }
@media (max-width:1050px) and (min-width:721px) {
  .photo-table { grid-template-columns: minmax(0,1fr) 160px; gap: 20px; padding-left: 5%; padding-right: 5%; }
  .photo-table .moment-card { width: 16vw; }
  .deck-stack { width: 115px; }
}
@media (max-width:720px) {
  .photo-table { grid-template-columns: 1fr; gap: 0; padding: 10px 6% 45px; }
  .photo-table .moments-grid.moments-fan { min-height: clamp(310px,65vw,430px); }
  .photo-table .moment-card { width: clamp(105px,31vw,180px); top: 60px; }
  .photo-table .moment-card:nth-child(1) { --fan-x: -100%; --fan-angle: -18deg; }
  .photo-table .moment-card:nth-child(2) { --fan-x: -75%; --fan-angle: -9deg; }
  .photo-table .moment-card:nth-child(3) { --fan-x: -50%; --fan-angle: 0deg; }
  .photo-table .moment-card:nth-child(4) { --fan-x: -25%; --fan-angle: 9deg; }
  .photo-table .moment-card:nth-child(5) { --fan-x: 0%; --fan-angle: 18deg; }
  .photo-card-front { padding: 5px; border-radius: 12px; }
  .photo-table .moment-card .photo-card-front img { border-radius: 9px; }
  .moment-caption { font-size: 10px; min-height: 42px; padding: 8px 2px 3px; }
  .photo-dealer { max-width: 320px; width: 100%; justify-self: center; padding: 0; }
  .deal-button { display: flex; gap: 26px; align-items: center; justify-content: center; padding: 12px; }
  .deck-stack { width: 80px; flex-shrink: 0; margin: 0; }
  .deal-label { max-width: 160px; }
}
@media (prefers-reduced-motion:reduce) { .card-flip, .deck-stack { transition: none; } }

/* Fronte coordinato al retro: cornice originale, finestra fotografica e titolo. */
.photo-table .photo-card-front {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url('assets/brand/fronte-carte.svg') center / 100% 100% no-repeat;
  color: var(--cream);
}
.card-flip { aspect-ratio: 742 / 1028; }
.photo-card-front .card-brand {
  position: absolute; top: 11%; left: 10%; width: 80%;
  font-family: 'Montecatini Pro', 'Red Hat Display', sans-serif;
  font-weight: 400; font-size: clamp(11px, 1.1vw, 16px);
  line-height: 1.15; text-align: center; letter-spacing: .01em;
}
.photo-table .moment-card .photo-card-front img {
  position: absolute;
  left: 21%; top: 23%; width: 58%; height: 52%;
  border: 2px solid var(--cream); border-radius: 12px;
  object-fit: cover; aspect-ratio: auto;
}
.photo-card-front .moment-caption {
  position: absolute; left: 13%; bottom: 12%; width: 74%;
  min-height: 0; padding: 0;
  color: var(--cream); font-size: 12px; line-height: 1.3;
  text-align: center;
}
.photo-card-front, .photo-card-back { box-shadow: none; filter: drop-shadow(0 9px 8px #202f4238); }
@media (max-width: 1050px) and (min-width: 721px) {
  .photo-card-front .moment-caption { font-size: 10px; }
}
@media (max-width: 720px) {
  .photo-card-front .card-brand { font-size: clamp(8px, 2.15vw, 12px); }
  .photo-card-front .moment-caption { font-size: clamp(8px, 2.1vw, 11px); line-height: 1.2; }
  .photo-table .moment-card .photo-card-front img { border-width: 1.5px; border-radius: 8px; }
}

/* Ventaglio desktop più grande, con un lieve taglio sul bordo sinistro. */
@media (min-width: 1051px) {
  .photo-table { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; padding: 45px 5% 70px 0; }
  .photo-table .moments-grid.moments-fan { min-height: clamp(650px, 52vw, 830px); }
  .photo-table .moment-card { width: clamp(290px, 27vw, 410px); top: 100px; left: 42%; }
  .photo-table .moment-card:nth-child(1) { --fan-x: -132%; --fan-angle: -24deg; }
  .photo-table .moment-card:nth-child(2) { --fan-x: -91%; --fan-angle: -12deg; }
  .photo-table .moment-card:nth-child(3) { --fan-x: -50%; --fan-angle: 0deg; }
  .photo-table .moment-card:nth-child(4) { --fan-x: -9%; --fan-angle: 12deg; }
  .photo-table .moment-card:nth-child(5) { --fan-x: 32%; --fan-angle: 24deg; }
  .photo-card-front .card-brand { font-size: clamp(18px, 1.7vw, 25px); }
  .photo-card-front .moment-caption { font-size: clamp(14px, 1.25vw, 18px); }
  .photo-table .moment-card .photo-card-front img { border-width: 3px; border-radius: 18px; }
  .deck-stack { width: 165px; }
  .deal-label { font-size: 15px; padding: 12px 18px; }
}

/* Mobile: ventaglio centrale più ampio, tagliato intenzionalmente ai lati. */
@media (max-width: 720px) {
  .photo-table { padding: 15px 0 45px; }
  .photo-table .moments-grid.moments-fan { min-height: clamp(390px, 93vw, 640px); width: 100%; }
  .photo-table .moment-card { width: clamp(175px, 49vw, 310px); top: 65px; left: 50%; }
  .photo-table .moment-card:nth-child(1) { --fan-x: -108%; --fan-angle: -20deg; }
  .photo-table .moment-card:nth-child(2) { --fan-x: -79%; --fan-angle: -10deg; }
  .photo-table .moment-card:nth-child(3) { --fan-x: -50%; --fan-angle: 0deg; }
  .photo-table .moment-card:nth-child(4) { --fan-x: -21%; --fan-angle: 10deg; }
  .photo-table .moment-card:nth-child(5) { --fan-x: 8%; --fan-angle: 20deg; }
  .photo-card-front .card-brand { font-size: clamp(12px, 3.25vw, 20px); }
  .photo-card-front .moment-caption { font-size: clamp(10px, 2.6vw, 15px); line-height: 1.3; }
  .photo-table .moment-card .photo-card-front img { border-width: 2px; border-radius: 11px; }
  .photo-dealer { padding-inline: 12px; }
  .moment-select { -webkit-tap-highlight-color: transparent; user-select: none; }
}

/* Comando del mazzo come etichetta da viaggio. */
.deal-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 13px 24px;
  border: 1px solid var(--cream);
  border-radius: 3px;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Montecatini Pro', 'Red Hat Display', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--cream);
  transition: transform 200ms, box-shadow 200ms;
}
.deal-label::before, .deal-label::after {
  content: '';
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  border: 1px solid var(--cream);
}
.deal-label::before { left: -6px; }
.deal-label::after { right: -6px; }
@media (hover: hover) {
  .deal-button:not(:disabled):hover .deal-label { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--cream); }
}
.deal-button:not(:disabled):active .deal-label { transform: translate(4px, 4px); box-shadow: none; }
@media (max-width: 720px) {
  .deal-label { max-width: 170px; padding: 13px 20px; font-size: 21px; min-height: 66px; }
}


/* Adatta le proporzioni quando Montecatini non è installato sul dispositivo. */
.artists-head, .artist-list, .artist-photo { min-width: 0; }
.artist-list > span { max-width: 100%; overflow-wrap: anywhere; }
.font-fallback .hero h1 { font-size: clamp(38px,5.4vw,78px); font-weight: 500; letter-spacing: -.045em; }
.font-fallback h2 { font-size: clamp(33px,4vw,60px); font-weight: 500; letter-spacing: -.045em; }
.font-fallback .directions .direction h3 { font-size: clamp(34px,3.7vw,54px); font-weight: 500; letter-spacing: -.04em; }
.font-fallback .deal-label { font-family: 'Red Hat Display', Arial, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.font-fallback .photo-card-front .card-brand { font-family: 'Red Hat Display', Arial, sans-serif; font-size: clamp(11px,1.35vw,20px); font-weight: 600; }
.font-fallback .territory .location-strip .destination b { font-size: clamp(25px,2.6vw,38px); font-weight: 500; letter-spacing: -.04em; }
@media (max-width:720px) {
  .font-fallback .hero h1 { font-size: clamp(34px,7.9vw,52px); }
  .font-fallback .photo-card-front .card-brand { font-size: clamp(9px,2.75vw,16px); }
  .font-fallback .deal-label { font-size: 14px; }
}
@media (max-width:360px) { .artist-list > span:nth-of-type(-n+2) { font-size: 35px; } }

/* Navigazione come un biglietto composto da sei destinazioni. */
.topbar { height: 100px; gap: 26px; border-top: 3px solid var(--coral); border-bottom: 1px solid var(--navy); box-shadow: 0 3px 0 #202f420a; }
.topbar .brand { padding-right: 26px; border-right: 1px dashed var(--line); min-height: 48px; }
.topbar .brand-logo { width: clamp(210px, 21vw, 290px); }
.nav { gap: 0; border: 1px solid var(--navy); border-radius: 2px; padding: 0; background: var(--cream); }
.nav a, .nav .nav-cta {
  position: relative; display: block; padding: 13px 15px;
  border: 0; border-radius: 0; white-space: nowrap;
  font-family: 'Red Hat Display', Arial, sans-serif;
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .025em; line-height: 1.2;
  transition: background 180ms, color 180ms;
}
.nav a + a { border-left: 1px dashed #202f4240; }
.nav a:hover { border-color: #202f4240; color: var(--navy); background: #ff705b22; }
.nav .nav-cta { background: var(--navy); color: var(--cream); border-left: 1px solid var(--navy); }
.nav .nav-cta:hover { background: var(--coral); color: var(--navy); }
.nav a[aria-current="location"] { background: var(--coral); color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); }
.nav a::after { content: ''; position: absolute; width: 7px; height: 7px; top: -4px; left: calc(50% - 3.5px); border: 1px solid var(--navy); border-radius: 50%; background: var(--cream); pointer-events: none; }
.menu-toggle { border-radius: 3px; }
@media (min-width:981px) and (max-width:1150px) {
  .topbar { gap: 16px; padding-inline: 4%; }
  .topbar .brand { padding-right: 16px; }
  .topbar .brand-logo { width: 205px; }
  .nav a, .nav .nav-cta { padding: 13px 11px; font-size: 12px; }
}
@media (max-width:980px) {
  .topbar { height: 80px; padding: 0 6%; }
  .topbar .brand { border: 0; padding: 0; min-height: 0; }
  .topbar .brand-logo { width: clamp(195px, 46vw, 260px); }
  .menu-toggle { flex-shrink: 0; border: 1px solid var(--navy); border-radius: 3px; background: var(--cream); box-shadow: 3px 3px 0 var(--coral); }
  .menu-toggle span { transition: transform 180ms; }
  .menu-toggle[aria-expanded="true"] { background: var(--navy); box-shadow: 3px 3px 0 var(--coral); }
  .menu-toggle[aria-expanded="true"] span { background: var(--cream); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { top: 79px; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; padding: 22px 6% 26px; gap: 10px; box-shadow: 0 14px 20px #202f4222; max-height: calc(100dvh - 80px); overflow-y: auto; }
  .nav a, .nav .nav-cta { padding: 15px 19px; border: 1px solid var(--navy); border-radius: 2px; font-size: 14px; letter-spacing: .05em; }
  .nav a + a { border-left: 1px solid var(--navy); }
  .nav a::after { width: 8px; height: 8px; top: calc(50% - 4px); left: -5px; }
  .nav a[aria-current="location"] { box-shadow: inset 4px 0 0 var(--navy); }
}
@media (prefers-reduced-motion:reduce) { .menu-toggle span { transition: none; } }

/* Invito iniziale coordinato ai biglietti e al comando del mazzo. */
.hero .round-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  min-height: 54px;
  border: 1px solid var(--cream);
  border-radius: 3px;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Red Hat Display', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--coral);
  transition: transform 200ms, box-shadow 200ms, background 200ms;
}
.hero .round-link::before, .hero .round-link::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  top: calc(50% - 4px);
  border-radius: 50%;
  background: var(--coral);
  border: 1px solid var(--cream);
}
.hero .round-link::before { left: -5px; }
.hero .round-link::after { right: -5px; }
.hero .round-link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--coral); }
.hero .round-link:active { transform: translate(4px, 4px); box-shadow: none; }

.hero-play { position: absolute; z-index: 4; right: 7%; bottom: 85px; border: 1px solid var(--cream); border-radius: 3px; background: var(--navy); color: var(--cream); padding: 10px 16px; font-size: 14px; cursor: pointer; }
.hero-play[hidden] { display: none; }
@media(max-width:720px) { .hero-play { right: 6%; bottom: 85px; } }

/* Mobile: biglietto doppio con tagliando che si stacca lungo la perforazione. */
@media (max-width: 720px) {
  .directions { display: grid; grid-template-columns: 1fr; gap: 0; padding: 36px 6% 72px; background: var(--cream); overflow: clip; }
  .directions .direction { position: relative; padding: 34px 25px 30px; border: 1px solid var(--navy); background: var(--coral); border-radius: 2px; }
  .directions .direction:first-child { border-bottom: 1px dashed var(--navy); }
  .directions .direction:last-child { background: var(--navy); color: var(--cream); border-top: 1px dashed #fff8e599; transform-origin: 95% 0; }
  .directions .direction > span { border-radius: 2px; font-size: 10px; padding: 6px 10px; letter-spacing: .08em; }
  .directions .direction h3 { font-size: 41px; margin: 23px 0; }
  .directions .direction p { font-size: 15px; }
  .directions .direction::before { content: ''; position: absolute; inset: -1px; background: radial-gradient(circle at 0 50%, var(--cream) 8px, transparent 8.5px), radial-gradient(circle at 100% 50%, var(--cream) 8px, transparent 8.5px); pointer-events: none; }
  .directions .direction:last-child::after { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 7px; background: radial-gradient(circle at 5px 0, var(--cream) 3px, transparent 3.7px) 0 0 / 10px 7px repeat-x; pointer-events: none; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .directions .direction:last-child {
    transform: translate(var(--ticket-x, 0px), var(--ticket-y, 0px)) rotate(var(--ticket-angle, 0deg));
    box-shadow: var(--ticket-shadow, none);
    transition: none;
    animation: none;
  }
}

/* Desktop: separazione laterale molto lieve, reversibile con lo scroll. */
@media (min-width: 721px) {
  .directions { background: var(--cream); overflow: clip; }
  .directions .direction:first-child { background: var(--coral); border-right: 1px dashed #202f4266; }
  .directions .direction:last-child { position: relative; transform-origin: 0 0; border-left: 1px dashed #fff8e566; }
  .directions .direction:last-child::after { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 5px; background: radial-gradient(circle at 0 5px, var(--cream) 2.5px, transparent 3px) 0 0 / 5px 10px repeat-y; pointer-events: none; }
}
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  .directions .direction:last-child {
    transform: translate(var(--ticket-x, 0px), var(--ticket-y, 0px)) rotate(var(--ticket-angle, 0deg));
    box-shadow: var(--ticket-shadow, none);
    transition: none;
    animation: none;
  }
}

/* Mobile: movimenti automatici lenti, limitati ai simboli visibili. */
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .format-symbol, .pillar:hover .format-symbol { animation-play-state: paused; }
  .pillar .format-symbol.is-mobile-visible { animation-play-state: running; }
  .format-symbol[data-motion="record"] { animation-name: mobile-format-record; animation-duration: 9s; }
  .format-symbol[data-motion="rhythm"] { animation-name: mobile-format-rhythm; animation-duration: 10s; }
  .format-symbol[data-motion="propeller"] { animation-name: format-propeller; animation-duration: 24s; }
  .format-symbol[data-motion="wave"] { animation-name: mobile-format-wave; animation-duration: 9s; }
  .format-symbol[data-motion="open"] { animation-name: mobile-format-open; animation-duration: 12s; }
  .format-symbol[data-motion="connect"] { animation-name: mobile-format-connect; animation-duration: 11s; }
  @keyframes mobile-format-record {
    0%, 100% { transform: perspective(280px) rotateY(-10deg); }
    50% { transform: perspective(280px) rotateY(10deg); }
  }
  @keyframes mobile-format-rhythm {
    0%, 70%, 100% { transform: skewX(0) translateY(0); }
    35% { transform: skewX(-3deg) translateY(-2px); }
  }
  @keyframes mobile-format-wave {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-2px) rotate(5deg); }
  }
  @keyframes mobile-format-open {
    0%, 100% { transform: rotate(-6deg) scale(.98); }
    50% { transform: rotate(6deg) scale(1.02); }
  }
  @keyframes mobile-format-connect {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(.94); }
  }
}


/* Approfondimenti sui progetti, apribili senza lasciare la pagina. */
.project-details { border-top: 1px solid var(--line); margin-top: 28px; }
.project-details summary { list-style: none; cursor: pointer; padding: 17px 30px 17px 0; font-size: 15px; font-weight: 700; position: relative; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; }
.project-details[open] summary::after { content: '−'; }
.project-details summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.project-details-body { padding: 4px 0 18px; }
.project-facts { margin: 0; }
.project-facts > div { padding: 14px 0; border-top: 1px dashed var(--line); }
.project-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 5px; }
.project-facts dd { margin: 0; font-size: 15px; line-height: 1.65; }
.project-details-body > p { font-size: 15px; margin-top: 18px; }
.project-text-link { display: inline-block; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 14px; }
.territory .postcard-details { margin: auto 14px 0; }
.territory .postcard-details .project-details-body { display: block; padding: 0 0 15px; }
.territory .postcard-details .project-facts > div { display: block; padding: 12px 0; }
.territory .postcard-copy { flex: 1; }
/* Invito finale come biglietto d'imbarco. */
.boarding-pass { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); margin-top: 25px; border: 1px solid var(--navy); border-top: 6px solid var(--coral); background: var(--cream); box-shadow: 8px 9px 0 #202f420d; }
.boarding-main { padding: 42px; }
.boarding-main h3 { font: 500 clamp(34px,4vw,56px)/1.08 'Red Hat Display',Arial,sans-serif; text-transform: uppercase; letter-spacing: -.015em; margin: 0 0 25px; }
.boarding-main > p:not(.eyebrow) { max-width: 550px; font-size: 16px; }
.boarding-main .boarding-audience { font-size: 13px; margin-bottom: 0; }
.boarding-actions { position: relative; padding: 42px; border-left: 1px dashed var(--navy); display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 20px; }
.boarding-actions::before,.boarding-actions::after { content: ''; position: absolute; left: -9px; width: 16px; height: 16px; border: 1px solid var(--navy); border-radius: 50%; background: var(--cream); }
.boarding-actions::before { top: -9px; }.boarding-actions::after { bottom: -9px; }
.boarding-issuer { font-size: 14px; line-height: 1.5; }
.boarding-download,.boarding-email { display: inline-block; padding: 14px 21px; background: var(--navy); color: var(--cream); border: 1px solid var(--navy); border-radius: 2px; font-size: 14px; font-weight: 700; box-shadow: 4px 4px 0 var(--coral); }
.boarding-download:hover,.boarding-email:hover { background: var(--coral); color: var(--navy); }
.boarding-document { font-size: 13px; }
.boarding-contact { font-size: 15px; overflow-wrap: anywhere; }
.boarding-person { font-size: 14px; }
.font-fallback .boarding-main h3 { font-size: clamp(31px,3.6vw,49px); letter-spacing: -.04em; font-weight: 500; }
@media(max-width:720px) {
 .boarding-pass { grid-template-columns: 1fr; margin-top: 0; }
 .boarding-main { padding: 30px 24px; }
 .boarding-actions { padding: 30px 24px; border-left: 0; border-top: 1px dashed var(--navy); }
 .boarding-actions::before,.boarding-actions::after { top: -9px; bottom: auto; }
 .boarding-actions::before { left: -9px; }.boarding-actions::after { right: -9px; left: auto; }
 .boarding-main h3 { font-size: 37px; }
 .boarding-main > p:not(.eyebrow) { font-size: 15px; }
 .territory .postcard-details { margin-inline: 8px; }
}


/* Il tagliando del dossier si separa dopo il clic, senza interrompere il download. */
.boarding-pass { border: 0; background: transparent; box-shadow: none; }
.boarding-main { background: var(--cream); border: 1px solid var(--navy); border-right: 0; border-top: 6px solid var(--coral); }
.boarding-actions { background: var(--cream); border: 1px solid var(--navy); border-left: 1px dashed var(--navy); border-top: 6px solid var(--coral); transform-origin: left top; transition: transform 850ms cubic-bezier(.2,.75,.25,1), box-shadow 850ms; }
.boarding-pass.is-detached .boarding-main { border-right: 1px dashed var(--navy); }
.boarding-pass.is-detached .boarding-actions { transform: translate(16px, 8px) rotate(1.2deg); box-shadow: 5px 10px 16px #202f4226; }
@media(max-width:720px) {
  .boarding-main { border-right: 1px solid var(--navy); border-bottom: 0; }
  .boarding-actions { border-left: 1px solid var(--navy); border-top: 1px dashed var(--navy); }
  .boarding-pass.is-detached .boarding-main { border-right: 1px solid var(--navy); border-bottom: 1px dashed var(--navy); }
  .boarding-pass.is-detached .boarding-actions { transform: translate(0, 18px) rotate(-1.2deg); }
}
@media(prefers-reduced-motion:reduce) {
  .boarding-actions { transition: none; }
  .boarding-pass.is-detached .boarding-actions { transform: none; box-shadow: none; }
}

/* Struttura ibrida: home narrativa e pagine dedicate ai progetti. */
.nav a[aria-current="page"] { background: var(--coral); color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); }
.footer-links { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; }
.footer-links a { border-bottom: 1px solid #fff8e566; }
.home-projects { background: var(--paper); }
.project-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 30px; }
.project-preview { min-width: 0; border: 1px solid var(--line); background: var(--cream); }
.project-preview-image { display: block; overflow: hidden; }
.project-preview-image img { width: 100%; height: 300px; object-fit: cover; transition: transform 400ms ease; }
.project-preview-copy { padding: 28px; }
.project-preview-copy .eyebrow { font-size: 12px; margin-bottom: 14px; }
.project-preview h3 { font-size: 29px; margin: 0 0 18px; }
.project-preview-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; }
.project-preview .project-text-link { margin-top: 5px; }
.page-ticket-link { display: inline-block; margin-top: 35px; padding: 14px 23px; background: var(--navy); color: var(--cream); border: 1px solid var(--navy); border-radius: 2px; box-shadow: 4px 4px 0 var(--coral); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.page-ticket-link:hover { background: var(--coral); color: var(--navy); }
.territory-intro { max-width: 650px; font-size: 19px; margin: 0 0 45px; }
.territory .destination .project-text-link { grid-column: 1 / -1; font-size: 13px; justify-self: start; }
.home-collaboration { background: var(--cream); }
.home-collaboration .boarding-pass { margin-top: 0; }
.page-intro { background: var(--navy); color: var(--cream); padding-top: 55px; padding-bottom: 70px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: 13px; margin-bottom: 55px; }
.breadcrumbs a { border-bottom: 1px solid #fff8e566; }
.breadcrumbs > span[aria-hidden] { color: var(--coral); }
.page-intro > .eyebrow { color: var(--coral); }
.page-intro h1 { font-family: 'Montecatini Pro','Red Hat Display',sans-serif; font-size: clamp(50px,6.6vw,96px); font-weight: 400; line-height: 1.03; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 28px; max-width: 1100px; overflow-wrap: anywhere; }
.font-fallback .page-intro h1 { font-size: clamp(42px,5.6vw,80px); font-weight: 500; letter-spacing: -.05em; }
.page-lead { max-width: 760px; margin: 0; font-size: 21px; line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.project-tags > span { border: 1px solid #fff8e577; padding: 7px 14px; font-size: 13px; }
.project-cover { margin: 0; background: var(--cream); }
.project-cover > img { width: 100%; height: clamp(380px,55vw,650px); object-fit: cover; object-position: center 45%; }
.project-cover figcaption { padding: 14px 7%; font-size: 13px; border-bottom: 1px solid var(--line); }
.project-story { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 70px; }
.project-story h2 { font-size: clamp(36px,4.3vw,62px); margin-bottom: 30px; }
.project-story > div > p:not(.eyebrow) { font-size: 18px; line-height: 1.8; max-width: 660px; }
.project-identity { align-self: start; border: 1px solid var(--navy); border-top: 6px solid var(--coral); background: var(--cream); padding: 18px 28px; }
.project-identity dl { margin: 0; }
.project-identity dl > div { padding: 20px 0; }
.project-identity dl > div + div { border-top: 1px dashed var(--line); }
.project-identity dt { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .05em; margin-bottom: 8px; }
.project-identity dd { font-size: 16px; line-height: 1.65; margin: 0; }
.project-index { padding-top: 65px; }
.project-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; background: var(--cream); }
.project-gallery img { width: 100%; height: 450px; object-fit: cover; border-radius: 16px; }
.related-projects { border-top: 1px solid var(--line); }
.related-projects h2 { margin-bottom: 40px; }
.related-projects > .project-text-link { margin-top: 30px; }
.project-cta { background: var(--coral); }
.project-cta h2 em { color: var(--navy); }
.inner-page .collaboration { border-top: 1px solid var(--line); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .project-preview-image:hover img { transform: scale(1.035); } }
@media(max-width:980px) { .project-story { gap: 35px; } }
@media(max-width:720px) {
 .project-previews { grid-template-columns: 1fr; gap: 28px; }
 .project-preview-image img { height: 250px; }
 .project-preview-copy { padding: 24px; }
 .project-preview h3 { font-size: 25px; }
 .project-preview-copy > p:not(.eyebrow) { font-size: 15px; }
 .territory-intro { font-size: 17px; }
 .page-intro { padding-top: 30px; padding-bottom: 50px; }
 .breadcrumbs { font-size: 12px; margin-bottom: 38px; gap: 8px; }
 .page-intro h1 { font-size: clamp(39px,10vw,62px); }
 .font-fallback .page-intro h1 { font-size: clamp(35px,9vw,56px); }
 .page-lead { font-size: 18px; }
 .project-tags > span { font-size: 12px; }
 .project-cover > img { height: 360px; }
 .project-story { grid-template-columns: 1fr; gap: 30px; }
 .project-story h2 { font-size: 36px; }
 .project-story > div > p:not(.eyebrow) { font-size: 16px; }
 .project-identity { padding: 12px 22px; }
 .project-gallery { grid-template-columns: 1fr; }
 .project-gallery img { height: 360px; }
 .related-projects h2 { margin-bottom: 30px; }
}

/* Carnet Transatlantica: un sistema comune alle pagine interne. */
.inner-page { background: var(--paper); }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) 210px;
  column-gap: 70px;
  background: var(--cream);
  color: var(--navy);
  border-bottom: 1px dashed #202f4255;
  padding-top: 32px;
  padding-bottom: 65px;
}
.page-intro > :not(.page-emblem) { grid-column: 1; }
.page-intro .breadcrumbs { grid-column: 1 / -1; margin-bottom: 48px; font-size: 13px; }
.breadcrumbs a { border-color: #202f4255; }
.page-intro > .eyebrow { color: #ba432f; font-size: 13px; letter-spacing: .07em; margin-bottom: 22px; }
.page-intro h1 { margin-bottom: 25px; font-size: clamp(46px,6vw,88px); }
.font-fallback .page-intro h1 { font-size: clamp(42px,5.2vw,76px); }
.page-lead { font-size: 20px; line-height: 1.7; max-width: 760px; }
.page-emblem { grid-column: 2; grid-row: 2 / 6; align-self: center; justify-self: center; padding: 18px; }
.page-emblem > img { width: 150px; height: 180px; object-fit: contain; }
.project-tags { gap: 0; margin-top: 30px; justify-self: start; border: 1px solid var(--navy); background: var(--paper); }
.project-tags > span { border: 0; padding: 9px 14px; font-size: 13px; }
.project-tags > span + span { border-left: 1px dashed var(--navy); }
/* Les aperçus reprennent les codes des cartes postales. */
.project-previews { gap: 38px 30px; }
.project-preview { display: flex; flex-direction: column; padding: 13px; border: 1px solid var(--navy); background: var(--cream); box-shadow: 5px 6px 0 #202f420c; }
.project-preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 4px 4px 15px; font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .025em; }
.project-preview-meta > span:first-child { max-width: 75%; }
.project-preview-meta > span:last-child { flex-shrink: 0; border: 1px solid #202f4255; border-radius: 50%; padding: 7px 9px; transform: rotate(-7deg); }
.project-preview-image { border: 1px solid var(--line); }
.project-preview-image img { height: 310px; }
.project-preview-copy { position: relative; padding: 27px 12px 12px; display: flex; flex-direction: column; flex: 1; align-items: start; }
.project-preview h3 { font-size: 28px; line-height: 1.15; max-width: calc(100% - 65px); min-height: 58px; margin-bottom: 17px; }
.project-preview-symbol { position: absolute; top: 26px; right: 10px; width: 44px; height: 44px; object-fit: contain; }
.project-preview-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.project-preview .project-text-link { margin-top: auto; padding-top: 15px; padding-bottom: 3px; border-top: 1px dashed #202f4240; border-bottom: 0; width: 100%; font-size: 14px; }
.project-preview .project-text-link:hover { color: #b63b28; }
/* Photographie et repères partagent le même axe que les titres. */
.project-cover { margin: 48px max(7%,calc((100vw - 1400px)/2)) 0; padding: 15px; border: 1px solid var(--navy); background: var(--cream); box-shadow: 7px 9px 0 #202f420c; }
.project-cover > img { height: clamp(360px,43vw,570px); }
.project-cover figcaption { padding: 16px 5px 3px; border: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.project-story { gap: 65px; padding-top: 85px; padding-bottom: 85px; }
.project-story h2 { font-size: clamp(36px,4vw,58px); margin-bottom: 30px; }
.project-story > div > .eyebrow { font-size: 13px; }
.project-story > div > p:not(.eyebrow) { font-size: 17px; line-height: 1.85; }
.project-identity { position: relative; padding: 0 28px 12px; border-top: 5px solid var(--coral); }
.identity-label { padding: 21px 0 18px; margin: 0; border-bottom: 1px dashed var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-identity::before,.project-identity::after { content: ''; position: absolute; top: 49px; width: 14px; height: 14px; border: 1px solid var(--navy); border-radius: 50%; background: var(--paper); }
.project-identity::before { left: -8px; }.project-identity::after { right: -8px; }
.project-identity dl > div { padding: 19px 0; }
.project-identity dt { color: #b63b28; }
.related-projects { background: var(--cream); border-top: 1px dashed #202f4255; }
.related-projects .project-preview-image img { height: 250px; }
.related-projects > .eyebrow { font-size: 13px; }
.related-projects h2 { font-size: clamp(36px,4vw,58px); }
/* Tous les appels à l'action ressemblent au même billet. */
.page-ticket-link { position: relative; border: 1px solid var(--cream); border-radius: 2px; padding: 15px 25px; line-height: 1.3; box-shadow: 4px 4px 0 var(--coral); }
.page-ticket-link::before,.page-ticket-link::after { content: ''; position: absolute; top: calc(50% - 4px); width: 8px; height: 8px; border: 1px solid var(--cream); border-radius: 50%; background: var(--coral); }
.page-ticket-link::before { left: -5px; }.page-ticket-link::after { right: -5px; }
.project-cta { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); column-gap: 65px; align-items: center; background: var(--paper); border-top: 1px solid var(--line); }
.project-cta > .eyebrow { grid-column: 1; font-size: 13px; }
.project-cta > h2 { grid-column: 1; font-size: clamp(36px,4.4vw,64px); }
.project-cta h2 em { color: #c44732; }
.cta-destination { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: 25px; border-left: 1px dashed var(--line); padding: 15px 0 15px 40px; }
.cta-destination > img { width: 110px; height: 142px; object-fit: contain; }
.cta-destination .page-ticket-link { margin-top: 0; }
.inner-page .collaboration { border-top: 0; background: var(--paper); }
.inner-page .collaboration > .collaboration-copy > .eyebrow { font-size: 13px; }
.inner-page .collab-grid { gap: 22px; }
.inner-page .collab-grid article { border: 1px solid var(--line); background: var(--cream); padding: 26px; }
.collab-symbol { width: 44px; height: 44px; object-fit: contain; margin-bottom: 28px; }
.inner-page .collab-grid h3 { font-size: 23px; margin: 0 0 17px; }
.inner-page .boarding-pass { margin-top: 10px; }
@media (max-width:1050px) {
 .page-intro { grid-template-columns: minmax(0,1fr) 140px; column-gap: 35px; }
 .page-emblem { padding: 0; }.page-emblem > img { width: 120px; height: 150px; }
 .project-story { gap: 35px; }
 .project-cta { column-gap: 30px; }
}
@media(max-width:720px) {
 .page-intro { grid-template-columns: minmax(0,1fr) 58px; gap: 0 18px; padding-top: 26px; padding-bottom: 42px; }
 .page-intro .breadcrumbs { margin-bottom: 33px; }
 .page-intro > .eyebrow { grid-column: 1; font-size: 12px; margin-bottom: 18px; }
 .page-intro h1,.page-intro .page-lead,.page-intro .project-tags { grid-column: 1 / -1; }
 .page-intro h1 { font-size: clamp(38px,10vw,60px); }
 .font-fallback .page-intro h1 { font-size: clamp(34px,8.7vw,54px); }
 .page-emblem { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; }
 .page-emblem > img { width: 50px; height: 50px; }
 .page-lead { font-size: 17px; line-height: 1.7; }
 .project-tags { margin-top: 25px; }
 .project-tags > span { padding: 8px 11px; font-size: 12px; }
 .project-preview { padding: 10px; }
 .project-preview-meta { font-size: 12px; gap: 10px; padding-bottom: 12px; }
 .project-preview-image img,.related-projects .project-preview-image img { height: 240px; }
 .project-preview-copy { padding: 24px 9px 12px; }
 .project-preview h3 { font-size: 25px; min-height: 0; margin-bottom: 18px; }
 .project-preview-symbol { width: 38px; height: 38px; top: 23px; right: 6px; }
 .project-preview-copy > p:not(.eyebrow) { font-size: 15px; margin-bottom: 22px; }
 .project-cover { margin: 26px 6% 0; padding: 10px; }
 .project-cover > img { height: 300px; }
 .project-cover figcaption { font-size: 11px; padding: 13px 4px 3px; }
 .project-story { padding-top: 55px; padding-bottom: 55px; gap: 30px; }
 .project-story > div > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
 .project-identity { padding-inline: 22px; }
 .project-cta { grid-template-columns: 1fr; gap: 0; }
 .project-cta > h2 { font-size: 39px; }
 .cta-destination { grid-column: 1; grid-row: auto; flex-direction: row; justify-content: space-between; gap: 20px; padding: 28px 0 0; margin-top: 30px; border-left: 0; border-top: 1px dashed var(--line); }
 .cta-destination > img { width: 65px; height: 85px; }
 .cta-destination .page-ticket-link { max-width: 210px; font-size: 13px; padding: 13px 19px; }
 .inner-page .collab-grid article { padding: 24px; }
}


/* Navbar: il profilo del biglietto con incavi laterali dell'identità Transatlantica. */
.nav { gap: 7px; border: 0; background: transparent; }
.nav a, .nav .nav-cta {
  --nav-ticket-fill: var(--cream);
  position: relative; isolation: isolate; border: 0; border-radius: 0;
  padding: 17px 20px; min-height: 52px;
  background: transparent; box-shadow: none;
  color: var(--navy); text-align: center;
}
.nav a + a { border-left: 0; }
.nav a::before {
  content: ''; position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: 0; pointer-events: none; z-index: -2;
  background: var(--nav-ticket-fill);
  -webkit-mask: url('assets/brand/biglietto-nav-mask.svg') center / 100% 100% no-repeat;
  mask: url('assets/brand/biglietto-nav-mask.svg') center / 100% 100% no-repeat;
}
.nav a::after {
  content: ''; position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: 0; pointer-events: none; z-index: -1;
  background: url('assets/brand/biglietto-nav.svg') center / 100% 100% no-repeat;
}
.nav a:hover { --nav-ticket-fill: var(--coral); background: transparent; color: var(--navy); }
.nav .nav-cta { --nav-ticket-fill: var(--navy); color: var(--cream); border: 0; background: transparent; }
.nav .nav-cta:hover { --nav-ticket-fill: var(--coral); color: var(--navy); background: transparent; }
.nav a[aria-current="page"],.nav a[aria-current="location"] { --nav-ticket-fill: var(--coral); background: transparent; color: var(--navy); box-shadow: none; }
@media(min-width:981px) and (max-width:1150px) { .nav { gap: 5px; }.nav a,.nav .nav-cta { padding: 17px 15px; } }
@media(max-width:980px) {
 .nav { gap: 10px; background: var(--cream); border-bottom: 1px solid var(--navy); }
 .nav a,.nav .nav-cta { padding: 18px 24px; border: 0; min-height: 56px; text-align: left; }
 .nav a + a { border: 0; }
 .nav a::after { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
}
/* Galleria Festival: la mappa rimane a colori pieni, senza velature. */
.festival-gallery { padding: 55px max(7%,calc((100vw - 1400px)/2)); background: var(--cream) url('assets/brand/mappa-genova.webp') center / cover no-repeat; border-bottom: 1px solid var(--navy); }
.gallery-stage { position: relative; outline-offset: 6px; }
.gallery-frame { padding: 13px; border: 1px solid var(--navy); background: var(--cream); box-shadow: 8px 10px 0 #202f422b; touch-action: pan-y; }
.gallery-slide { margin: 0; width: 100%; }
.gallery-slide[hidden] { display: none; }
.gallery-slide > img { display: block; width: 100%; height: clamp(390px,44vw,630px); object-fit: cover; object-position: center 45%; }
.gallery-slide:nth-child(4) > img { object-position: center 45%; }
.gallery-side { position: absolute; top: calc(50% - 27px); width: 88px; min-height: 54px; padding: 12px 14px; background: var(--navy); color: var(--cream); border: 1px solid var(--cream); border-radius: 2px; font: 700 14px/1.2 'Red Hat Display',sans-serif; cursor: pointer; box-shadow: 4px 4px 0 var(--coral); }
.gallery-side:hover { background: var(--coral); color: var(--navy); }
.gallery-prev { left: -44px; }.gallery-next { right: -44px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 20px; padding: 21px 25px; background: var(--cream); border: 1px solid var(--navy); border-top: 5px solid var(--coral); }
.gallery-description .eyebrow { font-size: 12px; margin: 0 0 7px; }
.gallery-caption { margin: 0; font-size: 16px; font-weight: 700; }
.gallery-tools { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.gallery-position { font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-toggle { border: 1px solid var(--navy); border-radius: 2px; background: var(--cream); color: var(--navy); font: 700 14px 'Red Hat Display',sans-serif; padding: 10px 15px; cursor: pointer; }
.gallery-toggle:hover { background: var(--navy); color: var(--cream); }
@media(prefers-reduced-motion:no-preference) {
 .gallery-slide.is-active { animation: gallery-appear 500ms ease both; }
 @keyframes gallery-appear { from { opacity: .3; } to { opacity: 1; } }
}
@media(max-width:720px) {
 .festival-gallery { padding: 30px 6%; background-position: center; }
 .gallery-frame { padding: 8px; box-shadow: 5px 6px 0 #202f422b; }
 .gallery-slide > img { height: clamp(350px,95vw,560px); }
 .gallery-side { width: 64px; min-height: 46px; padding: 10px 7px; top: calc(50% - 23px); font-size: 14px; }
 .gallery-prev { left: -13px; }.gallery-next { right: -13px; }
 .gallery-toolbar { flex-direction: column; align-items: stretch; gap: 15px; padding: 19px; margin-top: 17px; }
 .gallery-caption { font-size: 15px; }
 .gallery-tools { justify-content: space-between; }
}

/* Il profilo incorporato funziona anche nell'anteprima locale file://. */
.nav a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M1%201H159V24A8%208%200%200%200%20159%2040V63H1V40A8%208%200%200%200%201%2024Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M1%201H159V24A8%208%200%200%200%20159%2040V63H1V40A8%208%200%200%200%201%2024Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); }

.nav a::before { -webkit-mask-image: var(--ticket-profile); mask-image: var(--ticket-profile); }
.nav a::after { background-image: var(--ticket-border, url('assets/brand/biglietto-nav.svg')); }

.nav a::before { --ticket-default-profile: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%2064%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M1%201H159V24A8%208%200%200%200%20159%2040V63H1V40A8%208%200%200%200%201%2024Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image: var(--ticket-profile,var(--ticket-default-profile)); mask-image: var(--ticket-profile,var(--ticket-default-profile)); }

/* Cartoline su fondo blu e comandi fotografici senza elementi visibili. */
.project-index { background: var(--navy); }
.project-index .project-preview { box-shadow: 6px 8px 0 #0003; }
.gallery-side,.gallery-side:hover { top: 0; bottom: 0; width: 18%; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: inherit; touch-action: pan-y; }
.gallery-prev { left: 0; }.gallery-next { right: 0; }
.gallery-side:focus-visible { outline: 2px dashed var(--cream); outline-offset: -12px; }
.gallery-stage img { user-select: none; -webkit-user-drag: none; }

/* Una pila di cartoline: ogni fotografia conserva la propria cornice. */
.festival-gallery { overflow: hidden; padding-top: 75px; padding-bottom: 55px; }
.gallery-stage { margin: 0 3% 40px; isolation: isolate; touch-action: pan-y; }
.gallery-frame { display: grid; padding: 0; border: 0; background: transparent; box-shadow: none; }
.gallery-slide { grid-area: 1 / 1; padding: 13px 13px 34px; border: 1px solid var(--navy); background: var(--cream); box-shadow: 3px 7px 14px #202f4238; transform-origin: center; pointer-events: none; }
.gallery-slide.is-active { animation: none; }
.gallery-slide > img { height: clamp(350px,40vw,570px); }
.gallery-side { width: 32%; z-index: 20; }
.gallery-toolbar { position: relative; z-index: 1; }
@media(max-width:720px) {
 .festival-gallery { padding-top: 48px; }
 .gallery-stage { margin: 0 3% 34px; }
 .gallery-slide { padding: 8px 8px 25px; }
 .gallery-slide > img { height: clamp(310px,90vw,490px); }
}

.gallery-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; flex-shrink: 0; }
.gallery-toggle svg { display: block; width: 22px; height: 22px; }

.gallery-toggle { background: transparent; border-color: #202f4238; color: #202f428c; transition: color .2s, border-color .2s, background .2s; }
.gallery-toggle:hover,.gallery-toggle:focus-visible { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.home-projects { background: var(--navy); color: var(--cream); }
.home-projects h2 em { color: var(--coral); }
.home-projects .project-preview { color: var(--navy); box-shadow: 6px 8px 0 #0003; }
.home-projects > .page-ticket-link::before,.home-projects > .page-ticket-link::after { background: var(--navy); }

/* Le due rotte riprendono il profilo dei biglietti della navigazione. */
.directions { padding: 36px 3% 52px; gap: 96px; background: var(--cream); }
.directions .direction { position: relative; border: 0; border-radius: 0; padding: 60px 12% 48px; -webkit-mask: var(--direction-profile, url('assets/brand/biglietto-nav-mask.svg')) 0 0 / 100% 100% no-repeat; mask: var(--direction-profile, url('assets/brand/biglietto-nav-mask.svg')) 0 0 / 100% 100% no-repeat; }
.directions .direction:first-child { background: var(--coral); border: 0; }
.directions .direction:last-child { background: var(--navy); border: 0; }
.directions .direction::before { content: ''; position: absolute; inset: 0; background: var(--direction-outline) 0 0 / 100% 100% no-repeat; pointer-events: none; }
.directions .direction:last-child::after { display: none; }
.directions .direction-symbol { display: grid; width: 90px; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; transform: translate(-50%,-50%); color: var(--navy); font-size: 13px; line-height: 1.5; pointer-events: none; }
@media(max-width:720px) {
 .directions { padding: 26px 6% 65px; gap: 60px; }
 .directions .direction { padding: 34px 27px 30px; }
 .directions .direction-symbol { top: var(--direction-seam-y,50%); width: 140px; font-size: 12px; }
 .directions .direction-symbol br { display: none; }
}

@media(min-width:721px) { .directions { column-gap: 0; } }

@media(max-width:720px) {
 .directions { padding: 26px 3% 65px; row-gap: 0; }
 .directions .direction { padding: 76px 27px 78px; }
 .directions .direction-symbol { width: 100px; font-size: 12px; line-height: 1.5; }
 .directions .direction-symbol br { display: initial; }
}

/* Pulsanti piatti: niente ombre negli stati normale, hover o pressione. */
button, button::before, button::after,
.nav a, .nav a::before, .nav a::after,
.round-link, .page-ticket-link, .boarding-download, .boarding-email,
.back-top, [role="button"], .deal-label { box-shadow: none !important; text-shadow: none !important; filter: none !important; }
.hero .round-link:hover,.hero .round-link:active,
.deal-button:not(:disabled):hover .deal-label,
.deal-button:not(:disabled):active .deal-label { transform: none; }

/* Un solo profilo a biglietto per i comandi del sito. */
.action-ticket { isolation: isolate; border: 0 !important; border-radius: 0 !important; -webkit-mask: var(--ticket-profile) 0 0 / 100% 100% no-repeat; mask: var(--ticket-profile) 0 0 / 100% 100% no-repeat; }
.action-ticket::before { content: none !important; }
.action-ticket::after { content: '' !important; display: block; position: absolute; inset: 0 !important; width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; background: currentColor !important; -webkit-mask: var(--action-outline) 0 0 / 100% 100% no-repeat; mask: var(--action-outline) 0 0 / 100% 100% no-repeat; pointer-events: none; transform: none; }
.action-ticket:focus-visible { outline-offset: -4px; }

/* Il perno coincide con il centro del mozzo, non con il riquadro dell'SVG. */
.format-symbol[data-motion="propeller"] { transform-origin: 49.909686% 58.163301%; }

.artist-photo-credits { grid-column: 1 / -1; font-size: 12px; line-height: 1.65; color: var(--navy); margin: 5px 0 0; max-width: 1100px; }
.artist-photo-credits summary { cursor: pointer; width: fit-content; border-bottom: 1px solid currentColor; }
.artist-photo-credits ul { padding-left: 18px; margin: 16px 0; }
.artist-photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
.artist-photo-credits p { margin: 10px 0 0; }
.photo-table .moment-card .photo-card-front img[data-artist="moodymann"] { object-position: 60% center; }
.photo-table .moment-card .photo-card-front img[data-artist="cosmo"] { object-position: 54% center; }
.photo-table .moment-card .photo-card-front img[data-artist="nicky-siano"] { object-position: 72% center; }
@media(max-width:720px) { .artist-photo-credits { margin: 10px 6% 0; } }

/* Titoli tracciati forniti nel foglio grafico, con testo accessibile nel DOM. */
.title-artwork { width: min(100%, var(--title-width,620px)); max-width: 100%; line-height: 0 !important; font-size: 0 !important; letter-spacing: normal !important; }
.title-artwork picture { display: block; width: 100%; }
.title-artwork .title-art { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.directions .direction h3.title-artwork { margin: 26px 0; }
.territory .location-strip .destination b.title-artwork { align-self: center; }
.title-artwork .sr-only { font-size: 16px; line-height: 1; }
@media(max-width:720px) {
 .hero h1.title-artwork { width: min(100%,340px); }
 .page-intro h1.title-artwork { width: min(100%,510px); }
 .title-artwork { width: min(100%,var(--title-width,620px)); }
 .directions .direction h3.title-artwork { margin: 23px 0; }
 .territory .location-strip .destination b.title-artwork { max-width: 230px; }
}

.project-preview .project-art-heading { min-height: 0; margin-bottom: 20px; }
.project-preview .project-art-heading > a.title-artwork { display: block; width: min(100%,var(--title-width,330px)); }
.project-preview .project-art-heading > a.title-artwork:hover { opacity: .78; }
.project-preview .project-art-heading > a.title-artwork:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; }

.project-preview .project-art-heading { width: calc(100% - 65px); max-width: none; }

.timeline .year h3.timeline-art-heading { width: min(100%,var(--title-width)); max-width: 100%; margin: 0; }
@media(max-width:720px) { .timeline .year h3.timeline-art-heading { max-width: min(100%,270px); } }

.timeline .year h3.timeline-art-heading { margin-bottom: 12px; }

.title-artwork.title-artwork--fallback { font-family: 'Red Hat Display',Arial,sans-serif; font-size: clamp(30px,4vw,60px) !important; line-height: 1.1 !important; }
.title-artwork--fallback picture { display: none; }
.title-artwork--fallback .sr-only { position: static; display: inline; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; font: inherit; }
.project-art-heading .title-artwork.title-artwork--fallback { font-size: 27px !important; }
@media(max-width:720px) { .hero .title-artwork.title-artwork--fallback { font-size: 38px !important; } }

/* Riferimenti editoriali leggibili e informazioni sul progetto. */
.project-facts { margin: 28px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.project-facts > div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-weight: 700; }.project-facts dd { margin: 0; }
.project-facts a,.data-note a { text-decoration: underline; text-underline-offset: 3px; }
.project-context { grid-column: 1; max-width: 760px; font-size: 14px; line-height: 1.65; margin: 22px 0 0; }
.project-context a { text-decoration: underline; text-underline-offset: 3px; }
.collaboration-answers { grid-column: 1 / -1; margin: 18px 0 10px; border-top: 1px solid var(--line); padding-top: 26px; }
.collaboration-answers > h3 { margin: 0 0 20px; font: 700 24px/1.2 'Red Hat Display',Arial,sans-serif; }
.collaboration-answers .project-details { margin-top: 0; }.collaboration-answers p { max-width: 850px; }
.footer-links { flex-wrap: wrap; gap: 10px 18px; }
@media(max-width:720px) { .project-facts > div { grid-template-columns: 90px minmax(0,1fr); gap: 12px; }.project-context { grid-column: 1 / -1; font-size: 13px; } }

.error-header { padding: 32px 7%; border-top: 3px solid var(--coral); border-bottom: 1px solid var(--line); background: var(--cream); }.error-header img { width: min(320px,80vw); height: auto; }.error-page { min-height: 65vh; padding: 85px 7%; background: var(--cream); }.error-page h1 { font-family: "Red Hat Display",Arial,sans-serif; font-size: clamp(40px,7vw,85px); font-weight: 600; line-height: 1.05; max-width: 900px; margin: 0 0 30px; }.error-page > p { max-width: 600px; }.error-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }.error-ticket { padding: 16px 27px; background: var(--navy); color: var(--cream); font-weight: 700; -webkit-mask: url("assets/brand/biglietto-nav-mask.svg") center / 100% 100% no-repeat; mask: url("assets/brand/biglietto-nav-mask.svg") center / 100% 100% no-repeat; }.error-ticket:hover { background: var(--coral); color: var(--navy); }.error-ticket:focus-visible { outline-offset: -5px; }
