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

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

@font-face {
  font-family: "Karla";
  src: url("../fonts/karla.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --sabbia: #ffffff;
  --conchiglia: #ffffff;
  --ombra: #eef1f2;
  --petrolio: #141414;
  --acqua: #000000;
  --salmastro: #4f868e;
  --legno: #c4a174;
  --sole: #141414;
  --seppia: #5f6b70;
  --filo: rgba(11, 58, 76, 0.16);

  --mano: "Fraunces", Georgia, "Times New Roman", serif;
  --voce: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-nome: clamp(3.2rem, 10.5vw, 7rem);
  --t-h1: clamp(2.1rem, 5.2vw, 3.4rem);
  --t-h2: clamp(1.65rem, 3.4vw, 2.35rem);
  --t-h3: 1.15rem;
  --t-lede: clamp(1.12rem, 1.7vw, 1.32rem);
  --t-corpo: 1.06rem;
  --t-piccolo: 0.95rem;
  --t-etichetta: 0.73rem;

  --wrap: 1120px;
  --bordo: clamp(1.25rem, 5vw, 3rem);
  --respiro: clamp(3.5rem, 8vw, 6rem);

  --curva: 14px;
  --curva-p: 9px;

  --cementine: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2252%22 height=%2252%22 viewBox=%220 0 52 52%22%3E%3Cg fill=%22none%22 stroke-width=%221.4%22 stroke-linejoin=%22round%22%3E%3Cpath stroke=%22%231F1F1F%22 d=%22M42.35 32.77L35.55 35.55L32.77 42.35L26.00 39.50L19.23 42.35L16.45 35.55L9.65 32.77L12.50 26.00L9.65 19.23L16.45 16.45L19.23 9.65L26.00 12.50L32.77 9.65L35.55 16.45L42.35 19.23L39.50 26.00Z%22/%3E%3Cpath stroke=%22%239E9E9E%22 d=%22M8.31 3.44L4.53 4.53L3.44 8.31L0.00 6.40L-3.44 8.31L-4.53 4.53L-8.31 3.44L-6.40 0.00L-8.31 -3.44L-4.53 -4.53L-3.44 -8.31L-0.00 -6.40L3.44 -8.31L4.53 -4.53L8.31 -3.44L6.40 -0.00Z%22/%3E%3Cpath stroke=%22%239E9E9E%22 d=%22M60.31 3.44L56.53 4.53L55.44 8.31L52.00 6.40L48.56 8.31L47.47 4.53L43.69 3.44L45.60 0.00L43.69 -3.44L47.47 -4.53L48.56 -8.31L52.00 -6.40L55.44 -8.31L56.53 -4.53L60.31 -3.44L58.40 -0.00Z%22/%3E%3Cpath stroke=%22%239E9E9E%22 d=%22M8.31 55.44L4.53 56.53L3.44 60.31L0.00 58.40L-3.44 60.31L-4.53 56.53L-8.31 55.44L-6.40 52.00L-8.31 48.56L-4.53 47.47L-3.44 43.69L-0.00 45.60L3.44 43.69L4.53 47.47L8.31 48.56L6.40 52.00Z%22/%3E%3Cpath stroke=%22%239E9E9E%22 d=%22M60.31 55.44L56.53 56.53L55.44 60.31L52.00 58.40L48.56 60.31L47.47 56.53L43.69 55.44L45.60 52.00L43.69 48.56L47.47 47.47L48.56 43.69L52.00 45.60L55.44 43.69L56.53 47.47L60.31 48.56L58.40 52.00Z%22/%3E%3C/g%3E%3C/svg%3E");

  --pin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23141414%22 d=%22M12,0.9C7.5,0.9,3.9,4.5,3.9,9c0,6.2,8.1,14.2,8.1,14.2S20.1,15.2,20.1,9C20.1,4.5,16.5,0.9,12,0.9Z%22/%3E%3Ccircle fill=%22%23FFFFFF%22 cx=%2212%22 cy=%229%22 r=%223%22/%3E%3C/svg%3E");

  --segno: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E%3Cpath fill=%22%23141414%22 d=%22M11.36 8.22L9.04 9.04L8.22 11.36L6.00 10.30L3.78 11.36L2.96 9.04L0.64 8.22L1.70 6.00L0.64 3.78L2.96 2.96L3.78 0.64L6.00 1.70L8.22 0.64L9.04 2.96L11.36 3.78L10.30 6.00Z%22/%3E%3C/svg%3E");
}

.sezione--ombra,
.cartello,
.richiamo {
  --sabbia: #0b3a4c;
  --conchiglia: #10485d;
  --ombra: #16556c;
  --petrolio: #ffffff;
  --acqua: #ffffff;
  --salmastro: #8fb6bd;
  --legno: #4d7f91;
  --sole: #ffffff;
  --seppia: #b9d0d7;
  --filo: rgba(255, 255, 255, 0.22);
  background: var(--sabbia);
  color: var(--petrolio);
}

.cartello,
.richiamo {
  --sabbia: #082e3c;
}

.cartello + .sezione--ombra,
.richiamo + .sezione--ombra,
.sezione--ombra + .sezione--ombra {
  border-top: 1px solid var(--filo);
}

.piede {
  background: var(--ombra);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sabbia);
  color: var(--petrolio);
  font-family: var(--voce);
  font-size: var(--t-corpo);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--acqua);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(0, 0, 0, 0.38);
}

a:hover {
  color: var(--petrolio);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--sole);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--mano);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
  font-variation-settings: "opsz" 40, "SOFT" 60, "WONK" 1;
}

p {
  margin: 0 0 1.05em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--bordo);
}

.sezione {
  padding-block: var(--respiro);
}

.sezione:not(.sezione--ombra) + .sezione:not(.sezione--ombra) {
  padding-top: 0;
}

.fascia {
  height: 52px;
  background-color: var(--conchiglia);
  background-image: var(--cementine);
  background-size: 52px 52px;
  background-position: center;
  border-block: 1px solid var(--filo);
}

.etichetta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: var(--t-etichetta);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seppia);
}

.etichetta::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;

  background: currentColor;
  -webkit-mask: var(--segno) center / contain no-repeat;
  mask: var(--segno) center / contain no-repeat;
}

.titolo {
  font-family: var(--mano);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.08;
}

.titolo--gruppo {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: clamp(2.5rem, 4.5vw, 3.5rem) 0 0;
}

.titolo--gruppo:first-of-type {
  margin-top: 0;
}

.titolo--grande {
  font-size: var(--t-h1);
  font-variation-settings: "opsz" 72, "SOFT" 70, "WONK" 1;
}

.lede {
  font-size: var(--t-lede);
  line-height: 1.58;
  max-width: 46ch;
  color: var(--petrolio);
}

.testa-sezione {
  max-width: 54ch;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.testa-sezione .titolo {
  margin-bottom: 0.8rem;
}

.dopo {
  margin-top: 1.75rem;
}

.nota {
  font-size: var(--t-piccolo);
  color: var(--seppia);
}

.azioni {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.82rem 1.5rem;
  border: 1.5px solid var(--petrolio);
  border-radius: var(--curva-p);
  font-family: var(--voce);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--pieno {
  background: var(--petrolio);
  color: var(--sabbia);
}

.btn--pieno:hover {
  background: var(--acqua);
  border-color: var(--acqua);
  color: var(--sabbia);
}

.btn--vuoto {
  background: transparent;
  color: var(--petrolio);
}

.btn--vuoto:hover {
  background: var(--petrolio);
  color: var(--sabbia);
}

.btn--chiaro {
  border-color: var(--petrolio);
  background: var(--petrolio);
  color: var(--sabbia);
}

.btn--chiaro:hover {
  background: transparent;
  color: var(--petrolio);
}

.btn--fantasma {
  border-color: var(--petrolio);
  background: transparent;
  color: var(--petrolio);
}

.btn--fantasma:hover {
  background: var(--petrolio);
  color: var(--sabbia);
}

.avanti {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--acqua);
  border-bottom: 2px solid var(--sole);
  padding-bottom: 0.22rem;
}

.avanti:hover {
  color: var(--petrolio);
}

.avanti::after {
  content: "→";
  transition: transform 0.18s ease;
}

.avanti:hover::after {
  transform: translateX(4px);
}

.avanti--pulsante {
  padding: 0.95rem 2.4rem;
  gap: 1rem;
  font-size: 1.05rem;
  border: 1.5px solid var(--petrolio);
  border-radius: var(--curva-p);
  color: var(--petrolio);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.avanti--pulsante:hover {
  background: var(--petrolio);
  color: var(--sabbia);
}

.testata {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sabbia);
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.testata[data-sopra="true"] {
  --sabbia: #0b3a4c;
  --petrolio: #ffffff;
  --seppia: rgba(255, 255, 255, 0.85);
  --sole: #ffffff;
  --legno: rgba(255, 255, 255, 0.5);
  background: transparent;
  border-bottom-color: transparent;
  color: var(--petrolio);
}

.testata[data-sopra="true"] .marchio__logo {
  filter: drop-shadow(0 1px 7px rgba(4, 22, 30, 0.55));
}

.testata[data-sopra="true"] .marchio__nome,
.testata[data-sopra="true"] .nav__voce,
.testata[data-sopra="true"] .lingue,
.testata[data-sopra="true"] .menu-btn {
  text-shadow: 0 1px 10px rgba(4, 22, 30, 0.5);
}

.testata::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 11rem;
  background: linear-gradient(to bottom,
              rgba(4, 22, 30, 0.62) 0%,
              rgba(4, 22, 30, 0.34) 45%,
              rgba(4, 22, 30, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.testata[data-sopra="true"]::before {
  opacity: 1;
}

.testata__interno {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.marchio {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--petrolio);
}

.marchio__logo {
  height: 3rem;
  width: auto;
  flex: none;
}

.marchio__nome {
  font-family: var(--mano);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.1;
  max-width: 7em;
  font-variation-settings: "opsz" 20, "SOFT" 70, "WONK" 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}

.nav__voce {
  font-weight: 600;
  text-decoration: none;
  color: var(--petrolio);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.nav__voce:hover,
.nav__voce[aria-current="page"] {
  border-bottom-color: var(--sole);
}

.lingue {
  display: flex;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--seppia);
}

.lingue a {
  color: var(--seppia);
  text-decoration: none;
}

.lingue a:hover {
  color: var(--petrolio);
}

.lingue [aria-current="true"] {
  color: var(--petrolio);
}

.testata__prenota {
  display: none;
}

.menu-btn {
  display: none;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid var(--petrolio);
  border-radius: var(--curva-p);
  background: transparent;
  font-family: var(--voce);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--petrolio);
  cursor: pointer;
}

.telaio {
  position: relative;
  background: var(--ombra);
  border-radius: var(--curva);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--filo);
}

.telaio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apertura {
  --sabbia: #0b3a4c;
  --petrolio: #ffffff;
  --acqua: #ffffff;
  --sole: #ffffff;
  --seppia: rgba(255, 255, 255, 0.88);
  --legno: rgba(255, 255, 255, 0.45);
  --filo: rgba(255, 255, 255, 0.3);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;

  margin-top: calc(-4.75rem - 1px);
  min-height: 34rem;
  min-height: 100svh;

  padding-block: calc(4.75rem + clamp(3rem, 9vw, 6.5rem)) clamp(3rem, 9vw, 6.5rem);
  overflow: hidden;
  background: var(--sabbia);
  color: var(--petrolio);
}

.apertura__foto {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .apertura__foto--scala { object-position: 35% 50%; }
}

.apertura::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
              rgba(6, 30, 40, 0.86) 0%,
              rgba(6, 30, 40, 0.62) 30%,
              rgba(6, 30, 40, 0.14) 62%,
              rgba(6, 30, 40, 0.3) 100%);
}

.apertura__interno {
  position: relative;
  z-index: 2;
}

.apertura__testo {
  max-width: 46rem;
  text-shadow: 0 1px 30px rgba(4, 22, 30, 0.45);
}

.apertura__nome {
  font-family: var(--mano);
  font-size: var(--t-nome);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 1.3rem;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.apertura__nome span {
  display: block;
}

.apertura__nome em {
  font-style: italic;
  color: var(--acqua);
  margin-left: 0.55em;
}

.apertura__lede {
  font-size: var(--t-lede);
  line-height: 1.58;
  max-width: 44ch;
  margin-bottom: 1.9rem;
}

.cartello {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.cartello__titolo {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--mano);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  color: var(--petrolio);
  font-variation-settings: "opsz" 40, "SOFT" 80, "WONK" 1;
}

.cartello__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

.cartello__min {
  display: block;
  font-family: var(--mano);
  font-size: clamp(2.9rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--sole);
  font-variation-settings: "opsz" 144, "SOFT" 90, "WONK" 1;
}

.cartello__min i {
  font-style: normal;
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.05em;
}

.cartello__dove {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.cartello__nota {
  margin: 1.75rem 0 0;
  font-size: var(--t-piccolo);
  color: var(--seppia);
}

.coppia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lettera {
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.8fr);
  align-items: start;
}

.lettera__testo {
  max-width: none;
}

.lettera__testo .titolo {
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(1.9rem, 3.9vw, 2.7rem);
  font-variation-settings: "opsz" 56, "SOFT" 75, "WONK" 1;
}

.lettera__corpo {
  position: relative;
  columns: 2;
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--filo);
  color: var(--seppia);
}

.lettera__corpo::before {
  content: "“";
  position: absolute;
  top: -0.47em;
  left: -0.08em;
  color: var(--sole);
  font-family: var(--mano);
  font-size: 3.9rem;
  line-height: 1;
  font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1;
}

.lettera__corpo p {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.15rem;
}

.lettera__foto {
  width: 100%;
  max-width: 23rem;
  justify-self: end;
  aspect-ratio: 4 / 5;
}

.voci {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.voci li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-block: 0.5rem;
  font-size: var(--t-piccolo);
}

.voci__cosa {
  flex: none;
  color: var(--seppia);
}

.voci__punti {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--legno);
  transform: translateY(-0.3em);
}

.voci__quanto {
  flex: none;
  font-family: var(--mano);
  font-size: 1.15rem;
  font-weight: 600;
  font-variation-settings: "opsz" 14, "SOFT" 70, "WONK" 1;
}

.dotazioni {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 2rem;
}

.dotazioni li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.5rem;
  border-bottom: 1px dotted var(--legno);
  font-size: var(--t-piccolo);
}

.dotazioni li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--segno) center / contain no-repeat;
  mask: var(--segno) center / contain no-repeat;
  transform: translateY(-0.05em);
}

.dotazioni--colonna {
  grid-template-columns: 1fr;
}

.dotazioni--grandi li {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  padding-block: 0.9rem;
}

.dotazioni--grandi li::before {
  width: 13px;
  height: 13px;
}

.dotazioni--quattro {
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.dotazioni--quattro li {
  font-size: var(--t-lede);
  padding-block: 1.15rem;
}

.collage {
  display: block;
  text-decoration: none;
}

.collage__griglia {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;

  aspect-ratio: 4 / 3;
}

.collage__griglia--due {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 16 / 10;
}

.collage__griglia--due .collage__telaio:first-child {
  grid-row: auto;
}

.collage__telaio {
  position: relative;
  overflow: hidden;
  background: var(--ombra);
  border-radius: var(--curva-p);
  box-shadow: inset 0 0 0 1px var(--filo);
  transition: box-shadow 0.18s ease;
}

.collage__telaio:first-child {
  grid-row: span 2;
  border-radius: var(--curva);
}

.collage__telaio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage__invito {
  display: block;
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--seppia);
  transition: color 0.18s ease;
}

.collage:hover .collage__telaio {
  box-shadow: inset 0 0 0 1px var(--filo), 0 0 0 2px var(--sole);
}

.collage:hover .collage__invito {
  color: var(--petrolio);
}

.sezione[id] {
  scroll-margin-top: 5.75rem;
}

.foto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.4rem);
  grid-auto-flow: dense;
}

.foto:not(.foto--striscia) {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.foto figure {
  margin: 0;
}

.foto__telaio {
  position: relative;
  background: var(--ombra);
  border-radius: var(--curva-p);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--filo);

  aspect-ratio: 4 / 3;
}

.foto__telaio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto.foto--sola {
  grid-template-columns: 1fr;
}

.foto.foto--due {
  grid-template-columns: 1fr 1fr;
}

.foto--sola .foto__telaio {
  aspect-ratio: auto;
}

.foto--sola .foto__telaio img {
  height: auto;
}

.foto__larga {
  grid-column: span 2;
  grid-row: span 2;
}

.foto__alta {
  grid-row: span 2;
}

.foto__larga .foto__telaio,
.foto__alta .foto__telaio {
  aspect-ratio: auto;
  height: 100%;
}

.video {
  border-radius: var(--curva-p);
  overflow: hidden;
  background: var(--ombra);
  box-shadow: inset 0 0 0 1px var(--filo);
  line-height: 0;
}

.video video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ombra);
}

[data-video="si"] .video video {
  cursor: pointer;
}

.indice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.7rem;
}

.indice a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3rem 0.95rem;
  border: 1px dotted var(--legno);
  border-radius: 999px;
  font-family: var(--voce);
  font-size: var(--t-piccolo);
  font-weight: 600;
  text-decoration: none;
  color: var(--seppia);
}

.indice a:hover,
.indice a:focus-visible {
  border-style: solid;
  border-color: var(--petrolio);
  color: var(--petrolio);
}

.lente {

  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: #ffffff;
}

.lente[open] {
  display: grid;
  place-items: center;
}

.lente::backdrop {
  background: rgba(6, 30, 40, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.lente__figura {
  margin: 0;
  width: 75vw;
  height: 75vh;
  height: 75dvh;
  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.lente__figura img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--curva-p);
  box-shadow: 0 1.5rem 4rem rgba(4, 22, 30, 0.55);
  pointer-events: auto;
}

.lente__chiudi,
.lente__freccia {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(6, 30, 40, 0.55);
  color: #ffffff;
  font-family: var(--voce);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lente__chiudi:hover,
.lente__freccia:hover {
  background: rgba(6, 30, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.7);
}

.lente__chiudi:focus-visible,
.lente__freccia:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.lente__chiudi {
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.lente__freccia {
  top: 50%;
  transform: translateY(-50%);
}

.lente__freccia--prima { left: clamp(0.5rem, 2vw, 1.75rem); }
.lente__freccia--dopo { right: clamp(0.5rem, 2vw, 1.75rem); }

.lente__chiudi svg,
.lente__freccia svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.lente__conta {
  position: absolute;
  bottom: clamp(0.75rem, 3vh, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--voce);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

[data-lente-aperta="true"] {
  overflow: hidden;
}

[data-lente="si"] .foto__telaio {
  cursor: zoom-in;
}

@media (max-width: 720px) {
  .lente__figura {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
  }

  .lente__figura img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    touch-action: pan-y pinch-zoom;
  }

  .lente::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 8rem;
    background: linear-gradient(to top,
                rgba(4, 22, 30, 0.55) 0%,
                rgba(4, 22, 30, 0) 100%);
    pointer-events: none;
  }

  .lente__freccia,
  .lente__conta {
    --barra: clamp(0.6rem, 2.5vh, 1.5rem);
  }

  .lente__freccia {
    top: auto;
    bottom: var(--barra);
    transform: none;
  }

  .lente__freccia--prima { left: calc(50% - 6.25rem); }
  .lente__freccia--dopo { right: calc(50% - 6.25rem); }

  .lente__conta {
    bottom: calc(var(--barra) + 1.5rem);
    transform: translate(-50%, 50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lente__chiudi,
  .lente__freccia {
    transition: none;
  }
}

.segnavia {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dotted var(--legno);
  columns: 2;
  column-gap: clamp(1.75rem, 4vw, 3.25rem);
}

.segnavia__voce {
  display: grid;

  grid-template-columns: 5.75rem 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(1.3rem, 2.5vw, 1.8rem);
  border-bottom: 1px dotted var(--legno);
  align-items: baseline;

  break-inside: avoid;
}

.segnavia__min {
  font-family: var(--mano);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--sole);
  text-align: right;
  font-variation-settings: "opsz" 72, "SOFT" 90, "WONK" 1;
}

.segnavia__min i {
  font-style: normal;
  font-size: 0.42em;
  vertical-align: super;
}

.segnavia__dove {
  font-family: var(--mano);
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-variation-settings: "opsz" 20, "SOFT" 70, "WONK" 1;
}

.segnavia__testo {
  margin: 0;
  max-width: 54ch;
  color: var(--seppia);
  font-size: var(--t-piccolo);
}

.riquadri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.riquadro {
  background: var(--conchiglia);
  border: 1px solid var(--filo);
  border-radius: var(--curva);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.riquadro__titolo {
  font-family: var(--mano);
  font-size: var(--t-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 20, "SOFT" 70, "WONK" 1;
}

.richiamo {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.richiamo__interno {
  max-width: 46ch;
  margin-inline: auto;
  text-align: center;
}

.richiamo .azioni {
  justify-content: center;
}

.richiamo__titolo {
  font-family: var(--mano);
  font-size: var(--t-h1);
  font-weight: 500;
  margin-bottom: 0.85rem;
  font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1;
}

.richiamo p {
  margin-bottom: 1.9rem;
  color: var(--seppia);
}

.richiamo__griglia {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.mappa {
  --sabbia: #ffffff;
  --conchiglia: #ffffff;
  --petrolio: #141414;
  --acqua: #000000;
  --sole: #141414;
  --legno: #c4a174;
  --seppia: #5f6b70;
  --filo: rgba(11, 58, 76, 0.16);
  display: block;
  padding: 1.7rem 1.5rem;
  border-radius: var(--curva);
  background: var(--conchiglia);
  color: var(--petrolio);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mappa:hover {
  background: var(--sabbia);
}

.mappa__pin {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  background: var(--pin) center / contain no-repeat;
}

.mappa__dove {
  display: block;
  font-family: var(--mano);
  font-size: 1.32rem;
  line-height: 1.25;
  font-variation-settings: "opsz" 40, "SOFT" 70, "WONK" 1;
}

.mappa__citta {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--t-piccolo);
  color: var(--seppia);
}

.mappa__apri {
  display: inline-block;
  margin-top: 1.2rem;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--legno);
  font-size: var(--t-piccolo);
  font-weight: 600;
}

.mappa:hover .mappa__apri {
  border-bottom-color: var(--acqua);
  color: var(--acqua);
}

@media (min-width: 901px) {
  .richiamo__griglia {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .richiamo__griglia .richiamo__interno {
    margin-inline: 0;
    text-align: left;
  }

  .richiamo__griglia .azioni {
    justify-content: flex-start;
  }
}

.prosa {
  max-width: 68ch;
}

.prosa .titolo {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

.prosa > .prosa__titolo {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.prosa ul {
  padding-left: 1.15rem;
  margin: 0 0 1.05em;
}

.prosa li {
  margin-bottom: 0.35rem;
}

.piede {
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.75rem;
  font-size: var(--t-piccolo);
}

.piede__griglia {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px dotted var(--legno);
}

.piede__logo {
  width: clamp(7.5rem, 13vw, 9.5rem);
  height: auto;
  margin-bottom: 0.75rem;
}

.piede__nome {
  font-family: var(--mano);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--petrolio);
  margin: 0 0 0.8rem;
  font-variation-settings: "opsz" 24, "SOFT" 70, "WONK" 1;
}

.piede__titolo {
  font-size: var(--t-etichetta);
  font-family: var(--voce);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seppia);
  margin-bottom: 0.85rem;
}

.piede ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.piede li {
  margin-bottom: 0.4rem;
  color: var(--seppia);
}

.piede a {
  color: var(--seppia);
  text-decoration: none;
}

.piede a:hover {
  color: var(--petrolio);
  text-decoration: underline;
}

.codici {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--filo);
  border-radius: var(--curva-p);
  background: var(--conchiglia);
  font-size: var(--t-etichetta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrolio);
}

.codici b {
  font-weight: 700;
  color: var(--seppia);
  margin-right: 0.35rem;
}

.piede__chiusura {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--seppia);
}

.piede__chiusura p {
  margin: 0;
  max-width: 56ch;
}

@media (prefers-reduced-motion: no-preference) {
  .sale {
    opacity: 0;
    transform: translateY(12px);
    animation: sale 0.8s cubic-bezier(0.22, 0.68, 0.35, 1) forwards;
  }
}

.sale--2 { animation-delay: 0.09s; }
.sale--3 { animation-delay: 0.18s; }
.sale--4 { animation-delay: 0.27s; }

@keyframes sale {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .coppia {
    grid-template-columns: 1fr;
  }

  .lettera__testo {
    max-width: 58ch;
  }

  .lettera__corpo {
    columns: 1;
  }

  .lettera__foto {
    width: min(100%, 26rem);
    justify-self: center;
  }

  .cartello__lista {
    grid-template-columns: repeat(2, 1fr);
  }

  .dotazioni--quattro {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .segnavia {
    columns: 1;
  }

  .coppia > :has(.collage) {
    order: 2;
  }
}

@media (max-width: 720px) {
  .fascia {
    height: 38px;
    background-size: 38px 38px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .menu-btn[aria-expanded="true"] {
    background: var(--petrolio);
    color: var(--sabbia);
  }

  .testata__interno {
    position: relative;
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .marchio {
    margin-right: auto;
  }

  .testata__prenota {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
  }

  .nav .btn {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--bordo) 1.25rem;
    background: var(--conchiglia);
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    box-shadow: 0 22px 30px -22px rgba(0, 0, 0, 0.45);

    max-height: calc(100vh - 4.75rem);
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav[data-aperto="false"] {
    display: none;
  }

  .nav[data-aperto="true"] {
    display: flex;
  }

  .testata[data-sopra="true"] .nav {
    background: rgba(6, 30, 40, 0.62);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
    border-bottom-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
  }

  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) {
    --sabbia: #ffffff;
    --conchiglia: #ffffff;
    --petrolio: #141414;
    --acqua: #000000;
    --salmastro: #4f868e;
    --legno: #c4a174;
    --sole: #141414;
    --seppia: #5f6b70;
    background: var(--sabbia);
    border-bottom-color: rgba(0, 0, 0, 0.13);
  }

  .testata[data-sopra="true"]:has(.nav[data-aperto="true"])::before {
    opacity: 0;
  }

  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .marchio__logo {
    filter: none;
  }

  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .marchio__nome,
  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .nav__voce,
  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .lingue,
  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .menu-btn {
    text-shadow: none;
  }

  .testata[data-sopra="true"]:has(.nav[data-aperto="true"]) .nav {
    background: var(--conchiglia);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgba(0, 0, 0, 0.13);
    box-shadow: 0 22px 30px -22px rgba(0, 0, 0, 0.45);
  }

  .nav__voce {
    padding-block: 0.85rem;
    border-bottom: 1px dotted var(--legno);
  }

  .nav__voce:hover,
  .nav__voce[aria-current="page"] {
    border-bottom-color: var(--legno);
    color: var(--acqua);
  }

  .lingue {
    padding-top: 1.15rem;
    gap: 0.1rem;
    align-items: center;
  }

  .lingue a,
  .lingue [aria-current="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 0.4rem;
  }

  .nav .btn {
    justify-content: center;
    margin-top: 0.9rem;
  }

  .foto__larga {
    grid-column: span 1;
  }

  .segnavia__voce {
    grid-template-columns: 4.5rem 1fr;
  }

  .piede li {
    margin-bottom: 0;
  }

  .piede li a {
    display: inline-block;
    min-width: 44px;
    padding-block: 0.7rem;
    padding-right: 0.6rem;
  }
}

@media (max-width: 540px) {
  .dotazioni--quattro {
    grid-template-columns: 1fr;
  }

  .collage__griglia {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }

  .collage__telaio {
    aspect-ratio: 1 / 1;
  }

  .collage__telaio:first-child {
    grid-row: auto;
    grid-column: span 2;
    aspect-ratio: 1 / 1;
  }

  .foto--striscia {
    grid-template-columns: 1fr 1fr;
  }

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

  .marchio__nome {
    font-size: 1rem;
    max-width: 6em;
  }

  :root {
    --t-etichetta: 0.79rem;
  }
}

@media (max-width: 620px) {
  .foto:not(.foto--striscia):not(.foto--sola) {
    grid-template-columns: 1fr 1fr;
  }

  .foto__larga {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .testata,
  .richiamo,
  .fascia,
  .menu-btn {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
