/* Pijar Foundation — demo konsep TIKUMA (yayasan keluarga fiktif di NTT). Terang dan lapang: kertas putih,
   tinta hijau-hitam, hijau limau untuk tombol persegi & angka, Figtree tipis untuk judul besar. */
@font-face { font-family: Figtree; src: url(/pijar/fonts/figtree.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url(/pijar/fonts/figtree-italic.woff2) format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff; --mist: #f2f4ef; --ink: #0e1511; --ink-2: #26302a; --muted: #6b736d; --soft: #8a918c; --line: rgba(14, 21, 17, .12);
  --ember: #ffb44a; --ember-2: #f59a24; --forest: #13281c; --stone: #8a8075;
  --sans: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fx-paper: var(--ember); --fx-ink: var(--ink); --fx-accent: var(--ember-2); --fx-label-bg: var(--ember); --fx-label-fg: var(--ink);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: min(1320px, 100% - 64px); margin-inline: auto; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(38px, 4.6vw, 70px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.eyebrow i { width: 8px; height: 8px; background: var(--ink); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.eyebrow.light i { background: var(--ember); }

/* tombol */
.sq { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--ember); color: var(--ink); transition: background-color .3s; }
.sq svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.sq.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.sq.ghost:hover { background: var(--ember); box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px 0 2px; background: var(--ember); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .3s; }
.pill .sq { width: 44px; height: 44px; background: transparent; }
.pill:hover { background: var(--ember-2); }
.pill:hover .sq svg, .sq-link:hover .sq svg { transform: translateX(4px); }
.pill.wide { width: 100%; justify-content: center; padding-right: 46px; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark .sq { color: var(--ember); }
.pill.dark:hover { background: var(--forest); }
.sq-link { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.sq-link .sq { width: 40px; height: 40px; }
.sq-link.light { color: #fff; }
.text-btn { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }
.text-btn:hover { color: var(--ink); }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .6s var(--ease), box-shadow .3s; }
.hdr.hide { transform: translateY(-101%); }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; width: min(1440px, 100% - 40px); margin-inline: auto; }
.logo { display: grid; font-size: 23px; line-height: .98; letter-spacing: -.02em; }
.logo b { font-weight: 600; }
.logo span { font-weight: 300; color: var(--soft); }
.hdr-nav { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.hdr-nav a { position: relative; padding: 6px 0; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-r { display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 48px; height: 48px; }

/* hero */
.hero { padding: 64px 0 120px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 86px); max-width: 18.5ch; margin: 22px 0 64px; }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 20px; align-items: start; }
.hero-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.b { margin-top: 150px; }
.hero-img.c { margin-top: 64px; }
.hero-note { grid-column: 3; margin-top: -2px; font-size: 15px; color: var(--muted); max-width: 30ch; }
.motion .hero-img { animation: heroIn 1.4s var(--ease) both; }
.motion .hero-img.b { animation-delay: .12s; }
.motion .hero-img.c { animation-delay: .24s; }
.motion.fx-intro-on .hero-img { animation-play-state: paused; }
@keyframes heroIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* tentang */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; padding: 40px 0 140px; }
.about-title { display: grid; align-content: start; font-size: clamp(52px, 7.4vw, 116px); line-height: .94; letter-spacing: -.045em; }
.about-title b { font-weight: 600; }
.about-title span { font-weight: 300; color: var(--soft); }
.about-text { display: grid; gap: 18px; align-content: start; color: var(--ink-2); padding-top: 12px; }
.about-text .lead { color: var(--ink); }
.about-text .sq-link { margin-top: 10px; }
.ann { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr auto; gap: 0 56px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.ann-tabs { grid-column: 2; display: flex; gap: 28px; font-size: 15px; font-weight: 500; margin-bottom: 30px; }
.ann-tabs button { position: relative; padding: 6px 0; color: var(--soft); transition: color .3s; }
.ann-tabs button[aria-selected='true'] { color: var(--ink); }
.ann-tabs button[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.ann-slides { grid-column: 1 / -1; grid-row: 2; display: grid; }
.ann-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; visibility: hidden; opacity: 0; transition: opacity .8s, visibility 0s .8s; }
.ann-slide.on { visibility: visible; opacity: 1; transition: opacity .8s; }
.ann-img { overflow: hidden; aspect-ratio: 900 / 640; margin-top: -64px; background: var(--mist); }
.ann-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.ann-slide.on .ann-img img { transform: none; }
.ann-copy { display: grid; gap: 18px; align-content: start; padding-top: 14px; }
.ann-copy h3 { font-size: clamp(28px, 2.6vw, 40px); }
.ann-copy p { color: var(--muted); max-width: 44ch; }
.ann-ctl { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 10px; margin-top: 34px; }
.ann-n { font-size: 14px; color: var(--muted); min-width: 64px; }
.ann-n b { color: var(--ink); font-weight: 600; }
.ann-bar { flex: 1; height: 2px; background: var(--line); margin-right: 14px; }
.ann-bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* komitmen */
.pledge { background: var(--stone); color: #fff; padding: clamp(100px, 13vw, 190px) 0; }
.pledge-text { margin-top: 34px; font-size: clamp(30px, 3.9vw, 60px); font-weight: 300; line-height: 1.14; letter-spacing: -.025em; max-width: 24ch; }
.motion .pledge-text .w { opacity: .26; transition: opacity .5s; }
.motion .pledge-text .w.on { opacity: 1; }

/* pilar */
.work { padding: 140px 0; }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.work-head h2 { max-width: 14ch; }
.pillars { display: flex; gap: 12px; height: min(78vh, 700px); min-height: 520px; }
.pillar { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--forest); color: #fff; cursor: pointer; transition: flex-grow 1s var(--ease); outline-offset: -3px; }
.pillar.on { flex-grow: 3.1; cursor: default; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease), filter .8s; filter: saturate(.75) brightness(.8); }
.pillar.on img { transform: none; filter: none; }
.pillar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 14, 10, 0) 38%, rgba(8, 14, 10, .78)); pointer-events: none; }
.pillar-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 14px; padding: 30px; }
.pillar-n { font-size: 13px; font-weight: 600; color: var(--ember); }
.pillar h3 { font-size: clamp(26px, 2.4vw, 38px); white-space: nowrap; }
.pillar p, .pillar .sq-link { max-width: 40ch; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .8s var(--ease); pointer-events: none; }
.pillar p { color: rgba(255, 255, 255, .85); }
@media (min-width: 761px) {
  .pillar:not(.on) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(24px, 2vw, 32px); }
}
.pillar.on p, .pillar.on .sq-link { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }

/* dampak */
.impact { position: relative; height: 420vh; background: var(--forest); color: #fff; }
.impact-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.impact-bg, .impact-bg picture { position: absolute; inset: 0; }
.impact-bg picture { opacity: 0; transition: opacity 1.2s; }
.impact-bg picture.on { opacity: 1; }
.impact-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s linear; }
.impact-bg picture.on img { transform: scale(1); }
.impact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 16, 11, .82) 0%, rgba(8, 16, 11, .5) 55%, rgba(8, 16, 11, .25)); }
.impact-in { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 110px 0 60px; }
.impact-list { display: grid; align-content: center; }
.impact-list li { grid-area: 1 / 1; display: grid; gap: 10px; opacity: 0; transform: translateY(40px); transition: opacity .6s, transform 1s var(--ease); }
.impact-list li.on { opacity: 1; transform: none; }
.impact-list b { font-size: clamp(88px, 14vw, 230px); font-weight: 300; line-height: .9; letter-spacing: -.055em; color: var(--ember); font-variant-numeric: tabular-nums; }
.impact-list span { max-width: 30ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; }
.impact-dots { display: flex; gap: 8px; }
.impact-dots i { width: 42px; height: 3px; background: rgba(255, 255, 255, .3); transition: background-color .4s, width .6s var(--ease); }
.impact-dots i.on { background: var(--ember); width: 72px; }
html:not(.motion) .impact { height: auto; }
html:not(.motion) .impact-stick { position: relative; height: auto; }
html:not(.motion) .impact-in { height: auto; padding: 120px 0; gap: 40px; }
html:not(.motion) .impact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 40px; }
html:not(.motion) .impact-list li { grid-area: auto; opacity: 1; transform: none; }
html:not(.motion) .impact-list b { font-size: clamp(64px, 8vw, 120px); }
html:not(.motion) .impact-dots { display: none; }

/* beasiswa */
.scholars { background: var(--mist); padding: 140px 0; }
.sch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sch-copy { display: grid; gap: 26px; position: sticky; top: 120px; }
.sch-copy h2 { max-width: 12ch; }
.sch-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--line); }
.sch-facts b { display: block; font-size: 40px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.sch-facts span { font-size: 14px; color: var(--muted); }
.sch-form { display: grid; gap: 10px; background: var(--paper); padding: 40px; box-shadow: 0 30px 60px -40px rgba(14, 21, 17, .35); }
.sch-form h3 { font-size: 30px; margin-bottom: 12px; }
.sch-form label { font-size: 14px; font-weight: 500; margin-top: 8px; }
.sch-form input { height: 54px; padding: 0 16px; border: 1px solid var(--line); background: #fafbf8; border-radius: 0; outline: none; transition: border-color .3s, box-shadow .3s; }
.sch-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ember); }
.sch-form .pill { margin-top: 18px; }
.sch-err { margin-top: 8px; padding: 12px 14px; background: #fdecea; color: #8f1f16; font-size: 14px; }
.sch-form.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.sch-hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.sch-hint button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.letter-wrap { display: grid; gap: 22px; }
.letter { position: relative; display: grid; gap: 16px; padding: 44px 44px 40px; background: #fffef8; box-shadow: 0 40px 70px -40px rgba(14, 21, 17, .45), 0 0 0 1px rgba(14, 21, 17, .06); overflow: hidden; outline: none; }
.letter::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--ember); }
.letter header { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 18px; }
.letter header svg { width: 26px; height: 26px; color: var(--ink); }
.letter header span { font-weight: 300; }
.letter header b { font-weight: 600; }
.letter header small { margin-left: auto; font-size: 13px; color: var(--muted); }
.l-ref { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.letter h3 { font-size: 30px; }
.letter p { color: var(--ink-2); }
.l-list { display: grid; gap: 8px; margin: 4px 0; }
.l-list li { display: flex; gap: 12px; align-items: baseline; }
.l-list li::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--ember-2); transform: translateY(-1px); }
.l-sign { margin-top: 12px; display: grid; gap: 2px; }
.sig { font: italic 300 40px/1 var(--sans); letter-spacing: -.03em; color: var(--forest); }
.l-sign small { font-size: 13px; color: var(--muted); }
.stamp { position: absolute; right: 36px; bottom: 44px; padding: 10px 18px; border: 3px solid #2f6b3f; color: #2f6b3f; font-size: 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-12deg) scale(1.8); opacity: 0; transition: opacity .3s, transform .5s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.stamp.on { opacity: .9; transform: rotate(-12deg) scale(1); }
.letter-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.motion .letter-wrap:not([hidden]) .letter { animation: letterIn 1.1s var(--ease) both; }
.motion .letter-wrap:not([hidden]) .letter-actions { animation: fadeUp .8s .5s var(--ease) both; }
@keyframes letterIn { from { opacity: 0; transform: translateY(60px) rotate(-2.5deg); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* wilayah */
.where { position: relative; padding: 150px 0 120px; }
.where-head { display: grid; gap: 22px; margin-bottom: 50px; }
.where-head.row { grid-template-columns: 1fr auto; align-items: end; }
.where-head.row > div { display: grid; gap: 22px; }
.islands { border-bottom: 1px solid var(--line); }
.islands li { border-top: 1px solid var(--line); }
.islands button { width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; padding: 22px 0; transition: padding .7s var(--ease); }
.is-name { font-size: clamp(44px, 6.6vw, 104px); font-weight: 300; line-height: 1; letter-spacing: -.045em; transition: color .4s; }
.is-meta { font-size: 15px; color: var(--muted); }
.is-plus { display: grid; place-items: center; width: 48px; height: 48px; background: var(--mist); transition: background-color .3s, transform .6s var(--ease); }
.is-plus svg { width: 20px; height: 20px; }
.islands button:hover { padding-left: 22px; }
.islands button:hover .is-plus, .islands li.open .is-plus { background: var(--ember); }
.islands li.open .is-plus { transform: rotate(135deg); }
.is-body { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .8s var(--ease), opacity .5s, padding .8s var(--ease); }
.islands li.open .is-body { max-height: 320px; opacity: 1; padding-bottom: 30px; }
.is-body img { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; }
.is-body p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 38ch; color: var(--ink-2); }
.is-float { position: fixed; left: 0; top: 0; z-index: 20; width: 240px; aspect-ratio: 4 / 5; pointer-events: none; background: var(--mist) center / cover; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-4deg); transition: opacity .35s, transform .6s var(--ease); }
.is-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }

/* cerita */
.stories { padding: 60px 0 150px; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story button { display: grid; gap: 14px; width: 100%; }
.st-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.st-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story button:hover .st-img img { transform: scale(1.05); }
.st-tag { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 6px; }
.story h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; }
.story button:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* warisan */
.legacy { position: relative; height: 92vh; min-height: 560px; max-height: 980px; color: #fff; overflow: hidden; }
.legacy-img, .legacy-img picture { position: absolute; inset: 0; }
.legacy-img img { width: 100%; height: 100%; object-fit: cover; }
.legacy::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 16, 11, .1) 30%, rgba(8, 16, 11, .72)); pointer-events: none; }
.legacy-copy { position: absolute; left: 0; right: 0; bottom: 72px; z-index: 1; display: grid; gap: 24px; }
.legacy-copy h2 { max-width: 17ch; }

/* dukungan */
.give { background: var(--ember); padding: 130px 0; }
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.give-grid > div { display: grid; gap: 26px; }
.give h2 { max-width: 12ch; }
.give .lead { max-width: 40ch; }
.ways { display: grid; margin-top: 16px; border-top: 1px solid rgba(14, 21, 17, .2); }
.ways button { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(14, 21, 17, .2); transition: padding .6s var(--ease); }
.ways button:hover { padding-left: 14px; }
.ways b { font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.ways span { font-size: 14px; color: var(--ink-2); }
.give-card { display: grid; gap: 18px; background: var(--paper); padding: 36px; box-shadow: 0 40px 80px -50px rgba(14, 21, 17, .5); }
.freq { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); padding: 4px; }
.freq label { position: relative; cursor: pointer; }
.freq input { position: absolute; opacity: 0; }
.freq span { display: grid; place-items: center; height: 46px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color .3s, color .3s; }
.freq input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(14, 21, 17, .3); }
.freq input:focus-visible + span { outline: 2px solid var(--ink); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amounts button { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.amounts button b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.amounts button span { font-size: 13px; color: var(--muted); }
.amounts button:hover { border-color: var(--ink); }
.amounts button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.amounts button[aria-pressed='true'] span { color: var(--ember); }
.custom { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 0 16px; }
.custom span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.custom input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; background: transparent; font-size: 17px; }
.custom:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ember); }
.give-out { min-height: 3.2em; font-size: 16px; color: var(--ink-2); }
.give-out b { color: var(--ink); font-weight: 600; }

/* footer */
.foot { background: var(--forest); color: rgba(233, 240, 230, .8); padding: 90px 0 96px; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.foot-mark { font-size: clamp(120px, 21vw, 330px); font-weight: 300; line-height: .8; letter-spacing: -.07em; color: var(--ember); margin-left: -.05em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 12px; }
.foot h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.foot li { padding: 4px 0; font-size: 15px; }
.foot li :is(a, button):hover { color: var(--ember); }
.credits { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(233, 240, 230, .15); font-size: 13px; color: rgba(233, 240, 230, .6); }
.credits summary { cursor: pointer; font-size: 14px; font-weight: 500; color: #fff; }
.credits p { margin-top: 10px; max-width: 920px; }
.credits a { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-size: 13px; }
.legal a { text-decoration: underline; }
.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; }

/* dialog */
dialog { border: 0; padding: 0; max-width: none; max-height: none; background: transparent; color: var(--ink); }
dialog::backdrop { background: rgba(8, 14, 10, .55); }
.motion dialog[open]::backdrop { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; } }
body.lock { overflow: hidden; }
.menu { width: 100vw; height: 100vh; height: 100dvh; margin: 0; background: var(--ember); display: none; flex-direction: column; }
.menu[open] { display: flex; }
.menu::backdrop { background: transparent; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.menu-top .sq { background: var(--ink); color: var(--ember); }
.menu-top .logo span { color: rgba(14, 21, 17, .55); }
.menu-nav { display: grid; margin: auto; padding: 30px 0; }
.menu-nav a { display: flex; align-items: baseline; gap: 22px; padding: 10px 0; font-size: clamp(42px, 6.6vw, 96px); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; border-bottom: 1px solid rgba(14, 21, 17, .18); transition: padding .6s var(--ease); }
.menu-nav a span { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.menu-nav a:hover { padding-left: 24px; }
.motion .menu[open] { animation: menuIn .8s var(--ease); }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.motion .menu[open] .menu-nav a { animation: fadeUp .8s var(--ease) both; }
.motion .menu[open] .menu-nav a:nth-child(2) { animation-delay: .05s; }
.motion .menu[open] .menu-nav a:nth-child(3) { animation-delay: .1s; }
.motion .menu[open] .menu-nav a:nth-child(4) { animation-delay: .15s; }
.motion .menu[open] .menu-nav a:nth-child(5) { animation-delay: .2s; }
.menu-foot { padding: 0 0 28px; font-size: 14px; color: rgba(14, 21, 17, .65); }
.drawer { margin: 0 0 0 auto; width: min(620px, 100vw); height: 100vh; height: 100dvh; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.drawer[open] { display: block; }
.motion .drawer[open] { animation: fromRight .7s var(--ease); }
@keyframes fromRight { from { transform: translateX(100%); } }
.pd-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .sq { position: absolute; top: 18px; right: 18px; }
.pd-body { display: grid; gap: 18px; padding: 36px 40px 50px; }
.pd-body h3 { font-size: clamp(40px, 5vw, 60px); }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 0; border-block: 1px solid var(--line); margin: 8px 0; }
.pd-stats b { display: block; font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.pd-stats span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.pd-body h4 { font-size: 14px; font-weight: 600; margin-top: 8px; }
.pd-list { display: grid; }
.pd-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-list b { font-weight: 500; font-size: 17px; }
.pd-list span { font-size: 14.5px; color: var(--muted); }
.pd-nav { display: flex; justify-content: space-between; margin-top: 16px; }
.note { margin: auto; width: min(540px, 100% - 32px); background: var(--paper); padding: 40px; }
.note[open] { display: grid; gap: 16px; }
.motion .note[open] { animation: fadeUp .6s var(--ease); }
.note h3 { font-size: 36px; }
.note p { color: var(--muted); }
.note .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 14px 22px; background: var(--ink); color: #fff; font-size: 14px; transition: transform .6s var(--ease), visibility 0s .6s; pointer-events: none; white-space: nowrap; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }

/* intro */
.fx-intro { place-items: stretch; }
.intro-mark { align-self: center; justify-self: center; display: grid; gap: 22px; width: min(1320px, 100% - 64px); }
.intro-logo { display: grid; font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; }
.intro-logo b { font-weight: 600; }
.intro-logo span { font-weight: 300; opacity: .55; }
.intro-line { max-width: 30ch; font-size: 16px; opacity: .75; }
.fx-intro .fx-count { left: max(32px, calc((100% - 1320px) / 2)); right: auto; bottom: 36px; font: 300 clamp(56px, 8vw, 120px)/1 var(--sans); letter-spacing: -.05em; opacity: 1; }
.fx-intro .fx-count::after { content: '%'; font-size: .4em; margin-left: .08em; vertical-align: top; }
.fx-intro .fx-bar { height: 4px; opacity: 1; }
.motion .intro-logo { animation: fadeUp 1s var(--ease) both; }
.motion .intro-line { animation: fadeUp 1s .2s var(--ease) both; }

/* responsif */
@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .pillars { height: 620px; }
  .pillar h3 { font-size: 24px; }
}
@media (max-width: 900px) {
  .about, .sch-grid, .give-grid, .work-head, .foot-top { grid-template-columns: 1fr; }
  .ann { grid-template-columns: 1fr; gap: 0; }
  .ann-tabs, .ann-ctl { grid-column: 1; }
  .ann-tabs { grid-row: 1; }
  .ann-slide { grid-template-columns: 1fr; gap: 26px; }
  .ann-img { margin-top: 0; }
  .sch-copy { position: static; }
  .sch-grid { gap: 50px; }
  .foot-cols { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hdr-in { height: 68px; width: calc(100% - 24px); }
  .hdr .pill { height: 44px; padding-right: 16px; font-size: 14px; }
  .hdr .pill .sq { width: 36px; }
  .menu-btn { width: 44px; height: 44px; }
  .logo { font-size: 20px; }
  .hero { padding: 40px 0 90px; }
  .hero h1 { margin: 18px 0 40px; }
  .hero-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-img.a { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
  .hero-img.b, .hero-img.c { margin-top: 0; }
  .hero-img.c { margin-top: 40px; }
  .hero-note { grid-column: 1 / -1; margin-top: 10px; }
  .about { padding: 20px 0 100px; }
  .ann { margin-top: 30px; }
  .ann-tabs { gap: 20px; font-size: 14px; }
  .pledge-text { max-width: none; }
  .work { padding: 100px 0; }
  .work-head { margin-bottom: 36px; gap: 22px; }
  .pillars { height: auto; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; gap: 10px; scrollbar-width: none; }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar, .pillar.on { flex: 0 0 82vw; height: 520px; scroll-snap-align: start; }
  .pillar img { transform: none; filter: none; }
  .pillar p, .pillar .sq-link { opacity: 1; transform: none; pointer-events: auto; }
  .pillar-copy { padding: 24px; }
  .impact-in { padding: 90px 0 90px; }
  html:not(.motion) .impact-list { grid-template-columns: 1fr; }
  .scholars { padding: 100px 0; }
  .sch-form, .letter { padding: 28px 22px; }
  .sch-facts { gap: 24px; }
  .sch-facts b { font-size: 32px; }
  .stamp { right: 18px; bottom: 30px; font-size: 18px; }
  .where { padding: 100px 0 80px; }
  .islands button { gap: 14px; padding: 18px 0; }
  .islands button:hover { padding-left: 0; }
  .is-meta { font-size: 13px; }
  .is-plus { width: 40px; height: 40px; }
  .is-body { grid-template-columns: 110px 1fr; gap: 16px; }
  .is-body img { width: 110px; }
  .is-body p { font-size: 16px; }
  .is-float { display: none; }
  .where-head.row { grid-template-columns: 1fr; gap: 24px; }
  .st-grid { grid-template-columns: 1fr; gap: 36px; }
  .stories { padding: 30px 0 100px; }
  .legacy { height: 78vh; }
  .legacy-copy { bottom: 44px; }
  .give { padding: 90px 0; }
  .give-grid { gap: 44px; }
  .give-card { padding: 24px 18px; }
  .amounts button { padding: 14px; }
  .amounts button b { font-size: 19px; }
  .foot { padding: 70px 0 110px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .pd-body { padding: 28px 22px 40px; }
  .pd-stats b { font-size: 26px; }
  .note { padding: 28px 22px; }
  .menu-nav a { gap: 14px; }
}

/* mode tangkapan layar (?shot): header & pil demo tampil sekali */
.capture .hdr { position: relative; }
.capture .demo { position: absolute; }
