/* Home-only underlay successor. Original foreground map/mask and live scene are intact.
   Use only the original image's upper rocky strip, never its recognizable islands.
   With source width1672, a source span<=500 and 75% horizontal positioning sample
   x879..1379; sizing to at least underlay-height*16.72 limits source y to0..100.
   This crop contains no baked text, buttons, stats or island silhouettes.
   Blur, dimming and the rightward fade make it a quiet texture behind live copy. */
body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home::after {
  inset:var(--curator-topbar,76px) 0 0 var(--curator-rail,76px)!important;
  width:auto!important;height:auto!important;
  background-color:#070c0d!important;
  background-image:url('/PRANATARA_HOMEPAGE_REFERENCE_20261018_v001/home-map-reference-original-v001.png')!important;
  background-repeat:no-repeat!important;
  background-position:75% top!important;
  background-size:max(334.4%,calc((100vh - var(--curator-topbar,76px))*16.72)) auto!important;
  background-size:max(334.4%,calc((100lvh - var(--curator-topbar,76px))*16.72)) auto!important;
  opacity:.32!important;filter:blur(8px) brightness(.78) saturate(.55)!important;pointer-events:none!important;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 40%,#0009 60%,transparent 82%)!important;
  mask-image:linear-gradient(90deg,#000 0%,#000 40%,#0009 60%,transparent 82%)!important;
  -webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;
  -webkit-mask-position:0 0!important;mask-position:0 0!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
}

/* Remove the inherited 600/650px floor, then reduce only the space BETWEEN sections.
   Intrinsic copy and scene height still determine the hero height; no clipping,
   negative margin, fixed content height, scene resizing, or stats movement is used. */
body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home .pn-hero {
  min-height:0!important;
  padding-bottom:24px!important;
}
body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home .pn-hero + #home-series {
  padding-top:24px!important;
}
@media(max-width:700px){
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home .pn-hero {
    padding-bottom:20px!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home .pn-hero + #home-series {
    padding-top:20px!important;
  }
}

/* Keep the existing accessibility boundary: no background art in forced colors. */
@media(forced-colors:active){
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home::after {
    display:none!important;
  }
}

/* Desktop-only reserve delta. At the measured 1536px baseline, the live label ends
   88.5px below the square scene. A 112px reserve retains 23.5px before hero padding.
   The scene/canvas dimensions, placement rules, overflow and animation stay intact.
   1100px is the existing desktop boundary; narrow/tablet/mobile reserves are retained.
   Native EN/ID and falling-stage acceptance is still required before installation. */
@media(min-width:1100px){
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home .pn-hero > .constellation-scene {
    margin-bottom:112px!important;
  }
}

/* Desktop composition: reuse the existing intro in the left column and reserve
   the complete measured canvas extent before the full-width cards. Mobile keeps
   the previous CSS and the helper restores the original node/DOM position. */
@media(min-width:1100px){
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home.pn-home-split-intro::after {
    right:auto!important;
    width:calc((100vw - var(--curator-rail,76px))*.56)!important;
    background-image:url('/PRANATARA_HOME_LEFT_GAP_20261019_v001/home-bronze-basalt-underlay-v001.png')!important;
    background-position:center center!important;
    background-size:cover!important;
    opacity:1!important;filter:none!important;
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)!important;
    mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero {
    grid-template-rows:max-content auto!important;
    row-gap:32px!important;
    align-content:start!important;
    box-sizing:border-box;
    min-height:var(--pn-home-composition-min-height,0px)!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > div:first-child {
    grid-column:1!important;grid-row:1!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-all-cards-home.pn-reference-home.pn-home-split-intro .pn-hero > .constellation-scene {
    grid-column:2!important;grid-row:1 / span 2!important;
    align-self:start!important;margin-bottom:140px!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading {
    grid-column:1!important;grid-row:2!important;
    align-self:start!important;min-width:0;width:100%;max-width:none!important;
  }
  /* Mirror only the original ancestor-dependent heading/lead rules. */
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading h2 {
    font:400 clamp(30px,3.4vw,46px)/1.15 Georgia,'Times New Roman',serif;
    letter-spacing:-.8px;color:#eee5d4;margin:15px 0 20px;text-wrap:balance;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading #home-series-title {
    white-space:pre-line;text-wrap:pretty;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading .home-story-lead {
    margin-bottom:30px;max-width:750px;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro #home-series {
    scroll-margin-top:calc(var(--pn-home-series-anchor-offset,0px) + 120px)!important;
  }
}
@media(min-width:1100px) and (forced-colors:active){
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading :is(h2,p,.pn-eyebrow) {
    color:CanvasText!important;
  }
}

/* Native v005 evidence: the inherited 660px stats width crossed the left track
   at 1100/1280px. Keep all three values and permit labels to wrap in their cells. */
@media(min-width:1100px){
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > div:first-child .pn-stats {
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > div:first-child .pn-stats > div {
    min-width:0!important;box-sizing:border-box!important;
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > div:first-child .pn-stats span {
    min-width:0!important;max-width:100%!important;white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}
/* Local text separation preserves the brighter rock surface: no new panel,
   backdrop, global opacity change or foreground-map/effect modification. */
@media(min-width:1100px) and (forced-colors:none){
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading :is(h2,.pn-eyebrow,.home-story-lead) {
    text-shadow:0 1px 2px #090705,0 0 7px rgba(9,7,5,.85);
  }
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > .home-series-heading .home-story-lead {
    color:#f1e9d7!important;
  }
}

/* Native1536 EN: third label163.688px versus content161.906px at2.5px tracking.
   Reduce only its wide-desktop tracking; retain natural wrap below1500px. */
@media(min-width:1500px){
  body.portal.pn-curator.pn-home-marketing.pn-reference-home.pn-home-split-intro .pn-hero > div:first-child .pn-stats > div:nth-child(3) > span {
    letter-spacing:2px!important;
  }
}
