/* =========================================================
   Peyalar Opare : "the hour before dawn"
   Cool mist everywhere; the only warm colour is the ember of the cup.
   ========================================================= */
:root {
  --ink: #13241f;        /* tea-garden night */
  --ink-2: #1b3129;
  --leaf: #3f6b4a;
  --mist: #dfe8e4;
  --paper: #eef2ee;
  --frost: #8fb3c2;      /* cold accent */
  --ember: #e3a14a;      /* the only warm colour */
  --ember-deep: #b8701f;
  --text: #17261f;
  --muted: #5a6b64;
  --line: #c9d5cf;
  --bkash: #d81b64;

  --f-display: "Tiro Bangla", "Noto Serif Bengali", Georgia, serif;
  --f-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 3.6vw, 2.9rem);
  --step-4: clamp(2.6rem, 6.2vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--step-0)/1.7 var(--f-body);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

/* ---- language switching ---- */
html[data-lang="en"] [lang="bn"]:not(.keep) { display: none !important; }
html[data-lang="bn"] [lang="en"]:not(.keep) { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: var(--ink); padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
.sec-title { font-size: var(--step-3); max-width: 22ch; letter-spacing: -.005em; }
.sec-lead { font-size: var(--step-1); color: var(--muted); max-width: 52ch; margin: 0 0 2rem; line-height: 1.6; }
.cite { font-size: var(--step--1); opacity: .7; margin-top: .6rem; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .82em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.97); }
.btn-ember { background: var(--ember); color: var(--ink); box-shadow: 0 0 0 0 rgba(227,161,74,.5); }
.btn-ember:hover { background: #f0b25d; box-shadow: 0 0 30px 0 rgba(227,161,74,.35); }
.btn-glass { background: rgba(223,232,228,.08); color: var(--mist); border-color: rgba(223,232,228,.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(223,232,228,.16); }
.btn-line { background: transparent; color: var(--mist); border-color: rgba(223,232,228,.4); }
.btn-line:hover { border-color: var(--ember); color: var(--ember); }
.btn-line.dark { color: var(--ink); border-color: var(--ink); }
.btn-line.dark:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: .55em 1.1em; font-size: var(--step--1); }

/* ================= HEADER ================= */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 68px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  color: var(--mist); transition: background .35s, box-shadow .35s;
}
.bar.solid { background: rgba(19,36,31,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(223,232,228,.08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .98rem; opacity: .85; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--ember); transition: right .25s; }
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1.5px solid rgba(223,232,228,.4); border-radius: 999px; padding: .35em .95em; cursor: pointer; font-size: .92rem; }
.lang:hover { border-color: var(--ember); color: var(--ember); }
.lang [lang="bn"] { font-family: var(--f-body); }
.menu { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.menu i { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .25s; }
.menu i:first-child { top: 15px; } .menu i:last-child { top: 23px; }
.menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: var(--mist);
  background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; background: #1d3527 url("assets/hero-worker.jpg") center / cover no-repeat; }
.hv {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 6s ease-out;
}
.hv.on { opacity: 1; transform: scale(1); }
@media (max-width: 700px) { #hv1 { object-position: 60% center; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,22,18,.78) 0%, rgba(10,22,18,.45) 42%, rgba(10,22,18,.05) 72%),
    linear-gradient(0deg, rgba(10,22,18,.7) 0%, transparent 35%),
    linear-gradient(180deg, rgba(10,22,18,.6) 0%, transparent 16%); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(10,22,18,.25) 0%, rgba(10,22,18,.55) 40%, rgba(10,22,18,.88) 80%); } }
.frost { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-copy {
  position: relative; z-index: 2; padding: 120px var(--gutter) 40px; max-width: 900px;
}
.hero-logo {
  width: 104px; height: 104px; border-radius: 50%; background: #fff; margin-bottom: 26px;
  box-shadow: 0 0 0 6px rgba(223,232,228,.08), 0 20px 60px rgba(0,0,0,.35);
  opacity: 0; animation: rise 1s .2s ease-out forwards;
}
.tagline {
  font-size: var(--step-4); line-height: 1.12; margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.tagline .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(8px); animation: wordIn 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.tagline-en { font-family: var(--f-display); font-style: italic; font-size: var(--step-1); margin: .7rem 0 0; opacity: 0; animation: rise 1s 1.9s forwards; color: #c9d8d1; }
.hero-lead { max-width: 54ch; font-size: var(--step-1); line-height: 1.6; color: #c7d4ce; margin: 1.4rem 0 1.8rem; opacity: 0; animation: rise 1s 2.1s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: rise 1s 2.3s forwards; }
.watch-ready { display: none; }
.has-video .watch-ready { display: inline; }
.has-video .watch-soon { display: none; }
.btn-glass[aria-disabled="true"] { cursor: default; opacity: .7; }

@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* scene animation: mist drifts, steam rises */
.mist { animation: drift 38s ease-in-out infinite alternate; }
.m2 { animation-duration: 46s; animation-direction: alternate-reverse; }
.m3 { animation-duration: 30s; }
@keyframes drift { from { transform: translateX(-120px); } to { transform: translateX(140px); } }
.steam path { stroke-dasharray: 420; stroke-dashoffset: 420; opacity: 0; animation: steam 6.5s ease-out infinite; }
.steam .s2 { animation-delay: 2.1s; }
.steam .s3 { animation-delay: 4.2s; }
@keyframes steam {
  0% { stroke-dashoffset: 420; opacity: 0; transform: translateY(0); }
  20% { opacity: .75; }
  100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-50px); }
}

.ticker {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 18px;
  border-top: 1px solid rgba(223,232,228,.14); background: rgba(13,26,22,.55); backdrop-filter: blur(8px);
  padding: 12px var(--gutter); font-size: .95rem;
}
.ticker-label { white-space: nowrap; color: var(--frost); }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-inner { display: inline-flex; gap: 34px; white-space: nowrap; animation: tick 40s linear infinite; }
.ticker-inner.static { animation: none; }
.ticker-inner b { font-weight: 600; color: #fff; }
.ticker-inner .t { color: var(--frost); margin-left: 6px; }
.ticker .muted { opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ================= INTRO ================= */
.intro {
  position: fixed; inset: 0; z-index: 500; display: none; place-items: center;
  background: #e2cfb0; transition: opacity .9s ease, visibility .9s;
}
.intro-on .intro { display: grid; }
.intro video { width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 1/1) { .intro video { object-fit: contain; } }
.intro.done { opacity: 0; visibility: hidden; }
.intro-skip {
  position: absolute; right: 20px; bottom: 20px; border: 1.5px solid rgba(40,60,45,.45); background: rgba(255,255,255,.55);
  color: #23392c; border-radius: 999px; padding: .45em 1.2em; cursor: pointer; font-weight: 600; backdrop-filter: blur(4px);
}
.intro-skip:hover { background: #fff; }
/* hold hero entrance until intro ends */
.intro-on .hero-logo, .intro-on .tagline .w, .intro-on .tagline-en, .intro-on .hero-lead, .intro-on .hero-cta { animation-play-state: paused; }

/* ================= STORY ================= */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--mist); }
.story-sky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: linear-gradient(#0d1a17, #2a4440); color: #0c1714;
  transition: background 1.2s ease, color 1.2s;
}
.story-sky[data-step="1"] { background: linear-gradient(#2f4a49 0%, #8f8a76 70%, #d9a46b 100%); color: #1a2e25; }
.story-sky[data-step="2"] { background: linear-gradient(#8fb6c2, #dfe8e4); color: #2f5a3d; }
.story-sky[data-step="3"] { background: linear-gradient(#070f0d, #182925); color: #050b09; }
.sky-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.sun {
  position: absolute; width: 120px; height: 120px; border-radius: 50%; left: 62%;
  background: radial-gradient(circle, #ffe2ae 0%, #e3a14a 45%, rgba(227,161,74,0) 70%);
  top: 85%; opacity: 0; transition: top 1.4s ease, opacity 1.2s, left 1.4s;
}
.story-sky[data-step="1"] .sun { top: 50%; opacity: .9; left: 66%; }
.story-sky[data-step="2"] .sun { top: 14%; opacity: 1; left: 48%; }
.story-sky[data-step="3"] .sun { top: 18%; left: 30%; opacity: .55; width: 60px; height: 60px; background: radial-gradient(circle, #f2f2e6 0%, #c7d4ce 40%, rgba(199,212,206,0) 70%); }
.clock {
  position: absolute; left: var(--gutter); top: 110px; z-index: 2;
  font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; color: var(--mist);
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.story-sky[data-step="2"] .clock { color: var(--ink); text-shadow: none; }
.clock small { display: block; font-size: 1rem; font-family: var(--f-body); margin-top: 10px; opacity: .8; }
.story-steps { padding: 18vh var(--gutter) 20vh; }
.story-steps .sec-title { margin-bottom: 30vh; }
.step { min-height: 70vh; max-width: 44ch; opacity: .28; transition: opacity .6s; }
.step.active { opacity: 1; }
.step h3 { font-size: var(--step-2); color: #fff; }
.step p { font-size: var(--step-1); line-height: 1.65; color: #c7d4ce; }
.step .cite { color: var(--frost); font-size: var(--step--1); }

/* ================= FILMS ================= */
.films { background: var(--ink-2); color: var(--mist); padding: 96px 0; }
.film-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.film {
  position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: #0c1915; border: 1px solid rgba(223,232,228,.12); text-align: left; padding: 0;
}
.film img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s; }
.film:hover img { opacity: 1; transform: scale(1.03); }
.film .play {
  position: absolute; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600;
}
.film .play i { width: 46px; height: 46px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; }
.film.placeholder { cursor: default; display: grid; place-items: center; text-align: center; padding: 24px;
  background: repeating-linear-gradient(-4deg, #10201b 0 18px, #13261f 18px 36px); }
.film.placeholder p { margin: 0; font-family: var(--f-display); font-size: var(--step-1); }
.film.placeholder small { display: block; opacity: .65; font-family: var(--f-body); font-size: .95rem; margin-top: 6px; }

/* ================= COLD MAP ================= */
.cold { background: radial-gradient(120% 90% at 85% 30%, #1d3a3e 0%, var(--ink) 60%); color: var(--mist); padding: 110px 0; }
.cold-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cold .sec-lead { color: #b5c6bf; }
.cold-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cold-list li button {
  width: 100%; display: grid; grid-template-columns: 1fr auto 110px; align-items: center; gap: 14px;
  background: none; border: 0; border-bottom: 1px solid rgba(223,232,228,.1); padding: 10px 4px; cursor: pointer; text-align: left;
}
.cold-list li button:hover, .cold-list li button.sel { background: rgba(143,179,194,.08); }
.cold-list .cname { font-size: 1.05rem; }
.cold-list .ctemp { font-family: var(--f-display); font-size: 1.5rem; }
.cold-list .cbar { height: 6px; border-radius: 3px; background: rgba(223,232,228,.12); overflow: hidden; }
.cold-list .cbar i { display: block; height: 100%; border-radius: 3px; }
.cold-map-wrap { position: relative; }
.cold-map { width: 100%; max-height: 640px; }
.cold-map .grid line { stroke: rgba(223,232,228,.06); }
.cold-map .dot { cursor: pointer; }
.cold-map .dot text { font-family: var(--f-body); font-size: 13px; fill: #c7d4ce; }
.cold-map .dot .tv { font-family: var(--f-display); font-size: 20px; fill: #fff; }
.cold-map .pulse { animation: pulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.cold-detail {
  position: absolute; right: 0; top: 0; background: rgba(13,26,22,.85); border: 1px solid rgba(143,179,194,.25);
  padding: 14px 18px; border-radius: 6px; min-width: 210px; font-size: .95rem;
}
.cold-detail:empty { display: none; }
.cold-detail strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; display: block; }

/* ================= APPROACH / TIMELINE ================= */
.approach { padding: 110px 0; background: var(--paper); }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line); }
.path li { position: relative; padding: 38px 22px 0 0; }
.path-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.path li.done .path-dot { background: var(--leaf); border-color: var(--leaf); }
.path li.done .path-dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.path li.now .path-dot { border-color: var(--ember); background: var(--ember); box-shadow: 0 0 0 6px rgba(227,161,74,.2); animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 12px rgba(227,161,74,.05); } }
.path li.done::before, .path li.now::before { content: ""; position: absolute; left: 0; top: 9px; height: 2px; right: 0; background: var(--leaf); }
.path li.now::before { right: 50%; background: linear-gradient(90deg, var(--leaf), var(--ember)); }
.path-when { font-size: var(--step--1); color: var(--muted); margin: 0 0 .3rem; }
.path h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.path p { margin: 0; color: var(--muted); font-size: .98rem; }
.path-status { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #e1e8e3; color: var(--muted); }
.path li.now .path-status { background: #f6e2c5; color: #7a4a12; }
.path li.done .path-status { background: #d6e5d9; color: #24472f; }

/* ================= IMPACT ================= */
.impact { padding: 110px 0; background: linear-gradient(180deg, var(--paper), #e6ece8); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.amount-display { display: flex; align-items: baseline; gap: 6px; font-family: var(--f-display); color: var(--ink); line-height: 1; margin: 12px 0 18px; }
.amount-display .taka { font-size: clamp(2rem, 4vw, 3rem); color: var(--ember-deep); }
.amount-display output { font-size: clamp(3.4rem, 8vw, 6.4rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 5px; cursor: pointer;
  background: linear-gradient(90deg, var(--frost), #c9c7a8 50%, var(--ember));
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 14px rgba(19,36,31,.3); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chips button, .chip-input {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45em 1em; cursor: pointer; font-weight: 500;
}
.chips button.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip-input { display: inline-flex; align-items: center; gap: 4px; cursor: text; }
.chip-input input { width: 84px; border: 0; outline: 0; background: transparent; }
.item-tabs { display: flex; flex-direction: column; gap: 8px; }
.item-tab {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 16px; cursor: pointer;
}
.item-tab svg { width: 44px; height: 44px; color: var(--leaf); }
.item-tab .count { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); }
.item-tab[aria-selected="true"] { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(227,161,74,.2); }
.item-tab small { display: block; color: var(--muted); }

.impact-visual {
  position: sticky; top: 100px; background: var(--ink); color: var(--mist); border-radius: 18px; padding: 34px;
  overflow: hidden; isolation: isolate;
}
.impact-visual::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(227,161,74,var(--heat, .1)), transparent);
  transition: background .5s;
}
.warmth { height: 6px; border-radius: 3px; background: rgba(143,179,194,.2); overflow: hidden; margin-bottom: 26px; }
.warmth-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--frost), var(--ember)); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.impact-sentence { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.3; margin: 0 0 22px; min-height: 2.6em; }
.impact-sentence b { color: var(--ember); font-weight: 400; }
.icon-field { display: flex; flex-wrap: wrap; gap: 8px; min-height: 120px; align-content: flex-start; margin-bottom: 18px; }
.icon-field svg { width: 40px; height: 40px; color: var(--ember); animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; }
.icon-field .more { align-self: center; font-family: var(--f-display); font-size: 1.4rem; color: var(--ember); margin-left: 6px; }
@keyframes pop { from { transform: scale(0) rotate(-12deg); opacity: 0; } }
.impact-note { font-size: var(--step--1); color: #a9bbb4; margin: 0 0 20px; }

/* ================= DONATE ================= */
.donate {
  padding: 110px 0; color: var(--mist);
  background: radial-gradient(90% 70% at 20% 110%, rgba(227,161,74,.22), transparent 60%), var(--ink);
}
.progress { max-width: 760px; margin-bottom: 44px; }
.progress-nums { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.progress-nums p { margin: 0; }
.progress-nums strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); color: #fff; }
#goalOut { color: #a9bbb4; }
.progress-track { position: relative; height: 14px; border-radius: 7px; background: rgba(223,232,228,.1); margin: 12px 0 10px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--frost), var(--ember)); transition: width 1.6s cubic-bezier(.2,.7,.2,1); position: relative; min-width: 14px; }
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shimmer 2.8s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.progress-sub { color: #a9bbb4; margin: 0; font-size: .98rem; }
.chosen { background: rgba(227,161,74,.12); border-left: 3px solid var(--ember); padding: 10px 16px; margin: 0 0 24px; max-width: 760px; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pay:has(#gatewayCard:not([hidden])) { grid-template-columns: repeat(3, 1fr); }
.pay-card { background: rgba(223,232,228,.05); border: 1px solid rgba(223,232,228,.14); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pay-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
.pay-word { font-family: var(--f-display); font-size: 1.5rem; color: #fff; }
.pay-bkash .pay-word { color: #ff5c9a; }
.pay-kind { font-size: .88rem; color: #a9bbb4; }
.pay-bkash { border-top: 4px solid var(--bkash); }
.pay-bank { border-top: 4px solid var(--frost); }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(0,0,0,.22); border-radius: 10px; padding: 10px 10px 10px 16px; }
.copy-row.big .copy-val { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; letter-spacing: .03em; }
.copy {
  border: 0; border-radius: 8px; padding: .5em 1em; cursor: pointer; font-weight: 600; font-size: .9rem;
  background: var(--mist); color: var(--ink); transition: background .2s;
}
.copy:hover { background: #fff; }
.copy.ok { background: var(--leaf); color: #fff; }
.howto { margin: 0; padding-left: 1.2em; color: #c7d4ce; font-size: .98rem; }
.howto li { margin-bottom: 4px; }
.bank-rows { margin: 0; display: grid; gap: 6px; }
.bank-rows div { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(223,232,228,.12); }
.bank-rows dt { color: #a9bbb4; font-size: .9rem; }
.bank-rows dd { margin: 0; font-weight: 600; color: #fff; word-break: break-all; }
.bank-rows .copy { padding: .35em .8em; font-size: .82rem; }
.trust { max-width: 70ch; margin: 34px 0 0; color: #a9bbb4; font-size: .98rem; }

/* ================= GIFT ================= */
.gift { padding: 110px 0; background: var(--paper); }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.card-form, .vform { display: grid; gap: 14px; }
.card-form label, .vform label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.card-form input, .vform input, .vform select, .vform textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .7em .9em; background: #fff; color: var(--text); width: 100%;
}
.card-form input:focus, .vform input:focus, .vform select:focus, .vform textarea:focus { outline: 0; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(227,161,74,.25); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.card-preview { position: sticky; top: 100px; }
.card-preview canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(19,36,31,.25); transform: rotate(1.2deg); transition: transform .4s; }
.card-preview canvas:hover { transform: rotate(0); }
.org { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.org h3 { font-size: var(--step-2); }
.org p { color: var(--muted); max-width: 56ch; }
.partner-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.partner-wall span { border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; background: #fff; }

/* ================= LEDGER ================= */
.ledger { padding: 110px 0; background: #fff; }
.ledger-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ledger-head h3, .spend h3 { font-size: var(--step-1); margin: 0; }
.search input { border: 1.5px solid var(--line); border-radius: 999px; padding: .5em 1em; width: 270px; max-width: 100%; }
.search input:focus { outline: 0; border-color: var(--ember); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: .96rem; font-variant-numeric: tabular-nums; }
.ledger-table th { text-align: left; font-weight: 600; background: var(--paper); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger-table td { padding: 10px 14px; border-bottom: 1px solid #e7ece9; }
.ledger-table tr.hit td { background: #fbefdc; }
.ledger-table td.amt { font-weight: 600; text-align: right; }
.ledger-table th:nth-child(2) { text-align: right; }
.ledger-empty td { text-align: center; padding: 36px 16px; color: var(--muted); }
.spend { background: var(--paper); border-radius: 14px; padding: 26px; }
.donut-wrap { position: relative; width: min(240px, 100%); margin: 20px auto; }
.donut { width: 100%; transform: rotate(-90deg); }
.donut circle { transition: stroke-dasharray 1.2s cubic-bezier(.2,.7,.2,1); }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; font-size: .9rem; color: var(--muted); }
.donut-center strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.spend-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.spend-legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: .95rem; }
.spend-legend i { width: 14px; height: 14px; border-radius: 3px; }
.promises { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.promises li { padding-left: 34px; position: relative; }
.promises li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, var(--ember) 0 35%, rgba(227,161,74,.25) 36% 100%);
}

/* ================= JOIN ================= */
.join { padding: 110px 0; background: var(--paper); }
.join-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vform fieldset { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vform legend { font-weight: 500; padding: 0 6px; font-size: .95rem; }
.tick { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 400 !important; cursor: pointer; }
.tick input { width: 20px; height: 20px; accent-color: var(--leaf); }
.form-msg { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-msg.ok { color: var(--leaf); }
.form-msg.err { color: #a3361f; }
.share { background: var(--ink); color: var(--mist); border-radius: 18px; padding: 32px; position: sticky; top: 100px; }
.share h3 { font-size: var(--step-2); }
.share p { color: #b5c6bf; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.share-btns a, .share-btns button {
  display: flex; align-items: center; justify-content: center; text-decoration: none; padding: .75em 1em; border-radius: 10px;
  border: 1px solid rgba(223,232,228,.2); background: rgba(223,232,228,.05); cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s;
}
.share-btns a:hover, .share-btns button:hover { border-color: var(--ember); background: rgba(227,161,74,.1); }

/* ================= FOOTER ================= */
.foot { background: #0d1a16; color: #b5c6bf; padding: 70px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; align-items: start; }
.foot img { border-radius: 50%; background: #fff; }
.foot-tag { font-family: var(--f-display); font-size: 1.2rem; color: var(--mist); margin-top: 14px; }
.foot h3 { color: var(--mist); font-size: 1.2rem; }
.foot a { color: var(--mist); }
.foot p { margin: 0 0 8px; }
.socials a { margin-right: 14px; }
.foot-note { font-size: .9rem; opacity: .8; }

/* ================= MODALS / TOAST ================= */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(7,14,12,.78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .25s; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: var(--paper); border-radius: 16px; padding: 30px; width: min(560px, 100%); max-height: 92vh; overflow: auto; animation: rise .3s; }
.modal-box h3 { font-size: var(--step-2); padding-right: 30px; }
.video-box { width: min(1000px, 100%); padding: 0; background: #000; overflow: hidden; }
.video-frame { aspect-ratio: 16/9; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.modal-x { position: absolute; right: 10px; top: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(19,36,31,.08); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.video-box .modal-x { background: rgba(255,255,255,.15); color: #fff; }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 220%); visibility: hidden; background: var(--ink); color: var(--mist); padding: 12px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .path { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .path::before { display: none; }
  .path li::before { display: none; }
  .pay, .pay:has(#gatewayCard:not([hidden])) { grid-template-columns: 1fr; }
  .ledger-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: rgba(19,36,31,.97);
    padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(223,232,228,.08); }
  .bar-actions { margin-left: auto; }
  .story { grid-template-columns: 1fr; }
  .story-sky { height: 34vh; top: 68px; z-index: 5; }
  .clock { top: 24px; font-size: 3rem; }
  .story-steps { padding: 10vh var(--gutter); }
  .story-steps .sec-title { margin-bottom: 14vh; }
  .step { min-height: 56vh; }
  .cold-grid, .impact-grid, .gift-grid, .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .impact-visual, .card-preview, .share { position: static; }
  .card-preview { order: -1; max-width: 420px; }
  .promises { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar { gap: 10px; }
  .brand > span { display: none; }
  .bar-actions .btn-sm { padding: .5em .9em; }
  .path { grid-template-columns: 1fr; }
  .two, .vform fieldset { grid-template-columns: 1fr; }
  .cold-list li button { grid-template-columns: 1fr auto 60px; }
  .bank-rows div { grid-template-columns: 1fr auto; }
  .bank-rows dt { grid-column: 1 / -1; }
  .hero-logo { width: 80px; height: 80px; }
  .ticker-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tagline .w, .hero-logo, .tagline-en, .hero-lead, .hero-cta { opacity: 1 !important; transform: none !important; filter: none !important; }
}
