:root {
  --wine: #6c2938;
  --wine-dark: #55202d;
  --ink: #292622;
  --muted: #777169;
  --paper: #faf8f4;
  --sand: #eee9e1;
  --line: #e6e0d8;
  --serif: 'Playfair Display',Georgia,serif;
  --sans: 'DM Sans',Arial,sans-serif
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  -webkit-font-smoothing: antialiased
}
.announcement {
  height: 29px;
  background: var(--wine);
  color: #f8f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6429em;
  letter-spacing: .11em
}
.announcement span {
  padding: 0 12px;
  color: #d8b9b4
}
.site-header {
  height: 78px;
  padding: 0 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(40,35,30,.05)
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1
}
.brand>span {
  font-family: var(--serif);
  font-size: 2.1429em;
  letter-spacing: -.06em
}
.brand small {
  font-size: 0.5em;
  letter-spacing: .18em;
  margin-top: 6px;
  color: var(--muted)
}
.main-nav {
  display: flex;
  gap: 36px;
  align-items: center
}
.main-nav a,.header-cta {
  color: #514d47;
  text-decoration: none;
  font-size: 0.7857em
}
.main-nav a {
  padding: 11px 0;
  position: relative
}
.main-nav a:hover,.main-nav .active {
  color: var(--wine)
}
.main-nav .active:before {
  content: '';
  height: 1px;
  width: 14px;
  background: var(--wine);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%)
}
.header-cta {
  border-bottom: 1px solid var(--wine);
  padding: 10px 0
}
.header-cta span {
  margin-left: 15px;
  color: var(--wine)
}
.menu-toggle {
  display: none
}
.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: 46% 54%;
  background: #f2eee8
}
.hero-copy {
  padding: 70px 10% 45px 11.3%;
  display: flex;
  align-items: flex-start;
  flex-direction: column
}
.eyebrow {
  font-size: 0.5714em;
  letter-spacing: .2em;
  color: #625c55;
  margin: 0 0 21px;
  font-weight: 500
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px
}
.hero-copy .eyebrow span {
  width: 17px;
  height: 1px;
  background: var(--wine)
}
h1,h2,h3,p {
  margin-top: 0
}
h1,h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em
}
h1 {
  font-size: clamp(4em,7.2vw,6.5em);
  line-height: .99;
  margin: 0 0 22px
}
h1 em,h2 em {
  color: var(--wine);
  font-weight: 400
}
.intro {
  max-width: 360px;
  color: #746e67;
  line-height: 1.9;
  font-size: 0.8571em;
  line-height: 1.5;
  margin-bottom: 23px
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 15px 18px;
  color: #fff;
  text-decoration: none;
  background: var(--wine);
  font-size: 0.7143em;
  transition: background .2s
}
.button:hover {
  background: var(--wine-dark)
}
.button span {
  font-size: 1.2143em;
  line-height: 10px
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777168;
  font-size: 0.6429em;
  margin-top: 29px
}
.spark {
  font-size: 1.2143em;
  color: #8a8278
}
.photo-placeholder {
  background-color: #e3ded6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}
.photo-placeholder:after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(93,78,68,.16);
  pointer-events: none
}
.placeholder-label {
  font-size: 0.5714em;
  letter-spacing: .2em;
  color: #70685f
}
.hero-photo {
  min-height: 470px;
  background-color: #d5d3cc;
  background-image: url(../images/copertina.jpeg);
  filter: grayscale(100%);
   background-size: cover
}
.hero-photo .placeholder-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%)
}
.photo-caption,.photo-index {
  position: absolute;
  color: #fff;
  text-shadow: 0 1px 8px #4a433d;
  font-size: 0.5714em;
  letter-spacing: .17em;
  z-index: 1
}
.photo-caption {
  left: 7%;
  bottom: 7%
}
.photo-caption span {
  padding: 0 7px
}
.photo-index {
  right: 7%;
  top: 6%
}
.photo-index span {
  padding-left: 7px
}
.values {
  height: 48px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #7b756d;
  font-size: 0.5em;
  letter-spacing: .2em
}
.values b {
  color: #9b897c;
  font-size: 0.9286em;
  font-weight: 400
}
.section-wrap {
  width: min(1110px,89.5%);
  margin-left: auto;
  margin-right: auto
}
.collection {
  padding: 73px 0 72px
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px
}
.section-heading .eyebrow {
  margin-bottom: 12px
}
.section-heading h2,.story h2,.visit h2 {
  font-size: clamp(34px,4vw,48px);

  font-size: clamp(2.4286em,4vw,3.4286em);
  line-height: 1.13;
  margin: 0 0 8px
}
.section-intro {
  font-size: 0.7857em;
  color: var(--muted);
  margin-bottom: 0
}
.text-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.6429em;
  border-bottom: 1px solid #a69d92;
  padding: 0 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 26px
}
.text-link span {
  font-size: 1.1429em;
  color: var(--wine)
}
.cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px
}
.item-photo {
  height: 270px;
  align-items: center
}
.item-photo:nth-child(1) {
  background-color: #ddd9d1
}
.item-card:nth-child(2) .item-photo {
  background-color: #e7e2dc
}
.item-card:nth-child(3) .item-photo {
  background-color: #d6d3ce
}
.item-card:nth-child(4) .item-photo {
  background-color: #e0dbd4
}
.item-photo .placeholder-label {
  font-size: 0.5em
}
.photo-tag {
  position: absolute;
  left: 11px;
  top: 11px;
  background: rgba(250,248,244,.88);
  font-size: 0.5em;
  letter-spacing: .13em;
  padding: 7px 8px;
  color: #575149;
  z-index: 1
}
.item-meta {
  padding: 12px 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px
}
.item-meta h3 {
  font-family: var(--serif);
  font-size: 0.9286em;
  font-weight: 400;
  margin: 0
}
.item-meta span {
  font-size: 0.5714em;
  color: #837c73
}



/* IMMAGINI */
.item-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Sostituisci i percorsi con quelli delle tue immagini */
.photo-01 { background-image: url("../images/image0.jpeg"); }
.photo-02 { background-image: url("../images/image2.jpeg"); }
.photo-03 { background-image: url("../images/image3.jpeg"); }
.photo-04 { background-image: url("../images/image4.jpeg"); }
.photo-05 { background-image: url("../images/image5.jpeg"); }
.photo-06 { background-image: url("../images/image6.jpeg"); }
.photo-07 { background-image: url("../images/image7.jpeg"); }
.photo-08 { background-image: url("../images/image8.jpeg"); }
.photo-09 { background-image: url("../images/image9.jpeg"); }
.photo-10 { background-image: url("../images/image10.jpeg"); }
.photo-11 { background-image: url("../images/image11.jpeg"); }
.photo-12 { background-image: url("../images/image12.jpeg"); }
.photo-13 { background-image: url("../images/image13.jpeg"); }
.photo-14 { background-image: url("../images/image14.jpeg"); }
.photo-15 { background-image: url("../images/image15.jpeg"); }
.photo-16 { background-image: url("../images/image16.jpeg"); }
.photo-17 { background-image: url("../images/image17.jpeg"); }
.photo-18 { background-image: url("../images/image18.jpeg"); }

/* CAROSELLO */
.carousel {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.carousel-track {
  display: flex;
  gap: 20px;
}

.item-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.item-photo {
  transition: background-size 0.4s ease;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .item-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 600px) {
  .carousel-track {
    gap: 14px;
  }

  .item-card {
    flex-basis: 78%;
  }
}



.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  margin-bottom: 74px;
  background: #eee9e1
}
.story-photo {
  min-height: 300px;
  background-color: #e2dcd4;
  background-image: url(../images/trovaci.jpeg);
  filter: grayscale(100%);
   background-size: cover
}
.story-copy {
  padding: 44px 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center
}
.story-copy .eyebrow {
  margin-bottom: 14px
}
.story h2 {
  margin-bottom: 14px
}
.story-copy>p:not(.eyebrow) {
  line-height: 1.9;
  font-size: 0.7857em;
  line-height: 1.5;
  color: #736c63;
  max-width: 320px;
  margin-bottom: 17px
}
.shipping {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #d8d0c6;
  border-bottom: 1px solid #d8d0c6;
  width: 100%;
  padding: 14px 0;
  margin-bottom: 18px
}
.shipping-icon {
  width: 29px;
  height: 29px;
  border: 1px solid #c4b9ab;
  display: grid;
  place-items: center;
  color: var(--wine)
}
.shipping strong,.shipping small {
  display: block
}
.shipping strong {
  font-family: var(--serif);
  font-size: 0.9286em;
  font-weight: 400
}
.shipping small {
  font-size: 0.6429em;
  color: #7b746b;
  margin-top: 4px
}
.visit {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 12%;
  padding: 4px 0 76px
}
.visit>div:first-child>p:not(.eyebrow) {
  font-size: 0.7857em;
  line-height: 1.9;
  color: var(--muted);
  max-width: 340px;
  margin: 14px 0 20px
}
.visit-details {
  border-top: 1px solid var(--line)
}
.detail {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}
.detail-icon {
  font-size: 1.4286em;
  color: var(--wine)
}
.detail small {
  display: block;
  font-size: 0.5em;
  letter-spacing: .18em;
  color: #827b72;
  margin: 2px 0 9px
}
.detail a,.detail p {
  font-size: 0.7143em;
  color: #4e4943;
  text-decoration: none;
  line-height: 1.9;
  margin: 0
}
.detail b {
  font-weight: 500
}
.indent {
  padding-left: 88px
}
.footer {
  border-top: 1px solid var(--line);
  min-height: 94px;
  padding: 22px 5.2%;
  display: flex;
  align-items: center;
  gap: 24px
}
.footer .brand>span {
  font-size: 25px
  font-size: 1.7857em
}
.footer p {
  font-size: 8px;
  font-size: 0.5714em;
  color: #817a72;
  margin: 0
}
.footer-legal {
  margin-left: auto;
  display: flex;
  gap: 23px;
  color: #7d766e;
  font-size: 0.5714em
}
.install-app {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 5px 22px #33241d33;
  padding: 13px 19px;
  font: 500 12px var(--sans);
  cursor: pointer
}
.install-app span {
  padding-left: 12px;

  font-size: 16px
  font-size: 1.1429em
}
.install-app[hidden] {
  display: none
}
@media(max-width:760px) {
  .announcement {
    font-size: 0.5714em;
    letter-spacing: .06em
  }
  .site-header {
    height: 68px;
    padding: 0 6%
  }
  .brand>span {
    font-size: 1.9286em
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--paper);
    padding: 12px 6% 20px;
    box-shadow: 0 12px 14px #0000000d;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px
  }
  .main-nav.open {
    display: flex
  }
  .main-nav a {
    font-size: 0.9286em;
    padding: 10px 0
  }
  .main-nav .active: before {
    left: 0;
    transform: none;
    top: auto;
    bottom: 4px
  }
  .header-cta {
    display: none
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: none;
    padding: 10px
  }
  .menu-toggle i {
    width: 21px;
    height: 1px;
    background: var(--ink)
  }
  .hero {
    grid-template-columns: 1fr
  }
  .hero-copy {
    padding: 54px 8% 37px
  }
  .hero-photo {
    min-height: 350px
  }
  .hero {
    min-height: 0
  }
  .hero h1 {
    font-size: clamp(60px,15vw,82px)

    font-size: clamp(4.2857em,15vw,5.8571em)
  }
  .values {
    height: auto;
    min-height: 54px;
    gap: 8px;
    padding: 12px 5%;
    text-align: center;

    font-size: 6px;
    font-size: 0.4286em;
    letter-spacing: .12em
  }
  .values b {

    font-size: 10px
    font-size: 0.7143em
  }
  .section-wrap {
    width: 86%
  }
  .collection {
    padding: 54px 0
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px
  }
  .section-heading h2,.story h2,.visit h2 {

    font-size: 37px
    font-size: 2.6429em
  }
  .section-heading .text-link {
    margin-top: 31px;
    white-space: nowrap;
    gap: 10px;
    font-size: 0.5714em
  }
  .section-intro {
    max-width: 220px;
    line-height: 1.7
  }
  .cards {
    grid-template-columns: repeat(2,1fr);
    gap: 8px 12px
  }
  .item-photo {
    height: clamp(170px,55vw,270px)
  }
  .item-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }
  .story {
    grid-template-columns: 1fr;
    margin-bottom: 53px
  }
  .story-photo {
    min-height: 250px
  }
  .story-copy {
    padding: 34px 8% 38px
  }
  .visit {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 53px
  }
  .footer {
    padding: 20px 6%;
    flex-wrap: wrap;
    gap: 11px
  }
  .footer-legal {
    width: 100%;
    margin: 6px 0 0;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 13px
  }
}
@media(max-width:380px) {
  .section-heading {
    display: block
  }
  .section-heading .text-link {
    margin-top: 16px
  }
  .hero-photo {
    min-height: 290px
  }
  .values span {
    max-width: 100px;
    line-height: 1.6
  }
  .footer p {
    display: none
  }
}
}