@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --nero: #070707;
  --panna: #efe7d8;
  --fumo: #a39b8f;
  --rosso: #d2321e;
  /* Il rosso del marchio è 4,0:1 sul nero: per le scritte serve più chiaro, per le
     superfici con testo panna più scuro. Misurati il 10/10. */
  --rosso-testo: #e64a32;   /* 5,2:1 sul nero */
  --rosso-fondo: #b42a18;   /* panna sopra: 5,2:1 */
  --rosso-on: 0;
  --lato-a: min(96svh, 62vw);
  --mezzo-a: min(48svh, 31vw);
  --apertura-y: 16svh;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--nero);
  color: var(--panna);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--nero);
  color: var(--panna);
}

a {
  color: inherit;
  text-decoration: none;
}

.barra {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: clamp(1.1rem, 2.2vw, 2rem) clamp(1.1rem, 3vw, 3rem);
  color: var(--panna);
  font-family: "Geist Mono", monospace;
  font-size: clamp(0.74rem, 0.85vw, 0.9rem);
  font-variation-settings: "wght" 520;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

/* Leggibilità in ogni fase: la barra porta un velo scuro suo, sempre. Sul campo panna
   il velo si spegne e il testo passa al nero. */
.barra::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 -70%;
  background: linear-gradient(to bottom, rgb(7 7 7 / 90%), rgb(7 7 7 / 62%) 55%, transparent);
  content: "";
  pointer-events: none;
  transition: opacity 160ms linear;
}

body.campo-panna .barra::before {
  opacity: 0;
}

body.campo-panna .barra {
  color: var(--nero);
}

.barra__marca {
  justify-self: start;
}

.barra__luogo {
  justify-self: center;
  color: rgb(239 231 216 / 78%);
}

body.campo-panna .barra__luogo {
  color: var(--nero);
  opacity: 0.66;
}

.barra__prenota {
  position: relative;
  justify-self: end;
}

.barra__prenota-accento {
  position: absolute;
  inset: 0;
  color: var(--rosso-testo);
  opacity: var(--rosso-on);
}

.palco {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--nero);
}

.palco__contenuto {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wordmark {
  position: absolute;
  z-index: 1;
  top: clamp(5.2rem, 9svh, 7.5rem);
  left: 50%;
  width: max-content;
  margin: 0;
  color: var(--panna);
  font-family: "Fraunces", serif;
  font-size: 17vw;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 0, "WONK" 1;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.72;
  white-space: nowrap;
  transform: translateX(-50%);
  transform-origin: center top;
}

.strato {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.strato--a {
  z-index: 2;
}

.quadro-a {
  position: relative;
  width: var(--lato-a);
  height: var(--lato-a);
  transform: translateY(var(--apertura-y)) scale(0.9);
  transform-origin: 50% 50%;
}

/* Il taglio parte dall'ultimo fotogramma dell'esploso e finisce sul primo dell'alveolo:
   i passaggi A → T → B sono scambi istantanei di canvas, non dissolvenze. */
#sequenza-t {
  position: absolute;
  inset: 0;
  opacity: 0;
}

#sequenza-a,
#sequenza-t,
#sequenza-b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--nero);
}

#sequenza-a {
  --maschera: 97%;
  -webkit-mask-image: radial-gradient(ellipse 41% 28.5% at 49.8% 49.1%, #000 var(--maschera), transparent calc(var(--maschera) + 6%));
  mask-image: radial-gradient(ellipse 41% 28.5% at 49.8% 49.1%, #000 var(--maschera), transparent calc(var(--maschera) + 6%));
}

.sottotitolo {
  position: absolute;
  z-index: 4;
  bottom: clamp(2rem, 5svh, 4rem);
  left: 50%;
  width: min(90vw, 44rem);
  margin: 0;
  color: var(--fumo);
  font-family: "Geist Mono", monospace;
  font-size: clamp(0.74rem, 0.85vw, 0.9rem);
  font-variation-settings: "wght" 480;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.etichette {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: var(--lato-a);
  height: var(--lato-a);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.etichetta {
  --quota: 50%;
  position: absolute;
  top: var(--quota);
  width: clamp(14rem, 20vw, 22rem);
  margin: 0;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms linear, transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.etichetta::after {
  position: absolute;
  top: 0.66rem;
  width: calc(clamp(1.2rem, 3vw, 3rem) + var(--mezzo-a));
  height: 1px;
  background: var(--fumo);
  content: "";
  opacity: 0.72;
  transform: scaleX(0);
  transition: transform 360ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.etichetta--sinistra {
  right: calc(100% - clamp(1.2rem, 2vw, 2rem));
  text-align: right;
  transform: translate(-0.65rem, -50%);
}

.etichetta--sinistra::after {
  left: 100%;
  transform-origin: left;
}

.etichetta--destra {
  left: calc(100% - clamp(1.2rem, 2vw, 2rem));
  transform: translate(0.65rem, -50%);
}

.etichetta--destra::after {
  right: 100%;
  transform-origin: right;
}

.etichetta--visibile {
  opacity: 1;
  transform: translate(0, -50%);
}

.etichetta--visibile::after {
  transform: scaleX(1);
}

.etichetta__testa {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.etichetta--sinistra .etichetta__testa {
  justify-content: flex-end;
}

.etichetta__numero,
.etichetta__nome,
.etichetta__dati {
  font-family: "Geist Mono", monospace;
  font-variation-settings: "wght" 480;
}

.etichetta__numero,
.etichetta__nome {
  font-size: clamp(0.86rem, 1vw, 1.05rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.etichetta__numero {
  color: var(--fumo);
}

.etichetta__nome {
  margin: 0;
  color: var(--panna);
  letter-spacing: 0.08em;
}

.etichetta__dati {
  margin: 0.38rem 0 0;
  color: var(--fumo);
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  line-height: 1.45;
}

.etichetta--pomodoro .etichetta__numero,
.etichetta--pomodoro .etichetta__nome {
  color: var(--rosso-testo);
}

.strato--b {
  z-index: 5;
  opacity: 0;
}

/* Più grande dello schermo: centrato in assoluto (la griglia lo allineerebbe in alto). */
#sequenza-b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 100svh);
  height: max(100vw, 100svh);
  transform: translate(-50%, -50%);
}

.lampo {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 40%, var(--panna) 55%, #d9cdb6 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.campo {
  position: absolute;
  z-index: 6;
  inset: 0;
  background: var(--panna);
  opacity: 0;
  pointer-events: none;
}

.contatori-b {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
}

.contatore {
  position: absolute;
  top: 50%;
  width: min(22vw, 22rem);
  opacity: 0;
  transform: translateY(-50%);
}

.contatore--ore {
  left: clamp(1.5rem, 4vw, 5rem);
}

.contatore--idratazione {
  right: clamp(1.5rem, 4vw, 5rem);
  text-align: right;
}

.contatore__valore,
.forno-testo__temperatura {
  margin: 0;
  font-family: "Fraunces", serif;
  font-variation-settings: "opsz" 144, "wght" 400, "SOFT" 0, "WONK" 1;
  font-weight: 400;
  text-shadow: 0 0 2px rgb(7 7 7 / 40%), 0 4px 40px rgb(7 7 7 / 65%);
  letter-spacing: -0.055em;
  line-height: 0.8;
  white-space: nowrap;
}

.contatore__valore {
  font-size: 9vw;
}

.cifra {
  display: inline-block;
  width: 0.62em;
  text-align: center;
}

.contatore__unita,
.forno-testo__unita {
  letter-spacing: -0.035em;
}

.contatore__didascalia,
.titolo-alveolo p,
.forno-testo__tempo,
.sezione-indice,
.prenota__dati,
.piede {
  font-family: "Geist Mono", monospace;
  font-variation-settings: "wght" 480;
}

.contatore__didascalia {
  margin: 1rem 0 0;
  color: var(--fumo);
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Il titolo occupa tutto lo schermo come il campo panna: così la stessa linea di taglio
   (clip-path) divide campo e titolo, e ogni lettera sta sempre sul fondo giusto. */
.titolo-alveolo {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.titolo-alveolo__corpo {
  position: relative;
  width: min(92vw, 86rem);
}

.titolo-alveolo--nero {
  color: var(--nero);
}

.titolo-alveolo--panna {
  color: var(--panna);
}

.titolo-alveolo h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 11vw;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 0, "WONK" 1;
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.titolo-alveolo p {
  margin: clamp(1.3rem, 3vw, 2.5rem) auto 0;
  font-size: clamp(0.8rem, 0.92vw, 1rem);
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.strato--c {
  z-index: 9;
  opacity: 0;
  transform: scale(1.08);
}

#forno {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forno-velo {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58%;
  background: linear-gradient(to bottom, transparent, rgb(7 7 7 / 70%));
  opacity: 0;
  pointer-events: none;
}

.forno-testo {
  position: absolute;
  z-index: 11;
  right: 0;
  bottom: clamp(2.5rem, 6svh, 5.5rem);
  left: 0;
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.forno-testo__temperatura {
  font-size: 20vw;
}

.forno-testo__tempo {
  margin: clamp(1rem, 2vw, 1.8rem) 1.2rem 0;
  font-size: clamp(0.8rem, 1vw, 1.05rem);
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ridotta {
  display: none;
}

.menu,
.prenota,
.piede {
  position: relative;
  background: var(--nero);
}

.menu {
  z-index: 2;
  padding: clamp(6rem, 12vw, 12rem) clamp(1.2rem, 5vw, 5rem) clamp(8rem, 14vw, 14rem);
}

.menu::before {
  position: absolute;
  z-index: -1;
  top: -30svh;
  right: 0;
  left: 0;
  height: 30svh;
  background: linear-gradient(to bottom, transparent, var(--nero));
  content: "";
  pointer-events: none;
}

.sezione-indice {
  margin: 0 0 clamp(3rem, 7vw, 7rem);
  color: var(--fumo);
  font-size: clamp(0.8rem, 0.92vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu__lista {
  border-top: 1px solid rgb(163 155 143 / 38%);
}

.piatto {
  display: grid;
  grid-template-columns: minmax(16rem, 1.25fr) minmax(16rem, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: baseline;
  padding: clamp(1.8rem, 3.2vw, 3.5rem) 0;
  border-bottom: 1px solid rgb(163 155 143 / 38%);
  opacity: 0;
  transform: translateY(2rem);
}

.piatto h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 0, "WONK" 1;
  font-weight: 320;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.piatto p,
.piatto > span {
  margin: 0;
  color: var(--fumo);
  font-family: "Geist Mono", monospace;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  font-variation-settings: "wght" 480;
  line-height: 1.55;
}

.piatto > span {
  color: var(--panna);
  text-align: right;
}

.prenota {
  display: grid;
  min-height: 100svh;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.2rem, 5vw, 5rem);
  align-content: center;
  justify-items: start;
}

.prenota .sezione-indice {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.prenota h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(4.4rem, 13vw, 13rem);
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 20, "WONK" 1;
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.prenota__dati {
  max-width: 58rem;
  margin: clamp(2.5rem, 5vw, 5rem) 0 0;
  color: var(--fumo);
  font-size: clamp(0.8rem, 1vw, 1.05rem);
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
}

.prenota__cta {
  display: inline-flex;
  min-width: 11rem;
  min-height: 3.8rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: 1rem 2rem;
  align-items: center;
  justify-content: center;
  background: var(--rosso-fondo);
  color: var(--panna);
  font-family: "Geist Mono", monospace;
  font-size: clamp(0.8rem, 0.92vw, 1rem);
  font-variation-settings: "wght" 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.piede {
  padding: 1.5rem clamp(1.2rem, 5vw, 5rem) 2rem;
  color: var(--fumo);
  font-size: clamp(0.72rem, 0.8vw, 0.86rem);
  line-height: 1.5;
  text-transform: uppercase;
}

.piede p {
  margin: 0;
}

@media (hover: hover) {
  .piatto h2 {
    transition: font-variation-settings 400ms ease;
  }

  .piatto:hover h2 {
    font-variation-settings: "opsz" 144, "wght" 520, "SOFT" 100, "WONK" 1;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .etichetta--sinistra {
    right: calc(100% - clamp(5rem, 9vw, 7rem));
  }

  .etichetta--destra {
    left: calc(100% - clamp(5rem, 9vw, 7rem));
  }
}

@media (max-width: 767px) {
  :root {
    --lato-a: 112vw;
    --mezzo-a: 56vw;
    --apertura-y: 10svh;
  }

  .barra {
    grid-template-columns: 1fr 1fr;
  }

  .barra__luogo {
    display: none;
  }

  .palco,
  .palco__contenuto {
    overflow-x: clip;
  }

  .wordmark {
    top: clamp(4.6rem, 9svh, 6.2rem);
    font-size: 30vw;
  }

  .sottotitolo {
    bottom: clamp(1.5rem, 4svh, 2.5rem);
    padding-inline: 1rem;
    font-size: 0.72rem;
  }

  .etichette {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .etichetta {
    top: calc(50% + var(--mezzo-a) + clamp(1.2rem, 3svh, 2rem));
    right: auto;
    left: 50%;
    width: calc(100vw - 2.4rem);
    text-align: left;
    visibility: hidden;
    transform: translate(-50%, 0);
    transition: none;
  }

  .etichetta::after {
    display: none;
  }

  .etichetta--visibile {
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .etichetta--sinistra .etichetta__testa {
    justify-content: flex-start;
  }

  .etichetta__testa {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .etichetta__numero {
    color: var(--panna);
    font-family: "Fraunces", serif;
    font-size: 22vw;
    font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 0, "WONK" 1;
    letter-spacing: -0.04em;
    line-height: 0.7;
  }

  .etichetta__nome {
    font-size: 0.88rem;
  }

  .etichetta__dati {
    font-size: 0.72rem;
  }

  #sequenza-b {
    width: max(100vw, 100svh);
    height: max(100vw, 100svh);
  }

  .contatori-b {
    right: 1.2rem;
    bottom: clamp(2rem, 5svh, 3.5rem);
    left: 1.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: end;
  }

  .contatore,
  .contatore--ore,
  .contatore--idratazione {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    text-align: left;
    transform: none;
  }

  .contatore--idratazione {
    text-align: right;
  }

  .contatore__valore {
    font-size: 16vw;
  }

  .contatore__didascalia {
    margin-top: 0.7rem;
    font-size: 0.72rem;
  }

  .titolo-alveolo__corpo {
    width: calc(100vw - 2rem);
  }

  .titolo-alveolo h2 {
    font-size: 17vw;
  }

  .titolo-alveolo p {
    max-width: 32rem;
    font-size: 0.72rem;
  }

  .forno-testo {
    bottom: clamp(3rem, 8svh, 5rem);
  }

  .forno-testo__temperatura {
    font-size: 24vw;
  }

  .forno-testo__tempo {
    font-size: 0.72rem;
  }

  .menu {
    padding-inline: 1.2rem;
  }

  .piatto {
    grid-template-columns: 1fr auto;
    gap: 0.9rem 1rem;
  }

  .piatto h2 {
    font-size: clamp(2.4rem, 13vw, 4.6rem);
  }

  .piatto p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.76rem;
  }

  .piatto > span {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.8rem;
  }

  .prenota {
    padding-inline: 1.2rem;
  }

  .prenota h2 {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .prenota__dati,
  .piede {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .palco {
    height: auto;
    overflow: visible;
  }

  .palco__contenuto {
    display: none;
  }

  .ridotta {
    display: block;
  }

  .ridotta__atto {
    position: relative;
    display: grid;
    min-height: 100svh;
    padding: clamp(6rem, 12svh, 9rem) clamp(1.2rem, 5vw, 5rem) clamp(4rem, 8svh, 7rem);
    align-content: center;
  }

  .ridotta__indice,
  .ridotta__nota,
  .ridotta__dati,
  .ridotta__etichette {
    font-family: "Geist Mono", monospace;
    font-size: clamp(0.8rem, 0.92vw, 1rem);
  }

  .ridotta__indice {
    margin: 0 0 2rem;
    color: var(--fumo);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ridotta__atto img {
    display: block;
    width: min(100%, 48rem);
    margin: 0 auto;
  }

  .ridotta__atto--zero h1,
  .ridotta__atto--alveolo h2 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: clamp(4.5rem, 18vw, 13rem);
    font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 0, "WONK" 1;
    font-weight: 320;
    letter-spacing: -0.055em;
    line-height: 0.8;
  }

  .ridotta__atto--zero img {
    margin-top: 2rem;
  }

  .ridotta__nota,
  .ridotta__dati {
    color: var(--fumo);
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .ridotta__etichette {
    margin-top: 2rem;
  }

  .ridotta__etichette p {
    display: grid;
    grid-template-columns: minmax(9rem, 0.65fr) 1fr;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid rgb(163 155 143 / 38%);
  }

  .ridotta__etichette p:last-child {
    border-bottom: 1px solid rgb(163 155 143 / 38%);
  }

  .ridotta__etichette b {
    color: var(--panna);
    font-weight: 520;
    text-transform: uppercase;
  }

  .ridotta__etichette span {
    color: var(--fumo);
  }

  .ridotta__atto--alveolo h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    color: var(--panna);
    font-size: clamp(4rem, 13vw, 10rem);
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .ridotta__atto--alveolo .ridotta__dati {
    text-align: center;
  }

  .ridotta__atto--forno img {
    width: 100%;
  }

  .ridotta__temperatura {
    margin: -0.55em 0 0;
    font-family: "Fraunces", serif;
    font-size: clamp(5rem, 20vw, 18rem);
    font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 0, "WONK" 1;
    font-weight: 300;
    letter-spacing: -0.055em;
    line-height: 0.8;
    text-align: center;
  }

  .piatto {
    opacity: 1;
    transform: none;
  }

  .piatto h2 {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .ridotta__etichette p {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Velo personale: ogni testo che può trovarsi sopra un'immagine porta con sé la sua ombra
   radiale; essendo un figlio, compare e sparisce con il testo. */
.titolo-alveolo--panna .titolo-alveolo__corpo,
.forno-testo {
  isolation: isolate;
}

.titolo-alveolo--panna .titolo-alveolo__corpo::before,
.forno-testo::before {
  position: absolute;
  z-index: -1;
  inset: -45% -35%;
  background: radial-gradient(closest-side, rgb(7 7 7 / 82%), rgb(7 7 7 / 58%) 55%, transparent);
  content: "";
  pointer-events: none;
}

.titolo-alveolo--panna h2,
.titolo-alveolo--panna p,
.forno-testo__tempo {
  text-shadow: 0 0 2px rgb(7 7 7 / 45%), 0 2px 18px rgb(7 7 7 / 70%);
}

/* I contatori stanno sopra la mollica chiara: nessun velo basta. Diventano schede tecniche,
   lastre quasi opache con filetto, che reggono su qualsiasi fondo. */
.contatore {
  width: auto;
  min-width: min(20vw, 19rem);
  padding: clamp(1rem, 1.6vw, 1.6rem) clamp(1.1rem, 1.8vw, 1.8rem) clamp(0.9rem, 1.3vw, 1.3rem);
  border: 1px solid rgb(239 231 216 / 22%);
  background: rgb(7 7 7 / 86%);
}

.contatore__valore {
  text-shadow: none;
}

.contatore__didascalia {
  color: var(--panna);
  opacity: 0.86;
}

/* Il ritorno al portfolio Fandex: discreto, ma un link vero. */
.piede a {
  color: var(--panna);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.piede p + p {
  margin-top: 0.8rem;
}
