/* Fuentes: Jost y Cormorant Garamond, SIL Open Font License 1.1 (openfontlicense.org). */
@font-face {
  font-family: Jost;
  src: url("/fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/fonts/cormorant-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/fonts/cormorant-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #1f2723;
  --forest: #24492e;
  --sage: #6e8579;
  --sage-d: #56695f;
  --sand: #e9dfd0;
  --cream: #f7f3ee;
  --line: #e4ddd2;
  --accent: #a33a4e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.55 Jost,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:active,
button:active {
  transform: scale(0.98);
}
:focus-visible {
  outline: 3px solid var(--sage-d);
  outline-offset: 3px;
}
p {
  max-width: 65ch;
  margin: 0 0 1em;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}
h1,
h2 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 300;
}
h1 {
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.015em;
}
h3 {
  font-size: 20px;
  font-weight: 500;
}
.wrap {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
}
.section {
  padding: 72px 0;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 600;
  margin-bottom: 14px;
}
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 7px 12px;
  font-size: 12px;
}
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-row {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font:
    700 52px/0.8 Cormorant,
    Georgia,
    serif;
  color: var(--forest);
  text-decoration: none;
}
.header-row nav {
  display: none;
  gap: 28px;
}
.header-row nav a,
.header-buy {
  text-decoration: none;
}
.header-buy {
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 44px;
  color: var(--forest);
}
.header-social:hover {
  opacity: 0.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  transition: transform 0.25s;
}
.button:hover {
  background: var(--ink);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
  font-size: 16px;
}
.price strong {
  font-size: 26px;
  color: var(--accent);
}
.price s {
  color: inherit;
}
.price span {
  font-weight: 600;
  color: var(--accent);
}
.hero {
  position: relative;
  padding: 0;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: end;
  background: var(--ink);
  color: var(--cream);
}
.hero-media {
  position: absolute !important;
  inset: 0;
  margin: 0;
}
.hero-media .video-frame {
  height: 100%;
  aspect-ratio: auto;
}
.hero-media video {
  object-position: 50% 0;
}
.hero-media .video-frame:after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(31, 39, 35, 0.55) 35%, rgba(31, 39, 35, 0.92));
  pointer-events: none;
}
.hero-media figcaption {
  position: absolute;
  bottom: 10px;
  left: 16px;
  margin: 0;
  color: var(--cream);
  z-index: 2;
  font-size: 11px;
  opacity: 0.85;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 16px 34px;
  width: 100%;
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(33px, 9.4vw, 44px);
}
.hero .price strong,
.hero .price span {
  color: var(--cream);
}
.hero .button {
  background: var(--cream);
  color: var(--ink);
}
.video-block {
  margin: 0;
  min-width: 0;
}
.video-frame {
  position: relative;
  aspect-ratio: 4/7;
  overflow: hidden;
  background: var(--sand);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.video-frame video.is-loading {
  opacity: 0;
}
.video-frame:has(video.is-loading) {
  background-image: var(--poster);
  background-size: cover;
  background-position: center;
}
.video-frame video.is-playing {
  opacity: 1;
  transition: opacity 0.45s;
}
.video-block figcaption {
  font-size: 12px;
  line-height: 1.3;
  margin-top: 7px;
}
.video-frame video::-webkit-media-controls-start-playback-button {
  display: none !important;
}
.trust {
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  padding-block: 25px;
}
.trust-grid div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
}
.trust svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.5;
  flex: none;
}
.fir {
  background: var(--ink);
  color: var(--cream);
}
.fir-grid,
.fit-grid,
.color-grid {
  display: grid;
  gap: 32px;
}
.fir h2,
.fit-copy h2,
.color-copy h2,
.how h2 {
  margin-bottom: 24px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.steps li {
  display: flex;
  gap: 20px;
  border-top: 1px solid currentColor;
  padding: 17px 0;
}
.steps li > span {
  font-size: 13px;
  min-width: 28px;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  margin: 0;
}
.fir details {
  border-top: 1px solid rgba(247, 243, 238, 0.45);
  border-bottom: 1px solid rgba(247, 243, 238, 0.45);
}
summary {
  cursor: pointer;
  min-height: 50px;
  padding: 14px 0;
  font-weight: 600;
}
details p {
  margin: 0 0 16px;
}
.disclaimer {
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.facts li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.details figure {
  margin: 0;
  min-width: 0;
}
.details img {
  width: 100%;
  height: auto;
  display: block;
}
.details figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
}
.color-photo img {
  width: 100%;
  height: auto;
  transition: opacity 0.25s;
}
.color-photo img.changing {
  opacity: 0;
}
.color-copy > p:not(.price) {
  margin-bottom: 8px;
}
.swatches {
  display: flex;
  gap: 8px;
  margin: 8px 0 24px;
}
.swatches button {
  height: 44px;
  width: 44px;
  border: 1px solid transparent;
  background: none;
  border-radius: 50%;
  padding: 6px;
}
.swatches button[aria-pressed="true"],
.swatches button[aria-checked="true"] {
  border-color: var(--ink);
}
.swatches span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.color-video {
  width: 65%;
  justify-self: end;
}
.manifesto {
  background: var(--sand);
}
.manifesto-grid {
  display: grid;
  gap: 40px;
}
.manifesto-photo {
  margin: 0;
}
.manifesto-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.manifesto h2 {
  margin-bottom: 24px;
}
.manifesto p {
  font:
    300 clamp(28px, 3.7vw, 48px)/1.18 Cormorant,
    Georgia,
    serif;
  max-width: 28ch;
}
.how .wrap {
  max-width: 900px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 20px;
}
.site-footer h2 {
  font:
    600 13px/1.4 Jost,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.site-footer a {
  display: block;
  text-decoration: none;
  padding: 6px 0;
}
.wa {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  flex: none;
}
.wa svg {
  width: 25px;
  fill: currentColor;
}
.desktop-wa {
  display: none;
}
.sticky-bar {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}
.sticky-bar.on {
  transform: translateY(0);
  visibility: visible;
}
.sticky-bar .button {
  flex: 1;
}
.product-layout {
  padding-top: 0;
}
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  scrollbar-width: thin;
}
.gallery > figure {
  margin: 0;
  scroll-snap-align: start;
  min-width: 0;
}
.gallery img {
  width: 100%;
  height: auto;
}
.gallery .video-frame {
  aspect-ratio: 2/3;
}
.gallery figcaption {
  padding: 0 16px;
}
.product-info {
  padding: 32px 0 64px;
}
.product-info h1 {
  font-size: clamp(44px, 5vw, 68px);
}
.product-info > p {
  margin-bottom: 12px;
}
.product-info .price {
  margin: 18px 0;
}
.option {
  margin: 22px 0;
}
.option p {
  margin: 0;
}
.option-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.link {
  border: 0;
  background: none;
  text-decoration: underline;
  min-height: 44px;
}
.sizes {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.sizes button {
  background: transparent;
  border: 1px solid var(--sage-d);
  min-width: 64px;
  min-height: 44px;
}
.sizes button[aria-checked="true"] {
  background: var(--ink);
  color: var(--cream);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sage-d);
  margin-top: 10px;
}
.qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 22px;
}
.qty output {
  min-width: 32px;
  text-align: center;
}
.buy {
  width: 100%;
}
.buy-note {
  font-size: 14px;
  margin-top: 10px;
}
.acc {
  margin-top: 32px;
}
.acc details {
  border-top: 1px solid var(--line);
}
.acc details:last-child {
  border-bottom: 1px solid var(--line);
}
.acc .body {
  padding: 0 0 16px;
}
.acc ul {
  padding-left: 22px;
}
.acc h2 {
  font:
    600 16px/1.4 Jost,
    sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 39, 35, 0.65);
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
}
.panel {
  background: var(--cream);
  padding: 28px;
  position: relative;
  width: min(100%, 650px);
  max-height: 90vh;
  overflow: auto;
}
.panel h2 {
  font-size: 40px;
  margin-bottom: 16px;
}
.panel .x {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: 0;
  font-size: 28px;
  width: 44px;
  height: 44px;
}
.sizes-t {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.sizes-t th,
.sizes-t td {
  text-align: left;
  padding: 9px 5px;
  border-bottom: 1px solid var(--line);
}
.not-found {
  padding-top: 10vh;
}
.not-found h1 {
  margin: 40px 0;
}
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
@view-transition {
  navigation: auto;
}
@media (min-width: 768px) {
  .header-row nav {
    display: flex;
  }
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .desktop-wa {
    display: grid;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9;
  }
  .sticky-bar {
    display: none;
  }
  .section {
    padding: 110px 0;
  }
  .product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 7%;
    align-items: start;
    padding-top: 32px;
  }
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    overflow: visible;
    margin: 0;
    gap: 10px;
  }
  .gallery > figure:first-child {
    grid-column: span 2;
  }
  .product-info {
    position: sticky;
    top: 20px;
    padding: 0 0 60px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  .fir-grid {
    grid-template-columns: 45% 1fr;
    gap: 10%;
    align-items: start;
  }
  .fir-video {
    position: sticky;
    top: 20px;
  }
  /* Su desktop video e foto alti stanno sempre dentro una schermata */
  .fir-video .video-frame,
  .fit-video .video-frame {
    max-width: calc((100vh - 150px) * 4 / 7);
    max-width: calc((100svh - 150px) * 4 / 7);
    margin-inline: auto;
  }
  .color-video .video-frame {
    max-width: calc((100vh - 420px) * 4 / 7);
    max-width: calc((100svh - 420px) * 4 / 7);
  }
  .color-photo img {
    display: block;
    max-width: calc((100vh - 150px) * 2 / 3);
    max-width: calc((100svh - 150px) * 2 / 3);
    margin-inline: auto;
  }
  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
  }
  .details {
    grid-column: 1 / -1;
    gap: 20px;
  }
  .details figcaption {
    font-size: 14px;
  }
  .color-grid {
    grid-template-columns: 1fr 0.9fr;
    column-gap: 7%;
    row-gap: 40px;
  }
  .color-photo {
    grid-row: 1 / span 2;
  }
  .color-copy {
    align-self: end;
  }
  .color-video {
    grid-column: 2;
    width: 58%;
    justify-self: start;
    align-self: start;
  }
  .manifesto-grid {
    grid-template-columns: 1fr 0.62fr;
    gap: 8%;
    align-items: center;
  }
  .trust-grid div {
    font-size: 15px;
  }
}
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: calc(100vh - 88px);
    background: var(--cream);
    color: var(--ink);
  }
  .hero-media {
    position: relative !important;
    grid-column: 2;
    grid-row: 1;
    height: calc(100vh - 88px);
    height: calc(100svh - 88px);
    min-height: 560px;
    aspect-ratio: 4/7;
  }
  .hero h1 {
    max-width: 12ch;
    font-size: clamp(44px, 6vw, 84px);
  }
  .hero-media figcaption {
    left: 12px;
    bottom: 12px;
    background: rgba(31, 39, 35, 0.62);
    padding: 4px 8px;
  }
  .hero-media .video-frame:after {
    display: none;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 6vw;
  }
  .hero .price strong,
  .hero .price span {
    color: var(--accent);
  }
  .hero .button {
    background: var(--forest);
    color: var(--cream);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .gallery > figure {
    position: relative;
    height: 52vh;
    height: 52svh;
  }
  .gallery img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
  }
  .gallery .video-frame {
    aspect-ratio: auto;
    height: 100%;
  }
  .gallery figcaption {
    position: absolute;
    left: 0;
    bottom: 10px;
    margin: 0;
    color: var(--cream);
    font-size: 11px;
    background: rgba(31, 39, 35, 0.62);
    padding: 4px 8px 4px 16px;
  }
  .product-info h1 {
    font-size: clamp(30px, 8.4vw, 40px);
  }
}
.sw-negro {
  background: #1e1e21;
}
.sw-burdeos {
  background: #4e1c24;
}
.sw-chocolate {
  background: #3e2a20;
}
.sw-azul {
  background: #20263a;
}
.info-block {
  margin-top: 32px;
  scroll-margin-top: 110px;
}
.info-title {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 18px 0 6px;
}
.text-sm {
  font-size: 14px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-14 {
  margin-top: 14px;
}
