cat > /var/www/vhosts/mariomacaluso.net/festival.mariomacaluso.net/assets/css/main.css << 'EOF'
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500&display=swap');

:root {
  --gold: #d4a843;
  --terra: #c45c2a;
  --sea: #1a6b8a;
  --night: #2c1406;
  --night2: #3a1a08;
  --night3: #4a2210;
  --card: #331508;
  --gray-border: #1a0a03;
  --text-main: #f5e6d0;
  --text-sec: #d4b896;
  --text-muted: #a07850;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, sans-serif;
  --max: 1300px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--gray-border); color: var(--text-main); font-family: var(--sans); font-weight: 300; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

.outer { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 1fr var(--max) 1fr; background: var(--gray-border); min-height: 100vh; }
.outer > .side { background: var(--gray-border); }
.site { background: var(--night); width: var(--max); overflow: hidden; }

.nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: var(--max); display: flex; align-items: center; justify-content: center; padding: 1.5rem 2.5rem; gap: 2.5rem; z-index: 100; background: linear-gradient(to bottom, rgba(26,10,3,.7) 0%, transparent 100%); }
.nav a { font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(245,230,208,.7); transition: color .25s; }
.nav a:hover { color: var(--gold); }
.nav-date { position: absolute; right: 2.5rem; font-size: 9px; letter-spacing: 1.5px; color: rgba(245,230,208,.3); text-transform: uppercase; }

.hero { position: relative; height: 92vh; min-height: 640px; max-height: 900px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url('../img/foto1.jpg') center 30% / cover no-repeat; transform: scale(1.04); transition: transform 8s ease-out; }
.hero-photo.loaded { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,10,3,.35) 0%, rgba(26,10,3,.0) 20%, rgba(26,10,3,.0) 50%, rgba(44,20,6,.8) 78%, rgba(44,20,6,1) 100%); }

.hero-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem 2rem; }
.hero-eyebrow { font-family: var(--sans); font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: rgba(212,168,67,.9); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 14px; opacity: 0; animation: fadeUp .8s .3s forwards; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 40px; height: 1px; background: rgba(212,168,67,.5); }
.hero-title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(4rem, 10vw, 9rem); color: #fff; line-height: .9; letter-spacing: -3px; text-shadow: 0 2px 60px rgba(0,0,0,.5); margin-bottom: .2rem; opacity: 0; animation: fadeUp .9s .5s forwards; }
.hero-title .gold { color: var(--gold); font-style: normal; font-weight: 600; }
.hero-sub { font-family: var(--sans); font-size: clamp(.85rem, 2vw, 1.2rem); letter-spacing: 8px; text-transform: uppercase; color: rgba(245,230,208,.75); margin-bottom: .6rem; opacity: 0; animation: fadeUp .9s .7s forwards; }
.hero-edition { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(212,168,67,.85); letter-spacing: 2px; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp .9s .85s forwards; }
.hero-btns { display: flex; align-items: center; gap: 1.75rem; opacity: 0; animation: fadeUp .9s 1s forwards; }
.btn-gold { border: 1px solid rgba(212,168,67,.7); color: var(--gold); padding: 12px 32px; font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; background: rgba(0,0,0,.2); backdrop-filter: blur(6px); cursor: pointer; transition: all .3s; }
.btn-gold:hover { background: var(--gold); color: var(--night); }
.btn-ghost { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,230,208,.55); cursor: pointer; transition: color .25s; }
.btn-ghost:hover { color: rgba(245,230,208,.9); }
.scroll-hint { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 10; opacity: 0; animation: fadeIn 1s 1.5s forwards; }
.scroll-hint span { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: rgba(245,230,208,.3); }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(212,168,67,.7), transparent); animation: scrollpulse 2s ease-in-out infinite; }

.catstrip { display: flex; border-bottom: 1px solid rgba(212,168,67,.15); overflow-x: auto; scrollbar-width: none; background: var(--night2); position: relative; }
.catstrip::-webkit-scrollbar { display: none; }
.catstrip a { padding: 11px 18px; font-family: var(--sans); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; }
.catstrip a:hover, .catstrip a.active { color: var(--gold); border-bottom-color: var(--gold); }

.news-main { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid rgba(212,168,67,.1); }
.news-col { border-right: 1px solid rgba(212,168,67,.1); padding: 2rem 1.75rem; cursor: pointer; transition: background .2s; background: var(--night); }
.news-col:last-child { border-right: none; }
.news-col:hover { background: var(--card); }
.news-img { height: 145px; background: var(--night3); margin-bottom: 1.25rem; overflow: hidden; position: relative; }
.news-img img { height: 100%; transition: transform .4s; }
.news-col:hover .news-img img { transform: scale(1.04); }
.news-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 8px; color: var(--text-muted); letter-spacing: 2px; }
.news-col:nth-child(1) .news-img { border-bottom: 2px solid var(--gold); }
.news-col:nth-child(2) .news-img { border-bottom: 2px solid var(--terra); }
.news-col:nth-child(3) .news-img { border-bottom: 2px solid var(--sea); }
.news-cat { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.news-col:nth-child(1) .news-cat { color: var(--gold); }
.news-col:nth-child(2) .news-cat { color: var(--terra); }
.news-col:nth-child(3) .news-cat { color: var(--sea); }
.news-title { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-main); line-height: 1.28; margin-bottom: .6rem; transition: color .2s; }
.news-col:hover .news-title { color: #fff; }
.news-desc { font-family: var(--sans); font-size: 13px; color: var(--text-sec); line-height: 1.8; margin-bottom: .75rem; }
.news-meta { font-family: var(--sans); font-size: 9px; color: var(--text-muted); letter-spacing: 1px; }

.featured { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(212,168,67,.1); min-height: 400px; }
.feat-img { position: relative; overflow: hidden; background: var(--night2); display: flex; align-items: center; justify-content: center; }
.feat-img img { position: absolute; inset: 0; height: 100%; }
.feat-img-ph { font-family: var(--sans); font-size: 9px; color: var(--text-muted); letter-spacing: 2px; position: relative; z-index: 1; }
.film-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 22px; background: rgba(0,0,0,.4); display: flex; flex-direction: column; justify-content: space-around; padding: 8px 4px; z-index: 2; }
.fhole { width: 14px; height: 9px; background: rgba(245,230,208,.07); border-radius: 2px; }
.feat-text { padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(212,168,67,.1); background: var(--card); }
.feat-cat { display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.feat-cat-line { width: 24px; height: 1px; background: var(--terra); }
.feat-cat span { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--terra); }
.feat-title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--text-main); line-height: 1.2; margin-bottom: 1rem; letter-spacing: -.3px; }
.feat-title em { color: var(--gold); font-style: italic; }
.feat-desc { font-family: var(--sans); font-size: 13px; color: var(--text-sec); line-height: 1.85; margin-bottom: 1.5rem; }
.feat-meta { font-family: var(--sans); font-size: 9px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 1.25rem; }
.feat-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); cursor: pointer; border-bottom: 1px solid rgba(212,168,67,.35); padding-bottom: 3px; width: fit-content; transition: gap .2s; }
.feat-cta:hover { gap: 16px; }

.news-duo { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(212,168,67,.1); }
.news-duo .news-col { border-right: 1px solid rgba(212,168,67,.1); }
.news-duo .news-col:last-child { border-right: none; }
.news-duo .news-img { height: 165px; }
.news-duo .news-col:nth-child(1) .news-img { border-bottom: 2px solid var(--gold); }
.news-duo .news-col:nth-child(2) .news-img { border-bottom: 2px solid var(--sea); }
.news-duo .news-col:nth-child(1) .news-cat { color: var(--gold); }
.news-duo .news-col:nth-child(2) .news-cat { color: var(--sea); }

.premi { padding: 4rem 2.5rem; border-bottom: 1px solid rgba(212,168,67,.1); position: relative; overflow: hidden; background: var(--night2); }
.premi::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(212,168,67,.06), transparent 65%); pointer-events: none; }
.sec-header { text-align: center; margin-bottom: 3rem; }
.sec-ey { font-family: var(--sans); font-size: 9px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: .6rem; }
.sec-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--text-main); letter-spacing: -1px; }
.premi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(212,168,67,.1); }
.pm { background: var(--night); padding: 2rem 1.5rem; cursor: pointer; transition: all .3s; position: relative; overflow: hidden; }
.pm::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.pm:nth-child(1)::before { background: linear-gradient(135deg, rgba(196,92,42,.12), transparent); }
.pm:nth-child(2)::before { background: linear-gradient(135deg, rgba(212,168,67,.12), transparent); }
.pm:nth-child(3)::before { background: linear-gradient(135deg, rgba(26,107,138,.12), transparent); }
.pm:nth-child(4)::before { background: linear-gradient(135deg, rgba(212,168,67,.08), rgba(26,107,138,.08)); }
.pm:hover { transform: translateY(-2px); }
.pm:hover::before { opacity: 1; }
.pm-tb { position: absolute; top: 0; left: 0; right: 0; height: 2px; transform: scaleX(0); transition: transform .35s; transform-origin: left; }
.pm:nth-child(1) .pm-tb { background: var(--terra); }
.pm:nth-child(2) .pm-tb { background: var(--gold); }
.pm:nth-child(3) .pm-tb { background: var(--sea); }
.pm:nth-child(4) .pm-tb { background: linear-gradient(90deg, var(--terra), var(--gold)); }
.pm:hover .pm-tb { transform: scaleX(1); }
.pm-n { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 1rem; }
.pm-icon { font-size: 1.3rem; margin-bottom: .6rem; display: block; }
.pm h3 { font-family: var(--serif); font-size: 1rem; color: var(--text-main); line-height: 1.3; margin-bottom: .5rem; }
.pm p { font-family: var(--sans); font-size: 12px; color: var(--text-sec); line-height: 1.7; }
.pm-yr { font-family: var(--sans); font-size: 9px; color: var(--text-muted); margin-top: .9rem; letter-spacing: 1px; }

.photo-finale { position: relative; height: 460px; overflow: hidden; }
.photo-finale-img { position: absolute; inset: 0; background: url('../img/foto2.jpg') center 45% / cover no-repeat; }
.photo-finale-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(44,20,6,1) 0%, rgba(44,20,6,.1) 20%, rgba(44,20,6,.1) 78%, rgba(44,20,6,1) 100%); }
.photo-finale-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.pf-label { font-family: var(--sans); font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: rgba(212,168,67,.85); margin-bottom: .75rem; }
.pf-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.2rem); color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.6); line-height: 1.15; }
.pf-title b { color: var(--gold); font-style: normal; font-weight: 600; }

.stampa { padding: 4rem 2.5rem; border-bottom: 1px solid rgba(212,168,67,.1); position: relative; overflow: hidden; background: var(--night2); }
.stampa::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 50%, rgba(196,92,42,.07), transparent 55%); pointer-events: none; }
.stampa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(212,168,67,.1); }
.sc { background: var(--night); padding: 1.75rem; cursor: pointer; transition: background .2s; position: relative; }
.sc:hover { background: var(--card); }
.sc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--terra); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.sc:hover::before { transform: scaleX(1); }
.sc-src { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--terra); margin-bottom: .85rem; font-weight: 500; }
.sc h4 { font-family: var(--serif); font-size: .95rem; color: var(--text-sec); line-height: 1.6; margin-bottom: 1.2rem; }
.sc:hover h4 { color: var(--text-main); }
.sc-ft { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 9px; color: var(--text-muted); border-top: 1px solid rgba(212,168,67,.1); padding-top: .75rem; }
.sc-ft a { color: var(--gold); }

.ft { background: #110600; padding: 3rem 2.5rem 2rem; border-top: 1px solid rgba(212,168,67,.15); position: relative; }
.ft::before { content: ''; position: absolute; top: 0; left: 2.5rem; right: 2.5rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,168,67,.4), transparent); }
.ft-logo { text-align: center; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(212,168,67,.1); }
.ft-logo-text { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.4rem; color: var(--text-sec); letter-spacing: 1px; }
.ft-logo-text b { color: var(--gold); font-weight: 400; }
.ft-g { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.ft h4 { font-family: var(--sans); font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.ft p, .ft a { font-family: var(--sans); font-size: 12px; color: var(--text-sec); line-height: 2.3; display: block; }
.ft a:hover { color: var(--gold); }
.ft-bot { border-top: 1px solid rgba(212,168,67,.08); padding-top: 1.25rem; font-family: var(--sans); font-size: 9px; color: var(--text-muted); display: flex; justify-content: space-between; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollpulse { 0% { transform: scaleY(0); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); transform-origin: top; opacity: 1; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: .3; } }

@media (max-width: 1340px) { .outer { grid-template-columns: 0 1fr 0; } .site { width: 100%; } .nav { width: 100%; } }
@media (max-width: 900px) { .news-main { grid-template-columns: 1fr; } .featured { grid-template-columns: 1fr; } .feat-img { height: 260px; } .news-duo { grid-template-columns: 1fr; } .premi-grid { grid-template-columns: 1fr 1fr; } .stampa-grid { grid-template-columns: 1fr 1fr; } .ft-g { grid-template-columns: 1fr 1fr; } .nav a:nth-child(n+5) { display: none; } }
@media (max-width: 600px) { .premi-grid { grid-template-columns: 1fr 1fr; } .stampa-grid { grid-template-columns: 1fr; } }
EOF