/* ==========================================================================
   Colección y Series · escaparate
   Cada obra tiñe su tarjeta con su propio color (--art, --art-rgb y
   --art-base, calculados en servidor a partir de la miniatura). La portada
   pinta un campo de óleo en WebGL (paint-field.js) y hace girar las obras en
   una órbita 3D (collection.js). Sin JavaScript todo queda visible y estático.
   ========================================================================== */

@property --write { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root { --series-gradient: linear-gradient(110deg, #ff8f6b 0%, #f0457a 38%, #b48cff 72%, #8f9cff 100%); --filter-gradient: linear-gradient(110deg, #4d63ff 0%, #6f7fff 45%, #9fb2ff 100%); }

/* 1. Portada compartida ------------------------------------------------------ */

.showcase-hero { position: relative; isolation: isolate; overflow: hidden; }
/* Respaldo pictórico si no hay WebGL; el lienzo lo cubre al estar listo. */
.showcase-hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: radial-gradient(48% 60% at 80% 96%, rgb(var(--accent-rgb) / .42), transparent 70%), radial-gradient(42% 52% at 16% 90%, rgb(255 143 31 / .2), transparent 70%), radial-gradient(52% 62% at 8% 4%, rgb(var(--info-rgb) / .32), transparent 72%), var(--canvas); }
.showcase-hero::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 22%; background: linear-gradient(rgb(var(--canvas-rgb) / 0), var(--canvas)); pointer-events: none; }
.paint-field { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 2s ease; }
.paint-field.is-ready { opacity: 1; }

.hero-title { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 10rem); font-weight: 400; line-height: .86; letter-spacing: -.035em; }
.hero-title > span, .hero-title > em { display: block; }
.hero-title em { padding: 0 .1em .08em 0; margin-right: -.1em; color: transparent; background: var(--fire); -webkit-background-clip: text; background-clip: text; font-style: italic; letter-spacing: -.02em; }
.hero-copy { max-width: 36rem; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.showcase-hero .eyebrow { display: inline-block; max-width: 100%; margin-bottom: 1.3rem; padding: .45rem .85rem .45rem .7rem; color: var(--ink); border: 1px solid rgb(var(--tint-rgb) / .16); border-radius: 999px; background: rgb(var(--canvas-rgb) / .38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .64rem; letter-spacing: .22em; }
.showcase-hero .eyebrow::before { content: ""; display: inline-block; margin-right: .6rem; vertical-align: .08em; width: 7px; height: 7px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2), 0 0 16px rgb(var(--accent-rgb) / .9); }
.showcase-hero .eyebrow span { color: var(--faint); }

/* Firma manuscrita: se escribe de izquierda a derecha. */
.hero-signature { --write: 106%; width: min(340px, 72vw); aspect-ratio: 3.97; display: block; margin: 1.2rem auto 0; background: var(--fire); -webkit-mask: url("../img/marca/firma.svg") center / contain no-repeat, linear-gradient(90deg, #000 var(--write), transparent calc(var(--write) + 6%)); -webkit-mask-composite: source-in; mask: url("../img/marca/firma.svg") center / contain no-repeat, linear-gradient(90deg, #000 var(--write), transparent calc(var(--write) + 6%)); mask-composite: intersect; filter: drop-shadow(0 6px 24px rgb(var(--accent-rgb) / .45)); }
.js .hero-signature { --write: -6%; animation: signature-write 2.6s cubic-bezier(.55, .1, .3, 1) 1s forwards; }
@keyframes signature-write { to { --write: 106%; } }

.js .hero-enter { opacity: 0; transform: translateY(26px); animation: hero-enter 1.2s var(--ease-out) forwards; }
.js .hero-enter:nth-child(2) { animation-delay: .1s; }
.js .hero-enter:nth-child(3) { animation-delay: .2s; }
.js .hero-enter:nth-child(4) { animation-delay: .34s; }
.js .hero-enter:nth-child(5) { animation-delay: .46s; }
.js .hero-signature.hero-enter { opacity: 1; transform: none; animation: signature-write 2.6s cubic-bezier(.55, .1, .3, 1) 1s forwards; }
.js .hero-title.hero-enter { opacity: 1; transform: none; animation: none; }
.js .hero-title.hero-enter > * { animation: title-line 1.35s var(--ease-out) both; }
.js .hero-title.hero-enter > :nth-child(2) { animation-delay: .16s; }
@keyframes hero-enter { to { opacity: 1; transform: none; } }
@keyframes title-line { from { opacity: 0; transform: translateY(.4em) rotate(2deg); filter: blur(10px); } }

/* 2. Colección · portada en llamas -------------------------------------------- */

/* Media pantalla en escritorio: la colección asoma desde el primer vistazo. */
.collection-hero { height: clamp(380px, 54svh, 620px); display: grid; align-content: center; justify-items: center; padding-block: 1.5rem clamp(2rem, 5vh, 3.5rem); text-align: center; }
.collection-hero:not(.collection-hero--compact) .hero-title { font-size: clamp(3.4rem, 6.6vw, 8rem); }
.collection-hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
/* Halo oscuro tras el texto: el fuego que arde detrás no le resta lectura. */
.collection-hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -10% -14% -8%; background: radial-gradient(closest-side, rgb(var(--canvas-rgb) / .78), rgb(var(--canvas-rgb) / .42) 58%, transparent); pointer-events: none; }
.collection-hero .hero-copy { margin-inline: auto; text-shadow: 0 2px 18px rgb(var(--canvas-rgb) / .8); }

/* La colección sube sobre el fuego y sus primeras obras cuelgan ya en la
   portada. La portada crece la mitad de lo que se solapa y el titular se
   centra en la parte que queda a la vista. */
.collection-body { --hero-overlap: clamp(130px, 17svh, 220px); }
.collection-hero:not(.collection-hero--compact) { height: calc(clamp(380px, 54svh, 620px) + var(--hero-overlap) * .5); padding-bottom: calc(clamp(2rem, 5vh, 3.5rem) + var(--hero-overlap) * .8); }
.collection-hero:not(.collection-hero--compact) + .collection { margin-top: calc(var(--hero-overlap) * -1); }
.collection-hero:not(.collection-hero--compact) + .collection .collection-results { padding-top: .25rem; }

/* Portada compacta cuando se llega con filtros (por ejemplo desde Series). */
.collection-hero--compact { height: auto; min-height: 0; justify-items: stretch; padding: clamp(2.4rem, 7vh, 4.6rem) 0 clamp(3.4rem, 8vh, 5rem); text-align: left; }
.collection-hero--compact::before { background: radial-gradient(46% 90% at 88% 100%, rgb(var(--art-rgb, var(--accent-rgb)) / .5), transparent 72%), radial-gradient(40% 80% at 4% 0%, rgb(var(--info-rgb) / .28), transparent 70%), var(--canvas); }
.collection-hero--compact .collection-hero-copy { align-items: flex-start; }
.collection-hero--compact .hero-title { max-width: 14ch; font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .9; }
.collection-hero--compact .hero-copy { margin-inline: 0; max-width: 46rem; }
.collection-hero--compact .hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
.collection-hero--compact .back-link { margin-bottom: 1.4rem; }

/* 3. Colección · barra con el filtro de series -------------------------------- */

.collection { position: relative; padding-bottom: clamp(4rem, 9vw, 7rem); }
/* Transparente sobre el fuego; al quedar fijada bajo la cabecera se cubre. */
.collection-bar { position: sticky; z-index: 30; top: var(--header-height); padding-block: .75rem; border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.collection-bar.is-stuck, html:not(.js) .collection-bar { background: rgb(var(--canvas-rgb) / .8); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.collection-bar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 22px 44px -30px rgb(0 0 0 / .95); }
.collection-bar::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .3s ease; }
.collection-bar.is-loading::after { opacity: 1; animation: bar-loading 1.1s var(--ease-out) infinite; }
@keyframes bar-loading { from { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } to { transform: scaleX(0); transform-origin: right; } }
.collection-bar-inner { display: flex; align-items: center; gap: .6rem; }

/* «Filtrar» abre un diálogo modal con las series como fichas: portada,
   nombre, número de obras y el color de cada serie. En móvil sube como hoja
   desde abajo. La página de debajo no se desplaza mientras está abierto. */
.series-filter-toggle { padding: 0; border: 0; font: inherit; cursor: pointer; background-image: var(--filter-gradient); box-shadow: 0 10px 26px -10px rgb(var(--info-rgb) / .9), inset 0 1px 0 rgb(255 255 255 / .3); }
html:has(.series-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.series-dialog { width: min(1040px, calc(100vw - 3rem)); max-width: none; max-height: min(860px, calc(100dvh - 3rem)); margin: auto; padding: 0; overflow: hidden; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(40rem 18rem at 100% 0%, rgb(var(--accent-rgb) / .13), transparent 70%), radial-gradient(34rem 20rem at 0% 100%, rgb(var(--info-rgb) / .12), transparent 70%), var(--surface); box-shadow: 0 50px 120px -40px rgb(0 0 0 / .95), inset 0 1px 0 rgb(255 255 255 / .06); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s ease, transform .5s var(--ease-out), overlay .5s allow-discrete, display .5s allow-discrete; }
.series-dialog[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .series-dialog[open] { opacity: 0; transform: translateY(18px) scale(.97); } }
.series-dialog::backdrop { background: rgb(5 6 13 / 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background-color .35s ease, backdrop-filter .35s ease, overlay .5s allow-discrete, display .5s allow-discrete; }
.series-dialog[open]::backdrop { background: rgb(5 6 13 / .74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@starting-style { .series-dialog[open]::backdrop { background: rgb(5 6 13 / 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); } }

.series-dialog-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.6rem 1.7rem 1.15rem; }
.series-dialog-eyebrow { margin: 0 0 .4rem; color: var(--accent-light); font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.series-dialog h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.series-dialog-close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 50%; background: rgb(var(--tint-rgb) / .05); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .4s var(--ease-out); }
.series-dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.series-dialog-close:hover { border-color: rgb(var(--tint-rgb) / .35); background: rgb(var(--tint-rgb) / .1); transform: rotate(90deg); }
.series-dialog-close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Filas a su altura completa: si no, al desplazarse dentro del diálogo se
   encogerían hasta el texto y las fichas se solaparían. */
.series-filter-options { min-height: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); grid-auto-rows: max-content; gap: .8rem; padding: .3rem 1.7rem 1.7rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.series-option { --chip-color: var(--chip, var(--accent)); position: relative; isolation: isolate; min-width: 0; aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: flex-end; padding: .85rem .95rem .8rem; overflow: hidden; color: var(--ink); border-radius: 18px; background: color-mix(in srgb, var(--chip-color) 24%, var(--surface-2)); text-decoration: none; transition: transform .45s var(--ease-out), box-shadow .35s ease; }
/* El aro va por encima de la portada; el halo de color, por fuera. */
.series-option::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); pointer-events: none; transition: box-shadow .3s ease; }
.series-option-cover { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.series-option-cover img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.8) brightness(.78); transition: transform .9s var(--ease-out), filter .4s ease; }
.series-option-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgb(var(--canvas-rgb) / .5) 60%, rgb(var(--canvas-rgb) / .9)), linear-gradient(0deg, rgb(var(--chip-rgb, var(--accent-rgb)) / .32), transparent 60%); }
.series-option-name { font-family: var(--serif); font-size: 1.42rem; line-height: 1.02; letter-spacing: -.005em; overflow-wrap: anywhere; text-shadow: 0 2px 14px rgb(var(--canvas-rgb) / .7); }
.series-option small { display: flex; align-items: center; gap: .45rem; margin-top: .35rem; color: rgb(var(--ink-rgb) / .74); font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.series-option small::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--chip-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip-color) 30%, transparent); }
.series-option-check { position: absolute; top: .65rem; right: .65rem; width: 28px; height: 28px; padding: 6px; color: var(--accent-ink); border-radius: 50%; background: var(--chip-color); box-shadow: 0 6px 18px -6px var(--chip-color); fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .45s var(--ease-out); }
.series-option:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -24px rgb(var(--chip-rgb, var(--accent-rgb)) / .9); }
.series-option:hover::after { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-color) 60%, transparent); }
.series-option:hover .series-option-cover img, .series-option:focus-visible .series-option-cover img { filter: none; transform: scale(1.06); }
.series-option:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.series-option.is-active { box-shadow: 0 26px 44px -24px rgb(var(--chip-rgb, var(--accent-rgb)) / .95); }
.series-option.is-active::after { box-shadow: inset 0 0 0 2px var(--chip-color); }
.series-option.is-active .series-option-cover img { filter: none; }
.series-option.is-active .series-option-check { opacity: 1; transform: none; }
.series-dialog[open] .series-option { animation: series-tile-in .6s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 26ms + 80ms); }
@keyframes series-tile-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* «Todas las obras»: ficha doble con un abanico de portadas de varias series. */
.series-option--all { --chip-color: var(--accent); --chip-rgb: var(--accent-rgb); grid-column: span 2; aspect-ratio: auto; justify-content: center; padding-inline: 1.4rem 45%; }
.series-option--all .series-option-cover { background: radial-gradient(60% 110% at 78% 100%, rgb(var(--accent-rgb) / .5), transparent 72%), radial-gradient(40% 70% at 70% 0%, rgb(var(--sun-rgb) / .22), transparent 72%), var(--canvas-raised); }
.series-option--all .series-option-cover::after { background: linear-gradient(90deg, rgb(var(--canvas-rgb) / .7), transparent 55%); }
.series-option--all .series-option-cover img { --x: 0%; --r: 0deg; position: absolute; z-index: 1; top: 50%; right: 15%; width: auto; height: 74%; aspect-ratio: 4 / 5; border-radius: 8px; filter: none; box-shadow: 0 18px 30px -12px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .12); transform: translateY(-50%) translateX(var(--x)) rotate(var(--r)); transition: transform .7s var(--ease-out); }
.series-option--all .series-option-cover img:nth-child(1) { --x: -58%; --r: -9deg; z-index: 0; }
.series-option--all .series-option-cover img:nth-child(3) { --x: 58%; --r: 9deg; z-index: 0; }
.series-option--all:hover .series-option-cover img { transform: translateY(-54%) translateX(calc(var(--x) * 1.25)) rotate(calc(var(--r) * 1.4)); }
.series-option--all .series-option-name { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.series-option--all small::before { background: var(--fire); }

/* Serie aplicada: junto al botón, con su color; la aspa vuelve a «Todas». */
.series-filter-active { --chip-color: var(--chip, var(--accent)); min-width: 0; min-height: 38px; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .4rem .35rem .8rem; color: var(--accent-ink); border-radius: 999px; background: var(--chip-color); box-shadow: 0 10px 24px -12px var(--chip-color); font-size: .8rem; font-weight: 700; text-decoration: none; animation: filter-pill-in .45s var(--ease-out); transition: filter .2s ease; }
.series-filter-active[hidden] { display: none; }
.series-filter-active i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent-ink); }
.series-filter-active [data-series-active-name] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.series-filter-active svg { width: 24px; height: 24px; flex: none; padding: 5px; border-radius: 50%; background: rgb(26 7 3 / .14); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: background .2s ease; }
.series-filter-active:hover { filter: brightness(1.08); }
.series-filter-active:hover svg { background: rgb(26 7 3 / .26); }
.series-filter-active:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@keyframes filter-pill-in { from { opacity: 0; transform: translateX(-8px) scale(.92); } }

/* Herramientas del taller: solo icono, con su rótulo al pasar o enfocar. */
.collection-tools { display: flex; flex: none; gap: .5rem; margin-left: auto; }
.collection-tool { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent-ink); border-radius: 50%; background-size: 160% 100%; background-position: 0 0; text-decoration: none; transition: transform .25s var(--ease-out), background-position .45s ease, box-shadow .25s ease; }
.collection-tool svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.collection-new { background-image: var(--fire); box-shadow: 0 10px 26px -10px rgb(var(--accent-rgb) / .85), inset 0 1px 0 rgb(255 255 255 / .28); }
.collection-series-manage { background-image: var(--series-gradient); box-shadow: 0 10px 26px -10px rgb(var(--violet-rgb) / .8), inset 0 1px 0 rgb(255 255 255 / .28); }
.collection-tool:hover { transform: translateY(-1px); background-position: 100% 0; }
.collection-tool:active { transform: scale(.96); }
.collection-tool:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.collection-tool::after { content: attr(data-tip); position: absolute; z-index: 2; top: calc(100% + .55rem); right: 0; padding: .42rem .65rem; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .9); font-size: .72rem; font-weight: 650; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s ease, transform .25s var(--ease-out); }
.collection-tool:hover::after, .collection-tool:focus-visible::after { opacity: 1; transform: none; }

/* Chips de filtro de Informática (informatica.html). */
.series-chips { position: relative; flex: 1; min-width: 0; display: flex; gap: .5rem; padding: .35rem .2rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; --fade-start: 0rem; --fade-end: 4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); }
.series-chips.is-scrolled { --fade-start: 3rem; }
.series-chips.is-end { --fade-end: 0rem; }
.series-chips::-webkit-scrollbar { display: none; }
.series-chip { --chip-color: var(--chip, var(--accent)); flex: none; min-height: 38px; display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .9rem .42rem .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: rgb(var(--surface-rgb) / .6); font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s ease, border-color .25s ease, background .25s ease, transform .3s var(--ease-out); }
.series-chip i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--chip-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip-color) 22%, transparent); }
.series-chip:first-child i { background: var(--fire); }
.series-chip small { color: var(--faint); font-size: .7rem; font-variant-numeric: tabular-nums; }
.series-chip:hover { color: var(--ink); border-color: color-mix(in srgb, var(--chip-color) 60%, transparent); transform: translateY(-1px); }
.series-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.series-chip.is-active { color: var(--accent-ink); border-color: transparent; background: var(--chip-color); box-shadow: 0 10px 24px -12px var(--chip-color); }
.series-chip.is-active:first-child { background: var(--fire); }
.series-chip.is-active i { background: var(--accent-ink); box-shadow: none; }
.series-chip.is-active small { color: rgb(26 7 3 / .7); }

/* 4. Colección · rejilla tipo Pinterest -------------------------------------- */

.collection-results { position: relative; padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.collection-results.is-loading .art-grid { opacity: .3; filter: saturate(.4); pointer-events: none; transition: opacity .25s ease, filter .25s ease; }

.art-grid { --grid-row: 2px; --masonry-gap: 26px; --masonry-stagger: 84px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); grid-auto-rows: var(--grid-row); column-gap: 22px; row-gap: 0; align-items: start; }
.art-card { position: relative; isolation: isolate; min-width: 0; grid-row-end: span 160; }
/* Sin JavaScript no se calculan las filas del mosaico: rejilla regular sin solapes. */
html:not(.js) .art-grid { grid-auto-rows: auto; row-gap: var(--masonry-gap); }
html:not(.js) .art-card { grid-row-end: auto; }
.art-card::before { content: ""; position: absolute; z-index: -1; top: 6%; right: 8%; left: 8%; height: 62%; border-radius: 50%; background: var(--art, var(--accent)); filter: blur(40px); opacity: 0; transform: translateY(16%) scale(.8); transition: opacity .7s ease, transform .8s var(--ease-out); pointer-events: none; }
.art-card-link { display: block; color: inherit; text-decoration: none; border-radius: 16px; outline: none; }
.art-card-image { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 14px; background: var(--art-base, var(--surface-2)); aspect-ratio: var(--image-ratio, 4/5); box-shadow: 0 0 0 1px rgb(255 255 255 / .05), 0 22px 40px -28px rgb(0 0 0 / .95); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.art-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.1s var(--ease-out), opacity .7s ease; }
.js .art-card-image img { opacity: 0; }
.js .art-card-image img.is-loaded { opacity: 1; }
.art-card-image.is-landscape { min-height: 0; }
.art-card-image.is-landscape img { height: auto; object-fit: contain; }
.art-card:hover .art-card-image.is-landscape img { transform: none; }
.art-card-glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .2), transparent 58%); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.art-card-view { position: absolute; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem .45rem .6rem; color: var(--ink); border: 1px solid rgb(255 255 255 / .16); border-radius: 999px; background: rgb(var(--canvas-rgb) / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .68rem; font-weight: 700; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.art-card-view svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-card:hover { --lift: -6px; }
.art-card.is-tilting .art-card-image { transition: transform .16s ease-out, box-shadow .6s var(--ease-out); }
.art-card:hover::before { opacity: .5; transform: translateY(22%) scale(1); }
.art-card:hover .art-card-image { box-shadow: 0 0 0 1px rgb(var(--art-rgb, 255 255 255) / .35), 0 36px 60px -30px rgb(var(--art-rgb, 0 0 0) / .8); }
.art-card:hover .art-card-image img { transform: scale(1.035); }
.art-card:hover .art-card-glare, .art-card:hover .art-card-view, .art-card-link:focus-visible .art-card-view { opacity: 1; transform: none; }
.art-card-link:focus-visible .art-card-image { outline: 2px solid var(--focus); outline-offset: 3px; }
.art-card-body { padding: .85rem .15rem 0; }
.art-card-body > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.art-card h3 { margin: 0; font-family: var(--serif); font-size: 1.34rem; font-weight: 400; line-height: 1.08; letter-spacing: -.005em; transition: color .3s ease; }
.art-card:hover h3 { color: color-mix(in srgb, var(--art, var(--accent)) 55%, white); }
.art-year { flex: none; color: var(--accent-light); font-size: .72rem; font-variant-numeric: tabular-nums; }
.art-card-body > p { margin: .28rem 0 0; color: var(--muted); font-size: .78rem; }
.art-card-edit { position: absolute; z-index: 3; top: .65rem; right: .65rem; width: 38px; height: 38px; display: grid; place-items: center; opacity: 0; transform: translateY(-.35rem); color: var(--ink); border: 1px solid rgb(255 255 255 / .2); background: rgb(var(--canvas-rgb) / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; transition: opacity .2s ease, transform .3s var(--ease-out), color .2s ease, border-color .2s ease, background .2s ease; }
.art-card:hover .art-card-edit, .art-card:focus-within .art-card-edit { opacity: 1; transform: none; }
.art-card-edit:hover, .art-card-edit:focus-visible { color: var(--accent-ink); border-color: transparent; background: var(--sun); outline: 2px solid var(--focus); outline-offset: 2px; }
.art-card-edit svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); background: radial-gradient(circle at 50% 40%, rgb(var(--tint-rgb) / .06), transparent 70%), var(--surface-2); font-size: .78rem; }

/* Aparición al entrar en pantalla. Si el script no llegase a ejecutarse, la
   animación de respaldo muestra las tarjetas igualmente. */
.js:not(.reveal-ready) [data-reveal] { animation: reveal-fallback .8s var(--ease-out) 2.4s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.js .art-card[data-reveal] { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js .art-card[data-reveal].is-revealed { opacity: 1; transform: none; }

.collection-empty { min-height: 44vh; }
.collection-empty .hero-actions { justify-content: center; margin-top: .5rem; }

/* 5. Series · portada con abanico de portadas -------------------------------- */

.series-hero { min-height: clamp(600px, calc(100svh - var(--header-height)), 920px); display: grid; align-items: center; padding-block: clamp(3rem, 8vh, 6rem) clamp(4rem, 9vh, 6rem); }
.series-hero::before { background: radial-gradient(46% 60% at 86% 70%, rgb(var(--violet-rgb) / .36), transparent 70%), radial-gradient(42% 50% at 60% 100%, rgb(var(--accent-rgb) / .3), transparent 72%), radial-gradient(52% 62% at 6% 10%, rgb(var(--info-rgb) / .34), transparent 72%), var(--canvas); }
.series-hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.series-hero .hero-title { font-size: clamp(3.3rem, 7.6vw, 8.8rem); }
.series-hero .hero-title em { background: var(--series-gradient); -webkit-background-clip: text; background-clip: text; }

.series-fan { --card-w: clamp(118px, 11.5vw, 178px); --spread: 5.4deg; position: relative; height: clamp(380px, 40vw, 560px); }
.series-fan-card { --mid: calc((var(--count) - 1) / 2); --offset: calc(var(--i) - var(--mid)); --angle: calc(var(--offset) * var(--spread) + var(--push, 0deg)); position: absolute; z-index: calc(20 + var(--i)); bottom: 12%; left: 50%; width: var(--card-w); aspect-ratio: 4 / 5; margin-left: calc(var(--card-w) / -2); display: block; overflow: hidden; border-radius: 10px; background: var(--surface-2); box-shadow: 0 34px 50px -26px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .1); transform: rotate(var(--angle)) translateY(var(--rise, 0px)) scale(var(--grow, 1)); transform-origin: 50% 300%; transition: transform .8s var(--ease-out), box-shadow .5s ease, filter .5s ease; cursor: pointer; }
.series-fan-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1s var(--ease-out); }
.series-fan-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(var(--canvas-rgb) / .92)); opacity: 0; transition: opacity .4s ease; }
.series-fan-label { position: absolute; z-index: 1; right: .6rem; bottom: .55rem; left: .6rem; display: grid; gap: .1rem; color: var(--ink); font-family: var(--serif); font-size: clamp(.95rem, 1.2vw, 1.2rem); line-height: 1.05; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.series-fan-label b { color: color-mix(in srgb, var(--art, var(--accent)) 60%, white); font: 800 .58rem/1 var(--sans); letter-spacing: .2em; }
.series-fan:hover .series-fan-card { --spread: 6.6deg; filter: saturate(.75) brightness(.8); }
.series-fan .series-fan-card:hover, .series-fan .series-fan-card.is-focus { --rise: -42px; --grow: 1.08; z-index: 60; filter: none; box-shadow: 0 44px 70px -28px rgb(var(--art-rgb, 0 0 0) / .95), 0 0 0 1px rgb(255 255 255 / .3); }
.series-fan-card:hover::after, .series-fan-card:hover .series-fan-label { opacity: 1; transform: none; }
.js .series-fan-card { animation: fan-deal 1.3s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * 55ms); }
@keyframes fan-deal { from { opacity: 0; transform: rotate(0deg) translateY(90px) scale(.9); } }

/* 6. Series · capítulos -------------------------------------------------------- */

.series-catalog { position: relative; padding-block: 2.2rem 7rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading .eyebrow { margin-bottom: .4rem; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.section-heading > span { color: var(--faint); font-size: .78rem; }
.series-grid { counter-reset: chapter; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(.9rem, 1.5vw, 1.35rem); }
.series-card { position: relative; isolation: isolate; counter-increment: chapter; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgb(var(--art-rgb, var(--accent-rgb)) / .1), transparent 60%), rgb(var(--surface-rgb) / .7); transition: transform .6s var(--ease-out), border-color .4s ease, box-shadow .6s var(--ease-out); }
.series-card:hover { transform: translateY(-6px); border-color: rgb(var(--art-rgb, var(--accent-rgb)) / .5); box-shadow: 0 40px 80px -40px rgb(var(--art-rgb, var(--accent-rgb)) / .7), 0 0 0 1px rgb(var(--art-rgb, var(--accent-rgb)) / .14); }
.series-card-link { display: block; text-decoration: none; outline: none; }
.series-card-link:focus-visible .series-stage { outline: 2px solid var(--focus); outline-offset: -4px; }
.series-stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: radial-gradient(64% 62% at 50% 64%, rgb(var(--art-rgb, var(--accent-rgb)) / .5), transparent 72%), radial-gradient(120% 80% at 50% 115%, rgb(var(--art-rgb, var(--accent-rgb)) / .22), transparent 70%), var(--canvas-raised); }
.series-stage::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); opacity: .7; pointer-events: none; }
.series-number { position: absolute; z-index: 1; top: .5rem; left: .85rem; color: transparent; font-family: var(--serif); font-size: clamp(4.2rem, 6.4vw, 6rem); line-height: .8; letter-spacing: -.03em; -webkit-text-stroke: 1px rgb(var(--art-rgb, var(--accent-rgb)) / .7); transition: transform .8s var(--ease-out), color .5s ease; }
.series-number::before { content: counter(chapter, decimal-leading-zero); }
.series-card:hover .series-number { color: rgb(var(--art-rgb, var(--accent-rgb)) / .16); transform: translateY(-4px); }
.series-stack { position: absolute; inset: 0; z-index: 2; transform: perspective(760px) rotateX(var(--sx, 0deg)) rotateY(var(--sy, 0deg)); transition: transform .5s var(--ease-out); }
.series-stack-item { position: absolute; top: 55%; left: 50%; width: 43%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 7px; background: var(--surface-2); box-shadow: 0 26px 40px -20px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .08); transform: translate(-50%, -50%) translate(var(--x, 0%), var(--y, 0%)) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform .8s var(--ease-out), box-shadow .6s ease; }
.series-stack-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.series-stack-item:nth-child(1) { z-index: 4; }
.series-stack-item:nth-child(2) { z-index: 3; --x: -46%; --y: 4%; --r: -8deg; --s: .9; }
.series-stack-item:nth-child(3) { z-index: 3; --x: 46%; --y: 4%; --r: 8deg; --s: .9; }
.series-stack-item:nth-child(4) { z-index: 2; --x: 0%; --y: -12%; --r: -2deg; --s: .8; }
.series-card:hover .series-stack-item:nth-child(1) { --y: -6%; --s: 1.05; box-shadow: 0 36px 50px -20px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .2); }
.series-card:hover .series-stack-item:nth-child(2) { --x: -82%; --y: 2%; --r: -13deg; }
.series-card:hover .series-stack-item:nth-child(3) { --x: 82%; --y: 2%; --r: 13deg; }
.series-card:hover .series-stack-item:nth-child(4) { --y: -30%; --r: 3deg; }
.series-stack-empty { position: absolute; top: 55%; left: 50%; width: 40%; aspect-ratio: 4 / 5; transform: translate(-50%, -50%); }
.series-stack-empty i { position: absolute; inset: 0; border: 1px dashed rgb(var(--art-rgb, var(--accent-rgb)) / .6); border-radius: 7px; background: rgb(var(--canvas-rgb) / .35); }
.series-stack-empty i:nth-child(2) { transform: translate(-30%, 4%) rotate(-8deg) scale(.9); opacity: .6; }
.series-stack-empty i:nth-child(3) { transform: translate(30%, 4%) rotate(8deg) scale(.9); opacity: .6; }
.series-count { position: absolute; z-index: 5; right: .85rem; bottom: .85rem; display: inline-flex; align-items: baseline; gap: .3rem; padding: .42rem .7rem; color: var(--ink); border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; background: rgb(var(--canvas-rgb) / .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .68rem; }
.series-count strong { color: color-mix(in srgb, var(--art, var(--accent)) 70%, white); font-size: .92rem; font-variant-numeric: tabular-nums; }
.series-card-body { display: flex; flex: 1; flex-direction: column; gap: .55rem; padding: 1rem 1.15rem 1.1rem; }
.series-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.series-card-body h2 { min-width: 0; margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 400; line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.series-card-body h2 a { text-decoration: none; transition: color .3s ease; }
.series-card:hover .series-card-body h2 a { color: color-mix(in srgb, var(--art, var(--accent)) 45%, white); }
.series-description { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: .8rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.series-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: auto 0 0; padding-top: .75rem; color: var(--faint); border-top: 1px solid var(--line); font-size: .7rem; }
.series-meta a { color: color-mix(in srgb, var(--art, var(--accent)) 65%, white); font-weight: 700; text-decoration: none; }
.series-meta a span { display: inline-block; transition: transform .4s var(--ease-out); }
.series-card:hover .series-meta a span { transform: translateX(4px); }
.series-edit { width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: var(--accent-light); border: 1px solid var(--line); border-radius: 999px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.series-edit:hover, .series-edit:focus-visible { color: var(--accent-ink); border-color: transparent; background: var(--sun); }
.series-edit svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.series-card.is-highlight { animation: chapter-glow 1.8s var(--ease-out); }
@keyframes chapter-glow { 0% { box-shadow: 0 0 0 0 rgb(var(--art-rgb, var(--accent-rgb)) / .85); } 45% { box-shadow: 0 0 0 9px rgb(var(--art-rgb, var(--accent-rgb)) / .28); } 100% { box-shadow: 0 0 0 20px rgb(var(--art-rgb, var(--accent-rgb)) / 0); } }
.js .series-card[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), border-color .4s ease, box-shadow .6s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js .series-card[data-reveal].is-revealed { opacity: 1; transform: none; }
.js .series-card[data-reveal].is-revealed:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* 7. Adaptación ---------------------------------------------------------------- */

@media (max-width: 1100px) {
  .series-fan { --card-w: clamp(96px, 11vw, 128px); --spread: 4.3deg; }
}

@media (max-width: 900px) {
  .series-hero-inner { grid-template-columns: 1fr; }
  .series-fan { height: clamp(300px, 52vw, 460px); margin-top: -1rem; }
}

@media (max-width: 820px) {
  /* La portada deja asomar la primera fila de obras, que sube sobre el fuego:
     así se ve desde el principio que la colección continúa debajo. */
  .collection-body { --hero-overlap: clamp(110px, 16svh, 150px); }
  .collection-hero:not(.collection-hero--compact) { height: calc(clamp(320px, calc(100svh - var(--header-height) - 17rem), 540px) + var(--hero-overlap) * .5); padding: 1.2rem 0 calc(2rem + var(--hero-overlap) * .6); }
  .collection-hero:not(.collection-hero--compact) .hero-title { font-size: clamp(3.2rem, 8.4vw, 5.4rem); }
  .collection-bar { position: relative; top: auto; padding-block: .6rem; }
  .series-dialog { width: calc(100vw - 1.5rem); max-height: calc(100dvh - 1.5rem); border-radius: 24px; }
  .series-dialog-head { padding: 1.3rem 1.2rem 1rem; }
  .series-filter-options { gap: .6rem; padding: .2rem 1.2rem 1.2rem; }
  .art-grid { --masonry-gap: 20px; --masonry-stagger: 60px; column-gap: 14px; }
  .series-fan { --card-w: clamp(92px, 21vw, 140px); --spread: 5deg; }
}

@media (max-width: 540px) {
  .hero-title { font-size: clamp(3.2rem, 17vw, 5rem); }
  .collection-hero:not(.collection-hero--compact) .hero-title { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .hero-signature { width: min(250px, 60vw); margin-top: .9rem; }
  .showcase-hero .eyebrow { padding: .4rem .75rem .4rem .65rem; font-size: .56rem; letter-spacing: .16em; }
  .collection-hero .hero-actions .button { width: 100%; }
  .collection-hero .hero-actions { width: min(100%, 22rem); }
  /* El diálogo sube como hoja desde abajo, con las series a dos columnas. */
  .series-dialog { width: 100%; max-height: 88dvh; margin: auto 0 0; border-width: 1px 0 0; border-radius: 24px 24px 0 0; transform: translateY(100%); transition-duration: .3s, .55s, .55s, .55s; }
  @starting-style { .series-dialog[open] { opacity: 1; transform: translateY(100%); } }
  .series-dialog h2 { font-size: 2rem; }
  .series-filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding: .1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .series-option { aspect-ratio: 4 / 3; padding: .6rem .7rem .65rem; border-radius: 14px; }
  .series-option-name { font-size: 1.12rem; }
  .series-option small { margin-top: .2rem; font-size: .64rem; }
  .series-option-check { top: .45rem; right: .45rem; width: 24px; height: 24px; padding: 5px; }
  .series-option--all { aspect-ratio: 2.4; padding-right: 48%; }
  .series-option--all .series-option-name { font-size: 1.5rem; }
  /* Con las herramientas del taller no queda sitio: la serie aplicada baja a
     su propia línea (el ::after hace de salto) para leerse entera. */
  .collection-bar-inner:has(.collection-new) { flex-wrap: wrap; row-gap: 0; }
  .collection-bar-inner:has(.collection-new)::after { content: ""; order: 2; flex-basis: 100%; }
  .collection-bar-inner:has(.collection-new) .collection-tools { order: 1; }
  .collection-bar-inner:has(.collection-new) .series-filter-active { order: 3; margin-top: .55rem; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --masonry-gap: 16px; --masonry-stagger: 44px; column-gap: 10px; }
  .art-card-image { border-radius: 10px; }
  .art-card-body { padding-top: .6rem; }
  .art-card h3 { font-size: 1.06rem; }
  .art-card-body > p { font-size: .7rem; }
  .art-card-view { display: none; }
  .art-card-edit { top: .45rem; right: .45rem; width: 32px; height: 32px; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .series-card { border-radius: 16px; }
  .series-stage { aspect-ratio: 1; }
  .series-number { top: .4rem; left: .55rem; font-size: 3rem; }
  .series-stack-item { width: 50%; }
  .series-count { right: .5rem; bottom: .5rem; padding: .3rem .5rem; font-size: .6rem; }
  .series-card-body { padding: .75rem .75rem .8rem; gap: .4rem; }
  .series-card-body h2 { font-size: 1.22rem; }
  .series-description { font-size: .7rem; -webkit-line-clamp: 2; }
  .series-meta { font-size: .6rem; }
  .series-meta a { display: none; }
  .series-edit { width: 30px; height: 30px; }
  .series-fan { height: 300px; --card-w: 104px; --spread: 4.6deg; }
}

@media (hover: none) {
  .art-card-edit { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-enter, .js .hero-title.hero-enter > *, .js .series-fan-card { opacity: 1; transform: none; animation: none; }
  .js .hero-signature, .js .hero-signature.hero-enter { --write: 106%; animation: none; }
  .js .art-card[data-reveal], .js .series-card[data-reveal] { opacity: 1; transform: none; }
  .series-filter-active, .series-dialog[open] .series-option { animation: none; }
  .series-dialog, .series-dialog[open] { transform: none; }
}
