.home-events { background: #fff; color: #102e49; padding: clamp(40px, 6vw, 96px) clamp(20px, 6vw, 96px); }
.home-visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hv-image { display: block; overflow: hidden; min-height: 270px; }
.hv-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 47% 48%; }
.hv-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #edf5f8; padding: clamp(24px, 3.5vw, 56px); }
.hv-copy p, .hv-copy h2 { margin: 0; }
.hv-copy .hv-meta { color: #345972; }
.hv-copy h2 { font-size: clamp(34px, 4.1vw, 64px); line-height: 1.02; letter-spacing: -.045em; margin: .36em 0; font-weight: 600; overflow-wrap: break-word; }
.hv-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em .7em; font-size: 1rem; font-weight: 600; }
.hv-copy .hv-desc { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.48; margin: .95em 0; max-width: 44ch; }
.hv-cta { color: #fff; background: #102e49; padding: 13px 19px; text-decoration: none; font-size: 1rem; font-weight: 600; }
.hv-cta:hover { background: #1e4863; }
.hv-cta span { margin-left: .5em; }

@media (max-width: 700px) {
  .home-visit { grid-template-columns: minmax(0,1fr); }
  .hv-image { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Preserve the full photographic wall. Give its membership invitation one quiet focal point. */
.home47 .mz26[data-v] .zi {
  border: 1px solid #a9e8ef;
  border-radius: 3px;
  background: linear-gradient(145deg, #c5f2fc 0%, #91dae8 60%, #65c7d4 100%);
  color: #102e49;
  box-shadow: 0 8px 23px -14px #071a2a;
}
.home47 .mz26[data-v] .zi .bg,
.home47 .mz26[data-v] .zi::before,
.home47 .mz26[data-v] .zi::after { display: none; }
html[data-pic="0"] .home47 .mz26[data-v] .zi .in {
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(12px, 7cqi, 28px);
}
html[data-pic="0"] .home47 .mz26[data-v] .zi .in > svg {
  display: block; width: clamp(20px, 10cqi, 35px); height: auto; fill: #174361;
}
html[data-pic="0"] .home47 .mz26[data-v] .zi .q {
  font-size: clamp(19px, 12cqi, 43px); line-height: .99; letter-spacing: -.04em; text-wrap: balance;
}
.home47 .mz26[data-v] .zi .bt { gap: clamp(6px, 5cqi, 16px); }
html[data-pic="0"] .home47 .mz26[data-v] .zi .go {
  padding: 0; background: none; color: #102e49; box-shadow: none;
  min-height: 22px; font-size: clamp(11px, 6.7cqi, 18px); line-height: 1.2;
}
html[data-pic="0"] .home47 .mz26[data-v] .zi .go svg { display: block; }
.home47 .mz26 .zi:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.all-dates { margin: 18px 0 0; text-align: right; }
.all-dates a { display: inline-flex; gap: .6em; align-items: center; min-height: 44px; color: #102e49; font-weight: 650; text-underline-offset: 4px; }
.project47-heading { display: grid; gap: 7px; }
#projects .project47-name { color: #28657b; font-size: clamp(16px,1.25vw,20px); font-weight: 650; }
#projects .project47-heading h3 { margin: 0; font-size: clamp(27px, 2.65vw, 46px); line-height: 1.06; letter-spacing: -.035em; }
body:not(.pg) #projects .project47-desc { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.46; color: #3e596c; max-width: 51ch; }
#projects .sp37 { border-top: 1px solid #d7e2ea; padding-top: 12px; gap: 10px 18px; }
#projects .sp37 img { width: auto; height: auto; max-height: 50px; max-width: min(238px, 100%); }
@media (prefers-reduced-motion: no-preference) {
 .home47 .zi .go svg, .all-dates a span { transition: transform .22s ease-out; }
 .home47 .zi:hover .go svg, .home47 .zi:focus-visible .go svg, .all-dates a:hover span, .all-dates a:focus-visible span { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
 .home47 .mz26, .home47 .mz26 .z, .home47 .mz26 .zi { transition: none; }
 .home47 .mz26 .z:hover, .home47 .mz26 .zi:hover { transform: none; }
}
@media (max-width: 380px) {
  #projects > div[style*="display: grid"] { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Member marks retain their supplied colours on a neutral tile. */
.home47 .mz26 .z.lg { background-color: #fff; }
.home47 .mz26 .z.lg img { filter: none; mix-blend-mode: normal; opacity: 1; }
#projects .pi9 { position: relative; }
.project47-illustration { position: absolute; bottom: 8px; right: 8px; padding: 3px 7px; color: white; background: #142d42; font-size: 12px; line-height: 1.3; }

/* Use dense rows of square photos, with the invitation at the end. */
html body .home47 .mz26 { --c:18; --g:5px; grid-auto-flow:row; }
html body .home47 .mz26[data-v] .zi {
  grid-column:span 4; grid-row:auto; min-height:0; border-radius:4px;
  border:1px solid #d0f4ff89; color:#f7fcff;
  background:linear-gradient(115deg,#1c4d65e8,#2d6b81d9),url('assets/mb/sipchem-innovent-sa.jpg') center / cover;
  box-shadow:inset 0 1px #d0f4ff59;
}
html[data-pic="0"] body .home47 .mz26[data-v] .zi .in {justify-content:center;padding:clamp(7px,5cqi,18px);}
html[data-pic="0"] body .home47 .mz26[data-v] .zi .q {font-size:clamp(13px,7.5cqi,27px);line-height:1.05;text-wrap:unset;}
html[data-pic="0"] body .home47 .mz26[data-v] .zi .go {color:#d3f5ff;font-size:clamp(10px,5.5cqi,16px);min-height:0;padding:0;}
.home47 .mz26[data-v] .zi .bt {gap:clamp(3px,2cqi,8px);}
.home47 .photo48 img {width:100%;height:100%;display:block;object-fit:cover;}
body:not(.pg) .home47 .hb39 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
body:not(.pg) .home47 .hb39 a.btn {min-width:0;white-space:normal;text-align:center;}
@media(max-width:1220px){html body .home47 .mz26 {--c:12;}}
@media(max-width:640px){html body .home47 .mz26 {--c:8;--g:4px;}}
