/* 01. Identidad: papel y acento de la portada, sin repetir titulares de capturas. */
.portfolio-panel h2 { white-space: normal; font-size: clamp(32px, 4.3vw, 68px); max-width: 24ch; }
.portfolio-panel .panel-lead { max-width: 62ch; }
.app-showcase { width: 100%; min-width: 0; margin: 12px 0 18px; }
.showcase-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.showcase-toolbar p { margin: 0; font-size: 11px; letter-spacing: .14em; color: var(--accent-ink); }
.showcase-motion { min-height: 44px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 5px; background: transparent; color: var(--ink); font-size: 12px; }
.showcase-motion[hidden] { display: none; }

/* 02. Cinta horizontal continua. El segundo tramo permite cerrar el bucle.
   Los originales mantienen su resolución y su proporción completa. */
.showcase-track { display: flex; overflow-x: auto; overflow-y: hidden; padding: 6px 0 12px; overscroll-behavior-x: contain; scrollbar-width: none; }
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-belt { display: flex; flex: 0 0 auto; }
.showcase-run { display: flex; flex: 0 0 auto; gap: 18px; padding-right: 18px; }
.showcase-run[hidden] { display: none; }
.showcase-card { display: block; flex: 0 0 auto; border-radius: 9px; }
.showcase-card img { display: block; height: clamp(320px, 44dvh, 440px); width: auto; max-width: none; border-radius: 9px; }
.showcase-card:focus-visible { outline-offset: 3px; }
.showcase-hint { margin: 12px 0 0; font-size: 11px; color: var(--muted); }

/* 03. Las fichas conservan contenido y enlaces; la cinta no los sustituye. */
.portfolio-panel .project-cards { margin-top: 12px; }
.portfolio-panel .project-cards article { padding-top: 22px; }
.portfolio-panel .project-cards article > img { width: 58px; height: 58px; margin-bottom: 18px; border-radius: 14px; }

/* 04. Móvil: mismo recorrido, tamaño intermedio y pausa al intervenir.
   Movimiento reducido: solo tramo original y desplazamiento manual. */
@media (max-width: 650px) {
  .showcase-run { gap: 12px; padding-right: 12px; }
  .showcase-card img { height: 340px; }
}
