
:root {
  --body: 15px; --body-l: 1.25; --heading: 66px; --heading-l: .75; --huge: 108px; --huge-l: .75;
  --blanco: #fff; --negro: #000; --gris: #dad9d5; --naranja: #ff4f00; --lila: #6320ee;
  --silencio: #ece0dc80;
  --gutter: .75rem; --g2: calc(var(--gutter) * 2); --g3: calc(var(--gutter) * 3); --g4: calc(var(--gutter) * 4);
  --gh: calc(var(--gutter) / 2); --gq: calc(var(--gutter) / 4);
  --top: 42.75px;
  --f-cuerpo: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Sofia Sans Extra Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
}
@media (min-width: 1800px) { :root { --body: 19px; --heading: 96px; --huge: 144px; --top: 47.75px; } }
@media (max-width: 1380px) { :root { --body: 15px; --heading: 54px; --huge: 96px; } }
@media (max-width: 812px) { :root { --body: 14px; --huge: 60px; --heading: 42px; --body-l: 1.4; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; overscroll-behavior: none; }
body { margin: 0; width: 100%; overflow-x: hidden; background: var(--blanco); color: var(--negro); font: 400 var(--body)/var(--body-l) var(--f-cuerpo); overscroll-behavior: none; }
body.no-overflow { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure { margin: 0; font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; border-radius: 0; }
img, video { max-width: 100%; }
::selection { background: var(--lila); color: var(--negro); }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }
.salto { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--naranja); color: #000; padding: 8px 12px; }
.salto:focus { top: 12px; }
[hidden] { display: none !important; }


#preloader { position: absolute; z-index: 2000; top: 0; left: 0; width: 100%; height: calc(100lvh + 10vh); background: var(--negro); pointer-events: none; overflow: hidden; }
#preloader.is-revealing { background: transparent; }
#preloader.is-fading { opacity: 0; transition: opacity 1.6s cubic-bezier(.45, 0, .55, 1); }
#preloader.is-fading-quick { opacity: 0; transition: opacity .35s cubic-bezier(.33, 1, .68, 1); }
.preloader-canvas { display: block; width: 100%; height: 100%; }
html:not(.js) #preloader { display: none; }
.js body.has-intro .page { opacity: 0; }
.js body.has-intro.preloader-finished .page { opacity: 1; }
.js body.has-intro.preloader-started { overflow: hidden; }
.js body.has-intro .fade-in { opacity: 0; }
.js body.has-intro .fade-in[data-intro] { opacity: 1; }
.js body.has-intro .fade-in[data-intro="rise"] { transition: opacity .65s cubic-bezier(.76, 0, .24, 1) var(--intro-delay, 0s); }
.fade-overlay { position: fixed; z-index: 9999; inset: 0 0 -10vh; background: var(--negro); opacity: 0; pointer-events: none; }
body.page-routing { cursor: wait; }


.cabecera { position: fixed; z-index: 150; top: 0; left: 0; width: 100%; padding: var(--gutter); background: var(--negro); }
.cabecera ul { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.cabecera li { grid-column: auto / span 5; text-transform: uppercase; font-weight: 500; }
.cabecera li:nth-child(3) { grid-column: auto / span 2; }
.cabecera a, .menu-toggle, .menu-button { color: var(--blanco); transition: color .2s; }
.cabecera a:hover, .menu-toggle:hover, .menu-button:hover { color: var(--naranja); }
.cabecera sup { font-size: .62em; vertical-align: super; line-height: 0; }
.menu-toggle { display: block; text-transform: uppercase; font-weight: 500; }
.menu-button { position: fixed; z-index: 100; top: calc(var(--gutter) + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); display: flex; align-items: center; margin-top: -2px; }
.menu-button .sound-icon { width: 22px; height: auto; fill: currentColor; }
@media (min-width: 1800px) { .menu-button { margin-top: 0; } }
@media (max-width: 812px) {
  .cabecera li:nth-child(2) { grid-column: 6 / -1; justify-self: end; }
  .cabecera li:nth-child(3), .menu-button { display: none; }
}
@media (hover: none) and (pointer: coarse) { .cabecera li:nth-child(3), .menu-button { display: none; } }

.nav-menu__backdrop { position: fixed; z-index: 59; inset: 0; }
.nav-menu { position: fixed; z-index: 160; top: 0; left: 0; width: 100%; height: 80vh; overflow: hidden; background: var(--negro); color: var(--blanco); visibility: hidden; transform: translateY(-100%); will-change: transform; backface-visibility: hidden; }
.nav-menu__close { display: none; position: absolute; z-index: 1; top: var(--gutter); right: var(--gutter); text-transform: uppercase; font-weight: 500; color: var(--blanco); }
.nav-menu__close:active { color: var(--naranja); }
.nav-menu__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); width: 100%; height: 100%; padding: var(--g2); }
.project-list { position: relative; z-index: 2; grid-area: 1 / 1 / span 1 / span 2; }
.project-list__link { color: var(--blanco); transition: color .3s; }
.project-list__link.muted { color: var(--silencio); }
.project-list__link:hover, .project-list__link:focus-visible { color: var(--blanco); }
.nav-column { position: relative; z-index: 2; grid-area: 1 / 8 / span 1 / span 2; display: flex; flex-direction: column; height: 100%; }
.nav-column p { margin: 0; }
.nav-column a, .nav-column__draw { color: var(--blanco); transition: color .3s; display: block; }
.nav-column .muted { color: var(--silencio); }
.nav-column a:hover, .nav-column__draw:hover, .nav-column a:focus-visible, .nav-column__draw:focus-visible { color: var(--blanco); }
.nav-column a[aria-current], .nav-column a.activo { text-decoration: underline; text-underline-offset: 1px; text-decoration-thickness: 1px; }
.online-count-wrap, .visitor-count-wrap { flex-shrink: 0; min-height: 0; margin-top: auto; overflow: hidden; }
.about-column { position: relative; z-index: 2; grid-area: 1 / 10 / span 1 / span 3; display: flex; flex-direction: column; height: 100%; }
.about-column p { color: var(--blanco); margin-bottom: var(--gutter); max-width: 265px; transition: color .3s; }
.about-column a { color: var(--blanco); transition: color .3s; }
.about-column__bio.muted p, .about-column__bio.muted a:not(:hover) { color: var(--silencio); }
.menu-hover { position: relative; z-index: 1; grid-area: 1 / 3 / span 1 / span 8; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.menu-hover .hover-item { position: absolute; width: min(100%, 920px); max-height: 100%; display: flex; justify-content: center; align-items: center; }
.menu-hover .hover-item .project-image, .menu-hover .hover-item .project-video { width: 100%; }
.menu-hover .hover-item .maq { background: transparent; }
.menu-hover .hover-item .maq.foto { width: auto; max-height: 100%; margin: 0 auto; background: #1a1a1a; }
@media (min-width: 1800px) { .about-column p { max-width: 355px; } }
@media (max-width: 812px) {
  .nav-menu__close { display: block; }
  .nav-menu__grid { padding: var(--gutter); padding-top: calc(var(--top) + var(--gutter)); }
  .project-list, .menu-hover { display: none; }
  .nav-column { grid-column: 1 / span 6; }
  .about-column { grid-column: 7 / span 6; }
  .about-column p br { display: none; }
}


.app-wrapper { position: relative; }
.page { position: relative; min-height: 100vh; overflow: hidden; }
.home-page { background: var(--gris); width: 100%; }
.home-hero { position: relative; z-index: 5; width: 100%; padding: var(--gutter); padding-top: calc(var(--gutter) + var(--top)); }
.home-hero-media { position: relative; width: 50vw; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blanco); }
.slideshow-slice { width: 100%; height: 100%; overflow: hidden; }
.slideshow-viewport { position: relative; width: 100%; height: 100%; overflow: hidden; transform: scale(var(--parallax-scale, 1)); will-change: transform; }
.slideshow-viewport.is-clickable { cursor: pointer; }
.slideshow-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: transform; }
.slideshow-slide.is-active { opacity: 1; visibility: visible; }
.image-grid { position: relative; width: 100%; height: 100%; overflow: hidden; line-height: 0; background: #1a1a1a; will-change: transform; }
.image-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition: opacity .6s; }
.image-grid img:not([src]) { opacity: 0; }
.home-hero-caption { position: absolute; z-index: 6; bottom: var(--gutter); left: calc(var(--g2) + 50vw); max-height: 62.5vw; pointer-events: none; color: var(--negro); }
.caption-fade-in { animation: caption-in .35s both; }
@keyframes caption-in { from { opacity: 0; } to { opacity: 1; } }
.home-hero-heading { position: absolute; z-index: 10; top: var(--top); left: 0; width: 100%; height: min(100vh - var(--top), 62.5vw + var(--g2)); padding: 0 var(--g2); color: var(--naranja); pointer-events: none; display: flex; justify-content: center; align-items: center; }
.home-hero-heading h1 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; text-align: center; text-transform: uppercase; font: 700 var(--huge)/var(--huge-l) var(--f-cond); letter-spacing: -.022em; font-feature-settings: "kern"; }
.h1-col-1 { grid-area: 1 / 1 / span 1 / span 12; min-width: 0; margin-top: -.12em; }
@keyframes blink-h1 { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (max-width: 812px) {
  .home-hero-media { width: 100%; }
  .home-hero-caption { display: none; }
  .home-hero-heading { top: calc(var(--gutter) + var(--top)); left: var(--gutter); width: calc(100% - var(--g2)); aspect-ratio: 4 / 5; height: auto; padding: 0 var(--gutter); }
  .h1-col-1 { animation: blink-h1 3s step-end infinite; }
  .h1-col-1 .blink-line { display: none; }
}

.home-content { display: grid; grid-template-columns: 80% 20%; will-change: grid-template-columns; }
.home-content-left { position: relative; z-index: 20; }
.home-content-left-inner { width: 100%; }
.home-content-right { position: relative; z-index: 10; overflow: hidden; background: var(--blanco); }
@media (min-width: 1800px), (min-width: 813px) and (hover: none) and (pointer: coarse) { .home-content { grid-template-columns: 70% 30%; } }
@media (max-width: 812px) { .home-content { grid-template-columns: 100%; width: 100%; } .home-content-right { display: none; } }
.home-work { padding: var(--gutter); padding-top: 0; background: var(--gris); }


.project-slice { padding-bottom: 20vh; }
.project-link-wrapper { position: relative; display: block; color: inherit; }
.project-link-wrapper::after { content: ""; position: absolute; left: 0; top: calc(-10vh - var(--gq)); width: calc(100vw - var(--g2)); height: var(--gh); background: var(--negro); }
.project-slice.is-first .project-link-wrapper::after { display: none; }
.project-slice.is-first .project-info { padding-top: var(--gutter); }
.project-container { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.project-item { position: relative; display: flex; align-items: flex-start; align-self: start; justify-content: flex-start; }
.project-image, .project-video { position: relative; width: 100%; }

.project-item::before, .project-item::after, .project-image::before, .project-image::after, .project-video::before, .project-video::after {
  content: ""; position: absolute; z-index: 2; background: var(--naranja); pointer-events: none; transition: transform 60ms linear; }
.project-item::before { width: 100%; height: var(--gh); top: 0; left: 0; transform: scaleX(0); transform-origin: 0 0; }
.project-item::after { width: var(--gh); height: 100%; top: 0; right: 0; transform: scaleY(0); transform-origin: top; }
.project-image::before, .project-video::before { width: 100%; height: var(--gh); bottom: 0; right: 0; transform: scaleX(0); transform-origin: 100% 0; }
.project-image::after, .project-video::after { width: var(--gh); height: 100%; bottom: 0; left: 0; transform: scaleY(0); transform-origin: bottom; }
@media (hover: hover) and (pointer: fine) {
  .project-item:hover::before { transition-delay: 0s; transform: scaleX(1); }
  .project-item:hover::after { transition-delay: 60ms; transform: scaleY(1); }
  .project-item:hover .project-image::before, .project-item:hover .project-video::before { transition-delay: .12s; transform: scaleX(1); }
  .project-item:hover .project-image::after, .project-item:hover .project-video::after { transition-delay: .18s; transform: scaleY(1); }
}
.project-item.is-covering::before, .project-item.is-covering::after, .project-item.is-covering .project-image::before, .project-item.is-covering .project-image::after,
.project-item.is-covering .project-video::before, .project-item.is-covering .project-video::after { animation-duration: .18s; animation-timing-function: cubic-bezier(.19, 1, .22, 1); animation-fill-mode: both; }
.project-item.is-covering::before { transform-origin: top; height: 51%; animation-name: flood-y; }
.project-item.is-covering::after { transform-origin: 100% 0; width: 51%; animation-name: flood-x; }
.project-item.is-covering .project-image::before, .project-item.is-covering .project-video::before { transform-origin: bottom; height: 51%; animation-name: flood-y; }
.project-item.is-covering .project-image::after, .project-item.is-covering .project-video::after { transform-origin: 0 0; width: 51%; animation-name: flood-x; }
@keyframes flood-y { 0% { transform: scaleY(.05); } to { transform: scale(1); } }
@keyframes flood-x { 0% { transform: scaleX(.05); } to { transform: scale(1); } }

.project-info { position: absolute; top: -3px; right: 0; width: 30vw; height: 100%; padding: 0 var(--gutter); transform: translateX(calc(30vw + var(--gutter))); }
.project-title p { margin-bottom: var(--gutter); text-transform: uppercase; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 1px; transition: color .2s, text-decoration-color .2s; }
.project-title p:hover { color: var(--naranja); text-decoration-color: transparent; }
.project-description p { margin-bottom: var(--gutter); max-width: 400px; text-wrap: pretty; }
.project-info-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.project-year p { margin-bottom: var(--gutter); }
.project-slice .project-item { grid-column: auto / span 12; }
@media (max-width: 812px) {
  .project-slice { padding-bottom: 10vh; }
  .project-link-wrapper::after { top: calc(-13px - var(--gq)); left: calc(var(--gutter) * -1); width: 100vw; }
  .project-item { grid-column: 1 / span 12 !important; }
  .project-info { order: 10; grid-column: 1 / span 12; position: relative; top: 0; left: 0; width: 100%; padding: 0; padding-top: calc(var(--gutter) + var(--gq)) !important; transform: none; height: auto; }
  .project-slice.is-first .project-info { padding-top: calc(var(--gutter) + var(--gq)) !important; }
  .project-description p { max-width: 340px; text-wrap: initial; }
  
  .project-slice .project-item.oculto-tel { display: none; }
  .project-slice .project-item.orden-1 { order: -1; }
}


.maq { position: relative; width: 100%; overflow: hidden; container-type: inline-size; background: var(--fondo, #fbfbfb); line-height: 0; }
.maq.foto { background: #cfcdc8; }
.maq.foto img, .maq video { display: block; width: 100%; height: 100%; object-fit: cover; }
.maq.video { background: #1a1a1a; }
.tablet { position: absolute; left: 50%; top: 50%; width: 72.5cqw; aspect-ratio: 1.415; transform: translate(-50%, -50%); padding: 2.1cqw; border-radius: 3.4cqw;
  background: linear-gradient(145deg, #2c2c2f, #0b0b0c 45%, #1b1b1e); box-shadow: inset 0 0 0 .22cqw #55565a, inset 0 0 0 .6cqw #0d0d0e, 0 .8cqw 2cqw rgba(0, 0, 0, .12); }
.tablet::before { content: ""; position: absolute; left: 5.2cqw; top: -.35cqw; width: 5cqw; height: .5cqw; border-radius: .3cqw .3cqw 0 0; background: #3a3b3f; box-shadow: 7cqw 0 0 #3a3b3f; }
.pantalla { position: relative; width: 100%; height: 100%; border-radius: 1.5cqw; overflow: hidden; container-type: inline-size; background: #fff; line-height: 1.25; }
.hoja { position: absolute; left: 50%; top: 50%; width: 56cqw; aspect-ratio: 1.41; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 .6cqw 2cqw rgba(0, 0, 0, .35); }
.hoja .pantalla { border-radius: 0; }
.hoja.llena { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; box-shadow: none; }
.maq.anim > .lin { position: absolute; inset: 0; }


.tels-fila { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; }
.tel { flex: none; width: 25cqw; aspect-ratio: .485; padding: .7cqw; border-radius: 3.4cqw; background: #101010; box-shadow: inset 0 0 0 .22cqw #55565a; }
.tels.n3 .tel { width: 21.5cqw; }
.tel-p { position: relative; width: 100%; height: 100%; border-radius: 2.7cqw; overflow: hidden; container-type: inline-size; background: #000; line-height: 1.2; }
.tel .sc { font-size: 6cqw; }
.tel .sc-nav { font-size: 5cqw; padding: 6cqw 7cqw; }
.tel .sc-comp-t { font-size: 13cqw; left: 8cqw; right: 8cqw; }
.tel .sc-comp-pie { display: block; left: 8cqw; bottom: 12cqw; font-size: 6.5cqw; line-height: 1.7; color: var(--ac); }
.tel .sc-comp-pie span { display: block; text-transform: uppercase; }
.tel .sc-lista .sc-l1, .tel .sc-lista .sc-l2 { font-size: 8cqw; width: 80cqw; left: 8cqw; top: 14cqw; }
.tel .sc-lista .sc-l2 { top: 92cqw; }
.tel .sc-lista .sc-vtxt { display: none; }
.tel .sc-lista .sc-lpie { bottom: 8cqw; left: 8cqw; right: 8cqw; font-size: 8cqw; }


.sc { position: absolute; inset: 0; overflow: hidden; background: var(--bg); color: var(--fg); font-family: var(--f-cuerpo); font-size: 1.7cqw; line-height: 1.25; }
.sc-nav { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; gap: 2.6cqw; padding: 2.4cqw 3cqw; font-size: 1.5cqw; letter-spacing: .03em; text-transform: uppercase; }
.sc-nav .push { margin-left: auto; }
.sc-nav .ac { color: var(--ac); }
.sc-b { display: block; height: .8cqw; margin: 0 0 1.1cqw; border-radius: .5cqw; background: currentColor; opacity: .3; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-x { position: absolute; z-index: 3; right: 4cqw; top: 3.4cqw; width: 3cqw; height: 3cqw; }
.sc-x::before, .sc-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .25cqw; background: currentColor; transform: rotate(45deg); }
.sc-x::after { transform: rotate(-45deg); }

.sc-edit-t { position: absolute; left: 4cqw; right: 4cqw; top: 14cqw; font-size: 8cqw; line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.sc-edit-t b { display: block; font-weight: 500; }
.sc-edit-t span { display: block; margin-left: 17cqw; }
.sc-flecha { position: absolute; left: 4.5cqw; top: 38cqw; width: 2.6cqw; opacity: .85; }
.sc-edit-txt { position: absolute; left: 21cqw; top: 41cqw; width: 44cqw; }
.sc-edit-pie { position: absolute; left: 4cqw; bottom: 3cqw; width: 30cqw; }

.sc-marca-w { position: absolute; left: 3cqw; top: 8cqw; font-size: 21cqw; line-height: .84; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.sc-marca-foto { inset: auto; left: 3cqw; bottom: 0; width: 31cqw; height: 34cqw; }
.sc-marca-p { position: absolute; left: 38cqw; top: 43cqw; width: 27cqw; font-size: 1.6cqw; }

.sc-lista { font-family: var(--f-cond); font-weight: 700; }
.sc-lista .sc-nav { font: 500 1.35cqw var(--f-cuerpo); }
.sc-l1, .sc-l2 { position: absolute; top: 8.5cqw; font-size: 5.2cqw; line-height: .93; text-transform: uppercase; font-weight: 700; letter-spacing: -.005em; }
.sc-l1 { left: 3.3cqw; width: 44cqw; }
.sc-l2 { left: 52cqw; width: 36cqw; }
.sc-vtxt { position: absolute; top: 9cqw; width: 4.6cqw; height: 36cqw; overflow: hidden; opacity: .75; }
.sc-vtxt:nth-of-type(1) { left: 40.5cqw; } .sc-vtxt:nth-of-type(2) { left: 70cqw; } .sc-vtxt:nth-of-type(3) { left: 85cqw; }
.sc-vtxt s { display: block; text-decoration: none; }
.sc-lpie { position: absolute; left: 3.3cqw; right: 3.3cqw; bottom: 2.8cqw; display: flex; justify-content: space-between; font-size: 3.8cqw; line-height: 1; font-weight: 700; }
.sc-lista.anim .sc-l1 li, .sc-lista.anim .sc-l2 li { animation: tipea 9s steps(14, end) infinite; }
.sc-lista.anim li:nth-child(2) { animation-delay: .5s !important; } .sc-lista.anim li:nth-child(3) { animation-delay: 1s !important; }
.sc-lista.anim li:nth-child(4) { animation-delay: 1.5s !important; } .sc-lista.anim li:nth-child(5) { animation-delay: 2s !important; }
.sc-lista.anim li:nth-child(6) { animation-delay: 2.5s !important; } .sc-lista.anim li:nth-child(7) { animation-delay: 3s !important; }
.sc-lista.anim li:nth-child(8) { animation-delay: 3.5s !important; } .sc-lista.anim li:nth-child(9) { animation-delay: 4s !important; }
.sc-lista.anim .sc-lpie span { animation: parpadeo 1s step-end infinite; }
@keyframes tipea { 0% { clip-path: inset(0 100% 0 0); } 12%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes parpadeo { 50% { opacity: 0; } }

.sc-vela { position: absolute; inset: 0; background: rgba(0, 0, 0, var(--v, .15)); }
.sc-comp-t { position: absolute; z-index: 2; left: 5cqw; top: 50%; max-width: 60cqw; transform: translateY(-50%); font-size: 6.2cqw; line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.sc-comp-t small { display: block; margin-top: 2cqw; font-size: 1.8cqw; letter-spacing: 0; font-weight: 400; }
.sc-comp-pie { position: absolute; z-index: 2; left: 5cqw; right: 5cqw; bottom: 3cqw; display: flex; justify-content: space-between; font-size: 1.6cqw; }

.sc-pan { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 48%; padding: 11cqw 4cqw 4cqw; background: var(--bg); color: var(--fg); }
.sc-pan b { display: block; font-size: 6.2cqw; line-height: 1.02; letter-spacing: -.03em; font-weight: 500; }
.sc-pan span { display: block; margin-top: 2cqw; font-size: 1.8cqw; }
.sc-pan-b { position: absolute; left: 4cqw; right: 6cqw; bottom: 4cqw; }
.sc-der { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; background: var(--bg2); }
.sc-der-foto { inset: 6cqw 4cqw 4cqw; width: auto; height: auto; }
.sc-partido .sc-nav { color: var(--fg); }
.sc-partido.inv .sc-pan { left: auto; right: 0; }
.sc-partido.inv .sc-der { right: auto; left: 0; }

.sc-card { position: absolute; background: #fff; border-radius: 1.2cqw; padding: 3cqw; overflow: hidden; }
.sc-card.a { left: 4cqw; top: 5cqw; width: 33cqw; height: 54cqw; }
.sc-card.a ul { font-size: 2.7cqw; line-height: 1.24; font-weight: 700; letter-spacing: -.02em; }
.sc-card.a li:nth-child(3), .sc-card.a li:nth-child(6) { color: var(--ac); }
.sc-card.b { left: 40cqw; top: 5cqw; width: 28cqw; height: 54cqw; padding: 0; }
.sc-card-foto { inset: 0 0 auto 0; height: 28cqw; }
.sc-card-t { position: absolute; left: 2.4cqw; top: 30cqw; font-size: 2.6cqw; font-weight: 700; letter-spacing: -.02em; }
.sc-card.b .sc-b { position: absolute; left: 2.4cqw; width: 22cqw; }
.sc-card.b .sc-b:nth-of-type(1) { top: 36cqw; } .sc-card.b .sc-b:nth-of-type(2) { top: 38.4cqw; } .sc-card.b .sc-b:nth-of-type(3) { top: 40.8cqw; }
.sc-card-pie i { position: absolute; bottom: 3cqw; width: 5cqw; height: 1.6cqw; border-radius: .8cqw; background: var(--ac); opacity: .8; }
.sc-card-pie i:first-child { left: 4cqw; } .sc-card-pie i:last-child { left: 11cqw; opacity: .4; }

.sc-mos-t { position: absolute; z-index: 2; left: 3cqw; top: 5.4cqw; font-size: 3.4cqw; font-weight: 500; letter-spacing: -.02em; }
.sc-mos { position: absolute; left: 3cqw; right: 3cqw; top: 11cqw; bottom: 3cqw; display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: 1.2cqw; }
.sc-cel { position: relative; overflow: hidden; background: #ccc; }

.sc-menu { position: absolute; z-index: 3; left: 6cqw; bottom: 6cqw; font-size: 3.4cqw; line-height: 1.25; color: #fff; }

.sc-cartel-w { position: absolute; left: 3cqw; bottom: 1.5cqw; font-family: var(--f-cond); font-weight: 800; font-size: 30cqw; line-height: .78; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.sc-cartel-foto { inset: auto; right: 3cqw; top: 9cqw; width: 34cqw; height: 30cqw; }
.sc-cartel-p { position: absolute; left: 3cqw; top: 9cqw; width: 28cqw; font-size: 2.3cqw; font-weight: 500; line-height: 1.2; }

.sc-fechas-c { position: absolute; left: 5cqw; right: 5cqw; top: 6cqw; display: flex; gap: 3cqw; }
.sc-fcol { flex: 1; padding-bottom: 1.2cqw; border-bottom: .2cqw solid currentColor; }
.sc-fcol b { display: block; font-size: 3.2cqw; font-weight: 500; letter-spacing: -.02em; }
.sc-fcol span { display: block; font-size: 1.4cqw; opacity: .7; }
.sc-fechas-foto { inset: auto; left: 40cqw; bottom: 0; width: 52cqw; height: 44cqw; }
.sc-fechas-p { position: absolute; left: 5cqw; bottom: 3cqw; font-size: 1.6cqw; }

.sc-cen-foto { inset: 0 auto 0 0; width: 21cqw; }
.sc-cen { position: absolute; left: 21cqw; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 4.6cqw; line-height: 1.2; letter-spacing: -.02em; }
.sc-x.suave { opacity: .6; }

.sc-dir-a { position: absolute; left: 0; top: 0; bottom: 0; width: 16cqw; padding: 3cqw 2cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.sc-th { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #bbb; }
.sc-dir-b { position: absolute; left: 21cqw; top: 9cqw; width: 24cqw; color: #fff; }
.sc-dl .sc-b { margin-bottom: .5cqw; }
.sc-dir-c { position: absolute; right: 3cqw; top: 5cqw; width: 32cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; }
.sc-dir-pie { position: absolute; right: 3cqw; bottom: 3cqw; padding: 1cqw 2cqw; font-size: 1.4cqw; background: #2b1008; color: #fff; }

.sc-ro-t { position: absolute; left: 6cqw; top: 11cqw; font: italic 400 5.6cqw/1 var(--f-serif); }
.sc-ro-foto { inset: auto; left: 50%; top: 50%; width: 25cqw; height: 36cqw; transform: translate(-50%, -48%); }
.sc-ro-v { position: absolute; right: 4cqw; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); font-size: 2.6cqw; letter-spacing: .08em; }

.sc-ar-t { position: absolute; left: 4cqw; top: 9cqw; width: 30cqw; font: 400 6.4cqw/.98 var(--f-serif); letter-spacing: -.01em; }
.sc-ar-foto { inset: 9cqw 4cqw auto auto; width: 30cqw; height: 28cqw; }
.sc-ar-txt { position: absolute; left: 4cqw; top: 30cqw; width: 30cqw; }
.sc-ar-franja { position: absolute; left: 0; right: 0; bottom: 0; height: 6cqw; background: var(--ac); }

.sc-ga-t { position: absolute; left: 6cqw; top: 8cqw; font-size: 4.2cqw; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.sc-ga-foto { inset: 6cqw 6cqw 6cqw auto; width: 42cqw; height: auto; }
.sc-ga-cap { position: absolute; left: 6cqw; bottom: 5cqw; width: 30cqw; }
.sc-ga-pt { position: absolute; right: 8cqw; top: 8cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #d8402c; }

.sc-ln { position: absolute; left: 3cqw; top: 4cqw; font-size: 5cqw; line-height: 1.02; font-weight: 700; letter-spacing: -.03em; }
.sc-ln-fotos { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 1cqw; padding: 0 3cqw; }
.sc-ln-f { position: relative; flex: 1; height: 21cqw; overflow: hidden; display: block; }

.sc-pcine-t { position: absolute; left: 5cqw; bottom: 6cqw; font-family: var(--f-cond); font-weight: 800; font-size: 11.5cqw; line-height: .88; color: var(--ac); text-transform: uppercase; letter-spacing: -.01em; }
.sc-pcine-t i { display: inline-block; width: .45em; height: .7em; margin-left: .1em; background: currentColor; }

.lin { background: #fdfdfd; overflow: hidden; container-type: inline-size; }
.lin .lv, .lin .lh { position: absolute; display: block; }
.lin .lv { top: 0; bottom: 0; width: 1px; background: #111; }
.lin .lv.a { left: 20%; animation: lin-x 11s ease-in-out infinite; }
.lin .lv.b { left: 44%; background: #c8c8c8; animation: lin-x 11s ease-in-out -4s infinite reverse; }
.lin .lh { left: 0; right: 0; height: 1px; background: #bdbdbd; }
.lin .lh.a { top: 52%; animation: lin-y 13s ease-in-out infinite; }
.lin .lh.b { top: 56%; background: #e1e1e1; animation: lin-y 13s ease-in-out -6s infinite reverse; }
.lin .lh.c { top: 60%; left: 10%; background: #d4d4d4; animation: lin-y 9s ease-in-out -2s infinite; }
.lin .lw { position: absolute; left: 20%; top: 50%; transform: translateY(-50%); padding-left: 1.6cqw; font-size: 10.5cqw; line-height: .9; font-weight: 800; letter-spacing: -.045em; font-family: var(--f-cuerpo); }
.lin .ls { position: absolute; left: 21.6%; top: 66%; font-size: 1.9cqw; letter-spacing: .12em; }
@keyframes lin-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(12cqw); } }
@keyframes lin-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9cqw); } }
.sc-altura { font-family: var(--f-serif); }
.sc-alt-w { position: absolute; left: 5cqw; top: 15cqw; font-size: 22cqw; line-height: .9; letter-spacing: -.01em; white-space: nowrap; }
.sc-alt-w i { display: inline-block; font-style: normal; animation: alt-l 8s step-end infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes alt-l { 0% { opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
.sc-alt-p { position: absolute; right: 7cqw; bottom: 9cqw; width: 9cqw; height: 12cqw; background: #6c6c70; animation: alt-p 8s ease-in-out infinite; }
@keyframes alt-p { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-3cqw); opacity: 1; } }
.sc-alt-pie { position: absolute; left: 5cqw; bottom: 4cqw; width: 22cqw; color: #fff; }
.sc-kb { position: absolute; inset: 0; overflow: hidden; }
.sc-kb-foto { inset: -6%; width: 112%; height: 112%; animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-3%, -2%); } }
.sc-kb-t { position: absolute; left: 5cqw; top: 22cqw; font-size: 8cqw; line-height: 1; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 3cqw rgba(0, 0, 0, .25); }


.footer-reveal { position: relative; z-index: 10; overflow: hidden; background: var(--naranja); }
.footer { position: relative; z-index: 10; display: flex; flex-direction: column; height: 80vh; padding: var(--gutter); padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); color: #000; }
.footer-inner { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr auto; gap: var(--gutter); align-items: stretch; }
.weather { font: 700 var(--heading)/var(--heading-l) var(--f-cond); text-transform: uppercase; letter-spacing: -.004em; }
.weather__report { max-width: 940px; text-align: left; text-wrap: pretty; white-space: pre-line; }
@media (min-width: 1800px) { .weather__report { max-width: 1280px; } }
.footer-col--weather { grid-area: 1 / 1 / span 1 / span 10; }
.footer-col--treaty { grid-area: 2 / 1 / span 1 / span 3; }
.footer-col--treaty p { max-width: 460px; }
.footer-col--contact { grid-area: 2 / 6 / span 1 / span 3; }
.footer-col--contact p { margin-bottom: 0; }
.footer-col--copyright { grid-area: 3 / 2 / span 1 / span 4; align-self: end; }
.footer-col--now-playing { grid-area: 3 / 6 / span 1 / span 2; display: flex; align-items: flex-end; width: 100%; }
.footer-col p { margin-bottom: var(--gh); color: #000; }
.footer-col p:last-child { margin-bottom: 0; }
.footer a { color: #000; }
.footer-col--contact a:hover, .aviso a:hover { text-decoration: underline; text-underline-offset: 2px; }
.aviso a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.now-playing { width: 100%; color: #000; }
.now-playing__note { display: block; width: 100%; }
.now-playing__marquee { position: relative; width: 100%; overflow: hidden; }
.now-playing__marquee-track { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; will-change: transform; animation: marquee 30s linear infinite; }
.now-playing__track { flex: none; padding-right: var(--gutter); white-space: nowrap; display: inline-flex; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 812px) {
  .footer-inner { grid-template-rows: auto 1fr auto; row-gap: 0; }
  .footer-col--weather { grid-column: 1 / span 12; }
  .footer-col--treaty { grid-area: 2 / 1 / span 1 / span 12; align-self: center; }
  .footer-col--treaty p { max-width: 340px; }
  .footer-col--contact { display: none; }
  .footer-col--now-playing { display: none; }
  .footer-col--copyright { grid-area: 3 / 1 / span 1 / span 12; padding-left: calc(var(--g4) + var(--gutter)); }
}


.drawing-trigger { position: fixed; z-index: 150; left: calc(var(--g2) + env(safe-area-inset-left, 0px)); bottom: calc(var(--g2) + env(safe-area-inset-bottom, 0px)); display: block; width: 60px; height: 60px; border-radius: 50%; background: var(--lila); color: var(--blanco); transition: background .3s, color .3s; }
.drawing-trigger:focus-visible { background: var(--blanco); color: var(--negro); }
@media (hover: hover) { .drawing-trigger:hover { background: var(--blanco); color: var(--negro); } }
.drawing-trigger .pencil-icon { position: absolute; left: 50%; top: 50%; width: 28px; height: auto; margin-top: -1px; margin-left: 1px; transform: translate(-50%, -50%); }
.drawing-trigger .close-icon-w { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); opacity: 0; }
.drawing-trigger .close-icon { width: 100%; height: 100%; display: block; }
.drawing-trigger.is-open { background: var(--blanco); color: var(--negro); }
.drawing-trigger.is-open .pencil-icon { opacity: 0; }
.drawing-trigger.is-open .close-icon-w { opacity: 1; }
@media (hover: hover) { .drawing-trigger.is-open:hover .close-icon path { stroke: var(--naranja); } }
.drawing-overlay { position: fixed; z-index: 100; left: 0; top: 0; width: 100vw; height: 110vh; pointer-events: none; background: transparent; }
.drawing-canvas { display: block; width: 100vw; height: 100vh; opacity: 0; touch-action: none; background: transparent; }
.drawing-overlay.is-open .drawing-canvas { cursor: crosshair; pointer-events: auto; }
.drawing-overlay.is-open .drawing-canvas.is-erasing { cursor: cell; }
.drawing-prompt { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; user-select: none; color: var(--negro); opacity: 0; transition: opacity .3s .15s; }
.drawing-overlay.is-open .drawing-prompt { opacity: 1; }
.drawing-overlay.is-open .drawing-prompt.fuera { opacity: 0; transition-delay: 0s; }
.drawing-toolbar { position: fixed; z-index: 110; left: calc(var(--g2) + 30px + env(safe-area-inset-left, 0px)); bottom: calc(var(--g2) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: var(--gh); height: 60px; transform-origin: 0 50%; }
.toolbar-brushes { display: flex; align-items: center; gap: var(--gh); height: 60px; padding: 10px var(--g2) 10px calc(var(--gutter) + 18px); background: var(--blanco); border-radius: 0 30px 30px 0; }
.brush-btn { position: relative; display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; padding: 4px; transition: opacity .15s, transform .2s; }
.brush-btn canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.brush-btn:hover { opacity: .7; }
.brush-btn.is-active { transform: translateY(-3px) scale(1.12); }
.brush-btn.is-active::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--naranja); }
.toolbar-bar { display: flex; align-items: center; gap: var(--gh); }
.toolbar-actions { display: flex; gap: var(--gh); }
.toolbar-btn { display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blanco); color: var(--negro); transition: opacity .2s, background .2s, color .2s; }
.toolbar-btn svg { flex-shrink: 0; width: 20px; height: auto; display: block; }
.toolbar-btn:hover { opacity: .8; }
.toolbar-btn:disabled { opacity: .4; cursor: not-allowed; }
.toolbar-btn.is-active { background: var(--negro); color: var(--blanco); }
.toolbar-toggle { display: none; }
.drawing-toast { position: fixed; z-index: 9990; right: var(--gutter); bottom: calc(var(--g2) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 var(--g2); gap: var(--gutter); border-radius: 30px; background: var(--naranja); color: var(--negro); white-space: nowrap; pointer-events: none; animation: toast-in .3s both; }
.drawing-toast.confirma { pointer-events: auto; }
.drawing-toast button { text-decoration: underline; text-underline-offset: 1px; text-decoration-thickness: 1px; }
.drawing-toast button:hover { text-decoration-color: transparent; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 812px) {
  .drawing-trigger { z-index: 170; width: var(--g4); height: var(--g4); bottom: auto; top: calc(100dvh - var(--gutter) - var(--g4) - env(safe-area-inset-bottom, 0px)); left: var(--gutter); }
  .drawing-trigger .pencil-icon { width: 22px; }
  .drawing-toolbar { z-index: 170; left: auto; right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: flex-end; gap: var(--gh); height: auto; pointer-events: none; }
  .drawing-toolbar > * { pointer-events: auto; }
  .toolbar-brushes { flex-direction: column; align-items: center; width: auto; height: auto; padding: 0; background: transparent; border-radius: 0; }
  .brush-btn { width: var(--g4); height: var(--g4); padding: var(--gh); background: var(--blanco); border-radius: 50%; }
  .toolbar-bar { flex-direction: column; align-items: flex-end; }
  .toolbar-actions { flex-direction: row; align-items: center; }
  .toolbar-btn { width: var(--g4); height: var(--g4); }
  .toolbar-btn-zero-g { display: none; }
  .toolbar-toggle { display: flex; order: -1; justify-content: center; align-items: center; width: var(--g4); height: var(--g4); border-radius: 50%; background: var(--blanco); color: var(--negro); }
  .toolbar-toggle-arrow { width: 16px; height: auto; transition: transform .3s; transform: rotate(180deg); }
  .toolbar-toggle.is-collapsed .toolbar-toggle-arrow { transform: rotate(0); }
  .drawing-toolbar.brushes-hidden .toolbar-brushes { display: none; }
  .drawing-toast { bottom: auto; right: auto; top: calc(var(--top) + var(--gutter)); left: var(--gutter); height: var(--g4); border-radius: calc(var(--g4) / 2); }
}


.about-page { background: var(--gris); }
.about-grid { display: grid; grid-template-columns: 468px 1fr; gap: var(--gutter); align-items: start; padding: var(--gutter); padding-top: calc(var(--gutter) + var(--top)); min-height: 100vh; }
.about-text { position: sticky; top: calc(var(--top) + var(--gutter)); padding: var(--gutter); background: #fdfdfd; }
.about-text p { margin-bottom: var(--gutter); max-width: 340px; }
.about-foto { overflow: hidden; background: #cfcdc8; line-height: 0; }
.about-foto img { display: block; width: 100%; height: auto; }
@media (max-width: 812px) {
  .about-grid { grid-template-columns: 100%; min-height: 0; }
  .about-text { position: static; }
  .about-text p { max-width: 380px; }
}


body.pagina-proyecto { background: var(--negro); color: var(--blanco); }
.proy { position: relative; min-height: 100vh; padding: 110px 0 260px; }
.proy-info { position: fixed; z-index: 20; left: 48px; top: 30px; width: 230px; font-size: var(--body); }
.proy-info h1 { font-size: inherit; line-height: inherit; font-weight: 500; margin-bottom: var(--gh); }
.proy-info p { margin-bottom: var(--gh); }
.proy-cerrar { position: fixed; z-index: 30; right: 30px; top: 30px; width: 36px; height: 36px; }
.proy-cerrar span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--blanco); transform: rotate(45deg); transition: background .2s, transform .3s; }
.proy-cerrar span + span { transform: rotate(-45deg); }
.proy-cerrar:hover span { background: var(--naranja); }
.proy-cerrar:hover span:first-child { transform: rotate(135deg); }
.proy-cerrar:hover span:last-child { transform: rotate(45deg); }
.proy-items { display: flex; flex-direction: column; align-items: center; gap: 96px; padding-top: 60px; }
.proy-item { width: min(70vw, 1010px); }
.proy-item.vert { width: min(44vw, 640px); }
.proy-item .project-item, .proy-item .project-image, .proy-item .project-video { display: block; width: 100%; }
.proy-pie { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g2); padding: 0 48px 24px; font-size: var(--body); mix-blend-mode: difference; color: #fff; pointer-events: none; }
.proy-pie dt { font-weight: 500; margin-bottom: var(--gh); }
.proy-pie dd { max-width: 300px; }
.proy-pie a { text-decoration: underline; text-underline-offset: 1px; pointer-events: auto; }
.proy-pie a:hover { color: #fff; text-decoration-color: transparent; }
.proy-aviso { position: relative; z-index: 5; margin-top: 140px; text-align: center; color: #fff; font-size: 12px; opacity: .8; }
.proy-aviso a { text-decoration: underline; }
@media (max-width: 812px) {
  .proy { padding: 190px 0 280px; }
  .proy-info { left: var(--gutter); top: var(--gutter); width: calc(100% - 70px); font-size: 13px; }
  .proy-info p { display: none; }
  .proy-cerrar { right: var(--gutter); top: var(--gutter); }
  .proy-item, .proy-item.vert { width: calc(100% - var(--g2)); }
  .proy-items { gap: 24px; }
  .proy-pie { grid-template-columns: 1fr 1fr; padding: 0 var(--gutter) var(--gutter); row-gap: var(--gutter); }
  .proy-pie > div:nth-child(n+3) { display: none; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js body.has-intro .page, .js body.has-intro .fade-in { opacity: 1; }
  #preloader { display: none; }
  .now-playing__marquee-track { transform: none; }
  .sc-lista.anim .sc-l1 li, .sc-lista.anim .sc-l2 li { clip-path: none; }
  .home-hero-heading .blink-line { opacity: 1; }
}
