/* Shared repair layer: preserve the established layout and all project artwork. */
.portfolio-simple-footer [hidden]{display:none!important}
.portfolio-simple-footer .portfolio-simple-footer-content{box-sizing:border-box;min-width:0;max-width:100%}
.portfolio-simple-footer .portfolio-footer-social-icons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.portfolio-simple-footer .portfolio-footer-social-icons a{display:grid;place-items:center;width:44px;height:44px;flex:none}
.portfolio-simple-footer .portfolio-footer-social-icons svg{width:22px;height:22px;display:block}
/* Hero galleries live outside #main; their tracks need the same sizing rules. */
body[data-portfolio-route="/wefi"] .wefi-hero-gallery{min-width:0;width:100%}
body[data-portfolio-route="/wefi"] .wefi-hero-gallery .mc-track{width:100%;min-width:0;display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
body[data-portfolio-route="/wefi"] .wefi-hero-gallery .mc-track>.mc-slide{flex:0 0 100%!important;width:100%!important;max-width:100%;min-width:0;margin:0;scroll-snap-align:start;overflow:hidden;border-radius:24px}
body[data-portfolio-route="/wefi"] .wefi-hero-gallery .portfolio-case-image{width:100%;aspect-ratio:16/9!important}
body[data-portfolio-route="/wefi"] .wefi-hero-gallery .portfolio-case-image img{width:100%!important;height:100%!important;object-fit:contain}
@media(max-width:767px){
 .portfolio-simple-footer .portfolio-footer-columns{display:none!important}
 .portfolio-simple-footer .portfolio-footer-column-connect{display:block!important}
 body[data-portfolio-route="/wefi"] .wefi-hero-gallery .mc-track>.mc-slide{border-radius:18px}
}

/* Four footer categories form two balanced rows rather than a three-row newspaper flow. */
body .portfolio-simple-footer{padding:56px 0 28px!important}
body .portfolio-simple-footer-content{gap:32px 48px}
body .portfolio-simple-footer .portfolio-footer-column-explore ul{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:10px}
body .portfolio-simple-footer .portfolio-footer-column-explore a{min-height:52px;padding:12px 16px}
.enough-halftone{width:min(640px,calc(50% - 24px));height:auto;aspect-ratio:3.8;margin:12px auto 32px;overflow:visible}
.portfolio-logo-context{max-width:78ch;margin:14px auto 28px;padding-inline:24px;color:var(--muted);font-size:13px;line-height:1.65;text-align:center}
/* Reserve the studio hero's final box before its enhancement module arrives. */
html[data-site-brand=enough]:not([data-studio-hero-mounted]) body[data-portfolio-page=home] #main::before{content:'';display:block;height:calc(236px + min(76vw,1440px)/1.95);background:var(--page)}
@media(max-width:767px){
 body .portfolio-simple-footer-content{gap:24px}
 body .portfolio-simple-footer .portfolio-footer-columns{display:none!important}
 .enough-halftone{width:min(320px,65%);margin-block:8px 28px}
 html[data-site-brand=enough]:not([data-studio-hero-mounted]) body[data-portfolio-page=home] #main::before{height:calc(220px + 86vw/.9)}
}

.portfolio-client-signin{display:block;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);font-size:14px}

.enough-halftone canvas{position:absolute;inset:0}
html[data-site-brand=enough] #portfolio-intro{display:none!important}
