/* Static home composition: preserve the approved layout without entry motion. */
body.home-refresh.home-layout .hero {
  display: block;
  min-height: 0;
  overflow: visible;
}
body.home-refresh.home-layout .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(48px, 5.5vw, 88px) var(--pad) 44px;
}
body.home-refresh.home-layout .hero-copy > * { min-width: 0; }
body.home-refresh.home-layout .hero-copy > .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 28px;
}
body.home-refresh.home-layout .hero h1 {
  grid-column: 1;
  grid-row: 2 / 6;
  max-width: none;
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 6.3rem);
  line-height: 1.06;
}
body.home-refresh.home-layout .hero-copy > .intro {
  grid-column: 2;
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}
body.home-refresh.home-layout .hero-copy > .hero-actions {
  grid-column: 2;
  margin-top: 24px;
}
body.home-refresh.home-layout .hero-copy > .hero-context {
  grid-column: 2;
  margin-top: 20px;
}
body.home-refresh.home-layout .hero-copy > .hero-support {
  grid-column: 2;
  margin-top: 20px;
}
body.home-refresh.home-layout .hero-visual {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding-bottom: 44px;
  background: var(--paper);
}
body.home-refresh.home-layout .hero-photo {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(320px, 46vw, 660px);
  aspect-ratio: auto;
  margin: 0;
  transform: none;
  background: var(--paper);
}
body.home-refresh.home-layout .hero-photo::after { content: none; }
body.home-refresh.home-layout .hero-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}
body.home-refresh.home-layout .hero-seal {
  position: relative;
  top: auto;
  left: auto;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: 64px;
  margin: 12px 0 0 var(--pad);
  border: 0;
}
body.home-refresh.home-layout .hero-caption {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 12px 0 0;
  padding: 16px var(--pad) 16px 24px;
  color: var(--muted);
  text-align: right;
}
body.home-refresh.home-layout .hero-caption span { color: var(--blue); }
body.home-refresh.home-layout #sostienici {
  position: relative;
  z-index: 1;
  margin-top: -28px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
body.home-refresh.home-layout :is(#cinque-per-mille, #donazioni, #sponsorizzazioni) {
  scroll-margin-top: calc(var(--header-height) + 20px);
}
@media (max-width: 1100px) {
  body.home-refresh.home-layout .hero-copy { display: block; padding-top: 48px; }
  body.home-refresh.home-layout .hero h1 { max-width: 1000px; font-size: clamp(3.4rem, 7.5vw, 5.5rem); }
  body.home-refresh.home-layout .hero-copy > .intro { margin-top: 28px; max-width: 64ch; }
  body.home-refresh.home-layout .hero-copy > .hero-context { max-width: 64ch; }
}
@media (max-width: 600px) {
  body.home-refresh.home-layout .hero-copy { padding-top: 38px; padding-bottom: 32px; }
  body.home-refresh.home-layout .hero-copy > .eyebrow { margin-bottom: 22px; letter-spacing: .15em; }
  body.home-refresh.home-layout .hero h1 { font-size: clamp(2.8rem, 11.6vw, 4.2rem); line-height: 1.08; }
  body.home-refresh.home-layout .hero-copy > .intro { margin-top: 24px; }
  body.home-refresh.home-layout .hero-photo { height: clamp(230px, 68vw, 408px); }
  body.home-refresh.home-layout .hero-seal { width: 52px; }
  body.home-refresh.home-layout .hero-caption { font-size: .65rem; letter-spacing: .11em; }
}
