/* ============================================================================
   Eden Living. Verde oliva e rosa ibisco dal logo; Cormorant Garamond per le
   parole, Albert Sans per le indicazioni. Ogni pagina è fatta di tre pezzi:
   copertina a tutto schermo, doppie pagine (foto ferma, testo che scorre),
   chiusura. Un solo segno grafico ricorre ovunque: il punto (mappa, corpo,
   griglia dei fondi scuri).
   ========================================================================== */

:root {
  --white: #ffffff;
  --sage: #eef1e6;
  --sage-2: #e3e8d6;
  --olive: #5d6039;
  --olive-deep: #313b1c;
  --ink: #1b1f15;
  --muted: #5b6150;
  --rose: #d8606b;
  --rose-soft: #f4c2c3;
  --line: rgba(27, 31, 21, 0.14);
  --line-light: rgba(241, 240, 230, 0.18);

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --script: "Allura", cursive;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.5rem, 2.3vw, 2.05rem);
  --t-xl: clamp(2.5rem, 4.8vw, 4.4rem);
  --t-xxl: clamp(3.2rem, 8.4vw, 7.6rem);

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --space: clamp(80px, 10vw, 160px);
  --bar: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); font: 400 var(--t-m)/1.7 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; overflow-wrap: break-word; min-width: 0; }
h1, h2, h3 { font-family: var(--display); color: var(--olive-deep); letter-spacing: -0.01em; }
button { font: inherit; }
::selection { background: var(--rose-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.lead { font: 400 var(--t-l)/1.38 var(--display); color: var(--olive-deep); }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--olive-deep); font: 500 var(--t-s)/1 var(--text); text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 100% 1.5px no-repeat; transition: background-size 400ms var(--ease); }
.more::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width 400ms var(--ease); }
.more:hover { background-size: 0% 1.5px; background-position: 100% 100%; }
.more:hover::after { width: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--olive); color: #fff; font: 500 var(--t-s)/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color 220ms, color 220ms, transform 140ms var(--ease); }
.btn:hover { background: var(--olive-deep); }
.btn:active { transform: scale(0.97); }
.btn.light { background: #fff; color: var(--olive-deep); }
.btn.light:hover { background: var(--rose-soft); }
.sign { font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--script); color: var(--rose); margin: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* Foto in dissolvenza quando sono pronte: mai un riquadro che compare a scatti. */
.fade { opacity: 0; transition: opacity 800ms var(--ease); }
.fade.ld { opacity: 1; }

/* ------------------------------------------------------------------- barra --
   Menu a sinistra, marchio al centro, una sola azione a destra (lo schema di
   Aman, Six Senses, Lanserhof). Trasparente sulle copertine, piena allo scroll. */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter); color: var(--ink); background: rgba(255, 255, 255, 0); border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), height 300ms var(--ease); }
.over .bar:not(.solid) { color: #fff; }
.flat .bar, .bar.solid { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border-bottom-color: var(--line); }
.bar.solid { height: 64px; }
.bar-menu { justify-self: start; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 500 var(--t-s)/1 var(--text); cursor: pointer; }
.burger { position: relative; width: 24px; height: 12px; }
.burger i { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform 360ms var(--ease), top 360ms var(--ease), width 360ms var(--ease); }
.burger i:first-child { top: 1px; width: 100%; }
.burger i:last-child { top: 9px; width: 62%; }
.bar-menu:hover .burger i:last-child { width: 100%; }
.menu-open .burger i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }
.mark { justify-self: center; display: inline-flex; align-items: baseline; gap: 0.14em; color: inherit; text-decoration: none; line-height: 1; }
.mark b { font: 500 1.95rem/1 var(--display); letter-spacing: 0.01em; }
.mark i { font: 400 2.05rem/1 var(--script); color: var(--rose); }
.over .bar:not(.solid) .mark i { color: var(--rose-soft); }
.bar-cta { justify-self: end; display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; color: inherit; text-decoration: none; font: 500 var(--t-s)/1 var(--text); transition: background-color 220ms, color 220ms, box-shadow 220ms; }
.bar-cta:hover { background: var(--olive); color: #fff; box-shadow: inset 0 0 0 1px var(--olive); }
.menu-open .bar { color: #fff; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .bar .mark i { color: var(--rose-soft); }
@media (max-width: 560px) { .bar-label { display: none; } .mark b { font-size: 1.6rem; } .mark i { font-size: 1.7rem; } .bar-cta { height: 38px; padding: 0 14px; } }

/* -------------------------------------------------------------------- menu --
   A tutto schermo sul verde scuro, scorrevole se lo schermo è basso. Passando
   su una voce, a destra compare la foto di quella pagina. */
.menu { position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 32px; padding: calc(var(--bar) + 3vh) var(--gutter) 28px; background: var(--olive-deep); color: #fff; opacity: 0; transition: opacity 380ms var(--ease); }
.menu.open { opacity: 1; }
.menu-in { flex: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; width: 100%; max-width: var(--max); margin: 0 auto; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: inline-flex; align-items: center; gap: 18px; padding: 0.06em 0; font: 300 clamp(2rem, min(5.6vw, 7.2vh), 4.6rem)/1.12 var(--display); color: rgba(255, 255, 255, 0.46); text-decoration: none; opacity: 0; transform: translateY(16px); transition: color 220ms, opacity 640ms var(--ease), transform 640ms var(--ease); }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links li:nth-child(2) a { transition-delay: 0s, 40ms, 40ms; }
.menu.open .menu-links li:nth-child(3) a { transition-delay: 0s, 80ms, 80ms; }
.menu.open .menu-links li:nth-child(4) a { transition-delay: 0s, 120ms, 120ms; }
.menu.open .menu-links li:nth-child(5) a { transition-delay: 0s, 160ms, 160ms; }
.menu.open .menu-links li:nth-child(6) a { transition-delay: 0s, 200ms, 200ms; }
.menu.open .menu-links li:nth-child(7) a { transition-delay: 0s, 240ms, 240ms; }
.menu.open .menu-links li:nth-child(8) a { transition-delay: 0s, 280ms, 280ms; }
.menu-links a:hover, .menu-links a:focus-visible, .menu-links a[aria-current="page"] { color: #fff; outline: none; }
.menu-links a[aria-current="page"]::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.menu-links a:focus-visible { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 10px; text-decoration-color: var(--rose); }
.menu-preview { margin: 0; justify-self: end; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; max-height: 62vh; overflow: hidden; }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms var(--ease); }
.menu-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; max-width: var(--max); margin: 0 auto; font-size: var(--t-s); color: #cfd3bf; }
@media (max-width: 820px) { .menu-in { grid-template-columns: 1fr; align-items: start; } .menu-preview { display: none; } }

/* ---------------------------------------------------------------- copertina -- */
.cover { position: relative; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--bar) + 40px) var(--gutter) clamp(56px, 8vh, 104px); color: #fff; background: var(--olive-deep); overflow: clip; isolation: isolate; }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2600ms var(--ease) both; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(20, 24, 12, 0.5), rgba(20, 24, 12, 0) 22%), linear-gradient(to top, rgba(20, 24, 12, 0.72), rgba(20, 24, 12, 0) 60%); }
.cover-in { width: 100%; max-width: var(--max); margin: 0 auto; }
.cover h1 { color: #fff; font: 300 var(--t-xxl)/0.98 var(--display); max-width: 10em; }
.cover-sub { margin: 1.4rem 0 0; max-width: 32em; font: 400 var(--t-l)/1.3 var(--display); color: rgba(255, 255, 255, 0.9); }
.cover-cap { position: absolute; right: var(--gutter); bottom: 22px; margin: 0; font-size: var(--t-xs); color: rgba(255, 255, 255, 0.72); }
.cover-in > * { animation: rise 1100ms var(--ease) both; }
.cover-in > :nth-child(2) { animation-delay: 140ms; }
@keyframes settle { from { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* --------------------------------------------------- home: due metà (duo) --
   Le due anime del marchio, una accanto all'altra. Quella su cui passi si
   allarga; al centro il logo. Su telefono le metà si impilano. */
.duo { position: relative; display: flex; height: 100svh; min-height: 560px; background: var(--olive-deep); overflow: clip; }
.duo-half { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(40px, 7vh, 88px); color: #fff; text-decoration: none; overflow: clip; isolation: isolate; transition: flex-grow 900ms var(--ease); }
.duo-half > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1400ms var(--ease); }
.duo-half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 24, 12, 0.7), rgba(20, 24, 12, 0.08) 55%), rgba(20, 24, 12, 0.12); }
.duo-half + .duo-half { box-shadow: -1px 0 0 rgba(255, 255, 255, 0.25); }
.duo.left .duo-half:first-of-type, .duo.right .duo-half:nth-of-type(2) { flex-grow: 1.7; }
.duo.left .duo-half:first-of-type > img, .duo.right .duo-half:nth-of-type(2) > img { transform: scale(1); }
.duo-label { display: flex; flex-direction: column; gap: 10px; font: 300 var(--t-xl)/1 var(--display); }
.duo-label small { font: 500 var(--t-s)/1 var(--text); color: rgba(255, 255, 255, 0.82); }
.duo-half:nth-of-type(2) { justify-content: flex-end; text-align: right; }
.duo-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; pointer-events: none; color: #fff; width: min(92vw, 760px); }
.duo-logo { width: clamp(108px, 11vw, 148px); height: auto; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 24px 60px -20px rgba(0, 0, 0, 0.5); animation: rise 1000ms var(--ease) both; }
.duo-center h1 { color: #fff; font: 300 clamp(2.4rem, 5.6vw, 5.2rem)/1 var(--display); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); animation: rise 1100ms 120ms var(--ease) both; }
@media (max-width: 820px) {
  .duo { flex-direction: column; height: auto; min-height: 0; }
  .duo-half, .duo.left .duo-half, .duo.right .duo-half { flex: none; height: 56svh; min-height: 340px; }
  .duo-half + .duo-half { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25); }
  .duo-center { top: 56svh; transform: translate(-50%, -50%); gap: 0; }
  .duo-center h1 { display: none; }
}

/* --------------------------------------------------------------- manifesto --
   Una frase grande che si accende parola per parola mentre la leggi. */
.manifesto { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.manifesto-in { padding-block: var(--space); }
.js-pin .manifesto[data-pin] { height: 190svh; }
.js-pin .manifesto[data-pin] .manifesto-in { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--bar) 0; }
.reveal-words { margin: 0; max-width: 24em; font: 300 var(--t-xl)/1.12 var(--display); color: var(--olive-deep); }
.reveal-words .w { color: rgba(49, 59, 28, 0.18); transition: color 260ms var(--ease); }
.reveal-words .w.on { color: var(--olive-deep); }
.manifesto .sign { margin-top: 32px; }

/* ----------------------------------------------------------------- blocchi -- */
.block { padding: var(--space) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.block-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.block-head h2 { font: 300 var(--t-xl)/1.02 var(--display); }
.block-head p { margin: 0; color: var(--muted); max-width: 30em; }
.block-foot { margin: 40px 0 0; }
.tint { background: var(--sage); }
@media (max-width: 820px) { .block-head { grid-template-columns: 1fr; } }

/* ----------------------------------------------------- menu dei trattamenti --
   Righe come una carta: nome, prima frase, segno più. Passando col mouse la
   foto segue il cursore; toccando, la riga si apre con foto e testo intero. */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.row-head { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; gap: 8px 40px; align-items: center; width: 100%; padding: 26px 0; cursor: pointer; }
.row-name { font: 400 clamp(1.7rem, 2.8vw, 2.5rem)/1.05 var(--display); color: var(--olive-deep); transition: transform 500ms var(--ease), color 300ms; }
.row-line { color: var(--muted); font-size: var(--t-s); line-height: 1.55; }
.row-icon { position: relative; justify-self: end; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 300ms, box-shadow 300ms, transform 400ms var(--ease); }
.row-icon::before, .row-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: var(--olive-deep); transition: background-color 300ms; }
.row-icon::after { transform: rotate(90deg); }
.row-head:hover .row-name { transform: translateX(10px); }
.row-head:hover .row-icon { background: var(--olive); box-shadow: none; }
.row-head:hover .row-icon::before, .row-head:hover .row-icon::after { background: #fff; }
.row-head:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.row-line { transition: opacity 300ms; }
.row-head[aria-expanded="true"] .row-line { opacity: 0; }
.row-head[aria-expanded="true"] .row-icon { transform: rotate(45deg); background: var(--rose); box-shadow: none; }
.row-head[aria-expanded="true"] .row-icon::before, .row-head[aria-expanded="true"] .row-icon::after { background: #fff; }
.tag { display: inline-block; margin-left: 14px; padding: 6px 11px; border-radius: 999px; background: var(--rose); color: #fff; font: 500 var(--t-xs)/1 var(--text); vertical-align: middle; transform: translateY(-4px); }
.row-body-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; gap: 24px 40px; padding: 4px 0 36px; animation: rise 600ms var(--ease) both; }
.row-pic { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.row-pic img { width: 100%; height: 100%; object-fit: cover; }
.row-body-in p { font: 400 var(--t-l)/1.4 var(--display); color: var(--olive-deep); max-width: 30em; }
@media (max-width: 820px) {
  .row-head { grid-template-columns: 1fr 40px; }
  .row-line { grid-column: 1; grid-row: 2; }
  .row-icon { grid-row: 1 / span 2; grid-column: 2; }
  .row-body-in { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ doppia pagina --
   La foto resta ferma su metà schermo mentre il testo scorre sull'altra. */
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.spread-media { position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; background: var(--sage); }
.spread-media img { width: 100%; height: 100%; object-fit: cover; }
.spread-media figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; font-size: var(--t-xs); color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.spread-text { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar) + 48px) clamp(24px, 6vw, 112px) clamp(64px, 8vw, 120px); max-width: 760px; }
.spread.flip .spread-media { order: 2; }
.spread .title { font: 300 clamp(2.6rem, 4.6vw, 4.4rem)/1.02 var(--display); margin-bottom: 1.6rem; }
.spread h2 { font: 300 var(--t-xl)/1.04 var(--display); margin-bottom: 1.4rem; }
.spread .lead { margin-bottom: 1.4rem; }
.spread p { max-width: 36em; }
.spread .pull { margin: 1.8em 0; padding-left: 24px; box-shadow: inset 2px 0 0 var(--rose); font: 400 var(--t-l)/1.35 var(--display); color: var(--olive-deep); }
.spread .quote { font: 300 clamp(2.2rem, 4vw, 3.6rem)/1.08 var(--display); color: var(--olive-deep); margin-bottom: 1.4rem; }
.spread .more { margin-top: 1rem; align-self: flex-start; }
.spread .sign { margin-top: 1.4rem; }
.spread .facts { align-self: stretch; }
@media (max-width: 820px) {
  .spread { grid-template-columns: 1fr; }
  .spread-media, .spread.flip .spread-media { position: relative; order: 0; height: 70svh; }
  .spread-text { min-height: 0; padding: 48px var(--gutter) 72px; }
}

/* ----------------------------------------------------- dalla testa ai piedi --
   Una sagoma disegnata a filo (CC0). Ogni zona si accende con un bagliore
   rosa dentro la figura, come il calore delle mani; le etichette stanno ai
   lati, legate alla zona da un filo sottile, come in una tavola illustrata. */
.finder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); padding: var(--space) max(var(--gutter), calc((100% - var(--max)) / 2)); align-items: center; }
.finder-fig { width: 100%; max-width: 640px; justify-self: center; }
.body { display: block; width: 100%; height: auto; max-height: 76svh; overflow: visible; }
.body .b-fill { fill: #fbfaf5; }
.body .hits ellipse, .body .glow { vector-effect: none; }
.body .b-line { fill: none; stroke: var(--olive); stroke-width: 0.9; stroke-linejoin: round; }
.body .b-hair { fill: var(--olive); opacity: 0.85; }
.body .glow { fill: url(#glowfill); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 700ms var(--ease); }
.body .glow.peek { opacity: 0.45; }
.body .glow.on { opacity: 1; animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.body .hit { fill: transparent; cursor: pointer; }
.callout { cursor: pointer; outline: none; }
.callout line { stroke: rgba(49, 59, 28, 0.28); stroke-width: 1.6; stroke-dasharray: 3 6; transition: stroke 300ms; }
.callout .cdot { fill: #fbfaf5; stroke: var(--olive); stroke-width: 2; transition: fill 300ms, stroke 300ms, r 300ms var(--ease); }
.callout .clabel { font: 400 50px var(--display); fill: rgba(49, 59, 28, 0.62); transition: fill 300ms; }
.callout .ccount { font: 500 20px var(--text); fill: var(--muted); opacity: 0; transition: opacity 300ms; }
.callout:hover .clabel, .callout:focus-visible .clabel, .callout.peek .clabel { fill: var(--olive-deep); }
.callout:hover .ccount, .callout.peek .ccount, .callout.on .ccount { opacity: 1; }
.callout:hover line, .callout.peek line { stroke: var(--olive); }
.callout:focus-visible .clabel { text-decoration: underline; text-decoration-color: var(--rose); }
.callout.on line { stroke: var(--rose); stroke-dasharray: none; }
.callout.on .cdot { fill: var(--rose); stroke: var(--rose); r: 9; }
.callout.on .clabel { fill: var(--rose); }
@media (max-width: 980px) { .finder { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .body .glow.on { animation: none; } }
.finder-side h2 { font: 300 var(--t-xl)/1.02 var(--display); }
.finder-side .lead { margin: 1.2rem 0 2.4rem; }
.zone-name { margin: 0; font: 300 clamp(2.6rem, 4.2vw, 3.8rem)/1 var(--display); color: var(--rose); }
.zone-name small { display: block; margin-bottom: 10px; font: 500 var(--t-xs)/1 var(--text); color: var(--muted); letter-spacing: 0.02em; }
.zone-text { margin: 14px 0 28px; max-width: 34em; color: var(--muted); font-size: var(--t-m); line-height: 1.6; }
.bf-items { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.bf-item { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 20px 4px; background: var(--sage); cursor: pointer; animation: rise 500ms var(--ease) both; }
.bf-item:nth-child(2) { animation-delay: 60ms; }
.bf-item:nth-child(3) { animation-delay: 120ms; }
.bf-item:nth-child(4) { animation-delay: 180ms; }
.bf-item b { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); color: var(--olive-deep); transition: color 200ms; }
.bf-item span { grid-column: 1; color: var(--muted); font-size: var(--t-s); line-height: 1.5; }
.bf-item::after { content: "Leggi"; grid-column: 2; grid-row: 1 / span 2; color: var(--rose); font: 500 var(--t-s)/1 var(--text); }
.bf-item:hover b { color: var(--rose); }
.bf-item:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
@media (max-width: 820px) { .finder { grid-template-columns: 1fr; } .finder-line { position: static; } .bodyline { height: 360px; } }

/* -------------------------------------------------------------- fondi scuri --
   Griglia di puntini (la stessa della mappa) e una luce rosa che segue il
   mouse. Fissi al viewport, così più fasce scure sembrano una sola finestra. */
.dark, .close {
  background-color: var(--olive-deep); color: #e7eadb;
  background-image: radial-gradient(560px circle at var(--mx, 72%) var(--my, 30%), rgba(216, 96, 107, 0.17), rgba(216, 96, 107, 0) 70%), radial-gradient(circle, rgba(241, 240, 230, 0.12) 1px, transparent 1.5px);
  background-size: auto, 24px 24px;
  background-attachment: fixed, fixed;
}
.dark h2, .dark h3, .close h2 { color: #fff; }

/* ---------------------------------------------------- striscia (food) --
   Si trascina con il mouse o il dito; contatore e barra dicono dove sei. */
.strip-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); cursor: grab; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip-track.drag * { pointer-events: none; }
.strip-card { flex: 0 0 min(76vw, 400px); margin: 0; scroll-snap-align: start; }
.strip-card:nth-child(even) { padding-top: 56px; }
.strip-pic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); }
.strip-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.strip-card:hover .strip-pic img { transform: scale(1.04); }
.strip-card figcaption { margin-top: 12px; font-size: var(--t-s); color: var(--muted); }
.strip-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.strip-count { min-width: 3.6em; font-size: var(--t-s); color: var(--muted); font-variant-numeric: tabular-nums; }
.strip-bar { position: relative; flex: 1; height: 1.5px; margin-right: 12px; background: var(--line); }
.strip-bar i { position: absolute; left: 0; top: -0.5px; height: 2.5px; background: var(--olive); }
.strip-ctrl button { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--olive); color: #fff; cursor: pointer; transition: background-color 200ms, transform 140ms var(--ease); }
.strip-ctrl button svg { width: 20px; height: 20px; }
.strip-ctrl button:hover { background: var(--olive-deep); }
.strip-ctrl button:active { transform: scale(0.94); }

/* ------------------------------------------------------- dalla A alla Z --
   Sei tappe su una linea, con lo stesso punto della mappa. */
.az { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.az::before { content: ""; position: absolute; left: 8px; right: 0; top: 7px; height: 1.5px; background: var(--line); }
.az li { position: relative; padding-top: 44px; }
.az li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--olive); transition: background-color 300ms, box-shadow 300ms; }
.az li:hover::before { background: var(--rose); box-shadow: inset 0 0 0 1.5px var(--rose), 0 0 0 7px rgba(216, 96, 107, 0.16); }
.az h3 { font: 400 var(--t-l)/1.1 var(--display); margin-bottom: 10px; }
.az p { margin: 0; color: var(--muted); font-size: var(--t-s); line-height: 1.55; }
@media (max-width: 980px) { .az { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; } .az::before { display: none; } }
@media (max-width: 560px) { .az { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- chiusura -- */
.close { padding: var(--space) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.close h2 { font: 300 var(--t-xl)/1.04 var(--display); max-width: 15em; }
.close .btn { background: #fff; color: var(--olive-deep); }
.close .btn:hover { background: var(--rose-soft); }

/* ------------------------------------------------------- pagine senza foto -- */
.flat-head { padding: calc(var(--bar) + clamp(48px, 7vw, 104px)) var(--gutter) clamp(36px, 5vw, 64px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.flat-head h1 { font: 300 var(--t-xxl)/0.98 var(--display); }
.flat-head p { margin: 1.2rem 0 0; max-width: 34em; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--sage); color: var(--ink); font: 500 var(--t-s)/1 var(--text); cursor: pointer; transition: background-color 200ms, color 200ms; }
.chip small { font-size: var(--t-xs); opacity: 0.6; font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--sage-2); }
.chip[aria-pressed="true"] { background: var(--olive); color: #fff; }

/* Galleria */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry button { all: unset; position: relative; display: block; width: 100%; margin-bottom: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--sage); }
.masonry img { width: 100%; transition: transform 900ms var(--ease); }
.masonry span { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; color: #fff; font-size: var(--t-s); background: linear-gradient(to top, rgba(20, 24, 12, 0.65), rgba(20, 24, 12, 0)); opacity: 0; transform: translateY(8px); transition: opacity 300ms, transform 400ms var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry button:hover span, .masonry button:focus-visible span { opacity: 1; transform: none; }
.masonry button:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
@media (hover: none) { .masonry span { opacity: 1; transform: none; } }
dialog.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
dialog.lightbox::backdrop { background: rgba(18, 22, 12, 0.94); }
.lb-inner { display: grid; place-items: center; align-content: center; gap: 14px; width: 100%; height: 100%; margin: 0; padding: 72px 24px; }
.lb-inner img { max-height: 80vh; max-width: min(92vw, 1200px); }
.lb-inner figcaption { color: #cfd3bf; font-size: var(--t-s); }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background-color 200ms; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; margin-top: -26px; }
.lb-nav.prev { left: 20px; }
.lb-nav.next { right: 20px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 24px; }
.post-card { display: block; text-decoration: none; }
.post-card .pic { aspect-ratio: 4 / 3; margin-bottom: 16px; overflow: hidden; }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: var(--t-xs); color: var(--muted); }
.post-card h3 { font: 400 var(--t-l)/1.1 var(--display); }
.post-card p { margin: 0.5rem 0 0; color: var(--muted); }
.empty { display: grid; gap: 8px; padding: clamp(48px, 8vw, 104px) clamp(24px, 5vw, 64px); background: var(--sage); }
.empty h3 { font: 300 var(--t-xl)/1.04 var(--display); }
.empty p { margin: 0; color: var(--muted); }
.article { max-width: 720px; font-size: 1.15rem; line-height: 1.78; }
.article h2 { margin: 2em 0 0.5em; font: 400 var(--t-l)/1.1 var(--display); }
.article img { margin: 2rem 0; }

/* Dati (contatti, crediti) */
.facts { margin: 2.4rem 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font-size: var(--t-s); color: var(--muted); }
.facts dd { margin: 0; }
.big-link { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 var(--display); color: var(--olive-deep); text-decoration-color: var(--rose); text-underline-offset: 7px; text-decoration-thickness: 1.5px; word-break: break-all; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- footer -- */
.foot { background: var(--ink); color: #c9cdbb; padding: clamp(64px, 8vw, 112px) var(--gutter) 28px; }
.foot > * { max-width: var(--max); margin-inline: auto; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.foot-mail { font: 300 clamp(2.2rem, 5.4vw, 5rem)/1 var(--display); color: #fff; text-decoration: none; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0% 2px no-repeat; padding-bottom: 8px; transition: background-size 600ms var(--ease); word-break: break-all; }
.foot-mail:hover { background-size: 100% 2px; }
.foot-logo { width: 104px; border-radius: 50%; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.foot h4 { margin: 0 0 14px; font: 500 var(--t-s)/1.2 var(--text); color: #fff; }
.foot p { margin: 0; font-size: var(--t-s); line-height: 1.7; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; font-size: var(--t-s); }
.foot a { color: inherit; text-decoration: none; transition: color 200ms; }
.foot a:hover { color: var(--rose-soft); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: var(--t-xs); color: #8f9582; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* -------------------------------------------------------------- movimento -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .reveal-words .w { color: var(--olive-deep); }
}

/* ------------------------------------------------------- cartoline (viaggi) --
   Un mazzo di cartoline un po' storte, come sul tavolo dopo un viaggio. Si
   trascinano via di lato o si sfogliano con le frecce; toccandole si girano. */
.cards-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: var(--space) max(var(--gutter), calc((100% - var(--max)) / 2)); }
.cards-copy h2 { font: 300 var(--t-xl)/1.02 var(--display); }
.cards-copy > p { margin: 1.2rem 0 0; color: #cfd3bf; max-width: 28em; }
.deck-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.deck-ctrl button { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background-color 200ms, transform 140ms var(--ease); }
.deck-ctrl button svg { width: 20px; height: 20px; }
.deck-ctrl button:hover { background: rgba(255, 255, 255, 0.24); }
.deck-ctrl button:active { transform: scale(0.94); }
.deck-ctrl .flip-btn { width: auto; padding: 0 22px; border-radius: 999px; font: 500 var(--t-s)/1 var(--text); margin-left: 8px; }
.deck-count { min-width: 3.6em; text-align: center; color: #cfd3bf; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.cards-foot { margin: 32px 0 0; color: #cfd3bf; }
.cards-foot a { color: #fff; text-decoration-color: var(--rose); text-underline-offset: 5px; }
.deck { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; justify-self: center; perspective: 1600px; touch-action: pan-y; }
.card { position: absolute; inset: 0; transition: transform 700ms var(--ease), opacity 500ms; will-change: transform; }
.card-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 800ms var(--ease); }
.card.flipped .card-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #f7f5ee; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.face.front img { width: 100%; height: 100%; object-fit: cover; }
.face.back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 40px; color: var(--ink); background-image: radial-gradient(circle, rgba(49, 59, 28, 0.08) 1px, transparent 1.5px); background-size: 18px 18px; }
.face.back .stamp { position: absolute; top: 22px; right: 22px; margin: 0; padding: 10px 12px; box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--rose); font: 400 1.6rem/1 var(--script); transform: rotate(4deg); }
.face.back .place { margin: 0 0 6px; font: 300 clamp(2.6rem, 4vw, 3.6rem)/1 var(--display); color: var(--olive-deep); }
.face.back p { margin: 0 0 18px; color: var(--muted); }
.face.back small { position: absolute; left: 40px; right: 40px; bottom: 20px; font-size: var(--t-xs); color: var(--muted); }
.card.top { cursor: grab; }
.card.top.drag { cursor: grabbing; transition: none; }
.card:not(.top) .face.front { filter: brightness(0.92); }
@media (max-width: 820px) { .cards-sec { grid-template-columns: 1fr; } .deck { order: -1; width: min(84vw, 380px); } .deck-ctrl { margin-top: 24px; } }

/* ------------------------------------------------------- home: il logo --
   L'apertura è il logo stesso, grande, su un fondo dello stesso bianco caldo
   del disegno: compare dentro un cerchio che si apre, mentre un anello sottile
   gli si disegna intorno come la cornice del marchio. Poi le tre frasi. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crest { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 3.5vh, 40px); min-height: 100svh; padding: calc(var(--bar) + 24px) var(--gutter) 48px; background-color: #fefefc; background-image: radial-gradient(640px circle at var(--mx, 50%) var(--my, 45%), rgba(244, 194, 195, 0.32), rgba(244, 194, 195, 0) 70%), radial-gradient(circle, rgba(49, 59, 28, 0.07) 1px, transparent 1.5px); background-size: auto, 24px 24px; overflow: clip; }
.crest-mark { position: relative; width: min(62vh, 78vw, 560px); aspect-ratio: 1; will-change: transform, opacity; }
.crest-logo { position: absolute; inset: 5%; width: 90%; height: 90%; border-radius: 50%; clip-path: circle(0% at 50% 50%); animation: crest-open 1800ms 200ms var(--ease) forwards; }
@keyframes crest-open { to { clip-path: circle(50% at 50% 50%); } }
.crest-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.crest-ring circle { fill: none; stroke: var(--olive); stroke-width: 0.25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: crest-draw 2200ms var(--ease) forwards; }
.crest-ring .r2 { stroke: var(--rose); stroke-width: 0.35; stroke-dasharray: 0.06 0.94; stroke-dashoffset: 0; opacity: 0; animation: crest-orbit 18s linear 2200ms infinite, fade-in 800ms 2000ms forwards; }
@keyframes crest-draw { to { stroke-dashoffset: 0; } }
@keyframes crest-orbit { to { stroke-dashoffset: -1; } }
@keyframes fade-in { to { opacity: 1; } }
.crest-motto { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.5em; font: 300 clamp(1.5rem, 2.6vw, 2.3rem)/1.3 var(--display); color: var(--olive-deep); text-align: center; }
.crest-motto span { opacity: 0; transform: translateY(14px); animation: rise-in 1000ms var(--ease) forwards; }
.crest-motto span:nth-child(1) { animation-delay: 1300ms; }
.crest-motto span:nth-child(2) { animation-delay: 1550ms; color: var(--rose); }
.crest-motto span:nth-child(3) { animation-delay: 1800ms; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .crest-logo { clip-path: none; animation: none; }
  .crest-ring circle { stroke-dashoffset: 0; animation: none; }
  .crest-ring .r2 { display: none; }
  .crest-motto span { opacity: 1; transform: none; animation: none; }
}

/* testi completi */
.duo-center h1 small { display: block; font-size: 0.4em; line-height: 1.3; margin-top: 0.7em; }
.manifesto .m-head { font: 500 0.78rem/1 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin-bottom: 2rem; }
.cover h1.long { font-size: var(--t-xl); line-height: 1.04; max-width: 16em; }
.cover h1 .emo { font-size: 0.55em; vertical-align: 0.15em; }

/* pagine legali */
.legal { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.legal > * { max-width: 46rem; }
.legal h2 { font: 400 var(--t-l)/1.15 var(--display); margin: 2em 0 0.5em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 600 1rem/1.4 var(--text); margin: 1.6em 0 0.3em; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 0.5em 0; }
.legal a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.legal .upd { margin-top: 3em; color: var(--muted); font-size: 0.9rem; }
.todo { background: #fff1b8; color: var(--ink); padding: 0 0.25em; border-radius: 3px; }
.privacy-note { margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }
.privacy-note a { color: inherit; text-decoration: underline; }

/* prezzi dei trattamenti */
.row-body .price { font: 500 var(--t-s)/1.4 var(--text); color: var(--olive-deep); letter-spacing: .01em; margin: -.25em 0 1.1em; }
