@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --navy: #1B2A4A;
  --amber: #F59E0B;
  --amber-soft: #FEF3C7;
  --white: #FAFAFA;
  --cream: #F5F1EB;
  --gray: #6B7280;
  --light-gray: #9CA3AF;
  --charcoal: #1F2937;
  --warm-white: #FFFDF9;
  --off-white: #F0ECE4;
  --border: #E8E4DE;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

a { color: var(--navy); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--amber); }

::selection {
  background: var(--amber-soft);
  color: var(--navy);
}

/* ─── NAV ─── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav .logo { display: flex; align-items: center; gap: .6rem; }
nav .logo img { height: 36px; transition: transform .3s ease; }
nav .logo:hover img { transform: rotate(-6deg) scale(1.05); }
nav .logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

nav .links { display: flex; gap: 2rem; }
nav .links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.04em;
  position: relative;
  transition: color .25s ease;
}
nav .links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy);
  transition: width .3s cubic-bezier(.4,0,.2,1);
}
nav .links a:hover::after,
nav .links a.active::after { width: 100%; }
nav .links a:hover, nav .links a.active { color: var(--navy); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-inner {
  text-align: center;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(27,42,74,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* hero staggered entrance */
.hero-el {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-el:nth-child(1) { animation-delay: .15s; }
.hero-el:nth-child(2) { animation-delay: .4s; }
.hero-el:nth-child(3) { animation-delay: .6s; }
.hero-el:nth-child(4) { animation-delay: .85s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* (stats moved to live-tracker) */

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: 1rem 2.8rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}

.btn {
  box-shadow: 0 2px 8px rgba(27,42,74,0.18);
}
.btn:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,42,74,0.28);
}

/* ─── SOCIAL ─── */
.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.socials a {
  color: var(--light-gray);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color .25s ease;
}
.socials a:hover { color: var(--navy); }
.socials .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all .9s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CONTENT SECTIONS ─── */
.content-section {
  padding: clamp(5rem, 8vw, 7rem) 2rem clamp(3.5rem, 5vw, 5rem);
}

.content-section.alt-bg {
  background: var(--off-white);
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.content-section h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 3rem 0 1rem;
}

.content-section p {
  margin-bottom: 1.2rem;
  color: var(--charcoal);
  line-height: 1.85;
}

.cta-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.content-section ul {
  margin: 0 0 1.2rem 0;
  list-style: none;
}

.content-section li {
  margin-bottom: .6rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.75;
}

.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1.5px;
  background: var(--amber);
}

.highlight {
  border-left: 2px solid var(--amber);
  padding: 2rem 2.5rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--charcoal);
}

/* ─── BLOG CARD ─── */
.card-link { text-decoration: none; }

.blog-card {
  border: 1px solid rgba(27,42,74,0.06);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(27,42,74,0.06), 0 4px 12px rgba(27,42,74,0.04);
}

.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.blog-card:hover {
  border-color: rgba(27,42,74,0.08);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(27,42,74,0.08), 0 8px 24px rgba(27,42,74,0.07);
}
.blog-card:hover::after { width: 100%; }

.blog-card .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: var(--light-gray);
  margin-bottom: .8rem;
  letter-spacing: 0.04em;
}

.blog-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

.blog-card p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  transition: color .25s;
}
.blog-card:hover .read-more { color: var(--amber); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 4.5rem 2rem 3rem;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer .footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  transition: color .25s ease;
}
footer .footer-links a:hover { color: var(--amber); }

.footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.03em;
}

/* ─── LIVE TRACKER ─── */
.live-tracker {
  margin-top: 3.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: var(--off-white);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(27,42,74,0.06);
  box-shadow: 0 1px 2px rgba(27,42,74,0.04), 0 4px 16px rgba(27,42,74,0.06);
}

.tracker-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  color: rgba(27,42,74,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.2rem;
}

.tracker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
  margin-bottom: 1.5rem;
}

.tracker-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(27,42,74,0.06);
}

.tracker-label {
  font-size: .75rem;
  color: rgba(27,42,74,0.45);
  letter-spacing: 0.02em;
}

.tracker-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.tracker-sep { display: none; }

/* Hours toggle */
.hours-toggle {
  cursor: pointer;
  flex-wrap: wrap;
  position: relative;
}
.hours-hint {
  font-size: .6rem;
  opacity: 0.35;
  margin-left: 4px;
}
.hours-split {
  display: none;
  width: 100%;
  margin-top: .4rem;
  gap: .25rem;
}
.hours-toggle.expanded .hours-split {
  display: flex;
  flex-direction: column;
}
.hours-toggle.expanded .hours-total {
  opacity: 0.4;
  font-size: .8rem;
}
.split-line {
  font-size: .8rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
}
.split-line strong {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.tracker-bar-wrap {
  margin: 0;
}

.tracker-bar {
  width: 100%;
  height: 4px;
  background: rgba(27,42,74,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.tracker-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
  min-width: 3px;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}

.tracker-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: .5rem;
  font-size: .68rem;
  color: rgba(27,42,74,0.3);
  letter-spacing: 0.02em;
}

/* ─── GIVING SECTION ─── */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.giving-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 10px;
  background: var(--warm-white);
  text-align: center;
  transition: all .3s ease;
}

.giving-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27,42,74,0.06);
}

.giving-fraction {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: .5rem;
}

.giving-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  margin-bottom: .6rem;
}

.giving-desc {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--gray);
}

.giving-note {
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--gray);
  font-style: italic;
  text-align: center;
}

/* ─── SCROLL HINT ─── */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: var(--light-gray);
  opacity: 0;
  animation: scrollPulse 2s ease-in-out 1.5s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(6px); }
}

/* ─── BLOG POST ─── */
/* ─── BLOG LIST ─── */
.blog-list {
  margin: 2rem 0;
}

.blog-list-item {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all .25s ease;
}

.blog-list-item:first-child {
  border-top: 1px solid var(--border);
}

.blog-list-item:hover {
  padding-left: .5rem;
  color: var(--navy);
}

.blog-list-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--light-gray);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  min-width: 90px;
}

.blog-list-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  flex: 1;
}

.blog-list-arrow {
  color: var(--light-gray);
  font-size: .9rem;
  transition: transform .25s ease, color .25s ease;
}

.blog-list-item:hover .blog-list-arrow {
  transform: translateX(4px);
  color: var(--amber);
}

.blog-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--off-white);
  border-radius: 8px;
  text-align: center;
}

.blog-cta p {
  font-size: .95rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-style: italic;
}

/* ─── BLOG POST ─── */
.post {
  max-width: 640px;
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
}

.post-header {
  margin-bottom: 3.5rem;
}

.post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--light-gray);
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
}

/* lead paragraph */
.post-body > p:first-child {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 500;
}

.post-body p { margin-bottom: 1.4rem; }

.post-body h2 {
  font-size: 1.65rem;
  color: var(--navy);
  margin: 4rem 0 1.2rem;
  letter-spacing: -0.02em;
  padding-top: .5rem;
}

.post-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3.5rem 0;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.4rem 0;
  padding-left: 1.4rem;
}

.post-body li {
  margin-bottom: .6rem;
  line-height: 1.75;
}

.post-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 1.5px;
}

.post-body a:hover {
  color: var(--amber);
}

.post-body strong {
  font-weight: 600;
  color: var(--navy);
}

.post-ps {
  color: var(--gray);
  font-size: .95rem;
  margin-top: 2rem;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ─── SMOOTH SCROLL ─── */
html { scroll-behavior: smooth; }

/* ─── ABOUT PAGE ─── */
.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 4rem 0 1.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
}

.section p {
  margin-bottom: 1.2rem;
  color: var(--charcoal);
  line-height: 1.85;
}

.section ul {
  margin: 0 0 1.2rem 0;
  list-style: none;
}

.section li {
  margin-bottom: .6rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.75;
}

.section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 1.5px;
  background: var(--amber);
}

.section .highlight {
  background: var(--off-white);
  border-left: 2px solid var(--amber);
  padding: 2rem 2.2rem;
  border-radius: 0 6px 6px 0;
  margin: 2.5rem 0;
  font-size: .97rem;
  line-height: 1.85;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 3rem auto;
}

/* ─── MOBILE NAV ─── */
.nav-toggle { display: none; }

@media (max-width: 600px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--navy);
    cursor: pointer;
    padding: .2rem;
    line-height: 1;
  }
  nav .links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: rgba(255,253,249,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .8rem 1.2rem;
    flex-direction: column;
    gap: .8rem;
    box-shadow: 0 8px 24px rgba(27,42,74,0.08);
  }
  nav .links.open { display: flex; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  nav .logo img { height: 30px; }
  nav .logo span { font-size: 1rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.4rem); margin-top: 1rem; }
  .hero p { font-size: 1.05rem; }
  .live-tracker { padding: 1.5rem 1.2rem; }
  .tracker-row { grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
  .giving-grid { grid-template-columns: 1fr; gap: 1rem; }
  .giving-card { padding: 1.2rem 1rem; }
  .content-section { padding: 3.5rem 1.5rem; }
  .post { padding: 6rem 5vw 3rem; }
  .content-section h2 { font-size: 1.6rem; }
  .section { padding: 3rem 1.5rem; }
  .section h2 { font-size: 1.6rem; }
  .blog-card { padding: 1.8rem; }
}

@media (max-width: 480px) {
  nav .links { gap: 1.2rem; }
  nav .links a { font-size: .82rem; }
  .hero h1 { font-size: 1.8rem; letter-spacing: 0.06em; }
  .hero p { font-size: 1rem; }
  .tracker-row { grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
  .tracker-val { font-size: .9rem; }
  .tracker-label { font-size: .68rem; }
  .socials { flex-direction: column; gap: .5rem; }
  .socials .dot { display: none; }
  footer .footer-links { flex-wrap: wrap; gap: 1rem; }
}
