/*
 * ZNJ desktop visual QA — 18 November 2026.
 * Scoped to landscape homepage only. The original photographic/logo files
 * stay unchanged; the previous shared square-card rule forced portrait assets
 * into narrow "contain" strips and left several visual stages unresolved.
 */
@media (min-width:901px) {
  /* Compact, readable square cards with genuinely full-width imagery.
     The photo occupies the top half and content uses the remaining half. */
  body.znj-home .znj-desktop-experience .znj-family-rail > .znj-family-card,
  body.znj-home .znj-desktop-experience .znj-home-published-grid > .znj-home-published-card {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,52fr) minmax(0,48fr)!important;
    height:var(--znj-home-square)!important;
    width:var(--znj-home-square)!important;
    max-height:none!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:clamp(15px,1.5vw,24px)!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-photo,
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-media {
    display:block!important;
    position:relative!important;
    grid-row:1!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    overflow:hidden!important;
    background:#1b201d!important;
    border-radius:0!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-photo img,
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-media img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center 43%!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    filter:none!important;
    border-radius:0!important;
    transition:transform .3s ease;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card:hover .znj-family-photo img {
    transform:scale(1.035)!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card-copy,
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-copy {
    display:flex!important;
    flex-direction:column!important;
    grid-row:2!important;
    min-height:0!important;
    max-height:100%!important;
    height:auto!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    padding:clamp(13px,1.5svh,22px)!important;
    gap:clamp(5px,.6svh,10px)!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card-copy h3 {
    font-size:clamp(23px,2vw,32px)!important;
    line-height:1.13!important;
    margin:0!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card-copy p {
    font-size:clamp(12px,.98vw,15px)!important;
    line-height:1.5!important;
    margin:0!important;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card-copy > a {
    font-size:12px!important;
    margin-top:auto!important;
    padding-top:5px!important;
  }
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-copy h3 {
    font-size:clamp(22px,1.9vw,31px)!important;
    line-height:1.12!important;
    margin:0!important;
  }
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-copy p {
    font-size:clamp(11px,1vw,14px)!important;
    line-height:1.5!important;
    margin:0!important;
  }
  body.znj-home .znj-desktop-experience .znj-home-published-grid .znj-home-published-action {
    font-size:12px!important;
    padding-top:7px!important;
    margin-top:auto!important;
  }
  /* Avoid stale photo masks suppressing image loading or normal events. */
  body.znj-home .znj-desktop-experience .znj-family-card .znj-photo-unavailable,
  body.znj-home .znj-desktop-experience .znj-home-published-card .znj-photo-unavailable {
    visibility:hidden!important;
  }
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-card {
    overflow:hidden!important;
    aspect-ratio:1 / 1!important;
    border:1px solid rgba(218,172,101,.38)!important;
    background:#17201d!important;
  }
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-card > img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 43%!important;
    transform:none!important;
  }
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-card > div {
    background:linear-gradient(0deg,rgba(8,14,12,.97),rgba(8,14,12,.25) 85%,transparent)!important;
  }
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-card h3 {
    font-size:clamp(24px,2vw,36px)!important;
    line-height:1.08!important;
  }

  /* Desktop horizontal service carousels: usable with a mouse, not only a
     trackpad or touch screen. Buttons do not change vertical sheet behavior. */
  body.znj-home .znj-desktop-experience .znj-family-rail-actions {
    display:flex!important;
    gap:9px;
    align-items:center;
    white-space:nowrap;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail-actions > span {
    color:inherit;
    margin-right:5px;
    font-size:10px;
    letter-spacing:.09em;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail-actions button {
    width:35px;height:35px;min-width:35px;
    border:1px solid currentColor;
    background:transparent;
    color:inherit;
    border-radius:50%;
    font:600 18px/1 Georgia,serif;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail-actions button:hover {
    background:rgba(205,164,103,.2);
  }
  body.znj-home .znj-desktop-experience .znj-family-rail-actions button:focus-visible {
    outline:2px solid #d2a46a;
    outline-offset:3px;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail-actions button:disabled {
    opacity:.35;cursor:default;
  }

  /* Marketplace previously renders as an empty pale arch. Keep the
     original art as both img and CSS backdrop for resilient composition. */
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-grid {
    align-items:center!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.04fr)!important;
    gap:clamp(36px,6vw,100px)!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-visual {
    position:relative!important;
    width:100%!important;
    height:clamp(320px,54svh,635px)!important;
    min-height:0!important;
    max-height:calc(100svh - 150px)!important;
    border-radius:clamp(24px,2.8vw,43px)!important;
    border:1px solid rgba(131,95,52,.24)!important;
    background-color:#e2d0b5!important;
    background-image:var(--znj-marketplace-photo)!important;
    background-position:center 42%!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    box-shadow:0 30px 66px rgba(54,36,15,.17)!important;
    overflow:hidden!important;
    opacity:1!important;
    visibility:visible!important;
    clip-path:none!important;
    mask:none!important;
    transform:none!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-visual img:not(.znj-photo-unavailable) {
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 42%!important;
    opacity:1!important;
    visibility:visible!important;
    filter:none!important;
    clip-path:none!important;
    mask:none!important;
    transform:none!important;
    border-radius:0!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-visual img.znj-photo-unavailable {
    visibility:hidden!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-visual:after {
    content:"";
    position:absolute;inset:0;
    background:linear-gradient(0deg,rgba(18,19,15,.2),transparent 42%);
    pointer-events:none;
  }
  /* Keep the left copy from being dwarfed by the right media stage. */
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-parallax-content {
    min-width:0;
    align-self:center;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite h2 {
    font-size:clamp(57px,min(6.1vw,10svh),115px)!important;
    line-height:1.01!important;
    margin-bottom:clamp(15px,2svh,27px)!important;
    text-wrap:balance;
  }

  /* Selected-work cards were fixed at 46svh even when titles were long,
     resulting in the Basant description running outside its panel. */
  body.znj-home .znj-desktop-experience > section.zm-dark-band > .zm-wrap {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:clamp(16px,2vw,28px)!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band > .zm-wrap > .zm-feature,
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-work-archive-highlight .zm-feature {
    height:clamp(360px,51svh,630px)!important;
    max-height:none!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:0!important;
    overflow:hidden!important;
    border-radius:clamp(17px,2vw,31px)!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature > img {
    position:relative!important;
    inset:auto!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content {
    grid-column:2!important;
    grid-row:1!important;
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    padding:clamp(16px,2.1vw,38px)!important;
    justify-content:center!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content h2 {
    font-size:clamp(27px,min(2.9vw,5svh),51px)!important;
    line-height:1.06!important;
    overflow-wrap:break-word;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content p:not(.zm-label) {
    font-size:clamp(12px,.95vw,15px)!important;
    line-height:1.6!important;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content .zm-btn {
    font-size:12px!important;
    padding:11px 13px!important;
    max-width:100%;
    white-space:normal!important;
  }
  /* Historical logos: assets are real PNGs. Always show the names alongside
     original identity marks; no blank white squares when an image fails. */
  body.znj-home .znj-desktop-experience > section.zm-footprint .zm-footprint-list {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:clamp(12px,1.4vw,23px)!important;
    padding:12px 6px 22px!important;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:6px;
    scrollbar-width:thin;
  }
  body.znj-home .znj-desktop-experience > section.zm-footprint .zm-footprint-brand {
    flex:0 0 clamp(205px,18vw,280px)!important;
    width:clamp(205px,18vw,280px)!important;
    min-width:0!important;
    height:clamp(155px,24svh,210px)!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px;
    justify-content:center!important;
    align-items:center!important;
    padding:16px!important;
    border:1px solid rgba(187,148,91,.50)!important;
    border-radius:17px!important;
    background:#f5f2ec!important;
    overflow:hidden!important;
    scroll-snap-align:start;
    box-shadow:0 11px 32px rgba(0,0,0,.14);
  }
  body.znj-home .znj-desktop-experience > section.zm-footprint .zm-footprint-brand img {
    width:100%!important;
    max-width:100%!important;
    height:calc(100% - 30px)!important;
    max-height:128px!important;
    min-height:0!important;
    display:block!important;
    object-fit:contain!important;
    object-position:center!important;
    opacity:1!important;
    visibility:visible!important;
    mix-blend-mode:normal!important;
    filter:none!important;
    background:transparent!important;
    padding:0!important;
    transform:none!important;
    flex:0 1 auto!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-footprint .zm-footprint-brand img[hidden] {
    display:none!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-footprint .znj-footprint-caption {
    display:block!important;
    visibility:visible!important;
    flex:none;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
    color:#43372a!important;
    font:700 clamp(10px,.86vw,13px)/1.35 Manrope,Arial,sans-serif!important;
    letter-spacing:.01em!important;
    text-align:center!important;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-desktop-experience > section.zm-footprint .zm-catalogue-note {
    max-width:850px;
    line-height:1.65;
  }
}
@media (min-width:901px) and (max-height:680px) {
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content {
    padding:12px 16px!important;
  }
  body.znj-home .znj-desktop-experience > section.zm-dark-band .zm-feature-content h2 {
    font-size:clamp(25px,2.35vw,39px)!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-marketplace-invite .znj-invite-visual {
    height:clamp(260px,48svh,450px)!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-photo img {
    transition:none!important;
  }
}

/* Finish the top-page editorial rhythm: full-size story photography and
   readable department links, without changing section data or navigation. */
@media (min-width:901px) {
  body.znj-home .znj-desktop-experience > section.znj-company-story .znj-story-visual {
    height:clamp(330px,57svh,680px)!important;
    min-height:0!important;
    max-height:calc(100svh - 150px)!important;
    border-radius:clamp(22px,2.3vw,36px)!important;
    overflow:hidden!important;
    background:#191e18!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-company-story .znj-story-visual img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 43%!important;
    filter:none!important;
    opacity:1!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-company-story .znj-story-visual figcaption {
    position:absolute!important;
    left:15px!important;right:15px!important;bottom:15px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1.45!important;
    padding:10px 13px!important;
    background:rgba(15,20,17,.72)!important;
    color:#f1dfc0!important;
    backdrop-filter:blur(8px);
  }
  body.znj-home .znj-desktop-experience > section.znj-services-intro .znj-service-index a {
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:12px clamp(15px,1.7vw,26px)!important;
    font:700 clamp(12px,1vw,15px)/1.3 Manrope,Arial,sans-serif!important;
  }
}

/* 18 Nov — Desktop full-height sheets + full-image 1:1 services.
   Override earlier short-section, split-image and 52/48 grid rules.
   Mobile remains authored separately and is untouched. */
@media (min-width:901px) {
  /* A short chapter still fills one physical browser viewport. Never cap a
     content-rich chapter at 100vh: it must grow rather than hide content. */
  body.znj-home .znj-desktop-experience > section {
    min-height:100svh!important;
    min-height:100dvh!important;
    height:auto!important;
    max-height:none!important;
    box-sizing:border-box!important;
  }
  body.znj-home .znj-desktop-experience > section:is(
    .znj-company-story,
    .znj-services-intro,
    .znj-service-family,
    .znj-marketplace-invite,
    .znj-home-journal,
    .znj-desktop-event-calendar,
    .zm-dark-band,
    .zm-footprint,
    .znj-plan
  ) {
    padding-top:clamp(44px,6svh,80px)!important;
    padding-bottom:clamp(44px,6svh,80px)!important;
  }
  /* The full-height artboard is vertically composed even where content is
     sparse. The hero and cinematic grid keep their existing own layouts. */
  body.znj-home .znj-desktop-experience > section:is(
    .znj-company-story,
    .znj-services-intro,
    .znj-service-family,
    .znj-marketplace-invite,
    .znj-home-journal,
    .znj-desktop-event-calendar,
    .zm-dark-band,
    .zm-footprint,
    .znj-plan
  ) {
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:clamp(15px,2.4svh,30px);
  }
  body.znj-home .znj-desktop-experience > section:is(
    .znj-company-story,
    .znj-services-intro,
    .znj-service-family,
    .znj-marketplace-invite,
    .znj-home-journal,
    .znj-desktop-event-calendar,
    .zm-dark-band,
    .zm-footprint,
    .znj-plan
  ) > :is(.zm-wrap,.znj-family-stage,.znj-invite-grid,.znj-plan__inner) {
    margin-block:auto!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-scroll-suite {
    min-height:100svh!important;
    min-height:100dvh!important;
    height:auto!important;
    max-height:none!important;
    align-content:center!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-service-family {
    gap:0!important;
    padding-inline:0!important;
  }
  body.znj-home .znj-desktop-experience > section.znj-service-family .znj-family-stage {
    gap:clamp(15px,2.3svh,27px)!important;
    width:min(94vw,1560px)!important;
    max-width:100%!important;
  }
  /* The same 1:1 outer card is now a single square photograph. No horizontal
     photo strip. A translucent editorial caption floats OVER the image. */
  body.znj-home .znj-desktop-experience {
    --znj-home-square:min(29vw,49svh,420px);
  }
  body.znj-home .znj-desktop-experience .znj-family-rail > .znj-family-card {
    flex:0 0 var(--znj-home-square)!important;
    display:block!important;
    position:relative!important;
    width:var(--znj-home-square)!important;
    height:var(--znj-home-square)!important;
    min-width:0!important;
    min-height:0!important;
    max-height:none!important;
    max-width:none!important;
    aspect-ratio:1 / 1!important;
    overflow:hidden!important;
    background:#17201b!important;
    border:1px solid rgba(221,183,121,.52)!important;
    border-radius:clamp(16px,1.7vw,25px)!important;
    isolation:isolate;
    scroll-snap-align:start;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card > .znj-family-photo {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    grid-row:auto!important;
    overflow:hidden!important;
    background:#17201b!important;
    z-index:0!important;
    border-radius:inherit!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-photo img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    object-fit:cover!important;
    object-position:center 47%!important;
    background:#17201b!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    filter:none!important;
    transition:transform .35s ease;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card:hover .znj-family-photo img {
    transform:scale(1.035)!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card > .znj-family-card-copy {
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    z-index:2!important;
    grid-row:auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:72%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    background:linear-gradient(0deg,rgba(7,13,11,.98) 0%,rgba(7,13,11,.91) 60%,rgba(7,13,11,.10) 100%)!important;
    color:#fff6e9!important;
    padding:clamp(37px,5svh,65px) clamp(16px,1.65vw,26px) clamp(16px,2svh,26px)!important;
    gap:clamp(5px,.65svh,10px)!important;
    border-radius:0 0 clamp(16px,1.7vw,25px) clamp(16px,1.7vw,25px)!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card .znj-family-card-count {
    flex:none!important;
    font:800 10px/1.4 Manrope,Arial,sans-serif!important;
    letter-spacing:.14em!important;
    color:#e9c98f!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card .znj-family-card-copy h3,
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card .znj-family-card-copy h3 {
    flex:none!important;
    color:#fff5e7!important;
    font-size:clamp(23px,min(2.15vw,4.2svh),34px)!important;
    line-height:1.1!important;
    margin:0!important;
    text-wrap:balance;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card .znj-family-card-copy p,
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card .znj-family-card-copy p {
    color:#e5ddcf!important;
    font:400 clamp(11px,.92vw,14px)/1.45 Manrope,Arial,sans-serif!important;
    margin:0!important;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card .znj-family-card-copy > a,
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card .znj-family-card-copy > a {
    color:#f1c88d!important;
    font-size:12px!important;
    font-weight:800!important;
    margin-top:4px!important;
    padding-top:4px!important;
    text-decoration:none!important;
  }
  /* The light Marketing family retains its ivory chapter background but
     uses a dark photo caption for contrast and consistent readability. */
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card {
    border-color:rgba(99,66,28,.5)!important;
  }
  body.znj-home .znj-desktop-experience .znj-service-family--marketing .znj-family-card .znj-family-card-count {
    color:#f0c58b!important;
  }
  body.znj-home .znj-desktop-experience .znj-family-photo img.znj-photo-unavailable {
    visibility:hidden!important;
  }
}
@media (min-width:901px) and (max-height:680px) {
  body.znj-home .znj-desktop-experience {--znj-home-square:min(27vw,43svh,360px)}
  body.znj-home .znj-desktop-experience .znj-family-rail .znj-family-card .znj-family-card-copy {
    max-height:80%!important;
    padding-top:25px!important;
    padding-bottom:12px!important;
  }
}

/* Specificity safeguard: legacy chapter selectors carry !important on their
 * own min-height. The extra .znj-stack-home plus [class] wins for EVERY
 * direct desktop section, even short archives, portfolio and intro slides. */
@media (min-width:901px) {
  body.znj-home .znj-desktop-experience.znj-stack-home > section[class] {
    min-height:100svh!important;
    min-height:100dvh!important;
    height:auto!important;
    max-height:none!important;
  }
}

/* 18 Nov screenshot correction: each settled desktop sheet reaches viewport y=0
   behind the floating header. Previously 80px of the preceding sheet stayed
   visible because sticky pin, scroll-snap and anchor offsets reserved nav space. */
@media (min-width:901px) {
  html:has(body.znj-home) {
    scroll-padding-top:0!important;
  }
  body.znj-home .znj-desktop-experience.znj-stack-home {
    scroll-padding-top:0!important;
  }
  body.znj-home .znj-desktop-experience.znj-stack-home > section[id] {
    scroll-margin-top:0!important;
  }
  body.znj-home.znj-stack-enhanced .znj-desktop-experience.znj-stack-home > section.znj-stack-sheet {
    top:var(--znj-sheet-top,0px)!important;
    scroll-margin-top:0!important;
  }
  /* Header still floats over the full-bleed sheet surface, not behind it. */
  body.znj-home .site-head {
    z-index:250!important;
  }
}
