/* =====================================================================
   Lam Factory — sito pubblico (bozza M4)
   Tema: "studio" scuro, pulito, con accento "meter" ambra.
   ===================================================================== */

:root {
  --bg: #0e0f12;
  --panel: #16181d;
  --panel-2: #1c1f26;
  --line: #262a33;
  --text: #e8eaf0;
  --muted: #9aa0ae;
  --accent: #f2a93b;
  --accent-2: #3aa0ff;
  --ok: #37d67a;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.muted { color: var(--muted); }
.accent { color: var(--accent); }
.link { color: var(--accent); text-decoration: underline; }

/* ------------ icona WhatsApp ------------ */
.wa-link { display: inline-flex; align-items: center; gap: 0.45em; }
.wa-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') center/contain no-repeat;
}
.tg-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.5-1.1-7-7.8-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.5-1.1-7-7.8-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"/></svg>') center/contain no-repeat;
}
.wa-badge, .tg-badge {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  line-height: 0;
  font-size: 0;
  text-decoration: none;
}
.wa-badge {
  background-color: #25d366;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') center/contain no-repeat;
}
.tg-badge {
  background-color: #229ed9;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.5-1.1-7-7.8-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.5-1.1-7-7.8-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"/></svg>') center/contain no-repeat;
}
.contact-block {
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
  max-width: 460px;
  margin: 0 auto;
}
.contact-block .contact-tel {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
}
.contact-block .contact-mail {
  text-align: center;
  color: var(--accent);
  text-decoration: underline;
  word-break: break-word;
}
.contact-block .contact-address {
  margin: 0;
  color: var(--muted);
  text-align: center;
}
.contact-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.35rem;
}
.contact-badges .wa-badge,
.contact-badges .tg-badge {
  width: 2.6rem;
  height: 2.6rem;
}

/* ------------ pulsanti ------------ */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a1408; }
.btn-ghost   { border-color: var(--line); color: var(--text); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn-play { min-width: 150px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ------------ indicatore ON AIR ------------ */
.pulse {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}
.pulse-live { background: var(--accent-2); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(55, 214, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0); }
}

/* ------------ header ------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { height: 42px; width: auto; }
.brand-name { font-weight: 800; letter-spacing: 0.06em; font-size: 1.05rem; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: #1a1408; background: var(--accent); }

.onair-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--ok);
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.onair-float-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}
.onair-float:hover { border-color: var(--ok); }
.onair-float.is-offair { color: var(--muted); }
.onair-float.is-offair .onair-float-dot { background: var(--muted); animation: none; }
.onair-float.is-offair:hover { color: var(--text); border-color: var(--muted); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 14px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .onair-float { left: 10px; bottom: 10px; padding: 0.45rem 0.85rem; font-size: 0.72rem; }
}

/* ------------ hero home ------------ */
.hero {
  padding: 70px 0 60px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(242, 169, 59, 0.14), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(58, 160, 255, 0.10), transparent 55%);
}
.hero-photo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -15%, rgba(242, 169, 59, 0.16), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(58, 160, 255, 0.10), transparent 55%),
    #0e0f12;
  border-bottom: 1px solid var(--line);
}
.hero-photo > .container { position: relative; z-index: 4; }
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06) brightness(0.88);
  animation: heroBreathe 26s ease-in-out infinite, heroZoom 52s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.hero-image {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06) brightness(0.88);
  animation: heroBreathe 26s ease-in-out infinite,
             heroKenBurns 46s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translateX(-1.6%); }
  to   { transform: scale(1.12) translateX(1.6%); }
}
@keyframes heroBreathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.075); }
}
.hero-glow {
  position: absolute; left: 52%; top: -18%; width: 82%; height: 68%;
  background: radial-gradient(ellipse at center, rgba(242, 169, 59, 0.22), transparent 65%);
  z-index: 1; pointer-events: none; mix-blend-mode: screen;
  animation: glowPulse 9s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23g)' opacity='0.6'/></svg>");
  animation: grainShift 0.9s steps(2) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 1px); }
  100% { transform: translate(2px, -1px); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(98deg, rgba(14, 15, 18, 0.94) 8%, rgba(14, 15, 18, 0.84) 46%, rgba(14, 15, 18, 0.6) 100%),
    radial-gradient(700px 380px at 10% 110%, rgba(58, 160, 255, 0.10), transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: 40px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  margin: 0 0 12px;
}
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; }
.hero-lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-logo { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 12px; }
.hero-card-label { color: var(--ok); font-weight: 700; letter-spacing: 0.1em; margin: 10px 0 4px; }
.hero-card-sub { color: var(--muted); margin: 0 0 16px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; }
}

/* ------------ sezioni / griglie ------------ */
.section { padding: 54px 0; }
.section-dark { background: #0a0b0d; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 26px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-head .section-title { margin-bottom: 26px; }

/* ------------ manifesto home ------------ */
.manifesto {
  padding: 64px 0 60px;
  background:
    radial-gradient(720px 360px at 88% 0%, rgba(242, 169, 59, 0.07), transparent 60%),
    radial-gradient(560px 300px at 6% 100%, rgba(58, 160, 255, 0.05), transparent 55%);
  border-bottom: 1px solid var(--line);
}
.manifesto-lead {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.22; font-weight: 600; margin: 0 0 26px; max-width: 900px;
}
.manifesto-text { max-width: 860px; line-height: 1.75; color: #c7cfd6; margin: 0 0 16px; }
.manifesto-sign {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: 0.04em;
}
.manifesto-sign strong { color: var(--accent); }

/* ------------ lo studio (banda fotografica) ------------ */
.studio-band {
  background:
    linear-gradient(110deg, rgba(14, 15, 18, 0.97) 12%, rgba(14, 15, 18, 0.72) 72%),
    url('/assets/img/studi/studio-hero.png') center / cover no-repeat;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.studio-band-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 64px 0; }
.studio-frase { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; margin: 0; }
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.studio-photo {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-photo.studio-uno { grid-column: 1 / -1; aspect-ratio: 16 / 7; margin: 0; }
.vetrina-window {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); aspect-ratio: 16 / 9;
}
.vetrina-window iframe { display: block; width: 100%; height: 100%; border: 0; }
.vetrina-caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 26px 18px 12px; font-size: 0.95rem; color: #ecedef;
  background: linear-gradient(transparent, rgba(10, 11, 14, 0.88));
  pointer-events: none;
}
.vetrina-testo {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 28px 30px; min-height: 100%;
}
.vetrina-testo h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.vetrina-testo .muted { margin: 0; }
.studio-gallery .studio-photo { position: relative; }
.studio-gallery .studio-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(120% 120% at 50% 44%, transparent 52%, rgba(0, 0, 0, 0.52) 94%),
    linear-gradient(165deg, rgba(6, 7, 9, 0.22), transparent 42%);
}
.studio-gallery .studio-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(242, 169, 59, 0.10);
  box-shadow: inset 0 0 0 1px rgba(242, 169, 59, 0.06), inset 0 0 46px rgba(0, 0, 0, 0.38);
  opacity: 0.85; transition: opacity 0.6s ease;
}
.studio-gallery .studio-photo:hover::before { opacity: 0; }
.studio-gallery .studio-photo img {
  opacity: 0.62; filter: saturate(1.04) contrast(1.04);
  transition: opacity 0.6s ease, transform 1.1s ease, filter 0.6s ease;
}
.studio-gallery .studio-photo:hover img { opacity: 1; transform: scale(1.05); filter: saturate(1.08) contrast(1.07); }
.studio-photo.studio-placeholder {
  display: grid; place-items: center;
  border-style: dashed; background: rgba(255, 255, 255, 0.02);
}
.coming {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; padding: 4px 10px;
}
@media (max-width: 820px) {
  .studio-band-inner { grid-template-columns: 1fr; padding: 48px 0; }
  .studio-grid { grid-template-columns: 1fr; }
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel h3 { margin: 0 0 8px; }

/* ------------ on-air strip ------------ */
.onair-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  background: linear-gradient(100deg, #1e1a10, var(--panel) 55%);
  border: 1px solid #3a3220;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.onair-info { display: flex; align-items: center; gap: 18px; }
.onair-logo { width: 58px; height: 58px; object-fit: contain; }
.onair-badge { color: var(--ok); font-weight: 700; letter-spacing: 0.1em; margin: 0 0 4px; }
.onair-program { margin: 0; color: var(--text); }
.onair-program strong { color: var(--accent); }

/* ------------ news card ------------ */
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
  margin: 0 0 28px;
}
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.news-thumb { position: relative; background: var(--panel-2); padding-top: 56.25%; }
.news-thumb img.news-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.news-cat {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--accent); color: #1a1408;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.news-body { padding: 16px 18px 20px; }
.news-date { color: var(--muted); font-size: 0.8rem; }
.news-body h3 { font-size: 1.05rem; line-height: 1.3; margin: 6px 0 8px; }
.news-excerpt { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.news-more { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ------------ hub cards ------------ */
.hub-card { display: block; transition: transform 0.15s ease; }
.hub-card:hover { transform: translateY(-3px); border-color: #3a3220; }
.hub-card h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.hub-powered { max-width: 640px; margin: 0 auto; text-align: center; }
.hub-more { color: var(--accent); font-weight: 700; }

/* ------------ contact teaser ------------ */
.contact-teaser { text-align: center; max-width: 640px; }

/* ------------ page hero interno ------------ */
.page-hero { padding: 52px 0 8px; }
.page-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0; }
.page-hero-titolo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.page-hero-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 12px;
}
.page-lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.breadcrumb { color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent); }

/* ------------ player radio ------------ */
.container-player { max-width: 860px; margin: 0 auto; }
.player {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(120deg, #17130c, var(--panel));
  border: 1px solid #3a3220;
  border-radius: var(--radius);
  padding: 26px 30px;
  flex-wrap: wrap;
}
.player-logo { width: 96px; height: 96px; object-fit: contain; }
.player-info { flex: 1; min-width: 220px; }
.player-program { margin: 4px 0 2px; font-size: 1.4rem; }
.player-ctrl { text-align: center; }
.player-note { color: var(--muted); font-size: 0.8rem; margin: 8px 0 0; }
.audio-player { width: 100%; min-width: 240px; }

/* ------------ brani trasmessi ------------ */
.tracks { display: flex; flex-direction: column; gap: 10px; }
.track {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 18px;
}
.track-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.track-info { flex: 1; display: flex; flex-direction: column; }
.track-info strong { font-size: 0.98rem; }
.track-time { color: var(--muted); font-size: 0.85rem; }
.track-cat { color: var(--muted); font-size: 0.82rem; }

/* ------------ live TV ------------ */
.tv-stage { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .tv-stage { grid-template-columns: 1fr; } }
.tv-frame {
  background: #000; border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
}
.tv-embed { width: 100%; height: 100%; border: 0; display: block; position: absolute; inset: 0; }
.tv-cta {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 20px;
  background:
    radial-gradient(620px 360px at 82% 8%, rgba(58, 160, 255, 0.16), transparent 60%),
    radial-gradient(520px 300px at 12% 100%, rgba(242, 169, 59, 0.12), transparent 55%);
  transition: background 0.25s ease;
}
.tv-cta:hover { background:
  radial-gradient(620px 360px at 82% 8%, rgba(58, 160, 255, 0.24), transparent 60%),
  radial-gradient(520px 300px at 12% 100%, rgba(242, 169, 59, 0.18), transparent 55%); }
.tv-cta-title {
  color: var(--text); font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 800; text-align: center; padding: 12px 22px;
  background: rgba(242, 169, 59, 0.1); border: 1px solid rgba(242, 169, 59, 0.5);
  border-radius: 999px;
}
.tv-cta:hover .tv-cta-title { background: var(--accent); color: #1a1408; }
.tv-live-overlay {
  position: absolute; top: 14px; left: 14px; z-index: 2;
}
.tv-titolo-user {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  color: #fff; font-size: 1.05rem; font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin: 0;
}
.tv-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #3a3f4a;
}
.tv-live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-2); font-weight: 800; letter-spacing: 0.24em;
  background: rgba(58, 160, 255, 0.08); border: 1px solid rgba(58, 160, 255, 0.35);
  padding: 8px 18px; border-radius: 999px;
}
.tv-caption { margin: 0; }

/* ------------ chips / filtri ------------ */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 1.05rem; font-size: 0.88rem; color: var(--muted); font-weight: 600;
}
.chip:hover { color: var(--text); border-color: #3f4553; }
.chip.is-on { background: var(--accent); color: #1a1408; border-color: var(--accent); }

/* ------------ articolo ------------ */
.article { max-width: 760px; }
.article .news-cat { position: static; display: inline-block; margin-bottom: 12px; }
.article-title { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.18; margin: 8px 0 10px; }
.article-meta { color: var(--muted); margin: 0 0 22px; }
.article-body p { margin: 0 0 16px; }
.article-body .lead { font-size: 1.1rem; color: var(--text); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--panel); margin: 22px 0;
  padding: 16px 20px; border-radius: 0 12px 12px 0;
  color: var(--text);
}
.article-content h2, .article-content h3, .article-content h4 {
  margin: 28px 0 10px; line-height: 1.25;
}
.article-content h2 { font-size: 1.35rem; }
.article-content h3 { font-size: 1.15rem; }
.article-content img {
  max-width: 100%; height: auto;
  border-radius: 12px; margin: 20px 0;
}
.article-content figure { margin: 20px 0; }
.article-content figure img { margin: 0; }
.article-content blockquote p { margin: 0; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-side { margin-top: 34px; }
.article-side .news-card { margin-bottom: 16px; }

/* ------------ form ------------ */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }

/* ------------ footer ------------ */
.site-footer { border-top: 1px solid var(--line); background: #0a0b0d; padding: 46px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 40px; width: auto; margin-bottom: 10px; }
.site-footer .footer-brand { margin-right: 0; }
.site-footer .footer-brand .brand-name { color: var(--text); }
.footer-tag { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { margin: 0 0 6px; font-size: 0.95rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-powered { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer-powered a { font-weight: 700; }
.footer-powered-link { color: var(--accent) !important; }
.footer-powered-link:hover { color: var(--accent); text-decoration: underline; }
.footer-col address { font-style: normal; color: var(--muted); font-size: 0.92rem; }
.footer-legal { color: #5b6270; font-size: 0.82rem; padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }

.list-note { margin-top: 26px; font-size: 0.9rem; }

/* =====================================================================
   Redazione /admin (M4) — console editoriale.
   ===================================================================== */
.admin-body { background: #0a0b0e; }
[hidden] { display: none !important; }

.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.admin-login-card {
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 14px;
}
.admin-login-logo { height: 48px; width: auto; }
.admin-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.admin-field input {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-size: 0.95rem;
}
.admin-field input:focus { outline: none; border-color: var(--accent); }
.admin-check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.admin-error { color: #ff6b6b; font-size: 0.9rem; margin: 0; }

.admin-shell { display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
  background: var(--panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  flex-wrap: wrap;
}
.admin-brand { font-weight: 700; letter-spacing: 0.04em; }
.admin-tabs { display: flex; gap: 4px; }
.admin-tab {
  background: none; border: none; color: var(--muted);
  padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.is-on { background: var(--panel-2); color: var(--accent); }
.admin-user { color: var(--muted); font-size: 0.9rem; margin-left: auto; }

.admin-main { padding: 24px 20px 40px; max-width: 1180px; width: 100%; margin: 0 auto; }
.admin-section-head { margin-bottom: 16px; }
.admin-section-head h2 { margin: 0; }

.admin-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 16px; }
.admin-counter { text-align: center; padding: 16px 10px; }
.admin-num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.admin-label { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-kpi { margin-bottom: 16px; }

.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.admin-toolbar select, .admin-toolbar input {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 0.9rem;
}
.admin-hint { color: var(--muted); font-size: 0.82rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table tbody tr:hover { background: var(--panel-2); }
.td-titolo { min-width: 320px; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge-nuova { background: rgba(58,160,255,.18); color: #7cc0ff; }
.badge-pronta { background: rgba(242,169,59,.18); color: var(--accent); }
.badge-pubblicata { background: rgba(55,214,122,.18); color: var(--ok); }
.badge-scartata { background: rgba(255,107,107,.18); color: #ff8f8f; }
.badge-archiviata { background: rgba(154,160,174,.18); color: var(--muted); }
.badge-attiva { background: rgba(55,214,122,.18); color: var(--ok); }
.badge-disattivata { background: rgba(154,160,174,.18); color: var(--muted); }
.badge-in_pausa { background: rgba(242,169,59,.18); color: var(--accent); }
.badge-errore { background: rgba(255,107,107,.18); color: #ff8f8f; }
.badge-locale { background: rgba(8,127,91,.2); color: #3ddc97; }
.badge-italia { background: rgba(25,118,210,.2); color: #7cc0ff; }
.badge-mondo { background: rgba(112,72,232,.2); color: #b39dff; }

.admin-detail {
  position: fixed; inset: 64px 0 0 auto; width: 520px; max-width: 94vw;
  background: var(--panel); border-left: 1px solid var(--line);
  overflow-y: auto; z-index: 50; padding: 20px;
}
.admin-detail-inner { display: flex; flex-direction: column; gap: 16px; }
.admin-detail-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.admin-detail-head h3 { margin: 0; font-size: 1.05rem; }
.admin-detail-ai { background: var(--panel-2); border-radius: 10px; padding: 12px; }
.admin-detail-ai h4, .admin-detail-storico h4 { margin: 0 0 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.admin-log { display: flex; flex-direction: column; gap: 8px; }
.admin-log-row { border-left: 2px solid var(--line); padding-left: 10px; }
.admin-detail-form { display: flex; flex-direction: column; gap: 10px; }
.admin-detail-azioni { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

@media (max-width: 700px) {
  .admin-detail { inset: 0 0 0 auto; }
  .admin-topbar { gap: 10px; }
}

/* =====================================================================
   Avatar + Player vocale (ascolta la notizia)
   ===================================================================== */
.voice-player {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(100deg, #0f141a, var(--panel) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.avatar {
  width: 72px; height: 72px; flex: 0 0 72px;
  border-radius: 50%; overflow: hidden;
  background: #1b2c3a;
  box-shadow: 0 0 0 3px rgba(242,169,59,.2);
}
.avatar-face { width: 100%; height: 100%; }

.avatar-mouth {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.1s ease;
}
.is-parlando .avatar-mouth {
  animation: parla 0.28s ease-in-out infinite alternate;
}
.is-parlando .avatar {
  box-shadow: 0 0 0 3px rgba(242,169,59,.55);
}

@keyframes parla {
  0%   { transform: scaleY(0.55) scaleX(1.1); }
  100% { transform: scaleY(1.4)  scaleX(0.85); }
}

.voice-controls { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.voice-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #1a1408;
  border: none; border-radius: 999px;
  padding: 7px 18px; font: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer; transition: transform 0.12s ease, opacity 0.12s ease;
  align-self: flex-start;
}
.voice-btn:hover { transform: translateY(-1px); }
.voice-btn:active { transform: scale(0.98); }
.voice-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.voice-icon { font-size: 1rem; line-height: 1; }
.voice-status { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 520px) {
  .voice-player { flex-direction: column; text-align: center; }
  .voice-btn { align-self: center; }
  .avatar { width: 64px; height: 64px; flex: 0 0 64px; }
}

/* ------------------------------------------------------------------
   Chat ascoltatori (radio) — widget
   ------------------------------------------------------------------ */
.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}
.chat-aside { min-width: 0; }
.chat-head { margin-bottom: 2px; }
.chat-title { margin: 0; }
.chat-widget {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 820px;
}
.chat-aside .chat-widget, .tv-chat-panel .chat-widget { max-width: none; }
.tv-chat-panel { min-width: 0; }
@media (max-width: 900px) {
  .media-row { grid-template-columns: 1fr; }
}
.chat-toolbar { display: flex; gap: 10px; }
.chat-nicklabel {
  display: flex; flex-direction: column; gap: 4px;
  color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.chat-nick {
  width: 220px; max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); color: var(--text);
  font: inherit;
}
.chat-msgs {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 340px; overflow-y: auto;
  padding: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 12px;
}
.chat-msg {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.95rem;
}
.chat-msg-nick { color: var(--accent); font-weight: 700; }
.chat-msg-text { flex: 1; min-width: 160px; }
.chat-msg-time { color: var(--muted); font-size: 0.75rem; }
.chat-form { display: flex; gap: 10px; }
.chat-input {
  flex: 1; min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel-2); color: var(--text);
  font: inherit;
}
.chat-input:focus, .chat-nick:focus { outline: none; border-color: var(--accent); }
.chat-note { margin: 0; color: #ffb86b; font-size: 0.85rem; }
.chat-empty { color: var(--muted); font-size: 0.9rem; font-style: italic; padding: 8px 2px; }
@media (max-width: 520px) {
  .chat-form { flex-direction: column; }
  .chat-nick { width: 100%; }
}

/* ------------------------------------------------------------------
   Stati "in onda ora" / "fuori onda" (radio e TV)
   ------------------------------------------------------------------ */
.onair-badge.is-off,
.hero-card-label.is-off,
.tv-live-badge.is-off {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.player.is-offair {
  border-color: var(--line);
  background: linear-gradient(120deg, #14161b, var(--panel));
}
.is-offair-btn { filter: grayscale(0.6); }
.tv-titolo {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0;
  text-align: center;
  max-width: 560px;
}
.tv-placeholder.tv-onair { color: var(--text); gap: 10px; }

/* ------------------------------------------------------------------
   Galleria "Lavori in studio" — foto e video dallo studio (anni di lavoro)
   ------------------------------------------------------------------ */
.galleria-vuota {
  max-width: 560px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
}

.gif-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gif-thumb {
  margin: 0;
  border: 3px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #0c0e12;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  animation: gif-pop 0.5s ease both;
  animation-delay: calc(var(--i, 1) * 45ms);
}
.gif-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gif-thumb:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(242, 169, 59, 0.25);
}
@keyframes gif-pop {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lavori-grid {
  margin-top: 28px;
  columns: 3 260px;
  column-gap: 14px;
}

.lavoro-card {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  break-inside: avoid;
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lavoro-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.85) contrast(1.02);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.lavoro-card:hover img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.03);
}

.lavoro-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 169, 59, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lavoro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.lavoro-card:hover .lavoro-overlay { background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.18) 100%); }

.lavoro-play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(242, 169, 59, 0.92);
  color: #101218;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.lavoro-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.lavoro-anno {
  flex: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #101218;
  border-radius: 999px;
  padding: 2px 9px;
}

/* Lightbox della galleria */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(8, 9, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.is-lightbox-open { overflow: hidden; }

.lightbox-card {
  position: relative;
  max-width: min(1080px, 92vw);
  max-height: 92vh;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0f13;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-card video,
.lightbox-card img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 48px 12px 16px;
  color: var(--text);
  font-weight: 700;
}

.lightbox-title { font-size: 1rem; }

.lightbox-anno {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #101218;
  border-radius: 999px;
  padding: 2px 9px;
}

.lightbox-esterno {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.lightbox-esterno:hover { color: var(--accent); }

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 18, 24, 0.85);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
}

.lightbox-close:hover { color: var(--accent); border-color: rgba(242, 169, 59, 0.5); }

@media (max-width: 720px) {
  .lightbox { padding: 12px; }
  .lightbox-card video, .lightbox-card img { max-height: 62vh; }
  .lightbox-esterno { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------------
   Servizi dello studio — riquadri con icona (al posto della descrizione)
   ------------------------------------------------------------------ */
.servizio-panel {
  text-align: center;
  padding: 34px 22px 32px;
}

.servizio-icona {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--accent);
  border: 1px solid rgba(242, 169, 59, 0.28);
  background:
    radial-gradient(circle at 30% 22%, rgba(242, 169, 59, 0.18), rgba(242, 169, 59, 0.03) 70%),
    #101218;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.servizio-icona svg {
  width: 32px;
  height: 32px;
}

.servizio-panel:hover .servizio-icona {
  transform: translateY(-3px);
  color: #ffc46b;
  border-color: rgba(242, 169, 59, 0.55);
}

/* ------------------------------------------------------------------
   Pagina Eventi & Live — card evento + mini-calendario
   ------------------------------------------------------------------ */
.eventi-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.evento-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.evento-card:hover { border-color: rgba(242, 169, 59, 0.45); }

.evento-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #0d0f13;
}

.evento-body {
  padding: 16px 18px 20px;
  display: flex;
  gap: 14px;
  flex: 1;
}

.evento-badge {
  flex: none;
  width: 58px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(242, 169, 59, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 169, 59, 0.2), rgba(242, 169, 59, 0.03) 70%),
    #101218;
  text-align: center;
  padding-top: 8px;
  align-self: flex-start;
}

.evento-badge-giorno {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.evento-badge-mese {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.evento-info { flex: 1; min-width: 0; }

.evento-titolo {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.evento-meta {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.evento-desc { margin: 0 0 12px; }

.eventi-grid-compatta .evento-body { padding: 12px 16px; }

/* Mini calendario dei prossimi mesi */
.calendari {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.calendario-mese {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.calendario-titolo {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: capitalize;
  color: var(--text);
}

.calendario-griglia {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-giorno {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.cal-intesta {
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cal-giorno.is-voce { background: transparent; }

.cal-giorno.has-evento {
  background: rgba(242, 169, 59, 0.16);
  color: var(--accent);
  font-weight: 800;
  border: 1px solid rgba(242, 169, 59, 0.5);
}

.calendario-legenda {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
/* =====================================================================
   SPECIALE "FORNACI — Art & Work's Experience"
   Presenza costante fuori dal menu (pill in header + link in footer).
   Palette in contrapposto al tema studio: "ferro" scuro + "carta" calda.
   ===================================================================== */

.sp-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px dashed var(--rust, #d6553a);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #e3a98b;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.sp-pill:hover { color: #fff; background: rgba(214, 85, 58, 0.14); border-color: #ee8a63; }

.sp-footlink { color: #e3a98b; }

:root {
  --sp-rust: #d6553a;
  --sp-rust-hi: #ee8a63;
  --sp-iron: #171d24;
  --sp-iron-2: #12161b;
  --sp-ink: #191309;
  --sp-paper: #f3ecdd;
  --sp-paper-2: #ede2ca;
}

/* --- hero --- */
.sp-hero {
  position: relative; overflow: hidden;
  padding: 86px 0 78px;
  background:
    radial-gradient(820px 420px at 85% -20%, rgba(214, 85, 58, 0.22), transparent 60%),
    radial-gradient(620px 360px at -5% 115%, rgba(58, 160, 255, 0.08), transparent 55%),
    var(--sp-iron);
  border-bottom: 1px solid rgba(238, 138, 99, 0.28);
}
.sp-hero-ink {
  position: absolute; inset: auto 0 auto auto;
  transform: translate(2%, 0);
  font-size: clamp(7rem, 24vw, 21rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 138, 99, 0.2);
  user-select: none; pointer-events: none;
  white-space: nowrap;
}
.sp-hero-inner { position: relative; z-index: 2; }
.sp-kicker {
  text-transform: uppercase; letter-spacing: 0.32em;
  font-size: 0.72rem; font-weight: 700;
  color: var(--sp-rust-hi); margin: 0 0 18px;
}
.sp-title {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 900; line-height: 1.04; letter-spacing: 0.01em;
  margin: 0 0 22px; max-width: 16ch;
}
.sp-title span { color: var(--sp-rust); display: block; }
.sp-lead { max-width: 64ch; color: #cdd0cf; font-size: 1.12rem; }

/* --- bande --- */
.sp-band { padding: 68px 0 74px; }
.sp-band--iron {
  background:
    radial-gradient(720px 360px at 88% 0%, rgba(214, 85, 58, 0.08), transparent 60%),
    var(--sp-iron);
  color: #e6e1d3;
  border-top: 1px solid var(--line);
}
.sp-band--iron + .sp-band--iron {
  background:
    radial-gradient(720px 360px at 6% 0%, rgba(214, 85, 58, 0.08), transparent 60%),
    var(--sp-iron-2);
}
.sp-band--paper {
  background:
    radial-gradient(720px 360px at 92% 10%, rgba(214, 85, 58, 0.08), transparent 60%),
    var(--sp-paper);
  color: var(--sp-ink);
  border-top: 1px solid rgba(25, 19, 9, 0.16);
}
.sp-band--close { border-top: 1px solid rgba(238, 138, 99, 0.28); }
.sp-band--close .container { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* --- colonne editoreali --- */
.sp-cols { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.sp-h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800; line-height: 1.12; margin: 0 0 20px;
}
.sp-col-b { color: inherit; }
.sp-paragraph { line-height: 1.78; margin: 0 0 18px; max-width: 68ch; }
.sp-band--iron .sp-paragraph { color: #c9c7bd; }
.sp-rule {
  width: 56px; height: 4px; margin: 26px 0 0;
  background: var(--sp-rust);
}
.sp-rule--rust { background: var(--sp-ink); }
.sp-keywords {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.sp-keywords span {
  border: 1px solid rgba(238, 138, 99, 0.45);
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sp-rust-hi);
}
.sp-quote {
  margin: 52px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35; color: #f2ece0; max-width: 26ch;
}
.sp-band--paper .sp-quote { color: var(--sp-ink); }

/* --- griglia esperienze --- */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.sp-card {
  border-top: 3px solid var(--sp-ink);
  padding: 22px 6px 6px;
  display: flex; flex-direction: column; gap: 10px;
}
.sp-num {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em;
  color: var(--sp-rust); border-left: 3px solid var(--sp-rust);
  padding-left: 8px;
}
.sp-card h3 { margin: 0; font-size: 1.18rem; font-weight: 800; letter-spacing: 0.01em; }
.sp-card p { margin: 0; color: #4d4433; line-height: 1.7; font-size: 0.96rem; }
.sp-more {
  margin-top: 8px; color: var(--sp-rust); font-weight: 700; font-size: 0.9rem;
}
.sp-more:hover { text-decoration: underline; }

/* --- voci dal territorio --- */
.sp-news-sep {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: #918d83;
  margin: 8px 0 2px;
}
.sp-news-sep:first-child { margin-top: 0; }
.sp-news-item--luogo { border-left: 3px solid var(--sp-rust); padding-left: 12px; }
.sp-news-item {
  display: block; padding: 16px 2px 14px;
  border-bottom: 1px solid rgba(238, 138, 99, 0.22);
  transition: padding-left 0.15s ease;
}
.sp-news-item:hover { padding-left: 8px; }
.sp-news-cat {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sp-rust-hi); margin-bottom: 6px;
}
.sp-news-title { display: block; font-weight: 700; line-height: 1.4; }
.sp-news-date { display: block; font-size: 0.82rem; color: #9a978d; margin-top: 6px; }

/* --- pulsanti e note --- */
.sp-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(238, 138, 99, 0.5);
  font-weight: 800; letter-spacing: 0.04em;
  color: var(--sp-rust-hi);
  transition: background 0.15s ease, color 0.15s ease;
}
.sp-btn:hover { background: rgba(238, 138, 99, 0.14); color: #fff; }
.sp-btn--rust { background: var(--sp-rust); border-color: var(--sp-rust); color: #fff; }
.sp-btn--rust:hover { background: var(--sp-rust-hi); color: #171d24; }
.sp-band--paper .sp-btn { color: var(--sp-rust); border-color: var(--sp-rust); }
.sp-band--paper .sp-btn:hover { background: var(--sp-rust); color: #fff; }
.sp-band--paper .sp-btn--rust { background: var(--sp-rust); color: #fff; }
.sp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.sp-note { font-size: 0.88rem; color: #4d4433; margin-top: 18px; }

@media (max-width: 860px) {
  .sp-cols { grid-template-columns: 1fr; gap: 22px; }
  .sp-band { padding: 52px 0 58px; }
  .sp-hero { padding: 60px 0 56px; }
}

/* =====================================================================
   Ottimizzazioni mobile/tablet (senza cambiare la grafica)
   ===================================================================== */
@media (max-width: 820px) {
  .container { padding: 0 16px; }
  .hero { padding: 46px 0 40px; }
  .section { padding: 42px 0; }
  .manifesto { padding: 46px 0 42px; }
  .page-hero { padding: 34px 0 8px; }
  .player { padding: 20px; gap: 16px; }
  .onair-strip { padding: 18px 16px; }
  .hero-card { padding: 22px; }
  .hero-card-label { text-align: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .player { justify-content: center; text-align: center; }
  .player-info { min-width: 0; }
  .player-logo { width: 76px; height: 76px; }
  .player-program { font-size: 1.2rem; }
  .player-ctrl .btn { width: 100%; }
  .onair-info { align-items: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tv-cta-title { font-size: 1rem; padding: 10px 16px; }
  .tv-titulo-user { font-size: 0.95rem; }
}
