/* =====================================================================
   RFCFU brand tweaks layered on top of the Translog theme.
   Keeps the exact Translog layout; adjusts logo lockup + a few accents.
   ===================================================================== */

/* Brand lockup: green tile logo + wordmark */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 44px; width: auto; border-radius: 9px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .bw-name { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand-word .bw-sub { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 480px) { .brand-word { display: none; } }
.footer-logo { height: 52px; width: auto; border-radius: 10px; }

/* Hero subheadline (replaces the removed services list) */
.hero-sub { color: rgba(255,255,255,.9); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; max-width: 60ch; margin: 0 0 34px; }

/* Standalone icon for mission / drives cards (avoids .service-card height:100% clipping) */
.mv-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #e9f4ea; color: var(--blue-strong); font-size: 23px; margin-bottom: 20px; }
.mv-ic.alt { background: #fde8d9; color: var(--accent); }

/* Safeguard: never leave reveal content hidden for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Remove decorative dot on badges */
.svc-badge .dot { display: none; }

/* Donation details box on Get Involved */
.donate-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.donate-box h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.donate-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.donate-line:last-of-type { border-bottom: none; }
.donate-line span { color: var(--muted); }
.donate-line strong { color: var(--ink); font-weight: 600; text-align: right; }

/* Empty state (news) */
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; }
.empty-state .es-ic {
    width: 92px; height: 92px; border-radius: 50%; background: var(--tint-blue);
    color: var(--blue-strong); display: grid; place-items: center; font-size: 2.3rem; margin: 0 auto 26px;
}
.empty-state h2 { margin-bottom: 12px; }

/* =====================================================================
   "Groups and people we serve" cards  (numbered image-card format)
   ===================================================================== */
.serve-intro { max-width: 640px; margin: -6px auto 48px; text-align: center; color: rgba(255,255,255,.72); font-size: 16.5px; line-height: 1.65; }
.serve-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .serve-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.serve-card {
    background: #fff; border-radius: 22px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 30px 60px -34px rgba(0,0,0,.5);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.serve-card:hover { transform: translateY(-8px); box-shadow: 0 40px 76px -30px rgba(0,0,0,.55); }
.serve-card .sc-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--panel); }
.serve-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.serve-card:hover .sc-media img { transform: scale(1.06); }
.serve-card .sc-num {
    position: absolute; top: 12px; right: 22px; z-index: 2;
    font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
    color: rgba(255,255,255,.92); text-shadow: 0 2px 14px rgba(0,0,0,.3);
}
.serve-card .sc-body { position: relative; padding: 30px 30px 32px; }
.serve-card .sc-body h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink); }
.serve-card .sc-body p { color: var(--muted); font-size: 15px; line-height: 1.62; margin: 0 0 24px; }
.sc-learn {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px;
    border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink);
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sc-learn:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.sc-learn i { font-size: 12px; transition: transform .2s var(--ease); }
.sc-learn:hover i { transform: translateX(4px); }

/* =====================================================================
   Who-we-serve / community group tag cards (professional grid)
   ===================================================================== */
.tag-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tag-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; display: flex; align-items: center; gap: 15px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.tag-card .ic {
    width: 46px; height: 46px; border-radius: 13px; background: #e9f4ea; color: var(--blue-strong);
    display: grid; place-items: center; font-size: 19px; flex: 0 0 auto;
}
.tag-card.alt .ic { background: #fde8d9; color: var(--accent); }
.tag-card .tag-label { font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; line-height: 1.35; }

/* =====================================================================
   Team / leadership grid  (name + role overlaid on the photo)
   ===================================================================== */
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
.team-card {
    position: relative; border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 46px -26px rgba(16,24,34,.5); background: var(--panel);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(16,24,34,.55); }
.team-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-avatar {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: var(--blue-strong); color: #fff; font-size: 46px; font-weight: 600; letter-spacing: 2px;
}
.team-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,48,25,.94) 6%, rgba(15,48,25,.35) 40%, transparent 66%); pointer-events: none; }
.team-meta { position: absolute; left: 18px; right: 16px; bottom: 16px; z-index: 2; }
.team-meta .tname { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.team-meta .trole { font-size: 12.5px; color: #ffd9bf; font-weight: 600; margin-top: 5px; display: flex; align-items: center; gap: 7px; }
.team-meta .trole::before { content: ''; width: 16px; height: 2px; background: var(--accent); display: inline-block; flex: 0 0 auto; }
