/* ==========================================================================
   Orizzonte Italiano — sistema visivo
   Cream, navy, verde. Newsreader per i titoli, Public Sans per il testo.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-normal.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: 400;
  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 {
  --paper: #f7f4ed;
  --paper-2: #f0ebe0;
  --white: #fffcf6;
  --navy: #0b2a5b;
  --deep: #071f44;
  --ink: #17233a;
  --muted: #5c6576;
  --green: #0f8f3f;
  --green-text: #0b7a34;
  --mint: #8fe0ad;
  --red: #d91e26;
  --on-dark: #f4efe4;
  --on-dark-muted: rgba(244, 239, 228, .74);
  --on-dark-line: rgba(244, 239, 228, .18);
  --line: rgba(11, 42, 91, .16);
  --line-soft: rgba(11, 42, 91, .09);
  --wrap: 1260px;
  --pad: clamp(22px, 4.6vw, 64px);
  --head: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }

::selection { background: var(--navy); color: var(--paper); }

h1, h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(56px, 8.1vw, 116px); line-height: .92; }
h2 { font-size: clamp(40px, 5vw, 66px); line-height: .98; }
h3 { font-family: "Public Sans", sans-serif; font-weight: 600; color: var(--navy); }
em { font-style: italic; }
p { text-wrap: pretty; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 18px;
  text-decoration: none;
  font-size: 14px;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.section-manifesto :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible { outline-color: var(--mint); }

/* ---- tipografia condivisa ------------------------------------------------ */

.kicker {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-text);
}
.kicker-light { color: var(--mint); }

.lead {
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}
.section-lede {
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
}
.footnote {
  margin-top: clamp(30px, 4vw, 48px);
  max-width: 80ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.arrow {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform .25s var(--ease);
}

/* ---- bottoni e link ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #123a75; border-color: #123a75; transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-light { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .35;
  transition: opacity .2s var(--ease);
}
.link:hover::after { opacity: 1; }
.link:hover .arrow { transform: translateX(3px); }
.link-light { color: var(--on-dark); }

/* ---- tricolore ----------------------------------------------------------- */

.tricolore { display: inline-flex; gap: 0; }
.tricolore i { display: block; width: 34px; height: 3px; }
.tricolore i:nth-child(1) { background: var(--green); }
.tricolore i:nth-child(2) { background: var(--navy); }
.tricolore i:nth-child(3) { background: var(--red); }
.tricolore-light i:nth-child(2) { background: var(--paper); }
.tricolore-wide { display: flex; width: 100%; }
.tricolore-wide i { width: auto; flex: 1; height: 4px; }

/* ---- testata ------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 237, .94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-head.is-scrolled { box-shadow: inset 0 -1px 0 var(--line-soft); }

.head-inner {
  height: var(--head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: .01em; }

.main-nav > ul { display: flex; align-items: center; gap: 36px; }
.main-nav > ul a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.main-nav > ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.main-nav > ul a:hover,
.main-nav > ul a[aria-current="page"] { color: var(--navy); }
.main-nav > ul a:hover::after,
.main-nav > ul a[aria-current="page"]::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 14px; }
.head-mail {
  padding: 9px 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.head-mail:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.menu-bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.menu-bars i { display: block; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.nav-mobile-foot { display: none; }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--green);
  transition: width .1s linear;
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  min-height: calc(100svh - var(--head));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(40px, 5.4vw, 78px);
  padding-bottom: 26px;
  overflow: hidden;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-text);
}
.eyebrow-mark { display: inline-flex; flex-direction: column; gap: 2px; width: 12px; }
.eyebrow-mark i { display: block; width: 12px; height: 2px; }
.eyebrow-mark i:nth-child(1) { background: var(--green); }
.eyebrow-mark i:nth-child(2) { background: var(--navy); }
.eyebrow-mark i:nth-child(3) { background: var(--red); }

.hero h1 span { display: block; }
.hero h1 em { font-style: italic; color: var(--navy); }
.h1-green { color: var(--green); }

.hero-lede {
  margin-top: clamp(22px, 2.8vw, 34px);
  max-width: 48ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: clamp(28px, 3.6vw, 44px);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  height: 100%;
}
.hero-arcs {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1%;
  color: var(--navy);
  opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 50% 100%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 68% at 50% 100%, #000 18%, transparent 74%);
}
.arcs { width: 100%; height: auto; display: block; }
.arc { stroke-dasharray: 1; stroke-dashoffset: 0; }
.arc-green { stroke: var(--green); }

.hero-seal {
  position: relative;
  width: clamp(240px, 29vw, 430px);
  filter: drop-shadow(0 28px 60px rgba(11, 42, 91, .18));
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(28px, 3.4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-facts { display: flex; gap: clamp(32px, 5vw, 80px); }
.hero-facts dt {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
}
.hero-facts dd {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue i {
  display: block;
  position: relative;
  width: 1px;
  height: 38px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--green);
}

/* ---- sezioni ------------------------------------------------------------- */

.section {
  min-height: calc(100svh - var(--head));
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 8.5vw, 118px);
  border-top: 1px solid var(--line-soft);
}
.section-manifesto { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .kicker { margin-bottom: 20px; }
.section-head-tight { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .section-lede { padding-bottom: 8px; }

.head-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 6px;
}
.head-aside p { max-width: 40ch; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---- il partito ---------------------------------------------------------- */

.party-top {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.party-intro .kicker { margin-bottom: 18px; }
.party-intro h2 { font-size: clamp(42px, 5.2vw, 72px); }
.party-intro h2 em { color: var(--green-text); }
.party-tag {
  margin-top: 28px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.party-copy { padding-top: 34px; }
.party-copy .lead {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
}
.party-copy > p + p {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--muted);
}
.pull {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pull p {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--navy);
}
.pull cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.principles-wrap { margin-top: clamp(56px, 7vw, 96px); }
.list-label {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--navy);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.principles li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.principles li:hover::before { transform: scaleY(1); }
.pr-num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
  color: var(--green-text);
}
.principles h3 { font-size: 18px; }
.principles p { max-width: 60ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---- manifesto (sezione scura) ------------------------------------------ */

.section-manifesto {
  background: var(--navy);
  color: var(--on-dark);
}
.manifesto-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--on-dark-line);
}
.manifesto-head .kicker { margin-bottom: 18px; }
.manifesto-head h2 { color: var(--on-dark); font-size: clamp(42px, 5vw, 68px); }
.manifesto-head h2 em { color: var(--mint); }
.manifesto-intro {
  max-width: 42ch;
  padding-bottom: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 62px);
}
.manifesto-grid li { padding-top: 22px; border-top: 1px solid var(--on-dark-line); }
.m-num {
  display: block;
  margin-bottom: 18px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 13px;
  color: var(--mint);
}
.manifesto-grid h3 {
  margin-bottom: 14px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--on-dark);
}
.manifesto-grid p { font-size: 15.5px; line-height: 1.62; color: var(--on-dark-muted); }
.m-action {
  margin-top: 22px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--mint) !important;
}
.manifesto-close {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-line);
}
.manifesto-close p {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--on-dark);
}

/* ---- numeri -------------------------------------------------------------- */

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--navy);
}
.kpi {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line-soft);
}
.kpi:last-child { border-right: 0; }
.kpi dt {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--navy);
}
.kpi dd {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 100px);
  margin-top: clamp(36px, 5vw, 56px);
}
.challenge-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.challenge-red .dot { background: var(--red); }
.challenge-green .dot { background: var(--green); }
.challenge-col ul { margin-top: 6px; }
.challenge-col li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.challenge-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 27px;
  width: 16px;
  height: 1px;
  background: var(--red);
}
.challenge-green li::before { background: var(--green); }

/* ---- priorità ------------------------------------------------------------ */

.priorities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 80px);
}
.priorities li { border-top: 1px solid var(--line-soft); }
.priorities a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.priorities a:hover { transform: translateX(4px); }
.p-num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 13px;
  color: var(--green-text);
}
.p-title { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.p-sub { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.p-arrow { color: var(--navy); opacity: .45; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.priorities a:hover .p-arrow,
.priorities a:focus-visible .p-arrow { opacity: 1; transform: translateX(3px); }

/* ---- indice del programma ------------------------------------------------ */

.area-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 80px);
}
.area-index li { border-top: 1px solid var(--line-soft); }
.area-index a {
  display: grid;
  grid-template-columns: 30px 112px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: baseline;
  padding: 15px 0;
  text-decoration: none;
}
.i-num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 12px;
  color: var(--green-text);
}
.i-label { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.i-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.25;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.i-arrow { color: var(--navy); opacity: .45; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.area-index a:hover .i-title { color: var(--navy); }
.area-index a:hover .i-arrow { opacity: 1; transform: translate(2px, -2px); }

/* ---- chiusura ------------------------------------------------------------ */

.closing {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 120px);
  background: var(--deep);
  color: var(--on-dark);
}
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-bottom: clamp(64px, 8vw, 100px);
}
.closing-copy .kicker { margin-bottom: 18px; }
.closing h2 { color: var(--on-dark); font-size: clamp(52px, 6.4vw, 96px); }
.closing-lede {
  margin-top: 24px;
  max-width: 40ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }
.closing-mail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 44px;
  font-size: 12px;
  color: var(--on-dark-muted);
}
.closing-mail span {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
}
.closing-mail a {
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--on-dark-line);
  color: var(--on-dark);
  text-decoration: none;
}
.closing-mail a:hover { border-color: var(--on-dark); }

.closing-seal { display: grid; place-items: center; }
.seal-tile {
  display: grid;
  place-items: center;
  width: clamp(190px, 22vw, 280px);
  aspect-ratio: 1;
  padding: clamp(16px, 2vw, 26px);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.seal-tile img { width: 100%; height: auto; }

/* ---- footer -------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(40px, 5vw, 56px);
  background: var(--deep);
  color: var(--on-dark-muted);
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--on-dark-line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 50%;
  background: var(--paper);
}
.footer-brand p { display: flex; flex-direction: column; gap: 3px; }
.footer-brand strong { font-size: 14px; font-weight: 600; color: var(--on-dark); }
.footer-brand span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { font-size: 13px; color: var(--on-dark-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--on-dark); }
.footer-note { padding: 24px 0; border-bottom: 1px solid var(--on-dark-line); }
.footer-note p { max-width: 82ch; font-size: 11.5px; line-height: 1.6; color: var(--on-dark-muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  font-size: 11.5px;
}
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }
.back-top { display: inline-flex; align-items: center; gap: 8px; }

/* ---- programma: testata -------------------------------------------------- */

.program-hero {
  position: relative;
  min-height: calc(72svh - var(--head));
  display: flex;
  align-items: flex-end;
  padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.program-hero .wrap { position: relative; z-index: 1; }
.program-hero .kicker { margin-bottom: clamp(16px, 2vw, 24px); }
.program-hero h1 { max-width: 13ch; font-size: clamp(50px, 7vw, 98px); }
.program-hero h1 em { font-style: italic; color: var(--green-text); }
.program-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-top: clamp(32px, 4vw, 52px);
}
.program-hero-foot .lead { max-width: 56ch; }
.program-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 4px;
}
.program-tools > span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.print-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.icon-print { width: 16px; height: 16px; flex: none; }
.program-hero-arcs {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: min(760px, 62vw);
  color: var(--navy);
  opacity: .32;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000 18%, transparent 74%);
}

/* ---- programma: corpo ---------------------------------------------------- */

.program-body { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 8vw, 110px); }
.program-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.program-aside { position: relative; align-self: stretch; }
.aside-inner {
  position: sticky;
  top: calc(var(--head) + 28px);
  max-height: calc(100svh - var(--head) - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.aside-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.aside-label span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--green-text);
}
.area-nav ol { margin-top: 6px; }
.area-nav li { border-bottom: 1px solid var(--line-soft); }
.area-nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0 8px 10px;
  border-left: 2px solid transparent;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.area-nav a span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.area-nav a:hover { color: var(--navy); }
.area-nav a[aria-current="true"] { color: var(--navy); border-left-color: var(--green); }
.area-nav a[aria-current="true"] span { color: var(--green-text); }
.aside-note { margin-top: 24px; font-size: 11.5px; line-height: 1.55; color: var(--muted); }

.program-content { min-width: 0; }
.mobile-index { display: none; }

.area {
  padding-top: clamp(38px, 5vw, 56px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head) + 24px);
}
.area:first-of-type { padding-top: 0; border-top: 0; }
.area + .area { margin-top: clamp(56px, 7vw, 86px); }

.area-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.area-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.area-kicker span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--green-text);
}
.area-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.area-metric { padding-top: 12px; border-top: 1px solid var(--green); text-align: right; }
.metric-value {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
  white-space: nowrap;
}
.metric-label { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.area-lead {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}

.points { margin-top: clamp(28px, 4vw, 42px); }
.point {
  display: grid;
  grid-template-columns: minmax(160px, .52fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.point:last-child { border-bottom: 1px solid var(--line-soft); }
.point-head { display: flex; align-items: baseline; gap: 12px; }
.point-num { font-size: 10px; letter-spacing: .08em; color: var(--green-text); }
.point h3 { font-size: 16px; line-height: 1.35; }
.point p { max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--muted); }

.area-slogan {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 24px 28px;
  border-left: 2px solid var(--green);
  background: var(--paper-2);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--navy);
}
.quote-mark { font-style: normal; color: var(--green-text); }

/* ---- movimento ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .85s var(--ease) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .13s; }
  .hero-copy > *:nth-child(3) { animation-delay: .21s; }
  .hero-copy > *:nth-child(4) { animation-delay: .29s; }
  .hero-seal { animation: seal .95s var(--ease) both; animation-delay: .15s; }

  .arc { animation: draw 2.4s var(--ease) both; }
  .arc:nth-child(2) { animation-delay: .1s; }
  .arc:nth-child(3) { animation-delay: .2s; }
  .arc:nth-child(4) { animation-delay: .3s; }
  .arc:nth-child(5) { animation-delay: .4s; }

  .scroll-cue i::after { animation: cue 2.6s ease-in-out infinite; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes seal {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: none; }
}
@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes cue {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(52px); }
}

/* ---- tablet -------------------------------------------------------------- */

@media (max-width: 1040px) {
  .program-aside { display: none; }
  .program-grid { display: block; }
  .mobile-index {
    display: block;
    margin-bottom: 40px;
    border-top: 1px solid var(--navy);
    border-bottom: 1px solid var(--line);
  }
  .mobile-index summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    list-style: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--navy);
  }
  .mobile-index summary span {
    font-family: "Newsreader", Georgia, serif;
    font-size: 12px;
    letter-spacing: 0;
    color: var(--green-text);
  }
  .mobile-index summary::-webkit-details-marker { display: none; }
  .mobile-index summary::after {
    content: "+";
    margin-left: auto;
    font-family: "Newsreader", Georgia, serif;
    font-size: 22px;
    line-height: 1;
    color: var(--green-text);
  }
  .mobile-index[open] summary::after { content: "×"; }
  .mobile-index nav { padding-bottom: 16px; }
  .mobile-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .mobile-index a {
    display: flex;
    gap: 8px;
    padding: 7px 0;
    text-decoration: none;
    font-size: 13px;
    color: var(--muted);
  }
  .mobile-index a span {
    font-family: "Newsreader", Georgia, serif;
    font-size: 10px;
    color: var(--green-text);
  }
}

@media (max-width: 900px) {
  :root { --head: 68px; }

  .head-mail { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { width: 36px; height: 36px; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--head));
    height: calc(100dvh - var(--head));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 28px var(--pad) 44px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s;
  }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; counter-reset: nav; }
  .main-nav > ul li { border-bottom: 1px solid var(--line); counter-increment: nav; }
  .main-nav > ul a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(32px, 7vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -.02em;
  }
  .main-nav > ul a::after { display: none; }
  .main-nav > ul a::before {
    content: "0" counter(nav);
    font-family: "Newsreader", Georgia, serif;
    font-size: 11px;
    letter-spacing: 0;
    color: var(--green-text);
  }
  .nav-mobile-foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 32px;
    font-size: 12px;
    color: var(--muted);
  }
  .nav-mobile-foot p { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
  .nav-mobile-foot a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; width: fit-content; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { min-height: 210px; margin-top: 12px; }
  .hero-seal { width: min(54vw, 240px); }
  .hero-arcs { left: -4%; right: -4%; }
  .scroll-cue { display: none; }
  .hero-foot { margin-top: 24px; }

  .section-head,
  .party-top,
  .manifesto-head,
  .challenge-grid,
  .closing-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { align-items: start; }
  .section-head .section-lede { padding-bottom: 0; }
  .party-copy { padding-top: 0; }
  .party-intro h2 { font-size: clamp(42px, 7vw, 58px); }

  .manifesto-grid { gap: 32px; }
  .manifesto-close { align-items: flex-start; flex-direction: column; gap: 16px; }

  .principles li { grid-template-columns: 34px minmax(0, 1fr); row-gap: 6px; }
  .principles li p { grid-column: 2; }

  .program-hero { min-height: 0; padding-top: 64px; }
  .program-hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .program-tools { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
  .program-hero-arcs { width: 70vw; }

  .area-head { grid-template-columns: 1fr; gap: 20px; }
  .area-metric { max-width: 230px; text-align: left; }
  .point { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }

  .closing-seal { justify-items: start; }
}

/* ---- telefono ------------------------------------------------------------ */

@media (max-width: 700px) {
  .priorities { grid-template-columns: 1fr; }
  .area-index { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 20px 18px 0 0; }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(n+3) { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
  .area-index a {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    grid-template-areas:
      "num label arrow"
      "num title arrow";
    row-gap: 2px;
    align-items: start;
  }
  .i-num { grid-area: num; }
  .i-label { grid-area: label; }
  .i-title { grid-area: title; }
  .i-arrow { grid-area: arrow; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(47px, 13.2vw, 64px); }
  h2 { font-size: clamp(34px, 9vw, 46px); }

  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .section-head .kicker { margin-bottom: 16px; }
  .hero { padding-top: 32px; padding-bottom: 20px; }
  .hero-lede { margin-top: 24px; }
  .hero-actions { gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link { margin-inline: auto; }
  .hero-facts { width: 100%; justify-content: space-between; gap: 16px; }
  .hero-facts dt { font-size: 27px; }
  .hero-facts dd { font-size: 9px; }
  .hero-visual { min-height: 170px; margin-top: 8px; }
  .hero-seal { width: min(52vw, 180px); }

  .party-copy .lead { font-size: 22px; }
  .principles li { padding: 20px 0; }

  .manifesto-head h2 { font-size: clamp(38px, 10vw, 48px); }
  .manifesto-grid h3 { font-size: 28px; }

  .kpi dt { font-size: 42px; }
  .challenge-grid { gap: 24px; }
  .challenge-col li { font-size: 15px; }

  .program-hero { padding-top: 48px; padding-bottom: 40px; }
  .program-hero h1 { font-size: clamp(42px, 11.5vw, 56px); }
  .program-hero-foot { margin-top: 28px; }
  .program-tools > span { white-space: normal; }

  .program-body { padding-top: 32px; }
  .mobile-index { margin-bottom: 32px; }
  .mobile-index ol { grid-template-columns: 1fr; }
  .area { padding-top: 32px; }
  .area + .area { margin-top: 44px; }
  .area-head h2 { font-size: clamp(32px, 8.6vw, 40px); }
  .point { padding: 16px 0; }
  .point h3 { font-size: 15.5px; }
  .area-slogan { padding: 20px; font-size: 19px; }

  .closing { padding-top: 64px; }
  .closing h2 { font-size: clamp(46px, 12vw, 62px); }
  .closing-actions { gap: 18px; }
  .closing-actions .btn { width: 100%; }
  .closing-actions .link { margin-inline: auto; }
  .seal-tile { width: 160px; }

  .footer-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav { gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-foot { margin-top: 20px; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 13px; }
  .hero-facts dt { font-size: 24px; }
  .hero-facts dd { font-size: 8.5px; letter-spacing: .04em; }
}

/* ---- stampa -------------------------------------------------------------- */

@media print {
  @page { size: A4; margin: 16mm 15mm; }

  html { scroll-behavior: auto; }
  body { background: #fff; color: #111; font-size: 10.5pt; line-height: 1.45; }

  .site-head,
  .skip,
  .scroll-progress,
  .program-aside,
  .mobile-index,
  .print-btn,
  .program-tools,
  .hero-visual,
  .hero-actions,
  .hero-foot,
  .closing,
  .site-footer { display: none !important; }

  .program-hero {
    min-height: 0;
    padding: 0 0 8mm;
    border-bottom: 0;
  }
  .program-hero-arcs { display: none; }
  .program-hero .kicker { color: #111; font-size: 8pt; }
  .program-hero h1 { max-width: none; font-size: 25pt; line-height: 1.02; color: #111; }
  .program-hero h1 em { color: #111; }
  .program-hero-foot { display: block; margin-top: 5mm; }
  .program-hero-foot .lead { max-width: none; font-size: 10.5pt; color: #333; }

  .program-body { padding: 0; }
  .program-grid { display: block; }
  .program-content { max-width: none; }
  .area {
    break-inside: avoid;
    margin-top: 8mm;
    padding-top: 6mm;
    border-top: 1px solid #bbb;
    scroll-margin: 0;
  }
  .area:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
  .area-head { grid-template-columns: 1fr 42mm; gap: 6mm; }
  .area-head h2 { font-size: 18pt; line-height: 1.05; color: #111; }
  .area-kicker { margin-bottom: 3mm; color: #333; }
  .area-kicker span { color: #111; }
  .area-metric { border-top: 1px solid #111; }
  .metric-value { color: #111; font-size: 18pt; }
  .metric-label { color: #333; }
  .area-lead { margin-top: 4mm; font-size: 10.5pt; color: #333; }
  .points { margin-top: 5mm; }
  .point { grid-template-columns: 42mm 1fr; gap: 6mm; padding: 3mm 0; border-top: 1px solid #ddd; }
  .point-num { color: #111; }
  .point h3 { font-size: 10pt; color: #111; }
  .point p { font-size: 9.5pt; color: #333; }
  .area-slogan {
    margin-top: 5mm;
    padding: 4mm;
    border-left: 2px solid #111;
    background: #f4f4f4;
    color: #111;
    font-size: 12pt;
  }
  .quote-mark { color: #111; }
  a { color: #111; text-decoration: none; }
}

/* ---- 404 ----------------------------------------------------------------- */

.page-404 h1 { margin-bottom: clamp(20px, 2.4vw, 30px); }
.page-404 .lead { max-width: 44ch; }

/* ---- movimento ridotto --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
