

@font-face { font-family: "Serif Filigrana"; src: url("serif.woff2") format("woff2"); font-weight: 350 650; font-style: normal; font-display: block; }
@font-face { font-family: "Serif Filigrana"; src: url("serif-cursiva.woff2") format("woff2"); font-weight: 350 650; font-style: italic; font-display: block; }
@font-face { font-family: "Filigrana Glifos"; src: url("glifos.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }

:root {
  --tinta: rgba(0, 0, 0, .85);
  --negro: #000;
  --linea: rgba(0, 0, 0, .15);
  --regla: rgba(0, 0, 0, .14);
  --gris: rgba(0, 0, 0, .4);
  --nominal: .95rem;                 
  --t: calc(var(--nominal) * .97);
  --lh: calc(var(--nominal) * 1.15);
  --radio: .3rem;
  --curva: cubic-bezier(.24, 0, .29, 1);
  --barra: calc(var(--lh) + 1rem + 1px);
  --ancho-lista: 66.66%;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: clamp(12.4169px, calc(12.4169px + (100vw - 768px) * .004116), 12.96px);
  background: #fff; -webkit-text-size-adjust: none; text-size-adjust: none; scroll-behavior: auto;
}
body {
  margin: 0; background: #fff; color: var(--tinta);
  font-family: "Serif Filigrana", "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 470; font-size: var(--t); line-height: var(--lh);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: none; font-kerning: normal;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
i { font-style: italic; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.glifo { font-family: "Filigrana Glifos", serif; font-size: 1rem; line-height: .5; font-weight: 400; color: var(--tinta); font-style: normal; }
.gris { color: var(--gris); }
hr { border: 0; height: 1px; background: var(--regla); margin: .5rem 0; }

.saltar { position: fixed; left: .5rem; top: -4rem; z-index: 1000; background: #fff; border: 1px solid var(--negro); padding: .3rem .6rem; text-decoration: none; }
.saltar:focus { top: .5rem; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; border-radius: 1px; }


.barra { position: fixed; z-index: 499; top: 0; left: 0; width: var(--ancho-lista); padding: 0 .5rem; }
.barra__in, .superficie__cab {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 6px; align-items: start;
  background: #fff; border-bottom: 1px solid var(--linea); padding: .5rem 0;
}
.barra__marca { grid-column: 1 / span 9; color: var(--tinta); white-space: nowrap; }
.barra__acc { grid-column: 10 / span 3; text-align: right; color: var(--negro); }
.barra__acc--mov, .barra__marca--mov { display: none; }
.enlace { appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: var(--negro); text-align: right; }
.ico { display: inline-block; width: 1.2em; height: 1.2em; margin-top: -1em; margin-bottom: -.25em; vertical-align: baseline; position: relative; top: .1em; }
.enlace .ico { margin-left: .1em; }


.bordes { position: fixed; z-index: 497; top: .5rem; bottom: .5rem; right: 0; width: 33.33%; border-left: 1px solid var(--linea); border-right: 1px solid var(--linea); pointer-events: none; }
.info { position: fixed; z-index: 495; top: 0; right: 0; bottom: 0; width: 33.33%; background: #fff; }
.info__cab { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 0 .5rem; background: #fff; }
.info__cab > i { display: block; border-bottom: 1px solid var(--linea); padding: .5rem 0; }
.info__cuerpo { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; padding: 2.5rem .5rem .5rem; overscroll-behavior: contain; }
.info__cuerpo::-webkit-scrollbar { display: none; }
.info__fila { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 6px; }
.info__k { grid-column: 1 / span 4; }
.info__v { grid-column: 5 / span 8; }
.info__fila--intro .info__v { grid-column: 5 / span 8; }
.info__hueco { height: calc(var(--lh) * 8); }
.info__hueco--2 { height: calc(var(--lh) * 6); }
.info a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 1.5px; text-decoration-thickness: auto; color: var(--tinta); }
.info a:hover { text-decoration-color: rgba(0, 0, 0, .7); }
.sinlinea a { text-decoration: none; color: var(--negro); }
.sinlinea a:hover { text-decoration: underline; }
.info__fila:not(.info__fila--intro):not(.info__fila--b) .info__k, .info__fila:not(.info__fila--intro):not(.info__fila--b) .info__v { padding-bottom: calc(var(--lh) * 1); }
.info__fila--b { padding-bottom: calc(var(--lh) * 1); }
.info ul, .infomov ul, .proyecto ul { list-style: none; margin: 0; padding: 0 0 0 .9em; }
.info li, .infomov li, .proyecto li { position: relative; }
.info li::before, .infomov li::before, .proyecto li::before {
  content: ""; position: absolute; left: -.99em; top: .64em; width: .75em; height: .2em;
  background: radial-gradient(circle at 50% 50%, currentColor 0 .075em, transparent .09em) 0 0 / .25em .2em repeat-x;
}


.proyectos { width: var(--ancho-lista); padding: 0; }
.proyecto { padding: 0 .5rem; scroll-margin-top: var(--barra); }
.proyecto:first-child { padding-top: calc(var(--barra) + .5rem); }
.visores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; }
.visor { position: relative; aspect-ratio: var(--r); border-radius: var(--radio); overflow: hidden; background: #f4f4f2; user-select: none; -webkit-user-select: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.visor:focus-visible { outline-offset: -3px; }
.lamina { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; visibility: hidden; transition: opacity .1s var(--curva); }
.lamina img, .lamina video { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-drag: none; filter: contrast(1.02) saturate(.98); }
.lamina.activa { opacity: 1; z-index: 2; visibility: visible; }
.lamina.vecina { visibility: visible; }
.lamina.destino { opacity: 1; z-index: 3; visibility: visible; }
.visor.arrastra .lamina { transition: none; }
.visor[data-zona="prev"] { cursor: w-resize; }
.visor[data-zona="next"] { cursor: e-resize; }
.visor[data-zona="zoom"] { cursor: zoom-in; }
.visor.arrastra, .visor.arrastra * { cursor: ew-resize !important; }
.ficha { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 6px; margin-top: .5rem; }
.ficha__t { grid-column: 1 / span 3; }
.ficha__c { grid-column: 4 / span 3; }
.ficha__d { grid-column: 7 / span 6; }
.proyecto a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 1.5px; }
.cierre { padding-top: calc(var(--lh) * 4); display: flow-root; }
.cierre hr { margin: .5rem 0; }


.pie {
  position: fixed; z-index: 498; left: .5rem; right: .5rem; bottom: 0; background: #fff; border-top: 1px solid var(--linea);
  padding: .5rem 0 .6rem; color: var(--gris); display: flex; justify-content: space-between; gap: 1rem; white-space: nowrap;
}
.pie a { color: var(--gris); text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 1.5px; }
.pie a:hover { color: var(--tinta); }


.superficie {
  position: fixed; z-index: 600; top: 0; left: 0; bottom: 0; width: var(--ancho-lista); background: #fff; overflow-y: auto; overflow-x: hidden;
  padding: 0 .5rem .5rem; scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity .4s cubic-bezier(.4, 0, .2, 1);
}
.superficie::-webkit-scrollbar { display: none; }
.superficie.abierto { opacity: 1; }
.superficie[hidden] { display: none; }
.superficie__cab { position: sticky; top: 0; z-index: 2; margin: 0; border-bottom: 1px solid var(--linea); }
.superficie__hr { display: none; }
.rejilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding-top: .5rem; }
.mini { display: block; aspect-ratio: 4 / 5; border-radius: var(--radio); overflow: hidden; background: #f1f1ef; }
.mini img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.mini img.listo { opacity: 1; }
.mini:hover img, .mini:focus-visible img { opacity: .86; }
.infomov { display: none; }


.caja:focus { outline: none; }
.caja { position: fixed; z-index: 800; inset: 0; background: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .33s cubic-bezier(.4, 0, .22, 1); }
.caja[hidden] { display: none; }
.caja.abierta { opacity: 1; }
.caja__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 12px); width: auto; height: auto; object-fit: contain; }
.caja__b { position: absolute; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .2s; }
.caja__b svg { width: 100%; height: 100%; display: block; }
.caja__b .fondo { fill: rgba(150, 150, 150, .46); }
.caja__b .trazo { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }
.caja__b:hover .fondo { fill: rgba(110, 110, 110, .6); }
.caja__izq { left: 20px; top: 50%; margin-top: -15px; }
.caja__der { right: 20px; top: 50%; margin-top: -15px; }
.caja__x { right: 20px; top: 20px; }
.caja.solo .caja__izq, .caja.solo .caja__der { display: none; }


.aviso { position: fixed; z-index: 900; left: 50%; bottom: 3.2rem; transform: translate(-50%, 10px); background: #111; color: #fff; padding: .45rem .8rem; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 2rem); }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }


@media (max-width: 740px) {
  :root { --nominal: 1.2rem; --ancho-lista: 100%; --barra: calc(var(--lh) + 1rem + 1px); }
  html { font-size: clamp(13.104px, calc(13.104px + (100vw - 390px) * .0336), 16.8px); }
  .glifo { font-size: 1.2rem; }
  .barra__acc--esc { display: none; }
  .barra__acc--mov { display: block; }
  .barra__marca { grid-column: 1 / span 7; }
  .barra__acc--g { grid-column: 8 / span 3; }
  .barra__acc--i { grid-column: 11 / span 2; }
  .bordes, .info { display: none; }
  .proyecto { padding: 0 .5rem; }
  .visores { grid-template-columns: minmax(0, 1fr); row-gap: .5rem; }
  .ficha { display: flex; flex-direction: column; gap: .5rem; }
  .pie { left: 0; right: 0; padding: .5rem .5rem .6rem; }
  .pie__der { display: none; }
  .superficie { width: 100%; }
  .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .superficie .barra__marca { grid-column: 1 / span 9; }
  .superficie .barra__marca--esc { display: none; }
  .superficie .barra__marca--mov { display: block; }
  .infomov { background: rgba(255, 255, 255, .97); }
  .infomov .info__hueco { height: calc(var(--lh) * 2); }
  .superficie .barra__acc--mov { grid-column: 10 / span 3; }
  .infomov { display: block; }
  .infomov[hidden] { display: none; }
  .infomov__cuerpo { padding-top: .5rem; }
  .infomov .info__fila { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .infomov .info__k { grid-column: 1 / span 5; }
  .infomov .info__v { grid-column: 6 / span 7; }
  .infomov p { margin: 0 0 var(--lh); }
  .infomov a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 1.5px; }
  .infomov .sinlinea a { text-decoration: none; color: var(--negro); }
  .infomov .info__fila { padding-bottom: calc(var(--lh) * .5); }
  .caja__img { max-width: calc(100vw - 12px); }
}


@media (prefers-reduced-motion: reduce) {
  .lamina, .superficie, .caja, .aviso, .mini img { transition: none !important; }
}
@media print { .barra, .info, .bordes, .pie { position: static; } }
