
  :root {
    --navy: #1B3D2F;
    --navy-mid: #254d3c;
    --gold: #C9963A;
    --gold-light: #E8B24A;
    --white: #ffffff;
    --off-white: #F5F4F0;
    --text: #1a2a1e;
    --text-muted: #586860;
    --border: #dde5df;
    --card-bg: #ffffff;
    --tag-bg: #E6EFE9;
    --tag-color: #1B3D2F;
    --green: #27ae60;
    --red: #e74c3c;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(27,61,47,0.09);
  }

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

  body {
    font-family: 'Inter', sans-serif;
    background: var(--off-white);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
  }

  /* ── TOP BAR ── */
  .topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
  }
  .topbar a { color: var(--gold); text-decoration: none; font-weight: 600; }

  /* ── NAV ── */
  nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
  }
  .nav-logo::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
  }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--navy); }
  .nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  .nav-cta:hover { background: var(--navy-mid) !important; color: var(--white) !important; }
  .nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
  .mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); }
  .mobile-menu a { display: block; padding: 14px 24px; color: var(--text); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--border); }
  .mobile-menu a.active { color: var(--navy); font-weight: 600; }

  /* ── PAGE HEADER ── */
  .page-header {
    background: var(--navy);
    padding: 56px 24px 48px;
    text-align: center;
  }
  .page-header h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 5vw, 44px);
    color: var(--white);
    margin-bottom: 12px;
  }
  .page-header p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto 20px;
  }
  .page-header a.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.4);
    padding: 7px 16px;
    border-radius: 20px;
    transition: background 0.2s;
  }
  .page-header a.ig-link:hover { background: rgba(201,168,76,0.1); }

  /* ── TABS ── */
  .tabs-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 64px;
    z-index: 90;
  }
  .tabs-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs-inner::-webkit-scrollbar { display: none; }
  .tab-btn {
    padding: 16px 20px;
    border: none;
    background: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
  }
  .tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
    font-weight: 600;
  }
  .tab-btn:hover { color: var(--navy); }

  /* ── MAIN CONTENT ── */
  .main { max-width: 1160px; margin: 0 auto; padding: 32px 24px 80px; }

  /* ── SECTION PANELS ── */
  .section-panel { display: none; }
  .section-panel.active { display: block; }

  /* ── FILTERS ── */
  .filters {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  .filter-group { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .filter-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
  .filter-select {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    min-width: 140px;
    max-width: 100%;
  }
  .filter-reset {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .filter-reset:hover { border-color: var(--navy); color: var(--navy); }
  .calendar-toggle-btn {
    margin-left: auto;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
  }
  .calendar-toggle-btn:hover { background: var(--navy-mid); }

  /* ── RESULTS COUNT ── */
  .results-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

  /* ── CARDS GRID ── */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  /* ── OPPORTUNITY CARD ── */
  .opp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
  }
  .opp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

  .card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.02em;
  }
  .tag-type { background: #E8F0EB; color: #1B3D2F; }
  .tag-stage { background: #EBF5EE; color: #1B3D2F; }
  .tag-sector { background: #FFF4E6; color: #7A4010; }

  .card-title { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; }
  .card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-meta-item { }
  .card-meta-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
  .card-meta-value { font-size: 13px; font-weight: 700; color: var(--green); }
  .card-meta-value.deadline { color: var(--text); }

  .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
  .deadline-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
  }
  .deadline-badge.urgent { color: var(--red); }
  .deadline-badge.soon { color: #E67E22; }
  .deadline-badge.ok { color: var(--text-muted); }
  .view-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: var(--tag-bg);
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .view-btn:hover { background: #c5d8cc; }

  /* ── EMPTY STATE ── */
  .empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
  }
  .empty-state .icon { font-size: 40px; margin-bottom: 12px; }
  .empty-state h3 { font-size: 17px; color: var(--text); margin-bottom: 6px; }
  .empty-state p { font-size: 14px; }
  .empty-state a { color: var(--gold); font-weight: 600; }

  /* ── INVESTOR CARDS ── */
  .investor-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
  }
  .investor-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .investor-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .investor-name { font-size: 17px; font-weight: 700; color: var(--navy); }
  .investor-type { font-size: 11px; font-weight: 600; background: var(--navy); color: var(--white); padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
  .investor-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .investor-detail-item .label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
  .investor-detail-item .value { font-size: 13px; font-weight: 600; color: var(--text); }
  .cheque-size { font-size: 14px; font-weight: 700; color: var(--green); }
  .investor-sectors { display: flex; flex-wrap: wrap; gap: 6px; }
  .investor-footer { padding-top: 10px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; margin-top: auto; }
  .investor-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    background: var(--tag-bg);
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.2s;
  }
  .investor-link:hover { background: #c5d8cc; }

  /* ── CALENDAR MODAL ── */
  .cal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.55);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .cal-overlay.open { display: flex; }
  .cal-box {
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(11,31,58,0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
  }
  .cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .cal-title { font-size: 18px; font-weight: 700; color: var(--navy); }
  .cal-close { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--text-muted); line-height: 1; padding: 4px; }
  .cal-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }

  .cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .cal-nav button { background: none; border: 1px solid var(--border); border-radius: 6px; width: 30px; height: 30px; cursor: pointer; font-size: 14px; color: var(--text-muted); transition: all 0.2s; }
  .cal-nav button:hover { border-color: var(--navy); color: var(--navy); }
  .cal-month { font-size: 15px; font-weight: 700; color: var(--navy); }
  .cal-today-btn { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--off-white); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; cursor: pointer; }

  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 16px; }
  .cal-day-label { text-align: center; font-size: 11px; font-weight: 600; color: var(--text-muted); padding: 4px 0; }
  .cal-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 2px 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
    min-height: 38px;
  }
  .cal-cell:hover { background: var(--off-white); }
  .cal-cell.today { background: var(--navy); }
  .cal-cell.today .cal-cell-num { color: var(--white); font-weight: 700; }
  .cal-cell.other-month .cal-cell-num { color: #ccc; }
  .cal-cell.has-events { cursor: pointer; }
  .cal-cell-num { font-size: 12px; color: var(--text); line-height: 1; }
  .cal-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; margin-top: 3px; }
  .cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

  .cal-popup {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 12px;
  }
  .cal-popup-date { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
  .cal-popup-item { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cal-popup-item:last-child { border-bottom: none; }
  .cal-popup-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
  .cal-popup-amount { font-size: 12px; color: var(--gold); }

  /* ── DETAIL MODAL ── */
  .detail-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.6);
    z-index: 300;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
  }
  .detail-overlay.open { display: flex; }
  .detail-box {
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 720px;
    padding: 32px;
    box-shadow: 0 24px 64px rgba(11,31,58,0.25);
    position: relative;
    margin: auto;
  }
  .detail-close {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--off-white);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .detail-close:hover { background: var(--border); }
  .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
  .detail-title { font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--navy); margin-bottom: 8px; line-height: 1.2; }
  .detail-short { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

  .detail-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  @media (min-width: 540px) { .detail-highlights { grid-template-columns: repeat(4, 1fr); } }
  .detail-highlight {
    background: var(--off-white);
    border-radius: 8px;
    padding: 14px;
  }
  .detail-highlight .dh-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .detail-highlight .dh-value { font-size: 13px; font-weight: 700; color: var(--text); }

  .detail-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  @media (min-width: 560px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
  .detail-section {
    background: var(--off-white);
    border-radius: 8px;
    padding: 18px;
  }
  .detail-section h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
  .detail-section p, .detail-section li { font-size: 13px; color: var(--text); line-height: 1.6; }
  .detail-section ul { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
  .detail-section li::marker { color: var(--green); }

  .detail-sidebar { display: flex; flex-direction: column; gap: 10px; }
  .sidebar-fact { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; }
  .sidebar-fact .sf-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .sidebar-fact .sf-value { font-size: 14px; font-weight: 700; color: var(--text); }

  .detail-apply {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .apply-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .apply-btn:hover { background: var(--navy-mid); }
  .apply-note { font-size: 12px; color: var(--text-muted); background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 6px; padding: 8px 12px; }

  /* ── APPLY CHOICE MODAL ── */
  .apply-choice-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(27,61,47,0.55);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .apply-choice-overlay.open { display: flex; }
  .apply-choice-box {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 64px rgba(27,61,47,0.2);
    position: relative;
  }
  .apply-choice-close {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--off-white);
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .apply-choice-close:hover { background: var(--border); }
  .apply-choice-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-right: 32px;
    line-height: 1.3;
  }
  .apply-choice-option {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
    min-height: 80px;
  }
  .apply-choice-option .apply-choice-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: var(--tag-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
  }
  .apply-choice-option:last-child { margin-bottom: 0; }
  .apply-choice-option:hover { border-color: var(--navy); box-shadow: 0 2px 12px rgba(27,61,47,0.1); }
  /* apply-choice-icon defined above */
  .apply-choice-text { flex: 1; }
  .apply-choice-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
  .apply-choice-text span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
  .apply-choice-arrow { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }
  .apply-choice-divider {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 4px 0 12px;
    position: relative;
  }
  .apply-choice-divider::before, .apply-choice-divider::after {
    content: '';
    position: absolute;
    top: 50%; width: 42%;
    height: 1px;
    background: var(--border);
  }
  .apply-choice-divider::before { left: 0; }
  .apply-choice-divider::after { right: 0; }
  .apply-choice-expert { border-color: var(--navy); background: var(--off-white); }
  .apply-choice-expert .apply-choice-icon { background: var(--navy); color: var(--white); font-size: 20px; }
  .apply-choice-expert .apply-choice-text strong { color: var(--navy); }

  /* ── INVESTOR DETAIL MODAL ── */
  .inv-detail-title { font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--navy); margin-bottom: 8px; }
  .inv-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
  .inv-detail-item { background: var(--off-white); border-radius: 8px; padding: 14px; }
  .inv-detail-item .label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .inv-detail-item .value { font-size: 14px; font-weight: 700; color: var(--text); }
  .inv-detail-item .value.cheque { color: var(--green); }

  /* ── CTA SECTION ── */
  .cta-section {
    background: var(--navy);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin-top: 48px;
  }
  .cta-section h2 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--white); margin-bottom: 10px; }
  .cta-section p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 20px; }
  .cta-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    padding: 13px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
  }
  .cta-btn:hover { background: var(--gold-light); }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 24px 32px;
  }
  .footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-brand .logo { font-family: 'Fraunces', Georgia, serif; font-size: 20px; color: var(--white); margin-bottom: 10px; }
  .footer-brand p { font-size: 13px; line-height: 1.7; max-width: 240px; }
  .footer-col h5 { font-size: 12px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
  .footer-col a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 1160px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 150;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(11,31,58,0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
  }
  .sticky-cta:hover { background: var(--navy-mid); }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; flex-direction: column; }
    .mobile-menu.open { display: block; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .filters { flex-direction: column; align-items: stretch; }
    .filter-group { width: 100%; }
    .filter-group label { min-width: 52px; }
    .filter-select { flex: 1; width: 100%; min-width: 0; }
    .calendar-toggle-btn { margin-left: 0; width: 100%; justify-content: center; }
    .detail-box { padding: 24px 18px; }
    .detail-highlights { grid-template-columns: 1fr 1fr; }
    .inv-detail-grid { grid-template-columns: 1fr; }
  }

/* ── GRANT PAGES ── */
.gp-wrap{max-width:900px;margin:0 auto;padding:32px 24px 64px}
.gp-crumbs{font-size:13px;color:var(--text-muted);margin-bottom:18px}
.gp-crumbs a{color:var(--text-muted);text-decoration:none}
.gp-crumbs a:hover{color:var(--navy)}
.gp-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:28px;margin-bottom:20px;box-shadow:var(--shadow)}
.gp-title{font-family:'Fraunces',Georgia,serif;font-size:clamp(26px,4vw,36px);color:var(--navy);line-height:1.2;margin:10px 0 10px}
.gp-lede{color:var(--text-muted);font-size:16px}
.gp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:20px}
.gp-fact{background:var(--off-white);border-radius:8px;padding:12px 14px}
.gp-fact .l{font-size:10px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}
.gp-fact .v{font-weight:600;color:var(--text)}
.gp-fact .v.money{color:var(--green)}
.gp-h2{font-family:'Fraunces',Georgia,serif;font-size:22px;color:var(--navy);margin:0 0 12px}
.gp-card ul{padding-left:20px}.gp-card li{margin:4px 0}
.gp-take{border-left:4px solid var(--gold);background:#FFFBF2}
.gp-take .badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a6420;margin-bottom:8px}
.gp-take p{margin-bottom:12px}
.gp-take .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:14px 0}
.gp-take .row div{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:12px 14px}
.gp-take .row b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--navy);margin-bottom:4px}
.gp-faq details{border-top:1px solid var(--border);padding:12px 0}
.gp-faq summary{cursor:pointer;font-weight:600;color:var(--navy)}
.gp-faq p{margin-top:6px;color:var(--text)}
.gp-author{display:flex;gap:14px;align-items:center}
.gp-avatar{width:48px;height:48px;border-radius:50%;background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.gp-author small{display:block;color:var(--text-muted)}
.gp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.gp-btn{display:inline-block;padding:11px 18px;border-radius:6px;font-weight:600;font-size:14px;text-decoration:none;background:var(--navy);color:var(--white)}
.gp-btn.gold{background:var(--gold);color:var(--navy)}
.gp-btn.ghost{background:var(--white);color:var(--navy);border:1px solid var(--border)}
.gp-closed{background:#FDECEA;color:#9b2c20;border-radius:8px;padding:12px 14px;font-weight:600;margin-bottom:16px}
.gp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.gp-item{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px;text-decoration:none;color:var(--text);display:block;transition:box-shadow .2s,transform .2s}
.gp-item:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.gp-item h3{font-size:16px;color:var(--navy);margin:8px 0 6px;line-height:1.3}
.gp-item .m{font-size:13px;color:var(--text-muted)}
.gp-item .a{font-weight:600;color:var(--green);font-size:14px;margin-top:6px}
.gp-chips{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 22px}
.gp-chips a{font-size:13px;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:var(--white);color:var(--navy);text-decoration:none}
.gp-chips a.on{background:var(--navy);color:var(--white)}
