/* ================= HOME ================= */

/* ---- event flyer modal ---- */
.poster-modal{
  position:fixed; inset:0; z-index:310;
  background:rgba(6,16,26,.82);
  backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  opacity:0; visibility:hidden;
  transition:opacity .22s ease, visibility .22s;
}
.poster-modal.open{ opacity:1; visibility:visible; }
.poster-modal-inner{
  position:relative;
  width:100%; max-width:460px; max-height:92vh;
  overflow-y:auto;
  background:var(--brand-navy);
  border-radius:var(--radius-lg);
  padding:16px 16px 20px;
  box-shadow:var(--shadow-lg);
  transform:translateY(14px);
  transition:transform .25s ease;
}
.poster-modal.open .poster-modal-inner{ transform:translateY(0); }
.poster-modal-inner img{ width:100%; height:auto; border-radius:12px; display:block; }
.poster-modal-close{
  position:absolute; top:-14px; right:-14px; z-index:3;
  width:38px; height:38px; border-radius:50%;
  background:var(--brand-red); border:3px solid var(--brand-navy);
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.35);
  transition:transform .15s ease;
}
.poster-modal-close:hover{ transform:scale(1.08); }
.poster-modal-foot{ display:flex; gap:10px; margin-top:16px; }
.poster-modal-foot .btn{ flex:1; justify-content:center; padding:12px 10px; font-size:13.5px; }
@media (max-width:480px){
  .poster-modal{ padding:14px; }
  .poster-modal-inner{ padding:12px 12px 16px; }
  .poster-modal-foot{ flex-direction:column; }
}

/* ---- hero ---- */
.hero{
  position:relative;
  background:var(--brand-navy);
  overflow:hidden;
  padding-top:56px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(650px 500px at 12% 15%, rgba(63,182,230,.20), transparent 60%),
    radial-gradient(700px 600px at 92% 92%, rgba(224,39,44,.14), transparent 55%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
  padding:64px 0 76px;
}
.hero-copy .eyebrow{ margin-bottom:22px; }
.hero-copy h1{
  color:#fff; font-size:clamp(38px,5.6vw,64px); letter-spacing:-.01em;
}
.hero-copy h1 em{ color:var(--brand-blue-light); font-style:normal; }
.hero-copy p{
  color:rgba(255,255,255,.72); font-size:18px; line-height:1.7;
  margin-top:22px; max-width:480px;
}
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }

.hero-meta{
  display:flex; gap:34px; margin-top:56px; padding-top:28px;
  border-top:1px solid rgba(255,255,255,.14); flex-wrap:wrap;
}
.hero-meta div b{
  display:block; font-family:var(--font-display); color:#fff; font-size:26px;
}
.hero-meta div span{
  display:block; margin-top:4px; font-family:var(--font-mono); font-size:10.5px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--brand-blue-light);
}

/* mosaic */
/* ---- upcoming event banner ---- */
.event-banner{
  position:relative; z-index:2;
  width:100%; margin-top:28px;
  display:flex; align-items:center; gap:18px;
  text-align:left; font-family:var(--font-body);
  background:linear-gradient(135deg, rgba(224,39,44,.16), rgba(63,182,230,.10));
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  padding:14px 18px;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.event-banner:hover{ transform:translateY(-2px); border-color:rgba(255,255,255,.3); background:linear-gradient(135deg, rgba(224,39,44,.22), rgba(63,182,230,.14)); }
.event-banner-media{ position:relative; flex:none; width:72px; height:72px; border-radius:14px; overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,.25); }
.event-banner-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.event-banner-badge{
  position:absolute; top:-5px; right:-5px;
  background:var(--brand-red); color:#fff;
  font-family:var(--font-mono); font-size:9px; font-weight:700; letter-spacing:.04em;
  padding:3px 7px; border-radius:20px; border:2px solid var(--brand-navy);
}
.event-banner-text{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:3px; }
.event-banner-text .eyebrow{ margin-bottom:0; }
.event-banner-title{ font-family:var(--font-display); font-weight:600; font-size:17px; color:#fff; line-height:1.25; }
.event-banner-meta{ font-size:12.5px; color:rgba(255,255,255,.65); line-height:1.4; }
.event-banner-cta{
  flex:none; display:flex; align-items:center; gap:6px;
  color:var(--brand-blue-light); font-weight:600; font-size:13.5px; white-space:nowrap;
}
@media (max-width:700px){
  .event-banner{ padding:12px 14px; gap:13px; margin-top:18px; }
  .event-banner-media{ width:58px; height:58px; border-radius:12px; }
  .event-banner-title{ font-size:15px; }
  .event-banner-meta{ display:none; }
  .event-banner-cta span{ display:none; }
  .event-banner-cta{ background:rgba(255,255,255,.1); border-radius:50%; width:34px; height:34px; justify-content:center; }
}

.hero-mosaic{ position:relative; height:520px; width:100%; }
.mosaic-item{
  position:absolute; border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-lg); border:4px solid rgba(255,255,255,.08);
}
.mosaic-item img{ width:100%; height:100%; object-fit:cover; display:block; }
.m1{ width:56%; height:280px; top:0; left:2%; }
.m2{ width:42%; height:210px; top:8%; right:0; }
.m3{ width:40%; height:230px; bottom:0; left:0; }
.m4{ width:48%; height:250px; bottom:6%; right:4%; }

.mosaic-badge{
  position:absolute; z-index:5; left:50%; top:48%;
  transform:translate(-50%,-50%);
  width:132px; height:132px; border-radius:50%;
  background:var(--brand-red);
  color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; box-shadow:0 20px 40px -12px rgba(224,39,44,.55);
  border:5px solid var(--brand-navy);
}
.mosaic-badge svg{ width:26px; height:26px; margin-bottom:6px; }
.mosaic-badge b{ font-family:var(--font-display); font-size:15px; line-height:1.2; }
.mosaic-badge span{ font-family:var(--font-mono); font-size:8.5px; letter-spacing:.08em; text-transform:uppercase; opacity:.85; margin-top:2px; }

@media (max-width:980px){
  .hero{ padding-top:20px; }
  .hero-grid{ grid-template-columns:1fr; padding-top:20px; }
  .hero-mosaic{ height:420px; max-width:480px; margin:0 auto 28px; order:1; }
  .hero-copy{ order:2; }
}
@media (max-width:560px){
  .hero-meta{ gap:24px; }
  .hero-mosaic{ height:320px; margin-bottom:26px; }
  .mosaic-badge{ width:104px; height:104px; }
}

/* ---- impact strip ---- */
.impact{ background:var(--cream); padding:64px 0; border-bottom:1px solid var(--line); }
.impact-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
}
.impact-card{ position:relative; padding:14px 22px; text-align:left; }
.impact-card:not(:first-child)::before{
  content:""; position:absolute; left:0; top:10px; bottom:10px; width:1px; background:var(--line);
}
.impact-num{
  font-family:var(--font-display); font-size:clamp(30px,3.4vw,42px); color:var(--brand-blue-deep);
  display:flex; align-items:baseline; gap:4px;
}
.impact-card p{ margin-top:8px; color:var(--ink-soft); font-size:14px; line-height:1.5; }
@media (max-width:820px){
  .impact-grid{ grid-template-columns:repeat(2,1fr); gap:28px 8px; }
  .impact-card:nth-child(3)::before{ display:none; }
}
@media (max-width:340px){
  .impact-card{ padding:14px 8px; }
}

/* ---- about / mission-vision ---- */
.about-split{ display:grid; grid-template-columns:.95fr 1.05fr; gap:64px; align-items:start; }
.about-media{ position:relative; max-width:100%; }
.about-split{ overflow:hidden; }
.about-media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.about-media .dashed-ring{ width:220px; height:220px; top:-40px; right:-40px; z-index:-1; }
.about-media .dashed-ring.small{ width:90px; height:90px; bottom:-24px; left:-24px; border-color:rgba(224,39,44,.3); }

.mv-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px 30px; margin-bottom:20px; box-shadow:var(--shadow-sm);
}
.mv-card:last-child{ margin-bottom:0; }
.mv-card .tag{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono);
  font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-red); margin-bottom:12px;
}
.mv-card h3{ font-size:22px; margin-bottom:10px; }
.mv-card p{ color:var(--ink-soft); line-height:1.7; font-size:15.5px; }

.about-lead h2{ font-size:clamp(28px,3.6vw,38px); }
.about-lead p{ margin-top:18px; color:var(--ink-soft); font-size:16.5px; line-height:1.75; }
.about-lead{ margin-bottom:34px; }

@media (max-width:920px){
  .about-split{ grid-template-columns:1fr; }
  .about-media{ max-width:440px; margin:0 auto 12px; }
}
@media (max-width:480px){
  .about-media .dashed-ring{ width:140px; height:140px; top:-24px; right:-16px; }
  .about-media .dashed-ring.small{ width:60px; height:60px; bottom:-14px; left:-14px; }
}

/* ---- pillars ---- */
.pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.pillar-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px 28px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.pillar-icon{
  width:52px; height:52px; border-radius:14px; background:rgba(0,91,145,.08);
  display:flex; align-items:center; justify-content:center; color:var(--brand-blue-deep); margin-bottom:20px;
}
.pillar-icon svg{ width:24px; height:24px; }
.pillar-card h3{ font-size:19px; margin-bottom:10px; }
.pillar-card p{ color:var(--ink-soft); font-size:14.8px; line-height:1.65; }
.pillar-card.wide{ grid-column:span 1; }

.pillars-grid .pillar-card:nth-child(4),
.pillars-grid .pillar-card:nth-child(5){ grid-column:span 1; }

@media (max-width:920px){ .pillars-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .pillars-grid{ grid-template-columns:1fr; } }

/* ---- what we do ---- */
.do-section{ background:var(--brand-navy); color:#fff; position:relative; overflow:hidden; }
.do-section .dashed-ring{ border-color:rgba(255,255,255,.14); }
.do-section .dashed-ring.r1{ width:340px; height:340px; top:-120px; right:-100px; }
.do-section .dashed-ring.r2{ width:180px; height:180px; bottom:-60px; left:8%; }
.do-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; position:relative; z-index:2; }
.do-section .section-head h2{ color:#fff; }
.do-section .section-head p{ color:rgba(255,255,255,.68); }
.do-list{ display:grid; gap:16px; }
.do-item{
  display:flex; gap:16px; align-items:flex-start;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-md); padding:20px 22px;
}
.do-item .num{
  font-family:var(--font-mono); font-size:12px; color:var(--brand-blue-light);
  border:1px dashed rgba(63,182,230,.5); border-radius:50%;
  width:30px; height:30px; flex:none; display:flex; align-items:center; justify-content:center;
}
.do-item p{ font-size:15.5px; line-height:1.6; color:rgba(255,255,255,.86); }

@media (max-width:900px){ .do-grid{ grid-template-columns:1fr; } }

/* ---- values marquee ---- */
.values-section{ padding:70px 0; overflow:hidden; }
.values-track-wrap{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.values-track{ display:flex; gap:16px; width:max-content; animation:scroll-x 32s linear infinite; }
.values-track:hover{ animation-play-state:paused; }
.value-chip{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:19px; color:var(--brand-blue-deep);
  border:1px solid var(--line); background:var(--paper); border-radius:100px;
  padding:14px 26px; white-space:nowrap;
}
.value-chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--brand-red); }
@keyframes scroll-x{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---- gallery teaser ---- */
.gallery-teaser-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:16px; height:460px;
}
.gt-item{ border-radius:var(--radius-md); overflow:hidden; position:relative; }
.gt-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gt-item:hover img{ transform:scale(1.06); }
.gt-item.big{ grid-row:span 2; }
.gt-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:16px 18px;
  background:linear-gradient(0deg, rgba(10,41,66,.85), transparent);
  color:#fff; font-family:var(--font-mono); font-size:11px; letter-spacing:.06em;
}
@media (max-width:820px){
  .gallery-teaser-grid{ grid-template-columns:1fr 1fr; grid-template-rows:repeat(3,180px); height:auto; }
  .gt-item.big{ grid-column:span 2; grid-row:span 1; }
}

/* ---- donate CTA ---- */
.donate-section{
  background:linear-gradient(135deg, var(--brand-blue-deep), #003a5e);
  color:#fff; border-radius:var(--radius-lg); position:relative; overflow:hidden;
  padding:64px 56px; margin:0 32px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.donate-section::after{
  content:""; position:absolute; width:400px; height:400px; border-radius:50%;
  background:rgba(224,39,44,.18); filter:blur(40px); right:-120px; top:-140px;
}
.donate-copy h2{ font-size:clamp(28px,3.6vw,36px); color:#fff; }
.donate-copy p{ margin-top:16px; color:rgba(255,255,255,.78); font-size:16px; line-height:1.7; max-width:480px; }
.donate-copy .btn{ margin-top:26px; }
.momo-card{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2);
  border-radius:var(--radius-md); padding:26px 28px; position:relative; z-index:2;
  backdrop-filter:blur(6px);
}
.momo-card .eyebrow{ color:var(--brand-blue-light); }
.momo-card .eyebrow::before{ background:var(--brand-blue-light); }
.momo-row{ display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.momo-row:last-child{ border-bottom:0; }
.momo-row span{ font-size:13px; color:rgba(255,255,255,.65); }
.momo-row b{ font-family:var(--font-mono); font-size:16px; letter-spacing:.02em; }
@media (max-width:900px){
  .donate-section{ grid-template-columns:1fr; margin:0 20px; padding:44px 28px; }
}
@media (max-width:640px){ .wrap.for-donate{ padding:0; } }
