/* Project gallery: quiet frames, individual editorial artwork, native links. */
#proyectos .published-grid { gap: 28px; }
#proyectos .published-grid .work-card { padding: 0; border: 1px solid var(--borde-brillante); border-radius: 12px; background: var(--superficie); overflow: hidden; }
#proyectos .published-grid .work-card:is(:hover,:focus-within) { background: var(--superficie); border-color: var(--primario); box-shadow: 0 12px 36px #00000014; }
#proyectos .project-visual { min-height: 310px; padding: 24px 28px; align-items: stretch; justify-content: space-between; background: var(--art-bg,#e6e0ef); color: var(--art-ink,#403354); border: 0; overflow: hidden; }
#proyectos .project-visual::before { display: none; }
#proyectos .visual-index { position: static; color: inherit; opacity: .8; font-size: .68rem; letter-spacing: .1em; }
#proyectos .visual-caption { margin: 0; color: inherit; font-size: .8rem; font-weight: 500; }
#proyectos .project-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 218px; flex: 1; }
#proyectos .project-art svg { width: 100%; height: 220px; }
#proyectos .project-copy { padding: 32px; }
#proyectos .project-copy h3 { font-size: clamp(1.6rem,2.6vw,2.05rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 18px; }
#proyectos .project-copy .project-status { color: var(--texto-suave); margin-bottom: 18px; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
#proyectos .project-copy .project-status::before { display: none; }
#proyectos .project-copy > p:not(.project-status) { font-size: .95rem; line-height: 1.75; }
#proyectos .project-copy .project-stack { color: var(--texto-suave); font-size: .75rem !important; padding-top: 28px; }
#proyectos .project-copy .project-link { align-items: center; margin-top: 24px; padding-top: 18px; min-height: 58px; font-size: .85rem; font-weight: 500; }
#proyectos .project-link > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--borde-brillante); border-radius: 50%; }
#proyectos .project-link:is(:hover,:focus-visible) > span { color: var(--fondo); background: var(--primario); border-color: var(--primario); }
#proyectos .published-grid .work-card:first-child { grid-template-columns: 1fr 1.2fr; }
#proyectos .published-grid .work-card:first-child .project-copy { padding: 40px; }
#proyectos .published-grid .work-card:first-child .project-visual { order: 2; border: 0; }
#proyectos .published-grid .work-card:first-child h3 { font-size: clamp(2rem,3.2vw,2.7rem); }
#proyectos .art-sanamente { padding: 26px 0; }
#proyectos .art-sanamente img { display: block; width: 100%; height: auto; border-radius: 5px; box-shadow: 0 18px 35px #24173326; }
#proyectos .published-grid .work-card:nth-child(2) .project-visual { --art-bg: #decfc3; --art-ink: #523c35; }
#proyectos .art-links { display: block; padding-top: 8px; }
#proyectos .art-word { font: 500 clamp(3.2rem,6vw,5rem)/1 var(--familia-header); letter-spacing: -.06em; display: flex; justify-content: space-between; }
#proyectos .art-word > span { font-size: .7em; font-weight: 400; }
#proyectos .art-links svg { height: 130px; }
#proyectos .published-grid .work-card:nth-child(3) .project-visual { --art-bg: #273b40; --art-ink: #c3d9d3; }
#proyectos .published-grid .work-card:nth-child(4) .project-visual { --art-bg: #dedfcf; --art-ink: #45523c; }
#proyectos .art-catalog { height: 218px; }
#proyectos .file-sheet { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: 135px; height: 155px; border: 1px solid #45523c66; border-radius: 4px; background: #f6f5ec; padding: 18px; font: 500 1.4rem var(--familia-header); box-shadow: 0 12px 20px #45523c12; }
#proyectos .file-sheet > span { align-self: flex-end; font: 400 2rem var(--familia-header); }
#proyectos .sheet-back { transform: rotate(-12deg) translateX(-45px); }
#proyectos .sheet-front { transform: rotate(9deg) translateX(45px); }
#proyectos .published-grid .work-card:nth-child(5) .project-visual { --art-bg: #d8c6a5; --art-ink: #51432e; }
#proyectos .work-grid { gap: 28px; }
#proyectos .work-grid .work-card { padding: 28px; border: 1px solid var(--borde-brillante); border-radius: 8px; background: var(--superficie); }
#proyectos .work-grid .project-status { font-size: .68rem; letter-spacing: .04em; }
@media (max-width: 900px) {
  #proyectos .published-grid .work-card:first-child { display: flex; }
  #proyectos .published-grid .work-card:first-child .project-visual { order: 0; }
  #proyectos .published-grid .work-card:first-child .project-copy { padding: 32px; }
  #proyectos .art-sanamente img { max-width: 680px; }
}
@media (max-width: 600px) {
  #proyectos .published-grid { gap: 24px; }
  #proyectos .project-visual { min-height: 265px; padding: 20px 24px; }
  #proyectos .project-art { min-height: 185px; }
  #proyectos .project-art svg { height: 185px; }
  #proyectos .project-copy,#proyectos .published-grid .work-card:first-child .project-copy { padding: 26px 24px; }
  #proyectos .project-copy h3,#proyectos .published-grid .work-card:first-child h3 { font-size: 1.8rem; }
  #proyectos .art-sanamente { min-height: 160px; padding: 20px 0; }
  #proyectos .art-links svg { height: 100px; }
  #proyectos .work-grid { gap: 18px; }
  #proyectos .work-grid .work-card { padding: 24px; }
}
