/* ==========================================================================
   Associazione Pro-Montemontanaro — foglio di stile
   ========================================================================== */

:root {
  --red: #9d0a0e;
  --red-dark: #74070a;
  --red-tint: #f6e8e4;
  --ink: #2b211b;
  --ink-2: #5a4c42;
  --ink-3: #8a7a6d;
  --paper: #fbf7f0;
  --paper-2: #f3ebde;
  --card: #ffffff;
  --line: #e5d9c7;
  --dark: #241b16;
  --dark-2: #33271f;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(43, 33, 27, .06), 0 2px 8px -2px rgba(43, 33, 27, .10);
  --shadow: 0 1px 2px rgba(43, 33, 27, .06), 0 14px 32px -12px rgba(43, 33, 27, .22);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Google Translate (GTranslate) sposta il body: lo neutralizziamo */
body { top: 0 !important; position: static !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong, b { font-weight: 600; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.nav__cta { white-space: nowrap; }
.fact__value, .timeline b, .news-item__date, .feature time, .order-box .price, .notfound .big { font-variant-numeric: lining-nums; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgba(157, 10, 14, .7); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--paper-2); color: var(--red-dark); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(2px); }
.btn--ghost-light:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar ---------- */
.topbar { background: var(--dark); color: #e9dfd2; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__place { margin: 0; letter-spacing: .02em; opacity: .85; }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #f3eadf; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__mail { display: inline-flex; align-items: center; gap: 6px; }
.topbar__mail svg { width: 15px; height: 15px; opacity: .8; }

/* GTranslate: menu a tendina con bandiere */
.gtranslate_wrapper { min-height: 28px; display: flex; align-items: center; }
.gtranslate_wrapper .gt_selected { background: transparent !important; }
.gtranslate_wrapper .gt_selected a { color: #f3eadf !important; border: 1px solid rgba(255, 255, 255, .25) !important; border-radius: 6px; width: auto !important; padding: 2px 26px 2px 8px !important; font-size: 13px !important; }
.gtranslate_wrapper .gt_selected a::after { filter: invert(1) brightness(1.4); }
.gtranslate_wrapper .gt_option { position: absolute !important; z-index: 60; background: #fff !important; border-radius: 8px; box-shadow: var(--shadow); }
.gtranslate_wrapper .gt_option a { color: var(--ink) !important; }
.gtranslate_wrapper .gt_option a:hover { background: var(--red-tint) !important; }
.gtranslate_wrapper .gt_white_content { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: auto; height: 54px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__kicker { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--red); letter-spacing: .005em; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 12px;
  font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none;
  border-radius: 8px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover { color: var(--red); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }

.nav-toggle { display: none; }

@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .brand__mark { height: 46px; }
  .brand__name { font-size: 1.32rem; }
  .brand__kicker { font-size: .64rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--card); color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 12px var(--gutter) 22px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(43, 33, 27, .35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li + li { border-top: 1px solid var(--line); }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.08rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 22px; margin-top: -11px; background: var(--red); border-radius: 0 3px 3px 0; }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 640px) {
  .topbar__place, .topbar__mail span { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .topbar__right { gap: 14px; }
}
@media (max-width: 380px) {
  .brand__kicker { letter-spacing: .18em; }
  .brand__name { font-size: 1.18rem; }
  .brand__mark { height: 40px; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, .15) 0%, rgba(20, 12, 8, 0) 35%, rgba(20, 12, 8, .55) 72%, rgba(20, 12, 8, .82) 100%),
    linear-gradient(90deg, rgba(20, 12, 8, .45) 0%, rgba(20, 12, 8, 0) 60%);
}
.hero__content { padding-block: 120px clamp(110px, 14vw, 150px); }
.hero .eyebrow { color: #fff; opacity: .92; }
.hero h1 { color: #fff; font-size: clamp(3.1rem, 9vw, 6.6rem); font-weight: 600; line-height: .98; margin-bottom: .18em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero__tagline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.25; margin: 0 0 1.6em; max-width: 26ch; color: #fbf3ea; }

/* fatti in evidenza */
.facts { position: relative; z-index: 2; margin-top: -72px; }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 26px 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--red); margin-bottom: 8px; }
.fact__value small { font-size: .55em; font-weight: 600; margin-left: 2px; }
.fact__label { font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 860px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .fact { padding: 20px 18px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--paper-2); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.section__head p { color: var(--ink-2); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } }

/* immagine con cornice */
.framed { position: relative; margin: 0; }
.framed img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.framed::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--red); border-radius: var(--radius); opacity: .35;
}
.framed--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) {
  .framed { max-width: 460px; margin-inline: auto 18px; }
}
.intro-text h2 { margin-bottom: .6em; }
.signoff { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--red); margin: 1.4em 0 1.2em; padding-left: 18px; border-left: 3px solid var(--red); }

/* ---------- galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item figcaption, .gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 14px 12px; font-size: .92rem; font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0), rgba(20, 12, 8, .72));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery__cap { opacity: 1; transform: none; } }
.span-3 { grid-column: span 3; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.rows-2 { grid-row: span 2; }
.rows-3 { grid-row: span 3; }
.rows-4 { grid-row: span 4; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery .gallery__item { grid-column: span 1; grid-row: span 1; }
  .gallery .gallery__item.span-7, .gallery .gallery__item.span-6 { grid-column: span 2; grid-row: span 2; }
  .gallery .gallery__item.rows-4 { grid-row: span 2; }
}

/* griglia semplice di immagini (pagine interne) */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.photo-grid .gallery__item { aspect-ratio: 4 / 3; }

/* ---------- card / esplora ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .35em; }
.card__body p { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.2em; }
.card__link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link svg { width: 18px; height: 18px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* novità in evidenza (home) */
.feature {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.feature__cover { margin: 0; justify-self: center; max-width: 300px; }
.feature__cover img { border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 22px 40px -16px rgba(43, 33, 27, .45); transform: rotate(-1.5deg); }
.feature time { display: block; font-weight: 700; color: var(--red); font-size: .95rem; letter-spacing: .04em; margin-bottom: 8px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__cover { max-width: 220px; } }

/* banda donazioni */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url("../img/panorama-dalle-mura-800.jpg") center / cover no-repeat;
  mix-blend-mode: luminosity;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--red-dark) 0%, rgba(157, 10, 14, .92) 55%, rgba(157, 10, 14, .78) 100%);
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #f8e5e2; margin: 0; font-size: 1.12rem; }
.cta-band .eyebrow { color: #fbdcd7; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.cta-band__iban { font-size: .95rem; color: #fbdcd7; }
.cta-band__iban code { color: #fff; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .98rem; letter-spacing: .02em; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-self: start; } }

/* ---------- page hero (pagine interne) ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 12, 8, .78) 0%, rgba(20, 12, 8, .45) 55%, rgba(20, 12, 8, .2) 100%); }
.page-hero__content { padding-block: clamp(72px, 10vw, 130px) clamp(56px, 7vw, 92px); max-width: 760px; }
.page-hero .eyebrow { color: #f6d9d4; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; color: #f6ece2; margin: 0; }
.page-hero--plain { background: var(--paper-2); color: var(--ink); }
.page-hero--plain::before { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .eyebrow { color: var(--red); }
.page-hero--plain p { color: var(--ink-2); }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; opacity: .9; }
.breadcrumb a { color: inherit; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .6; }

/* ---------- testo lungo ---------- */
.prose { font-size: 1.1rem; line-height: 1.78; }
.prose > * { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose .dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700; color: var(--red);
  font-size: 4.4em; line-height: .82; padding: .06em .1em 0 0;
}
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.prose figcaption, figure figcaption.caption { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--ink-3); font-style: italic; }
.prose .fig-right { float: right; width: min(42%, 340px); margin: .4rem 0 1.4rem 2rem; }
.prose .fig-left { float: left; width: min(42%, 340px); margin: .4rem 2rem 1.4rem 0; }
.prose .fig-wide { max-width: none; }
.prose .clear { clear: both; }
@media (max-width: 640px) {
  .prose .fig-right, .prose .fig-left { float: none; width: 100%; margin: 1.6rem 0; }
}
.prose a.zoom { display: block; cursor: zoom-in; }

.note {
  max-width: 68ch; margin: 1.6rem 0; padding: 18px 22px;
  background: var(--red-tint); border-left: 3px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem; line-height: 1.6;
}
.note p:last-child { margin: 0; }

/* layout articolo + colonna laterale */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.article-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout__aside { position: static; order: -1; }
}

/* cronologia */
.timeline-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 10px; box-shadow: var(--shadow-sm); }
.timeline-box summary { list-style: none; cursor: default; }
.timeline-box summary::-webkit-details-marker { display: none; }
.timeline-box h2 { font-size: 1.6rem; margin: 0 0 14px; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - var(--header-h) - 150px); overflow: auto; }
.timeline li { position: relative; padding: 0 0 16px 22px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 2px solid var(--red); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
@media (max-width: 1100px) {
  .timeline-box summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
  .timeline-box summary::after { content: "+"; font-size: 1.6rem; color: var(--red); line-height: 1; margin-bottom: 14px; }
  .timeline-box[open] summary::after { content: "−"; }
  .timeline { max-height: none; columns: 2; column-gap: 28px; }
  .timeline li { break-inside: avoid; }
}
@media (max-width: 560px) { .timeline { columns: 1; } }

/* indice sezioni */
.toc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 14px; }
.toc a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.toc a:hover { color: var(--red); }

/* ---------- associazione ---------- */
.info-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.info-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-list svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 12px; }
.info-list strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; margin-bottom: 4px; }
.info-list span { color: var(--ink-2); font-size: .98rem; line-height: 1.5; display: block; }
@media (max-width: 860px) { .info-list { grid-template-columns: 1fr; } }

.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.board li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; text-align: center; }
.board .monogram {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--red-tint); color: var(--red); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  border: 1.5px solid rgba(157, 10, 14, .25);
}
.board .role { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.board .name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.board li.is-lead { border-color: rgba(157, 10, 14, .35); box-shadow: var(--shadow-sm); }
.board li.is-lead .monogram { background: var(--red); color: #fff; }

/* ---------- partecipazione / donazioni ---------- */
.donate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .donate { grid-template-columns: 1fr; } }
.donate-card {
  position: relative; background: var(--card); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden;
}
.donate-card__head { background: var(--red); color: #fff; padding: 22px 28px; display: flex; align-items: center; gap: 14px; }
.donate-card__head svg { width: 30px; height: 30px; flex: none; }
.donate-card__head h2 { color: #fff; font-size: 1.7rem; margin: 0; }
.donate-card__body { padding: 8px 28px 28px; }
.donate-card dl { margin: 0; }
.donate-card .row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.donate-card .row:last-child { border-bottom: 0; }
.donate-card dt { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.donate-card dd { margin: 0; font-weight: 600; font-size: 1.08rem; }
@media (max-width: 520px) { .donate-card .row { grid-template-columns: 1fr; gap: 2px; } }
.iban-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.iban { font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace; font-size: 1rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px;
  border: 1.5px solid var(--red); border-radius: 999px; background: transparent; color: var(--red);
  font: 600 .88rem/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--red); color: #fff; }
.copy-btn.is-done { background: #2f6b3a; border-color: #2f6b3a; color: #fff; }

.ways { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ways li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ways .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.ways .ico svg { width: 22px; height: 22px; }
.ways strong { display: block; font-size: 1.05rem; }
.ways span { color: var(--ink-2); font-size: .98rem; line-height: 1.5; }

/* ---------- novità ---------- */
.news { display: grid; gap: clamp(28px, 4vw, 44px); }
.news-item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px);
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(22px, 3.5vw, 44px); box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) { .news-item { grid-template-columns: 1fr; } }
.news-item__media { display: grid; gap: 10px; align-content: start; }
.news-item__cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(43, 33, 27, .5); background: var(--paper-2); cursor: zoom-in; }
.news-item__cover img { width: 100%; transition: transform .5s; }
.news-item__cover:hover img { transform: scale(1.03); }
.news-item__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.news-item__thumbs a { display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.news-item__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-item__thumbs a:hover img { transform: scale(1.05); }
@media (max-width: 820px) { .news-item__media { max-width: 300px; } }
.news-item__date { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); font-size: .95rem; letter-spacing: .03em; margin-bottom: 10px; }
.news-item__date svg { width: 18px; height: 18px; }
.news-item h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin-bottom: .45em; }
.news-item p { color: var(--ink-2); }
.credits { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 1.2em; font-size: 1rem; }
.credits dt { color: var(--ink-3); }
.credits dd { margin: 0; font-weight: 600; color: var(--ink); }
.order-box { margin-top: 18px; padding: 18px 20px; background: var(--paper); border: 1px dashed #d6c5ad; border-radius: var(--radius-sm); font-size: 1rem; }
.order-box h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.order-box p { margin: 0 0 10px; color: var(--ink-2); }
.order-box .price { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; font-weight: 700; color: var(--ink); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; margin-left: 8px; }

/* ---------- contatti ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-list a, .contact-list span { font-weight: 600; word-break: break-word; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(157, 10, 14, .12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.check, .field label.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .97rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.form-note { font-size: .88rem; color: var(--ink-3); margin: 0; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e8f3ea; color: #1f5a2b; border: 1px solid #b9dcc0; }
.form-status.is-error { display: block; background: #fbeaea; color: #8c1d18; border: 1px solid #efc2bf; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- privacy ---------- */
.legal { font-size: 1.02rem; }
.legal p { max-width: 75ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #d9cdbf; font-size: .98rem; }
.site-footer a { color: #f1e7da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 36px; padding-block: clamp(56px, 7vw, 84px) 40px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand .brand__mark { height: 64px; }
.footer__brand .brand__kicker { color: #cdbfae; }
.footer__brand .brand__name { color: #fff; font-size: 1.4rem; white-space: nowrap; }
.footer__brand p { max-width: 34ch; color: #cbbfb1; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a8998a; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__iban { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9rem; color: #fff; display: block; margin: 4px 0 12px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #a8998a; }
.footer__bottom ul { display: flex; gap: 20px; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16, 10, 7, .94); color: #fff;
}
.lightbox::backdrop { background: rgba(16, 10, 7, .7); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 64px 72px 12px; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__caption { text-align: center; padding: 10px 24px 24px; font-size: 1rem; color: #eadfd3; min-height: 3em; }
.lightbox__caption .count { display: block; font-size: .82rem; opacity: .65; margin-top: 2px; letter-spacing: .06em; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
@media (max-width: 640px) {
  .lightbox__stage { padding: 64px 8px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -58px; transform: none; }
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
  .lightbox__caption { padding-inline: 72px; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; color: var(--red); line-height: 1; margin: 0; }

/* ---------- animazioni leggere ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- stampa ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .lightbox, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { background: none; color: #000; }
  .page-hero::before, .page-hero__media { display: none; }
  .page-hero h1, .page-hero p { color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* etichette dentro hero e banda rossa: stesso stile delle altre */
.page-hero .eyebrow, .cta-band .eyebrow, .hero .eyebrow { font: 700 .8rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.nowrap { white-space: nowrap; }
h1, h2, h3 { font-variant-numeric: lining-nums; }

/* ---------- video (home) ---------- */
.video-section { background: var(--dark); color: #e9dfd2; }
.video-section h2 { color: #fff; }
.video-section .eyebrow { color: #f0b9b1; }
.video-section .lead { color: #efe5d9; }
.video-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.video-frame { justify-self: center; width: 100%; max-width: 360px; }
.video-frame video {
  display: block; width: 100%; height: auto; aspect-ratio: 608 / 1080; object-fit: cover;
  background: #000; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 34px 70px -24px rgba(0, 0, 0, .75);
}
.video-meta { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.video-meta svg { width: 20px; height: 20px; color: #f0b9b1; }
.video-credits { font-size: .95rem; line-height: 1.6; color: #bcae9f; border-left: 2px solid rgba(255, 255, 255, .2); padding-left: 14px; margin-bottom: 1.6em; }
@media (max-width: 860px) {
  .video-split { grid-template-columns: 1fr; }
  .video-text { order: -1; }
  .video-frame { max-width: 320px; }
}
.video-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.video-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.video-link svg { width: 20px; height: 20px; }
