/* I Melograni — home "rivista". Bodoni Moda + Jost. Giallo, legno, bordeaux. Niente blu. */

@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(../fonts/jost-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(../fonts/jost-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(../fonts/jost-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --sole: #E8B64A;
  --sole-2: #F2D58A;
  --crema: #F7F0E2;
  --carta: #EFE3CA;
  /* 2.3.0: sfondi delle pagine un filo più scuri (Riccardo, 27/11). --crema e --carta restano
     per testi, aloni e dettagli: la copertina gialla non cambia. */
  --fondo: #F0E7D2;
  --fondo-2: #E6D8B8;
  --legno: #7A4E2C;
  --legno-2: #3B2618;
  --bordeaux: #7A1F2B;
  --ink: #221812;
  --grigio: #7C6C5E;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mlg {
  margin: 0; background: var(--fondo); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: clamp(16px, 1.08vw, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.mlg img { display: block; max-width: 100%; height: auto; }
body.mlg .fig__img img, body.mlg .cover__photo img, body.mlg .sun__photo img { width: 100%; height: 100%; object-fit: cover; }
body.mlg a { color: inherit; text-decoration: none; }
body.mlg h1, body.mlg h2, body.mlg h3, body.mlg h4, body.mlg p, body.mlg ul, body.mlg ol, body.mlg dl, body.mlg dd, body.mlg figure, body.mlg blockquote { margin: 0; padding: 0; }
body.mlg ul, body.mlg ol { list-style: none; }
body.mlg em { font-style: italic; }
::selection { background: var(--sole); color: var(--ink); }

/* (2.0.2) tolta la grana animata: un filtro SVG a rumore, 4 volte lo schermo, mosso di continuo:
   faceva scattare lo scorrimento */

/* tratto delle illustrazioni */
.draw { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- INGRESSO (2.0.2: niente schermata d'attesa, la copertina entra da sola) ---------- */
/* l'entrata la fa il CSS, senza aspettare gli script: la copertina compare appena arriva la pagina.
   (riempimento solo «backwards»: finita l'entrata comandano di nuovo gli effetti di scorrimento) */
@keyframes entra { from { opacity: 0; transform: translateY(28px); } }
@keyframes entra-f { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.cover__photo { animation: entra-f 1s var(--ease) .05s backwards; }
.cover__t1 { animation: entra .9s var(--ease) .12s backwards; }
.cover__t2 { animation: entra .9s var(--ease) .22s backwards; }
.cover__issue, .cover__lines li, .cover__strip { animation: entra .8s var(--ease) .35s backwards; }
.cover__lines li:nth-child(2) { animation-delay: .4s; }
.cover__lines li:nth-child(3) { animation-delay: .45s; }

/* ---------- TESTATA ---------- */
.mast { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 78px; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background-color .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.mast.is-solid { background: var(--fondo); border-bottom-color: rgba(34, 24, 18, .12); }
.mast__side { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.mast__side i { font-style: normal; color: var(--bordeaux); margin: 0 .4em; }
.mast__logo { justify-self: center; display: block; width: 170px; }
.mast__logo svg { width: 100%; height: auto; display: block; }
.mast__nav { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.mast__nav > a:not(.mast__btn) { position: relative; padding: 4px 0; }
.mast__nav > a:not(.mast__btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.mast__nav > a:not(.mast__btn):hover::after { transform: scaleX(1); transform-origin: left; }
.mast__lang { color: var(--grigio); }
.mast__lang b { color: var(--ink); font-weight: 500; }
.mast__nav > * { white-space: nowrap; }
.mast__side .mast__lang { margin-left: 2.4em; }
@media (min-width: 1201px) { .mast__nav .mast__lang { display: none; } }
@media (min-width: 901px) and (max-width: 1200px) {
  .mast { grid-template-columns: auto 1fr; }
  .mast__side { display: none; }
  .mast__logo { justify-self: start; }
}
body.mlg .mast__btn { display: inline-flex; padding: 12px 22px; border-radius: 40px; background: var(--ink); color: var(--crema); }
.mast__burger { display: none; }

/* ---------- FOLIO (testatina di pagina) ---------- */
.folio { position: fixed; left: var(--pad); right: var(--pad); bottom: 20px; z-index: 55; display: flex; justify-content: space-between;
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.folio.is-on { opacity: 1; }
/* (2.0.2) niente più fusione dei colori con la pagina sotto: due etichette crema, leggibili ovunque */
.folio > * { background: rgba(247, 240, 226, .95); padding: 7px 13px; border-radius: 30px; margin: 0 -13px; }
.folio em { font-family: var(--serif); text-transform: none; letter-spacing: .02em; font-size: 14px; }
.folio b { font-weight: 500; display: inline-block; min-width: 2ch; }

/* ---------- COMPONENTI ---------- */
.chap { display: grid; grid-template-columns: auto auto 1fr auto; align-items: baseline; gap: 18px; padding: 0 var(--pad); margin-bottom: clamp(48px, 7vw, 110px); }
.chap__n { font-family: var(--serif); font-size: 15px; color: var(--bordeaux); }
.chap__t { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.chap__rule { height: 1px; background: currentColor; opacity: .35; transform-origin: left; align-self: center; }
.chap__p { font-size: 11px; letter-spacing: .2em; color: var(--grigio); }
.chap--light .chap__n { color: var(--sole); }
.chap--light .chap__p { color: var(--sole-2); }

.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 92px); line-height: 1.02; letter-spacing: -.015em; }
.h2 em, .cover__title em, .sun__title em, .dates__title em { color: var(--bordeaux); }

.fig { position: relative; }
.fig__img { overflow: hidden; background: var(--fondo-2); }
.fig__img img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--grigio); max-width: 46ch; }
.fig figcaption em { font-family: var(--serif); color: var(--bordeaux); margin-right: .35em; }
.fig figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin: 4px 0 6px; }

/* ---------- COPERTINA ---------- */
.cover { position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--sole); overflow: hidden; }
/* la cornice cambia misura davvero (non si ritaglia): la foto resta nitida finché è piccola */
.cover__photo { position: absolute; top: 17%; bottom: 13%; left: 37%; right: 37%; overflow: hidden; }
.cover__photo img { transform: scale(1.08); }
.cover__issue { position: absolute; top: 96px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.cover__issue i { font-style: normal; color: var(--bordeaux); }
.cover__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.6vw, 156px); line-height: .92; letter-spacing: -.025em; color: var(--ink);
  text-shadow: 0 0 10px var(--crema), 0 0 26px var(--crema), 0 0 48px var(--crema); }
.cover__t1, .cover__t2 { position: absolute; z-index: 2; display: block; }
.cover__t1 { left: var(--pad); top: 40%; }
.cover__t2 { right: var(--pad); top: 53%; text-align: right; }
.cover__lines { position: absolute; z-index: 2; display: grid; gap: 22px; width: min(22vw, 300px); }
.cover__lines li { font-family: var(--serif); font-size: 19px; line-height: 1.2; border-top: 1px solid rgba(34,24,18,.35); padding-top: 10px; }
.cover__lines b { display: block; font-family: var(--sans); font-weight: 500; font-size: 10.5px; letter-spacing: .24em; color: var(--bordeaux); margin-bottom: 6px; }
.cover__lines span { display: block; font-family: var(--sans); font-size: 13px; color: rgba(34,24,18,.72); margin-top: 4px; }
.cover__lines--l { left: var(--pad); bottom: 15%; }
.cover__lines--r { right: var(--pad); top: 24%; }
.cover__strip { position: absolute; left: 0; right: 0; bottom: 4.5%; text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; z-index: 2; }
.cover__strip i { font-style: normal; color: var(--bordeaux); margin: 0 .6em; }
.cover__cap { position: absolute; z-index: 3; left: var(--pad); bottom: 22px; color: var(--crema); font-size: 13px; opacity: 0; }
.cover__cap em { font-family: var(--serif); }

/* ---------- I · BENVENUTO ---------- */
.welcome { padding: clamp(110px, 14vw, 220px) 0 clamp(90px, 10vw, 170px); }
.welcome__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad); align-items: start; }
.welcome__fig { grid-column: 1 / span 5; }
.welcome__fig .fig__img { aspect-ratio: 4 / 5; }
.welcome__text { grid-column: 7 / span 6; padding-top: clamp(0px, 4vw, 80px); }
.welcome__text .h2 { margin-bottom: clamp(32px, 4vw, 60px); }
.cols { column-count: 2; column-gap: clamp(22px, 2.6vw, 44px); }
.cols p + p { margin-top: 1em; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 5.4em; line-height: .78; padding: .06em .1em 0 0; color: var(--bordeaux); }
.pull { margin-top: clamp(48px, 6vw, 96px); padding-top: 32px; border-top: 1px solid rgba(34,24,18,.25); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.2; }
.pull footer { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grigio); }
.pull footer em { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 24px; color: var(--ink); margin-right: 10px; }
.sig { width: 34px; color: var(--bordeaux); }

.three { margin-top: clamp(100px, 13vw, 220px); padding: 0 var(--pad); }
.three__lbl { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--grigio); margin-bottom: 26px; text-align: center; }
.three__w { font-family: var(--serif); font-size: clamp(56px, 11vw, 200px); line-height: .98; letter-spacing: -.03em; overflow: hidden; }
.three__w span { display: inline-block; }
.three__w--1 { text-align: left; }
.three__w--2 { text-align: center; color: var(--bordeaux); }
.three__w--3 { text-align: right; color: var(--legno); }

/* ---------- II · LE STANZE ---------- */
.rooms { background: var(--fondo-2); padding: clamp(100px, 11vw, 180px) 0 clamp(80px, 9vw, 160px); }
.rooms__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad); }
.rooms__index { grid-column: 1 / span 4; position: sticky; top: 120px; align-self: start; }
.rooms__num { height: clamp(120px, 15vw, 240px); overflow: hidden; font-family: var(--serif); font-size: clamp(120px, 15vw, 240px); line-height: 1; color: var(--sole); margin-bottom: 18px; }
.rooms__numcol span { display: block; height: clamp(120px, 15vw, 240px); }
.rooms__index .h2 { font-size: clamp(36px, 3.8vw, 64px); margin-bottom: 36px; }
.rooms__list { counter-reset: r; display: grid; gap: 10px; }
.rooms__list li { counter-increment: r; display: flex; gap: 14px; align-items: baseline; font-family: var(--serif); font-size: 22px; color: rgba(34,24,18,.35); transition: color .5s var(--ease), transform .5s var(--ease); }
.rooms__list li::before { content: counter(r, upper-roman); font-family: var(--sans); font-size: 11px; letter-spacing: .2em; width: 3ch; }
.rooms__list li.is-on { color: var(--ink); transform: translateX(10px); }
.rooms__list li.is-on::before { color: var(--bordeaux); }
.rooms__pages { grid-column: 6 / span 7; display: grid; gap: clamp(90px, 12vw, 200px); }
.room .fig__img { aspect-ratio: 4 / 3; }
.room--narrow { width: 66%; }
.room--narrow .fig__img { aspect-ratio: 4 / 5; }
.room--right { justify-self: end; }

/* ---------- III · PIENO SOLE ---------- */
.sun { position: relative; height: 100vh; height: 100svh; background: var(--sole); overflow: hidden; }
.sun__stage { position: absolute; inset: 0; }
.sun__photo { position: absolute; inset: 0; clip-path: circle(14% at 50% 50%); }
.sun__text, .sun__kicker, .sun__title em { transition: color .7s var(--ease); }
.sun__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.sun__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,24,18,0) 35%, rgba(34,24,18,.62) 100%); opacity: 0; }
.sun__text { position: absolute; left: var(--pad); right: var(--pad); bottom: 9vh; display: grid; grid-template-columns: 1fr minmax(0, 34ch); align-items: end; gap: 40px; color: var(--ink); }
.sun__kicker { position: absolute; top: 112px; left: var(--pad); right: var(--pad); display: flex; align-items: baseline; gap: 14px; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.sun__kicker span { font-family: var(--serif); color: var(--bordeaux); letter-spacing: 0; font-size: 15px; }
.sun__kicker i { font-style: normal; margin-left: auto; letter-spacing: .2em; }
.sun.is-open .sun__kicker { color: var(--crema); }
.sun__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.4vw, 150px); line-height: .94; letter-spacing: -.025em; }
.sun__lead { font-size: clamp(16px, 1.2vw, 20px); }
.sun.is-open .sun__text { color: var(--crema); }
.sun.is-open .sun__title em { color: var(--sole-2); }

.sunstrip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: clamp(90px, 10vw, 170px) var(--pad); align-items: start; }
.sunstrip__a { grid-column: 1 / span 5; }
.sunstrip__a .fig__img { aspect-ratio: 4 / 5; }
.sunstrip__b { grid-column: 7 / span 6; margin-top: 18vh; }
.sunstrip__b .fig__img { aspect-ratio: 5 / 4; }
.sunstrip__c { grid-column: 4 / span 3; margin-top: -10vh; }
.sunstrip__c .fig__img { aspect-ratio: 3 / 5; }

/* ---------- IV · DETTAGLI ---------- */
.details { padding: clamp(40px, 6vw, 100px) 0 clamp(100px, 12vw, 200px); }
.details__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad); align-items: start; }
.details__intro { grid-column: 1 / span 5; position: sticky; top: 140px; }
.details__intro .h2 { margin-bottom: 28px; }
.details__intro p { max-width: 38ch; }
/* 2.4.0: foto piccola, le foto da telefono non reggono la grande dimensione */
.details__a { grid-column: 8 / span 4; }
.details__a .fig__img { aspect-ratio: 4 / 5; }
.details__b { grid-column: 7 / span 4; margin-top: clamp(80px, 9vw, 160px); }
.details__b .fig__img { aspect-ratio: 3 / 4; }
/* 2.3.0: i quadri del papà, appesi come in una piccola mostra. Nessun ritaglio: si vede l'opera intera con la cornice */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(70px, 9vw, 150px) clamp(16px, 2vw, 32px); padding: 0 var(--pad); margin-top: clamp(120px, 14vw, 240px); align-items: end; }
/* 2.4.0: ogni quadro su un passe-partout chiaro con un'ombra leggera, come appeso in mostra */
.gallery .fig__img { background: #FBF7EE; padding: clamp(14px, 1.8vw, 28px); box-shadow: 0 1px 2px rgba(33, 25, 21, .08), 0 24px 50px -24px rgba(33, 25, 21, .38); }
.gallery .fig__img img { display: block; height: auto; object-fit: contain; }
.gallery__intro { grid-column: 1 / span 5; align-self: start; }
.gallery__lbl { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--bordeaux); margin: 0 0 18px; }
.gallery__intro .h2 { margin-bottom: 28px; }
.gallery__intro p:last-child { max-width: 38ch; }
.gallery__1 { grid-column: 8 / span 4; }
.gallery__2 { grid-column: 1 / span 6; }
.gallery__3 { grid-column: 8 / span 5; }
.gallery__4 { grid-column: 2 / span 5; }

/* ---------- V · PER CHI ---------- */
.who { background: var(--fondo-2); padding: clamp(100px, 11vw, 180px) 0; }
.who__title { padding: 0 var(--pad); margin-bottom: clamp(60px, 7vw, 120px); max-width: 16ch; }
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad); border-top: 1px solid rgba(34,24,18,.2); }
.who__item { padding: 40px clamp(14px, 2vw, 34px) 10px 0; border-right: 1px solid rgba(34,24,18,.14); }
.who__item + .who__item { padding-left: clamp(14px, 2vw, 34px); }
.who__item:last-child { border-right: 0; }
.ico { width: 54px; color: var(--bordeaux); margin-bottom: 30px; }
.who__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; margin-bottom: 14px; }
.who__item p { font-size: 15px; color: rgba(34,24,18,.8); }

/* ---------- VI · DOVE ---------- */
.where { background: var(--legno-2); color: var(--crema); padding: clamp(100px, 11vw, 180px) 0; }
.where .h2 em { color: var(--sole); }
.where__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad); align-items: center; }
.where__text { grid-column: 1 / span 5; }
.where__addr { margin: 28px 0 44px; color: rgba(247,240,226,.75); }
.where__list li { display: grid; grid-template-columns: 128px 1fr; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(247,240,226,.18); }
.where__list b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--sole); white-space: nowrap; }
.where__note { margin-top: 22px; font-size: 12px; color: rgba(247,240,226,.55); }
.map { grid-column: 7 / span 6; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__river { stroke: var(--sole-2); stroke-width: 1.2; opacity: .6; }
.map__rl { fill: rgba(247,240,226,.5); font-family: var(--serif); font-style: italic; font-size: 16px; }
.map__ln { stroke: var(--sole); stroke-width: 1.2; }
.map__pt circle { fill: var(--crema); }
.map__pt text, .map__home text { fill: var(--crema); font-family: var(--sans); font-size: 17px; letter-spacing: .04em; }
.map__home circle { fill: var(--bordeaux); stroke: var(--sole); stroke-width: 2; }
.map__home .map__halo { fill: none; stroke: var(--sole); stroke-width: 1; opacity: .7; transform-box: fill-box; transform-origin: center; animation: alone 2.6s var(--ease) infinite; }
.map__home text { font-family: var(--serif); font-size: 26px; fill: var(--sole); }
@keyframes alone { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.map figcaption { margin-top: 10px; text-align: right; font-size: 12px; color: rgba(247,240,226,.5); }

/* ---------- VII · DA SAPERE ---------- */
.info { padding: clamp(100px, 11vw, 180px) 0; }
.info__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad); align-items: start; }
.info__dl { grid-column: 1 / span 7; }
.info__dl > div { display: grid; grid-template-columns: 15ch 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(34,24,18,.18); }
.info__dl > div:last-child { border-bottom: 1px solid rgba(34,24,18,.18); }
.info__dl dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--bordeaux); padding-top: 4px; }
.info__dl dd { font-size: 16.5px; }
.rate { grid-column: 9 / span 4; position: sticky; top: 140px; background: var(--bordeaux); color: var(--crema); padding: 44px 40px 40px; overflow: hidden; }
.rate__lbl { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sole-2); }
.rate__n { font-family: var(--serif); font-size: clamp(80px, 8vw, 140px); line-height: 1; margin: 22px 0 8px; }
.rate__n small { font-size: .28em; color: var(--sole-2); margin-left: 6px; }
.rate__t { font-size: 14px; color: rgba(247,240,226,.8); }
.rate__mark { position: absolute; right: -24px; bottom: -30px; width: 150px; color: var(--sole); opacity: .45; }

/* ---------- LE DATE ---------- */
.dates { position: relative; background: var(--sole); padding: clamp(110px, 12vw, 200px) var(--pad); text-align: center; overflow: hidden; }
.dates__art { width: clamp(150px, 16vw, 250px); margin: 0 auto 30px; color: var(--bordeaux); }
.dates__art .seeds { fill: var(--bordeaux); }
.dates__kicker { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 22px; }
.dates__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 116px); line-height: 1; letter-spacing: -.02em; }
.dates__ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); }

body.mlg .btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 34px; border-radius: 60px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s var(--ease); }
body.mlg .btn--ink { background: var(--ink); color: var(--crema); }
body.mlg .btn--ink:hover { background: var(--bordeaux); }
body.mlg .btn--line { border: 1px solid var(--ink); color: var(--ink); }
body.mlg .btn--line:hover { background: var(--ink); color: var(--sole); }
.btn span, .mast__btn span { display: inline-block; pointer-events: none; }

/* ---------- COLOPHON ---------- */
.foot { background: var(--legno-2); color: var(--crema); padding: clamp(80px, 9vw, 140px) var(--pad) 70px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(247,240,226,.16); }
.foot__logo { display: block; width: 230px; margin-bottom: 22px; }
.foot__logo svg { width: 100%; height: auto; }
.foot__logo svg [fill="#211915"] { fill: var(--crema); }
.foot__logo svg [stroke="#7A1F2B"] { stroke: var(--bordeaux); }
.foot__logo svg [fill="#7A1F2B"] { fill: var(--bordeaux); }
.foot__logo svg [fill="#8B5A33"] { fill: var(--sole-2); }
.foot__brand p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; max-width: 18ch; color: rgba(247,240,226,.85); }
.foot__col h4 { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sole); margin: 0 0 14px; }
.foot__col h4:not(:first-child) { margin-top: 26px; }
.foot__col p { font-size: 15px; color: rgba(247,240,226,.8); }
.foot__col p + p { margin-top: 10px; }
.foot__col a { border-bottom: 1px solid rgba(247,240,226,.25); transition: border-color .3s, color .3s; }
.foot__col a:hover { color: var(--sole); border-color: var(--sole); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 28px; font-size: 12px; letter-spacing: .06em; color: rgba(247,240,226,.55); }
.foot__legal i { font-style: normal; margin: 0 .5em; }
.foot__legal a:hover { color: var(--sole); }
.foot__up { color: var(--sole); }

/* ---------- STATI INIZIALI (solo con JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); }

/* ---------- TELEFONO ---------- */
@media (max-width: 900px) {
  .mast { height: 64px; grid-template-columns: auto 1fr auto; }
  .mast__side { display: none; }
  .mast__logo { justify-self: start; width: 138px; }
  .mast__nav { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; justify-self: stretch; z-index: -1; background: var(--sole); flex-direction: column; justify-content: center; gap: 26px; font-size: 15px;
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
  .mast.is-open .mast__nav { clip-path: inset(0 0 0 0); }
  .mast__nav > a:not(.mast__btn) { font-family: var(--serif); font-size: 38px; letter-spacing: 0; text-transform: none; }
  .mast__burger { display: grid; gap: 7px; justify-self: end; grid-column: 3; width: 44px; height: 44px; place-content: center; background: none; border: 0; padding: 0; cursor: pointer; }
  .mast__burger span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
  .mast.is-open .mast__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .mast.is-open .mast__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .folio { display: none; }

  .cover__photo { top: 42%; bottom: 15%; left: 5%; right: 5%; }
  .cover__issue { top: 80px; font-size: 9.5px; letter-spacing: .24em; }
  .cover__title { font-size: clamp(40px, 11.5vw, 64px); }
  .cover__t1 { top: 15%; }
  .cover__t2 { top: 26%; bottom: auto; left: var(--pad); right: auto; text-align: left; }
  .cover__t2 br { display: none; }
  .cover__lines { display: none; }
  .cover__strip { font-size: 9.5px; letter-spacing: .16em; padding: 0 var(--pad); line-height: 1.9; }

  .welcome__grid, .rooms__grid, .sunstrip, .details__grid, .gallery, .where__grid, .info__grid { grid-template-columns: 1fr; }
  .welcome__fig, .welcome__text, .rooms__index, .rooms__pages, .details__intro, .details__a, .details__b, .where__text, .map, .info__dl, .rate,
  .sunstrip__a, .sunstrip__b, .sunstrip__c { grid-column: 1 / -1; }
  .welcome__text { padding-top: 56px; }
  .cols { column-count: 1; }
  .rooms__index { position: static; margin-bottom: 60px; }
  .rooms__num { display: none; }
  .rooms__list { display: none; }
  .room--narrow { width: 82%; }
  .sun__text { grid-template-columns: 1fr; gap: 18px; bottom: 7vh; }
  .sun__kicker { top: 84px; }
  .mast.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--fondo); }
  .mast.is-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sunstrip__b { margin-top: 70px; }
  .sunstrip__c { margin-top: 70px; width: 60%; justify-self: end; }
  .details__intro { position: static; margin-bottom: 50px; }
  .details__b { margin-top: 60px; width: 75%; }
  .gallery__intro, .gallery__1, .gallery__2, .gallery__3, .gallery__4 { grid-column: auto; }
  .gallery { row-gap: 60px; }
  .gallery__1 { width: 80%; }
  .gallery__3 { width: 90%; margin-left: auto; }
  .who__grid { grid-template-columns: 1fr; }
  .who__item, .who__item + .who__item { padding: 34px 0; border-right: 0; border-bottom: 1px solid rgba(34,24,18,.14); }
  .map { margin-top: 60px; }
  .info__dl > div { grid-template-columns: 1fr; gap: 6px; }
  .rate { position: relative; top: 0; margin-top: 50px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .map__home .map__halo, .cover__photo, .cover__t1, .cover__t2, .cover__issue, .cover__lines li, .cover__strip { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .cover__photo { top: 0; bottom: 0; left: 0; right: 0; }
  .sun__photo { clip-path: circle(80% at 50% 50%); }
}

/* 2.6.0: il pianoforte di Marco Beltrami. Parte solo se lo chiedi tu (niente autoplay). */
.suona { position: fixed; right: var(--pad); bottom: 20px; z-index: 56; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 13px; border: 0; border-radius: 30px; background: rgba(247, 240, 226, .95); color: var(--ink, #211915);
  font: 500 11px/1 var(--sans, 'Jost', sans-serif); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 6px 24px -10px rgba(33, 25, 21, .35); transition: background .3s, color .3s; }
.suona:hover, .suona[aria-pressed="true"] { background: var(--ink, #211915); color: #F7F0E2; }
.suona:focus-visible, .musica__play:focus-visible { outline: 2px solid var(--bordeaux, #7A1E2C); outline-offset: 3px; }
.suona__ico { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.suona__ico i { display: block; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.suona__ico i:nth-child(2) { height: 9px; } .suona__ico i:nth-child(3) { height: 6px; }
.suona[aria-pressed="true"] .suona__ico i { animation: suona .9s ease-in-out infinite alternate; }
.suona[aria-pressed="true"] .suona__ico i:nth-child(2) { animation-delay: -.3s; }
.suona[aria-pressed="true"] .suona__ico i:nth-child(3) { animation-delay: -.6s; }
@keyframes suona { from { height: 3px; } to { height: 12px; } }
@media (prefers-reduced-motion: reduce) { .suona[aria-pressed="true"] .suona__ico i { animation: none; height: 8px; } }
.musica { display: block; margin-top: 10px; }
.musica__play { padding: 0; border: 0; background: none; font: inherit; color: var(--bordeaux, #7A1E2C); border-bottom: 1px solid currentColor; cursor: pointer; }
.musica__play::before { content: '▶\FE0E'; font-size: .75em; margin-right: .5em; display: inline-block; }
.musica__play[aria-pressed="true"]::before { content: '❚❚'; letter-spacing: -.15em; }
.musica a { color: inherit; border-bottom: 1px solid rgba(33, 25, 21, .3); }
@media (max-width: 900px) { .suona { bottom: 16px; padding: 8px 14px 8px 11px; } }
/* spazio sotto le note legali: il bottone del pianoforte non copre «Torna su» */
.foot__legal { padding-bottom: 60px; }

/* 2.6.1: freccia "torna su" di Astra, senza stile; il sito ha già il suo "Torna su" */
#ast-scroll-top { display: none !important; }
