/* tumbuh. — demo konsep TIKUMA (yayasan anak & keluarga fiktif). Judul huruf kecil tebal, blok warna cerah,
   tepi kertas sobek, peta titik Indonesia. html.motion = animasi aktif; html.capture = mode tangkapan layar (?shot). */

@font-face { font-family: 'Plus Jakarta Sans'; src: url(/tumbuh/fonts/plus-jakarta-sans.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --deep: #0f3b44; --deep-2: #0b2f37; --sun: #ffc83d; --coral: #ff6a4d; --leaf: #2fb47c; --sky: #5ab8ea; --berry: #d9468f;
  --cream: #fff8ee; --sand: #f3ead9; --ink: #122127; --muted: #51636a; --line: rgba(18, 33, 39, .12);
  --ease: cubic-bezier(.16, 1, .3, 1); --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gut: clamp(20px, 4vw, 56px); --r: 26px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font: 400 17px/1.6 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.h-xl { font-weight: 800; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.04em; }
.h-lg { font-weight: 800; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.h-md { font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; }

/* tombol */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; transition: transform .35s var(--bounce), background .3s, color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 106, 77, .9); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-white { background: #fff; color: var(--deep); }
.btn-line { border: 2px solid currentColor; }

/* bar krisis + header */
.crisis { background: var(--sky); color: var(--deep-2); font-size: 14px; font-weight: 600; }
.crisis .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.crisis b { font-weight: 800; }
.crisis a.cta { background: var(--deep); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 238, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(15, 59, 68, .5); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 28px; letter-spacing: -.04em; color: var(--deep); }
.logo svg { width: 40px; height: 40px; transition: transform .6s var(--bounce); }
.logo:hover svg { transform: rotate(-10deg) scale(1.08); }
.logo em { font-style: normal; color: var(--coral); }
.nav { display: flex; gap: 6px; font-weight: 600; font-size: 15px; }
.nav a { padding: 10px 14px; border-radius: 999px; transition: background .25s; }
.nav a:hover, .nav a.on { background: var(--sand); }
.hdr-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); color: #fff; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--deep); color: #fff; padding: 24px var(--gut) 40px; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet nav { display: grid; gap: 4px; margin-top: auto; }
.sheet nav a { font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1.2; }
.sheet .top { display: flex; justify-content: space-between; align-items: center; }
.sheet .logo { color: #fff; }

/* hero mozaik */
.hero { padding: 22px 0 10px; }
.mosaic { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); min-height: 330px; }
.tile.photo img { transition: transform 1.4s var(--ease); }
.tile.photo:hover img { transform: scale(1.05); }
.tile.sun { background: var(--sun); color: var(--deep-2); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; }
.tile.deep { background: var(--deep); color: #fff; padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; }
.slides { position: relative; min-height: 250px; }
.slide { position: absolute; inset: auto 0 0 0; }
.slide h1, .slide h2 { font-weight: 800; font-size: clamp(38px, 4.3vw, 66px); line-height: .98; letter-spacing: -.04em; margin-bottom: 26px; }
.slide:not(.on) { visibility: hidden; }
.motion .slide { transition: visibility 0s .7s; }
.motion .slide.on { transition: none; }
.slide .ln { display: block; }
.motion .slide .ln { overflow: hidden; }
.motion .slide .ln > span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
.motion .slide.on .ln > span { transform: none; }
.motion .slide.on .ln:nth-child(2) > span { transition-delay: .07s; }
.motion .slide.on .ln:nth-child(3) > span { transition-delay: .14s; }
.motion .slide.leave .ln > span { transform: translateY(-105%); transition-duration: .6s; }
.motion .slide .btn { opacity: 0; transform: translateY(10px); transition: opacity .5s .25s, transform .6s .25s var(--ease); }
.motion .slide.on .btn { opacity: 1; transform: none; }
.dots-nav { position: absolute; bottom: clamp(34px, 3.6vw, 58px); right: clamp(24px, 3vw, 40px); z-index: 2; display: flex; gap: 8px; }
.dots-nav button { width: 10px; height: 10px; border-radius: 99px; background: rgba(11, 47, 55, .25); transition: width .4s var(--ease), background .3s; }
.dots-nav button[aria-current="true"] { width: 30px; background: var(--deep-2); }
.be-part { font-weight: 800; font-size: clamp(44px, 5.6vw, 84px); line-height: .92; letter-spacing: -.045em; }
.be-part em { font-style: normal; color: var(--sun); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.roles span { padding: 8px 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 14px; transition: background .4s, border-color .4s, color .4s; }
.roles span.on { background: var(--sun); border-color: var(--sun); color: var(--deep-2); }
.doodle { position: absolute; pointer-events: none; transition: transform .3s linear; }
.tile.sun .doodle.sunny { width: 96px; top: -18px; right: 70px; }
.tile.deep .doodle.heart { width: 58px; right: 34px; bottom: 34px; }
.motion .doodle.sunny svg { animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.motion .doodle.heart svg { animation: beat 1.8s var(--ease) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.98); } }
.motion .tile { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.1s var(--ease); }
.motion .tile.in { clip-path: inset(0 0 0 0 round var(--r)); }
.motion .tile:nth-child(2) { transition-delay: .12s; } .motion .tile:nth-child(3) { transition-delay: .24s; } .motion .tile:nth-child(4) { transition-delay: .36s; }

/* misi */
.mission { padding: clamp(80px, 10vw, 140px) 0 60px; text-align: center; }
.mission .h-lg { max-width: 17ch; margin: 0 auto 26px; color: var(--deep); }
.mission mark { background: none; color: var(--coral); position: relative; white-space: nowrap; }
.mission mark svg { position: absolute; left: -2%; right: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.mission mark path { fill: none; stroke: var(--sun); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.motion .mission mark path { stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s .3s var(--ease); }
.motion .mission.in mark path { stroke-dashoffset: 0; }
.mission .lead { max-width: 62ch; margin: 0 auto 34px; color: var(--muted); }

/* dampak */
.impact { padding: 20px 0 clamp(80px, 9vw, 120px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: var(--r); padding: 30px 26px; border: 1px solid var(--line); transition: transform .45s var(--bounce), box-shadow .3s; }
.stat:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -30px rgba(15, 59, 68, .5); }
.stat .num { font-weight: 800; font-size: clamp(40px, 4vw, 58px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.stat:nth-child(1) .num { color: var(--coral); } .stat:nth-child(2) .num { color: var(--leaf); }
.stat:nth-child(3) .num { color: var(--sky); } .stat:nth-child(4) .num { color: var(--berry); }

/* komunitas + peta */
.communities { background: var(--sand); padding: clamp(80px, 9vw, 120px) 0; border-radius: calc(var(--r) * 1.6) calc(var(--r) * 1.6) 0 0; }
.comm-grid { display: grid; grid-template-columns: .9fr 1.6fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.comm-grid .h-lg { color: var(--deep); margin: 14px 0 20px; }
.regions { margin-top: 30px; border-top: 2px solid var(--deep); }
.region { border-bottom: 1px solid var(--line); }
.region > button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 2px; text-align: left; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.region .plus { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: #fff; transition: transform .45s var(--bounce), background .3s; }
.region .plus svg { width: 14px; height: 14px; }
.region[data-open] .plus { transform: rotate(45deg); background: var(--coral); }
.region .count { margin-left: auto; font-weight: 600; font-size: 13px; color: var(--muted); white-space: nowrap; }
.region .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.region[data-open] .body { grid-template-rows: 1fr; }
.region .body > div { overflow: hidden; }
.region .body p { padding: 0 0 18px 44px; color: var(--muted); font-size: 15px; }
.region .body p b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.map-wrap { position: relative; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.dots circle { transition: fill .35s, transform .45s var(--bounce); transform-box: fill-box; transform-origin: center; }
.dots-other circle { fill: #d9cdb8; }
.dots[data-region] circle { fill: var(--deep); }
.dots[data-region].hl circle { fill: var(--coral); transform: scale(1.3); }
.map-svg.dimmed .dots[data-region]:not(.hl) circle { fill: #9fb3b5; }
.pin { cursor: pointer; outline: none; }
.pin .dot { fill: var(--sun); stroke: var(--deep); stroke-width: 3; transition: transform .35s var(--bounce); transform-box: fill-box; transform-origin: center; }
.pin:hover .dot, .pin:focus-visible .dot, .pin.hl .dot { transform: scale(1.35); }
.pin .pulse { fill: var(--sun); opacity: .5; transform-box: fill-box; transform-origin: center; }
.motion .pin .pulse { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.tip { position: absolute; z-index: 5; left: 0; top: 0; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.35; max-width: 220px; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.9); transition: opacity .2s, transform .3s var(--bounce); }
.tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }
.tip b { display: block; font-size: 15px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--deep); }
.map-legend i.pin-i { background: var(--sun); box-shadow: 0 0 0 3px var(--deep) inset; }

/* program */
.programs { padding: clamp(80px, 9vw, 120px) 0; }
.programs .h-lg { color: var(--deep); margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--r); padding: 30px; min-height: 440px; display: flex; flex-direction: column; color: #fff; isolation: isolate; transition: transform .5s var(--bounce); }
.card:hover { transform: translateY(-8px); }
.card.sky { background: var(--sky); color: var(--deep-2); } .card.coral { background: var(--coral); } .card.berry { background: var(--berry); }
.card .icon { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; transition: transform .5s var(--bounce); }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.card .icon svg { width: 36px; height: 36px; }
.card h3 { font-weight: 800; font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -.03em; margin: auto 0 10px; }
.card p { font-size: 16px; line-height: 1.5; margin-bottom: 22px; opacity: .92; }
.card .btn { align-self: flex-start; }
.card .peek { position: absolute; z-index: -1; inset: 0; opacity: 0; transition: opacity .5s; }
.card .peek img { transform: scale(1.1); transition: transform 1.2s var(--ease); }
.card .peek::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 47, 55, .15), rgba(11, 47, 55, .82)); }
.card:hover .peek, .card:focus-within .peek { opacity: 1; }
.card:hover .peek img { transform: none; }
.card:hover, .card:focus-within { color: #fff; }

/* tepi kertas sobek */
.torn { display: block; width: 100%; height: clamp(46px, 6vw, 90px); }
.torn path { fill: var(--deep); }
.torn.top { margin-bottom: -2px; }
.torn.bottom { transform: scaleY(-1); margin-top: -2px; }
.grain { position: relative; }
.grain::before { content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 7px 7px; }

/* berita */
.news { background: var(--deep); color: #fff; padding: clamp(50px, 6vw, 80px) 0; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.news-head p { max-width: 36ch; opacity: .8; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: var(--deep-2); border-radius: var(--r); overflow: hidden; transition: transform .5s var(--bounce); }
.post:hover { transform: translateY(-6px); }
.post .img { aspect-ratio: 3 / 2; overflow: hidden; }
.post .img img { transition: transform 1.2s var(--ease); }
.post:hover .img img { transform: scale(1.06); }
.post .txt { padding: 22px 24px 28px; }
.post .tag { display: inline-block; background: var(--sun); color: var(--deep-2); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.post h3 { font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.post time { display: block; margin-top: 14px; font-size: 13px; opacity: .65; }

/* cerita */
.stories { padding: clamp(80px, 9vw, 130px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.story-grid .h-lg { color: var(--deep); margin: 14px 0 18px; }
.story-stage { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.story-photo { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: var(--sand); box-shadow: 0 0 0 12px var(--cream), 0 0 0 14px var(--line); }
.story-photo img { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); transition: opacity .6s, transform 1.2s var(--ease); }
.story-photo img.on { opacity: 1; transform: none; }
.hot { position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(255, 106, 77, .9); transition: transform .45s var(--bounce), background .3s; }
.hot svg { width: 20px; height: 20px; transition: transform .45s var(--bounce); }
.hot:hover { transform: scale(1.12); }
.hot[aria-pressed="true"] { background: var(--deep); transform: scale(1.18); }
.hot[aria-pressed="true"] svg { transform: rotate(45deg); }
.motion .hot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); animation: ring 2.6s var(--ease) infinite; }
.motion .hot[aria-pressed="true"]::after { display: none; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.quote { position: relative; background: #fff; border-radius: var(--r); padding: 30px 30px 28px; border: 1px solid var(--line); margin-top: 30px; min-height: 230px; }
.quote .eyebrow { color: var(--berry); margin-bottom: 14px; }
.quote blockquote { font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); font-size: 14px; }
.motion .quote .swap { transition: opacity .35s, transform .45s var(--ease); }
.motion .quote.out .swap { opacity: 0; transform: translateY(10px); }

/* donasi */
.involved { padding: 0 0 clamp(80px, 9vw, 130px); }
.give { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.give-panel { background: var(--leaf); color: #fff; border-radius: calc(var(--r) * 1.3); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.give-panel .h-lg { margin: 12px 0 18px; }
.campaign { background: rgba(0, 0, 0, .14); border-radius: 18px; padding: 18px 20px; margin: 22px 0 26px; }
.campaign .row { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; }
.bar { height: 12px; background: rgba(255, 255, 255, .25); border-radius: 99px; margin: 12px 0 8px; overflow: hidden; }
.bar b { display: block; height: 100%; width: var(--p, 0%); background: var(--sun); border-radius: 99px; transition: width 1.6s var(--ease); }
.campaign small { opacity: .85; font-size: 13px; }
.freq { display: inline-flex; background: rgba(0, 0, 0, .15); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.freq button { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.freq button[aria-pressed="true"] { background: #fff; color: var(--leaf); }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.amounts button, .amounts label { display: grid; place-items: center; min-height: 54px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .45); font-weight: 800; font-size: 15px; transition: background .3s, color .3s, transform .35s var(--bounce); }
.amounts button:hover { transform: translateY(-2px); }
.amounts button[aria-pressed="true"] { background: #fff; color: var(--leaf); border-color: #fff; }
.amounts label { position: relative; }
.amounts input { width: 100%; height: 100%; background: transparent; border: 0; text-align: center; font-weight: 800; color: #fff; outline: none; }
.amounts input::placeholder { color: rgba(255, 255, 255, .85); }
.amounts label:focus-within { background: #fff; }
.amounts label:focus-within input { color: var(--leaf); }
.impact-line { margin: 20px 0 24px; font-size: 17px; line-height: 1.5; min-height: 3em; }
.impact-line b { color: var(--sun); }
.give-panel .btn-white { color: var(--leaf); }
.give-side { display: grid; gap: 16px; }
.way { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); text-align: left; width: 100%; transition: transform .45s var(--bounce), box-shadow .3s; }
.way:hover { transform: translateX(6px); box-shadow: 0 20px 34px -28px rgba(15, 59, 68, .6); }
.way .ico { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.way .ico svg { width: 30px; height: 30px; }
.way h3 { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.way p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.way .go { margin-left: auto; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sand); display: grid; place-items: center; transition: background .3s, color .3s; }
.way:hover .go { background: var(--deep); color: #fff; }
.way .go svg { width: 16px; height: 16px; }

/* buletin */
.newsletter { background: var(--sun); border-radius: calc(var(--r) * 1.3); padding: clamp(30px, 4vw, 54px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: clamp(70px, 8vw, 110px); position: relative; overflow: hidden; }
.newsletter > * { min-width: 0; }
.newsletter .h-md { color: var(--deep-2); }
.newsletter form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; outline: none; font-size: 16px; }
.newsletter .leaf { position: absolute; width: 150px; right: -30px; bottom: -40px; opacity: .9; }

/* footer */
.foot { background: var(--deep); color: rgba(255, 255, 255, .8); padding: clamp(40px, 5vw, 70px) 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.foot .logo { color: #fff; margin-bottom: 16px; }
.foot h4 { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.foot li { padding: 3px 0; }
.foot a:hover { color: var(--sun); }
.credits { margin-top: 36px; font-size: 13px; opacity: .8; }
.credits summary { cursor: pointer; font-weight: 700; color: #fff; }
.credits ul { columns: 3; gap: 24px; margin-top: 12px; }
.credits li { break-inside: avoid; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; opacity: .75; }
.legal a { text-decoration: underline; }

/* tab donasi vertikal & lencana demo */
.donate-tab { position: fixed; right: 0; top: 50%; z-index: 45; transform: translateY(-50%); writing-mode: vertical-rl; background: var(--coral); color: #fff; font-weight: 800; letter-spacing: .08em; padding: 18px 12px; border-radius: 16px 0 0 16px; box-shadow: -8px 10px 24px -14px rgba(0, 0, 0, .5); transition: padding .35s var(--bounce); }
.donate-tab:hover { padding-right: 18px; }
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px; background: #fff; color: #111; font: 600 13px/1.2 system-ui, sans-serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.demo i { width: 8px; height: 8px; border-radius: 50%; background: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .18); }
.demo span { color: #666; font-weight: 400; }
.capture .demo, .capture .donate-tab { display: none; }

/* dialog */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(11, 47, 55, .6); }
.note { margin: auto; width: min(520px, calc(100% - 32px)); background: #fff; color: var(--ink); border-radius: var(--r); padding: 36px; }
.note h3 { font-weight: 800; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; margin: 12px 0; color: var(--deep); }
.note p { color: var(--muted); }
.note .eyebrow { color: var(--coral); }
.note .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.lock { overflow: hidden; }

/* muncul saat digulir */
.motion [data-rv] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-rv].in { opacity: 1; transform: none; }
.motion [data-pop] { opacity: 0; transform: scale(.85) rotate(-3deg); transition: opacity .6s var(--ease), transform .8s var(--bounce); transition-delay: var(--d, 0s); }
.motion [data-pop].in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav, .hdr-cta .btn { display: none; }
  .menu-btn { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .comm-grid, .story-grid, .give, .newsletter { grid-template-columns: 1fr; }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .card { min-height: 360px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .crisis .wrap { font-size: 12.5px; }
  .crisis a.cta { display: none; }
  .mosaic { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .tile.photo:nth-child(4) { display: none; }
  .slides { min-height: 270px; }
  .stats { gap: 10px; }
  .stat { padding: 22px 18px; }
  .amounts { grid-template-columns: repeat(3, 1fr); }
  .news-head { flex-direction: column; align-items: flex-start; }
  .credits ul { columns: 1; }
  .donate-tab { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .mission mark { white-space: normal; }
  .newsletter form { flex-direction: column; border-radius: 22px; }
  .newsletter input { padding: 12px 14px; }
  .dots-nav { top: 24px; bottom: auto; }
  .tile.sun .doodle.sunny { right: auto; left: 24px; width: 70px; top: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
.capture .nav a.on { background: none; }

/* lapisan FX bersama (/_fx): warna, intro, hero menunggu intro selesai */
:root { --fx-paper: #0f3b44; --fx-ink: #fff8ee; --fx-accent: #ff6a4d; --fx-label-bg: #ffc83d; --fx-label-fg: #0f3b44; }
html.motion:not(.fx-ready) .slide.on .ln > span { transform: translateY(105%); }
.intro-mark { position: relative; display: grid; justify-items: center; gap: 18px; font: 800 clamp(56px, 9vw, 96px)/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.04em; }
.intro-mark b { color: #ffc83d; }
.intro-mark i { position: absolute; bottom: -30px; width: 12px; height: 12px; border-radius: 50%; background: #ff6a4d; left: calc(50% - 30px); }
.intro-mark i:nth-of-type(2) { background: #ffc83d; left: calc(50% - 6px); }
.intro-mark i:nth-of-type(3) { background: #2fb47c; left: calc(50% + 18px); }
.motion .intro-mark span { animation: tbIn 1s cubic-bezier(.34, 1.56, .64, 1) both; }
.motion .intro-mark i { animation: tbHop .9s cubic-bezier(.34, 1.56, .64, 1) infinite alternate; }
.motion .intro-mark i:nth-of-type(2) { animation-delay: .15s; }
.motion .intro-mark i:nth-of-type(3) { animation-delay: .3s; }
@keyframes tbIn { from { opacity: 0; transform: translateY(40px) scale(.9); } }
@keyframes tbHop { to { transform: translateY(-16px); } }

/* donasi terbaru (contoh fiktif, anonim) */
.gift { position: fixed; left: 16px; bottom: 74px; z-index: 49; display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 10px 12px 12px; border-radius: 18px; background: #fff; color: #0f3b44; box-shadow: 0 18px 40px -18px rgba(15, 59, 68, .5); font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .5s, transform .7s cubic-bezier(.16, 1, .3, 1); }
.gift.on { opacity: 1; transform: none; pointer-events: auto; }
.gift .blob { flex: none; width: 36px; height: 36px; border-radius: 50% 50% 50% 14px; background: var(--c, #ffc83d); color: #fff; display: grid; place-items: center; }
.gift .blob svg { width: 18px; height: 18px; }
.gift p b { font-weight: 800; }
.gift small { display: block; color: #5b7a80; font-size: 12px; margin-top: 2px; }
.gift button { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #5b7a80; }
.gift button:hover { background: #f1efe9; }
