/* Stabilization: layout only; editorial typography and consent retain their system. */
:root{--header-offset:120px}
html{scroll-padding-top:0}
[id]{scroll-margin-top:var(--header-offset)}
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);isolation:isolate}
.site-header.is-scrolled{box-shadow:0 4px 12px #00000012}
.skip-link{z-index:100}
.mobile-menu nav{z-index:60;background:var(--paper);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
.press-video{margin:30px 0;max-width:100%}
.press-video video{display:block;width:100%;height:auto;aspect-ratio:854/474;background:#111;object-fit:contain}
.press-video figcaption{font-size:14px;line-height:1.6;margin-top:12px}
.page-oscar-trejo-online .entity-hero-logo{max-width:420px}
.page-proyectos img[src*="oscar-trejo-online-transparente"],.page-oscar-trejo-online img[src*="oscar-trejo-online-transparente"]{background:transparent}
.layout-historical .entity-hero-logo{background:transparent}
@media(max-width:1100px){:root{--header-offset:104px}}
@media(max-width:760px){:root{--header-offset:92px}.mobile-menu nav{max-height:calc(100dvh - 88px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Existing Inicio identities; no cropping. */
.page-inicio #proyectos .cards--entities .media-brand{width:min(100%,240px);height:160px;margin:16px 0 24px;display:flex;align-items:center;justify-content:center}
.page-inicio #proyectos .cards--entities .media-brand img{width:100%;height:100%;object-fit:contain}
