:root {
  --bg: #f4f3ef;
  --card: #ffffff;
  --ink: #253629;
  --muted: #757a70;
  --accent: #f05c3d;
  --accent-dark: #cf4527;
  --green: #739277;
  --line: #e2e3da;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

:focus-visible { outline: 3px solid #f5a48f; outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 2rem;
  background: rgba(244, 243, 239, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--ink);
  text-decoration: none;
}

.brand-light { font-weight: 600; }

.brand-mark { display: block; flex: none; }

.nav-link {
  margin-left: .5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem 1.1rem;
  transition: border-color .15s, color .15s;
}

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

.tagline { color: var(--muted); font-size: .85rem; margin-left: auto; }

.container { max-width: 940px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* Cards & shared */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px #2536290f;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4rem; }
h2 a, h3 a { color: inherit; text-decoration: none; }
h2 a:hover, h3 a:hover { color: var(--accent); }

.meta { color: var(--muted); font-size: .82rem; margin: 0 0 .6rem; }
.desc { margin: 0 0 .9rem; }

.chip {
  display: inline-block;
  background: #eef0e8;
  border: 1px solid var(--line);
  color: #5c6355;
  border-radius: 999px;
  padding: .18rem .62rem;
  font-size: .74rem;
  margin: 0 .4rem .35rem 0;
  white-space: nowrap;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: .85rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero */
.hero h1 { font-size: 2rem; letter-spacing: -.6px; }
.hero p { color: var(--muted); max-width: 62ch; }

/* Shows */
.shows { display: grid; gap: 1.25rem; margin-top: 1.5rem; }

.show-card {
  display: flex;
  gap: 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 1px 2px #2536290f;
  transition: transform .18s ease, box-shadow .18s ease;
}

.show-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px #2536291a; }

.show-card .cover {
  width: 118px; height: 118px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}

.cover-placeholder {
  width: 118px; height: 118px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(135deg, var(--accent), #f4a58f);
}

.show-body { flex: 1; min-width: 0; }
.show-body h2 { font-size: 1.35rem; }

/* Show header */
.show-header {
  display: flex;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 2px #2536290f;
}

.show-header .cover {
  width: 168px; height: 168px;
  object-fit: cover;
  border-radius: 14px;
  flex: none;
}

.show-header h1 { letter-spacing: -.7px; }

/* Player & links */
.player { margin: .9rem 0; max-width: 640px; border-radius: 10px; overflow: hidden; }
.player iframe { display: block; border: 0; }

/* Episodes */
.episodes { margin-top: 2rem; }

.episode-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px #2536290f;
  transition: transform .18s ease, box-shadow .18s ease;
}

.episode-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px #25362914; }

.episode-top { display: flex; gap: 1rem; align-items: flex-start; }
.episode-top-body { min-width: 0; }
.episode-card h3 { font-size: 1.12rem; }

.episode-thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}

.episode {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 2px #2536290f;
}
.episode h1 { letter-spacing: -.7px; }

.hint { color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding: 1.25rem 2rem;
  color: var(--muted);
  font-size: .82rem;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-brand .brand-light { font-weight: 600; }

/* Landing */
.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: 3.5rem 0 2rem;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, #fbe6dd 0%, transparent 65%);
}

.landing-hero .brand-mark { filter: drop-shadow(0 12px 26px #f05c3d4d); margin-bottom: .75rem; }

.landing-hero .kicker {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0;
}

.landing-hero h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); letter-spacing: -1.7px; font-weight: 800; margin: .35rem 0; }
.landing-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px #f05c3d40;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px #f05c3d59; }

/* Contattaci */
.contact .lead { font-size: 1.05rem; line-height: 1.6; max-width: 58ch; margin: .5rem 0 1.1rem; }
.contact form { max-width: 640px; }
.contact label { display: block; font-weight: 650; font-size: .95rem; margin: 1.05rem 0 .3rem; }
.contact label small { color: var(--muted); font-weight: 450; }
.contact input, .contact textarea {
  display: block;
  width: 100%;
  margin-top: .3rem;
  border: 1px solid #dce0d4;
  border-radius: 10px;
  background: #fdfdf9;
  padding: .8rem .9rem;
  font: inherit;
  font-size: .95rem;
  line-height: 1.5;
}
.contact textarea { resize: vertical; }
.contact button.cta { margin-top: 1.3rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.notice.ok { background: #eef6e6; border: 1px solid #bcd4a8; color: #3f6a2f; border-radius: var(--radius); padding: 1rem 1.25rem; font-weight: 600; }


/* Sections */
.section { margin: 3rem 0; }
.section h2 { font-size: 1.7rem; letter-spacing: -.5px; margin-bottom: .75rem; }
.section > p { max-width: 70ch; }

.transparency {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 1px 2px #2536290f;
}
.transparency p { margin-top: 0; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }

.stat {
  background: var(--ink);
  color: #eef1e6;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-align: center;
}
.stat-value { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; color: #f5a48f; }
.stat-label { color: #b3bda8; font-size: .85rem; }

.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #253629, #3d5b46);
  color: #eef1e6;
  border-radius: var(--radius);
  padding: 2.75rem 1.5rem;
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 58ch; margin: .4rem auto 1.5rem; color: #c3cdb9; }

@media (max-width: 720px) {
  .site-header { padding: .7rem 1.1rem; }
  .tagline { display: none; }
  .container { padding: 1.5rem 1.1rem 3rem; }
  .show-card { flex-direction: column; }
  .show-card .cover, .cover-placeholder { width: 100%; height: 180px; }
  .show-header { flex-direction: column; }
  .show-header .cover { width: 100%; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
