/* ============================================================
   Forward.Talks — Event site
   Palette: #0a0a0a (black) · #ffffff (white) · #ec4c4c (accent)
   Type: Roboto + Roboto Condensed
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --black: #0a0a0a;
  --bg: #0a0a0a;
  --bg-2: #111112;
  --surface: #161617;
  --surface-2: #1d1d1f;
  --white: #ffffff;
  --accent: #ec4c4c;
  --accent-deep: #b93636;
  --muted: #a6a6a6;
  --muted-2: #6f6f72;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Roboto Condensed", var(--font);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --container: 1200px;
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(72px, 12vw, var(--space-16)); position: relative; }

.eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  margin-top: var(--space-3);
}
.section-title .accent { color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 60ch;
  margin-top: var(--space-3);
}

/* ---------- Texture / grain overlays ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  min-height: 48px;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 rgba(236, 76, 76, 0);
}
.btn-primary:hover {
  background: #f15a5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -8px rgba(236, 76, 76, 0.65);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 19px 40px; font-size: 1.15rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 18px clamp(20px, 5vw, 40px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.nav__logo img { height: 26px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s;
  position: relative;
  white-space: nowrap;
}
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent); transition: width 0.22s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav .btn { padding: 11px 20px; min-height: 42px; font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 1080px) {
  .nav__right { gap: 16px; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 0.8rem; letter-spacing: 0.08em; }
  .nav .btn { padding: 10px 14px; font-size: 0.82rem; }
}

/* ---------- Burger ---------- */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: #0a0a0a;
  background-image: radial-gradient(ellipse 90% 60% at 85% 10%, rgba(236, 76, 76, 0.14), transparent 60%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px 24px 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--font-cond);
  font-weight: 900; text-transform: uppercase; line-height: 1.1;
  font-size: clamp(2rem, 9vw, 3rem);
  color: #fff; text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.2s;
}
.menu__links a:active, .menu__links a:hover { color: var(--accent); }
.menu.open .menu__links a { opacity: 1; transform: none; }
.menu.open .menu__links a:nth-child(1) { transition-delay: 0.05s; }
.menu.open .menu__links a:nth-child(2) { transition-delay: 0.1s; }
.menu.open .menu__links a:nth-child(3) { transition-delay: 0.15s; }
.menu.open .menu__links a:nth-child(4) { transition-delay: 0.2s; }
.menu.open .menu__links a:nth-child(5) { transition-delay: 0.25s; }
.menu__num {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent); flex: 0 0 auto;
}
.menu__footer { display: flex; flex-direction: column; gap: 14px; }
.menu__footer .btn { width: 100%; justify-content: center; }
.menu__meta {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.75rem; color: var(--muted-2);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .menu, .menu__links a, .nav__burger span { transition: none; }
}
@media (max-width: 719px) {
  .nav__burger { display: flex; }
  .nav .btn { display: none; }
}
@media (min-width: 720px) {
  .menu { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  isolation: isolate;
}
/* red smoke / halftone backdrop */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(236, 76, 76, 0.42), rgba(185, 54, 54, 0.10) 42%, transparent 68%),
    radial-gradient(45% 40% at 18% 78%, rgba(236, 76, 76, 0.22), transparent 60%);
  filter: saturate(1.1);
}
.hero__bg::after { /* halftone dots */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(236, 76, 76, 0.55) 1.2px, transparent 1.3px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(60% 60% at 76% 44%, #000 0%, transparent 70%);
  mask-image: radial-gradient(60% 60% at 76% 44%, #000 0%, transparent 70%);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, transparent 22%, transparent 55%, rgba(10,10,10,0.85) 100%);
}

.hero__inner { position: relative; max-width: 900px; text-align: center; }
.hero__edition {
  display: inline-flex; align-items: center;
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.24em; font-weight: 700; font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid rgba(236, 76, 76, 0.4);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: clamp(20px, 4vw, 32px);
}
.hero__kicker {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 14px 0;
  border-top: 1px solid rgba(236, 76, 76, 0.45);
  border-bottom: 1px solid rgba(236, 76, 76, 0.45);
}
.hero__kicker .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: 0 0 auto; }
.hero__logo {
  margin-bottom: clamp(20px, 4vw, 36px);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
}
.hero__logo-main { height: clamp(30px, 6vw, 52px); width: auto; }
.hero__mdw {
  display: flex; align-items: center; gap: clamp(10px, 2vw, 16px);
  padding-left: clamp(16px, 3vw, 28px);
  border-left: 1px solid var(--line);
}
.hero__mdw-label {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 500; font-size: 0.68rem;
  color: var(--muted-2); line-height: 1.3;
  max-width: 5.5em;
}
.hero__mdw img { height: clamp(30px, 5.5vw, 46px); width: auto; }
@media (max-width: 719px) {
  /* Il logo Forward.Talks è già in nav: non ripeterlo nella hero su mobile. */
  .hero__logo-main { display: none; }
  .hero__mdw { border-left: 0; padding-left: 0; }
}

.hero__org {
  margin-top: clamp(36px, 6vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.hero__org-label {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.22em; font-weight: 500; font-size: 0.72rem;
  color: var(--muted-2);
}
.hero__org-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.hero__org-logo:hover,
.hero__org-logo:focus-visible { opacity: 0.8; }
.hero__org-logo .accent { color: var(--accent); }

.hero__title {
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.02em;
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  margin: 0;
}
.hero__title .line { display: block; }
.hero__title .accent { color: var(--accent); position: relative; }

.hero__sub {
  margin-top: var(--space-4);
  margin-inline: auto;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #fff;
  max-width: 56ch;
}
.hero__actions {
  margin-top: var(--space-6);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-3);
}
.hero__note {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--muted-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__note svg { width: 15px; height: 15px; color: var(--accent); }

.scroll-cue {
  margin-top: clamp(32px, 5vw, 48px);
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; color: var(--muted-2); display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--bg); border-top: 1px solid var(--line); }
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.manifesto__big {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
}
.manifesto__big .accent { color: var(--accent); }
.manifesto__body { display: grid; gap: var(--space-3); color: #fff; font-size: 1.1rem; max-width: 70ch; }

/* ============================================================
   TEMI
   ============================================================ */
.topics { background: var(--bg-2); border-top: 1px solid var(--line); }
.topics__flow {
  margin-top: clamp(28px, 5vw, 44px);
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  /* 7.5vw è calibrato perché "IntelligenzaArtificiale" (la parola più lunga,
     non spezzabile) non vada mai in overflow, da 320px in su. */
  font-size: clamp(1.4rem, 7.5vw, 5.5rem); line-height: 1.1; letter-spacing: -0.01em;
  color: #fff;
}
.topics__flow .hash { color: var(--accent); }
.manifesto__body strong { color: #fff; font-weight: 700; }

/* ============================================================
   RELATORI
   ============================================================ */
.speakers { background: var(--bg-2); border-top: 1px solid var(--line); }
.speakers__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-3); margin-bottom: var(--space-8); }

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.speaker {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.speaker:hover { transform: translateY(-4px); border-color: var(--accent); }
.speaker__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 10%, #7c2323 0%, #4a1414 45%, #1c0808 100%);
}
/* duotone silhouette placeholder */
.speaker__photo svg { position: absolute; bottom: -6%; left: 50%; transform: translateX(-50%); width: 78%; height: auto; opacity: 0.9; color: rgba(10,8,8,0.55); }
/* foto reale: stesso trattamento duotone, si smorza in hover */
.speaker__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: luminosity;
  transition: filter 0.35s var(--ease);
}
.speaker:hover .speaker__photo img { filter: grayscale(0) contrast(1); mix-blend-mode: normal; }
.speaker__photo::after { /* halftone overlay */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.5) 1px, transparent 1.2px);
  background-size: 5px 5px;
  mix-blend-mode: multiply; opacity: 0.5;
}
.speaker__ph-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.64rem; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 8px; border-radius: 2px; backdrop-filter: blur(4px);
}
.speaker__info { padding: 16px 16px 18px; }
.speaker__name { font-family: var(--font-cond); font-weight: 700; font-size: 1.18rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.speaker__role { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.speaker__role .ph { color: var(--accent); font-style: italic; }
.speaker__role strong { color: #fff; font-weight: 700; }

.speaker__question {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); font-weight: 900; line-height: 1;
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(236, 76, 76, 0.5);
}
.speaker--tba:hover .speaker__question { -webkit-text-stroke-color: rgba(236, 76, 76, 0.85); }

/* ---------- Edizioni precedenti (secondary emphasis) ---------- */
.past {
  margin-top: clamp(72px, 10vw, 110px);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 64px);
}
.past__title {
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  color: #fff;
  margin-top: var(--space-2);
}
.past__lead { color: var(--muted-2); font-size: 0.98rem; max-width: 58ch; margin-top: 10px; }

.past__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
  margin-top: clamp(28px, 5vw, 48px);
}
.past-ed { position: relative; padding-top: 10px; }
.past-ed__year {
  position: absolute; top: -14px; right: 0;
  font-family: var(--font-cond); font-weight: 900; line-height: 1;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 76, 76, 0.28);
  pointer-events: none; user-select: none;
}
.past-ed__head {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin-bottom: 6px;
}
.past-ed__label {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 700; font-size: 0.82rem; color: #fff;
}
.past-ed__count {
  font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted-2);
}
.past-ed__list { list-style: none; margin: 0; padding: 0; }
.past-ed__item {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding-left 0.2s var(--ease);
}
.past-ed__item:last-child { border-bottom: 0; }
.past-ed__item:hover { padding-left: 6px; }
.past-ed__item:hover .past-ed__name { color: var(--accent); }
.past-ed__avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 3px; overflow: hidden;
  border: 1px solid var(--line);
  display: block;
}
.past-ed__avatar img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.25s var(--ease);
}
.past-ed__item:hover .past-ed__avatar { border-color: rgba(236, 76, 76, 0.5); }
.past-ed__item:hover .past-ed__avatar img { filter: grayscale(0); }
.past-ed__avatar--ph {
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
}
.past-ed__avatar--ph svg { width: 60%; height: 60%; }
.past-ed__item:hover .past-ed__avatar--ph { color: var(--accent); }
.past-ed__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.past-ed__name {
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.02em; color: rgba(255,255,255,0.86);
  transition: color 0.2s var(--ease);
}
.past-ed__role { color: var(--muted-2); font-size: 0.85rem; line-height: 1.35; }

@media (min-width: 720px) {
  .past__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PROGRAMMA
   ============================================================ */
.program { background: var(--bg); border-top: 1px solid var(--line); }
.program__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-top: var(--space-8); }
.timeline { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.slot {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--space-3);
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 30px);
  background: var(--surface); align-items: baseline;
  transition: background 0.2s var(--ease);
}
.slot:hover { background: var(--surface-2); }
.slot__time { font-family: var(--font-cond); font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.slot__title { font-family: var(--font-cond); text-transform: uppercase; font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.35rem); letter-spacing: 0.01em; }
.slot__desc { color: var(--muted); font-size: 0.98rem; margin-top: 6px; grid-column: 2; }

/* ============================================================
   VENUE
   ============================================================ */
.venue { background: var(--bg-2); border-top: 1px solid var(--line); }
.venue__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
.venue__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.venue__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; max-height: 560px; }
.venue__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55)); }
.venue__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; font-size: 0.8rem; color: #fff;
  background: var(--accent); padding: 8px 14px; border-radius: 3px;
}
.venue__addr { font-size: 1.2rem; margin-top: var(--space-3); line-height: 1.5; }
.venue__addr strong { display: block; font-family: var(--font-cond); text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.01em; }
.venue__actions { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { position: relative; text-align: center; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 50% 0%, rgba(236,76,76,0.28), transparent 60%); }
.cta__bg::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(236,76,76,0.4) 1px, transparent 1.2px); background-size: 8px 8px; -webkit-mask-image: radial-gradient(60% 80% at 50% 20%, #000, transparent 70%); mask-image: radial-gradient(60% 80% at 50% 20%, #000, transparent 70%); opacity:.4; }
.cta__title { font-family: var(--font-cond); text-transform: uppercase; font-weight: 900; line-height: 0.9; letter-spacing: -0.01em; font-size: clamp(2.8rem, 10vw, 7rem); }
.cta__title .accent { color: var(--accent); }
.cta .lead { margin-inline: auto; color: #fff; }
.cta__actions { margin-top: var(--space-6); display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #060606; border-top: 1px solid var(--line); padding-block: var(--space-12) var(--space-6); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.footer__brand img { height: 30px; margin-bottom: var(--space-3); }
.footer__brand p { color: var(--muted); max-width: 40ch; }
.footer__partners { display: grid; gap: var(--space-4); }
.partner-block__label { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--muted-2); margin-bottom: 12px; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.logo-chip {
  background: #fff; border-radius: 6px; padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.logo-chip:hover, a.logo-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
/* dimensionamento sulla larghezza: ogni logo ha una larghezza fissa, altezza proporzionale */
.logo-chip img,
.logo-plain img {
  height: auto; width: 80px;
}
.logo-chip--mdw { padding: 0; overflow: hidden; }

/* loghi bianchi già pronti per fondo scuro: nessun riquadro */
.logo-plain {
  display: inline-flex; align-items: center;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
a.logo-plain:hover, a.logo-plain:focus-visible { transform: translateY(-2px); opacity: 0.85; }
/* wordmark grassetto: reso più stretto degli altri per compensare il maggior peso tipografico */
.logo-plain--polimeni img { width: 150px; }
/* charity partner e Milano Digital Week: almeno il doppio di larghezza di prima */
.logo-chip--mdw img { width: 120px; }
.logo-plain--dfc img { width: 120px; }

/* link inline nel corpo del testo */
.manifesto__body a,
.lead a,
.footer__legal a {
  text-decoration: underline;
  text-decoration-color: rgba(236, 76, 76, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.manifesto__body a:hover,
.lead a:hover,
.footer__legal a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.footer__bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; }

.footer__bottom {
  margin-top: var(--space-8); padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  color: var(--muted-2); font-size: 0.85rem;
}
.footer__bottom a:hover { color: #fff; }
.footer__legal {
  margin-top: var(--space-2);
  color: var(--muted-2); font-size: 0.75rem;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-cue span { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 720px) {
  .manifesto__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .venue__grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer__grid { grid-template-columns: 1.2fr 1fr; }
  .footer__partners { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .program__grid { grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  .nav__links { display: none; }
  .speakers__grid { grid-template-columns: repeat(2, 1fr); }
  .slot { grid-template-columns: 1fr; gap: 6px; }
  .slot__desc { grid-column: 1; }
}
@media (max-width: 420px) {
  .speakers__grid { grid-template-columns: 1fr; }
}
