/* ===== Artesanos: banda de la home, página, retrato ampliado ===== */
/* Banda: sin barra de scroll blanca, con arrastre */

/* Página */
.art-hero h1 { font-family: "Fraunces", Georgia, serif; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0; font-weight: 600; letter-spacing: -0.018em; line-height: 1; font-size: clamp(3rem, 7vw, 6rem); }
.art-hero h1 em { font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: #f2b233; }
.art-hero .lead { max-width: 46ch; margin-top: 20px; }
.art-hero .carta-ej { margin-top: 18px; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(16px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.art-grid li { animation: cat-in 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); display: grid; gap: 10px; align-content: start; }
.perfil { display: grid; gap: 14px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.perfil-f { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: #1a1613; }
.perfil-f img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.perfil:hover .perfil-f img { transform: scale(1.04); }
.perfil:focus-visible { outline: 2px solid #f2b233; outline-offset: 4px; }
.perfil-tx { display: grid; gap: 3px; }
.perfil-tx em { font-style: normal; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #f2b233; font-weight: 600; }
.perfil-tx b { font-family: "Fraunces", Georgia, serif; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 0; font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; }
.perfil-tx small { color: var(--suave, #bdb4a9); font-size: 0.92rem; }
.perfil-lnk { font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 1.5px solid #f2b233; width: max-content; padding-bottom: 2px; color: inherit; }
.perfil-lnk:hover { color: #f2b233; }
@media (max-width: 1023px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .art-grid { gap: 26px 12px; } .perfil-tx b { font-size: 1.15rem; } .perfil-tx small { font-size: 0.82rem; } }
@media (prefers-reduced-motion: reduce) { .art-grid li { animation: none; } .perfil-f img { transition: none; } }

/* Retrato ampliado */
.art-dlg { border: 0; padding: 0; background: #12100e; color: #f3f0eb; width: min(960px, 94vw); max-height: 92vh; border-radius: 8px; overflow: hidden; }
.art-dlg::backdrop { background: rgba(10, 8, 6, 0.9); }
.art-dlg-in { display: grid; grid-template-columns: 1fr 1fr; max-height: 92vh; }
.art-dlg figure { margin: 0; background: #1a1613; min-height: 0; }
.art-dlg img { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; display: block; }
.art-dlg-tx { padding: clamp(24px, 4vw, 48px); display: grid; align-content: center; gap: 14px; justify-items: start; }
.art-tag { margin: 0; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #f2b233; font-weight: 600; }
.art-dlg h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 0; }
.art-por { margin: 0; color: #bdb4a9; }
.art-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.art-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #f3f0eb; background: none; color: #f3f0eb; font-size: 1.2rem; cursor: pointer; }
.art-nav button:hover { background: #f3f0eb; color: #12100e; }
.art-pos { color: #bdb4a9; font-size: 0.9rem; min-width: 3.5em; text-align: center; }
.art-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(243, 240, 235, 0.94); color: #12100e; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.art-lnk[hidden] { display: none; }
@media (max-width: 760px) {
  .art-dlg { width: 100vw; max-width: none; margin: 0; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .art-dlg-in { grid-template-columns: 1fr; grid-template-rows: auto auto; max-height: 100dvh; height: 100%; overflow-y: auto; align-content: start; }
  .art-dlg img { height: 56dvh; max-height: none; }
}
