:root {
  --bg: #f5f1ea;
  --surface: #fbf8f3;
  --surface-strong: #ffffff;
  --ink: #231f1b;
  --ink-soft: #5a534c;
  --ink-muted: #81786f;
  --text-muted: var(--ink-muted);
  --heading: var(--ink);
  --line: rgba(61, 50, 42, 0.14);
  --line-strong: rgba(61, 50, 42, 0.22);
  --brand: #6d1822;
  --brand-dark: #3f0f14;
  --gold: #b5853b;
  --gold-soft: #dfc18c;
  --shadow-sm: 0 12px 28px rgba(35, 31, 27, 0.08);
  --shadow-md: 0 22px 44px rgba(35, 31, 27, 0.1);
  --shadow-lg: 0 38px 80px rgba(24, 19, 16, 0.16);
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shell: 1240px;
  --nav-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(223, 193, 140, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 100%);
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

p {
  margin: 0;
  line-height: 1.65;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Shared layout ---------- */

main {
  overflow: hidden;
  padding-top: var(--nav-h);
}

.section {
  padding: 84px 0;
}

.section--quadro {
  padding-top: 78px;
  background: #fff;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.section-head p:last-child {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.path-card,
.info-card,
.kpi-card,
.governance-card,
.split-card,
.archive-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.path-card h3,
.info-card h3,
.governance-card h3,
.archive-card h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.path-card p,
.info-card p,
.governance-card p,
.archive-card p,
.kpi-card__text,
.split-card ul {
  color: var(--ink-soft);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 238, 0.84);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
}

.ud_header__logo,
.ud_footer__logo {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
}

.ud_logo {
  display: block;
  width: 100%;
  height: auto;
}

.ud_logo--header {
  width: 178px;
}

.ud_logo--footer {
  width: 182px;
}

.ud_logo__text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: currentColor;
}

.ud_logo__crest {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.02em;
  fill: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  position: relative;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--brand);
}

.nav-download,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-download {
  background: var(--brand);
  color: #fff;
}

.nav-download:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: #7d1d28;
}

.btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  background: rgba(251, 248, 243, 0.98);
}

.mobile-menu a {
  display: block;
  padding: 14px 6px;
  border-top: 1px solid var(--line);
}

.mobile-menu.is-open {
  display: block;
}

/* ---------- Section nav ---------- */

.section-nav {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.section-nav__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  pointer-events: auto;
}

.section-nav__btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.section-nav__btn:active {
  transform: translateY(0);
}

.section-nav__btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.section-nav__btn--up,
.section-nav__btn--down {
  pointer-events: auto;
}

/* ---------- Year selector / filters ---------- */

.year-nav__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.year-selector,
.filter-group {
  display: flex;
  flex-wrap: wrap;
}

.year-selector {
  gap: 8px;
}

.filter-group {
  gap: 10px;
}

.year-btn,
.filter-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink-soft);
  cursor: pointer;
}

.year-btn {
  padding: 7px 14px;
}

.filter-chip {
  padding: 10px 14px;
}

.year-btn.is-active,
.filter-chip.is-active {
  border-color: rgba(109, 24, 34, 0.18);
  background: rgba(109, 24, 34, 0.08);
  color: var(--brand);
}

.year-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  height: auto;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 17, 15, 0.64) 0%, rgba(19, 17, 15, 0.28) 38%, rgba(19, 17, 15, 0.16) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.12) 0%, rgba(12, 11, 10, 0.36) 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 36px;
  align-items: center;
  padding-top: clamp(24px, 4vh, 40px);
  padding-bottom: clamp(24px, 4vh, 40px);
}

.hero__content {
  max-width: 760px;
  color: #fff;
}

.hero__content h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  line-height: 0.94;
  color: #fff;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: 1.06rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero__panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(23, 19, 17, 0.58);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero__panel-head h2 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.hero__metrics,
.hero__metrics--expanded {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hero__metrics article,
.hero__metrics--expanded article {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
}

.hero__metrics strong,
.hero__metrics--expanded strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--gold-soft);
}

.hero__metrics span,
.hero__metrics--expanded span {
  display: block;
  max-width: 18ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.hero__metrics--expanded article small {
  display: block;
  margin-top: auto;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Paths ---------- */

.section--paths {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
  display: flex;
  align-items: center;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding-bottom: 48px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 133, 59, 0.28);
  box-shadow: var(--shadow-md);
}

.path-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(181, 133, 59, 0.12);
  color: var(--brand);
  font-weight: 700;
}

.path-card__cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(109, 24, 34, 0.08);
  color: var(--brand);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.path-card:hover .path-card__cta {
  transform: translateX(3px);
  background: rgba(109, 24, 34, 0.16);
  opacity: 1;
}

/* ---------- Quadro 2024 ---------- */

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 22px;
}

.overview-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 233, 0.96));
  box-shadow: 0 18px 38px rgba(45, 33, 23, 0.08);
}

.overview-card--featured {
  border-color: rgba(212, 185, 130, 0.28);
  background: linear-gradient(180deg, rgba(43, 35, 28, 0.98), rgba(30, 24, 20, 0.96));
  color: #fff;
}

.overview-card__label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.overview-card--featured .overview-card__label {
  color: rgba(255, 255, 255, 0.66);
}

.overview-card__value {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.5vw, 3rem);
  line-height: 0.92;
  color: var(--heading);
}

.overview-card--featured .overview-card__value {
  color: var(--gold-soft);
}

.overview-card__value small {
  font-family: "Inter", sans-serif;
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.overview-card p {
  max-width: 36ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: inherit;
}

/* ---------- Materiality ---------- */

.section--materialita {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.materialita-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.materialita-step {
  padding: 1.5rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  background: #fff;
}

.materialita-step__index {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b6b4f;
}

.materialita-step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.materialita-step p {
  line-height: 1.6;
  color: #4b4b4b;
}

.section--materiality {
  background: #fff;
}

.materiality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.materiality-card {
  padding: 1.5rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  background: #fff;
}

.materiality-card__kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b6b4f;
}

.materiality-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.materiality-card p {
  color: #4a4a4a;
  line-height: 1.6;
}

/* ---------- Identity ---------- */

.section--identity {
  padding-top: 72px;
  padding-bottom: 48px;
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 40px;
  align-items: start;
}

.identity-copy {
  max-width: 760px;
}

.identity-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  text-wrap: balance;
}

.identity-actions {
  margin-top: 22px;
}

.identity-stack {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 12px;
}

.info-card--identity {
  min-height: 0;
  padding: 26px 26px 24px;
}

.info-card--identity h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.info-card--identity p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Timeline v2 ---------- */

.section--timeline {
  overflow: clip;
  background: #fff;
}

.timeline-v2 {
  display: grid;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.timeline-v2__rail-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.timeline-v2__rail-wrap::-webkit-scrollbar {
  display: none;
}

.timeline-v2__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(92px, 1fr));
  gap: 0;
  min-width: 980px;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(20, 33, 61, 0.16);
}

.timeline-v2__node {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-rows: 14px 34px 42px;
  justify-items: center;
  align-items: start;
  row-gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(20, 33, 61, 0.42);
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease;
}

.timeline-v2__node::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.timeline-v2__node:hover {
  color: rgba(20, 33, 61, 0.72);
}

.timeline-v2__node.is-active {
  color: var(--ink);
}

.timeline-v2__dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(20, 33, 61, 0.24);
  border-radius: 50%;
  background: #fff;
  transform: translateY(calc(-1.4rem - 5px));
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.timeline-v2__node.is-active .timeline-v2__dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(109, 24, 34, 0.12);
  transform: translateY(calc(-1.4rem - 5px)) scale(1.04);
}

.timeline-v2__year {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 78px;
  margin: 0 auto;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.65rem;
  line-height: 1;
  text-align: center;
  color: currentColor;
}

.timeline-v2__short {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  inline-size: 78px;
  margin: 0 auto;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  color: currentColor;
}

.timeline-v2__node:focus-visible {
  outline: 2px solid rgba(109, 24, 34, 0.45);
  outline-offset: 4px;
}

.timeline-v2__panel {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  min-height: 220px;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(20, 33, 61, 0.12);
}

.timeline-v2__panel-year {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(20, 33, 61, 0.18);
}

.timeline-v2__panel-body {
  max-width: 50rem;
}

.timeline-v2__panel-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 33, 61, 0.56);
}

.timeline-v2__panel-body h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.06;
  color: var(--ink);
}

.timeline-v2__panel-body p {
  max-width: 43rem;
  color: rgba(20, 33, 61, 0.76);
  line-height: 1.75;
}

.timeline-v2__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-v2__facts li {
  padding-bottom: 0.16rem;
  border-bottom: 1px solid rgba(20, 33, 61, 0.1);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(20, 33, 61, 0.64);
}

/* ---------- Filiera ---------- */

.section--filiera-slider {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.filiera-slider-shell {
  position: relative;
}

.filiera-slider {
  width: 100%;
  overflow: hidden;
}

.filiera-slide-row {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.filiera-slide-col {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 500px;
}

.filiera-slide-hero {
  position: absolute;
  top: 0;
  right: 0;
  width: min(58%, 720px);
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.filiera-slide-hero img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.filiera-slide-content {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: min(46%, 560px);
  min-height: 290px;
  padding: 40px 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.filiera-slide-content__intro {
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.filiera-slide-content h3 {
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 0.98;
  color: var(--ink);
}

.filiera-slide-content__meta {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.filiera-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.filiera-indicator__btn {
  display: inline-block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(61, 50, 42, 0.18);
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}

.filiera-indicator__btn:hover {
  background: rgba(109, 24, 34, 0.34);
}

.filiera-indicator__btn.is-active {
  width: 26px;
  background: var(--brand);
}

/* ---------- Performance ---------- */

.performance-year-nav .year-selector:empty::before,
.kpi-grid:empty::before {
  content: "I dati non sono stati caricati o non sono presenti KPI per questa selezione.";
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.section--performance {
  background: #fff;
}

.performance-head,
.performance-toolbar,
.performance-year-nav {
  display: grid;
  gap: 18px;
}

.performance-year-nav {
  gap: 8px;
}

.performance-note {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.performance-disclaimer {
  justify-self: end;
  max-width: 86ch;
  margin: 0;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-left: 2px solid rgba(109, 24, 34, 0.18);
  background: rgba(109, 24, 34, 0.04);
  font-size: 0.6rem;
  line-height: 1.45;
  color: var(--ink-muted);
  text-align: right;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.kpi-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 250px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.kpi-card.is-hidden {
  display: none;
}

.kpi-card__label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.kpi-card__value {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  color: var(--brand);
}

.kpi-card__unit {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--ink-soft);
}

.kpi-card__text {
  margin-top: 18px;
  font-size: 0.95rem;
}

.kpi-card__value-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.year-btn[aria-pressed="true"] {
  border-color: rgba(109, 24, 34, 0.2);
  background: rgba(109, 24, 34, 0.08);
  color: var(--brand);
}

.filter-chip[aria-pressed="true"] {
  border-color: rgba(109, 24, 34, 0.18);
  background: rgba(109, 24, 34, 0.08);
  color: var(--brand);
}

/* ---------- Evidenze ---------- */

.section--evidenze {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.evidenze-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.evidenza-card {
  padding: 1.4rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  background: #fff;
}

.evidenza-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.evidenza-card p {
  color: #4a4a4a;
  line-height: 1.65;
}

/* ---------- Governance ---------- */
.governance-copy {
  min-width: 0;
}

.section--governance {
  background: #fff;
}

.governance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 56px;
  align-items: center;
}

.governance-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.governance-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
}

.governance-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.governance-card__label {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b6b4f;
}

.governance-media {
  position: relative;
  margin: 0;
}

.governance-media__image {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.governance-media__caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Territorio ---------- */

.section--landscape {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.landscape-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.landscape-media {
  position: relative;
  margin: 0;
}

.landscape-media__image {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.landscape-media__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landscape-copy {
  max-width: 560px;
  padding-top: 10px;
}

.landscape-quote {
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  color: var(--ink);
}

/* ---------- Persone e territorio ---------- */

.section--people-territory {
  background: #fff;
}

.split-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.split-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
}

.split-card__intro {
  margin-bottom: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.split-card h3 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.split-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.65;
}

.split-card li {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Innovazione ---------- */

.section--innovation {
  background:
    radial-gradient(circle at top right, rgba(181, 133, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #efe7dc 100%);
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.innovation-card {
  padding: 1.4rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  background: #fff;
}

.innovation-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.innovation-card p {
  line-height: 1.65;
  color: #4b4b4b;
}

/* ---------- Archivio ---------- */

.section--archive {
  background: #fff;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}

.archive-card__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(181, 133, 59, 0.12);
  color: var(--brand);
  font-weight: 700;
}

.archive-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.archive-card.is-current {
  border-color: rgba(109, 24, 34, 0.18);
}

/* ---------- Footer ---------- */

.ud_footer {
  border-top: 1px solid var(--line);
  background: #f6f1e8;
  color: var(--ink);
}

/* MAIN */

.ud_footer__main {
  padding: 40px 0 28px;
}

.ud_footer__shell {
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr;
  gap: 24px 48px;
  align-items: start;
}

/* Logo */

.ud_footer__logo {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
}

.ud_logo--footer {
  width: 170px;
}

/* Info */

.ud_footer__info,
.ud_footer__meta {
  min-width: 0;
}

.ud_footer__info {
  display: grid;
  gap: 10px;
}

.ud_footer__info p,
.ud_footer__meta p,
.ud_footer__note,
.ud_footer__responsibility {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Meta */

.ud_footer__meta {
  grid-column: 2;
}

/* Legal */

.ud_footer__terms {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ud_footer__terms a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.ud_footer__terms a:hover {
  color: var(--brand);
}

/* SUBFOOTER */

.ud_footer__sub {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  background: #ece4d8;
}

.ud_footer__subshell {
  display: grid;
  grid-template-columns: 1fr auto 48px;
  gap: 18px;
  align-items: center;
}

.ud_footer__responsibility {
  text-align: center;
}

/* Back to top */

.ud_footer__backtop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ud_footer__backtop:hover {
  transform: translateY(-1px);
  background: #7d1d28;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero__grid,
  .identity-grid,
  .governance-grid,
  .archive-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    height: 100%;
    align-items: center;
  }

  .hero__panel {
    max-width: 520px;
    padding: 1.5rem;
  }

  .path-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ud_footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .filiera-slide-col {
    height: 460px;
  }

  .filiera-slide-hero {
    width: min(56%, 620px);
  }

  .filiera-slide-content {
    width: min(50%, 500px);
    min-height: 260px;
    padding: 32px 28px;
  }

  .filiera-slide-content__intro {
    font-size: 1.02rem;
  }

  .filiera-slide-content h3 {
    margin-top: 24px;
  }

  .ud_footer__shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ud_footer__meta,
  .ud_footer__terms {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .timeline-v2 {
    gap: 2rem;
  }

  .timeline-v2__panel {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .timeline-v2__panel-year {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .materialita-process,
  .materiality-grid,
  .evidenze-grid,
  .innovation-grid {
    grid-template-columns: 1fr;
  }

  .hero__metrics article,
  .hero__metrics--expanded article {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .filiera-slide-col {
    display: grid;
    grid-template-rows: auto auto;
    gap: 18px;
    height: auto;
  }

  .filiera-slide-hero,
  .filiera-slide-content {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .filiera-slide-hero {
    order: 1;
    height: 320px;
  }

  .filiera-slide-content {
    order: 2;
    min-height: 0;
    padding: 26px 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .filiera-slide-content__intro {
    font-size: 0.98rem;
  }

  .filiera-slide-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 780px) {
  :root {
    --nav-h: 74px;
  }

  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .main-nav,
  .section-nav,
  .nav-download {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.98;
  }

  .section-head p:last-child {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero {
    min-height: calc(100svh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
  }

  .hero__grid {
    min-height: calc(100svh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    grid-template-columns: 1fr;
    align-items: end;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero__image {
    object-position: center 42%;
  }

  .hero__content h1 {
    max-width: 9ch;
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    line-height: 0.92;
  }

  .hero__lead {
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    min-height: 42px;
    padding: 0 15px;
    font-size: 0.92rem;
  }

  .hero__panel {
    padding: 18px;
    border-radius: 24px;
  }

  .hero__panel-head h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
  }

  .hero__metrics,
  .hero__metrics--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__metrics article,
  .hero__metrics--expanded article {
    min-height: 132px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .hero__metrics strong,
  .hero__metrics--expanded strong {
    margin-bottom: 4px;
    font-size: 1.65rem;
  }

  .hero__metrics span,
  .hero__metrics--expanded span {
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero__metrics--expanded article small {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .path-grid,
  .overview-grid,
  .kpi-grid,
  .split-cards,
  .identity-stack,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .kpi-grid,
  .archive-grid,
  .split-cards,
  .evidenze-grid,
  .innovation-grid {
    gap: 14px;
  }

  .path-card {
    min-height: 0;
    padding: 20px 18px 52px;
  }

  .path-card h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
  }

  .path-card p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .overview-grid {
    margin: 24px 0 12px;
  }

  .overview-card,
  .overview-card--featured {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .overview-card__label {
    margin-bottom: 10px;
  }

  .overview-card__value {
    margin-bottom: 8px;
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    line-height: 0.96;
  }

  .overview-card__value small {
    font-size: 0.56em;
    line-height: 1.1;
  }

  .overview-card p {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .performance-toolbar {
    gap: 14px;
  }
  
  .performance-disclaimer {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .filter-group {
    gap: 8px;
  }

  .filter-chip,
  .year-btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .kpi-card {
    min-height: 0;
    padding: 20px 18px;
  }

  .kpi-card__value {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .kpi-card__value-row {
    gap: 6px;
  }

  .kpi-card__meta {
    margin-top: 10px;
    font-size: 0.8rem;
  }

  .kpi-card__text {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .timeline-v2 {
    gap: 1.4rem;
  }

  .timeline-v2__panel {
    min-height: 0;
    gap: 0.85rem;
    padding-top: 1.1rem;
  }

  .timeline-v2__panel-body h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .timeline-v2__panel-body p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .filiera-slide-col {
    gap: 14px;
  }

  .filiera-slide-content {
    padding: 20px 18px;
  }

  .filiera-slide-content h3 {
    margin-top: 16px;
    font-size: 1.65rem;
  }

  .filiera-slide-content__intro,
  .filiera-slide-content__meta {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .evidenza-card,
  .innovation-card,
  .archive-card,
  .split-card,
  .governance-card,
  .info-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .evidenza-card h3,
  .innovation-card h3,
  .archive-card h3,
  .governance-card h3,
  .split-card h3 {
    font-size: 1.25rem;
  }

  .governance-media__image {
    min-height: 280px;
  }

  .split-card__intro {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .split-card ul {
    gap: 10px;
    padding-left: 18px;
  }

  .split-card li {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .ud_footer__sub {
    grid-template-columns: 1fr;
  }

  .ud_footer__responsibility {
    text-align: left;
  }

  .ud_footer__backtop {
    justify-self: start;
  }

  .ud_logo--footer {
    width: 160px;
  }

  .section--identity {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .section--timeline {
    padding-top: 6px;
    padding-bottom: 72px;
  }

  .ud_footer__main {
    padding: 32px 0 24px;
  }

  .ud_footer__subshell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ud_footer__responsibility,
  .ud_footer__note {
    text-align: left;
  }

  .ud_footer__backtop {
    justify-self: start;
  }

  .ud_logo--footer {
    width: 154px;
  }
}

@media (max-width: 560px) {
  .filiera-slide-hero {
    height: 260px;
    border-radius: 22px;
  }

  .filiera-slide-hero img {
    border-radius: 22px;
  }

  .filiera-slide-content {
    border-radius: 20px;
  }

  .filiera-indicator {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .path-card,
  .kpi-card,
  .btn,
  .nav-download,
  .ud_footer__backtop {
    transition: none;
  }
}
