/* River visuals for the grants info page (/apply). Decorative; honors reduced motion. */
.river-hero{margin-top:32px;border-radius:26px;overflow:hidden;box-shadow:0 24px 60px -24px rgba(0,0,0,.5);aspect-ratio:640/200;background:#fff4de;max-width:980px}
.river-hero svg{width:100%;height:100%;display:block}
.rv-label{font:600 12px Barlow,Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;fill:#fffdf6}
.rv-flow{fill:none;stroke:#fff;stroke-opacity:.6;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:6 22;animation:rvflow 3s linear infinite}
.rv-flow.b{stroke-dasharray:3 30;animation-duration:4.6s;stroke-opacity:.35}
@keyframes rvflow{to{stroke-dashoffset:-56}}
.rv-rays path{stroke:#e2725b;stroke-opacity:.22;stroke-width:2.2;stroke-linecap:round}
.rv-rays{transform-origin:548px 46px;animation:rvspin 70s linear infinite}
@keyframes rvspin{to{transform:rotate(360deg)}}
.rv-cloud ellipse{fill:rgba(255,255,255,.78)}
.rv-cloud.c1{animation:rvcloud 70s linear infinite}
.rv-cloud.c2{animation:rvcloud 95s linear -40s infinite}
@keyframes rvcloud{from{transform:translateX(-160px)}to{transform:translateX(720px)}}
.rv-reed{fill:none;stroke:#8db3a6;stroke-width:1.8;stroke-linecap:round;animation:rvreed 3.6s ease-in-out infinite alternate}
@keyframes rvreed{from{transform:rotate(-5deg)}to{transform:rotate(6deg)}}
.rv-bob{animation:rvbob 3s ease-in-out infinite}
@keyframes rvbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}

/* vertical river: the three steps */
.river-steps{position:relative;max-width:820px;margin:8px auto 0}
.river-steps__svg{position:absolute;left:0;top:0;width:70px;pointer-events:none}
.river-steps__list{list-style:none;margin:0;padding:0;display:grid;gap:28px;position:relative}
.river-steps__list li{display:grid;grid-template-columns:70px 1fr;gap:18px;align-items:start}
.rs-icon{width:46px;height:46px;margin:4px 12px;border-radius:50%;background:#fffaf0;border:2.5px solid var(--terracotta);display:grid;place-items:center;position:relative;z-index:1;box-shadow:0 0 0 5px rgba(226,114,91,.16)}
.rv-ico{width:24px;height:24px;fill:none;stroke:var(--pine);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rv-ico .a,.rv-ico path.a,.rv-ico circle.a{stroke:var(--terracotta)}
.rs-card{background:var(--paper,#fff);border:1px solid var(--pine-tint-border,rgba(0,73,83,.18));border-radius:var(--radius,14px);padding:24px 26px;box-shadow:0 14px 30px -22px rgba(0,73,83,.5)}
.rs-kicker{margin:0 0 4px;font:600 12px Barlow,Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--terracotta-deep,#b04c38)}
.rs-card h3{font-size:20px}
.rs-card p:not(.rs-kicker){font-size:15.5px;margin-top:8px}
.rs-tieny{position:absolute;left:0;top:0;width:44px;height:54px;z-index:2;pointer-events:none;will-change:transform;filter:drop-shadow(0 6px 5px rgba(0,40,46,.22))}
.rs-tieny svg{display:block;overflow:visible}

/* the three grants */
.grant-tiles .card{display:grid;gap:10px;align-content:start}
.grant-tiles .rv-ico{width:34px;height:34px}
.grant-tiles .amt{font:600 1.6rem Barlow,Inter,sans-serif;color:var(--pine)}
.grant-tiles .more{font-weight:600}

@media (max-width:640px){
  .river-hero{border-radius:18px;margin-top:24px}
  .river-steps__list li{grid-template-columns:54px 1fr;gap:10px}
  .river-steps__svg{width:54px;left:-2px}
  .rs-icon{width:40px;height:40px;margin:4px 7px}
  .rs-card{padding:18px 18px}
}
@media (prefers-reduced-motion:reduce){
  .rv-flow,.rv-rays,.rv-cloud,.rv-reed,.rv-bob{animation:none!important}
  .rs-tieny{transform:translate(13px,6px)!important}
}
@media print{.river-hero,.rs-tieny,.river-steps__svg{display:none}}
