/* ÁLZARA · casos (caso-*.html y portfolio). Generadas por alzara-casos/paginas.py. Imagen a sangre, poco texto, siempre en papel. */
.caso { background: var(--bg) url(../assets/grano.png) 0 0 / 128px; }
.c-hero, .c-full, .c-par figure, .c-port { display: block; position: relative; overflow: hidden; background: var(--c, #ddd); }
.c-hero img { width: 100%; height: min(calc(100svh - 64px), 62vw); object-fit: cover; }
.c-ficha { display: grid; gap: 28px; padding-block: clamp(40px, 7vw, 112px); }
.c-ficha h1 { font-size: clamp(52px, 13vw, 118px); line-height: .96; letter-spacing: -.055em; margin-top: 18px; }
.c-ficha .etq { margin-top: 26px; }
.c-cuerpo { display: grid; gap: 0; }
.c-full img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.c-par { display: grid; }
.c-par img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.c-txt { display: grid; gap: 18px; padding-block: clamp(64px, 10vw, 150px); }
html.js .c-full img, html.js .c-par img, html.js .c-port img { transform: scale(1.06); transition: transform 1.8s var(--sale); }
html.js .visto img { transform: none; }
.c-sig { padding-top: clamp(40px, 7vw, 96px); background: var(--bg) url(../assets/grano.png) 0 0 / 128px; }
.c-sig .rot { margin-bottom: 22px; }
.c-lista { display: grid; background: var(--bg); position: relative; }
.c-port { color: var(--tinta); }
.c-port img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.c-port__pie { display: grid; gap: 4px 20px; padding: 22px var(--m) 30px; background: var(--bg); }
.c-port__pie strong { font-weight: 300; font-size: clamp(30px, 8vw, 60px); line-height: 1.05; letter-spacing: -.045em; color: var(--tinta); }
.c-port__pie span { color: var(--texto); font-weight: 300; font-size: clamp(16px, 1.5vw, 21px); }
.c-port__pie em { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta); display: inline-flex; align-items: center; min-height: 44px; gap: 12px; }
.c-port__pie em::after { content: "→"; letter-spacing: 0; transition: transform .4s var(--sale); }
@media (hover: hover) { html.js .c-port:hover img { transform: scale(1.025); } .c-port:hover em::after { transform: translateX(6px); } }
@media (max-width: 699px) { .c-hero img { height: auto; aspect-ratio: 16 / 9; } .c-full img { aspect-ratio: 4 / 4.4; } .c-ancha img { aspect-ratio: 16 / 10; } }
.c-lista, .c-sig { padding-bottom: var(--arco); }
@media (min-width: 700px) {
  .c-port img { aspect-ratio: 16 / 9; }
  .c-par { grid-template-columns: 1fr 1fr; }
  .c-ficha { grid-template-columns: 1.15fr 1fr; align-items: end; }
  .c-txt { grid-template-columns: 1.15fr 1fr; align-items: end; } .c-txt .rot { grid-column: 1 / -1; }
  .c-port__pie { grid-template-columns: 1fr auto auto; align-items: baseline; padding-block: 28px 40px; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { html.js .caso img, html.js .c-port img { transform: none; transition: none; } }
