
/* Responsive project photography: crop only the empty left side, never the device. */
.work-image img[src*="Hero_progetti_"] { object-position:right center; }
.work-row[data-category="app"] .work-image img[src*="Hero_progetti_"] { padding:0; }
@media(max-width:1100px){
 .work-row .work-image { aspect-ratio:1.42; }
 .work-row .work-image img[src*="Hero_progetti_"] { width:150%; max-width:none; height:100%; aspect-ratio:auto; margin-left:-50%; object-fit:contain; object-position:right center; transform:none; }
 body .mosaic .project .frame { aspect-ratio:1.42; }
 body .mosaic .project .frame img[src*="Hero_progetti_"] { width:150%; max-width:none; height:100%; aspect-ratio:auto; margin-left:-50%; object-fit:contain; object-position:right center; transform:none; }
 .project-photo-opening .inner-hero-photo { object-fit:contain; object-position:right top; }
}
@media(max-width:760px){
 .inner .project-photo-opening { padding-top:calc(105px + 72vw); }
 .project-photo-opening .inner-hero-photo { inset:82px 0 auto auto; width:150%; height:auto; max-width:none; object-fit:contain; }
 .project-photo-opening::before { background:linear-gradient(0deg,#111319 0%,transparent 70%); }
}
/* Editorial area */
.journal-preview,.journal-section { padding-block:clamp(70px,7vw,130px); }
.journal-preview { background:#161920; background-image:radial-gradient(#ffffff09 .7px,transparent .8px);background-size:18px 18px; }
.journal-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:45px; }
.journal-heading h2 { font-size:clamp(36px,4.5vw,76px);font-weight:400;line-height:1.08;max-width:900px; }
.journal-heading .eyebrow { margin-bottom:18px; }
.journal-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 26px; }
.journal-card { min-width:0; }
.journal-card>a { display:block; }
.journal-card img { width:100%;aspect-ratio:1.65;object-fit:cover;object-position:right center; }
.journal-meta { display:flex;gap:15px;flex-wrap:wrap;margin:20px 0 12px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#aaaeb8; }
.journal-meta span:first-child { color:#ee7379; }
.journal-card h2,.journal-card h3,.inner .journal-card h2 { font-size:clamp(25px,2vw,34px);line-height:1.18;font-weight:400;margin:0 0 16px; }
.journal-card p { color:#aeb2bd;font-size:16px;line-height:1.65; }
.journal-card .read-more { display:inline-block;margin-top:20px;padding-bottom:5px;border-bottom:1px solid #585d69;font-size:15px; }
.journal-card a:hover h2,.journal-card a:hover h3 { color:var(--red); }
.journal-topics { display:flex;gap:12px 26px;flex-wrap:wrap;border-block:1px solid var(--line);padding:22px 0;margin-bottom:45px;color:#c2c6cf;font-size:15px; }
.journal-feature { display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:55px;margin-bottom:85px; }
.journal-feature img { width:100%;aspect-ratio:1.4;object-fit:cover; }
.journal-feature h2 { margin:15px 0 25px; }
.archive-list { margin-top:45px;display:grid;grid-template-columns:1fr 1fr;gap:40px; }
.archive-item { border-top:1px solid var(--line);padding-top:30px; }
.archive-item h3 { margin-bottom:20px; }
.article-layout { display:grid;grid-template-columns:230px minmax(0,800px);justify-content:space-between;gap:70px;padding-block:80px 110px; }
.article-toc { position:sticky;top:30px;align-self:start;display:grid;gap:16px;font-size:14px;color:#babec9; }
.article-toc strong { color:#fff;font-weight:500; margin-bottom:10px; }
.article-toc a { border-bottom:1px solid #ffffff15;padding-bottom:12px; }
.article-content h2 { font-size:clamp(29px,3vw,46px);margin:50px 0 22px; }
.article-content h2:first-child { margin-top:0; }
.article-content p { font-size:18px;line-height:1.85;margin-bottom:22px;color:#c3c6cf; }
.article-content ul { padding-left:22px;color:#c3c6cf;line-height:1.8;margin:25px 0; }
.article-content li { margin-bottom:12px; }
.article-takeaway { border-left:2px solid var(--red);background:#1a1e27;padding:30px;margin:40px 0; }
.article-takeaway p:last-child { margin-bottom:0; }
.article-related { border-top:1px solid var(--line);padding-top:30px;margin-top:45px; }
.inner .article-hero h1 { font-size:clamp(40px,4vw,74px); }
.article-hero .lead { font-size:18px; }
/* Shared structured footer */
footer.rich-footer { padding:0;background:#0d0f15;border-top:1px solid #ffffff17; }
.footer-invitation { display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:70px;border-bottom:1px solid #ffffff20; }
footer.rich-footer .footer-invitation h2 { font-size:clamp(36px,4.2vw,72px);max-width:850px;line-height:1.12;margin:18px 0 0;font-weight:400; }
.footer-columns { display:grid;grid-template-columns:1.2fr .7fr 1.1fr 1fr;gap:clamp(25px,4vw,70px);padding-block:65px; }
.footer-brand img { width:115px;height:auto;margin-bottom:25px; }
.footer-brand p { font-size:15px;line-height:1.7;color:#aeb2bd;max-width:270px; }
footer.rich-footer h3 { font-size:14px;letter-spacing:.07em;text-transform:uppercase;font-weight:500;margin:0 0 25px;color:#fff; }
.footer-column nav,.footer-column address { display:grid;gap:13px;font-style:normal;line-height:1.6;font-size:15px; }
.footer-column a { color:#b9bdc8; }
.footer-column a:hover { color:var(--red); }
.footer-social { display:flex;flex-wrap:wrap;gap:20px;margin-top:26px;font-size:14px; }
.footer-bottom { display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:25px 0 30px;border-top:1px solid #ffffff20;color:#8e94a2;font-size:13px; }
.footer-bottom a { color:#cbd0db; }
@media(max-width:1180px){
 .mast { gap:20px; }
 .mast .headercta { margin-left:auto; }
 .mast .menu { display:grid;gap:5px;padding:12px 0 12px 8px; }
 .mast .menu span { height:2px;width:26px;background:white; }
 .mast #nav { display:none;position:absolute;top:100%;left:0;right:0;background:#14161cfb;padding:14px var(--g) 24px;border-bottom:1px solid var(--line);gap:0; }
 .mast #nav.open { display:grid; }
 .mast #nav a { padding:10px 0;font-size:14px; }
}
@media(max-width:950px){
 .journal-grid { grid-template-columns:1fr 1fr; }
 .footer-columns { grid-template-columns:1fr 1fr;row-gap:45px; }
 .article-layout { grid-template-columns:1fr;gap:35px; }
 .article-toc { position:static;display:flex;flex-wrap:wrap;gap:15px 25px; }
 .article-toc strong { width:100%; }
 .journal-feature { gap:30px; }
}
@media(max-width:600px){
 .journal-grid,.journal-feature,.archive-list { grid-template-columns:1fr; }
 .journal-heading,.footer-invitation { display:block; }
 .journal-heading .outline,.footer-invitation .outline { margin-top:28px; }
 .journal-feature { margin-bottom:60px; }
 .footer-columns { gap:40px 24px; }
 .footer-brand,.footer-column:last-child { grid-column:1/-1; }
 .article-content p { font-size:17px; }
 .journal-card img { aspect-ratio:1.7; }
}


/* Dedicated homepage photography: centered devices with photographic breathing room. */
body .mosaic.first.home-project-photos { align-items:start; }
body .mosaic.first.home-project-photos .project .frame {
 height:clamp(225px,25vw,520px);
 aspect-ratio:auto;
}
body .mosaic.first.home-project-photos .project .frame img {
 width:100%;max-width:100%;height:100%;margin:0;
 aspect-ratio:auto;object-fit:cover;object-position:center;transform:none;
}
body .mosaic.first.home-project-photos .caption { min-height:74px; }
@media(max-width:760px){
 body .mosaic.first.home-project-photos .project .frame {height:auto;aspect-ratio:4/5;}
 body .mosaic.first.home-project-photos .erreeffe .frame {aspect-ratio:1672/941;}
 body .mosaic.first.home-project-photos .caption {min-height:0;}
}

/* Capurso and Manara share image height and caption baseline at every breakpoint. */
body .mosaic.second { align-items:start;grid-template-columns:1fr 1fr; }
body .mosaic.second .project .frame { height:clamp(220px,25vw,480px);aspect-ratio:auto; }
body .mosaic.second .project .frame img[src*="Hero_progetti_"] {
 height:100%;aspect-ratio:auto;object-fit:cover;object-position:right center;transform:none;
}
body .mosaic.second .caption { align-items:flex-end;min-height:74px; }
@media(max-width:1100px) and (min-width:761px){
 body .mosaic.second .project .frame {height:calc(92.6vw / 2.84);}
}
@media(max-width:760px){
 body .mosaic.second .project .frame {height:calc((100vw - 58px) / 2.84);}
 body .mosaic.second .caption {min-height:70px;}
}
@media(max-width:450px){
 body .mosaic.second {grid-template-columns:1fr;}
 body .mosaic.second .project .frame {height:calc((100vw - 44px) / 1.42);}
 body .mosaic.second .caption {min-height:54px;}
}
