/* ZNJ / Grouped service showroom. Same existing scene assets, separate
 * desktop landscape and mobile portrait compositions. Scoped to homepage. */
@media(min-width:901px){
  body.znj-home .znj-desktop-experience > section.znj-service-family{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:center!important;
    min-height:calc(100svh - var(--znj-stack-header,88px))!important;
    padding:clamp(18px,3svh,40px) 0!important;
    background:#111b18!important;
    color:#f8f0e6!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-service-family--media{
    background:#191b1a!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-service-family--marketing{
    background:#eee6d9!important;
    color:#241e18!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-stage{
    width:min(94vw,1560px)!important;
    margin:auto!important;
    display:flex;flex-direction:column;
    gap:clamp(13px,2svh,29px);
    min-width:0;
  }
  body.znj-home .znj-desktop-experience .znj-family-heading{
    display:grid;
    grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);
    gap:clamp(20px,4vw,70px);align-items:end;
    border-bottom:1px solid rgba(219,178,112,.35);
    padding-bottom:clamp(10px,1.7svh,20px);
    margin:0;
  }
  body.znj-home .znj-desktop-experience .znj-family-heading h2{
    margin:10px 0 0!important;
    font:400 clamp(40px,min(6vw,9svh),102px)/.97 "Playfair Display",Georgia,serif!important;
    letter-spacing:-.055em!important;
    text-wrap:balance;
    color:#fff5e8!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-intro p{
    margin:0 0 14px!important;line-height:1.65!important;
    font-size:clamp(12px,1.1vw,16px)!important;
    color:#e0d3c0!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-intro a{
    color:#e5ba7c!important;text-decoration:none;font-weight:700;
    font-size:12px;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-heading h2,
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-heading .zm-label{
    color:#282018!important;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-intro p{
    color:#534739!important;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-intro a{
    color:#845722!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail{
    display:flex!important;flex-wrap:nowrap!important;
    gap:clamp(12px,1.7vw,25px)!important;
    width:100%!important;
    padding:6px 8px clamp(10px,1.5svh,18px)!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:8px;
    -webkit-overflow-scrolling:touch;
    scrollbar-color:#a47c45 transparent;
    scrollbar-width:thin;
    min-width:0;
  }
  body.znj-home .znj-desktop-experience .znj-family-card{
    display:flex!important;flex-direction:column;
    flex:0 0 clamp(258px,28vw,405px)!important;
    width:clamp(258px,28vw,405px)!important;
    scroll-snap-align:start;
    min-width:0;overflow:hidden;
    background:#242824;
    border:1px solid rgba(219,181,116,.32);
    border-radius:clamp(14px,1.6vw,25px);
    box-shadow:0 14px 30px rgba(0,0,0,.17);
  }
  body.znj-home .znj-desktop-experience .znj-family-photo{
    display:block;width:100%;
    height:clamp(145px,24svh,265px)!important;
    flex:none;overflow:hidden;background:#31332c;
  }
  body.znj-home .znj-desktop-experience .znj-family-photo img{
    width:100%;height:100%;display:block;object-fit:cover;
    transition:scale .3s ease;
  }
  body.znj-home .znj-desktop-experience .znj-family-card:hover .znj-family-photo img{
    scale:1.045;
  }
  body.znj-home .znj-desktop-experience .znj-family-card-copy{
    display:flex;flex-direction:column;gap:clamp(5px,.8svh,11px);
    flex:1;padding:clamp(12px,1.7svh,23px);
  }
  body.znj-home .znj-desktop-experience .znj-family-card-count{
    font-size:10px;letter-spacing:.12em;color:#d5b37e;
    font-family:Manrope,Arial,sans-serif;
  }
  body.znj-home .znj-desktop-experience .znj-family-card h3{
    font:400 clamp(21px,2.3vw,35px)/1.13 "Playfair Display",Georgia,serif!important;
    margin:0!important;color:#fff3e4!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-card-copy p{
    color:#ded3c3!important;font:400 clamp(11px,.95vw,14px)/1.5 Manrope,Arial,sans-serif!important;
    margin:0!important;overflow-wrap:anywhere;
  }
  body.znj-home .znj-desktop-experience .znj-family-card-copy > a{
    font:700 12px/1.5 Manrope,Arial,sans-serif;
    color:#e8c18b!important;text-decoration:none;
    margin-top:auto;padding-top:8px;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card{
    background:#fffaf2;border-color:#c4a57b;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card :is(h3){
    color:#28211b!important;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card p{
    color:#544638!important;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card-count,
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card-copy > a{
    color:#835822!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-footer{
    display:flex;justify-content:space-between;
    align-items:center;gap:15px;flex-wrap:wrap;
    color:#c9ad84;font:700 10px/1.5 Manrope,Arial,sans-serif;
    letter-spacing:.07em;
  }
  body.znj-home .znj-desktop-experience .znj-family-footer a{
    color:inherit;text-decoration:none;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-footer{color:#785629}
  body.znj-home .znj-desktop-experience .znj-family-rail:focus-visible{
    outline:2px solid #cba36c!important;outline-offset:3px;
  }
  /* Short landscape screens: keep card images compact and copy fully readable.
     Intrinsic sheet height can grow if content absolutely cannot fit. */
  @media(max-height:690px){
    body.znj-home .znj-desktop-experience .znj-family-heading h2{
      font-size:clamp(34px,5.8svh,68px)!important;
    }
    body.znj-home .znj-desktop-experience .znj-family-photo{
      height:clamp(100px,19svh,165px)!important;
    }
  }
}
@media(max-width:900px){
  body.znj-home .znj-mobile-home > .znj-m-service-family{
    min-height:calc(100svh - var(--znj-m-header,0px))!important;
    justify-content:center!important;
    gap:clamp(12px,2svh,25px)!important;
  }
  body.znj-home .znj-mobile-home > .znj-m-service-family--events{
    background:#f0e8da!important;color:#282019!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--events :is(h2,h2 em){
    color:#2e241b!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-eyebrow{
    color:#846135!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-panel-content > p{
    color:#55493d!important;
  }
  body.znj-home .znj-mobile-home > .znj-m-service-family--media{
    background:#14201d!important;
  }
  body.znj-home .znj-mobile-home > .znj-m-service-family--marketing{
    background:#eee6da!important;color:#282019!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing :is(h2,h2 em){
    color:#2c261f!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-eyebrow{
    color:#79502c!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-panel-content > p{
    color:#554638!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-product-card{
    background:#fffbf3!important;
    border-color:#c8a773!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy h3{
    color:#30271e!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy p{
    color:#594b3f!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy a,
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-carousel-footer a{
    color:#8a622c!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-carousel-footer{color:#76552d!important}
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-product-card{
    background:#fffaf2!important;border-color:#c1a476!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy h3{color:#28221c!important}
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy p{color:#574c40!important}
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy a{color:#845b27!important}
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-carousel-footer{color:#79603f!important}
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-carousel-footer a{color:#754d25!important}
}
@media(prefers-reduced-motion:reduce){
  body.znj-home .znj-desktop-experience .znj-family-photo img{transition:none!important}
}
