/* Estilos del portafolio público Elementos. Limitados a los tres reemplazos QWeb. */
.el-editorial{--editorial-ink:#141618;--editorial-paper:#F7F6F2;--editorial-ground:#ECEBE6;--editorial-steel:#5E646B;--editorial-plata:#B8BDC3;color:var(--editorial-ink);font-family:var(--el-sans,system-ui,sans-serif)}
.el-editorial :is(h1,h2,h3,p){color:inherit}
.el-editorial a,.el-editorial button{-webkit-tap-highlight-color:transparent}
.el-editorial :is(a,button):focus-visible{outline:3px solid var(--editorial-steel);outline-offset:3px}
.el-editorial img{max-width:100%}
.el-editorial .el-wrap{max-width:1440px;margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
.el-editorial .el-mono{font-family:var(--el-mono,ui-monospace,monospace);font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#5B6168}
.el-editorial .el-h1,.el-editorial .el-h2{margin:0;font-weight:800;font-stretch:75%;text-transform:uppercase;letter-spacing:-.04em}
.el-editorial .el-h1{font-size:clamp(52px,10vw,152px);line-height:.88}
.el-editorial .el-h2{font-size:clamp(38px,5vw,72px);line-height:.98}
.el-editorial .el-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border:1px solid transparent;text-decoration:none;font-weight:600}
.el-editorial .el-btn-ink{background:#141618;color:#ECEBE6!important}
.el-editorial .el-btn-ink:hover{background:#2A2D31}

/* Inicio y archivo */
.el-editorial-home{background:var(--editorial-ground)}
.el-editorial-home .el-pad{padding-block:clamp(56px,8vw,112px)}
.el-editorial .el-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:clamp(44px,7vw,92px)}
.el-editorial .el-head-row .el-mono{margin:0 0 14px}
.el-editorial-home .el-h2{font-size:clamp(46px,8.8vw,128px);line-height:.82;letter-spacing:-.055em}
.el-editorial .featured-intro{max-width:28ch;margin:0 0 2px;color:#3A3E43;font-size:clamp(16px,1.5vw,20px)}
.el-editorial .featured-grid,.el-editorial .editorial-grid{display:grid;grid-template-columns:1.12fr .88fr;column-gap:clamp(22px,5vw,72px);row-gap:clamp(60px,9vw,132px);align-items:start}
.el-editorial .project-card{display:flex;flex-direction:column;min-width:0;gap:18px;color:#141618!important;text-decoration:none;transition:opacity .25s ease,transform .25s ease}
.el-editorial .featured-grid .card-two,.el-editorial .editorial-grid .card-two{margin-top:clamp(90px,15vw,214px)}
.el-editorial .featured-grid .card-three,.el-editorial .editorial-grid .card-three{grid-column:1/2;width:76%;margin-left:8%}
.el-editorial .project-image{display:block;overflow:hidden;background:#B8BDC3}
.el-editorial .project-image img{display:block;width:100%;height:auto;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.el-editorial .project-card:hover .project-image img{transform:scale(1.025)}
.el-editorial .project-info{display:grid;grid-template-columns:1fr auto;align-items:end;gap:6px 16px}
.el-editorial .project-info .el-mono{grid-column:1/-1;margin:0;color:#5B6168}
.el-editorial .project-info strong{font-weight:800;font-stretch:75%;font-size:clamp(24px,3.3vw,46px);line-height:1;text-transform:uppercase;letter-spacing:-.025em}
.el-editorial .project-more{font-family:var(--el-mono,ui-monospace,monospace);font-size:12px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.el-editorial .project-more span{display:inline-block;margin-left:7px;transition:transform .2s ease}
.el-editorial .project-card:hover .project-more span{transform:translate(3px,-3px)}
.el-editorial-home .featured-more{display:flex;justify-content:center;margin-top:clamp(52px,8vw,112px)}
.el-editorial-archive .archive-intro{padding:clamp(64px,10vw,142px) 0 clamp(38px,6vw,82px);border-bottom:1px solid #141618}
.el-editorial-archive .archive-intro .el-mono{margin:0 0 24px}
.el-editorial-archive .archive-intro .el-h1{font-size:clamp(76px,17vw,236px);line-height:.78;letter-spacing:-.06em}
.el-editorial-archive .archive-deck{max-width:33ch;margin:36px 0 0;font-size:clamp(17px,2vw,24px);line-height:1.25}
.el-editorial-archive .archive-count{position:absolute;right:clamp(16px,4vw,48px);bottom:0}
.el-editorial-archive .archive-intro .el-wrap{position:relative}
.el-editorial-archive .archive-work{max-width:1440px;padding-block:clamp(46px,7vw,100px) clamp(88px,12vw,160px)}
.el-editorial-archive .editorial-grid{row-gap:clamp(66px,10vw,144px)}
.el-editorial-archive .project-info strong{font-size:clamp(26px,3.7vw,52px)}

/* Detalle editorial */
.el-editorial-detail{background:var(--editorial-paper)}
.el-editorial-detail .detail-header{position:absolute;z-index:10;inset:0 0 auto;color:var(--editorial-paper);background:linear-gradient(180deg,rgba(20,22,24,.4),transparent);border:0}
.el-editorial-detail .detail-header .el-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:86px}
.el-editorial-detail .detail-header .el-brand{display:flex;align-items:center;gap:12px;color:var(--editorial-paper)!important;text-decoration:none}
.el-editorial-detail .detail-header .el-brand svg{display:block}
.el-editorial-detail .detail-header .el-brand span{font-weight:800;font-stretch:75%;font-size:24px;letter-spacing:.06em;text-transform:uppercase}
.el-editorial-detail .detail-header .el-nav{display:flex;gap:clamp(16px,2.3vw,34px);font-size:15px;font-weight:500}
.el-editorial-detail .detail-header .el-nav a{color:var(--editorial-paper);text-decoration:none}
.el-editorial-detail .detail-header .el-nav a:hover,.el-editorial-detail .detail-header .el-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
.el-editorial-detail .detail-header .el-cta{min-height:44px;padding:0 18px;font-size:14px}
.el-editorial-detail .detail-header .el-menu{display:none}
.el-editorial-detail .detail-header .el-menu summary{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:1px solid var(--editorial-paper);color:var(--editorial-paper);font-size:22px;list-style:none;cursor:pointer}
.el-editorial-detail .detail-header .el-menu summary::-webkit-details-marker{display:none}
.el-editorial-detail .detail-header .el-menu nav{position:absolute;left:0;right:0;top:100%;display:flex;flex-direction:column;padding:8px clamp(16px,4vw,48px) 20px;border-bottom:1px solid #3A3E43;background:#141618}
.el-editorial-detail .detail-header .el-menu nav a{padding:14px 0;border-bottom:1px solid #3A3E43;color:var(--editorial-paper);font-size:18px;font-weight:600;text-decoration:none}
.el-editorial-detail .project-hero{position:relative;display:flex;align-items:stretch;min-height:100svh;height:max(680px,100svh);overflow:hidden;background:#141618;color:var(--editorial-paper)}
.el-editorial-detail .project-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%;transform:scale(1.015)}
.el-editorial-detail .project-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,22,24,.38),rgba(20,22,24,.04) 36%,rgba(20,22,24,.68))}
.el-editorial-detail .project-hero-inner{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;max-width:1440px;padding-top:clamp(126px,18vh,190px);padding-bottom:clamp(28px,4vw,54px)}
.el-editorial-detail .hero-topline{display:flex;justify-content:space-between;align-items:center;font-family:var(--el-mono,ui-monospace,monospace);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.el-editorial-detail .project-index{font-size:14px}
.el-editorial-detail .back-link{display:inline-flex;align-items:center;min-height:44px;color:var(--editorial-paper);text-decoration:none}
.el-editorial-detail .back-link:hover{text-decoration:underline;text-underline-offset:5px}
.el-editorial-detail .hero-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1050px}
.el-editorial-detail .hero-category{margin:0 0 14px;color:var(--editorial-paper)}
.el-editorial-detail .hero-bottom h1{max-width:12ch;font-size:clamp(58px,12vw,172px);line-height:.82;letter-spacing:-.055em}
.el-editorial-detail .hero-zoom{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid rgba(247,246,242,.7);background:rgba(20,22,24,.16);color:var(--editorial-paper);font-family:var(--el-mono,ui-monospace,monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;cursor:zoom-in}
.el-editorial-detail .hero-meta{display:flex;flex-wrap:wrap;gap:12px 34px;padding-top:14px;margin-top:clamp(36px,6vw,76px);border-top:1px solid rgba(247,246,242,.58);font-family:var(--el-mono,ui-monospace,monospace);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--editorial-paper)}
.el-editorial-detail .project-overview{padding-block:clamp(48px,8vw,108px);background:var(--editorial-ground);border-bottom:1px solid #141618}
.el-editorial-detail .project-overview .el-wrap{display:grid;grid-template-columns:1fr 2fr;gap:20px 8vw;align-items:start}
.el-editorial-detail .project-overview .el-mono{margin:4px 0}
.el-editorial-detail .overview-description{grid-column:2;margin:0;max-width:58ch;font-size:clamp(20px,2.5vw,32px);line-height:1.25}
.el-editorial-detail .overview-meta{grid-column:2;display:flex;flex-wrap:wrap;gap:12px 48px;margin:8px 0 0}
.el-editorial-detail .overview-meta div{display:grid;gap:5px}
.el-editorial-detail .overview-meta dt{font-family:var(--el-mono,ui-monospace,monospace);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5B6168}
.el-editorial-detail .overview-meta dd{margin:0;font-size:15px}
.el-editorial-detail .project-gallery-wrap{padding-block:clamp(56px,9vw,124px) clamp(90px,12vw,166px);background:var(--editorial-paper)}
.el-editorial-detail .gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:clamp(32px,5vw,72px);padding-bottom:14px;border-bottom:1px solid #141618}
.el-editorial-detail .gallery-heading p{margin:0;color:#141618}
.el-editorial-detail .gallery-total{color:#5B6168}
.el-editorial-detail .project-gallery{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(14px,3vw,40px);align-items:start}
.el-editorial-detail .gallery-item{display:block;overflow:hidden;padding:0;border:0;background:none;text-align:left;cursor:zoom-in}
.el-editorial-detail .gallery-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#B8BDC3;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.el-editorial-detail .gallery-item:hover img{transform:scale(1.02)}
.el-editorial-detail .gallery-item-2,.el-editorial-detail .gallery-item-4,.el-editorial-detail .gallery-item-6{margin-top:clamp(80px,14vw,190px)}
.el-editorial-detail .more-projects{padding-block:clamp(56px,9vw,120px) clamp(68px,10vw,136px);background:var(--editorial-ground)}
.el-editorial-detail .more-projects .gallery-heading{margin-bottom:32px}
.el-editorial-detail .more-projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,40px)}
.el-editorial-detail .more-projects-grid .project-info strong{font-size:clamp(22px,3vw,38px)}
.el-editorial-detail .commercial-cta{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:clamp(56px,8vw,108px);margin-top:clamp(56px,8vw,108px);border-top:1px solid #141618}
.el-editorial-detail .commercial-cta .el-mono{margin:0 0 14px}
.el-editorial-detail .commercial-cta .el-h2{max-width:14ch;font-size:clamp(36px,5vw,68px)}
.el-editorial-detail .detail-unavailable{min-height:70svh;display:flex;align-items:center;padding-block:clamp(72px,12vw,160px)}
.el-editorial-detail .detail-unavailable .el-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.el-editorial-detail .detail-unavailable .el-mono{margin:0}
.el-editorial-detail .detail-unavailable .el-h2{font-size:clamp(48px,8vw,100px)}
.el-editorial-detail .lightbox[hidden]{display:none}
.el-editorial-detail .lightbox{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;background:rgba(12,13,14,.94);color:var(--editorial-paper)}
.el-editorial-detail .lightbox-backdrop{position:absolute;inset:0;border:0;background:transparent;cursor:zoom-out}
.el-editorial-detail .lightbox-panel{position:relative;z-index:1;display:grid;grid-template-columns:72px 1fr 72px;grid-template-rows:72px 1fr 60px;align-items:center;width:min(100%,1200px);height:100%;padding:0 clamp(8px,3vw,42px)}
.el-editorial-detail .lightbox-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
.el-editorial-detail .lightbox-counter,.el-editorial-detail .lightbox-caption{margin:0;color:#B8BDC3}
.el-editorial-detail .lightbox-close,.el-editorial-detail .lightbox-prev,.el-editorial-detail .lightbox-next{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(247,246,242,.5);background:transparent;color:var(--editorial-paper);font-size:24px;cursor:pointer}
.el-editorial-detail .lightbox-image{grid-column:2;grid-row:2;justify-self:center;max-width:100%;max-height:calc(100svh - 190px);object-fit:contain}
.el-editorial-detail .lightbox-prev{grid-column:1;grid-row:2}
.el-editorial-detail .lightbox-next{grid-column:3;grid-row:2}
.el-editorial-detail .lightbox-caption{grid-column:1/-1;grid-row:3;text-align:center}
.el-editorial-detail .lightbox button:disabled{opacity:.4;cursor:default}
.el-editorial-detail .lightbox-open{overflow:hidden}
.el-editorial .reveal-ready{opacity:.01;transform:translateY(20px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.el-editorial .reveal-ready.is-visible{opacity:1;transform:none}
body.lightbox-open{overflow:hidden}

@media(max-width:850px){.el-editorial .el-head-row{gap:24px}.el-editorial .featured-grid,.el-editorial .editorial-grid{column-gap:22px}.el-editorial-detail .hero-meta{gap:10px 20px}.el-editorial-detail .detail-header .el-nav,.el-editorial-detail .detail-header .el-cta{display:none}.el-editorial-detail .detail-header .el-menu{display:block}}
@media(max-width:600px){
  .el-editorial .el-wrap{padding-inline:20px}
  .el-editorial .el-head-row{display:block}
  .el-editorial-home .el-h2{font-size:clamp(52px,17vw,92px)}
  .el-editorial .featured-intro{margin-top:22px}
  .el-editorial .featured-grid,.el-editorial .editorial-grid{grid-template-columns:1fr;row-gap:48px}
  .el-editorial .featured-grid .card-two,.el-editorial .editorial-grid .card-two{margin-top:0}
  .el-editorial .featured-grid .card-three,.el-editorial .editorial-grid .card-three{grid-column:auto;width:100%;margin-left:0}
  .el-editorial .project-info strong,.el-editorial .editorial-grid .project-info strong{font-size:clamp(27px,9vw,40px)}
  .el-editorial .project-more{font-size:11px}
  .el-editorial-archive .archive-intro{padding-top:78px}
  .el-editorial-archive .archive-intro .el-h1{font-size:clamp(76px,22vw,132px)}
  .el-editorial-archive .archive-deck{max-width:25ch;margin-top:26px}
  .el-editorial-archive .archive-count{position:static;display:block;margin-top:28px}
  .el-editorial-archive .archive-work{padding-top:38px}
  .el-editorial-detail .project-hero{min-height:680px;height:100svh}
  .el-editorial-detail .project-hero-image{object-position:58% center}
  .el-editorial-detail .project-hero-inner{padding-top:112px;padding-bottom:24px}
  .el-editorial-detail .detail-header .el-bar{min-height:66px}
  .el-editorial-detail .detail-header .el-brand span{font-size:21px}
  .el-editorial-detail .hero-title-row{align-items:flex-start;flex-direction:column;gap:12px}
  .el-editorial-detail .hero-bottom h1{font-size:clamp(58px,16vw,96px)}
  .el-editorial-detail .hero-meta{font-size:10px;gap:9px 14px}
  .el-editorial-detail .project-overview .el-wrap{grid-template-columns:1fr;gap:18px}
  .el-editorial-detail .overview-description,.el-editorial-detail .overview-meta{grid-column:1}
  .el-editorial-detail .project-gallery-wrap{padding-block:58px 90px}
  .el-editorial-detail .project-gallery{grid-template-columns:1fr;gap:20px}
  .el-editorial-detail .gallery-item-2,.el-editorial-detail .gallery-item-4,.el-editorial-detail .gallery-item-6{margin-top:0}
  .el-editorial-detail .more-projects-grid{grid-template-columns:1fr}
  .el-editorial-detail .commercial-cta{align-items:flex-start;flex-direction:column}
  .el-editorial-detail .commercial-cta .el-btn{width:100%}
  .el-editorial-detail .lightbox-panel{grid-template-columns:52px 1fr 52px;grid-template-rows:64px 1fr 58px;padding-inline:8px}
  .el-editorial-detail .lightbox-close,.el-editorial-detail .lightbox-prev,.el-editorial-detail .lightbox-next{width:44px;height:44px}
  .el-editorial-detail .lightbox-image{max-height:calc(100svh - 170px)}
  .el-editorial-detail .lightbox-prev,.el-editorial-detail .lightbox-next{align-self:end;margin-bottom:8px}
  .el-editorial-detail .lightbox-prev{z-index:2}
  .el-editorial-detail .lightbox-next{z-index:2}
}
@media(prefers-reduced-motion:reduce){.el-editorial .project-image img,.el-editorial .project-card,.el-editorial .reveal-ready{transition:none}.el-editorial .reveal-ready{opacity:1;transform:none}.el-editorial-detail .project-hero-image{transform:none}}
