@font-face {
  font-family: Inter;
  src: url("/tienda-assets/tipografia/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #000;
  --sand: #c5b4a3;
  --stone: #ede8e5;
  --white-text-shadow: 0 1px 2px rgb(40 28 18 / .72);
  --gutter: clamp(1.25rem, 8vw, 7.125rem);
  background: #fff;
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

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

body, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: .15rem solid #5f422f;
  outline-offset: .25rem;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 75.75rem);
  margin-inline: auto;
}

.store-notice {
  padding: .55rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.4;
  text-align: center;
}

.site-header {
  display: grid;
  justify-items: center;
  padding-block: clamp(1.25rem, 4vw, 3rem) clamp(1.125rem, 2.4vw, 2rem);
  gap: .625rem;
}

.brand {
  position: relative;
  display: block;
  width: clamp(4rem, 10vw, 8.625rem);
  aspect-ratio: 1;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 274%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -49.5%);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem clamp(1rem, 3.4vw, 3rem);
  font-size: clamp(.875rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-nav a { text-decoration: none; }
.site-header .site-nav { justify-self: start; }

.hero {
  position: relative;
  overflow: hidden;
}

.hero-landscape {
  aspect-ratio: 1440 / 676;
  background: #986a46;
}

.hero-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

.hero-model {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(65.1%, 65rem);
  height: auto;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: clamp(22rem, 54vw, 51rem);
  margin-left: 42.5%;
  padding: clamp(1.75rem, 4vw, 4rem) var(--gutter) clamp(2rem, 6vw, 6rem) 0;
  gap: 1rem;
}

.hero-copy h1,
.lookbook h2,
.catalog h1 {
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy .text-link { align-self: flex-end; }

.text-link {
  display: inline-block;
  font-size: clamp(.875rem, 1.39vw, 1.25rem);
  font-weight: 600;
  line-height: 1;
  text-underline-offset: .3em;
  text-transform: uppercase;
}

.text-link:hover { text-decoration-thickness: 2px; }

.material {
  padding-block: clamp(3.25rem, 9vw, 8rem);
  background: var(--sand);
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.material-copy {
  color: #fff;
  text-align: right;
  text-shadow: var(--white-text-shadow);
}

.material-copy h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.material-copy p, .statement p {
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  font-weight: 600;
  line-height: 1;
}

.material-copy p + p, .statement p + p { margin-top: 1rem; }

.material-copy::after {
  display: block;
  margin-top: 1.6rem;
  border-bottom: 1px solid #594d43;
  content: "";
}

.material-image {
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 77%;
}

.lookbook {
  padding-block: clamp(2rem, 4.4vw, 4rem) clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(to bottom, #fff 58%, var(--stone) 58%);
}

.lookbook .wrap::before {
  display: block;
  width: clamp(2.5rem, 6.25vw, 5.625rem);
  aspect-ratio: 1;
  margin: 0 0 clamp(.875rem, 2vw, 1.75rem) auto;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.25rem, .75vw, .625rem);
}

.lookbook-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #c5b6a5;
}

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

.lookbook-portrait img { object-fit: contain; }
.lookbook-stone img { object-position: 28% center; }
.lookbook h2 { margin-top: .95rem; }

.statement {
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 8vw, 7.5rem) var(--gutter);
  background: var(--stone);
  text-align: center;
}

.statement h2 {
  margin-bottom: clamp(1.35rem, 2.6vw, 2.5rem);
  font-size: clamp(2.4rem, 6.67vw, 6rem);
  font-weight: 600;
  line-height: .833333;
  text-transform: uppercase;
}

#designs-title { display: grid; gap: .095em; }

.statement p { max-width: 36rem; }
.statement .text-link { margin-top: clamp(1.5rem, 3vw, 2.6rem); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 4vw, 3.75rem);
}

.footer-brand { width: 3.625rem; }
.site-footer .site-nav { color: #454545; font-size: 1rem; }

.catalog {
  padding-block: clamp(3rem, 7.5vw, 6.75rem);
  background: var(--sand);
}

.catalog h1 {
  margin-bottom: clamp(1.5rem, 3.7vw, 3.25rem);
  color: #fff;
  text-shadow: var(--white-text-shadow);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.25rem, .45vw, .5rem);
}

.catalog-card, .catalog-texture {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ac9884;
}

.catalog-card img, .catalog-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card img {
  object-position: var(--photo-position, center);
}

.crop-camel { --photo-position: center 90%; }
.crop-cream { --photo-position: center 95%; }
.crop-arena { --photo-position: 36% 91%; }

.crop-camel img, .crop-cream img, .crop-arena img {
  transform: scale(1.48);
  transform-origin: var(--photo-position);
}

.crop-olive img {
  transform: scale(1.23);
  transform-origin: 49% 70%;
}

.catalog-texture img { object-position: 24% center; }

.catalog-card span {
  position: absolute;
  inset: auto 0 0;
  padding: .75rem;
  background: #211b17;
  color: #fff;
  font-size: .875rem;
  line-height: 1.3;
  opacity: 0;
}

.catalog-card:hover span, .catalog-card:focus-visible span { opacity: 1; }
.catalog-card:focus-visible { outline-offset: -.25rem; }

.photo-dialog {
  width: min(94vw, 43rem);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--stone);
  color: var(--ink);
}

.photo-dialog::backdrop { background: rgb(21 17 13 / .72); }

.photo-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
}

.photo-dialog h2 { font-size: clamp(1rem, 3vw, 1.25rem); }
.photo-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 4.5rem);
  object-fit: contain;
}

.photo-dialog button {
  min-height: 2.75rem;
  padding-inline: .85rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 45rem) {
  :root { --gutter: clamp(1rem, 5vw, 2.25rem); }
  .site-header .site-nav { justify-self: center; }
  .hero-landscape { aspect-ratio: 2 / 1; }
  .hero-model { left: -4%; width: 83%; }
  .hero-copy {
    min-height: clamp(16rem, 70vw, 28rem);
    margin-left: 51.5%;
    padding-top: 1.6rem;
    padding-bottom: 1.5rem;
  }
  .hero-copy h1 { font-size: clamp(1rem, 4.2vw, 1.375rem); }
  .material-layout { grid-template-columns: minmax(0, 1fr); }
  .material-copy { max-width: 34rem; text-align: left; }
  .material-copy::after { width: 5rem; }
  .material-copy p, .statement p { line-height: 1.3; }
  .statement h2 { line-height: .94; }
  .material-image { aspect-ratio: 3 / 2; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-texture { grid-column: 1 / -1; aspect-ratio: 8 / 5; }
}

@media (hover: none) {
  .catalog-card span {
    padding: .55rem;
    background: rgb(33 27 23 / .85);
    opacity: 1;
  }
}
