@font-face { font-family: 'Barlow Condensed'; font-weight: 300; font-style: normal; font-display: swap; src: url(fonts/BarlowCondensed-Light.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/BarlowCondensed-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/Barlow-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/Barlow-Medium.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/Barlow-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/Barlow-Bold.woff2) format('woff2'); }

:root {
  --paper: #ECE3CF;
  --paper-2: #F3ECDC;
  --sage: #DEDAC4;
  --ink: #2B2119;
  --muted: #65574A;
  --choco: #5C3623;
  --green: #4A5A3A;
  --night: #0F0C0A;
  --pad: clamp(20px, 3.9vw, 56px);
  --gap: clamp(16px, 1.7vw, 24px);
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', Helvetica, Arial, sans-serif;
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--choco); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--choco); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.label { font-family: var(--sans); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.display {
  margin: 0; font-family: var(--cond); font-weight: 300; text-transform: uppercase;
  line-height: 0.9; color: var(--choco); font-size: clamp(64px, 9.7vw, 140px);
}
.display span { display: block; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); background: var(--paper);
}
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; gap: 36px; }
.nav__links a, .nav__cta { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.nav__cta { font-weight: 700; padding: 12px 20px; border: 3px double var(--ink); }
.nav__toggle { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }
.nav__menu { display: flex; align-items: center; gap: 36px; }

/* Hero */
.hero { position: relative; background: var(--night); }
.hero video { width: 100%; height: calc(100svh - var(--nav-h)); min-height: 420px; max-height: 900px; object-fit: cover; }
.chip {
  position: absolute; right: var(--pad); bottom: 24px; padding: 8px 14px; background: var(--paper);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* Sections */
.section { padding: clamp(64px, 6.7vw, 96px) var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* Quiénes somos */
.about__head { align-items: end; }
.about__head .label { grid-column: 1 / span 3; padding-bottom: 14px; }
.about__head .display { grid-column: 4 / span 9; font-size: clamp(56px, 9.2vw, 132px); line-height: 0.88; }
.about__text { margin-top: 56px; }
.about__text p { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.about__text p:first-child { grid-column: 4 / span 4; }
.about__text p:last-child { grid-column: 9 / span 4; }
.pillars { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.pillar { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 0 0; border-top: 1px solid var(--ink); }
.pillar__big { font-family: var(--cond); font-weight: 300; font-size: 56px; line-height: 0.9; text-transform: uppercase; color: var(--choco); }
.pillar__title { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pillar p { margin: 0; font-size: 16px; color: var(--muted); }

/* Relevamiento */
.trend__head { display: flex; flex-direction: column; gap: 32px; }
.trend__panels { margin-top: 72px; align-items: start; }
.panel-cuadrille {
  border: 1px solid var(--ink);
  background-color: #4A2A1E;
  background-image:
    repeating-linear-gradient(0deg, rgba(236,227,207,0.18) 0 4px, transparent 4px 40px, rgba(30,20,14,0.5) 40px 62px, transparent 62px 84px),
    repeating-linear-gradient(90deg, rgba(236,227,207,0.18) 0 4px, transparent 4px 40px, rgba(30,20,14,0.5) 40px 62px, transparent 62px 84px);
}
.panel-cuadrille span {
  position: absolute; left: 32px; bottom: 24px; color: var(--paper);
  font-family: var(--cond); font-weight: 300; font-size: clamp(56px, 8.3vw, 120px); line-height: 1;
}
.flip { position: relative; perspective: 1600px; }
.flip--cuad { grid-column: 1 / span 7; aspect-ratio: 742 / 580; }
.flip--rayas { grid-column: 8 / span 5; aspect-ratio: 530 / 540; margin-top: 40px; }
.flip__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip__front {
  border: 1px solid var(--ink); background-color: #E6DCC6;
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 34px, var(--choco) 34px 37px, transparent 37px 60px);
}
.flip__front span {
  position: absolute; left: 24px; bottom: 20px; padding: 4px 16px 10px; background: var(--paper); border: 1px solid var(--ink);
  font-family: var(--cond); font-weight: 300; font-size: clamp(56px, 6.7vw, 96px); line-height: 1;
}
.flip__back { transform: rotateY(180deg); background: #E3E1DD; }
.flip__back img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.flip__btn {
  position: absolute; right: 16px; top: 16px; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Muestrario */
.swatches__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.swatches__head > div:first-child { display: flex; flex-direction: column; gap: 32px; }
.controls { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.controls__count { font-size: 14px; letter-spacing: 0.1em; margin-right: 12px; }
.arrow {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; border: 1px solid var(--ink); color: var(--ink); transition: opacity 0.3s;
}
.arrow--solid { background: var(--ink); color: var(--paper); }
.arrow[disabled] { opacity: 0.3; cursor: default; }
.track {
  margin-top: 56px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.card video, .card__cta { width: 100%; aspect-ratio: 314 / 280; object-fit: cover; background: #D8D4CC; }
.card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; letter-spacing: 0.08em; }
.card__season { font-size: 15px; color: var(--muted); }
.card__cta {
  box-sizing: border-box; padding: 28px; background: var(--choco); color: var(--paper); text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card__cta:hover { color: var(--paper); background: #4A2B1B; }
.card__cta strong { font-family: var(--cond); font-weight: 300; font-size: clamp(44px, 4.2vw, 60px); line-height: 0.9; text-transform: uppercase; }

/* Alta tendencia */
.alta { position: relative; background: var(--sage); display: grid; grid-template-columns: 585fr 855fr; min-height: 1040px; }
.alta__media { position: relative; overflow: hidden; background: #B9B0A4; }
.alta__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alta__cap {
  position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 2; display: flex; justify-content: space-between;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-2); text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.alta__body { padding: 120px var(--pad) 96px clamp(40px, 10.6vw, 152px); display: flex; flex-direction: column; gap: 32px; }
.alta__body .label { color: var(--green); }
.alta__title { margin: 0; font-family: var(--cond); font-weight: 300; font-size: clamp(56px, 6.1vw, 88px); line-height: 0.9; text-transform: uppercase; color: var(--green); }
.alta__text { margin: 0; max-width: 560px; font-size: 20px; }
.alta__list { max-width: 560px; display: flex; flex-direction: column; border-bottom: 4px double var(--green); list-style: none; margin: 0; padding: 0; }
.alta__list button {
  display: flex; justify-content: space-between; align-items: baseline; width: 100%; min-height: 44px; padding: 10px 0;
  background: transparent; border: none; border-top: 1px solid var(--ink); cursor: pointer; text-align: left; color: var(--ink);
}
.alta__list button[aria-current="true"] { color: var(--green); }
.alta__list .name { font-family: var(--cond); font-size: 28px; line-height: 1; text-transform: uppercase; }
.alta__list .num { font-size: 14px; letter-spacing: 0.12em; }
.alta__controls { display: flex; gap: 12px; }
.alta__controls .arrow--solid { background: var(--green); border-color: var(--green); }

/* Reposición */
.repo { position: relative; background: var(--night); }
.repo video { width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; }
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { color: var(--paper); background: var(--choco); }
.btn--line { border: 3px double var(--ink); min-height: 48px; }
.repo .btn { position: absolute; right: var(--pad); bottom: clamp(20px, 3.3vw, 48px); }

/* Contacto */
.contact { align-items: start; }
.contact__left { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 48px; }
.contact__left .display { font-size: clamp(64px, 9.2vw, 132px); }
.contact__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.contact__ship { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.contact__ship span:first-child { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact__ship span:last-child { font-family: var(--cond); font-weight: 300; font-size: 40px; line-height: 1; }
.contact__list { grid-column: 8 / span 5; padding-top: 72px; margin: 0; }
.contact__list div { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid var(--ink); }
.contact__list div:last-child { border-bottom: 4px double var(--ink); }
.contact__list dt { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact__list dd { margin: 0; font-size: 18px; text-align: right; }
.contact__list a { text-decoration: none; }

/* Footer */
.footer { padding: 56px var(--pad) 48px; display: flex; flex-direction: column; gap: 48px; }
.footer img { height: 240px; width: auto; align-self: flex-start; }
.footer__row { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__row a { text-decoration: none; }

/* Foto final */
.closing img { width: 100%; height: auto; max-height: 100svh; object-fit: cover; object-position: 50% 85%; background: #1A1714; }

/* Return to Basics */
.rtb { position: relative; overflow: hidden; }
.rtb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(img/grano.png); background-size: 256px; mix-blend-mode: multiply; opacity: 0.6; }
.rtb__hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.rtb__title { margin: 16px 0 0; font-family: var(--cond); font-weight: 300; font-size: clamp(88px, 15vw, 220px); line-height: 0.86; text-transform: uppercase; color: var(--ink); }
.rtb__title span:last-child { color: var(--choco); display: block; }
.rtb__quote { margin: 32px 0 0; font-family: var(--cond); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; max-width: 620px; }
.rtb__stamp { width: clamp(150px, 18vw, 260px); transform: rotate(-12deg); }
.collage { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; }
.collage img { width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(43,33,25,0.28)) sepia(0.12); }
.c1 { grid-column: 1 / span 5; transform: rotate(-4deg); }
.c2 { grid-column: 6 / span 3; transform: rotate(6deg); }
.c3 { grid-column: 10 / span 3; transform: rotate(8deg); justify-self: center; }
.c4 { grid-column: 1 / span 3; transform: rotate(5deg); }
.c5 { grid-column: 4 / span 5; transform: rotate(-3deg); }
.c6 { grid-column: 9 / span 4; transform: rotate(-6deg); }
.tag {
  width: 190px; padding: 16px 16px 20px; background: var(--paper-2); border: 3px double var(--ink); box-shadow: 0 8px 14px rgba(43,33,25,0.18);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.tag__hole { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.tag hr { width: 100%; border: 0; border-top: 1px dashed var(--ink); margin: 0; }
.tag__small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
.tag__big { font-family: var(--cond); font-size: 72px; line-height: 0.8; color: var(--choco); }
.tag__big small { font-size: 26px; color: var(--ink); }
.stamps { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.postage {
  width: 170px; height: 214px; padding: 10px; background-color: var(--paper-2);
  background-image: radial-gradient(circle at 6px 6px, var(--paper) 4px, transparent 4.5px); background-size: 12px 12px;
  filter: drop-shadow(0 6px 8px rgba(43,33,25,0.22));
}
.postage > div { height: 100%; background: var(--paper-2); border: 1px solid var(--ink); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.postage i { flex-grow: 1; display: block; }
.postage p { margin: 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pass { display: flex; width: min(420px, 100%); min-height: 150px; background: var(--paper-2); border: 1px solid var(--ink); transform: rotate(3deg); filter: drop-shadow(0 6px 8px rgba(43,33,25,0.2)); }
.pass > div { flex-grow: 1; padding: 18px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.pass strong { font-family: var(--cond); font-weight: 400; font-size: 40px; line-height: 1; }
.pass aside { width: 96px; border-left: 2px dashed var(--ink); display: flex; align-items: center; justify-content: center; }
.pass aside span { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; transform: rotate(-90deg); white-space: nowrap; }
.rubber { padding: 10px 22px; border: 4px solid var(--choco); color: var(--choco); font-size: 34px; font-weight: 700; letter-spacing: 0.2em; transform: rotate(-9deg); opacity: 0.85; }

/* Tablet */
@media (max-width: 1023px) {
  :root { --nav-h: 76px; }
  .nav__logo img { height: 52px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--ink);
    display: none;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid rgba(43,33,25,0.2); }
  .nav__cta { margin-top: 16px; text-align: center; }
  .about__head .label, .about__head .display, .about__text p:first-child, .about__text p:last-child { grid-column: 1 / -1; }
  .about__head .display { margin-top: 24px; }
  .about__text { row-gap: 24px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flip--cuad, .flip--rayas { grid-column: 1 / -1; }
  .flip--cuad { aspect-ratio: 4 / 5; }
  .flip--rayas { margin-top: 24px; aspect-ratio: 4 / 5; }
  .card { flex-basis: calc((100% - var(--gap)) / 2.3); }
  .alta { grid-template-columns: 1fr; min-height: 0; }
  .alta__media { aspect-ratio: 4 / 5; max-height: 85svh; }
  .alta__body { padding: 56px var(--pad) 64px; }
  .contact__left, .contact__list { grid-column: 1 / -1; }
  .contact__list { padding-top: 48px; }
  .footer img { height: 160px; }
  .rtb__hero { grid-template-columns: 1fr; }
  .rtb__stamp { justify-self: end; margin-top: -40px; }
  .c1 { grid-column: 1 / span 7; } .c2 { grid-column: 8 / span 5; } .c3 { grid-column: 1 / span 5; }
  .c4 { grid-column: 6 / span 7; justify-self: center; max-width: 300px; } .c5 { grid-column: 1 / span 7; } .c6 { grid-column: 8 / span 5; }
}

/* Mobile */
@media (max-width: 639px) {
  body { font-size: 16px; }
  .nav__logo img { height: 46px; }
  .chip { font-size: 11px; bottom: 16px; }
  .hero video { height: 72svh; }
  .pillars { grid-template-columns: 1fr; }
  .pillar__big { font-size: 48px; }
  .trend__panels { margin-top: 40px; }
  .swatches__head { align-items: flex-start; }
  .controls { padding-bottom: 0; }
  .track { margin-top: 32px; }
  .card { flex-basis: 78%; }
  .alta__text { font-size: 18px; }
  .alta__cap { left: 20px; right: 20px; bottom: 18px; }
  .repo .btn { position: static; margin: 20px var(--pad) 28px; }
  .repo { padding-bottom: 1px; }
  .contact__list div { flex-direction: column; gap: 4px; }
  .contact__list dd { text-align: left; }
  .footer img { height: 120px; }
  .footer__row { flex-direction: column; }
  .collage { gap: 24px 12px; }
  .c1, .c3, .c5 { grid-column: 1 / -1; } .c2, .c4, .c6 { grid-column: 1 / -1; justify-self: center; max-width: 300px; }
  .rubber { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flip__inner, .track, .arrow { transition: none; }
}
