@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-garamond-variable.woff2") format("woff2");font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-garamond-variable-italic.woff2") format("woff2");font-style:italic;font-weight:300 700;font-display:swap}
@font-face{font-family:Manrope;src:url("../fonts/manrope-variable.woff2") format("woff2");font-style:normal;font-weight:300 800;font-display:swap}
@font-face{font-family:"Space Mono";src:url("../fonts/space-mono-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}

:root{
  --plbac-black:#070707;
  --plbac-black-soft:#10100f;
  --plbac-ivory:#f1eee7;
  --plbac-ivory-muted:#c7c1b7;
  --plbac-orange:#f06a12;
  --plbac-line:rgba(241,238,231,.16);
  --plbac-shell:min(100% - 2.5rem, 92rem);
  --plbac-serif:"Cormorant Garamond",Georgia,serif;
  --plbac-sans:Manrope,Arial,sans-serif;
  --plbac-mono:"Space Mono",ui-monospace,monospace;
  --plbac-header:5rem;
  --plbac-radius:0;
  --plbac-space-1:.5rem;
  --plbac-space-2:1rem;
  --plbac-space-3:1.5rem;
  --plbac-space-4:2rem;
  --plbac-space-5:3rem;
  --plbac-space-6:4.5rem;
  --plbac-space-7:7rem;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--plbac-black)}
body{margin:0;background:var(--plbac-black);color:var(--plbac-ivory);font-family:var(--plbac-sans);font-size:1rem;line-height:1.65;text-rendering:optimizeLegibility}
p{font-family:var(--plbac-mono)}
body.menu-open{overflow:hidden}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.18em}
a:hover{text-decoration-color:var(--plbac-orange)}
button,input,textarea,select{font:inherit}
button{color:inherit}
::selection{background:var(--plbac-orange);color:var(--plbac-black)}

/* H2 editorial con contraste contextual.
   El resaltado pertenece al diseño; el color del texto se adapta al fondo para
   que nunca quede naranja sobre naranja ni oscuro sobre negro. */
h2:not(.screen-reader-text):not(.eyebrow){
  color:var(--plbac-h2-ink,var(--plbac-ivory));
  text-decoration-line:underline;
  text-decoration-color:var(--plbac-h2-marker,var(--plbac-orange));
  text-decoration-thickness:.62em;
  text-underline-offset:-.48em;
  text-decoration-skip-ink:none;
  text-decoration-skip:none;
}
h2:not(.screen-reader-text):not(.eyebrow) a{color:inherit}

/* Fondo claro: tinta negra sobre la banda naranja, como la referencia visual. */
.section--intro,.section--people{
  --plbac-h2-ink:var(--plbac-black);
  --plbac-h2-marker:var(--plbac-orange);
}

/* Fondo oscuro: texto marfil con banda naranja para conservar contraste. */
.section--projects,.section--activity,.section--proposal,.page-shell,.single-content,.content-list{
  --plbac-h2-ink:var(--plbac-ivory);
  --plbac-h2-marker:var(--plbac-orange);
}

/* Fondo naranja o fotográfico cálido: inversión editorial. */
.section--collaborate{
  --plbac-h2-ink:#fff;
  --plbac-h2-marker:rgba(7,7,7,.88);
}

.shell{width:var(--plbac-shell);margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus,.skip-link:focus{clip:auto!important;width:auto;height:auto;margin:0;overflow:visible;white-space:normal;z-index:9999;background:var(--plbac-ivory);color:var(--plbac-black);padding:.75rem 1rem;top:.5rem;left:.5rem}
:focus-visible{outline:2px solid var(--plbac-orange);outline-offset:4px}

.site-header{position:fixed;inset:0 0 auto 0;z-index:100;height:var(--plbac-header);transition:background-color .25s ease,border-color .25s ease;isolation:isolate}
.site-header::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:transparent;transition:background-color .25s ease}
.site-header.is-scrolled,.menu-open .site-header{background:rgba(7,7,7,.96)}
.site-header.is-scrolled::after{background:var(--plbac-line)}
.site-header__inner{width:var(--plbac-shell);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.site-brand{position:relative;z-index:102;display:flex;align-items:center;min-width:0}
.custom-logo-link{display:inline-flex;align-items:center;transform:translate(0,0);transform-origin:left center}
.custom-logo{width:auto;max-width:min(30rem,72vw);max-height:3rem;height:auto;filter:drop-shadow(0 0 0 rgba(0,0,0,0));transition:filter .28s ease}
.site-header.is-scrolled .custom-logo{filter:drop-shadow(0 .35rem .2rem rgba(0,0,0,.34)) drop-shadow(0 .85rem .7rem rgba(0,0,0,.28))}

/* Microinteracción del símbolo: una sacudida breve y única al pasar el cursor.
   Se anima la imagen, no el enlace, para respetar los desplazamientos configurables
   del logotipo y conservar intacta la sombra asociada al scroll. */
@keyframes plbac-logo-shake{
  0%,100%{transform:translate3d(0,0,0) rotate(0) scale(1)}
  12%{transform:translate3d(-7px,0,0) rotate(-1.15deg) scale(1.012)}
  28%{transform:translate3d(9px,-1px,0) rotate(1.35deg) scale(1.018)}
  44%{transform:translate3d(-6px,1px,0) rotate(-.95deg) scale(1.012)}
  60%{transform:translate3d(5px,0,0) rotate(.7deg) scale(1.008)}
  76%{transform:translate3d(-3px,0,0) rotate(-.4deg) scale(1.004)}
  90%{transform:translate3d(1px,0,0) rotate(.15deg) scale(1.001)}
}
@media (hover:hover) and (pointer:fine){
  .custom-logo-link:hover .custom-logo{animation:plbac-logo-shake 360ms cubic-bezier(.36,.07,.19,.97) 1 both}
}
.site-brand__text{display:grid;gap:.05rem;text-decoration:none;text-transform:uppercase;letter-spacing:.2em;line-height:1;color:var(--plbac-ivory)}
.site-brand__text span{font-family:var(--plbac-sans);font-size:.57rem;font-weight:500;letter-spacing:.28em}
.site-brand__text strong{font-family:var(--plbac-serif);font-size:1.35rem;font-weight:500;letter-spacing:.15em}

.menu-toggle{position:relative;z-index:102;width:2.75rem;height:2.75rem;display:grid;place-content:center;gap:.34rem;border:0;background:transparent;cursor:pointer}
.menu-toggle span[aria-hidden]{display:block;width:1.8rem;height:1px;background:currentColor;transition:transform .25s ease,opacity .2s ease}
.menu-open .menu-toggle span[aria-hidden]:nth-of-type(2){transform:translateY(.35rem) rotate(45deg)}
.menu-open .menu-toggle span[aria-hidden]:nth-of-type(3){opacity:0}
.menu-open .menu-toggle span[aria-hidden]:nth-of-type(4){transform:translateY(-.35rem) rotate(-45deg)}

.site-navigation{position:fixed;inset:0;background:var(--plbac-black);display:grid;align-content:center;padding:6rem 1.25rem 3rem;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.menu-open .site-navigation{opacity:1;visibility:visible;pointer-events:auto}
.site-navigation .menu{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}
.site-navigation .menu a{display:block;padding:.55rem 0;font-family:var(--plbac-serif);font-size:clamp(2.35rem,12vw,4rem);line-height:1;text-decoration:none}
.site-navigation .menu a:hover{color:var(--plbac-orange)}

.hero{position:relative;min-height:100svh;display:grid;align-items:end;overflow:hidden;background:radial-gradient(circle at 72% 28%,rgba(240,106,18,.34),transparent 24%),linear-gradient(110deg,#050505 0%,#090806 44%,#26170d 72%,#0b0a08 100%);background-image:var(--hero-poster-mobile,var(--hero-poster)),radial-gradient(circle at 72% 28%,rgba(240,106,18,.34),transparent 24%),linear-gradient(110deg,#050505 0%,#090806 44%,#26170d 72%,#0b0a08 100%);background-size:cover;background-position:center}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.28) 45%,rgba(0,0,0,.88) 100%);z-index:1}
.hero__media,.hero__shade{position:absolute;inset:0}
.hero__media{z-index:0}
.hero__video{width:100%;height:100%;object-fit:cover}
.hero__shade{z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.5) 50%,rgba(0,0,0,.12) 100%)}
.hero__content{position:relative;z-index:2;min-height:100svh;padding-top:calc(var(--plbac-header) + 3rem);padding-bottom:2rem;display:grid;align-content:end;gap:4rem}
.hero__copy{max-width:48rem;padding-bottom:4rem}
.hero__title{margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(3.5rem,16vw,6rem);line-height:.92;letter-spacing:-.02em;text-wrap:balance}
.hero__title-desktop{display:none}
.hero__title-mobile{display:block}
.accent-rule{display:block;width:3rem;height:2px;background:var(--plbac-orange);margin:1.5rem 0}
.hero__scopes{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:.45rem 0;font-family:var(--plbac-mono);font-size:.76rem;line-height:1.8;letter-spacing:.08em;color:var(--plbac-ivory-muted);max-width:32rem}
.hero__scopes li{display:flex;align-items:center}
.hero__scopes li:not(:last-child)::after{content:"·";margin:0 .72rem;color:var(--plbac-orange)}
.hero__scopes a{text-decoration:none;color:inherit;transition:color .18s ease}
.hero__scopes a:hover,.hero__scopes a:focus-visible{color:var(--plbac-orange)}
.hero__cta{margin-top:2.4rem}
.hero__scroll{justify-self:start;display:grid;gap:.35rem;text-decoration:none;font-family:var(--plbac-mono);font-size:.65rem;letter-spacing:.08em;color:var(--plbac-ivory-muted)}
.hero__scroll::before{content:"";width:1px;height:3rem;background:linear-gradient(var(--plbac-orange),var(--plbac-ivory-muted))}

.section{padding:var(--plbac-space-6) 0}
.section--intro,.section--people{background:var(--plbac-ivory);color:#12110f}
.section--projects,.section--activity,.section--proposal{background:var(--plbac-black)}
.section--collaborate{position:relative;background-color:#8d3108;background-image:linear-gradient(110deg,rgba(141,49,8,.92),rgba(236,98,12,.88) 62%,rgba(121,39,3,.92)),var(--plbac-collab-bg,linear-gradient(110deg,#8d3108,#ec620c 62%,#792703));background-size:cover;background-position:center;color:#fff}
.section--collaborate::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,7,7,.18),transparent);pointer-events:none}
.section--collaborate .shell{position:relative;z-index:1}
.editorial-split,.collaborate-grid{display:grid;gap:2.5rem}
.editorial-split h2,.collaborate-grid h2{margin:.35rem 0 0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(2.8rem,11vw,5rem);line-height:.95;letter-spacing:-.025em}
.eyebrow{margin:0;font-family:var(--plbac-mono);font-size:.7rem;letter-spacing:.13em;text-transform:uppercase}
.prose{max-width:44rem;font-size:1rem}
.prose--lead{font-size:1.075rem}
.prose p:first-child{margin-top:0}.prose p:last-child{margin-bottom:0}
.cta-link{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:space-between;gap:1.1rem;min-width:min(100%,17rem);margin-top:1.5rem;padding:.82rem 1rem;border:1px solid currentColor;color:var(--plbac-orange);font-family:var(--plbac-sans);font-size:.76rem;font-weight:700;line-height:1.2;letter-spacing:.055em;text-transform:uppercase;text-decoration:none;transition:color .22s ease,border-color .22s ease,transform .22s ease}
.cta-link::before{content:"";position:absolute;inset:0;z-index:0;background:var(--plbac-orange);transform:scaleX(0);transform-origin:right center;transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.cta-link__label,.cta-link__arrow{position:relative;z-index:1}
.cta-link__arrow{display:inline-flex;align-items:center;justify-content:flex-end;gap:.46rem;min-width:3.35rem;font-family:var(--plbac-mono);font-size:.92rem;line-height:1;transition:transform .22s ease}
.cta-link__arrow::before{content:"";display:block;width:2rem;height:1px;flex:0 0 2rem;background:linear-gradient(90deg,var(--plbac-orange),var(--plbac-ivory-muted));transform-origin:right center;transition:transform .22s ease,opacity .22s ease}
.cta-link:hover,.cta-link:focus-visible{color:var(--plbac-black);border-color:var(--plbac-orange);transform:translateY(-1px)}
.cta-link:hover::before,.cta-link:focus-visible::before{transform:scaleX(1);transform-origin:left center}
.cta-link:hover .cta-link__arrow,.cta-link:focus-visible .cta-link__arrow{transform:translateX(.25rem)}
.cta-link:hover .cta-link__arrow::before,.cta-link:focus-visible .cta-link__arrow::before{transform:scaleX(1.12)}
.cta-link--compact{min-width:0;padding:.68rem .85rem;font-size:.69rem}
.cta-link--light{color:#fff;border-color:rgba(255,255,255,.82)}
.cta-link--light::before{background:#fff}
.cta-link--light:hover,.cta-link--light:focus-visible{color:var(--plbac-black);border-color:#fff}


.section-heading{margin-bottom:2.2rem}.section-heading--row{display:flex;align-items:end;justify-content:space-between;gap:1rem}
.section-heading--projects{align-items:flex-end}
.section-heading--projects .section-heading__title{margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(3rem,11vw,5.4rem);line-height:.92;letter-spacing:-.025em}

/* Portada · proyectos en formato cinematográfico de ancho completo. */
.section--projects .project-list{width:100vw;margin-left:calc(50% - 50vw);border-top:1px solid var(--plbac-line)}
.section--projects .project-card{position:relative;display:block;padding:0 0 1.75rem;border-bottom:1px solid var(--plbac-line);overflow:hidden;background:var(--plbac-black)}
.section--projects .project-card__visual{position:relative;z-index:1;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#0c0c0c,#2b1a10 64%,#050505);text-decoration:none}
.section--projects .project-card__visual img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.section--projects .project-card__visual:hover img{transform:scale(1.015)}
.section--projects .project-card__visual--fallback{display:grid;place-items:end start;padding:1.1rem;background:radial-gradient(circle at 75% 30%,rgba(240,106,18,.28),transparent 28%),linear-gradient(145deg,#080808,#24170f 62%,#090909)}
.section--projects .project-card__visual--fallback::after{content:"";position:absolute;inset:12% 8%;border:1px solid rgba(241,238,231,.08)}
.section--projects .project-card__visual--fallback span{font-family:var(--plbac-serif);font-size:5rem;line-height:1;color:rgba(241,238,231,.16)}
.section--projects .project-card__body{position:relative;z-index:4;width:calc(100% - 2rem);margin:-1.8rem auto 0;padding:1.25rem;background:rgba(5,5,5,.96);border:1px solid rgba(241,238,231,.16);box-shadow:0 1.2rem 3rem rgba(0,0,0,.3)}
.section--projects .project-card__eyebrow,.section--projects .project-card__status{font-family:var(--plbac-mono);font-size:.66rem;letter-spacing:.06em;text-transform:uppercase}
.section--projects .project-card__eyebrow{color:var(--plbac-ivory-muted);margin:0 0 .3rem}.section--projects .project-card__status{color:var(--plbac-orange);margin:.3rem 0 1rem}
.section--projects .project-card h3{margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(2.35rem,9vw,4rem);line-height:1}
.section--projects .project-card h3 a{text-decoration:none}.section--projects .project-card p{max-width:34rem;color:var(--plbac-ivory-muted)}

.activity-list{border-top:1px solid var(--plbac-line)}
.activity-item{display:grid;grid-template-columns:6.3rem 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--plbac-line);align-items:baseline}
.activity-item time{font-family:var(--plbac-mono);font-size:.68rem;color:var(--plbac-orange)}
.activity-item h3{margin:0;font-family:var(--plbac-sans);font-size:.95rem;font-weight:450;line-height:1.45}.activity-item h3 a{text-decoration:none}
.activity-empty{color:var(--plbac-ivory-muted)}

.proposal-grid{display:grid;gap:2rem;align-items:end}
.proposal-grid h2{max-width:58rem;margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(3rem,12vw,5.6rem);line-height:.92;letter-spacing:-.025em}
.proposal-grid__content{display:grid;gap:1.5rem;align-content:end}
.proposal-grid__body{max-width:36rem;margin:0;color:var(--plbac-ivory-muted);font-size:clamp(1rem,1.6vw,1.18rem);line-height:1.65}
.proposal-grid__cta{margin-top:0;justify-self:start}

.site-footer{background:#050505;border-top:1px solid rgba(241,238,231,.12);padding:2.2rem 0 1.5rem;color:var(--plbac-ivory-muted)}
.site-footer__top,.site-footer__bottom{display:grid;gap:1.5rem}
.site-footer__contact{display:flex;align-items:center}
.site-footer__contact-icon{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border:1px solid rgba(241,238,231,.18);border-radius:999px;color:var(--plbac-ivory);background:rgba(241,238,231,.02);text-decoration:none;transition:transform .24s ease,border-color .24s ease,color .24s ease,background-color .24s ease,box-shadow .24s ease}
.site-footer__contact-icon:hover,.site-footer__contact-icon:focus-visible{color:var(--plbac-orange);border-color:rgba(255,106,0,.55);background:rgba(255,106,0,.08);transform:translateY(-2px);box-shadow:0 .6rem 1.2rem rgba(0,0,0,.22)}
.site-footer__contact-icon:active{transform:translateY(0) scale(.97)}
.site-footer__contact-icon svg{display:block;width:1.15rem;height:1.15rem}
.social-links,.footer-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:1rem}
.social-links{align-items:center;gap:.72rem}
.social-links__item{display:flex}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border:1px solid rgba(241,238,231,.18);border-radius:999px;color:var(--plbac-ivory);background:rgba(241,238,231,.02);text-decoration:none;transition:transform .24s ease,border-color .24s ease,color .24s ease,background-color .24s ease,box-shadow .24s ease}
.social-links a:hover,.social-links a:focus-visible{color:var(--plbac-orange);border-color:rgba(255,106,0,.55);background:rgba(255,106,0,.08);transform:translateY(-2px);box-shadow:0 .6rem 1.2rem rgba(0,0,0,.22)}
.social-links a:active{transform:translateY(0) scale(.97)}
.social-links__icon{display:inline-flex;width:1.08rem;height:1.08rem}
.social-links__icon svg{display:block;width:100%;height:100%}
.footer-menu a{font-family:var(--plbac-mono);font-size:.68rem;text-decoration:none;text-transform:uppercase;letter-spacing:.04em}
.site-footer__bottom{margin-top:2rem;padding-top:1.2rem;border-top:1px solid rgba(241,238,231,.08);font-family:var(--plbac-mono);font-size:.62rem;letter-spacing:.03em}
.site-footer__bottom p{margin:0}
.site-footer__legal{display:flex;align-items:center;gap:1rem;min-width:0}
.site-footer__logo{display:inline-flex;align-items:center;flex:0 0 auto;text-decoration:none}
.site-footer__logo-image{display:block;width:auto;height:auto;max-width:5.6rem;max-height:2rem;object-fit:contain;opacity:.9}
.site-footer__legal-copy{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem 1rem;min-width:0}
.site-footer__privacy{color:var(--plbac-ivory-muted);text-decoration:none;border-bottom:1px solid rgba(241,238,231,.22);transition:color .2s ease,border-color .2s ease}
.site-footer__privacy:hover,.site-footer__privacy:focus-visible{color:var(--plbac-orange);border-color:currentColor}

.page-shell{padding-top:calc(var(--plbac-header) + 4rem);min-height:72vh}
.content-header{padding-top:3rem;padding-bottom:2.5rem}.content-header h1{max-width:70rem;margin:.5rem 0 0;font-family:var(--plbac-serif);font-size:clamp(3.6rem,11vw,7rem);line-height:.92;font-weight:400;letter-spacing:-.025em}
.single-post .content-header h1{text-transform:uppercase}
.content-list{padding-bottom:6rem}
.archive-entry{display:grid;gap:1rem;padding:1.4rem 0;border-top:1px solid var(--plbac-line)}
.archive-entry:last-child{border-bottom:1px solid var(--plbac-line)}
.archive-entry__meta{font-family:var(--plbac-mono);font-size:.68rem;color:var(--plbac-orange)}
.archive-entry h2{margin:0;font-family:var(--plbac-serif);font-size:2.25rem;font-weight:400;line-height:1}.archive-entry h2 a{text-decoration:none}.archive-entry p{color:var(--plbac-ivory-muted)}
.single-content{padding-bottom:7rem}.single-content__hero{margin:0 0 3rem}.single-content__hero img{width:100%;max-height:80vh;object-fit:cover}.entry-content{margin-inline:auto}.entry-content h2,.entry-content h3{font-family:var(--plbac-serif);font-weight:400;line-height:1.05}.entry-content h2{font-size:clamp(2.4rem,7vw,4rem)}.entry-content h3{font-size:2rem}.entry-content a{color:var(--plbac-orange)}
.error-page{min-height:100svh;display:grid;align-items:center;padding-top:var(--plbac-header)}.error-page__inner{max-width:70rem}.error-page h1{font-family:var(--plbac-serif);font-size:clamp(4rem,13vw,8rem);font-weight:400;line-height:.9;margin:.5rem 0 1.5rem}.error-page p:not(.eyebrow){color:var(--plbac-ivory-muted)}

.wp-block-image img{height:auto}.alignwide{max-width:80rem;margin-inline:auto}.alignfull{width:100vw;margin-left:calc(50% - 50vw)}

.site-footer__bottom{align-items:start}
@media (max-width:47.99rem){
  /* Pie móvil: contacto a la izquierda y redes a la derecha en columna. */
  .site-footer__top{grid-template-columns:1fr auto;align-items:start}
  .site-footer__contact{justify-self:start;align-self:start}
  .site-footer__top .social-links{justify-self:end;align-self:start;flex-direction:column;flex-wrap:nowrap;align-items:flex-end}
  .site-footer__legal{align-items:flex-start}
  .site-footer__legal-copy{display:grid;gap:.45rem}
}

@media (min-width:48rem){
  :root{--plbac-shell:min(100% - 5rem,92rem);--plbac-header:6rem}
  .project-index__inner{min-height:4.1rem;padding-top:0;padding-bottom:.34rem}
  .project-index__label{flex-basis:11rem;width:11rem}
  .custom-logo{max-height:3.6rem}
  .menu-toggle{display:none}
  .site-navigation{position:static;inset:auto;display:block;opacity:1;visibility:visible;pointer-events:auto;background:transparent;padding:0}
  .site-navigation .menu{display:flex;align-items:center;gap:clamp(1.3rem,2.5vw,2.8rem)}
  .site-navigation .menu a{padding:.5rem 0;font-family:var(--plbac-sans);font-size:.74rem;letter-spacing:.05em;text-transform:uppercase}
  .hero{background-image:var(--hero-poster),radial-gradient(circle at 72% 28%,rgba(240,106,18,.34),transparent 24%),linear-gradient(110deg,#050505 0%,#090806 44%,#26170d 72%,#0b0a08 100%)}
  .hero__content{padding-bottom:3.5rem}
  .hero__copy{padding-bottom:5rem;max-width:47rem}
  .hero__title{font-size:clamp(5.2rem,7.8vw,8.5rem);line-height:.84;letter-spacing:.005em;text-transform:uppercase}
  .hero__title-desktop{display:block}.hero__title-mobile{display:none}
  .hero__scopes{font-size:.78rem;max-width:44rem;letter-spacing:.15em}
  .section{padding:var(--plbac-space-7) 0}
  .editorial-split,.collaborate-grid{grid-template-columns:minmax(0,1fr) minmax(22rem,.72fr);gap:8vw;align-items:start}
  .editorial-split h2,.collaborate-grid h2{font-size:clamp(4rem,6vw,7rem)}
  .proposal-grid{grid-template-columns:minmax(0,1fr) auto;gap:clamp(3rem,8vw,9rem)}
  .proposal-grid h2{font-size:clamp(4.6rem,6.2vw,7.4rem)}
  .section-heading--projects .section-heading__title{font-size:clamp(4.4rem,5.8vw,6.8rem)}
  /* Portada: acercamos el rótulo al contenido y reducimos la altura del destacado
     para que el vídeo tenga una proporción más panorámica en escritorio. */
  .section--projects{padding-top:var(--plbac-space-5)}
  .section--projects .project-card{height:clamp(28rem,38vw,40rem);padding:0}
  .section--projects .project-card::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.38) 0%,rgba(0,0,0,.08) 48%,rgba(0,0,0,.02) 100%)}
  .section--projects .project-card:nth-child(even)::after{background:linear-gradient(270deg,rgba(0,0,0,.38) 0%,rgba(0,0,0,.08) 48%,rgba(0,0,0,.02) 100%)}
  .section--projects .project-card__visual{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
  .section--projects .project-card__body{position:absolute;left:max(2.5rem,calc((100vw - var(--plbac-shell))/2));bottom:clamp(2.5rem,4vw,4rem);width:min(38rem,calc(100% - 5rem));margin:0;padding:clamp(1.4rem,2vw,2rem);background:rgba(5,5,5,.9);border-color:rgba(241,238,231,.2);box-shadow:0 1.5rem 4rem rgba(0,0,0,.36);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  .section--projects .project-card:nth-child(even) .project-card__body{left:auto;right:max(2.5rem,calc((100vw - var(--plbac-shell))/2))}
  .section--projects .project-card h3{font-size:clamp(3.2rem,4.3vw,5rem)}
  .activity-item{grid-template-columns:8rem 1fr;padding:1.15rem 0}
  .site-footer__top{grid-template-columns:1fr auto;align-items:end}.site-footer__bottom{grid-template-columns:1fr auto;align-items:center}.site-footer__legal-copy p{text-align:left}
  .archive-entry{grid-template-columns:9rem 1fr;gap:2rem;padding:1.8rem 0}.archive-entry h2{font-size:3rem}
}

@media (min-width:75rem){
  .hero__shade{background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.64) 34%,rgba(0,0,0,.14) 72%,rgba(0,0,0,.18) 100%)}
  .hero__copy{max-width:50rem}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .hero__video{display:none}
}

@media (prefers-reduced-motion:reduce){
  .cta-link,.cta-link::before,.cta-link__arrow,.hero__scopes a{transition:none!important}
  .cta-link:hover,.cta-link:focus-visible{transform:none}
  .cta-link:hover .cta-link__arrow,.cta-link:focus-visible .cta-link__arrow{transform:none}
  .cta-link:hover .cta-link__arrow::before,.cta-link:focus-visible .cta-link__arrow::before{transform:none}
}

/* Proyecto individual: composición editorial integrada con PLBAC Proyectos. */
.project-single{background:var(--plbac-black);color:var(--plbac-ivory)}
.project-hero{position:relative;min-height:100svh;display:grid;align-items:end;overflow:hidden;background:#050505}
.project-hero__media,.project-hero__shade{position:absolute;inset:0}
.project-hero__media{z-index:0;background:#050505}
.project-hero__image,.project-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.project-hero__shade{z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.12) 10%,rgba(0,0,0,.38) 56%,rgba(0,0,0,.9) 100%)}
.project-hero__content{position:relative;z-index:2;padding-top:calc(var(--plbac-header) + 5rem);padding-bottom:clamp(2.5rem,6vw,5rem)}
.project-hero__meta{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;margin-bottom:1.2rem;font-family:var(--plbac-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--plbac-ivory-muted)}
.project-hero__meta span+span::before{content:"·";margin-right:1.5rem;color:var(--plbac-ivory-muted)}
.project-hero__meta span:last-child{color:var(--plbac-orange)}
.project-hero h1{max-width:13ch;margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(4rem,16vw,7.25rem);line-height:.86;letter-spacing:-.025em;text-wrap:balance}
.project-hero__excerpt{max-width:46rem;margin:1.5rem 0 0;color:var(--plbac-ivory-muted);font-family:var(--plbac-mono);font-size:.9rem;line-height:1.65}

.project-body{background:var(--plbac-ivory);color:var(--plbac-black);--plbac-h2-ink:var(--plbac-black);--plbac-h2-marker:var(--plbac-orange)}
.project-index{position:sticky;top:var(--plbac-header);z-index:70;background:var(--plbac-black);color:var(--plbac-ivory);border-top:1px solid rgba(241,238,231,.08);border-bottom:1px solid rgba(241,238,231,.14)}
.project-index__inner{display:flex;align-items:flex-end;gap:clamp(.95rem,1.7vw,1.45rem);min-height:3.3rem;padding-top:0;padding-bottom:.34rem;overflow:visible}
.project-index__label{flex:0 0 8.75rem;width:8.75rem;margin-bottom:.28rem;font-family:var(--plbac-mono);font-size:.72rem;font-weight:700;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--plbac-orange);visibility:hidden;pointer-events:none}
.project-index__links{list-style:none;display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:flex-end;align-content:flex-end;column-gap:clamp(1.15rem,2.4vw,2.2rem);row-gap:0;min-width:0;margin:0;padding:0;overflow:visible}
.project-index__links li{flex:0 0 auto;margin:0;padding:0}
.project-index__links a{display:flex;align-items:center;min-height:2.3rem;color:var(--plbac-orange);font-family:var(--plbac-mono);font-size:clamp(.76rem,.72rem + .12vw,.86rem);line-height:1.25;text-decoration:none;white-space:nowrap;opacity:1;transition:opacity .2s ease,color .2s ease,transform .2s ease}
.project-index__links a:hover,.project-index__links a:focus-visible{color:var(--plbac-ivory-muted);opacity:1;transform:translateY(-1px)}
.project-index__links a:focus-visible{outline:1px solid currentColor;outline-offset:-4px}
#project-section-opening,#project-section-chronology,#project-section-patrons,#project-section-media,#project-section-production,#project-section-production-collaborative,#project-section-institutional-collaborations,#project-section-sponsors,#project-section-route,#project-section-documentation,#project-section-closing,#project-section-social,#project-section-featured-team,#project-section-final-shortcode{scroll-margin-top:calc(var(--plbac-header) + 8rem)}
@media (max-width:47.99rem){.project-index__inner{display:block;min-height:0;padding-top:5.05rem;padding-bottom:.7rem}.project-index__label{display:block;width:5.5rem;height:0;margin:0;visibility:hidden}.project-index__links{display:flex;flex-wrap:wrap;align-items:flex-end;align-content:flex-end;column-gap:1.15rem;row-gap:.05rem;width:100%;padding-left:0}.project-index__links a{min-height:1.95rem;font-size:.78rem}#project-section-opening,#project-section-chronology,#project-section-patrons,#project-section-media,#project-section-production,#project-section-production-collaborative,#project-section-institutional-collaborations,#project-section-sponsors,#project-section-route,#project-section-documentation,#project-section-closing,#project-section-social,#project-section-featured-team,#project-section-final-shortcode{scroll-margin-top:calc(var(--plbac-header) + 9.05rem)}}
@media (max-width:30rem){.project-index__inner{padding-top:4.6rem;padding-bottom:.6rem}.project-index__links{column-gap:1rem;row-gap:0}.project-index__links a{min-height:1.85rem;font-size:.75rem}#project-section-opening,#project-section-chronology,#project-section-patrons,#project-section-media,#project-section-production,#project-section-production-collaborative,#project-section-institutional-collaborations,#project-section-sponsors,#project-section-route,#project-section-documentation,#project-section-closing,#project-section-social,#project-section-featured-team,#project-section-final-shortcode{scroll-margin-top:calc(var(--plbac-header) + 8.5rem)}}
.project-overview,.project-details,.project-end,.project-social-section{padding:clamp(2.5rem,4.2vw,4.5rem) 0}
.project-details,.project-end,.project-social-section{border-top:1px solid rgba(7,7,7,.12)}
.project-two-column{display:grid;gap:clamp(2rem,4.5vw,5rem);align-items:start}
.project-panel{min-width:0}
.project-panel>.eyebrow,.project-section-heading>.eyebrow{margin-bottom:.75rem}
.project-panel>h2,.project-section-heading>h2{margin:0;font-family:var(--plbac-serif);font-weight:400;font-size:clamp(3rem,10vw,5.75rem);line-height:.9;letter-spacing:-.025em;text-wrap:balance}
.project-panel--opening>h2{max-width:12ch}
.project-copy{max-width:42rem;margin:clamp(2rem,4vw,3.5rem) 0 0;font-size:1rem}
.project-copy>:first-child{margin-top:0}
.project-copy>:last-child{margin-bottom:0}
.project-copy h2{font-size:clamp(2.3rem,6vw,4rem)}
.project-copy h3{font-size:clamp(1.7rem,4vw,2.5rem)}
.project-copy a{color:#9c3b08}

.project-timeline{list-style:none;margin:clamp(2rem,4vw,3rem) 0 0;padding:0;border-top:1px solid rgba(7,7,7,.16)}
.project-timeline li{display:grid;grid-template-columns:minmax(7.5rem,.7fr) minmax(0,1.3fr);gap:clamp(1rem,3vw,3rem);padding:1rem 0;border-bottom:1px solid rgba(7,7,7,.16);font-family:var(--plbac-sans);line-height:1.45}
.project-timeline__date{font-family:var(--plbac-mono);font-size:.76rem;font-weight:700}
.project-timeline__text{font-size:.9rem}

.project-media{padding-top:clamp(2.25rem,3.8vw,4rem);background:var(--plbac-ivory);overflow:hidden}
.project-section-heading{padding-bottom:clamp(1.15rem,2vw,1.8rem)}
.project-mosaic{display:grid;width:100%;gap:0;background:#050505;overflow:hidden}
.project-mosaic__item{position:relative;min-width:0;margin:0;overflow:hidden;background:#090909}
.project-mosaic__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

/* Móvil primero: el mosaico se recompone, no se convierte en una lista. */
.project-mosaic--count-1{grid-template-columns:1fr}
.project-mosaic--count-1 .project-mosaic__item{aspect-ratio:4/3}
.project-mosaic--count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-mosaic--count-2 .project-mosaic__item{aspect-ratio:3/4}
.project-mosaic--count-3,.project-mosaic--count-4,.project-mosaic--count-5,.project-mosaic--count-many{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense}
.project-mosaic--count-3 .project-mosaic__item:first-child,.project-mosaic--count-5 .project-mosaic__item:first-child,.project-mosaic--count-many .project-mosaic__item:nth-child(5n+1){grid-column:1/-1;aspect-ratio:16/9}
.project-mosaic--count-3 .project-mosaic__item:nth-child(n+2),.project-mosaic--count-4 .project-mosaic__item,.project-mosaic--count-5 .project-mosaic__item:nth-child(n+2),.project-mosaic--count-many .project-mosaic__item:not(:nth-child(5n+1)){aspect-ratio:1/1}

.project-video-links{padding-top:clamp(1.75rem,3vw,2.75rem);padding-bottom:clamp(2.5rem,4vw,4rem)}
.project-video-links h3,.project-subsection h3{margin:0 0 1rem;font-family:var(--plbac-serif);font-size:clamp(1.8rem,3vw,2.5rem);font-weight:500;line-height:1}
.project-video-links ul,.project-link-list,.project-route-list{list-style:none;margin:0;padding:0}
.project-video-links li,.project-link-list li{padding:.7rem 0;border-top:1px solid rgba(7,7,7,.14)}
.project-video-links li:last-child,.project-link-list li:last-child{border-bottom:1px solid rgba(7,7,7,.14)}
.project-video-links a,.project-link-list a,.project-route-list a{color:inherit}

.project-subsection{margin-top:clamp(2rem,4vw,3.5rem)}
.project-credits{margin:0}
.project-credits>div{display:grid;grid-template-columns:minmax(7.5rem,.7fr) minmax(0,1.3fr);gap:1rem;padding:.7rem 0;border-top:1px solid rgba(7,7,7,.14)}
.project-credits>div:last-child{border-bottom:1px solid rgba(7,7,7,.14)}
.project-credits dt,.project-credits dd{margin:0}
.project-credits dt{font-family:var(--plbac-mono);font-size:.72rem;font-weight:700;text-transform:uppercase}
.project-credits dd{font-size:.92rem}
.project-route-list li{display:grid;gap:.2rem;padding:.8rem 0;border-top:1px solid rgba(7,7,7,.14)}
.project-route-list li:last-child{border-bottom:1px solid rgba(7,7,7,.14)}
.project-route-list__detail{font-family:var(--plbac-mono);font-size:.7rem;opacity:.7}
.project-action-link{display:inline-flex;align-items:center;min-height:2.75rem;font-family:var(--plbac-sans);font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9c3b08}
.project-document-action{margin:clamp(1.5rem,2.5vw,2.25rem) 0 0}
.project-action-link--button{min-height:3rem;padding:.75rem 1.15rem;background:var(--plbac-orange);color:var(--plbac-black);border:1px solid var(--plbac-orange);text-decoration:none;line-height:1.2;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.project-action-link--button:hover,.project-action-link--button:focus-visible{background:var(--plbac-black);border-color:var(--plbac-black);color:var(--plbac-ivory);text-decoration:none}


/* Agradecimientos forma parte de la misma retícula del proyecto. Se compone
   desde PHP para que cambiar su orden no pueda sacarlo del shell del tema. */
.project-patrons{padding:clamp(2rem,3.6vw,3.5rem) 0;border-top:1px solid rgba(7,7,7,.12);background:var(--plbac-ivory)}
.project-patrons__title{max-width:14ch;margin:0 0 clamp(1.5rem,2.4vw,2.25rem);font-family:var(--plbac-serif);font-size:clamp(3rem,10vw,5.75rem);font-weight:400;line-height:.9;letter-spacing:-.025em;text-transform:none;text-wrap:balance}
.project-patrons__list{margin:0;font-family:var(--plbac-mono);font-size:clamp(.72rem,.69rem + .12vw,.82rem);line-height:1.7;letter-spacing:.01em}
.project-patrons__separator{white-space:pre}


@media (min-width:48rem){
  .project-hero h1{font-size:clamp(6rem,9vw,10.5rem)}
  .project-two-column{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-two-column>.project-panel:only-child{grid-column:1/-1;max-width:46rem}
  .project-panel>h2,.project-section-heading>h2{font-size:clamp(4rem,5.3vw,6.25rem)}
  .project-patrons__title{font-size:clamp(4rem,5.3vw,6.25rem)}
  .project-copy{font-size:1.02rem}

  /* Escritorio: 1–5 imágenes forman una franja horizontal continua. */
  .project-mosaic{grid-auto-flow:column;grid-auto-rows:clamp(22rem,35vw,38rem)}
  .project-mosaic .project-mosaic__item{grid-column:auto!important;grid-row:1!important;aspect-ratio:auto!important}
  .project-mosaic--count-1{grid-template-columns:1fr}
  .project-mosaic--count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-mosaic--count-3{grid-template-columns:2fr 1fr 1fr}
  .project-mosaic--count-4{grid-template-columns:1.6fr 1fr 1fr 1.4fr}
  .project-mosaic--count-5{grid-template-columns:2fr repeat(4,minmax(0,1fr))}

  /* A partir de seis se permite una segunda línea para no reducir las fotos a miniaturas. */
  .project-mosaic--count-many{grid-auto-flow:dense;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(14rem,22vw,23rem)}
  .project-mosaic--count-many .project-mosaic__item{grid-row:auto!important}
  .project-mosaic--count-many .project-mosaic__item:nth-child(6n+1),.project-mosaic--count-many .project-mosaic__item:nth-child(6n+4){grid-column:span 2!important}
}

@media (max-width:30rem){
  .project-timeline li,.project-credits>div{grid-template-columns:1fr;gap:.35rem}
}

@media (prefers-reduced-motion:reduce){
  .project-hero__video{display:none}
}

/* Contenido final de proyecto: el tema no altera la caja ni los márgenes del
   componente generado por el shortcode. Su complemento conserva el estilo. */
.project-final-shortcode{width:100%}


.project-list__empty{margin:0;padding:2rem 0;border-top:1px solid var(--plbac-line,rgba(255,255,255,.14));font-family:var(--plbac-mono,monospace);font-size:.78rem;line-height:1.6;letter-spacing:.02em;opacity:.72}

/* Vídeo de cabecera del proyecto en tarjetas destacadas de portada. */
.project-card__visual--video{position:relative}
.project-card__visual--video>img,.project-card__visual--video>span{position:relative;z-index:1}
.project-card__video{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none;transition:opacity .35s ease}
.project-card__visual--video.is-video-playing .project-card__video{opacity:1}
@media (prefers-reduced-motion:reduce){.project-card__video{display:none}}

.project-card__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1rem}
.project-closing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin:0 0 1rem}
.project-social-links{list-style:none;display:flex;flex-wrap:wrap;gap:.72rem;margin:clamp(1.5rem,2.5vw,2.25rem) 0 0;padding:0}
.project-social-links__item{display:flex;padding:0;border:0!important}
.project-social-links__item a{display:inline-flex;align-items:center;justify-content:center;width:2.7rem;height:2.7rem;border:1px solid rgba(7,7,7,.14);border-radius:999px;color:var(--plbac-black);background:rgba(7,7,7,.02);text-decoration:none;transition:transform .24s ease,border-color .24s ease,color .24s ease,background-color .24s ease,box-shadow .24s ease}
.project-social-links__item a:hover,.project-social-links__item a:focus-visible{color:var(--plbac-orange);border-color:rgba(255,106,0,.5);background:rgba(255,106,0,.08);transform:translateY(-2px);box-shadow:0 .6rem 1.2rem rgba(0,0,0,.12)}
.project-social-links__item a:active{transform:translateY(0) scale(.97)}
.project-social-links__icon{display:inline-flex;width:1.1rem;height:1.1rem}
.project-social-links__icon svg{display:block;width:100%;height:100%}

/* Producción 1.0.55: tres bloques editoriales independientes. */
.project-production-slice .project-production-slice__title{font-size:clamp(2.8rem,8.5vw,5.25rem);text-wrap:balance}
.project-production-slice__description{max-width:56rem;margin:clamp(.8rem,1.5vw,1.15rem) 0 0;font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.55}
.project-production-item__name{display:block}
.project-production-item__description{display:block;margin-top:.28rem;max-width:52rem;font-size:clamp(.84rem,1.1vw,.96rem);line-height:1.45;opacity:.72}

.project-production-slice__content{margin-top:clamp(1.5rem,2.7vw,2.4rem)}
.project-production-slice__content+.project-production-slice__content{margin-top:clamp(1rem,1.8vw,1.5rem)}
@media (min-width:48rem){
  .project-production-slice .project-production-slice__title{font-size:clamp(3rem,4.15vw,4.9rem);line-height:.94;white-space:nowrap;text-wrap:nowrap}
}

/* Logos editoriales opcionales en colaboraciones institucionales y patrocinadores. */
.project-production-entity{display:flex;align-items:center;gap:clamp(.85rem,1.6vw,1.35rem)}
.project-production-entity__logo{display:flex;align-items:center;justify-content:flex-start;flex:0 0 clamp(6.83rem,11.31vw,10.27rem);width:clamp(6.83rem,11.31vw,10.27rem);min-height:5.46rem}
.project-production-entity__logo a{display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}
.project-production-entity__logo img{display:block;max-width:100%;width:auto;height:auto;max-height:clamp(5.14rem,9.04vw,7.74rem);object-fit:contain;object-position:left center}
.project-production-entity__body{display:block;min-width:0;flex:1}
@media (max-width:560px){.project-production-entity{gap:.75rem}.project-production-entity__logo{flex-basis:6.83rem;width:6.83rem}.project-production-entity__logo img{max-height:5.14rem}}

/* Agrupa en línea las entidades que solo muestran logotipo, sin nombre ni descripción. */
.project-production-slice__content:has(.project-production-entity--logo-only){display:flex;flex-wrap:wrap;align-items:center;gap:clamp(1.5rem,3vw,3rem)}
.project-production-slice__content:has(.project-production-entity--logo-only) .project-production-entity--logo-only{display:flex;flex:0 0 auto;border-top:0;padding-block:0}
.project-production-slice__content:has(.project-production-entity--logo-only) .project-production-entity--logo-only + .project-production-entity--logo-only{border-top:0}
@media (max-width:560px){.project-production-slice__content:has(.project-production-entity--logo-only){gap:1.25rem 1.75rem}}


/* Logos de proyecto: caja visual coherente y alineación izquierda. */
.project-link-list .project-related-item{padding:0}
.project-related-link{display:flex;align-items:center;gap:clamp(1rem,2vw,1.5rem);min-height:5.6rem;padding:.85rem 0;text-decoration:none}
.project-related-logo{display:flex;align-items:center;justify-content:flex-start;flex:0 0 clamp(7.5rem,10vw,9.5rem);width:clamp(7.5rem,10vw,9.5rem);height:clamp(4.6rem,6vw,5.4rem);min-height:0;overflow:visible}
.project-related-logo img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:left center}
.project-related-title{min-width:0}
@media (max-width:560px){.project-related-link{min-height:5rem;gap:.9rem}.project-related-logo{flex-basis:6.5rem;width:6.5rem;height:4rem}}

/* Portada: cualquier logo de proyecto se presenta a la izquierda del título. */
.section--projects .project-card__title-row{display:block}
.section--projects .project-card__title-row.has-project-logo{display:grid;grid-template-columns:clamp(5.25rem,7vw,7rem) minmax(0,1fr);align-items:start;gap:clamp(.65rem,1vw,.9rem)}
.section--projects .project-card__project-logo{display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:clamp(4.75rem,6.5vw,6.25rem);min-width:0;padding-top:.1rem}
.section--projects .project-card__project-logo img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:left top}

/* Cuando una extensión decide que el logo sustituye al título. */
.section--projects .project-card__title-row--logo-title{display:block}
.section--projects .project-card__logo-title{width:clamp(12rem,22vw,18rem);max-width:88%;height:clamp(7rem,10vw,9rem);margin:0;line-height:0;overflow:visible}
.section--projects .project-card__logo-title a{display:block;width:100%;height:100%;text-decoration:none}
.section--projects .project-card__logo-title img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:left center}

/* Cabecera individual: caja estable para futuros proyectos. */
.project-hero__title-row{display:block}
.project-hero__title-row.has-project-logo{display:grid;grid-template-columns:clamp(6.5rem,8vw,8rem) minmax(0,1fr);align-items:start;gap:clamp(.75rem,1.2vw,1rem);width:100%}
.project-hero__title-row.has-project-logo h1{min-width:0;max-width:11ch}
.project-hero__project-logo{display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:clamp(6rem,8vw,7.75rem);min-width:0;padding-top:.15rem}
.project-hero__project-logo img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:left top;filter:drop-shadow(0 .45rem 1.5rem rgba(0,0,0,.28))}

/* Variante de cabecera cuyo título visual es el propio logo. */
.project-hero__title-row--logo-title{display:block;width:100%}
.project-hero__logo-title{display:block;width:clamp(15rem,30vw,26rem);height:clamp(9rem,16vw,14rem);max-width:92%;margin:0;line-height:0;overflow:visible}
.project-hero__logo-title-link{display:block;width:100%;height:100%;text-decoration:none}
.project-hero__logo-title img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:left center;filter:drop-shadow(0 .45rem 1.5rem rgba(0,0,0,.28))}

@media (max-width:700px){
  .section--projects .project-card__title-row.has-project-logo{grid-template-columns:4.9rem minmax(0,1fr);gap:.55rem}
  .section--projects .project-card__project-logo{height:4.5rem;padding-top:.1rem}
  .section--projects .project-card__logo-title{width:clamp(11rem,52vw,15rem);height:clamp(6.5rem,28vw,8rem);max-width:90%}
  .project-hero__title-row.has-project-logo{grid-template-columns:5.25rem minmax(0,1fr);gap:.55rem}
  .project-hero__title-row.has-project-logo h1{max-width:none;font-size:clamp(3rem,11.5vw,4.25rem);line-height:.88;letter-spacing:-.03em;overflow-wrap:normal;word-break:normal}
  .project-hero__project-logo{height:5.1rem;padding-top:.1rem}
  .project-hero__logo-title{width:clamp(14rem,72vw,20rem);height:clamp(8rem,38vw,11rem);max-width:92%}
}

@media (max-width:420px){
  .project-hero__title-row.has-project-logo{grid-template-columns:4.5rem minmax(0,1fr);gap:.45rem}
  .project-hero__title-row.has-project-logo h1{font-size:clamp(2.65rem,11vw,3.15rem)}
  .project-hero__project-logo{height:4.4rem}
  .project-hero__logo-title{width:min(82vw,18rem);height:9rem}
}

/* Logo de proyecto enlazable */
a.project-card__project-logo,a.project-hero__project-logo,a.project-related-logo{cursor:pointer;text-decoration:none}
@media (hover:hover) and (pointer:fine){a.project-card__project-logo img,a.project-hero__project-logo img,a.project-related-logo img{transition:opacity .18s ease}a.project-card__project-logo:hover img,a.project-hero__project-logo:hover img,a.project-related-logo:hover img{opacity:.78}}


