:root {
  --sage: #7a9e80;
  --sage-dark: #3f5a45;
  --sage-deeper: #33493a;
  --sage-soft: #eaf2eb;
  --coral: #e05a47;
  --coral-hover: #c94b3a;
  --ink: #243028;
  --muted: #5c6b61;
  --paper: #fbf8f3;
  --paper-2: #f3eee6;
  --white: #fffcf8;
  --line: rgba(36, 48, 40, 0.1);
  --radius: 1.15rem;
  --shadow: 0 18px 40px rgba(63, 90, 69, 0.1);
  --nav-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.wrap {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}
.nav.is-scrolled {
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: 0.92rem;
}
.brand-text span:last-child {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.82rem;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 8px;
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 650;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral {
  background: var(--coral);
  color: #fff8f5;
}
.btn-coral:hover { background: var(--coral-hover); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage-dark);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn.is-disabled,
.btn:disabled {
  pointer-events: none;
  cursor: not-allowed;
  transform: none;
  background: #d8dbd6;
  border-color: #d8dbd6;
  color: #7a7f7b;
  opacity: 1;
}
.btn.is-disabled:hover,
.btn:disabled:hover {
  transform: none;
  background: #d8dbd6;
}
.path-card.dark .btn.is-disabled,
.path-card.dark .btn:disabled {
  background: rgba(255, 255, 255, 0.16);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.5);
}

/* HERO */
.hero {
  padding: 2.2rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.chip i {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 620;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1.1rem 0 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
  text-decoration-color: var(--sage);
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
}
.counter {
  margin: 1.6rem 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow);
}
.counter strong {
  font-size: 2rem;
  color: var(--coral);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.counter span { display: block; line-height: 1.2; font-size: 0.88rem; }
.counter span b { font-size: 0.95rem; }
.counter span small { color: var(--sage-dark); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.map-card {
  position: relative;
  background: var(--white);
  border-radius: 1.4rem;
  padding: 1.2rem 0.6rem 0.4rem;
  box-shadow: var(--shadow);
}
.map-card .italy {
  width: 72%;
  margin: 0.4rem auto 0.8rem;
  opacity: 0.55;
}
.map-badge {
  position: absolute;
  top: 1.4rem;
  right: 1rem;
  background: var(--sage-deeper);
  color: #f3f7f3;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

/* EVENT */
.event {
  background: var(--sage-dark);
  color: #f4f7f4;
  padding: 1.15rem 0;
}
.event-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: center;
  text-align: center;
}
.badge-coral {
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.event strong { font-size: 1.02rem; }
.event p { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.92rem; }

/* SECTIONS */
.section { padding: 4.6rem 0; }
.section.alt { background: var(--paper-2); }
.kicker {
  color: var(--sage-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 0.6rem;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}
.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.icon-ring {
  width: 48px;
  height: 48px;
  border: 1.6px solid var(--sage);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}
.card h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.teaser {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}
.points-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.num-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
}
.num-card em {
  font-style: normal;
  color: var(--sage);
  font-weight: 750;
  font-size: 0.85rem;
}
.num-card h3 { margin: 0.25rem 0 0; font-size: 1rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.photo {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  background: #c9d6c4 center/cover no-repeat;
}
.photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 38%;
}
.sign {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: var(--sage-dark);
  color: #f4f7f4;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.check {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.check li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
}
.check svg { flex-shrink: 0; margin-top: 2px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 1.4rem 0.5rem;
}
.stat b {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-family: var(--display);
  color: var(--sage-dark);
  letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

.path {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.path-card.dark {
  background: var(--sage-dark);
  color: #f4f7f4;
  border-color: transparent;
}
.path-card.dark p { color: rgba(255,255,255,0.8); }
.phase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.phase small {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}
.path-card.dark .phase small { color: #c7ddc9; }
.tag {
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
}
.path-card h3 { margin: 0.15rem 0 0.45rem; }
.path-card p { margin: 0 0 1rem; color: var(--muted); }
.connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 42px;
  color: var(--sage);
}
.connector span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  background: var(--paper);
}
.connector i {
  width: 2px;
  flex: 1;
  background: var(--sage);
  display: block;
}
.fineprint {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1.6rem;
}
.fineprint a { color: var(--sage-dark); text-decoration: underline; }

/* MANIFESTO PAGE */
.manifesto-hero { padding: 3.5rem 0 1rem; text-align: center; }
.manifesto-list {
  max-width: 720px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.m-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem;
}
.m-item b {
  color: var(--sage);
  font-family: var(--display);
  font-size: 1.35rem;
}
.m-item h2 { font-size: 1.15rem; margin: 0 0 0.35rem; font-family: var(--font); }
.m-item p { margin: 0; color: var(--muted); }

.legal-page {
  max-width: 720px;
  margin: 0 auto 4rem;
}
.legal-page h2 {
  font-family: var(--font);
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
  letter-spacing: 0;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  margin: 0 0 1rem;
}
.legal-page ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}
.legal-page a {
  color: var(--sage-dark);
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background: var(--sage-deeper);
  color: #e8efe8;
  padding: 3.2rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer .brand-text { font-size: 0.95rem; }
.footer .brand-text span:last-child { color: #c5d9c8; }
.footer p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer h3 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.8rem; }
.footer a:hover { text-decoration: underline; }
.legal {

  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper);
  z-index: 40;
  padding: 1.5rem;
}
.mobile-panel.open { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-panel a { font-size: 1.15rem; font-weight: 600; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .hero-grid, .cards-3, .teaser, .split, .stats, .footer-grid, .points-preview {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .btn:hover { transform: none; }
}
