*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --teal-dark:  #1a6b5a;
      --teal-mid:   #218a6e;
      --teal-light: #2aaa86;
      --orange:     #c1540a;
      --orange-light: #e06520;
      --cream:      #f7f5f0;
      --text-dark:  #1a2520;
      --text-mid:   #3d4f47;
      --text-light: #ffffff;
      --shadow:     0 8px 32px rgba(26,107,90,0.13);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--cream);
      color: var(--text-dark);
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      background: var(--teal-dark);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 64px;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .nav-logo svg {
      width: 32px; height: 32px;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    .nav-logo span {
      font-family: 'Fraunces', serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
      letter-spacing: -0.02em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.88);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0; bottom: -4px;
      width: 0; height: 2px;
      background: var(--teal-light);
      transition: width 0.25s;
    }

    .nav-links a:hover { color: #fff; }
    .nav-links a:hover::after { width: 100%; }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .btn-login {
      background: transparent;
      border: none;
      color: rgba(255,255,255,0.88);
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      padding: 8px 4px;
      transition: color 0.2s;
      font-family: 'DM Sans', sans-serif;
      text-decoration: none;
    }
    .btn-login:hover { color: #fff; }

    .btn-signup {
      background: var(--orange);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 10px 22px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 2px 10px rgba(193,84,10,0.35);
      text-decoration: none;
    }
    .btn-signup:hover {
      background: var(--orange-light);
      transform: translateY(-1px);
      box-shadow: 0 4px 18px rgba(193,84,10,0.45);
    }

    /* ── Logged-in nav styles ── */
    .nav-user { display: flex; align-items: center; gap: 16px; }

    .user-chip {
      display: flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px; padding: 6px 14px 6px 8px;
      text-decoration: none; cursor: pointer; transition: background 0.2s;
    }
    .user-chip:hover { background: rgba(255,255,255,0.22); }

    .user-avatar {
      width: 28px; height: 28px;
      background: var(--orange); border-radius: 50%;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .user-chip span { font-size: 0.85rem; font-weight: 600; color: #fff; }

    .btn-logout {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50%; width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
    }
    .btn-logout:hover { background: rgba(255,255,255,0.28); }

    /* ── HERO ── */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      min-height: calc(100vh - 64px);
      padding: 60px 80px 60px 80px;
      gap: 56px;
      background: var(--cream);
      position: relative;
      overflow: hidden;
    }

    /* subtle organic blob bg */
    .hero::before {
      content: '';
      position: absolute;
      top: -120px; left: -100px;
      width: 520px; height: 520px;
      background: radial-gradient(circle, rgba(42,170,134,0.09) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-text {
      animation: fadeUp 0.7s ease both;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(42,170,134,0.12);
      color: var(--teal-dark);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 50px;
      margin-bottom: 20px;
      border: 1px solid rgba(42,170,134,0.2);
    }

    .hero-eyebrow span { display: inline-block; width: 6px; height: 6px; background: var(--teal-mid); border-radius: 50%; }

    h1 {
      font-family: 'Fraunces', serif;
      font-size: clamp(2.6rem, 5vw, 3.6rem);
      font-weight: 900;
      line-height: 1.06;
      letter-spacing: -0.03em;
      color: var(--text-dark);
      margin-bottom: 4px;
    }

    h1 .accent {
      color: var(--teal-mid);
      display: block;
    }

    .hero-desc {
      margin-top: 20px;
      font-size: 1.05rem;
      line-height: 1.7;
      color: var(--text-mid);
      max-width: 440px;
    }

    .hero-cta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 36px;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--teal-dark);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 15px 30px;
      font-size: 1rem;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 3px 16px rgba(26,107,90,0.28);
    }
    .btn-primary:hover {
      background: var(--teal-mid);
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(26,107,90,0.38);
    }
    .btn-primary svg { transition: transform 0.2s; }
    .btn-primary:hover svg { transform: translateX(4px); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--teal-dark);
      border: 2px solid var(--teal-dark);
      border-radius: 50px;
      padding: 13px 26px;
      font-size: 1rem;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-secondary:hover {
      background: var(--teal-dark);
      color: #fff;
      transform: translateY(-2px);
    }

    /* ── Logged-in nav styles ── */
    .nav-user { display: flex; align-items: center; gap: 12px; }

    .user-chip {
      display: flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px; padding: 6px 14px 6px 8px;
      text-decoration: none; cursor: pointer; transition: background 0.2s;
    }
    .user-chip:hover { background: rgba(255,255,255,0.22); }

    .user-avatar {
      width: 28px; height: 28px;
      background: var(--orange); border-radius: 50%;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .user-chip span { font-size: 0.85rem; font-weight: 600; color: #fff; }

    .btn-logout {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50%; width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
    }
    .btn-logout:hover { background: rgba(255,255,255,0.28); }

    .btn-notif {
      position: relative;
      background: rgba(255,255,255,0.1);
      border: none; border-radius: 50%;
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
    }
    .btn-notif:hover { background: rgba(255,255,255,0.22); }
    .notif-badge {
      position: absolute; top: -2px; right: -2px;
      background: var(--orange-light); color: #fff;
      font-size: 10px; font-weight: 700;
      padding: 2px 5px; border-radius: 10px;
      border: 2px solid var(--teal-dark);
    }
    .notification-wrapper { position: relative; }
    .notif-dropdown {
      display: none; position: absolute; top: 45px; right: 0;
      width: 280px; background: #fff; border-radius: 12px;
      box-shadow: 0 10px 28px rgba(0,0,0,0.18); z-index: 500; overflow: hidden;
    }

    /* ── HERO IMAGE SIDE ── */
    .hero-visual {
      position: relative;
      animation: fadeUp 0.7s 0.15s ease both;
    }

    .hero-img-wrap {
      border-radius: 24px;
      overflow: hidden;
      aspect-ratio: 4/3;
      position: relative;
      box-shadow: 0 20px 60px rgba(26,107,90,0.2), 0 4px 12px rgba(0,0,0,0.1);
    }

    .hero-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }
    .hero-img-wrap:hover img { transform: scale(1.03); }

    /* gradient overlay on image */
    .hero-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26,107,90,0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    /* floating badge */
    .live-badge {
      position: absolute;
      bottom: -18px;
      left: 24px;
      background: #fff;
      border-radius: 16px;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.12);
      animation: floatBadge 3.5s ease-in-out infinite;
      min-width: 260px;
    }

    .badge-dot {
      width: 42px; height: 42px;
      background: var(--orange);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      flex-shrink: 0;
      box-shadow: 0 2px 10px rgba(193,84,10,0.3);
    }

    .badge-text strong {
      display: block;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-dark);
    }

    .badge-text span {
      font-size: 0.8rem;
      color: var(--text-mid);
    }

    /* ── STATS STRIP ── */
    .stats-strip {
      background: var(--teal-dark);
      display: flex;
      justify-content: center;
      gap: 0;
      padding: 0 80px;
      margin-top: 32px;
    }

    .stat-item {
      flex: 1;
      max-width: 240px;
      text-align: center;
      padding: 32px 20px;
      border-right: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      animation: fadeUp 0.6s ease both;
    }
    .stat-item:last-child { border-right: none; }

    .stat-item .number {
      font-family: 'Fraunces', serif;
      font-size: 2.2rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1;
      color: var(--teal-light);
    }

    .stat-item .label {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.72);
      margin-top: 6px;
      font-weight: 500;
    }

    /* ── HOW IT WORKS ── */
    .section {
      padding: 80px 80px;
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--teal-mid);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-title {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--text-dark);
      max-width: 560px;
      line-height: 1.15;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-top: 48px;
    }

    .step-card {
      background: #fff;
      border-radius: 20px;
      padding: 32px;
      box-shadow: var(--shadow);
      transition: transform 0.25s, box-shadow 0.25s;
      border: 1px solid rgba(26,107,90,0.07);
      position: relative;
      overflow: hidden;
    }
    .step-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--teal-mid), var(--teal-light));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }
    .step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,107,90,0.16); }
    .step-card:hover::before { transform: scaleX(1); }

    .step-icon {
      width: 52px; height: 52px;
      background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      box-shadow: 0 4px 14px rgba(26,107,90,0.25);
    }

    .step-num {
      position: absolute;
      top: 20px; right: 24px;
      font-family: 'Fraunces', serif;
      font-size: 3.5rem;
      font-weight: 900;
      color: rgba(26,107,90,0.06);
      line-height: 1;
      letter-spacing: -0.04em;
    }

    .step-card h3 {
      font-family: 'Fraunces', serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 10px;
    }

    .step-card p {
      font-size: 0.92rem;
      line-height: 1.65;
      color: var(--text-mid);
    }

    /* ── IMPACT HEROES ── */
    .impact-section {
      padding: 80px 80px;
      background: #fff;
    }

    .heroes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    .hero-card {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      position: relative;
      aspect-ratio: 3/4;
      cursor: pointer;
    }

    .hero-card img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .hero-card:hover img { transform: scale(1.06); }

    .hero-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(26,107,90,0.88) 0%, transparent 55%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
      color: #fff;
    }

    .hero-card-overlay .tag {
      display: inline-block;
      background: var(--orange);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 50px;
      margin-bottom: 10px;
      width: fit-content;
    }

    .hero-card-overlay strong {
      font-family: 'Fraunces', serif;
      font-size: 1.15rem;
      font-weight: 700;
      display: block;
      margin-bottom: 4px;
    }

    .hero-card-overlay span {
      font-size: 0.82rem;
      opacity: 0.82;
    }

    /* ── CTA BANNER ── */
    .cta-banner {
      margin: 0 80px 80px;
      background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
      border-radius: 28px;
      padding: 60px 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 16px 56px rgba(26,107,90,0.25);
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 320px; height: 320px;
      background: rgba(255,255,255,0.05);
      border-radius: 50%;
    }

    .cta-banner::after {
      content: '';
      position: absolute;
      bottom: -60px; left: 30%;
      width: 220px; height: 220px;
      background: rgba(255,255,255,0.04);
      border-radius: 50%;
    }

    .cta-banner-text h2 {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      font-weight: 900;
      color: #fff;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
    }

    .cta-banner-text p {
      color: rgba(255,255,255,0.78);
      font-size: 1rem;
      max-width: 420px;
      line-height: 1.6;
    }

    .btn-white {
      background: #fff;
      color: var(--teal-dark);
      border: none;
      border-radius: 50px;
      padding: 15px 32px;
      font-size: 1rem;
      font-weight: 700;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }

    /* ── FOOTER ── */
    footer {
      background: var(--text-dark);
      color: rgba(255,255,255,0.6);
      padding: 48px 80px 32px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand .nav-logo span { color: #fff; }
    .footer-brand p {
      margin-top: 12px;
      font-size: 0.88rem;
      line-height: 1.7;
      max-width: 260px;
      color: rgba(255,255,255,0.5);
    }

    .footer-links h4 {
      color: #fff;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .footer-links ul { list-style: none; }
    .footer-links li + li { margin-top: 10px; }
    .footer-links a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--teal-light); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.82rem;
    }

    /* ── LEADERBOARD ── */
    .leaderboard-section {
      padding: 80px 80px;
      background: var(--cream);
      text-align: center;
    }

    .leaderboard-section .section-label {
      justify-content: center;
      color: var(--orange);
    }

    .leaderboard-section .section-title {
      margin: 0 auto 12px;
      text-align: center;
      max-width: 600px;
    }

    /* "Top Contributors of the Month" was wrapping because .section-title
       caps at 560px. Give it room; it still wraps naturally on phones. */
    .impact-title {
      max-width: none;
    }
    @media (min-width: 601px) {
      .impact-title { white-space: nowrap; }
    }

    .leaderboard-desc {
      text-align: center;
      color: var(--text-mid);
      font-size: 1rem;
      margin-bottom: 48px;
      max-width: 540px;
      margin-left: auto;
      margin-right: auto;
    }

    .leaderboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: left;
    }

    .lb-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px 24px 24px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(26,107,90,0.07);
      transition: transform 0.25s, box-shadow 0.25s;
      position: relative;
    }
    .lb-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,107,90,0.15); }

    .lb-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .lb-icon {
      width: 48px; height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      flex-shrink: 0;
    }
    .lb-icon.blue   { background: rgba(100,149,237,0.12); }
    .lb-icon.green  { background: rgba(42,170,134,0.12); }
    .lb-icon.pink   { background: rgba(220,80,100,0.10); }
    .lb-icon.yellow { background: rgba(210,160,30,0.12); }

    .lb-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--orange);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 5px 11px;
      border-radius: 50px;
      white-space: nowrap;
    }

    .lb-category {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--teal-mid);
      margin-bottom: 4px;
    }

    .lb-name {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 3px;
    }

    .lb-subtitle {
      font-size: 0.8rem;
      color: var(--text-mid);
      margin-bottom: 18px;
    }

    .lb-divider {
      border: none;
      border-top: 1px solid rgba(26,107,90,0.08);
      margin-bottom: 14px;
    }

    .lb-stat-label {
      font-size: 0.75rem;
      color: var(--text-mid);
      margin-bottom: 4px;
      font-weight: 500;
    }

    .lb-kg {
      font-family: 'Fraunces', serif;
      font-size: 1.9rem;
      font-weight: 900;
      color: var(--text-dark);
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .lb-kg span { font-size: 1rem; font-weight: 600; color: var(--text-mid); margin-left: 2px; }

    /* ── LIVE FEED ── */
    .feed-section {
      padding: 80px 80px;
      background: #fff;
    }

    .feed-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .feed-header-left h2 {
      font-family: 'Fraunces', serif;
      font-size: clamp(1.7rem, 3vw, 2.2rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--text-dark);
      margin-bottom: 8px;
    }

    .feed-header-left p {
      font-size: 0.92rem;
      color: var(--text-mid);
      max-width: 340px;
      line-height: 1.6;
    }

    .feed-filter-wrap {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
    }

    .feed-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .filter-btn {
      background: transparent;
      border: 1.5px solid rgba(26,107,90,0.2);
      color: var(--text-mid);
      border-radius: 50px;
      padding: 9px 18px;
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .filter-btn:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
    .filter-btn.active {
      background: var(--teal-dark);
      border-color: var(--teal-dark);
      color: #fff;
    }

    .filter-scrollbar {
      width: 100%;
      height: 5px;
      background: rgba(26,107,90,0.1);
      border-radius: 50px;
      position: relative;
      overflow: hidden;
    }
    .filter-scrollbar-thumb {
      position: absolute;
      left: 0;
      top: 0;
      width: 60%;
      height: 100%;
      background: rgba(26,107,90,0.25);
      border-radius: 50px;
    }

    .feed-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 12px;
    }

    .feed-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(26,107,90,0.07);
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .feed-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,107,90,0.15); }

    .feed-card-img {
      position: relative;
      aspect-ratio: 16/10;
      overflow: hidden;
    }

    .feed-card-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }
    .feed-card:hover .feed-card-img img { transform: scale(1.05); }

    .feed-tag {
      position: absolute;
      top: 12px; left: 12px;
      background: rgba(0,0,0,0.55);
      color: #fff;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 50px;
      backdrop-filter: blur(4px);
    }

    .feed-urgent {
      position: absolute;
      top: 12px; right: 12px;
      background: var(--orange);
      color: #fff;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .feed-card-body {
      padding: 20px 20px 0;
    }

    .feed-card-body h3 {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 4px;
    }

    .feed-donor {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--teal-mid);
      margin-bottom: 14px;
    }

    .feed-meta {
      display: flex;
      gap: 18px;
      font-size: 0.8rem;
      color: var(--text-mid);
      margin-bottom: 16px;
    }

    .feed-meta span {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .feed-card-cta {
      border-top: 1px solid rgba(26,107,90,0.08);
      padding: 14px 20px;
    }

    .btn-claim {
      width: 100%;
      background: transparent;
      border: 1.5px solid var(--orange);
      color: var(--orange);
      border-radius: 10px;
      padding: 11px;
      font-size: 0.92rem;
      font-weight: 700;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-claim:hover {
      background: var(--orange);
      color: #fff;
      transform: scale(1.02);
    }

    /* Floating Toast Container */
    /* Floating Toast Container - Upper Center */
.toast-container {
  position: fixed;
  top: 24px;             /* Positioned at the top */
  left: 50%;             /* Move to horizontal center */
  transform: translate(-50%, -150%); /* Center it and hide it above the screen */
  background: #fff;
  border-bottom: 4px solid var(--orange); /* Changed border to bottom for top-down feel */
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;   /* Keeps the message on one line */
}

.toast-container.show {
  transform: translate(-50%, 0); /* Slide down into view */
}

.toast-icon { font-size: 1.2rem; }
.toast-msg { 
  font-size: 0.95rem; 
  font-weight: 600; 
  color: var(--text-dark); 
}

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes floatBadge {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-8px); }
    }

    /* ══════════════════════════════
       EXPERT INTERVIEWS SECTION
    ══════════════════════════════ */
    .interviews-section {
      padding: 96px 0 80px;
      background: linear-gradient(180deg, #f0f5f3 0%, var(--cream) 100%);
      position: relative;
      overflow: hidden;
    }

    .interviews-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 15% 20%, rgba(42,170,134,0.07) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(193,84,10,0.05) 0%, transparent 50%);
      pointer-events: none;
    }

    .interviews-inner {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 48px;
      position: relative;
      z-index: 1;
    }

    .interviews-header {
      text-align: center;
      margin-bottom: 56px;
    }

    .interviews-subtitle {
      font-size: 1rem;
      color: var(--text-mid);
      max-width: 520px;
      margin: 12px auto 0;
      line-height: 1.7;
    }

    .interviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }

    .interview-card {
      background: #fff;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(26,107,90,0.09), 0 1px 4px rgba(0,0,0,0.05);
      border: 1px solid rgba(26,107,90,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      animation: fadeUp 0.6s var(--delay, 0s) ease both;
    }

    .interview-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 48px rgba(26,107,90,0.16), 0 2px 8px rgba(0,0,0,0.06);
    }

    .interview-card.featured .interview-img-wrap { aspect-ratio: 4/3; }

    .interview-img-wrap {
      position: relative;
      aspect-ratio: 3/2;
      overflow: hidden;
    }

    .interview-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }
    .interview-card:hover .interview-img-wrap img { transform: scale(1.06); }

    /* multi-directional fade overlay */
    .interview-img-fade {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(10,30,20,0.15) 55%,
        rgba(10,30,20,0.72) 100%
      );
      pointer-events: none;
    }

    .interview-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(26,107,90,0.12) 0%, transparent 40%);
      pointer-events: none;
    }

    .interview-img-overlay {
      position: absolute;
      bottom: 14px;
      left: 16px;
      z-index: 2;
    }

    .interview-role-tag {
      display: inline-flex;
      align-items: center;
      background: var(--teal-dark);
      color: #fff;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 50px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }

    .interview-body { padding: 24px 24px 22px; }

    .interview-quote-icon { margin-bottom: 10px; }

    .interview-quote {
      font-size: 0.9rem;
      line-height: 1.72;
      color: var(--text-mid);
      font-style: italic;
      margin-bottom: 20px;
    }

    .interview-person {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .interview-avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 800;
      color: #fff;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .interview-person strong {
      display: block;
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 2px;
    }

    .interview-person span { font-size: 0.76rem; color: var(--text-mid); }

    .interview-tags { display: flex; gap: 6px; flex-wrap: wrap; }

    .itag {
      display: inline-block;
      background: rgba(33,138,110,0.09);
      color: var(--teal-dark);
      font-size: 0.7rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 50px;
      border: 1px solid rgba(33,138,110,0.14);
    }

    .interviews-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 40px;
      font-size: 0.8rem;
      color: var(--text-mid);
      font-weight: 500;
    }

    @media (max-width: 900px) {
      .interviews-inner { padding: 0 20px; }
      .interviews-grid  { grid-template-columns: 1fr; }
      .interviews-section { padding: 64px 0 56px; }
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 0 24px; }
      .hero { grid-template-columns: 1fr; padding: 48px 24px 80px; }
      .hero-visual { order: -1; }
      .live-badge { bottom: -14px; left: 16px; min-width: auto; }
      .section, .impact-section { padding: 60px 24px; }
      .steps-grid, .heroes-grid, .leaderboard-grid, .feed-grid { grid-template-columns: 1fr; }
      .leaderboard-section, .feed-section { padding: 60px 24px; }
      .feed-header { flex-direction: column; }
      .feed-filter-wrap { align-items: flex-start; }
      .cta-banner { margin: 0 24px 60px; padding: 40px 32px; flex-direction: column; text-align: center; }
      footer { padding: 40px 24px 24px; }
      .footer-top { flex-direction: column; }
      .stats-strip { padding: 0 24px; flex-wrap: wrap; }
    }

    /* ── HAMBURGER MENU (hidden on desktop) ── */
    .nav-toggle {
      display: none;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      flex-shrink: 0;
    }
    .nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform 0.25s, opacity 0.2s;
    }
    /* Morph into an X when open */
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── PHONE (≤900px) ── */
    @media (max-width: 900px) {
      .nav-toggle { display: flex; }

      /* Links collapse into a dropdown panel below the nav bar */
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--teal-dark);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
        border-top: 1px solid rgba(255,255,255,0.1);
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a {
        display: block;
        padding: 13px 24px;
        font-size: 0.95rem;
      }
      .nav-links a:hover { background: rgba(255,255,255,0.08); }
      /* The desktop underline animation looks broken in a stacked list */
      .nav-links a::after { display: none; }
    }

    /* ── PHONE (≤600px) ── */
    @media (max-width: 600px) {
      nav { padding: 0 12px; height: 58px; gap: 6px; }
      .nav-logo span { font-size: 1.05rem; }
      .nav-logo img { height: 30px !important; width: auto !important; }

      /* Compact the auth controls so everything fits beside the hamburger */
      .nav-actions { gap: 6px; }
      .user-chip { padding: 4px 6px; }
      .user-chip span { display: none; }   /* avatar only — name is too wide */
      .btn-login { font-size: 0.85rem; padding: 6px 2px; }
      .btn-signup { padding: 7px 12px; font-size: 0.82rem; }
      .btn-logout { width: 32px; height: 32px; }
      .btn-notif { width: 32px !important; height: 32px !important; }

      /* Hero heading: the base clamp bottoms out at 2.6rem (~42px),
         which is far too large on a phone — override it outright. */
      h1 { font-size: 2rem; line-height: 1.12; }
      .hero { padding: 32px 16px 56px; }
      .hero-eyebrow { font-size: 0.78rem; }
      .hero-desc, .hero-text p { font-size: 0.95rem; }

      /* Full-width stacked CTAs are much easier to tap */
      .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
      .hero-cta .btn-primary,
      .hero-cta .btn-secondary { width: 100%; justify-content: center; }

      /* Decorative circle overflows and causes sideways scroll */
      .hero::before { width: 300px; height: 300px; top: -60px; left: -60px; }
      .live-badge { min-width: auto; position: static; margin-top: 14px; }

      /* Stats stack two-up instead of a cramped single row */
      .stats-strip { padding: 0 16px; flex-wrap: wrap; }
      .stat-item {
        flex: 1 1 45%;
        max-width: none;
        padding: 20px 10px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
      }
      .stat-item .number { font-size: 1.6rem; }
      .stat-item .label  { font-size: 0.75rem; }

      .section, .impact-section,
      .leaderboard-section, .feed-section { padding: 44px 16px; }

      .section-title, h2 { font-size: 1.5rem; }
      .step-num { font-size: 2.4rem; top: 14px; right: 16px; }

      .cta-banner { margin: 0 16px 44px; padding: 28px 20px; }
      .cta-banner h2 { font-size: 1.35rem; }

      .interviews-inner { padding: 0 16px; }
      .interviews-section { padding: 44px 0 40px; }

      footer { padding: 32px 16px 20px; }
      .footer-links-row { flex-wrap: wrap; gap: 14px; justify-content: center; }
    }

    /* ── SMALL PHONE (≤380px) ── */
    @media (max-width: 380px) {
      h1 { font-size: 1.75rem; }
      .stat-item { flex: 1 1 100%; }
      .nav-logo span { font-size: 1rem; }
    }