.home-curated .closing-panel{
  position:relative;
  width:min(calc(100% - (var(--home-gutter) * 2)),var(--home-rail));
  max-width:var(--home-rail);
  min-height:365px;
  margin:112px auto 22px;
  overflow:visible;
  border:0;
  border-top:1px solid rgba(255,255,255,.035);
  color:#f4f3ef;
}

/* The whole composition stays on the page rail. The dark field begins
   behind the copy, while the seal occupies the rail's left-hand bay. */
.home-curated .closing-panel::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0 0 0 180px;
  pointer-events:none;
  border:0;
  background:#0d0d0d;
}

.home-curated .closing-panel .closing-cta-section{
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  min-height:365px;
  margin:0;
  padding:76px 22px 82px 258px;
  display:flex;
  align-items:center;
}

.home-curated .closing-panel .cta-panel{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:42px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

.home-curated .closing-panel .cta-panel .section-kicker{
  color:var(--accent);
  font-size:11px;
}

.home-curated .closing-panel .cta-panel h2{
  max-width:640px;
  margin:12px 0 14px;
  color:#f4f3ef !important;
  font-size:clamp(40px,3vw,48px);
  line-height:.88;
  letter-spacing:-.065em;
}

.home-curated .closing-panel .cta-panel h2 span{display:block}
.home-curated .closing-panel .cta-panel p{
  max-width:660px;
  margin:0;
  color:#aaa8a2 !important;
  font-size:14px;
  line-height:1.55;
}

.home-curated .closing-panel .cta-actions{
  justify-content:flex-end;
  flex-wrap:nowrap;
}

.home-curated .closing-panel .cta-button,
.home-curated .closing-panel .cta-link{
  min-height:42px;
  padding-inline:20px;
  font-size:10px;
}

.home-curated .closing-panel .cta-link{
  color:#f4f3ef;
  border-color:rgba(255,255,255,.18);
}

.home-curated .closing-panel .site-footer{
  position:static;
  width:100%;
  margin:0;
  padding:0;
  border:0;
}

.home-curated .closing-panel .footer-layout.shell{
  width:auto;
  max-width:none;
  margin:0;
}

.home-curated .closing-panel .footer-layout{display:block}
.home-curated .closing-panel .footer-brand-block{
  position:absolute;
  z-index:2;
  left:0;
  top:80px;
  width:250px;
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#080808;
}

.home-curated .closing-panel .footer-mark-wrap{width:205px;height:205px}
.home-curated .closing-panel .footer-mark-wrap .footer-mark{
  width:100%;
  height:100%;
  /* This field stays dark in both themes. Keep the white seal from inheriting
     the Day Mode filter used by footers placed on light surfaces. */
  filter:none;
}
.home-curated .closing-panel .footer-mark-light{opacity:1}
.home-curated .closing-panel .footer-mark-dark{opacity:0}
.home-curated .closing-panel .footer-columns{
  position:absolute;
  z-index:2;
  right:36px;
  bottom:26px;
  display:block;
}

.home-curated .closing-panel .footer-socials{display:grid;justify-items:end;gap:8px}
.home-curated .closing-panel .footer-socials strong{color:#f4f3ef}
.home-curated .closing-panel .footer-bottom-bar.shell{
  position:absolute;
  z-index:2;
  left:258px;
  right:280px;
  bottom:28px;
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  justify-content:flex-start;
  gap:18px;
  color:#77746f;
}

.home-curated .closing-panel .footer-bottom-bar a,
.home-curated .closing-panel .footer-bottom-bar span{color:#77746f}
html[data-theme="light"] .home-curated .closing-panel::before{background:#101010}
.project-page .closing-panel .site-footer,
.archive-page .closing-panel .site-footer{margin-top:0}

/* =========================================================
   LZK ARCHIVE v2.26 · DAY closing palette
   Restore the light-theme seal and readable editorial copy without
   changing the approved rail, geometry or NIGHT presentation.
   ========================================================= */
html[data-theme="light"] .home-curated .closing-panel{
  color:var(--theme-text);
  border-top-color:var(--theme-line);
}
html[data-theme="light"] .home-curated .closing-panel::before{
  background:transparent;
}
html[data-theme="light"] .home-curated .closing-panel .cta-panel h2{
  color:var(--theme-text) !important;
}
html[data-theme="light"] .home-curated .closing-panel .cta-panel p{
  color:var(--theme-muted) !important;
}
html[data-theme="light"] .home-curated .closing-panel .cta-link{
  color:var(--theme-text);
  border-color:var(--theme-line);
}
html[data-theme="light"] .home-curated .closing-panel .footer-brand-block{
  background:transparent;
}
html[data-theme="light"] .home-curated .closing-panel .footer-mark-light{
  opacity:0;
}
html[data-theme="light"] .home-curated .closing-panel .footer-mark-dark{
  opacity:1;
}
html[data-theme="light"] .home-curated .closing-panel .footer-socials strong{
  color:var(--theme-text);
}
html[data-theme="light"] .home-curated .closing-panel .footer-bottom-bar a,
html[data-theme="light"] .home-curated .closing-panel .footer-bottom-bar span{
  color:var(--theme-muted);
}

/* =========================================================
   LZK ARCHIVE v3.1 · Closing section integrated with site
   Remove the independent panel field so the closing content
   belongs to the same page canvas and editorial rail.
   ========================================================= */
.home-curated .closing-panel{
  margin-top:72px;
  margin-bottom:0;
  background:transparent;
  box-shadow:none;
  border-top-color:var(--theme-line);
  color:var(--theme-text);
}
.home-curated .closing-panel::before{
  background:transparent;
}
.home-curated .closing-panel .footer-brand-block{
  background:transparent;
}
.home-curated .closing-panel .cta-panel h2{
  color:var(--theme-text) !important;
}
.home-curated .closing-panel .cta-panel p{
  color:var(--theme-muted) !important;
}
.home-curated .closing-panel .cta-link{
  color:var(--theme-text);
  border-color:var(--theme-line-strong);
}
.home-curated .closing-panel .footer-socials strong{
  color:var(--theme-text);
}
.home-curated .closing-panel .footer-bottom-bar a,
.home-curated .closing-panel .footer-bottom-bar span{
  color:var(--theme-muted);
}

@media (max-width:1279px){
  .home-curated .closing-panel::before{left:150px}
  .home-curated .closing-panel .closing-cta-section{
    padding-left:190px;
    padding-right:30px;
  }
  .home-curated .closing-panel .cta-panel h2{font-size:clamp(40px,3.6vw,48px)}
  .home-curated .closing-panel .footer-brand-block{width:180px}
  .home-curated .closing-panel .footer-mark-wrap{width:150px;height:150px}
  .home-curated .closing-panel .footer-bottom-bar.shell{left:190px}
}

@media (max-width:1180px){
  .home-curated .closing-panel .cta-panel{
    grid-template-columns:minmax(0,1fr);
    gap:26px;
  }
  .home-curated .closing-panel .cta-actions{justify-content:flex-start}
}

@media (max-width:767px){
  .home-curated .closing-panel{
    width:calc(100% - 40px);
    min-height:0;
    margin-top:52px;
    margin-bottom:0;
  }
  .home-curated .closing-panel::before{inset:0}
  .home-curated .closing-panel .closing-cta-section{
    min-height:0;
    padding:28px 22px 30px;
    align-items:flex-start;
  }
  .home-curated .closing-panel .cta-panel{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:26px;
  }
  .home-curated .closing-panel .cta-panel::before{
    content:"";
    width:138px;
    aspect-ratio:1;
    margin-bottom:4px;
    background:url("../img/brand/motion-bureau-light.svg") center/contain no-repeat;
  }
  .home-curated .closing-panel .cta-panel h2{
    max-width:none;
    font-size:clamp(38px,11.5vw,52px);
    line-height:.92;
  }
  .home-curated .closing-panel .cta-panel h2 span{display:inline}
  .home-curated .closing-panel .cta-panel p{font-size:13px}
  .home-curated .closing-panel .cta-actions{
    display:grid;
    width:100%;
  }
  .home-curated .closing-panel .cta-button,
  .home-curated .closing-panel .cta-link{width:100%}
  .home-curated .closing-panel .footer-brand-block{display:none}
  .home-curated .closing-panel .site-footer{
    min-height:142px;
    padding:20px 22px max(24px,env(safe-area-inset-bottom));
    border-top:1px solid var(--theme-line);
  }
  .home-curated .closing-panel .footer-columns{position:static;display:block}
  .home-curated .closing-panel .footer-socials{justify-items:start}
  .home-curated .closing-panel .footer-bottom-bar.shell{
    position:static;
    width:100%;
    margin-top:22px;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:8px 16px;
  }
  html[data-theme="light"] .home-curated .closing-panel .cta-panel::before{
    background-image:url("../img/brand/motion-bureau-dark.svg");
  }
  html[data-theme="light"] .home-curated .closing-panel .site-footer{
    border-top-color:var(--theme-line);
  }
}
