

@font-face { font-family: "Versalita Serif"; src: url("serif.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: block; }
@font-face { font-family: "Versalita Mono"; src: url("mono.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: block; }

:root {
  --tinta: #000;
  --papel: #fff;
  --gris: #4f4f4f;
  --gris-enlace: #8c8c8c;
  --serif: "Versalita Serif", "Newsreader", "Cormorant Garamond", Georgia, serif;
  --mono: "Versalita Mono", "Roboto Mono", ui-monospace, Menlo, monospace;
  --canal: 6px;
  --radio: 15px;
  --ancho: 75vw;
  --ease-curtina: cubic-bezier(.76, 0, .24, 1);
  --ease-sale: cubic-bezier(.22, .62, .3, 1);
  --h1: 40px;
  --h1-lh: 55px;
  --h3: 21px;
  --h3-lh: 31.2px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--papel); }
body {
  margin: 0; min-height: 100vh; background: var(--papel); color: var(--tinta);
  font: 500 12px/14.4px var(--mono); text-transform: uppercase; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body[data-vista="info"] { background: var(--papel); }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; }
img, video { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; border-radius: 2px; }
::selection { background: #000; color: #fff; }

.saltar { position: fixed; left: 20px; top: -60px; z-index: 100; background: #000; color: #fff; padding: 6px 10px; border-radius: 5px; transition: top .2s; }
.saltar:focus { top: 14px; }


.barra { position: fixed; z-index: 60; left: 0; top: 20px; width: 100%; height: 18px; pointer-events: none; }
.barra > * { pointer-events: auto; }

.mas, .titulo a, .info-enlace { color: #000; transition: color .25s ease; }

.mas[data-t="o"], .mas[data-t="to"], .titulo a[data-t="o"], .titulo a[data-t="to"], .info-enlace[data-t="o"], .info-enlace[data-t="to"] { color: #fff; }
.menu-abierto .mas, .menu-abierto .titulo a, .menu-abierto .info-enlace { color: #000; }

.mas { position: absolute; left: 20px; top: 0; height: 18px; width: 70px; display: flex; align-items: center; text-align: left; }
.mas .cruz { position: absolute; left: 0; top: 4px; width: 10px; height: 10px; transition: transform .75s cubic-bezier(.2, .9, .25, 1); }
.mas .cruz svg { display: block; width: 10px; height: 10px; fill: currentColor; }
.mas .rot { position: absolute; left: 10px; width: 54px; top: 2px; text-align: center; opacity: 0; transition: opacity .25s ease, color .25s ease; color: #b0b0b0; }
.mas[data-t="o"] .rot, .mas[data-t="to"] .rot { color: #8c8c8c; }
.mas:hover .rot, .mas:focus-visible .rot, .mas[aria-expanded="true"] .rot { opacity: 1; }
.mas[aria-expanded="true"] .cruz { transform: rotate(135deg); }
.menu-abierto .mas .rot { color: #b0b0b0; }

.titulo { position: absolute; left: 50%; top: 1px; transform: translateX(-50%); height: 16px; line-height: 16px; white-space: nowrap; }
.info-enlace { position: absolute; right: 20px; top: 1px; height: 16px; line-height: 16px; }

.titulo a[aria-current="page"], .info-enlace[aria-current="page"] { color: #737373; }
.titulo a[aria-current="page"][data-t="o"], .info-enlace[aria-current="page"][data-t="o"] { color: #a0a0a0; }
.titulo a[aria-current="page"][data-t="tc"], .info-enlace[aria-current="page"][data-t="tc"] { color: #000; }
.titulo a[aria-current="page"][data-t="to"], .info-enlace[aria-current="page"][data-t="to"] { color: #fff; }
.menu-abierto .titulo a[aria-current="page"], .menu-abierto .info-enlace[aria-current="page"] { color: #737373; }
@media (hover: hover) {
  .info-enlace:not([aria-current]):hover, .titulo a:not([aria-current]):hover { color: #737373; }
  .info-enlace[data-t="o"]:not([aria-current]):hover, .titulo a[data-t="o"]:not([aria-current]):hover { color: #a0a0a0; }
  .info-enlace[data-t="tc"]:not([aria-current]):hover, .titulo a[data-t="tc"]:not([aria-current]):hover { color: #555; }
  .info-enlace[data-t="to"]:not([aria-current]):hover, .titulo a[data-t="to"]:not([aria-current]):hover { color: #ccc; }
  .menu-abierto .info-enlace:not([aria-current]):hover { color: #737373; }
}


.menu { position: fixed; inset: 0; z-index: 50; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transition: opacity .22s cubic-bezier(.2, .6, .3, 1), visibility 0s .22s; }
.menu.abierto { opacity: 1; visibility: visible; transition: opacity .22s cubic-bezier(.2, .6, .3, 1), visibility 0s; }
.menu ul { list-style: none; margin: 0; position: fixed; left: 20px; top: 48px; padding: 5px 0 0; display: flex; flex-direction: column; gap: 10px; }
.menu li { display: block; }
.menu a { display: block; height: 14.4px; line-height: 14.4px; color: #000; transition: color .2s ease; }
@media (hover: hover) { .menu a:hover { color: #787878; } }


.cortina { position: fixed; inset: 0; z-index: 90; background: #000; color: #fff; display: none; align-items: center; justify-content: center; transform-origin: 50% 0; will-change: transform; pointer-events: all; }
.js .cortina { display: flex; }
.cortina .rotulo { display: flex; gap: 0.6em; height: 16px; align-items: flex-start; white-space: nowrap; }
.cortina .pal { display: block; overflow: hidden; height: 16px; line-height: 16px; }
.cortina .pal > span { display: block; will-change: transform; }
.cortina .pal b { font: inherit; font-size: 16px; }
.cortina[hidden] { display: none; }


.portada { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 0 6px; }
.portada h1, .cierre h2, .texto h2 { font: 400 var(--h1)/var(--h1-lh) var(--serif); letter-spacing: -.4px; text-transform: none; text-wrap: balance; font-kerning: normal; }
.portada h1 { max-width: 980px; width: 100%; padding: 0 10px; }
.portada .sub { margin-top: 20px; width: 70vw; max-width: 1344px; }
.solo-tel { display: none; }


.proyecto { position: relative; }
.texto { min-height: calc(var(--region, .6) * 100vh); padding-top: max(30px, calc(500px - var(--region, .6) * 100vh)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.texto .meta { max-width: 90vw; padding: 0 6px; }
.texto h2 { margin-top: 10px; max-width: 1200px; width: 100%; padding: 0 10px; }
.boton { margin-top: 30px; display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 12px; border: 1px solid #000; border-radius: 5px; background: transparent; color: #000;
  font: 500 10px/12px var(--mono); letter-spacing: 0; transition: background-color .32s ease, color .32s ease; }
@media (hover: hover) { .boton:hover { background: #000; color: #fff; } }
.boton:focus-visible { background: #000; color: #fff; outline-offset: 3px; }

.galeria { width: var(--ancho); margin: 0 auto; display: flex; flex-direction: column; gap: var(--canal); }
.fila { display: grid; gap: var(--canal); aspect-ratio: var(--ar); grid-template-columns: var(--cols); grid-template-rows: var(--rows); grid-template-areas: var(--areas); }
.t { position: relative; margin: 0; overflow: hidden; border-radius: var(--radio); background: #ececec; grid-area: var(--a); min-width: 0; min-height: 0; isolation: isolate; }
.t img.f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.t video.listo { opacity: 1; }


.info-vista { display: none; padding: 200px 0 250px; text-align: center; }
body[data-vista="info"] .info-vista { display: block; }
body[data-vista="info"] .portada, body[data-vista="info"] .proyectos { display: none; }
.info-vista .bloque { width: 700px; max-width: 100%; margin: 0 auto; }
.info-vista .bloque + .bloque { margin-top: 50px; }
.info-vista h3.rot { font: 500 12px/14.4px var(--mono); }
.info-vista p.txt { margin-top: 10px; font: 400 var(--h3)/var(--h3-lh) var(--serif); text-transform: none; letter-spacing: 0; text-wrap: balance; }
.info-vista .estudio { max-width: 640px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.info-vista .lista { margin-top: 10px; font: 400 var(--h3)/var(--h3-lh) var(--serif); text-transform: none; letter-spacing: 0; }
.info-vista .lista span { display: block; }
.info-vista .boton { margin-top: 20px; }
.info-vista .carita { margin-top: 28px; font: 400 var(--h3)/var(--h3-lh) var(--serif); text-transform: none; }


.cierre { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--papel); color: #000; }
.cierre h2 { max-width: 1296px; width: 100%; padding: 0 20px; }
body[data-vista="info"] .cierre { background: #000; color: #fff; }
.cierre .fila-pie { position: absolute; left: 20px; right: 20px; bottom: 36px; display: flex; justify-content: space-between; align-items: baseline; }
.cierre .fila-pie a, .cierre .fila-pie span { display: inline-block; transition: color .25s ease; }
@media (hover: hover) { .cierre .fila-pie a:hover { color: #8c8c8c; } }
.cierre .fila-pie .centro { position: absolute; left: 50%; transform: translateX(-50%); }
.cierre .muestra { position: absolute; left: 0; right: 0; bottom: 13px; text-align: center; color: rgba(0, 0, 0, .45); text-transform: none; }
body[data-vista="info"] .cierre .muestra { color: rgba(255, 255, 255, .5); }
.cierre .muestra a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: currentColor; }


.aviso { position: fixed; left: 50%; bottom: 44px; z-index: 80; transform: translate(-50%, 14px); background: #000; color: #fff; padding: 0 14px; height: 30px; display: flex; align-items: center; border-radius: 5px; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease-sale); white-space: nowrap; }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }


@media (max-width: 1439.98px) {
  :root { --ancho: 98vw; }
  .portada h1 { width: 90vw; max-width: 980px; padding: 0; }
  .portada .sub { width: 95vw; }
  .texto h2 { width: 87vw; padding: 0; }
  .cierre h2 { width: 90vw; padding: 0; }
}


@media (max-width: 809.98px) {
  :root { --ancho: 97vw; --radio: 10px; --h3: 21px; --h3-lh: 31.2px; }
  .solo-esc { display: none !important; }
  .solo-tel { display: inline; }
  .portada h1 { width: 97vw; padding: 0; }
  .portada .sub { width: 94vw; color: var(--gris); }
  .texto { padding-top: 0; }
  .texto h2 { font: 400 var(--h3)/var(--h3-lh) var(--serif); letter-spacing: 0; width: 90vw; max-width: 350px; padding: 0; }
  .galeria { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--canal); }
  .fila { display: contents; }
  .t { grid-area: auto; grid-column: span var(--ps, 6); aspect-ratio: var(--pa, 16/10); order: var(--po, 0); }
  .t.oculta-tel { display: none; }
  .cierre h2 { width: 90vw; }
  .info-vista { padding-top: 100px; padding-bottom: 150px; }
  .info-vista .bloque { width: 350px; max-width: 90vw; text-align: left; }
  .info-vista .bloque h3.rot, .info-vista p.txt, .info-vista .lista, .info-vista .carita { text-align: left; }
  .info-vista .estudio { max-width: none; }
  .info-vista .lista { font-size: 17px; line-height: 21.7px; }
  .barra .titulo { top: 1px; }
}


@media (prefers-reduced-motion: reduce) {
  .cortina { display: none !important; }
  .menu, .menu.abierto { transition: none; }
  .mas .cruz { transition: none; }
  .t video { display: none; }
  .boton, .barra .el, .aviso { transition: none; }
}
