/* theme/home.css: the Italian home page (pages/it/home.md), the layout Marco approved on 25/11/2026.
   Loaded only by that page; every rule lives under .hp, so the other pages and the other homes keep theme.css alone.
   Masthead, footer, menu, languages and dark mode stay the site's: here only the colours of the site are used. */

.hp {
  --hp-red: #a32a16; --hp-mute: #4a475e; --hp-lilac: #bdbad8; --hp-peach: #f0bd96; --hp-peach-light: #f6dcc6; --hp-band: #f3dbc2;
  --hp-glow: rgb(240 189 150 / .42); --hp-time: #8e2716; --hp-soft: #3a3858;
  --hp-edge: clamp(22px, 5vw, 64px); --hp-air: clamp(56px, 7.4vw, 106px); --hp-spring: cubic-bezier(.2, .7, .2, 1);
  margin-inline: calc(50% - 50vw);
  color: var(--ink);
  font-size: 1.0625rem; line-height: 1.55;
}
@media (min-width: 900px) { .hp { font-size: 1.1875rem; } }
@media screen and (prefers-color-scheme: dark) {
  .hp {
    --hp-red: var(--red); --hp-mute: var(--muted); --hp-peach: #3b2c55; --hp-peach-light: #2a2450; --hp-band: #231f4a;
    --hp-glow: rgb(255 157 130 / .12); --hp-time: var(--red); --hp-soft: var(--muted);
  }
}
main:has(> .page > .hp) { padding-block: 0; }

.hp :is(h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
.hp :is(ol, ul) { list-style: none; }
.hp :is(h1, h2, h3) { color: inherit; font-weight: 400; }
.hp :is(h2, h3) a { color: inherit; text-decoration: none; }
@media (hover: hover) { .hp h2 a:hover { color: var(--hp-red); } }
.hp :focus-visible { outline: 2px solid var(--hp-red); outline-offset: 4px; border-radius: 2px; }
.hp .hp-notte :focus-visible { outline-color: var(--spot); }
.hp .hp-simboli { position: absolute; }

.hp .hp-foglio { max-width: 1240px; margin-inline: auto; padding-inline: var(--hp-edge); }
.hp .hp-griglia { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 28px); }
.hp .hp-griglia > * { grid-column: 1 / -1; }

/* ---------- the first screen ---------- */
.hp .hp-prima { position: relative; background: radial-gradient(48% 46% at 96% 58%, var(--hp-glow), transparent 72%), radial-gradient(40% 50% at 0% 70%, rgb(255 204 7 / .07), transparent 70%); }
.hp .hp-prima-testo { padding-block: clamp(22px, 1.9vw, 26px) clamp(18px, 1.5vw, 20px); }
.hp .hp-occhiello { font: 500 .875rem/1.3 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--hp-red); }
.hp h1 { font: 400 clamp(2.6rem, 5.8vw, 5rem)/.98 var(--font); letter-spacing: -.025em; margin-top: .26em; text-wrap: balance; max-width: 17em; }
.hp h1 em { letter-spacing: -.03em; white-space: nowrap; }
.hp .hp-sommario { font-size: clamp(1.0625rem, 1.55vw, 1.3125rem); line-height: 1.42; margin-top: clamp(18px, 1.7vw, 22px); max-width: 29em; text-wrap: pretty; }
.hp .hp-inviti { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hp .hp-bottone { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 12px 18px 12px 20px; border: 1.5px solid var(--ink); border-radius: 3px;
  font: 700 1.0625rem/1.2 var(--cond); letter-spacing: .01em; text-decoration: none; text-wrap: balance; background: color-mix(in srgb, var(--field) 60%, transparent); color: var(--ink);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.hp .hp-bottone svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--hp-spring); }
.hp .hp-bottone.hp-pieno { background: var(--ink); color: var(--paper); }
.hp .hp-bottone:hover { background: var(--spot); border-color: var(--night); color: var(--on-spot); }
.hp .hp-bottone:hover svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .hp .hp-sommario { grid-column: 1 / 8; }
  .hp .hp-inviti { grid-column: 8 / 13; align-self: end; margin-top: 0; }
}

/* ---------- the panorama: the ridges are the payments of the ledger (tools/registro.py, panorama_home) ---------- */
.hp .hp-pano { margin: 0; padding-bottom: clamp(20px, 3vw, 40px); }
.hp .p-testa { display: grid; gap: 8px 28px; margin-bottom: 8px; }
.hp .p-titolo { font: 700 1.25rem/1.2 var(--cond); letter-spacing: 0; color: var(--hp-red); text-wrap: balance; }
.hp .p-legenda { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 500 .9375rem/1.3 var(--cond); }
.hp .p-legenda i { display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -1px; box-shadow: 0 0 0 1px var(--ink); }
.hp .p-riga { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.hp .p-passi { display: none; gap: 8px; flex: none; }
@media (scripting: enabled) { .hp .p-passi { display: flex; } }
.hp .p-passi button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 2px; border: 1px solid var(--ink); border-radius: 50%; background: color-mix(in srgb, var(--field) 60%, transparent); color: var(--ink);
  font: 600 1.25rem/1 var(--mono); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.hp .p-passi button:hover { background: var(--ink); color: var(--paper); }
.hp .hp-pano .scorri { display: block; flex: 1; min-width: 0; max-width: none; min-height: 0; margin: 0; padding: 0; font: 500 1rem/1.35 var(--cond); color: var(--ink); text-decoration: none; }
.hp .hp-pano .scorri b { display: inline; font-size: inherit; font-weight: 700; color: var(--hp-red); margin-right: .45em; }
.hp .hp-pano .scorri span { text-decoration: none; }
.hp .hp-pano .scorri .p-fatto { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; margin-left: .45em; }
.hp .p-largo { display: none; }
.hp .panorama-lente { position: relative; max-width: 1800px; margin-inline: auto; }
.hp .hp-pano .panorama-tavola { max-width: none; overflow-x: auto; scrollbar-width: none; }
.hp .hp-pano .panorama-tavola::-webkit-scrollbar { display: none; }
.hp .hp-pano .panorama-tavola:focus-visible { outline-offset: -3px; }
.hp .hp-pano svg { display: block; width: 100%; height: auto; }
.hp .hp-pano svg text { font: 500 17px var(--cond); fill: var(--ink); }
.hp .hp-pano svg .e-t { font-weight: 700; }
.hp .hp-pano svg .e-s { fill: var(--hp-red); }
.hp .hp-pano.viva .panorama-tavola { display: flex; overscroll-behavior-x: contain; cursor: pointer; }
.hp .hp-pano.viva .panorama-tavola svg { flex: none; }
.hp .hp-cima { display: none; }
/* the sight: a pin on the ridge and a thread down to the axis; nothing above the ridge, so the labels stay free */
.hp .hp-pano .p-mirino { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; margin: 0; background: none; pointer-events: none; }
.hp .hp-pano .p-mirino::before { content: ""; position: absolute; left: -1px; width: 2px; top: var(--q); bottom: 10.3%; background: var(--spot); box-shadow: 0 0 0 1px var(--night); }
.hp .hp-pano:not(.viva) .t-perno { bottom: calc(100% - var(--q) - 14px); }
.hp .hp-pano .t-perno { position: absolute; left: 50%; bottom: 0; box-shadow: 0 0 0 2px var(--night); color: var(--on-spot); }
.hp .hp-pano .t-perno::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 0 0 3px var(--spot); opacity: 0; }
.hp .hp-pano:not(.toccata) .t-perno::after { animation: hp-anello 1.6s ease-out 4 .8s; }
@keyframes hp-anello { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.hp .hp-pano figcaption { margin-top: 8px; font: italic 400 .9375rem/1.4 var(--font); color: var(--hp-mute); }
.hp .hp-pano figcaption b { font-weight: 400; font-style: normal; color: var(--ink); }
@media screen and (prefers-color-scheme: dark) {
  .hp .hp-pano svg [fill="#17163a"] { fill: var(--ink); }
  .hp .hp-pano svg [stroke="#17163a"] { stroke: var(--ink); }
  .hp .hp-pano svg [fill="#c9bfa8"] { fill: #4c4a7c; }
  .hp .p-legenda i[style*="#17163a"] { background: var(--ink) !important; }
  .hp .p-legenda i[style*="#c9bfa8"] { background: #4c4a7c !important; }
}
@media (min-width: 1180px) {
  .hp .p-testa { grid-template-columns: 1fr auto; align-items: baseline; }
  .hp .p-riga { grid-column: 1 / -1; }
  .hp .hp-pano .scorri { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hp .p-largo { display: inline; }
  .hp .p-stretto { display: none; }
  .hp .hp-pano.viva .panorama-tavola { touch-action: pan-y; }
}
/* under 1180 px the chart does not shrink (the labels would fall under 14 px): it scrolls sideways and starts from today */
@media (max-width: 1179px) {
  .hp .hp-pano svg { width: 1180px; max-width: none; flex: none; }
  .hp .hp-pano .panorama-tavola { position: relative; display: flex; overscroll-behavior-x: contain; scroll-padding-left: 84%; }
  .hp .hp-pano:not(.toccata) .panorama-tavola { scroll-snap-type: x mandatory; }
  .hp .hp-pano .panorama-tavola::before, .hp .hp-pano.viva .panorama-tavola::before { content: ""; flex: 0 0 84%; }
  .hp .hp-pano .panorama-tavola::after, .hp .hp-pano.viva .panorama-tavola::after { content: ""; flex: 0 0 16%; }
  .hp .hp-cima { display: block; position: absolute; top: 0; left: calc(84% + 1179px); width: 1px; height: 1px; scroll-snap-align: start; }
  .hp .hp-pano .p-mirino { left: 84%; --q: var(--qn); }
  .hp .hp-pano .scorri { min-height: 4.05em; padding-top: 1px; }
  .hp .p-riga { align-items: flex-start; }
  .hp .hp-pano.viva .scorri b, .hp .hp-pano.viva .scorri span { display: block; margin-inline: 0; }
  .hp .hp-pano.viva .scorri .p-fatto { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 520px) { .hp .p-titolo { font-size: 1.125rem; } }

/* ---------- sections ---------- */
.hp .hp-sezione { padding-block: var(--hp-air); }
.hp .hp-sezione + .hp-sezione { padding-top: 0; }
.hp .hp-capire { padding-top: clamp(32px, 4vw, 56px); }
.hp .hp-capo { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--ink); padding-top: 12px;
  font: 500 .875rem/1.3 var(--cond); letter-spacing: .13em; text-transform: uppercase; }
.hp .hp-n { font: 400 .875rem/1 var(--mono); letter-spacing: 0; margin-right: 1.1em; color: var(--hp-red); }
.hp .hp-chi { font: italic 400 1rem/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--hp-mute); }
.hp h2 { font: 400 clamp(2.25rem, 5.2vw, 4.5rem)/1.02 var(--font); letter-spacing: -.022em; text-wrap: balance; }
.hp .hp-corpo { margin-top: clamp(24px, 3.2vw, 44px); row-gap: clamp(28px, 3.4vw, 44px); }
.hp .hp-testo { max-width: 29em; text-wrap: pretty; }
.hp :is(h2, .hp-sotto) + .hp-testo { margin-top: clamp(16px, 1.9vw, 24px); }
/* under each title that evokes, a line that says the thing as it is */
.hp .hp-sotto { display: flex; align-items: baseline; gap: .7em; margin-top: clamp(12px, 1.5vw, 20px); max-width: 34em; font: 500 clamp(1.125rem, 1.55vw, 1.375rem)/1.28 var(--cond); text-wrap: balance; }
.hp .hp-sotto::before { content: ""; flex: none; width: 1.5em; height: 2px; background: var(--hp-red); transform: translateY(-.32em); }
.hp .hp-notte .hp-sotto::before { background: var(--spot); }

.hp .hp-vai { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(22px, 2.4vw, 32px); text-decoration: none;
  font: 700 .875rem/1.2 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: inherit; }
.hp .hp-o { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; flex: none;
  transition: background-color .3s ease, color .3s ease, transform .45s var(--hp-spring); }
.hp .hp-o svg { width: 16px; height: 16px; }
.hp .hp-vai:hover .hp-o { background: var(--ink); color: var(--paper); transform: translateX(4px); }
.hp .hp-notte .hp-vai:hover .hp-o { background: var(--night-text); color: var(--night); }
.hp .hp-poi { margin-top: 18px; font-size: 1rem; color: var(--hp-mute); }
.hp .hp-filo { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .25s ease, color .25s ease; }
.hp .hp-filo:hover { text-decoration-color: currentColor; color: var(--hp-red); }

/* the engravings of the site: the white of the paper melts into the background */
.hp .hp-incisione { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.hp .hp-listino .hp-incisione { margin-bottom: 10px; }
.hp .hp-capire .hp-incisione { margin-top: clamp(20px, 3vw, 36px); width: min(100%, 460px); }
.hp .hp-storia .hp-incisione { width: min(100%, 520px); }
.hp .hp-scontrino-box { position: relative; }
.hp .hp-scontrino-box .hp-incisione { width: min(100%, 470px); }
.hp .hp-notte .hp-incisione, .hp .hp-incontri .hp-incisione { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) brightness(.92); width: min(100%, 480px); margin-inline: auto; }
@media screen and (prefers-color-scheme: dark) { .hp .hp-incisione { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) brightness(.92); } }
@media (min-width: 900px) { .hp .hp-storia .hp-ill { grid-column: 1 / 7; } .hp .hp-incontri .hp-ill { grid-column: 8 / 13; grid-row: 1; align-self: center; } }

/* 02 to pay: the list of discounts */
.hp .hp-listino h3 { font: 700 .875rem/1.3 var(--cond); letter-spacing: .13em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.hp .hp-listino > a { display: flex; align-items: baseline; gap: 10px; padding: 15px 0 13px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; transition: padding .4s var(--hp-spring), border-color .3s ease; }
.hp .hp-listino > a::after { content: ""; order: 1; flex: 1; min-width: 16px; border-bottom: 1px dotted var(--hp-mute); transform: translateY(-.28em); opacity: .7; }
.hp .hp-listino > a b { order: 2; font: 400 .9em/1 var(--mono); letter-spacing: -.03em; color: var(--hp-red); transition: transform .4s var(--hp-spring); }
.hp .hp-listino > a:hover { padding-left: 10px; border-color: var(--ink); }
.hp .hp-listino > a:hover b { transform: scale(1.08); }
.hp .hp-listino p { margin-top: 16px; font-size: 1rem; color: var(--hp-mute); }
@media (min-width: 900px) {
  .hp .hp-pagare .hp-sx { grid-column: 1 / 7; }
  .hp .hp-pagare .hp-listino { grid-column: 8 / 13; align-self: end; }
}

/* the voice from the counter, inside the story */
.hp .hp-voce { border-top: 1px solid var(--ink); padding-top: clamp(18px, 2.2vw, 28px); display: grid; gap: 12px clamp(24px, 4vw, 64px); }
.hp .hp-voce blockquote { font: italic 400 clamp(1.6rem, 3.3vw, 2.75rem)/1.12 var(--font); letter-spacing: -.015em; text-wrap: balance; border: 0; }
.hp .hp-voce figcaption { margin: 0; font: 400 1rem/1.5 var(--font); color: var(--hp-soft); max-width: 26em; text-wrap: pretty; }
.hp .hp-voce figcaption b { display: block; margin-bottom: 6px; font: 500 .875rem/1.4 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-mute); }
@media (min-width: 900px) { .hp .hp-voce { grid-column: 1 / -1; grid-template-columns: 1.25fr 1fr; align-items: center; } }

/* 01 to understand: the doors */
.hp .hp-porte { border-top: 2px solid var(--ink); }
.hp .hp-porte a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line); color: inherit;
  text-decoration: none; font: 400 clamp(1.5rem, 2.9vw, 2.25rem)/1.1 var(--font); letter-spacing: -.012em; transition: padding .45s var(--hp-spring), border-color .3s ease; }
.hp .hp-porte a svg { width: 22px; height: 22px; flex: none; color: var(--hp-red); transition: transform .45s var(--hp-spring); }
.hp .hp-porte a:hover { padding-left: 12px; border-color: var(--ink); }
.hp .hp-porte a:hover em { color: var(--hp-red); }
.hp .hp-porte a:hover svg { transform: translateX(6px); }
@media (min-width: 900px) {
  .hp .hp-capire .hp-titolo { grid-column: 1 / 11; }
  .hp .hp-capire .hp-sx { grid-column: 1 / 6; }
  .hp .hp-capire .hp-porte { grid-column: 7 / 13; }
}

/* 03 the story */
.hp .hp-storia { background: linear-gradient(180deg, var(--paper) 0, var(--hp-band) 20%, var(--hp-band) 80%, var(--paper) 100%); padding-block: calc(var(--hp-air) * .62) calc(var(--hp-air) * .8); }
.hp .hp-storia + .hp-sezione { padding-top: calc(var(--hp-air) * .6); }
.hp .hp-pagare { padding-bottom: calc(var(--hp-air) * .7); }
.hp .hp-storia h2 { font: italic 400 clamp(4rem, 14vw, 11.5rem)/.86 var(--font); letter-spacing: -.04em; margin-left: -.05em; white-space: nowrap; }
.hp .hp-storia .hp-testo { font-size: clamp(1.125rem, 1.65vw, 1.4rem); line-height: 1.45; max-width: 26em; }
.hp .hp-tappe { position: relative; }
.hp .hp-tappa { position: relative; padding: 0 0 30px 28px; border-left: 1px solid var(--ink); }
.hp .hp-tappa:last-child { padding-bottom: 0; }
.hp .hp-tappa::before { content: ""; position: absolute; left: -5px; top: .25em; width: 9px; height: 9px; border-radius: 50%; background: var(--hp-red); box-shadow: 0 0 0 4px var(--hp-band); }
.hp .hp-tappa time { display: block; font: 400 .875rem/1.3 var(--mono); color: var(--hp-time); }
.hp .hp-tappa h3 { font: 400 1.5rem/1.15 var(--font); letter-spacing: -.01em; margin: 6px 0 8px; }
.hp .hp-tappa p { font-size: 1rem; line-height: 1.5; color: var(--hp-soft); max-width: 24em; }
@media (min-width: 900px) {
  .hp .hp-storia .hp-testo { grid-column: 7 / 13; margin-top: 0; align-self: center; }
  .hp .hp-storia .hp-corpo { margin-top: clamp(24px, 3vw, 44px); }
  .hp .hp-tappe { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 0; margin-top: clamp(20px, 3vw, 40px); }
  .hp .hp-tappa { padding: 30px 28px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .hp .hp-tappa::before { left: 0; top: -5px; }
  .hp .hp-storia .hp-vai-box { grid-column: 1 / -1; }
}
.hp .hp-vai-box .hp-vai { margin-top: 0; }

/* 04 for shops: the receipt */
.hp .hp-vendere { background: linear-gradient(180deg, transparent 0, transparent 42%, var(--hp-peach-light) 78%, var(--hp-peach) 100%); padding-bottom: calc(var(--hp-air) + clamp(36px, 6vw, 84px)); }
.hp .hp-scontrino { position: relative; width: min(88%, 300px); margin: -17% 2% 0 auto; background: #fffdf6; color: #17163a; padding: 26px 22px 34px; font: 400 .875rem/1.6 var(--mono);
  transform: rotate(-2.2deg); transition: transform .7s var(--hp-spring); filter: drop-shadow(0 18px 22px rgb(35 34 76 / .14));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 100%; }
.hp .hp-scontrino:hover { transform: rotate(0); }
.hp .hp-scontrino .hp-st { display: flex; align-items: center; gap: 8px; font: 700 .875rem/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px dashed #4a475e; }
.hp .hp-scontrino dl { padding: 14px 0; border-bottom: 1px dashed #4a475e; }
.hp .hp-scontrino dl div { display: flex; justify-content: space-between; gap: 12px; }
.hp .hp-scontrino :is(dt, dd) { margin: 0; font-weight: 400; }
.hp .hp-scontrino .hp-tot { font-size: 1.25rem; padding-top: 6px; }
.hp .hp-scontrino ol { padding: 14px 0 12px; counter-reset: hp-g; }
.hp .hp-scontrino li { counter-increment: hp-g; }
.hp .hp-scontrino li::before { content: counter(hp-g) ". "; color: #a32a16; }
.hp .hp-scontrino small { display: block; font-size: .875rem; line-height: 1.45; color: #4a475e; }
@media (max-width: 640px) { .hp .hp-listino .hp-incisione, .hp .hp-scontrino-box .hp-incisione { display: none; } .hp .hp-scontrino { margin: 6px auto 0 8%; } }
@media (min-width: 900px) {
  .hp .hp-vendere .hp-scontrino-box { grid-column: 1 / 6; grid-row: 1; align-self: center; }
  .hp .hp-vendere .hp-dx { grid-column: 7 / 13; grid-row: 1; }
}
.hp .hp-capire { background: radial-gradient(50% 60% at 8% 78%, color-mix(in srgb, var(--hp-peach) 22%, transparent), transparent 72%); }
.hp .hp-cresta { display: block; width: 100%; height: clamp(36px, 6vw, 84px); margin-top: calc(-1 * clamp(36px, 6vw, 84px) + 1px); margin-bottom: -1px; fill: var(--night); pointer-events: none; position: relative; }

/* 05 meeting: the night */
.hp .hp-notte { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; }
.hp .hp-notte h2, .hp .hp-notte h2 a { color: var(--night-text); }
.hp .hp-notte .hp-sezione { position: relative; padding-top: clamp(36px, 4.5vw, 64px); }
.hp .hp-curve { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--night-text); stroke-opacity: .08; stroke-width: 1.2; fill: none; pointer-events: none; }
.hp .hp-notte .hp-capo { border-color: rgb(245 239 224 / .5); }
.hp .hp-notte .hp-n { color: var(--spot); }
.hp .hp-notte .hp-chi { color: var(--hp-lilac); }
.hp .hp-incontri h2 { font: 400 clamp(3.1rem, 10.4vw, 9rem)/.9 var(--font); letter-spacing: -.035em; }
.hp .hp-incontri h2 em { display: block; padding-left: .9em; }
.hp .hp-quando { display: grid; gap: 26px; }
.hp .hp-quando div { border-top: 1px solid rgb(245 239 224 / .35); padding-top: 12px; }
.hp .hp-quando dt { font: 500 .875rem/1.3 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-lilac); }
.hp .hp-quando dd { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.18; letter-spacing: -.01em; margin-top: 8px; }
.hp .hp-quando dd b { font-weight: 400; color: var(--spot); white-space: nowrap; }
/* what has a date (the Spritz of 28 November, Halloween) waits above the meetings until the day is over */
.hp .hp-avviso { margin-bottom: clamp(28px, 3.4vw, 44px); padding: 14px 18px; border: 1px solid var(--spot); border-radius: 3px; max-width: 46em; font-size: 1.0625rem; line-height: 1.45; }
.hp .hp-avviso a { color: var(--spot); font-weight: 600; }
.hp .hp-avviso-k { display: block; margin-bottom: 4px; font: 700 .875rem/1.3 var(--cond); letter-spacing: .13em; text-transform: uppercase; color: var(--hp-lilac); }
@media (min-width: 900px) {
  .hp .hp-incontri .hp-titolo { grid-column: 1 / 8; grid-row: 1; align-self: center; }
  .hp .hp-quando { grid-column: 1 / 9; grid-template-columns: 1.25fr 1fr; gap: clamp(14px, 2vw, 28px); }
  .hp .hp-incontri .hp-vai-box { grid-column: 9 / 13; align-self: end; justify-self: end; }
}

/* the foot of the page: where the rest is */
.hp .hp-piede { position: relative; padding-block: clamp(36px, 5vw, 60px) clamp(40px, 5vw, 64px); border-top: 1px solid rgb(245 239 224 / .22); }
.hp .hp-piede h2 { font: italic 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--font); letter-spacing: -.01em; max-width: 16em; color: var(--night-text); }
.hp .hp-resto { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 24px; font-size: 1rem; }
.hp .hp-resto a small { display: block; margin-top: 2px; font: 500 .875rem/1.35 var(--cond); color: var(--hp-lilac); }
.hp .hp-resto a { display: block; padding: 11px 0; border-bottom: 1px solid rgb(245 239 224 / .2); color: inherit; text-decoration: none; transition: color .25s ease, padding .4s var(--hp-spring); }
.hp .hp-resto a:hover { color: var(--spot); padding-left: 6px; }
@media (min-width: 900px) {
  .hp .hp-piede h2 { grid-column: 1 / 5; }
  .hp .hp-resto { grid-column: 6 / 13; margin-top: 0; grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { animation: none !important; transition: none !important; }
  .hp .hp-scontrino, .hp .hp-scontrino:hover { transform: rotate(-2.2deg); }
}
@media print { .hp .p-passi, .hp .hp-cresta, .hp .hp-curve { display: none; } .hp .hp-notte { background: none; color: inherit; } }
