:root { --fondo: #efe9df; --tinta: #1d1b18; --suave: #8a8173; --acento: #b4683c; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fondo); color: var(--tinta); }
body { font: 400 17px/1.55 Inter, system-ui, sans-serif; overflow-x: hidden; }
::selection { background: var(--tinta); color: var(--fondo); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--acento); }

.barra { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 26px 4vw; mix-blend-mode: difference; color: #fff; }
.marca { font: 600 20px Fraunces, serif; letter-spacing: .3em; }
.barra nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: .04em; align-items: center; }
.boton-mini { border: 1px solid currentColor; padding: 8px 18px; border-radius: 99px; }

/* zapato viajero */
.viajero { position: fixed; left: 50%; top: 50%; width: 56vw; z-index: 20; pointer-events: none; transform: translate(-50%, -50%); }
.inclina { position: relative; transform-style: preserve-3d; }
.z { display: block; width: 100%; }
.z:not(.z-base) { position: absolute; inset: 0; opacity: 0; }
.sombra { position: absolute; left: 12%; right: 8%; bottom: -5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); filter: blur(6px); z-index: -1; }

section { position: relative; min-height: 100vh; }
.pegado { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.eti { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--suave); }

/* hero */
.hero { display: grid; place-items: center; overflow: hidden; }
.gigante { font: 300 31vw/0.8 Fraunces, serif; letter-spacing: -.04em; display: flex; color: var(--tinta); position: absolute; top: 50%; transform: translateY(-58%); white-space: nowrap; }
.gigante span { display: inline-block; }
.sub { position: absolute; bottom: 12vh; font-size: 18px; color: var(--suave); }
.baja { position: absolute; bottom: 5vh; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.baja i { width: 1px; height: 40px; background: var(--tinta); animation: baja 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* taller */
.taller { display: grid; grid-template-columns: 30vw 1fr 40vw; align-items: center; gap: 4vw; padding: 0 4vw; }
.foto-taller { height: 72vh; overflow: hidden; border-radius: 4px; }
.foto-taller img { width: 100%; height: 125%; object-fit: cover; }
.texto-taller h2 { font: 300 clamp(40px, 5vw, 84px)/1 Fraunces, serif; margin: 18px 0 24px; }
.texto-taller p:last-child { max-width: 34ch; color: var(--suave); }
.peana { width: 30vw; height: 30vw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff8, transparent 60%), #e2d8c8; justify-self: center; }

/* colores */
.colores { height: 200vh; }
.colores .pegado { display: flex; flex-direction: column; justify-content: space-between; padding: 14vh 4vw 8vh; }
.nombres { height: 1.1em; overflow: hidden; font: 300 15vw/1.1 Fraunces, serif; letter-spacing: -.03em; opacity: .9; position: absolute; left: 4vw; right: 4vw; top: 8vh; text-align: center; font-style: italic; }
.nombres span { display: block; }
.muestras { display: flex; gap: 14px; justify-content: center; }
.muestras i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid #0002; transition: transform .3s; }
.muestras i:nth-child(1) { background: #ece5d6; } .muestras i:nth-child(2) { background: #768c6e; } .muestras i:nth-child(3) { background: #26262a; }
.muestras i:nth-child(4) { background: #b05234; } .muestras i:nth-child(5) { background: #7896be; }
.muestras i.activa { transform: scale(1.35); border-color: var(--fondo); outline: 2px solid var(--tinta); }

/* despiece */
.despiece { height: 250vh; }
.despiece .pegado { padding: 14vh 4vw; }
.piezas { position: absolute; left: 50%; top: 53%; width: min(46vw, 68vh); aspect-ratio: 806 / 766; transform: translate(-50%, -50%); opacity: 0; }
.pz { position: absolute; inset: 0; }
.pz img { width: 100%; display: block; }
.pz1 { clip-path: inset(0 0 76% 0); } .pz2 { clip-path: inset(24% 0 33% 0); }
.pz3 { clip-path: inset(67% 0 20% 0); } .pz4 { clip-path: inset(80% 0 0 0); }
.rotulos { list-style: none; position: absolute; right: 6vw; top: 50%; transform: translateY(-50%); display: grid; gap: 34px; }
.rotulos li { opacity: 0; font-size: 15px; color: var(--suave); border-left: 1px solid var(--tinta); padding-left: 16px; }
.rotulos b { display: block; font: 600 26px Fraunces, serif; color: var(--tinta); }

/* giro 360: fotogramas de vídeo en un canvas, los mueve el scroll y el arrastre */
.giro { height: 250vh; }
.lienzo-giro { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; }
.lienzo-giro:active { cursor: grabbing; }
.texto-giro { position: absolute; left: 6vw; top: 16vh; opacity: 0; pointer-events: none; }
.texto-giro h2 { font: 300 11vw/0.9 Fraunces, serif; font-style: italic; margin-top: 10px; }
.arrastra { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.arrastra span { display: inline-block; animation: lado 1.4s ease-in-out infinite; }
.arrastra span:last-child { animation-direction: reverse; }
@keyframes lado { 50% { transform: translateX(-8px); } }

/* final */
.final { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 0 8vw; gap: 10px; }
.final h2 { font: 300 8vw/1 Fraunces, serif; }
.precio { font: 300 34px Fraunces, serif; color: var(--suave); margin-bottom: 30px; }
.boton { display: inline-grid; place-items: center; width: 190px; height: 190px; border-radius: 50%; background: var(--tinta); color: var(--fondo); font-size: 17px; letter-spacing: .05em; }
.boton span { pointer-events: none; }
