/* ONE canonical footer, consistent with the approved portrait design.
 * Desktop adopts portrait's warm charcoal, golden outlines, horizontally
 * swipeable content panels and understated editorial header.
 * This loads last and intentionally overrides homepage/expertise legacy
 * desktop footer grids without changing the mobile appearance. */
@media(min-width:901px){
 body .site-footer{
  --znj-footer-card-bg:#222923;
  background:#101713!important;color:#f4ecdf!important;
  width:100%;max-width:none;box-sizing:border-box;
  border-top:1px solid rgba(229,190,124,.27);
  padding:clamp(48px,6svh,84px) 0 clamp(26px,3.6svh,52px)!important;
 }
 body .site-footer>.wrap{
  display:flex!important;flex-direction:column!important;
  width:min(100% - clamp(56px,8vw,140px),1560px)!important;
  max-width:none!important;margin-inline:auto!important;
  gap:clamp(20px,3svh,37px)!important;
  padding:0!important;
 }
 body .site-footer .footer-intro,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-intro,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-intro{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;min-width:0!important;
  gap:clamp(22px,4vw,80px)!important;
  padding:0!important;margin:0!important;
  border:0!important;
 }
 body .site-footer .footer-intro .kicker{
  color:#eac287!important;font:800 11px/1.4 Manrope,Arial,sans-serif!important;
  letter-spacing:.16em!important;margin:0 0 12px!important;
 }
 body .site-footer .footer-intro h2,
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet .footer-intro h2,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-intro h2{
  font:400 clamp(45px,5.1vw,88px)/1.04 "Playfair Display",Georgia,serif!important;
  letter-spacing:-.058em!important;
  max-width:1100px!important;margin:0!important;
  text-wrap:balance;color:#f5ebdf!important;
 }
 body .site-footer .footer-intro h2 em{color:#eac287!important}
 body .site-footer .footer-intro .round-arrow,
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet .footer-intro .round-arrow,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-intro .round-arrow{
  display:inline-flex!important;flex:none!important;align-items:center!important;justify-content:center!important;
  width:clamp(64px,7vw,95px)!important;height:clamp(64px,7vw,95px)!important;
  min-width:64px!important;border-radius:50%!important;
  background:#e6bf86!important;color:#151913!important;
  border:1px solid #e9c58d!important;
  font-size:clamp(30px,3vw,43px)!important;
 }
 body .site-footer .znj-footer-rail-hint{
  display:block!important;margin:0!important;
  padding:0!important;color:#e8c188!important;
  font:800 10px/1.5 Manrope,Arial,sans-serif!important;
  letter-spacing:.14em!important;
 }
 body .site-footer .footer-cols,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols{
  display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
  justify-content:flex-start!important;
  gap:clamp(12px,1.5vw,24px)!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  padding:5px 3px 19px!important;margin:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory;scroll-padding-inline:3px;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:#b99362 #242a25;
  border:0!important;touch-action:pan-x pan-y;
 }
 body .site-footer .footer-cols>div,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols>div,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols>div:not(.znj-swipe-gap){
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;flex-wrap:nowrap!important;
  flex:0 0 clamp(255px,27vw,380px)!important;
  width:clamp(255px,27vw,380px)!important;
  min-width:0!important;max-width:none!important;grid-column:auto!important;
  box-sizing:border-box!important;
  min-height:clamp(260px,35svh,385px)!important;
  max-height:min(48svh,490px)!important;
  padding:clamp(22px,2.7vw,32px)!important;
  margin:0!important;
  background:#222923!important;
  border:1px solid rgba(229,190,124,.35)!important;
  border-radius:18px!important;
  box-shadow:0 12px 33px rgba(0,0,0,.13);
  overflow-x:hidden!important;overflow-y:auto!important;
  gap:clamp(8px,1.15svh,13px)!important;
  scroll-snap-align:start;
 }
 body .site-footer .footer-cols h3,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols h3,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols h3{
  font:800 11px/1.5 Manrope,Arial,sans-serif!important;color:#f0c58b!important;
  letter-spacing:.12em!important;margin:0 0 8px!important;
 }
 body .site-footer .footer-cols a:not(.site-identity),
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols a:not(.site-identity),
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols a:not(.site-identity){
  display:block!important;font:650 13px/1.55 Manrope,Arial,sans-serif!important;
  color:#ece1d0!important;white-space:normal!important;
  overflow-wrap:anywhere!important;text-decoration:none;
 }
 body .site-footer .footer-cols a:hover{color:#f6d79d!important}
 body .site-footer .footer-brand>p,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-brand>p,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-brand>p{
  display:block!important;margin:12px 0 0!important;
  font:400 12px/1.7 Manrope,Arial,sans-serif!important;color:#d6c9b7!important;
 }
 body .site-footer .footer-brand img{
  display:block!important;width:min(100%,245px)!important;
  height:auto!important;max-height:115px!important;
  filter:none!important;transform:none!important;object-fit:contain!important;
 }
 body .site-footer .footer-bottom,
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet .footer-bottom,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-bottom{
  display:flex!important;justify-content:space-between!important;
  align-items:flex-start!important;flex-wrap:wrap!important;
  gap:10px 22px!important;padding:10px 0 0!important;margin:0!important;
  font:500 11px/1.65 Manrope,Arial,sans-serif!important;color:#c1b5a4!important;
 }
 body .site-footer .footer-bottom a{color:#dec08e!important}
 body .site-footer .footer-cols:focus-visible{
  outline:2px solid #e9c18a!important;outline-offset:2px!important;
 }
 /* Avoid double full-screen padding in desktop sticky footer chapters. */
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet>.site-footer,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet>.site-footer{
  min-height:100svh!important;min-height:100dvh!important;
  display:flex!important;align-items:center!important;
 }
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet>.site-footer>.wrap,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet>.site-footer>.wrap{
  margin-block:auto!important;justify-content:center!important;
 }
}
@media(min-width:901px) and (max-height:700px){
 body .site-footer{padding-block:24px!important}
 body .site-footer .footer-cols>div:not(.znj-swipe-gap){min-height:205px!important;max-height:270px!important}
 body .site-footer .footer-intro h2{font-size:clamp(38px,6svh,68px)!important}
}


/* The card strip is enhanced at runtime with tiny chevron separators.
   These are controls, NOT cards. Exclude them from the card selectors above
   and from older homepage/expertise footer rules with higher specificity. */
body .site-footer .footer-cols > .znj-swipe-gap,
body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols > .znj-swipe-gap,
body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols > .znj-swipe-gap,
body.znj-home.znj-mock .znj-mobile-home .znj-m-footer-sheet .footer-cols > .znj-swipe-gap,
body.znj-expertise .znj-exp-mobile .znj-exp-m-footer-sheet .footer-cols > .znj-swipe-gap{
 display:flex!important;flex:0 0 18px!important;
 width:18px!important;min-width:18px!important;max-width:18px!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 align-self:stretch!important;align-items:center!important;justify-content:center!important;
 padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:visible!important;
 scroll-snap-align:none!important;
}
body .site-footer .footer-cols > .znj-swipe-gap[hidden]{display:none!important}
@media(max-width:900px){
 body .site-footer .footer-cols > .znj-swipe-gap{
  flex-basis:15px!important;width:15px!important;min-width:15px!important;max-width:15px!important;
 }
}

/* Footer sizing correction: four real groups fit inside desktop width.
   No forced carousel on desktop: vertical content is more discoverable and
   avoids the huge empty fixed-height cards reported on the live homepage. */
@media (min-width:901px){
 body .site-footer .footer-cols,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.25fr) minmax(0,.95fr) minmax(0,1.05fr)!important;
  align-items:stretch!important;justify-content:stretch!important;
  gap:clamp(12px,1.35vw,22px)!important;
  width:100%!important;
  padding:0!important;margin:0!important;
  overflow:visible!important;
  scroll-snap-type:none!important;
  scrollbar-width:none!important;
  touch-action:auto!important;
  border:0!important;
 }
 body .site-footer .footer-cols > div:not(.znj-swipe-gap),
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols > div:not(.znj-swipe-gap),
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols > div:not(.znj-swipe-gap){
  box-sizing:border-box!important;
  flex:none!important;
  display:flex!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:clamp(17px,1.65vw,26px)!important;
  gap:clamp(6px,.7vw,10px)!important;
  overflow:visible!important;
  scroll-snap-align:none!important;
 }
 body .site-footer .footer-cols > .znj-swipe-gap{
  display:none!important;
 }
 body .site-footer .znj-footer-rail-hint{display:none!important}
 body .site-footer .footer-intro h2,
 body.znj-home .znj-desktop-experience .znj-final-footer-sheet .footer-intro h2,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-intro h2{
  font-size:clamp(39px,4.6vw,73px)!important;
 }
 body .site-footer .footer-brand img{
  width:min(100%,180px)!important;max-height:76px!important;
 }
}
@media (min-width:901px) and (max-width:1100px){
 body .site-footer>.wrap{width:calc(100% - 48px)!important}
 body .site-footer .footer-cols,
 body.znj-home.znj-mock .znj-desktop-experience .znj-final-footer-sheet .footer-cols,
 body.znj-expertise .znj-exp-desktop .znj-exp-footer-sheet .footer-cols{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
/* Portrait remains swipeable by design but cards should size to their
   actual content, not reserve nearly half the screen as empty space. */
@media (max-width:900px){
 body .site-footer .footer-cols > div:not(.znj-swipe-gap),
 body.znj-home.znj-mock .znj-mobile-home .znj-m-footer-sheet .footer-cols > div:not(.znj-swipe-gap),
 body.znj-expertise .znj-exp-mobile .znj-exp-m-footer-sheet .footer-cols > div:not(.znj-swipe-gap){
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:clamp(16px,4vw,23px)!important;
  align-self:stretch!important;
 }
}
