:root {
  --ink: #1c1f16;
  --ink-soft: #3a4030;
  --paper: #eef1ea;
  --paper-deep: #dde3d4;
  --olive: #5c6b3c;
  --olive-mid: #9db84f;
  --olive-soft: #AFC63A;
  --olive-deep: #3f4b28;
  --brass: #8f7340;
  --white: #ffffff;
  --glass: rgba(238, 241, 234, 0.88);
  --shadow: 0 1.25rem 2.5rem rgba(28, 31, 22, 0.18);
  --radius: 0.35rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(92, 107, 60, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(143, 115, 64, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-solid {
  background: rgba(238, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(28, 31, 22, 0.08);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.site-header__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header.is-solid .site-header__brand {
  color: var(--ink);
}

.site-header__logos {
  position: relative;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
}

.site-header__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.3s var(--ease);
}

.site-header__logo--dark {
  display: none;
}

.site-header.is-solid .site-header__logo--light {
  display: none;
}

.site-header.is-solid .site-header__logo--dark {
  display: block;
  box-shadow: 0 0 0 2px rgba(28, 31, 22, 0.12);
}

.site-header.is-solid .site-header__logo--light {
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-header.is-solid .site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.75;
  outline: none;
}

.site-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  opacity: 1 !important;
  overflow: hidden;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  opacity: 0.9 !important;
}

.site-nav__cta-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.site-header.is-solid .site-nav__cta {
  background: #25d366;
  color: #fff !important;
}

@media (max-width: 860px) {
  .site-nav a:not(.site-nav__cta) {
    display: none;
  }

  .site-nav__cta {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
  }

  /* aria-label already names the control; hide text fully to avoid overflow */
  .site-nav__cta-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    width: calc(100% - 1.5rem);
  }

  .site-header__name {
    display: none;
  }

  .site-header__logos {
    width: 2.85rem;
    height: 2.85rem;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn--primary {
  background: #9db84f;
  color: #1c1f16;
  box-shadow: 0 0.55rem 1.4rem rgba(157, 184, 79, 0.45);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #8aa643;
  color: #1c1f16;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.btn--accent {
  background: var(--olive-soft);
  color: var(--ink);
  box-shadow: 0 0.55rem 1.4rem rgba(175, 198, 58, 0.4);
}

.btn--accent:hover,
.btn--accent:focus-visible {
  background: #9bb532;
}

.btn--daily,
.hero__actions .btn--daily {
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 0.55rem 1.4rem rgba(92, 107, 60, 0.35);
}

.btn--daily:hover,
.btn--daily:focus-visible,
.hero__actions .btn--daily:hover,
.hero__actions .btn--daily:focus-visible {
  background: var(--olive-deep);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 31, 22, 0.28);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--olive);
  color: var(--olive-deep);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 24, 14, 0.55) 0%, rgba(20, 24, 14, 0.18) 38%, rgba(20, 24, 14, 0.55) 72%, rgba(20, 24, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(63, 75, 40, 0.28) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2.5rem));
  padding: calc(var(--header-h) + 2rem) 0 5.5rem;
  text-align: center;
  animation: rise-in 1s var(--ease) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo {
  width: 11rem;
  height: 11rem;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.55),
    0 1rem 2rem rgba(0, 0, 0, 0.35);
  animation: logo-in 1.1s var(--ease) 0.15s both;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__brand {
  margin-top: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__tagline {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  text-wrap: balance;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .hero__actions {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    justify-items: center;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    gap: 0.65rem;
  }

  .hero__actions .btn {
    width: fit-content;
    max-width: 100%;
    min-height: 2.85rem;
    padding-inline: 1.1rem;
  }

  .hero__actions .btn--daily {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 2.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  opacity: 0.85;
}

.hero__scroll span {
  display: block;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0.4rem auto 0;
  border-radius: 50%;
  background: var(--white);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0.9rem);
    opacity: 0;
  }
}

/* ——— Shared section bits ——— */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0.55rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Story ——— */
.story {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  text-align: center;
}

.story__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ——— Menu band ——— */
.menu-band {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 8vw, 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.menu-band__copy p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.menu-band__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.menu-band__visual {
  margin: 0;
  overflow: hidden;
  max-height: 34rem;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.menu-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(0.94);
  transition: transform 0.8s var(--ease);
}

.menu-band__visual:hover img {
  transform: scale(0.97);
}

@media (max-width: 860px) {
  .menu-band {
    grid-template-columns: 1fr;
  }

  .menu-band__visual {
    width: 90%;
    max-height: none;
    margin-inline: auto;
  }

  .menu-band__visual img {
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .menu-band__visual:hover img {
    transform: none;
  }
}

/* ——— Gallery / slideshow ——— */
.gallery {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 9vw, 6rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gallery__copy p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

.gallery__source {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.gallery__source a {
  color: var(--olive-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(92, 107, 60, 0.35);
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.gallery__source a:hover,
.gallery__source a:focus-visible {
  color: var(--olive);
  text-decoration-color: currentColor;
  outline: none;
}

.gallery__visual {
  min-width: 0;
}

.slideshow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.slideshow__viewport {
  position: relative;
  overflow: hidden;
  min-height: clamp(16rem, 38vw, 28rem);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.2rem 1.25rem 1.15rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 8, 0.84) 100%);
}

.slide figcaption strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.slide figcaption span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

.slideshow__nav {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 31, 22, 0.9);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.slideshow__nav:hover,
.slideshow__nav:focus-visible {
  transform: scale(1.06);
  background: var(--olive);
  outline: none;
}

.slideshow__dots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.slideshow__dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 31, 22, 0.18);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.slideshow__dot.is-active {
  background: var(--olive);
  transform: scale(1.2);
}

.slideshow__empty {
  min-height: clamp(16rem, 38vw, 28rem);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--paper-deep);
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__copy {
    order: -1;
  }
}

@media (max-width: 700px) {
  .slideshow {
    grid-template-columns: 1fr;
  }

  .slideshow__nav {
    display: none;
  }

  .slideshow__viewport {
    min-height: 18rem;
  }
}

/* ——— Place ——— */
.place {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 9vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.place__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.place address {
  margin-top: 1.25rem;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.45;
}

.place__hint {
  margin-top: 0.85rem;
  color: var(--ink-soft);
}

.place__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.place__map {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(28, 31, 22, 0.1);
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.place__map iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  filter: grayscale(0.25) contrast(1.05) saturate(0.9);
}

@media (max-width: 860px) {
  .place {
    grid-template-columns: 1fr;
  }
}

main {
  flex: 1 0 auto;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 6.5rem 1.25rem 3rem;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  color: var(--white);
  background: transparent;
  overflow: visible;
}

/* Base verde chiaro sagomato a pennello (bordo top frastagliato) */
.site-footer::before {
  content: "";
  position: absolute;
  left: -38%;
  right: -38%;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--olive-soft);
  -webkit-mask-image: url("../assets/brush-footer.svg");
  mask-image: url("../assets/brush-footer.svg");
  -webkit-mask-size: 230% 170%;
  mask-size: 230% 170%;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-repeat: no-repeat;
}

/* Pennello olive sovrapposto, stesso attacco dall’inizio del footer */
.site-footer::after {
  content: "";
  position: absolute;
  left: -38%;
  right: -38%;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--olive);
  -webkit-mask-image: url("../assets/brush-footer.svg");
  mask-image: url("../assets/brush-footer.svg");
  -webkit-mask-size: 230% 170%;
  mask-size: 230% 170%;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  opacity: 0.72;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.site-footer__brand span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer__social a {
  text-decoration: none;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

.site-footer__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.35rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-footer__legal a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--white);
  border-bottom-color: currentColor;
  outline: none;
}

/* ——— Legal pages ——— */
.legal-banner {
  padding: calc(var(--header-h) + 2.75rem) 1.25rem 2.5rem;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(175, 198, 58, 0.22), transparent 55%),
    linear-gradient(155deg, var(--olive-deep) 0%, var(--olive) 55%, #4a5832 100%);
}

.legal-banner__inner {
  width: min(720px, 100%);
  margin-inline: auto;
}

.legal-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal-banner p {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.legal {
  width: min(720px, calc(100% - 2.5rem));
  margin: 2.5rem auto 1rem;
  padding-bottom: 1rem;
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--olive-deep);
  letter-spacing: -0.01em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal ul {
  margin: 0.65rem 0 0.85rem 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.legal a {
  color: var(--olive-deep);
  font-weight: 500;
  text-underline-offset: 0.15em;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--olive);
}

.legal__table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal__table th,
.legal__table td {
  padding: 0.7rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(28, 31, 22, 0.12);
}

.legal__table th {
  font-weight: 600;
  color: var(--ink);
  background: rgba(92, 107, 60, 0.08);
}

.legal__table td {
  color: var(--ink-soft);
}

.legal__note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: rgba(92, 107, 60, 0.08);
  border-left: 3px solid var(--olive-mid);
}

@media (max-width: 640px) {
  .legal__table,
  .legal__table thead,
  .legal__table tbody,
  .legal__table th,
  .legal__table td,
  .legal__table tr {
    display: block;
  }

  .legal__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .legal__table tr {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(28, 31, 22, 0.12);
  }

  .legal__table td {
    border: 0;
    padding: 0.25rem 0;
  }

  .legal__table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.15rem;
  }
}

/* ——— Credits (sotto footer, sfondo pagina) ——— */
.site-credits {
  flex-shrink: 0;
  width: 100%;
  padding: 0.55rem 1.25rem 1rem;
  text-align: center;
  background: transparent;
}

.site-credits p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.site-credits a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.site-credits a:hover,
.site-credits a:focus-visible {
  opacity: 0.72;
  outline: none;
}

.site-credits img {
  height: 1.15rem;
  width: auto;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 2.25rem 1.25rem 3.75rem;
  }

  .site-footer::before,
  .site-footer::after {
    left: -55%;
    right: -55%;
    /* più esteso solo in orizzontale */
    -webkit-mask-size: 290% 125%;
    mask-size: 290% 125%;
    -webkit-mask-position: center center;
    mask-position: center center;
  }
}

/* ——— AperiPausa page ——— */
.hero--page {
  min-height: min(88dvh, 52rem);
  place-items: center;
}

.hero--page .hero__content {
  padding-bottom: 4rem;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero--page .hero__brand {
  margin-top: 0.65rem;
}

.aperi-formula {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.aperi-formula__copy p:not(.eyebrow):not(.aperi-formula__price) {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

.aperi-formula__price {
  margin: 1.4rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--olive-deep);
}

.aperi-formula__price span {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  vertical-align: middle;
}

.aperi-formula__visual {
  margin: 0;
  overflow: hidden;
  min-height: 18rem;
}

.aperi-formula__visual img {
  width: 100%;
  height: min(28rem, 55vw);
  object-fit: cover;
}

.aperi-formula__visual figcaption,
.aperi-block__media figcaption,
.aperi-gallery__grid figcaption {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  color: var(--ink-soft);
  word-break: break-all;
}

.aperi-menu {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.aperi-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.aperi-block--flip .aperi-block__media {
  order: 2;
}

.aperi-block--flip .aperi-block__copy {
  order: 1;
}

.aperi-block__media {
  margin: 0;
  overflow: hidden;
}

.aperi-block__media img {
  width: 100%;
  height: clamp(16rem, 38vw, 26rem);
  object-fit: cover;
}

.aperi-block__copy h2 {
  margin-bottom: 1.25rem;
}

.aperi-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.aperi-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(28, 31, 22, 0.12);
  font-size: 0.98rem;
}

.aperi-list li span {
  color: var(--ink);
}

.aperi-list li strong {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--olive-deep);
}

.aperi-gallery {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(3rem, 7vw, 5rem);
}

.aperi-gallery__intro {
  text-align: center;
  margin-bottom: 2rem;
}

.aperi-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.aperi-gallery__grid figure {
  margin: 0;
  overflow: hidden;
}

.aperi-gallery__grid img {
  width: 100%;
  height: clamp(10rem, 22vw, 14rem);
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.aperi-gallery__grid figure:hover img {
  transform: scale(1.04);
}

.aperi-cta {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}

.aperi-cta p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.aperi-cta__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.photo-credits {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28, 31, 22, 0.1);
  text-align: center;
}

.photo-credits p:not(.eyebrow) {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.photo-credits ul {
  margin-top: 0.85rem;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--ink-soft);
  word-break: break-all;
}

@media (max-width: 860px) {
  .aperi-formula,
  .aperi-block {
    grid-template-columns: 1fr;
  }

  .aperi-block--flip .aperi-block__media,
  .aperi-block--flip .aperi-block__copy {
    order: initial;
  }

  .aperi-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .aperi-gallery__grid {
    grid-template-columns: 1fr;
  }
}
