@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1d3252;
  --primary-deep: #111f36;
  --accent: #c0914a;
  --accent-soft: #e2c48f;
  --highlight: #2f7a3e;
  --highlight-soft: #e3efe4;
  --surface: #f5f1e8;
  --paper: #fbf9f4;
  --ink: #15223a;
  --body: #2c3850;
  --muted: #5a6577;
  --line: rgba(21, 34, 58, 0.12);
  --line-light: rgba(245, 241, 232, 0.18);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img.is-missing { visibility: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.line > span { text-wrap: balance; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--primary-deep);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}


/* Pulsanti */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn-gold { background: var(--accent); color: var(--primary-deep); }
.btn-gold::after { background: var(--accent-soft); }

.btn-light { border-color: rgba(245, 241, 232, 0.5); color: var(--surface); }
.btn-light::after { background: var(--surface); }
.btn-light:hover { color: var(--primary-deep); border-color: var(--surface); }

.btn-navy { background: var(--primary); color: var(--surface); }
.btn-navy::after { background: var(--primary-deep); }

.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline::after { background: var(--primary); }
.btn-outline:hover { color: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--surface);
  transition: background-color 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-solid {
  --header-h: 70px;
  background: var(--primary-deep);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  line-height: 1;
  text-decoration: none;
  color: inherit;
}
.brand small {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  opacity: 0.85;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { min-height: 44px; padding: 0 22px; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Testate con foto */

.hero,
.page-hero {
  position: relative;
  display: flex;
  color: var(--surface);
  background: linear-gradient(160deg, #1f3a63 0%, #13233c 60%, #0d182b 100%);
  overflow: hidden;
  isolation: isolate;
}
.media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 9s var(--ease) forwards;
}
.hero .media img { object-position: 46% center; }
.hero::before {
  background: linear-gradient(180deg, rgba(13, 24, 43, 0.6) 0%, rgba(13, 24, 43, 0.4) 28%, rgba(13, 24, 43, 0.6) 52%, rgba(13, 24, 43, 0.62) 76%, rgba(13, 24, 43, 0.88) 100%);
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.75) 0%, rgba(13, 24, 43, 0.45) 38%, rgba(13, 24, 43, 0.6) 70%, rgba(13, 24, 43, 0.9) 100%);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 48px;
}
.hero-content .wrap { text-align: center; }
.hero .eyebrow {
  justify-content: center;
  margin-bottom: 26px;
  font-size: 0.875rem;
  letter-spacing: 0.24em;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent-soft); }
.hero h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero-lead {
  max-width: 700px;
  margin: 32px auto 0;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--surface);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.2s var(--ease) 0.15s forwards;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s var(--ease) forwards;
}
.d1 { animation-delay: 0.45s; }
.d2 { animation-delay: 0.6s; }
.d3 { animation-delay: 0.75s; }

.hero-next {
  position: relative;
  border-top: 1px solid var(--line-light);
  background: rgba(11, 21, 38, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-next .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.hero-next-label {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fcf86;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #6fcf86;
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}
.hero-next-info {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.88);
}
.hero-next-info strong { color: var(--surface); font-weight: 600; }
.hero-next .link-arrow { flex: none; color: var(--surface); }

.page-hero {
  min-height: 62vh;
  align-items: flex-end;
  padding: calc(var(--header-h) + 72px) 0 clamp(56px, 7vw, 96px);
}
.page-hero-plain { min-height: 46vh; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.page-lead {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: rgba(245, 241, 232, 0.88);
}
.page-hero .btn-row { margin-top: 32px; }

.page-hero-event h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.event-facts {
  display: flex;
  flex-wrap: wrap;
  margin: 36px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}
.event-facts div {
  padding-right: clamp(24px, 3.5vw, 48px);
  margin-right: clamp(24px, 3.5vw, 48px);
  border-right: 1px solid var(--line-light);
}
.event-facts div:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.event-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.event-facts dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--surface);
}
.event-facts small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.8);
}

/* Sezioni */

.section { position: relative; padding: clamp(72px, 8.5vw, 120px) 0; }
.section-cream { background: var(--surface); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(2.125rem, 4.2vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-head p {
  max-width: 640px;
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
}

.prose { max-width: 680px; }
.prose p { font-size: 1.125rem; line-height: 1.75; color: var(--body); }
.prose .lead-in {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
}
.prose h2 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
}
.prose h3 {
  margin: 1.8em 0 0.5em;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
}
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; color: var(--body); }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--primary); text-underline-offset: 3px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

/* Scheda incontro */

.event {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.event-solo { grid-template-columns: minmax(0, 1fr); }
.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(17, 31, 54, 0.35);
  overflow: hidden;
}
.event-top { display: grid; grid-template-columns: auto 1fr; }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 30px 34px;
  background: var(--primary);
  color: var(--surface);
  text-align: center;
}
.event-date .day-name {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.event-date .day {
  margin: 6px 0 2px;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
}
.event-date .month { font-size: 0.9375rem; font-weight: 500; }
.event-date .time {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  font-size: 0.875rem;
  font-weight: 600;
}
.event-main { padding: 32px 36px; }
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--highlight-soft);
  color: var(--highlight);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-main h3 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  line-height: 1.08;
}
.event-place {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.event-place svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.event-place strong { color: var(--ink); font-weight: 600; }
.event-people {
  padding: 28px 36px 32px;
  border-top: 1px solid var(--line);
}
.event-people h4 {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-summary { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--body); }
.event-card .btn-row { margin-top: 24px; }
.event-people > .btn-row:first-child { margin-top: 0; }

.poster {
  justify-self: center;
  max-width: 400px;
  margin: 0;
}
.poster a { display: block; cursor: zoom-in; }
.poster img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 40px 70px -30px rgba(17, 31, 54, 0.5), 0 0 0 1px var(--line);
  transform: rotate(2.5deg);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.poster a:hover img { transform: rotate(0) translateY(-8px); }
.poster figcaption {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 24px;
  background: rgba(11, 21, 38, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.45s var(--ease);
  cursor: default;
}
.lightbox.is-open img { transform: none; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 241, 232, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}
.lightbox-close:hover { background: rgba(245, 241, 232, 0.12); }
.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--surface);
}
.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Passaggi */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.step { position: relative; padding: 38px 36px 8px 0; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}
.step.is-visible::before { transform: scaleX(1); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--accent); }
.step h3 { margin: 12px 0; font-size: 1.75rem; }
.step p { color: var(--muted); }
.steps + .link-arrow { margin-top: 44px; }

/* Elenco incontri */

.list-block + .list-block { margin-top: clamp(56px, 7vw, 88px); }
.list-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.list-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.meet {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -45px rgba(17, 31, 54, 0.4);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
a.meet:hover { transform: translateY(-4px); border-color: rgba(192, 145, 74, 0.5); box-shadow: 0 40px 70px -45px rgba(17, 31, 54, 0.5); }
.meet-date {
  width: 120px;
  padding: 18px 0;
  background: var(--primary);
  color: var(--surface);
  border-radius: var(--radius);
  text-align: center;
}
.meet-date span { display: block; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); }
.meet-date strong { display: block; margin: 4px 0; font-family: var(--serif); font-weight: 400; font-size: 3.25rem; line-height: 1; }
.meet-date em { font-style: normal; font-size: 0.875rem; font-weight: 500; }
.meet h3 { margin: 12px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.meet p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.meet .go {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
}
.go-label {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.go-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.go-ico svg { width: 20px; height: 20px; }
a.meet:hover .go-ico { background: var(--primary); color: var(--surface); transform: translateX(4px); }

.meet-list { display: grid; gap: 18px; }
.meet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.meet-grid .meet { grid-template-columns: auto minmax(0, 1fr); padding: 24px; }
.meet-grid .meet .go { grid-column: 2; }
.meet-grid .go-ico { width: 40px; height: 40px; }
.meet-grid .meet h3 { font-size: 1.5rem; }
.next-after { margin-top: clamp(48px, 6vw, 72px); }
.all-meetings { margin-top: 40px; text-align: center; }
.meet-tbd { box-shadow: none; }
.meet-tbd .meet-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  background: var(--surface);
  color: var(--accent);
}
.meet-tbd .meet-date svg { width: 26px; height: 26px; }
.meet-tbd .meet-date em { font-family: var(--sans); font-style: normal; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.meet-past .meet-date { background: var(--surface); color: var(--ink); }
.meet-past .meet-date span { color: var(--muted); }
.tag-muted { background: var(--surface); color: var(--muted); }

.archive-empty { max-width: 640px; color: var(--muted); }

/* Pagina incontro */

.info-box {
  padding: 34px;
  background: var(--surface);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}
.info-box h2 { margin-bottom: 22px; font-size: 1.625rem; }
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.info-list li:first-child { padding-top: 0; }
.info-list svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.info-list strong { display: block; font-weight: 600; color: var(--ink); }
.info-box .btn { width: 100%; margin-top: 26px; }

.past-note {
  max-width: 560px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--surface);
}

.slogan {
  margin-top: 40px;
  padding-left: 22px;
  border-left: 2px solid var(--highlight);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--highlight);
}

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.people li {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.people strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.people li.people-mod { padding-top: 21px; border-top: 2px solid var(--accent); }
.people-mod > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.greetings {
  margin-top: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--muted);
}

.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.place-info { padding: clamp(32px, 5vw, 56px); }
.place-info h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.6vw, 2.75rem); }
.place-info address { margin-bottom: 30px; font-style: normal; font-size: 1.0625rem; color: var(--muted); }
.place-info address strong { display: block; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.place-map {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
}
.place-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 62%;
  transition: transform 0.8s var(--ease);
}
.place-map:hover img { transform: scale(1.03); }
.map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.6875rem;
  color: #5f6368;
}

/* Il progetto */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.facts {
  margin: 0;
  padding: 34px;
  list-style: none;
  background: var(--surface);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts li:last-child { padding-bottom: 0; border-bottom: 0; }
.facts span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts strong { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.3; }

.doc {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.doc-eyebrow { display: none; }
.doc-cover { max-width: 340px; margin: 0; justify-self: center; }
.doc-cover img {
  width: 100%;
  height: auto;
  box-shadow: 0 40px 70px -30px rgba(17, 31, 54, 0.5), 0 0 0 1px var(--line);
  transform: rotate(-2deg);
  transition: transform 0.8s var(--ease);
}
.doc-cover:hover img { transform: rotate(0) translateY(-6px); }

.download {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 480px;
  margin-top: 34px;
  padding: 18px 22px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.download:hover { border-color: var(--accent); box-shadow: 0 24px 40px -30px rgba(17, 31, 54, 0.45); }
.download .file {
  display: grid;
  flex: none;
  place-items: end center;
  width: 48px;
  height: 58px;
  padding-bottom: 8px;
  background: var(--primary);
  color: var(--accent-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.download strong { display: block; font-weight: 600; color: var(--ink); }
.download small { font-size: 0.875rem; color: var(--muted); }
.download .dl {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-deep);
  transition: transform 0.4s var(--ease);
}
.download .dl svg { width: 18px; height: 18px; }
.download:hover .dl { transform: translateX(3px); }

.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.join-lead { max-width: 520px; font-size: 1.125rem; color: var(--muted); }
.join .btn { margin-top: 32px; }
.join .ways { margin: 0; }

/* Contatti */

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.form-wrap h2 { font-size: clamp(2rem, 3.4vw, 2.625rem); font-weight: 400; }
.ways { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.ways li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.ways .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.ways .ico svg { width: 20px; height: 20px; }
.ways h3 { margin-bottom: 4px; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.ways p { font-size: 0.9375rem; color: var(--muted); }
.form-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -50px rgba(17, 31, 54, 0.45);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.field label span { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(21, 34, 58, 0.2);
  border-radius: var(--radius);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231d3252' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field textarea { min-height: 160px; line-height: 1.55; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 50, 82, 0.12);
}
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 26px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); }
.check a { color: var(--primary); }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pagine semplici e legali */

.simple {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  text-align: center;
}
.simple .page-hero-inner { margin: 0 auto; }
.simple .eyebrow { justify-content: center; }
.simple .eyebrow::before, .simple .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.simple .page-lead { margin-left: auto; margin-right: auto; }
.simple .btn-row { justify-content: center; }

.legal { padding: clamp(64px, 8vw, 110px) 0; }
.legal .prose { max-width: 760px; }
.updated { margin-bottom: 2em; font-size: 0.875rem; color: var(--muted); }

/* Footer */

.site-footer {
  padding: 80px 0 36px;
  background: var(--primary-deep);
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.9375rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer .brand { display: inline-flex; z-index: auto; color: var(--surface); }
.footer-about { max-width: 380px; margin-top: 22px; }
.footer-col h2 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { text-decoration: none; transition: color 0.3s, border-color 0.3s; }
.footer-col a[href]:hover { color: var(--surface); }
.footer-mail { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-mail + .social { margin-top: 22px; }
.footer-mail svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.social { display: flex; gap: 12px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}
.social a[href]:hover { border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  font-size: 0.8125rem;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--surface); }

/* Comparse */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.stagger-item.is-visible { opacity: 1; transform: none; }

.split-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.split-title .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.split-title.is-visible .w > span { transform: none; }

@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Responsive */

@media (max-width: 1080px) {
  .event, .split, .intro, .form-wrap, .join { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster { max-width: 340px; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    padding: 100px var(--gutter) 40px;
    background: var(--primary-deep);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .main-nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: 0.06s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: 0.12s; }
  .nav-open .main-nav li:nth-child(4) { transition-delay: 0.18s; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; }
  .main-nav li:last-child { width: 100%; }
  .main-nav .btn { width: 100%; min-height: 60px; margin-top: 28px; font-size: 1.125rem; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0 26px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .doc { grid-template-columns: 1fr; }
  .doc-cover { max-width: 260px; }
  .doc .doc-eyebrow { display: inline-flex; margin-bottom: 0; }
  .doc .section-head .eyebrow { display: none; }
  .place { grid-template-columns: 1fr; }
  .place-map { order: -1; min-height: 260px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand small { font-size: 0.875rem; }
  .brand strong { font-size: 1.125rem; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 0.75rem; letter-spacing: 0.16em; }
  .hero-lead { font-size: 1.125rem; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
  .hero-next .wrap { flex-wrap: wrap; align-content: center; gap: 4px 16px; }
  .hero-next-info { flex-basis: 100%; order: 2; }
  .hero-next-info .opt { display: none; }
  .hero-next .link-arrow { order: 3; }
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 64px); }
  .page-hero-plain { min-height: 0; }
  .simple { min-height: 100vh; min-height: 100svh; }
  .page-hero-event .eyebrow { font-size: 0.6875rem; letter-spacing: 0.1em; white-space: nowrap; }
  .event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .event-facts div { margin: 0; padding: 0; border: 0; }
  .event-facts div:last-child { grid-column: 1 / -1; }
  .event-facts dd { font-size: 1.3125rem; }
  .event-top { grid-template-columns: 1fr; }
  .event-date {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
    justify-items: start;
    padding: 18px 24px;
    line-height: 1.35;
    text-align: left;
  }
  .event-date .day { grid-column: 1; grid-row: 1 / 4; margin: 0; font-size: 3.5rem; }
  .event-date .day-name { grid-column: 2; grid-row: 1; }
  .event-date .month { grid-column: 2; grid-row: 2; }
  .event-date .time { grid-column: 2; grid-row: 3; margin: 0; padding: 0; border: 0; font-weight: 500; color: rgba(245, 241, 232, 0.8); }
  .event-main, .event-people { padding-left: 24px; padding-right: 24px; }
  .event-card .btn { flex: 1 1 100%; }
  .meet { grid-template-columns: 1fr; gap: 18px; }
  .meet-date {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
    width: auto;
    padding: 12px 18px;
    line-height: 1.35;
    text-align: left;
  }
  .meet-date strong { grid-column: 1; grid-row: 1 / 3; margin: 0; font-size: 2.5rem; }
  .meet-date span { grid-column: 2; grid-row: 1; }
  .meet-date em { grid-column: 2; grid-row: 2; }
  .meet .go { gap: 10px; }
  .go-ico { width: 36px; height: 36px; }
  .go-ico svg { width: 16px; height: 16px; }
  .info-box, .facts { padding: 26px 22px; }
  .people { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .people li { padding: 18px 0 20px; font-size: 0.8125rem; }
  .people strong { font-size: 1.0625rem; }
  .meet-grid { grid-template-columns: 1fr; }
  .meet-grid .meet { grid-template-columns: 1fr; }
  .meet-grid .meet .go { grid-column: auto; }
  .meet-tbd .meet-date { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 0; }
  .meet-tbd .meet-date svg { width: 20px; height: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .download { gap: 14px; padding: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .stagger-item, .split-title .w > span { opacity: 1; transform: none; }
}
