/* NTFP-EP Indonesia: gaya beranda tingkat halaman: susunan bagian (scroll snap, pagePiling), sisa tata letak yang bukan milik
   satu bagian. Dimuat setelah dasar.css dan komponen beranda (section-nav.css, team/, contact/), lalu hero/hero.css dan
   impact/impact.css. Sejak 21 Okt 2026 gaya hero dan Jejak Dampak ada di berkasnya sendiri (dipindah tanpa diubah). */
html{scroll-padding-top:var(--head-h-s);scroll-snap-type:y mandatory;scroll-behavior:smooth}
/* one screen per section: native CSS scroll snap (no scroll hijacking). Every section is exactly one screen on desktop and
   tablet, so mandatory snapping never hides content; on phones the impact section is taller than the screen, so there it
   only snaps when the scroll already ends near a section edge. */
.snap{scroll-snap-align:start}
/* pagePiling (desktop and tablet, on by default; ?pagepiling=0 turns it off): the page no longer scrolls, the sections are
   stacked like cards. Going down, the next section slides up over the current one, which eases back a little and dims;
   going up, the top card slides back down. */
html.piling,html.piling body{height:100%;overflow:hidden;overscroll-behavior:none}
html.piling{scroll-snap-type:none;scroll-behavior:auto}
html.piling .snap{position:fixed;left:0;right:0;margin:0;will-change:transform;transition:transform var(--pp-dur,.9s) ease,filter var(--pp-dur,.9s) ease}   /* pagePiling-style slide, 850 ms ease */
/* a crisp edge on the card that slides in: forest-green top rule and a short, firm shadow; the card underneath dims */
html.piling main .snap{border-top:6px solid var(--forest);box-shadow:0 -14px 28px -6px rgba(20,30,22,.5)}
html.piling .snap.pp-under{filter:brightness(.6)}
html.piling .snap.pp-below{transform:translateY(100%)}
html.piling #hero{top:0}
html.piling #dampak{top:0;height:100vh;height:100svh;padding-top:calc(var(--head-h-s) + 48px)}   /* a full-screen card; the header sits over its top */
html.piling main{position:static}
/* push transition, the default (?transisi=tutup or ?pagepiling=cover switches to the slide-over above): the two sections move as one strip. Going down, the section in view is
   pushed up and out by the one below it; going up, it is pushed down by the one above. No card edge or dimming. */
html.piling.pp-push .snap{transition:transform var(--pp-dur,.9s) cubic-bezier(.65,0,.35,1)}
html.piling.pp-push main .snap{border-top:0;box-shadow:none}
html.piling.pp-push .snap.pp-under{transform:translateY(-100%);filter:none}
/* ---------- After the hero (placeholder for the next section) ---------- */
.next{max-width:1120px;margin:0 auto;padding:96px 40px}
.next p{max-width:680px;margin:0 0 16px;color:var(--ink-soft);text-wrap:pretty}
.next h2{margin:0 0 16px;font-size:36px;line-height:40px;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.next .tag{font-size:12px;line-height:16px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--forest)}
/* Jejak Dampak on a short screen: no 600 px minimum, a wider green block with the five figures packed tighter, so
   the figures and the map legend stay inside the screen */
@media (min-width:900px) and (max-height:820px){
#dampak{padding-top:28px}   /* scroll off: the same room under the header */
html.piling #dampak{padding-top:calc(var(--head-h-s) + 28px)}   /* short screens: a little less room under the header (Tim, Kontak: their own files) */
}
@media (max-width:760px){
.next{padding:64px 16px}
html{scroll-snap-type:none}   /* phones: free scrolling; with snapping, stopping in the lower part of the tall hero pulled the page back up to its top */
}
/* a very long word in a heading wraps instead of widening the page (Adobe-guide pass, 18 Oct 2026; normal titles measured unchanged, ID and EN, 320–1920) */
.intro h1,.impact h2,.impact .tag{overflow-wrap:anywhere}   /* Tim, Kontak: team.css, contact.css */
/* Heading font (23 Oct 2026; user picked Fraunces 400 for all headings from archive/judul-serif/index-serif-2.html):
   PENGATURAN.huruf.judul + beratJudul + judulHeroSumbu, set by core/huruf.js as --font-head, --font-head-w, --font-hero-fvs and
   html[data-huruf-judul]. Every homepage heading that reads --font-head takes the weight (font-synthesis:none: the font's own
   cut, never a fake bold); the hero title gets taller lines (a serif's ascenders crowd line-height 1) and its own axes
   (Fraunces "opsz" 144). The phone Jejak Dampak figures stay in the body font, as on desktop.
   Per area (huruf.judulPerBagian, 29 Oct 2026): a section missing from html[data-judul-serif] puts its headings back in the
   normal font at 700, by setting --font-head / --font-head-w on the section (its headings read them). */
html:not([data-judul-serif~="hero"]) #hero,
html:not([data-judul-serif~="jejak-dampak"]) #dampak,
html:not([data-judul-serif~="tim"]) #tim,
html:not([data-judul-serif~="surat-kabar"]) #surat-kabar,
html:not([data-judul-serif~="kontak"]) #kontak{--font-head:var(--font-normal,var(--font));--font-head-w:700}
html[data-huruf-judul] .intro h1,
html[data-huruf-judul] .impact h2,
html[data-huruf-judul] .tim h2,
html[data-huruf-judul] .kontak h2,
html[data-huruf-judul] .sk--strip .sk-label,
html[data-huruf-judul] .sks-nama,
html[data-huruf-judul] .sks-tegak,
html[data-huruf-judul] .sk-nama,
html[data-huruf-judul] .skk-nama,
html[data-huruf-judul] .tim-name{font-weight:var(--font-head-w,700);font-synthesis:none}
html[data-judul-serif~="hero"] .intro h1{line-height:1.04;font-variation-settings:var(--font-hero-fvs,normal)}
html[data-huruf-judul] .jdp-st__angka{font-family:var(--font)}
