/* Animated front page ("concept 1"). Loaded on the front page only.
   Palette comes from the :root tokens in style.css. */

.home-concept { overflow-x: clip; }
.home-concept h1, .home-concept h2, .home-concept h3, .home-concept h4 { font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.home-concept h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 14px; }
.home-concept h3 { font-size: 20px; margin: 0 0 10px; }
.home-concept p { color: var(--muted); }

/* ---------- Buttons ---------- */
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.hc-btn:hover { transform: translateY(-3px); }
.hc-btn--donate { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(234, 106, 10, .4); animation: hc-pulse 2.6s ease-out infinite; }
.hc-btn--donate:hover { background: var(--color-accent-hover); color: #fff; }
.hc-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.hc-btn--ghost:hover { background: #fff; color: #111; }
.hc-btn--outline { border-color: var(--btn); color: var(--btn); }
.hc-btn--outline:hover { background: var(--btn); color: #fff; }
.hc-btn--green { background: var(--btn); color: #fff; }
.hc-btn--green:hover { background: var(--btn-hover); color: #fff; }
.hc-btn--white { background: #fff; color: #111; }
.hc-btn--white:hover { background: #111; color: #fff; }
.hc-btn--block { width: 100%; margin-top: 6px; }
.hc-ico { width: 1.1em; height: 1.1em; fill: currentColor; animation: hc-beat 1.6s ease-in-out infinite; }
@keyframes hc-pulse { 0% { box-shadow: 0 8px 22px rgba(234,106,10,.4), 0 0 0 0 rgba(234,106,10,.55); } 70% { box-shadow: 0 8px 22px rgba(234,106,10,.4), 0 0 0 16px rgba(234,106,10,0); } 100% { box-shadow: 0 8px 22px rgba(234,106,10,.4), 0 0 0 0 rgba(234,106,10,0); } }
@keyframes hc-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }

.hc-eyebrow { display: inline-block; color: var(--btn); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hc-eyebrow--light { color: #ffb878; }
.hc-link { font-weight: 700; color: var(--btn); font-size: 14px; }
.hc-link span { display: inline-block; transition: transform .2s; }
.hc-link:hover span { transform: translateX(5px); }
.hc-tag { display: inline-block; background: var(--color-accent-soft); color: var(--color-accent-hover); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Sections ---------- */
.hc-section { padding: 84px 0; position: relative; }
.hc-soft { }
.hc-dark { background: #111; color: #e6e6e6; }
.hc-dark h2, .hc-dark h4 { color: #fff; }
.hc-head { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.hc-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; text-align: left; }
.hc-head--light h2 { color: #fff; }
.hc-head--light p { color: #cfcfcf; }

/* ---------- Hero ---------- */
.hc-hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--header-height, 84px) + 50px) 0 90px; }
.hc-hero__bg, .hc-slide { position: absolute; inset: 0; }
.hc-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease; }
.hc-slide.is-active { opacity: 1; animation: hc-kenburns 9s ease-out forwards; }
@keyframes hc-kenburns { from { transform: scale(1.08); } to { transform: scale(1.22) translate(-1.5%, -1%); } }
.hc-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.78) 45%, rgba(8,8,8,.45) 100%); }
.hc-blob { position: absolute; z-index: 1; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.hc-blob--1 { width: 420px; height: 420px; background: var(--accent); top: -120px; right: 8%; animation: hc-float 11s ease-in-out infinite; }
.hc-blob--2 { width: 360px; height: 360px; background: var(--btn); bottom: -140px; left: -80px; animation: hc-float 13s ease-in-out infinite reverse; }
@keyframes hc-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 50px); } }
.hc-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hc-hero h1 { font-size: clamp(32px, 4.4vw, 54px); color: #fff; margin-bottom: 20px; }
.hc-rotator { display: grid; margin-top: 6px; color: #ffb878; vertical-align: bottom; }
.hc-rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); transition: opacity .5s ease, transform .5s ease; }
.hc-rotator__word.is-active { opacity: 1; transform: none; }
.hc-lead { color: #e4e4e4 !important; font-size: 18px; max-width: 540px; }
.hc-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hc-hero__stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 44px; }
.hc-hero__stats b { display: block; font-size: 28px; color: #fff; font-variant-numeric: tabular-nums; }
.hc-hero__stats span { font-size: 12.5px; color: #cfcfcf; text-transform: uppercase; letter-spacing: .06em; }

.hc-hero__media { position: relative; height: 470px; }
.hc-photo { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); border: 4px solid rgba(255,255,255,.9); }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-photo--main { inset: 0 70px 60px 0; animation: hc-bob 7s ease-in-out infinite; }
.hc-photo--small { width: 210px; height: 250px; right: 0; bottom: 0; animation: hc-bob 7s ease-in-out -3s infinite; }
.hc-badge { position: absolute; color: #111; padding: 10px 16px; z-index: 2; }
.hc-badge b { display: block; font-size: 18px; color: var(--accent); line-height: 1.1; }
.hc-badge span { font-size: 12px; color: var(--muted); }
.hc-badge--a { top: 24px; right: 30px; animation: hc-bob 5s ease-in-out infinite; }
.hc-badge--b { left: -20px; bottom: 110px; animation: hc-bob 6s ease-in-out -2s infinite; }
@keyframes hc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hc-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.hc-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hc-wheel 1.8s ease-in-out infinite; }
@keyframes hc-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Trust marquee ---------- */
.hc-trust { color: #fff; overflow: hidden; }
.hc-marquee__track { display: flex; width: max-content; animation: hc-marquee 38s linear infinite; }
.hc-trust:hover .hc-marquee__track { animation-play-state: paused; }
.hc-marquee__item { padding: 16px 34px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.hc-marquee__item::before { content: "\2713"; color: #6fcf73; font-weight: 900; margin-right: 10px; }
@keyframes hc-marquee { to { transform: translateX(-50%); } }

/* ---------- Mission ---------- */
.hc-frame { position: relative; border-radius: 18px; }
.hc-frame img { width: 100%; height: 400px; object-fit: cover; border-radius: 18px; display: block; box-shadow: var(--shadow); }
.hc-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--accent); border-radius: 18px; z-index: -1; }
.hc-frame__tag { position: absolute; left: -14px; bottom: 26px; color: #fff; padding: 12px 18px; font-size: 13px; animation: hc-bob 5s ease-in-out infinite; }
.hc-frame__tag b { font-size: 18px; margin-right: 4px; }
.hc-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.hc-points li { display: flex; gap: 12px; font-weight: 600; color: var(--ink); }
.hc-points li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--btn); margin-top: 9px; flex: none; }

/* ---------- Cards ---------- */
.hc-card { height: 100%; padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.hc-card:hover { transform: translateY(-8px); }
.hc-card p { font-size: 14.5px; margin: 0; }
.hc-card--center { text-align: center; }
.hc-card--center .hc-link { display: inline-block; margin-top: 14px; }
.hc-card__icon { width: 54px; height: 54px; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .4s ease, background .3s, color .3s; }
.hc-card--center .hc-card__icon { margin-left: auto; margin-right: auto; }
.hc-card__icon--round { }
.hc-card:hover .hc-card__icon { color: #fff; transform: rotate(-8deg) scale(1.08); }
.hc-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hc-prog { height: 100%; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease; }
.hc-prog:hover { transform: translateY(-8px); }
.hc-prog__img { height: 190px; overflow: hidden; }
.hc-prog__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.hc-prog:hover .hc-prog__img img, .hc-story:hover .hc-prog__img img { transform: scale(1.12); }
.hc-prog__body { padding: 22px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.hc-prog__body p { font-size: 14.5px; flex: 1; }
.hc-proj .hc-prog__body > * { max-width: 100%; }

.hc-bar { width: 100%; height: 8px; background: #ececec; border-radius: 999px; overflow: hidden; }
.hc-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.is-visible .hc-bar span, .hc-bar.is-visible span { width: var(--w); }
.hc-bar__row { width: 100%; display: flex; justify-content: space-between; font-size: 13px; margin: 8px 0 12px; color: var(--ink); }
.hc-bar__row small { color: var(--muted); }

/* ---------- Impact ---------- */
.hc-impact { background: #111; overflow: hidden; }
.hc-impact__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; opacity: .55; will-change: transform; }
.hc-impact { background: linear-gradient(120deg, #111, #1b3a1d); }
.hc-impact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,10,10,.6), rgba(10,10,10,.3)); }
.hc-impact .container { z-index: 1; }

/* Transparency section: faint photo behind the dark background */
.hc-dark--photo { overflow: hidden; }
.hc-dark__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .25; }
.hc-dark--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.75), rgba(17,17,17,.55)); }
.hc-dark--photo .container { position: relative; z-index: 1; }
.hc-stat { padding: 30px 14px; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.hc-stat:hover { transform: translateY(-6px); }
.hc-stat b { display: block; font-size: clamp(32px, 4vw, 46px); color: #fff; font-variant-numeric: tabular-nums; }
.hc-stat span { font-size: 13px; color: #d6d6d6; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Stories ---------- */
.hc-story { margin: 0; height: 100%; overflow: hidden; transition: transform .3s; }
.hc-story:hover { transform: translateY(-8px); }
.hc-story blockquote { margin: 0; padding: 22px 22px 10px; font-style: italic; color: var(--ink); }
.hc-story figcaption { padding: 0 22px 22px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- Transparency ---------- */
.hc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.hc-chip { display: inline-flex; align-items: center; gap: 8px; color: #9be39f; padding: 9px 16px; font-size: 13px; font-weight: 700; }
.hc-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-tcard { height: 100%; padding: 22px; transition: transform .3s, border-color .3s; }
.hc-tcard:hover { transform: translateY(-5px); }
.hc-tcard h4 { font-size: 16px; margin-bottom: 8px; }
.hc-tcard p { color: #bdbdbd !important; font-size: 13.5px; margin: 0; }
.hc-office { text-align: center; margin: 34px 0 0; color: #bdbdbd !important; }
.hc-office b { color: #fff; }

/* ---------- Closing banner ---------- */
.hc-banner { text-align: center; padding: 84px 0; position: relative; overflow: hidden; }
.hc-banner::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: var(--accent); opacity: .22; filter: blur(80px); right: -120px; top: -160px; animation: hc-float 12s ease-in-out infinite; }
.hc-banner .container { position: relative; }
.hc-banner h2 { color: #fff; }
.hc-banner p { color: #d9d9d9 !important; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .hc-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .hc-reveal--left { transform: translateX(-50px); }
.js .hc-reveal.is-visible { opacity: 1; transform: none; }
.js .hc-in { opacity: 0; transform: translateY(30px); animation: hc-in .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) forwards; }
@keyframes hc-in { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hc-hero__media { height: 340px; order: -1; }
  .hc-hero { min-height: 0; }
  .hc-scroll { display: none; }
  .hc-section { padding: 60px 0; }
}
@media (max-width: 575px) {
  .hc-photo--small { width: 140px; height: 170px; }
  .hc-badge--b { left: 0; }
  .hc-hero__stats { gap: 20px; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .home-concept *, .home-concept *::before, .home-concept *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .hc-reveal, .js .hc-in { opacity: 1; transform: none; }
  .hc-slide.is-active { transform: scale(1.08); }
  .hc-bar span { width: var(--w); }
}

/* ---------- Video banner (top of page) ---------- */
.hc-hero--video { justify-content: center; text-align: center; }
.hc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hc-hero--video::before { background: rgba(8, 8, 8, .62); }
.hc-hero__inner--center { display: block; max-width: 900px; }
.hc-hero--video .hc-lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.hc-hero--video .hc-cta { justify-content: center; }
.hc-hero--video h1 { font-size: clamp(34px, 5vw, 60px); }

/* ---------- Feature banner (slideshow + collage, further down) ---------- */
.hc-hero--feature { min-height: 0; padding: 90px 0; }
.hc-hero--feature h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; margin-bottom: 20px; }
.hc-hero--feature .hc-lead { color: #e4e4e4; }
@media (prefers-reduced-motion: reduce) { .hc-video { display: none; } .hc-hero--video { background: #0b0b0b url('../images/home/banner.jpg') center / cover; } }

/* ---------- First banner (top of page) ---------- */
.hc-hero--feature.hc-hero--first { min-height: 100vh; padding: calc(var(--header-height, 84px) + 50px) 0 90px; }
.hc-hero--first h1 { font-size: clamp(32px, 4.4vw, 54px); color: #fff; margin-bottom: 20px; }
@media (max-width: 991px) { .hc-hero--feature.hc-hero--first { min-height: 0; } }

