/*
 * ZNJ | Cinematic Parallax × Layered Sheets
 * Public homepage only. Natural scrolling, content-driven heights, no modal or scroll hijacking.
 * Progressive enhancement: without JS every section is visible in ordinary document flow.
 */
body.znj-home .znj-stack-home {
  --znj-stack-header: 88px;
  --znj-stack-overlap: clamp(18px, 3.4vw, 48px);
  overflow: visible !important;
  isolation: isolate;
  position: relative;
}
body.znj-home #main,
body.znj-home #main > .znj-stack-home {
  overflow: visible !important;
}
body.znj-home .znj-stack-home > section {
  position: relative;
  min-height: 0;
  height: auto;
  isolation: isolate;
  box-sizing: border-box;
  margin: 0;
  border-radius: 0;
  overflow: clip;
  background-color: #10110f;
  color: #f7f1e8;
}
/* As subsequent sheets rise, they overlap the previous section by a restrained amount. */
body.znj-home .znj-stack-home > section + section {
  margin-top: calc(-1 * var(--znj-stack-overlap));
  border-radius: clamp(18px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px) 0 0;
  box-shadow: 0 -22px 65px rgba(0,0,0,.38), 0 -1px 0 rgba(220,180,104,.2);
}
body.znj-home .znj-stack-home > section:nth-of-type(4n + 1) { background-color: #10110f; }
body.znj-home .znj-stack-home > section:nth-of-type(4n + 2) { background-color: #181713; }
body.znj-home .znj-stack-home > section:nth-of-type(4n + 3) { background-color: #131715; }
body.znj-home .znj-stack-home > section:nth-of-type(4n) { background-color: #211d17; }
/* Short sections remain under the header; tall sheets use a negative sticky offset
   calculated from measured height so the entire content can scroll into view. */
@supports (position: sticky) {
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet {
    position: sticky;
    top: var(--znj-sheet-top, var(--znj-stack-header));
    z-index: var(--znj-sheet-layer, 1);
    will-change: auto;
  }
}
body.znj-home .znj-stack-home > section.znj-stack-sheet:focus-within {
  outline-offset: -4px;
}
body.znj-home .znj-stack-home > section.znj-stack-sheet .zm-wrap {
  position: relative;
  z-index: 1;
}
body.znj-home .znj-stack-home > section.znj-company-story {
  padding-block: clamp(75px, 10vw, 156px);
  background: radial-gradient(circle at 82% 20%, #4a342223 0, transparent 45%), #171713;
}
.znj-company-story .znj-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 7vw, 112px);
}
.znj-company-story .znj-story-layout h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 83px);
  letter-spacing: -.04em;
  line-height: 1.07;
  max-width: 790px;
  margin: 16px 0 26px;
}
.znj-company-story .znj-story-layout p:not(.zm-label) {
  color: #d8d1c7;
  line-height: 1.9;
  font-size: clamp(14px, 1.1vw, 17px);
  max-width: 630px;
}
.znj-company-story .znj-story-visual {
  margin: 0;
  border: 1px solid #b391533b;
  background: #0d0e0d;
  padding: clamp(8px,1vw,15px);
  border-radius: 16px;
  box-shadow: 0 30px 70px #05050563;
}
.znj-company-story .znj-story-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 9px;
}
.znj-company-story .znj-story-visual figcaption {
  padding: 14px 7px 4px;
  color: #cbbd9f;
  font: 600 11px/1.6 Manrope, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.znj-company-story .znj-story-links {display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
body.znj-home .znj-stack-home > section.znj-marketplace-invite {
  padding-block: clamp(85px, 11vw, 165px);
  background: #ede7db;
  color: #201b14;
}
.znj-marketplace-invite .znj-invite-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
  align-items:center;
  gap:clamp(28px,6vw,100px);
}
.znj-marketplace-invite .zm-label {color:#786038}
.znj-marketplace-invite h2 {
  font:400 clamp(43px,5.4vw,86px)/1.04 "Playfair Display",Georgia,serif;
  letter-spacing:-.045em;
  margin:14px 0 23px;
  color:#201b14;
}
.znj-marketplace-invite p:not(.zm-label) {max-width:570px;color:#5c554b;line-height:1.85;font-size:clamp(14px,1.2vw,18px)}
.znj-marketplace-invite .znj-invite-visual img {
  width:100%;height:auto;display:block;object-fit:contain;
  border-radius:14px;box-shadow:0 32px 72px #29201324;
}
.znj-marketplace-invite .znj-invite-links {display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.znj-marketplace-invite .znj-invite-links a {
  display:inline-flex;align-items:center;justify-content:center;padding:15px 23px;
  border-radius:4px;border:1px solid #30271c;background:#241e17;color:#f6eedc;
  text-decoration:none;font-weight:700;font-size:13px;
}
.znj-marketplace-invite .znj-invite-links a + a {background:transparent;color:#30271c}
.znj-marketplace-invite .znj-invite-links a:focus-visible,
.znj-company-story .znj-story-links a:focus-visible {outline:3px solid #ba944c;outline-offset:4px}
/* Existing image assets are kept uncropped on the new editorial visuals.
   Existing gallery media retains its own intentional framing. */
body.znj-home .znj-stack-home .znj-story-visual img,
body.znj-home .znj-stack-home .znj-invite-visual img {object-fit:contain!important}
/* Parallax is deliberately limited to editorial text/media wrappers, not each
   content image, avoiding image cutoffs and interference with galleries. */
@media (prefers-reduced-motion: no-preference) {
  body.znj-home.znj-stack-enhanced .znj-stack-sheet > .zm-wrap,
  body.znj-home.znj-stack-enhanced .znj-stack-sheet > .znj-parallax-content {
    transform: translate3d(0,var(--znj-sheet-depth,0px),0);
  }
}
@media (max-width: 760px) {
  body.znj-home .znj-stack-home { --znj-stack-overlap: 22px; }
  .znj-company-story .znj-story-layout,
  .znj-marketplace-invite .znj-invite-grid {grid-template-columns:minmax(0,1fr)}
  .znj-company-story .znj-story-visual {max-width:100%}
  body.znj-home .znj-stack-home > section.znj-company-story,
  body.znj-home .znj-stack-home > section.znj-marketplace-invite {padding-block:75px 95px}
  .znj-company-story .znj-story-layout h2,
  .znj-marketplace-invite h2 {font-size:clamp(36px,9vw,58px)}
}
@media (prefers-reduced-motion: reduce) {
  body.znj-home .znj-stack-home > section {scroll-behavior:auto!important}
  body.znj-home .znj-stack-home > section .zm-wrap,
  body.znj-home .znj-stack-home > section .znj-parallax-content {
    transform:none!important;transition:none!important;animation:none!important;
  }
}
/* Sections may exceed the viewport. No forced min-height/100vh for sheets. */

/* Consolidated work and marketplace modules: one sheet per distinct purpose. */
body.znj-home .zm-work-archive-highlight {
  margin-top: clamp(24px, 4vw, 58px);
  padding-top: clamp(24px, 3vw, 44px);
  border-top: 1px solid rgba(210, 174, 107, .25);
}
body.znj-home .zm-work-archive-highlight .zm-feature {
  min-height: min(70vw, 440px);
}
body.znj-home .znj-marketplace-invite .znj-marketplace-events {
  margin-top: clamp(60px, 9vw, 110px);
  color: #f7f0e4;
}
body.znj-home .znj-marketplace-invite .znj-marketplace-events .znj-home-calendar {
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  padding: clamp(40px, 5vw, 74px) 0;
  border: 1px solid rgba(133, 98, 47, .3);
}
body.znj-home .znj-marketplace-invite .znj-marketplace-events .znj-home-published-head h2,
body.znj-home .znj-marketplace-invite .znj-marketplace-events .znj-home-published-copy h3 {
  color: #fff;
}
body.znj-home .znj-marketplace-invite .znj-marketplace-events .znj-home-published-head p:not(.zm-label),
body.znj-home .znj-marketplace-invite .znj-marketplace-events .znj-home-published-copy p {
  color: #d6cabb;
}
body.znj-home .znj-marketplace-invite .znj-marketplace-events .zm-label { color: #dfbb7f; }
@media(max-width:760px){
  body.znj-home .zm-work-archive-highlight .zm-feature { min-height: 0; }
  body.znj-home .znj-marketplace-invite .znj-marketplace-events {
    margin-top: 56px;
  }
}

/* November refinement: no viewport-driven clipping in hero or service chapters.
   Older ZNJ stylesheets impose 88svh/820px hero caps and square clipped cards;
   these homepage-scoped rules supersede them without changing inner pages. */
body.znj-home .znj-stack-home > section.zm-home-hero {
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  min-height: max(660px, 100svh) !important;
  padding-block: clamp(110px, 13vh, 190px) clamp(115px, 12vh, 170px) !important;
  display: flex;
  align-items: center;
}
body.znj-home .znj-stack-home > section.zm-home-hero > .zm-wrap {
  padding-block: 0 !important;
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 48px));
  min-width: 0;
}
body.znj-home .znj-stack-home > section.zm-home-hero > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  z-index: -2;
}
body.znj-home .znj-stack-home > section.zm-home-hero h1 {
  max-width: min(850px, 100%) !important;
  overflow-wrap: anywhere;
  line-height: 1.04 !important;
  margin-bottom: clamp(16px, 3vw, 30px);
}
body.znj-home .znj-stack-home > section.zm-home-hero h1 .zm-script {
  line-height: 1.14;
  display: block;
}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-stats {
  position: relative !important;
  margin-top: clamp(30px, 5vw, 65px);
  max-width: 100% !important;
  width: auto !important;
}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-hero-sign {
  bottom: clamp(24px, 3.5vw, 56px);
  right: 4%;
  max-width: 35%;
}
/* New service sections: each one is a first-class sheet in the same
   scroll stack as the rest of the company experience. */
body.znj-home .znj-stack-home > section.znj-services-intro,
body.znj-home .znj-stack-home > section.znj-service-sheet,
body.znj-home .znj-stack-home > section.znj-services-empty {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  padding-block: clamp(75px, 10vw, 150px) clamp(100px, 11vw, 165px);
}
body.znj-home .znj-stack-home > section.znj-services-intro {
  background: #ede7dc;
  color: #26221c;
}
.znj-services-intro h2 {
  max-width: 920px;
  font: 400 clamp(43px, 6.2vw, 100px)/1.08 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
  margin: 16px 0 26px;
}
.znj-services-intro h2 em {color: #967047;}
.znj-services-intro p:not(.zm-label) {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.9;
  max-width: 640px;
  color: #655b4e;
}
body.znj-home .znj-stack-home > section.znj-service-sheet {
  --znj-service-tint: #151513;
  background: radial-gradient(circle at 75% 45%, rgba(195,155,83,.12), transparent 50%),var(--znj-service-tint);
  color: #f8f2e8;
}
body.znj-home .znj-stack-home > section.znj-service-sheet:nth-of-type(even) {
  --znj-service-tint: #211d18;
}
.znj-service-sheet-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.08fr);
  gap: clamp(30px, 7vw, 112px);
  align-items: center;
}
body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-copy {order:2}
body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-media {order:1}
.znj-service-sheet-copy,.znj-service-sheet-media {min-width: 0;}
.znj-service-sheet-copy h2 {
  font:400 clamp(42px, 5.5vw, 88px)/1.09 "Playfair Display",Georgia,serif;
  letter-spacing:-.04em;
  color:#fff;
  overflow-wrap:anywhere;
  margin:clamp(18px,3vw,35px) 0;
}
.znj-service-sheet-copy p:not(.zm-label) {
  max-width: 590px;
  line-height:1.85;
  font-size:clamp(15px,1.2vw,19px);
  color:#ded4c4;
  overflow-wrap:break-word;
}
.znj-service-sheet-link {
  display:inline-flex;gap:24px;align-items:center;margin-top:clamp(20px,3vw,38px);
  padding:15px 0;text-decoration:none;color:#f0cc8b;
  border-bottom:1px solid #c79d5f;
  font-weight:700;font-size:clamp(13px,1.1vw,16px);
}
.znj-service-sheet-link:focus-visible {outline:3px solid #eac680;outline-offset:4px;}
.znj-service-sheet-media {
  margin:0;
  padding:clamp(8px,1vw,14px);
  border:1px solid rgba(198,163,100,.33);
  border-radius:clamp(12px,2vw,22px);
  background:rgba(7,7,7,.26);
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}
.znj-service-sheet-media img {
  display:block;width:100%;height:auto;max-height:none;
  object-fit:contain;object-position:center;
  border-radius:clamp(8px,1vw,15px);
  transform:none;
}
.znj-service-sheet-media figcaption {
  padding:15px 7px 5px;
  color:#cdb78f;
  font:600 11px/1.6 Manrope, sans-serif;
  letter-spacing:.15em;text-transform:uppercase;
}
/* Legacy content cards: let images and text occupy their own layout regions.
   Do not crop headings, summaries, dates or CTAs to a fixed card ratio. */
body.znj-home .znj-home-published-card {
  height:auto !important;
  min-height:0 !important;
}
body.znj-home .znj-home-published-media {
  aspect-ratio:auto !important;
  min-height:0;
  overflow:visible !important;
}
body.znj-home .znj-home-published-media img {
  position:relative !important;width:100%;height:auto !important;
  max-height:none !important;object-fit:contain !important;
  transform:none !important;
}
body.znj-home .znj-home-published-copy,
body.znj-home .znj-home-published-copy h3,
body.znj-home .znj-home-published-copy p {
  overflow:visible !important;
  display:block;
  -webkit-line-clamp:unset !important;
}
body.znj-home .zm-work-archive-highlight .zm-feature,
body.znj-home .zm-section.zm-dark-band .zm-feature {
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(20px,4vw,60px);
  padding:clamp(22px,4vw,60px);
  min-height:0 !important;
  height:auto !important;
  overflow:visible !important;
}
body.znj-home .zm-section.zm-dark-band .zm-feature > img {
  position:relative !important;inset:auto !important;
  width:100% !important;height:auto !important;
  object-fit:contain !important;grid-column:2;grid-row:1;
  border-radius:10px;
}
body.znj-home .zm-section.zm-dark-band .zm-feature:before {display:none !important;}
body.znj-home .zm-section.zm-dark-band .zm-feature-content {
  grid-column:1;grid-row:1;
  max-width:none !important;
  min-width:0;
}
body.znj-home .zm-section.zm-dark-band .zm-feature-content h2,
body.znj-home .zm-section.zm-dark-band .zm-feature-content p {
  overflow:visible !important;
  display:block !important;
  -webkit-line-clamp:unset !important;
}
@media(max-width:900px) {
  .znj-service-sheet-layout {grid-template-columns:minmax(0,1fr);gap:clamp(24px,5vw,55px);}
  body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-copy,
  body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-media {order:initial;}
  body.znj-home .zm-section.zm-dark-band .zm-feature {grid-template-columns:1fr;}
  body.znj-home .zm-section.zm-dark-band .zm-feature > img,
  body.znj-home .zm-section.zm-dark-band .zm-feature-content {grid-column:1;grid-row:auto;}
  body.znj-home .znj-stack-home > section.zm-home-hero .zm-hero-sign {display:none;}
}
@media(max-width:620px) {
  body.znj-home .znj-stack-home > section.zm-home-hero {
    min-height:0 !important;
    height:auto !important;
    padding-top:clamp(140px,20vh,215px) !important;
    padding-bottom:clamp(105px,15vh,175px) !important;
  }
  body.znj-home .znj-stack-home > section.zm-home-hero > .zm-wrap {
    width:calc(100% - 34px);
    padding:0 !important;
  }
  body.znj-home .znj-stack-home > section.zm-home-hero h1 {font-size:clamp(39px,10vw,65px) !important;}
  body.znj-home .znj-stack-home > section.zm-home-hero h1 .zm-script {font-size:clamp(42px,10.8vw,69px) !important;}
  body.znj-home .znj-stack-home > section.zm-home-hero .zm-stats {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
    margin-top:30px;
  }
  body.znj-home .znj-stack-home > section.znj-services-intro,
  body.znj-home .znj-stack-home > section.znj-service-sheet {padding-block:80px 110px;}
  .znj-service-sheet-copy h2 {font-size:clamp(37px,10vw,58px);}
  body.znj-home .zm-section.zm-dark-band .zm-feature {padding:20px;}
}
@media(prefers-reduced-motion:reduce){
  body.znj-home .znj-service-sheet-layout,
  body.znj-home .znj-service-sheet-media img {transform:none !important;transition:none !important;}
}

/* ZNJ · Edition II — restrained editorial navigation, tactile service chapters */
html { scroll-padding-top: var(--znj-stack-header, 100px); }
body.znj-home .znj-stack-home > section[id] { scroll-margin-top: clamp(75px, 9vw, 116px); }
body.znj-home .znj-stack-home > section.znj-service-sheet {
  padding-inline: clamp(0px, 1.5vw, 26px);
  border-top: 1px solid rgba(231,194,126,.27);
}
.znj-service-sheet-copy .zm-label,
.znj-services-intro .zm-label {
  letter-spacing: .19em;
  text-transform: uppercase;
  font-size: clamp(11px,.83vw,13px);
  color: #e6c58c;
}
.znj-services-intro .zm-label { color: #80633d; }
.znj-service-index {
  display:grid;grid-template-columns: repeat(3,minmax(0,1fr));
  gap:0;margin-top:clamp(35px,6vw,82px);
  border-top:1px solid rgba(89,75,55,.28);
}
.znj-service-index a {
  min-width:0;display:flex;gap:15px;align-items:center;
  padding:clamp(18px,2.4vw,30px) clamp(10px,1.8vw,26px);
  text-decoration:none;color:#322c23;
  font-weight:700;font-size:clamp(13px,1vw,17px);
  border-bottom:1px solid rgba(89,75,55,.28);
  transition: background .25s,color .25s;
}
.znj-service-index a>span:first-child{
  color:#927346;font-size:11px;letter-spacing:.1em;font-variant-numeric:tabular-nums;
}
.znj-service-index a>span:last-child{margin-left:auto;color:#947447;font-size:20px;}
.znj-service-index a:hover,.znj-service-index a:focus-visible,
.znj-service-index a[aria-current="location"]{background:#211e19;color:#f3eadd;}
.znj-service-index a:focus-visible{outline:3px solid #ad884f;outline-offset:-3px;}
.znj-service-sheet-copy {
  position:relative;isolation:isolate;padding-block:clamp(12px,2vw,30px);
}
.znj-service-sheet-copy::before {
  content:"";position:absolute;inset:-25px auto auto -22px;
  width:95px;height:95px;z-index:-1;pointer-events:none;
  border-top:1px solid rgba(205,164,93,.26);
  border-left:1px solid rgba(205,164,93,.26);
}
.znj-service-actions {display:flex;flex-wrap:wrap;align-items:center;gap:clamp(15px,2vw,32px);margin-top:30px;}
.znj-service-actions .znj-service-sheet-link{margin-top:0;}
.znj-service-consult{
  display:inline-flex;align-items:center;gap:18px;
  color:#f3e7d5;text-decoration:none;
  border:1px solid rgba(215,180,117,.45);
  border-radius:4px;padding:14px 17px;
  font-size:13px;font-weight:600;
}
.znj-service-consult:hover{background:rgba(212,170,99,.1);}
.znj-service-consult:focus-visible{outline:3px solid #eac680;outline-offset:3px}
body.znj-home .znj-service-sheet-media {
  position:relative;overflow:visible!important;
  padding:clamp(10px,1vw,16px);
  background:linear-gradient(140deg,#2f281d,#0e100f);
}
body.znj-home .znj-service-sheet-media img {
  display:block;aspect-ratio:auto;width:100%;height:auto!important;
  max-height:none!important;object-fit:contain!important;
  box-shadow:0 16px 56px rgba(0,0,0,.17);
}
.znj-service-sheet-media figcaption{display:flex;gap:14px;align-items:center;overflow-wrap:anywhere}
.znj-service-sheet-media figcaption::before{
  content:"";height:1px;width:32px;background:#d8b574;flex:0 0 auto
}
body.znj-home .znj-stack-home > section.zm-home-hero { isolation:isolate; }
body.znj-home .znj-stack-home > section.zm-home-hero::after {pointer-events:none;}
.znj-hero-scroll-cue{
  position:absolute;bottom:clamp(22px,3vw,45px);left:clamp(24px,5vw,80px);
  display:inline-flex;align-items:center;gap:15px;text-decoration:none;
  color:#f2e6d3;z-index:4;
  font:600 11px/1.4 Manrope,sans-serif;
  letter-spacing:.17em;text-transform:uppercase;
}
.znj-hero-scroll-cue span:last-child{
  width:36px;height:36px;display:grid;place-items:center;
  border:1px solid #d6b277;border-radius:50%;font-size:17px;
}
.znj-hero-scroll-cue:focus-visible{outline:3px solid #e8cb8b;outline-offset:6px}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-stats {
  padding-bottom:clamp(12px,2vw,30px);
}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-wrap > h1 {
  text-wrap:balance;
}
body.znj-home .znj-stack-home > section.zm-home-hero .zm-wrap > .zm-lead {
  max-width:55ch!important;font-size:clamp(14px,1.2vw,18px)!important;line-height:1.8!important;
}
body.znj-home .zm-section.zm-dark-band .zm-heading,
body.znj-home .znj-home-published-head{gap:clamp(22px,4vw,55px)}
body.znj-home .zm-section.zm-dark-band .zm-heading h2,
body.znj-home .znj-home-published-head h2{
  text-wrap:balance;line-height:1.14!important;
}
@media(min-width:1000px) {
  body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-layout{
    grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  }
  body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-copy {order:2;}
  body.znj-home .znj-service-sheet:nth-of-type(even) .znj-service-sheet-media {order:1;}
}
@media(max-width:900px){
  .znj-service-index{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.znj-home .znj-service-sheet-copy,
  body.znj-home .znj-service-sheet-media{order:initial!important;}
}
@media(max-width:600px){
  .znj-service-index{grid-template-columns:1fr;}
  .znj-service-index a {min-height:61px;}
  .znj-service-sheet-copy::before{display:none;}
  .znj-service-actions{align-items:stretch;flex-direction:column;}
  .znj-service-actions a{align-self:flex-start;}
  .znj-hero-scroll-cue{bottom:35px;left:18px;}
  body.znj-home .znj-stack-home > section.zm-home-hero {
    padding-bottom:clamp(135px,20vh,195px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .znj-service-index a,.znj-service-consult{transition:none!important}
}

/* Finishing pass: prevent any decorative effect from compromising source imagery.
   Hero photography remains uncropped; the surrounding dark canvas is intentional. */
body.znj-home .znj-stack-home > section.zm-home-hero {
  background: radial-gradient(ellipse at 68% 50%,#48341e 0,#14120f 48%,#090a09 100%) !important;
}
body.znj-home .znj-stack-home > section.zm-home-hero > img {
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  opacity:.82;
}
body.znj-home .znj-stack-home > section.zm-home-hero::after {
  background:linear-gradient(90deg,rgba(7,8,7,.96) 0%,rgba(8,8,7,.84) 29%,rgba(9,9,8,.37) 70%,rgba(8,8,7,.42) 100%)!important;
}
@media(max-width:760px){
  body.znj-home .znj-stack-home > section.zm-home-hero > img {
    object-fit:contain!important;
    object-position:center 10%!important;
    opacity:.58;
  }
  body.znj-home .znj-stack-home > section.zm-home-hero::after {
    background:linear-gradient(180deg,rgba(6,7,6,.47),rgba(7,8,7,.92) 56%,rgba(7,8,7,.98))!important;
  }
  body.znj-home .znj-stack-home > section.zm-home-hero .zm-wrap > h1,
  body.znj-home .znj-stack-home > section.zm-home-hero .zm-wrap > .zm-lead {
    text-shadow:0 3px 18px rgba(0,0,0,.38);
  }
}

/* 2026-11: Stack restoration with parallax disabled.
   Keep overlapping sheets before the cinematic gallery, then hand control
   back to ordinary document flow. No movement of text/media wrappers. */
body.znj-home .znj-stack-home > .znj-scroll-suite,
body.znj-home .znj-stack-home > .znj-scroll-suite ~ section {
  position:relative!important;
  top:auto!important;
  z-index:100!important;
  margin-top:0!important;
  border-radius:0!important;
  transform:none!important;
  overflow:visible!important;
  height:auto!important;
}
body.znj-home .znj-stack-home > .znj-scroll-suite {
  z-index:100!important;
}
body.znj-home .znj-stack-home > .znj-scroll-suite ~ section{
  z-index:101!important;
}
body.znj-home .znj-stack-home > section.znj-stack-sheet {
  /* The sheet itself is sticky; content never has scroll-linked transforms. */
  transform:none!important;
}
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet > .zm-wrap,
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet > .znj-parallax-content,
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet .znj-service-sheet-layout {
  transform:none!important;
  translate:none!important;
}
body.znj-home .znj-stack-home > .znj-scroll-suite ~ section .znj-paper-stage,
body.znj-home .znj-stack-home > .znj-scroll-suite .znj-paper-stage {
  display:none!important;
}
/* Never clip full service descriptions or create an internal scroll region. */
body.znj-home .znj-stack-home > section.znj-stack-sheet {
  height:auto!important;
  max-height:none!important;
}
@media(max-width:760px){
  body.znj-home .znj-stack-home > .znj-scroll-suite,
  body.znj-home .znj-stack-home > .znj-scroll-suite ~ section {border-radius:0!important;}
}

/* ZNJ FULL HOMEPAGE STACK / 2026-11-17 */
/*
 * Homepage is one continuous overlapping sheet deck. Earlier restrictions
 * after the cinematic section are explicitly superseded. Natural page
 * scrolling remains intact; section heights depend exclusively on content.
 */
body.znj-home .znj-stack-home {
  --znj-stack-overlap: clamp(22px, 3.4vw, 48px);
  overflow:visible!important;
  isolation:isolate;
  position:relative;
}
body.znj-home .znj-stack-home > section {
  height:auto!important;
  max-height:none!important;
  box-sizing:border-box;
  overflow:visible!important;
  isolation:isolate;
  transform:none!important;
  translate:none!important;
}
body.znj-home .znj-stack-home > section + section {
  margin-top:calc(-1 * var(--znj-stack-overlap))!important;
  border-radius:clamp(18px,2.5vw,34px) clamp(18px,2.5vw,34px) 0 0!important;
  box-shadow:0 -20px 65px rgba(0,0,0,.37),0 -1px 0 rgba(223,183,115,.22)!important;
}
@supports(position:sticky){
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet,
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet.zm-home-hero,
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet.znj-scroll-suite,
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet.znj-marketplace-invite {
    position:sticky!important;
    top:var(--znj-sheet-top, var(--znj-stack-header, 88px))!important;
    z-index:var(--znj-sheet-layer,1)!important;
    max-height:none!important;
    height:auto!important;
    transform:none!important;
  }
}
/* Both the section itself and its direct content must be stable. The only
 * animation retained is the lightweight decoration in floating-accents.css. */
body.znj-home .znj-stack-home > section.znj-stack-sheet > .zm-wrap,
body.znj-home .znj-stack-home > section.znj-stack-sheet > .znj-parallax-content,
body.znj-home .znj-stack-home > section.znj-stack-sheet .znj-service-sheet-layout {
  transform:none!important;
  translate:none!important;
}
/* The previous gallery had a nested page-scroll-driven sticky stage. Keep
 * its horizontal collection swipable, not viewport-scroll-controlled. */
body.znj-home .znj-stack-home .znj-scroll-gallery.is-scroll-linked {
  height:auto!important;
  min-height:0!important;
}
body.znj-home .znj-stack-home .znj-scroll-gallery.is-scroll-linked .znj-scroll-gallery-stage {
  position:relative!important;top:auto!important;
  height:auto!important;min-height:0!important;
  overflow:visible!important;display:block!important;
}
body.znj-home .znj-stack-home .znj-scroll-gallery-viewport {
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory;
}
body.znj-home .znj-stack-home .znj-scroll-gallery-track {
  transform:none!important;
  will-change:auto!important;
}
body.znj-home .znj-stack-home .znj-scroll-film-stage {
  clip-path:none!important;
}
body.znj-home .znj-stack-home .znj-scroll-film-stage > img,
body.znj-home .znj-stack-home .znj-scroll-film-stage > video {
  transform:none!important;
}
/* Preserve intrinsic heights of editorial cards and tall event data. */
body.znj-home .znj-stack-home .znj-home-published-card,
body.znj-home .znj-stack-home .znj-home-published-copy,
body.znj-home .znj-stack-home .znj-work-archive-highlight {
  height:auto!important;max-height:none!important;
}
body.znj-home .znj-stack-home > section.znj-home-journal,
body.znj-home .znj-stack-home > section.zm-dark-band,
body.znj-home .znj-stack-home > section.znj-marketplace-invite,
body.znj-home .znj-stack-home > section.znj-plan,
body.znj-home .znj-stack-home > section.zm-footprint {
  min-height:0!important;
  padding-bottom:clamp(85px,9vw,140px);
}
/* Sheet surfaces must be opaque, otherwise prior content bleeds through. */
body.znj-home .znj-stack-home > section.zm-dark-band{background-color:#111511!important}
body.znj-home .znj-stack-home > section.znj-home-journal{background-color:#211e18!important}
body.znj-home .znj-stack-home > section.znj-scroll-suite{background-color:#0a0b0b!important}
body.znj-home .znj-stack-home > section.znj-plan{background-color:#101010!important}
body.znj-home .znj-stack-home > section.zm-footprint{background-color:#171a15!important}
/* Inner gallery/film still retain their own distinct sections and photos. */
body.znj-home .znj-stack-home > section.znj-scroll-suite .znj-scroll-gallery,
body.znj-home .znj-stack-home > section.znj-scroll-suite .znj-scroll-film{
  position:relative;
  z-index:1;
}
/* Anchor navigation should stop with headings visible beneath the header. */
body.znj-home .znj-stack-home > section[id]{scroll-margin-top:clamp(80px,9vw,124px)}
@media(max-width:760px){
  body.znj-home .znj-stack-home{--znj-stack-overlap:clamp(16px,5vw,25px)}
  body.znj-home .znj-stack-home > section + section{
    border-radius:clamp(15px,5vw,23px) clamp(15px,5vw,23px) 0 0!important;
  }
  body.znj-home .znj-stack-home > section.znj-scroll-suite .znj-scroll-gallery-stage{
    min-height:0!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.znj-home .znj-stack-home > section,
  body.znj-home .znj-stack-home > section *{
    scroll-behavior:auto!important;
  }
}

/* Mechanical sheet-door depth — no blur, no scroll-tied parallax.
   Only the receding sheet scales down and becomes subtly darker after the
   approaching sheet has crossed the center region of the viewport.
   CSS scale is independent of layout and preserves sticky sheet geometry. */
body.znj-home .znj-stack-home{
  perspective:1800px;
  perspective-origin:50% 18%;
}
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet{
  /* Keep the text and the ivory service directory fully legible while
     retreating the panel slightly into the mechanical stack. */
  filter:none!important;
  opacity:1!important;
  scale:var(--znj-recede-scale,1);
  transform-origin:50% 12%;
  backface-visibility:hidden;
}
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet + section.znj-stack-sheet{
  box-shadow:0 -10px 32px rgba(0,0,0,.19),0 -1px 0 rgba(236,194,122,.24)!important;
}
@media(prefers-reduced-motion:reduce){
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet{
    filter:none!important;
    scale:1!important;
  }
}
@media(forced-colors:active){
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet{
    filter:none!important;
    scale:1!important;
  }
}

/* ZNJ / contrast and mechanical exit refinement.
   Light sheets must not inherit global white editorial headings. */
body.znj-home .znj-stack-home > section.znj-services-intro,
body.znj-home .znj-stack-home > section.znj-marketplace-invite {
  color:#241e18!important;
  background-color:#ede7dc!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro :is(h2,h3,h4),
body.znj-home .znj-stack-home > section.znj-marketplace-invite :is(h2,h3,h4),
body.znj-home .znj-stack-home > section.znj-services-intro .znj-services-intro h2 {
  color:#242019!important;
  text-shadow:none!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro h2 em,
body.znj-home .znj-stack-home > section.znj-marketplace-invite h2 em {
  color:#875d2a!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro :is(p:not(.zm-label),.znj-service-index a),
body.znj-home .znj-stack-home > section.znj-marketplace-invite :is(p:not(.zm-label),.znj-invite-links a) {
  color:#453a2d!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro .zm-label,
body.znj-home .znj-stack-home > section.znj-marketplace-invite .zm-label {
  color:#76501f!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro .znj-service-index a{
  border-color:rgba(66,50,32,.32)!important;
}
body.znj-home .znj-stack-home > section.znj-services-intro .znj-service-index a:hover,
body.znj-home .znj-stack-home > section.znj-services-intro .znj-service-index a:focus-visible {
  background:#e0d2bb!important;
  color:#201b14!important;
}
body.znj-home .znj-stack-home > section.znj-marketplace-invite .znj-invite-links a{
  border-color:#a67c42!important;
  background:rgba(244,236,223,.68)!important;
  color:#30251b!important;
}
/* Make typography consistent in dark chapters too, without affecting cards. */
body.znj-home .znj-stack-home > section.znj-company-story :is(h2,h3),
body.znj-home .znj-stack-home > section.znj-service-sheet .znj-service-sheet-copy h2,
body.znj-home .znj-stack-home > section.znj-home-journal .znj-home-published-head h2,
body.znj-home .znj-stack-home > section.zm-dark-band .zm-heading h2,
body.znj-home .znj-stack-home > section.znj-plan h2,
body.znj-home .znj-stack-home > section.zm-footprint .zm-heading h2 {
  color:#f8f1e6!important;
}
/* A receding panel pulls backward and slightly upward like a sliding door;
   rounded retreating edges and a narrow gold outline suggest layered rails.
   No blur or black overlay, so headings stay legible. */
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet {
  translate:0 var(--znj-recede-lift,0px)!important;
  border-radius:var(--znj-recede-radius,0px) var(--znj-recede-radius,0px) 0 0!important;
  outline:var(--znj-recede-outline,0px) solid rgba(189,151,90,.34);
  outline-offset:-1px;
}
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet + section.znj-stack-sheet {
  border-radius:clamp(17px,2.4vw,33px) clamp(17px,2.4vw,33px) 0 0!important;
  box-shadow:0 -12px 36px rgba(0,0,0,.19),0 -1px 0 rgba(236,194,122,.29)!important;
}
@media(prefers-reduced-motion:reduce){
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet {
    translate:none!important;
    outline-width:0!important;
  }
}
@media(forced-colors:active){
  body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet {
    translate:none!important;
    outline-width:0!important;
  }
}

/* Hide terminal broken-image glyphs after both real-photo fallbacks fail.
   Preserve reserved image geometry; never show a blank layout collapse. */
body .znj-photo-placeholder{
  background:linear-gradient(145deg,#22231f,#3b3021 53%,#1b1c1a)!important;
}
body .znj-photo-placeholder img.znj-photo-unavailable{
  visibility:hidden!important;
}
body .znj-story-visual.znj-photo-placeholder,
body .znj-invite-visual.znj-photo-placeholder,
body .znj-service-sheet-media.znj-photo-placeholder{
  min-height:clamp(170px,25vw,420px);
}

/* Keep the original vertical sticky sheet overlap, not the mechanical gate.
   No receding scale, lift, perspective, animated rails or depth outlines. */
body.znj-home .znj-stack-home{perspective:none!important}
body.znj-home.znj-stack-enhanced .znj-stack-home > section.znj-stack-sheet{
 scale:1!important;
 translate:none!important;
 transform:none!important;
 transform-origin:initial!important;
 backface-visibility:visible!important;
 outline:0!important;
 filter:none!important;
 opacity:1!important;
}

/* Preserve native sticky sheet stacking; remove ONLY mechanical gate depth.
   Never disable sticky positioning or overlap: each next sheet rises on scroll. */
body.znj-home .znj-desktop-experience.znj-stack-home{perspective:none!important}
body.znj-home.znj-stack-enhanced .znj-desktop-experience.znj-stack-home > section.znj-stack-sheet{
  scale:1!important;
  translate:none!important;
  transform:none!important;
  filter:none!important;
  outline:0!important;
  backface-visibility:visible!important;
  border-radius:0!important;
  will-change:auto!important;
}
body.znj-home.znj-stack-enhanced .znj-desktop-experience.znj-stack-home > section.znj-stack-sheet + section.znj-stack-sheet{
  border-radius:clamp(17px,2.4vw,33px) clamp(17px,2.4vw,33px) 0 0!important;
}

/* Full-chapter presentation: the adjacent sheet must not peek above/below.
   Keep sticky layering but remove negative section margins and preview strips.
   Long editorial chapters retain their intrinsic height and readable content. */
body.znj-home .znj-desktop-experience.znj-stack-home{--znj-stack-overlap:0px!important}
body.znj-home .znj-desktop-experience.znj-stack-home > section + section{
  margin-top:0!important;
  box-shadow:none!important;
}
@media(min-width:901px){
 body.znj-home .znj-desktop-experience.znj-stack-home > section.znj-stack-sheet{
   min-height:100svh;
   border-radius:0!important;
 }
 body.znj-home .znj-desktop-experience.znj-stack-home > section.znj-stack-sheet + section.znj-stack-sheet{
   border-radius:0!important;
 }
}
