/* ================= 1. APERTURA ================= */
.hero { position: relative; min-height: 560px; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink-deep); }
.hero__media, .hero__media img, .hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo { margin: 0; }
.hero__photo img { object-position: 40% 50%; }
@media (max-width: 759px) { .hero__media { display: none; } }
.hero__media img { object-position: 50% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20,18,15,0.38) 0%, rgba(20,18,15,0) 24%, rgba(20,18,15,0) 48%, rgba(20,18,15,0.62) 100%); }
.hero__content {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 var(--gutter) max(1.6rem, env(safe-area-inset-bottom));
}
.hero__logo { width: clamp(230px, 64vw, 470px); height: auto; }
.hero__tagline { margin-top: 1.5rem; color: var(--ivory-soft); }
.hero__actions { margin-top: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.hero__actions .btn { min-width: 15rem; }
@media (min-width: 760px) {
  .hero__content { align-items: flex-start; text-align: left; padding-left: var(--gutter); padding-bottom: 3.4rem; }
  .hero__actions { flex-direction: row; gap: 2.2rem; align-items: center; }
  .hero__actions .btn { min-width: 0; }
  .hero__photo { inset: 0 0 0 auto; width: clamp(380px, 46vw, 900px); }
  .hero__photo img { object-position: 50% 50%; }
}

/* ================= 2. NOVITA' DA INSTAGRAM ================= */
.feed { background: var(--ivory); color: var(--ink); padding-block: var(--section-space); }
.feed__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.feed__title { font-size: var(--step-4); }
.feed__handle { color: var(--ink-soft); }
.feed__handle:hover { color: var(--ink); }

.feed__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }
.tile { position: relative; background: var(--ivory-deep); overflow: hidden; aspect-ratio: 4 / 5; }
.tile__link { position: absolute; inset: 0; display: block; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile video { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease); background: #000; }
.tile.is-playing video { opacity: 1; }
.tile img { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .tile:hover img { transform: scale(1.035); } }
.tile__badge { position: absolute; z-index: 3; top: 10px; right: 10px; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.45)); pointer-events: none; }
.tile__controls { position: absolute; z-index: 5; left: 10px; bottom: 10px; display: flex; gap: 8px; }
.tile__ctl { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(20,18,15,0.5); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tile__ctl svg { width: 18px; height: 18px; }
.tile__ctl[hidden] { display: none; }
.tile--skeleton { background: var(--ivory-deep); }

/* composizione mobile: 1 grande · 2 affiancate sfalsate · 1 grande · 2 affiancate */
.feed__grid > .tile:nth-child(6n+1), .feed__grid > .tile:nth-child(6n+4) { grid-column: 1 / -1; }
.feed__grid > .tile:nth-child(6n+3), .feed__grid > .tile:nth-child(6n+6) { margin-top: 2.2rem; }
.feed__grid > .tile:nth-child(6n+4) { aspect-ratio: 1 / 1; margin-top: 2rem; }

@media (min-width: 900px) {
  .feed__grid { grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.4vw, 22px); }
  .feed__grid > .tile { margin-top: 0 !important; aspect-ratio: 4 / 5 !important; }
  .feed__grid > .tile:nth-child(6n+1) { grid-column: 1 / 7; }
  .feed__grid > .tile:nth-child(6n+2) { grid-column: 7 / 10; margin-top: 7rem !important; }
  .feed__grid > .tile:nth-child(6n+3) { grid-column: 10 / 13; }
  .feed__grid > .tile:nth-child(6n+4) { grid-column: 2 / 5; margin-top: 2rem !important; }
  .feed__grid > .tile:nth-child(6n+5) { grid-column: 5 / 9; aspect-ratio: 1 / 1 !important; margin-top: 6rem !important; }
  .feed__grid > .tile:nth-child(6n+6) { grid-column: 9 / 13; margin-top: 1rem !important; }
}
.feed__note { margin-top: 2.2rem; color: var(--ink-soft); font-size: var(--step--1); letter-spacing: 0.08em; }
.feed__more { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; justify-content: center; }

/* ================= 3. BOUTIQUE ================= */
.boutique { background: var(--ink); color: var(--ivory); padding-block: var(--section-space); }
.boutique__grid { display: grid; gap: 2.4rem; }
.boutique__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.b-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-deep); }
.b-photo img { width: 100%; height: 100%; object-fit: cover; }
.b-photo--b { margin-top: 2.6rem; }
.boutique__title { font-size: var(--step-4); }
.boutique__text { margin-top: 1.4rem; max-width: 26rem; font-size: calc(var(--step-0) * 1.08); color: var(--ivory-soft); }
.boutique__addr { margin-top: 1.6rem; font-style: normal; color: var(--ivory); line-height: 1.7; }
.boutique__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (min-width: 900px) {
  .boutique__grid { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 6vw, 7rem); align-items: end; }
  .b-photo--b { margin-top: 4rem; }
}
@media (max-width: 480px) { .boutique__actions .btn { width: 100%; } }

/* ================= FOOTER ================= */
.footer { background: var(--ink-deep); color: var(--ivory-soft); padding: 3.2rem 0 calc(4.5rem + env(safe-area-inset-bottom)); font-size: 0.9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; align-items: flex-end; }
.footer img { width: 130px; height: auto; opacity: 0.92; }
.footer a:hover { color: var(--ivory); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.footer__links a { padding: 0.5rem 0; }

/* ================= 2a. ABBIGLIAMENTO E ACCESSORI ================= */
.collection { background: var(--ivory-deep); color: var(--ink); padding-block: var(--section-space); overflow: hidden; }
.collection__head { margin-bottom: clamp(2rem, 5vw, 4rem); }
.collection__title { font-size: var(--step-4); margin-top: 0.9rem; max-width: 18ch; }
.collection__title em { font-style: italic; font-weight: 300; }
.collection__lead { margin-top: 1.1rem; color: var(--ink-soft); }
.collection__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--maxw);
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.collection__list::-webkit-scrollbar { display: none; }
.coll-card { position: relative; flex: 0 0 74vw; max-width: 340px; min-width: 0; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.coll-card figure { margin: 0; }
.coll-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.coll-card__zoom { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.coll-card__img img { width: 100%; height: 100%; object-fit: cover; }
.coll-card figcaption { display: flex; justify-content: space-between; margin-top: 0.9rem; font: 400 var(--step--1)/1 var(--font-text); letter-spacing: 0.24em; text-transform: uppercase; }
.coll-card figcaption span:last-child { color: var(--ink-soft); }
@media (hover: hover) { .coll-card:hover .coll-card__zoom { transform: scale(1.05); } }
@media (min-width: 900px) {
  .collection__list { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: start; gap: clamp(16px, 2vw, 32px); overflow: visible; align-items: start; }
  .coll-card { flex: none; max-width: none; }
  .coll-card:nth-child(2) { margin-top: 4.5rem; }
}
/* La foto sfuma verso lo scuro sotto il logo (telefono) e verso lo sfondo (computer) */
@media (max-width: 759px) {
  .hero::after { background: linear-gradient(to bottom, rgba(20,18,15,0.45) 0%, rgba(20,18,15,0) 20%, rgba(20,18,15,0) 33%, rgba(20,18,15,0.7) 52%, rgba(20,18,15,0.94) 70%, #14120f 100%); }
}
@media (min-width: 760px) {
  .hero__photo { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%); mask-image: linear-gradient(to right, transparent 0%, #000 26%); }
}
