/* ============================================================
   THE DARE AGENDA — DESIGN SYSTEM v3 FIXED
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --green:      #0f5132;
  --green-dark: #0a3520;
  --green-mid:  #0e4028;
  --gold:       #b08900;
  --gold-lt:    #cca300;
  --cream:      #f8f5ef;
  --cream-d:    #f0ece3;
  --ink:        #1a1a18;
  --ink-s:      #2e2e2b;
  --muted:      #6b6b63;
  --border:     #e2ddd4;
  --white:      #ffffff;
  --fd: 'Playfair Display', Georgia, serif;
  --fs: 'Cormorant Garamond', Georgia, serif;
  --fn: 'DM Sans', -apple-system, sans-serif;
  --r0: 2px; --r1: 4px; --r2: 8px;
  --sh:  0 4px 20px rgba(0,0,0,.10);
  --sh2: 0 8px 40px rgba(0,0,0,.13);
  --ease: cubic-bezier(.4,0,.2,1);
  --eout: cubic-bezier(0,0,.2,1);
  --dur:  .25s;
  --wrap: 1140px;
  --hh:   72px;
  --sv:   5rem;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font-family: var(--fn); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold); }
button { cursor: pointer; font-family: var(--fn); }
input, select, textarea { font-family: var(--fn); }
h1, h2, h3, h4, h5 { font-family: var(--fd); font-weight: 700; line-height: 1.15; color: var(--ink); }
p { line-height: 1.72; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; padding: 0; margin: 0; }

/* Container */
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--sv) 0; }

/* Top accent */
.top-accent { height: 4px; background: linear-gradient(90deg, var(--green) 0%, var(--gold) 55%, var(--green) 100%); position: relative; z-index: 200; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--fn); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; display: block; width: 1.75rem; height: 2px; background: var(--gold); flex-shrink: 0; }
.eyebrow--dk { color: var(--muted); }
.eyebrow--dk::before { background: var(--muted); }
.eyebrow--lt { color: rgba(245,241,232,.6); }
.eyebrow--lt::before { background: rgba(245,241,232,.5); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--hh); background: rgba(248,245,239,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur), box-shadow var(--dur); }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hh); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.3rem; font-weight: 900; color: var(--green); flex-shrink: 0; transition: background var(--dur), color var(--dur); }
.brand:hover .brand-mark { background: var(--green); color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--fd); font-weight: 700; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: .65rem; color: var(--muted); letter-spacing: .04em; }
.primary-nav ul { display: flex; align-items: center; gap: .2rem; }
.primary-nav ul li a { display: block; padding: .45rem .8rem; font-size: .8rem; font-weight: 500; color: var(--ink-s); border-radius: var(--r0); transition: color var(--dur), background var(--dur); }
.primary-nav ul li a:hover, .primary-nav ul li a.active { color: var(--green); background: rgba(15,81,50,.06); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Mobile toggle */
.mobile-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; padding: 4px; }
.mobile-btn span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.nav-open .mobile-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-btn span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: block; position: fixed; top: var(--hh); left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); z-index: 99; padding: 0; box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-110%); opacity: 0; transition: transform .3s var(--eout), opacity .3s; pointer-events: none; }
body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav ul li a { display: block; padding: 1rem 2rem; font-size: .95rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); }
.mobile-nav ul li:last-child a { border-bottom: none; color: var(--green); font-weight: 600; }
.mobile-nav ul li a.active { color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.4rem; font-family: var(--fn); font-size: .84rem; font-weight: 600; letter-spacing: .04em; border-radius: var(--r0); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background var(--dur), color var(--dur), border-color var(--dur), transform .15s, box-shadow .15s; white-space: nowrap; line-height: 1.4; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; box-shadow: 0 4px 16px rgba(15,81,50,.3); }
.btn-ghost { background: transparent; color: rgba(245,241,232,.85); border-color: rgba(245,241,232,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(245,241,232,.6); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-white:hover { background: var(--cream); color: var(--green-dark); }
.btn-outw { background: transparent; color: rgba(245,241,232,.85); border-color: rgba(245,241,232,.4); }
.btn-outw:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(245,241,232,.7); }
.btn-gold { background: var(--gold); color: var(--green-dark); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-lg { padding: .9rem 2rem; font-size: .9rem; }
.btn-full { width: 100%; justify-content: center; }

/* Fade animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--eout), transform .6s var(--eout); }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }

/* Pill */
.pill { display: inline-flex; align-items: center; padding: .28rem .75rem; border: 1px solid var(--border); border-radius: 100px; font-size: .72rem; font-weight: 500; color: var(--muted); }
.pill-green { border-color: rgba(15,81,50,.25); color: var(--green); background: rgba(15,81,50,.05); }
.pill-gold { border-color: rgba(176,137,0,.25); color: var(--gold); background: rgba(176,137,0,.06); }
.pill-dk { border-color: rgba(245,241,232,.25); color: rgba(245,241,232,.7); }

/* Arrow link */
.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--green); transition: gap var(--dur), color var(--dur); }
.arrow-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--dur); }
.arrow-link:hover { color: var(--gold); gap: .75rem; }

/* Action box */
.action-box { background: rgba(15,81,50,.05); border-left: 3px solid var(--green); padding: 1rem 1.25rem; }
.action-box__lbl { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.action-box p { font-family: var(--fs); font-size: 1rem; line-height: 1.65; color: var(--ink); margin: 0; }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: .78rem 1rem; border: 1px solid var(--border); background: #fff; font-size: .9rem; color: var(--ink); outline: none; border-radius: var(--r0); transition: border-color var(--dur), box-shadow var(--dur); appearance: none; -webkit-appearance: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,81,50,.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .7; }
.form-group textarea { resize: vertical; min-height: 100px; }
.sel-wrap { position: relative; }
.sel-wrap::after { content: ''; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--muted); pointer-events: none; }
.consent-row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.consent-row input[type=checkbox] { margin-top: .25rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--green); cursor: pointer; }
.consent-row label { font-size: .8rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent-row label a { color: var(--green); }
.form-card { background: var(--cream); border: 1px solid var(--border); padding: 2.5rem; }
.form-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.form-card > p { font-size: .88rem; color: var(--muted); margin-bottom: 1.75rem; }

/* Perks list */
.perks-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.perks-list li { display: flex; gap: .85rem; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.perk-icon { width: 22px; height: 22px; flex-shrink: 0; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.perk-icon svg { width: 11px; height: 11px; color: #fff; stroke-width: 3; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 420px; gap: 5rem; align-items: start; }
.split--center { align-items: center; }

/* Page hero */
.page-hero { background: var(--green-dark); position: relative; overflow: hidden; padding: 6rem 0 4.5rem; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero__ov { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,53,32,.65) 0%, rgba(10,53,32,.2) 60%, rgba(176,137,0,.05) 100%); }
.page-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #f5f1e8; margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero__lede { font-family: var(--fs); font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.82; color: rgba(245,241,232,.75); max-width: 54ch; margin-bottom: 2rem; }

/* Stats strip dark */
.stats-strip { background: var(--green-dark); padding: 2.5rem 0; }
.stats-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.06); }
.stat-item { text-align: center; padding: 1.5rem 1rem; background: var(--green-dark); }
.stat-item__num { font-family: var(--fd); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: .4rem; }
.stat-item__lbl { font-size: .78rem; color: rgba(245,241,232,.6); letter-spacing: .04em; }

/* Stats strip light */
.stats-lt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-lt__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-lt__num { font-family: var(--fd); font-size: 3rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: .4rem; }
.stat-lt__num sup { font-size: 1.4rem; color: var(--gold); }
.stat-lt__lbl { font-size: .8rem; color: var(--muted); letter-spacing: .03em; }

/* Contribute band */
.contribute-band { background: linear-gradient(135deg, var(--green-dark) 0%, #153d27 100%); padding: 4rem 0; }
.contribute-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.contribute-band__text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: #f5f1e8; margin-bottom: .5rem; }
.contribute-band__text p { color: rgba(245,241,232,.65); max-width: 46ch; font-family: var(--fs); font-size: 1.05rem; margin: 0; }
.contribute-band__btns { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* Footer */
.site-footer { background: #0a1a0f; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand-col .fbrand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand-col .fbrand .brand-mark { color: var(--gold); border-color: rgba(176,137,0,.4); }
.footer-brand-col .fbrand span { font-family: var(--fd); font-size: 1rem; color: rgba(245,241,232,.9); font-weight: 700; }
.footer-tagline { font-family: var(--fs); font-size: .92rem; color: rgba(245,241,232,.45); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-hashtag { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.footer-col h4 { font-family: var(--fn); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,241,232,.35); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .88rem; color: rgba(245,241,232,.6); transition: color var(--dur); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal { font-size: .76rem; color: rgba(245,241,232,.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .76rem; color: rgba(245,241,232,.35); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .73rem; color: rgba(245,241,232,.25); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: 3rem 0; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); font-size: .85rem; font-weight: 500; color: var(--muted); border-radius: var(--r0); cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur); }
.page-btn:hover, .page-btn.active { background: var(--green); border-color: var(--green); color: #fff; }
.page-btn svg { width: 14px; height: 14px; }

/* Filter bar */
.filter-bar-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 1.1rem 0; position: sticky; top: var(--hh); z-index: 50; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: .2rem; background: var(--cream); border: 1px solid var(--border); padding: .25rem; border-radius: var(--r0); flex-wrap: wrap; }
.ftab { padding: .48rem 1rem; font-size: .76rem; font-weight: 500; background: none; border: none; color: var(--muted); cursor: pointer; border-radius: var(--r0); transition: all var(--dur); }
.ftab.active, .ftab:hover { background: var(--green); color: #fff; }
.search-box { display: flex; align-items: center; border: 1px solid var(--border); background: #fff; overflow: hidden; border-radius: var(--r0); }
.search-box svg { width: 15px; height: 15px; margin: 0 .75rem; color: var(--muted); flex-shrink: 0; }
.search-box input { border: none; outline: none; font-size: .85rem; color: var(--ink); padding: .6rem 1rem .6rem 0; width: 200px; background: transparent; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { :root { --wrap: 960px; } }

@media (max-width: 960px) {
  :root { --sv: 4rem; }
  .primary-nav { display: none; }
  .mobile-btn { display: flex; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-lt__inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 640px) {
  :root { --sv: 3rem; --hh: 60px; }
  .container { padding: 0 1.25rem; }
  .stats-strip__inner { grid-template-columns: 1fr 1fr; }
  .stats-lt__inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .contribute-band__inner { flex-direction: column; }
  .contribute-band__btns { width: 100%; }
  .contribute-band__btns .btn { flex: 1; justify-content: center; }
  .btn-lg { padding: .8rem 1.5rem; font-size: .85rem; }
  .form-card { padding: 1.5rem; }
  .search-box input { width: 120px; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .92rem; }
  .brand-mark { width: 34px; height: 34px; font-size: 1.1rem; }
}
