/* ==========================================================================
   Seedlings — design tokens
   ========================================================================== */
:root{
  --forest:#1f3b2c;
  --forest-deep:#122519;
  --soil:#332217;
  --cherry:#a8382a;
  --cherry-deep:#7e2a1f;
  --cream:#f7f2e4;
  --cream-soft:#eee4cd;
  --cream-line: rgba(31,59,44,0.14);
  --sprout:#7fa653;
  --sprout-soft:#cddcae;
  --gold:#c69447;
  --gold-soft:#e7c78a;
  --ink:#20241c;
  --ink-muted:#57584a;

  --display:'Fraunces', serif;
  --body:'Inter', sans-serif;
  --mono:'IBM Plex Mono', monospace;

  --maxw:1160px;
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px;
  --space-5:48px; --space-6:64px; --space-7:96px; --space-8:128px;

  --radius-sm:4px; --radius-md:10px; --radius-lg:22px;
  --shadow-sm: 0 2px 10px rgba(18,37,25,0.08);
  --shadow-md: 0 14px 40px rgba(18,37,25,0.14);
  --shadow-gold: 0 10px 26px rgba(198,148,71,0.35);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html, body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}
html{ height:100%; }
body{
  min-height:100%;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  position:relative;
  contain:layout;
}
#top{
  position:relative;
  overflow:hidden;
  contain:layout;
}
header.site{ position:relative; }
footer{ margin:0; padding-bottom:env(safe-area-inset-bottom, 0px); contain:layout paint; }
body > script, body > noscript, script, noscript{ display:none !important; visibility:hidden !important; height:0 !important; width:0 !important; overflow:hidden !important; position:absolute !important; }
h1,h2,h3{ font-family:var(--display); color:var(--forest-deep); margin:0; letter-spacing:-0.012em; }
em{ font-style:italic; color:var(--cherry); font-family:var(--display); }
a{ color:inherit; }
img{ max-width:100%; display:block; }
p{ margin:0; }

/* film-grain overlay for warmth */
body::before{
  content:'';
  position:fixed; inset:0; z-index:1;
  pointer-events:none;
  opacity:0.05;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--cherry); font-weight:500;
  display:inline-block;
}
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [contenteditable]:focus-visible{
  outline:2px solid var(--sprout); outline-offset:3px;
}

/* ==========================================================================
   Nav
   ========================================================================== */
header.site{
  position:sticky; top:0; z-index:40;
  background:rgba(247,242,228,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--cream-line);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px; max-width:var(--maxw); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand svg{ width:32px; height:32px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text b{ font-family:var(--display); font-weight:600; font-size:19px; color:var(--forest-deep); letter-spacing:0.01em; }
.brand-text small{ font-family:var(--mono); font-size:10px; letter-spacing:0.08em; color:var(--ink-muted); text-transform:uppercase; }
.nav-cta{
  font-family:var(--body); font-weight:600; font-size:14.5px;
  background:var(--cherry); color:#fff;
  padding:11px 20px; border-radius:100px; text-decoration:none;
  box-shadow:var(--shadow-sm);
  transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--cherry-deep); transform:translateY(-1px); box-shadow:var(--shadow-md); }

/* ==========================================================================
   Growth vine spine
   ========================================================================== */
#vine-wrap{ position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:2; overflow:hidden; }
.vine-track{ position:absolute; top:0; left:var(--vine-x, 46px); width:4px; height:100%; transform:translateX(-2px); overflow:hidden; }
#vine-wrap svg, .vine-track, #vine-path-bg, #vine-path-fill{ overflow:hidden !important; display:block; }
#vine-path-bg, #vine-path-fill{ fill:none; stroke-linecap:round; vector-effect:non-scaling-stroke; }
#vine-path-bg{ stroke:rgba(31,59,44,0.12); stroke-width:2.5; }
#vine-path-fill{ stroke:var(--sprout); stroke-width:3; filter:drop-shadow(0 0 4px rgba(127,166,83,0.35)); transition:stroke-dashoffset 0.05s linear; }

.leaf-node{
  position:absolute; left:var(--vine-x, 46px); width:36px; height:36px;
  transform:translate(-50%,-50%) scale(0.35) rotate(-30deg);
  opacity:0;
  transition:transform 0.6s cubic-bezier(.19,1,.22,1), opacity 0.5s ease;
  max-width:calc(100% + 36px);
  pointer-events:none;
}
.leaf-node.in-view{ opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0deg); }
.leaf-node svg{ width:100%; height:100%; filter:drop-shadow(0 3px 6px rgba(18,37,25,0.25)); }
#top .leaf-node{ contain:layout paint; }

@media (max-width:880px){ :root{ --vine-x:22px; } }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .leaf-node{ transition:none; opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0deg); }
  #vine-path-fill{ transition:none; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* scroll reveal */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.7s ease, transform 0.7s cubic-bezier(.19,1,.22,1); }
.reveal.in-view{ opacity:1; transform:none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position:relative; overflow:hidden; background:var(--forest-deep); }
.hero-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1.05fr 0.95fr; align-items:stretch; min-height:660px;
}
.hero-copy{ padding:88px 56px 88px 92px; display:flex; flex-direction:column; justify-content:center; gap:24px; position:relative; z-index:3; }
.hero-copy .eyebrow{ color:var(--gold-soft); display:flex; align-items:center; gap:8px; }
.hero-copy .eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--gold); display:inline-block; }
.hero-copy h1{ color:var(--cream); font-size:clamp(36px, 4.6vw, 58px); font-weight:600; line-height:1.05; }
.hero-copy h1 em{ color:var(--gold); }
.hero-copy p.lede{ color:rgba(247,242,228,0.82); font-size:17.5px; max-width:46ch; }

.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:6px; align-items:center; }
.btn-primary{
  font-family:var(--body); font-weight:600; font-size:15px;
  background:var(--gold); color:var(--forest-deep);
  padding:15px 26px; border-radius:100px; text-decoration:none;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:var(--shadow-gold);
  transition:transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(198,148,71,0.42); }
.btn-primary svg{ width:16px; height:16px; }
.btn-ghost{
  font-family:var(--body); font-weight:500; font-size:15px; color:var(--cream);
  text-decoration:none; padding:15px 4px; border-bottom:1px solid rgba(247,242,228,0.4);
  transition:border-color 0.2s ease;
}
.btn-ghost:hover{ border-color:var(--gold); }

.hero-photo{
  position:relative;
  min-height:660px;
  height:100%;
  align-self:stretch;
}
.hero-photo img{ width:100%; height:100%; min-height:660px; object-fit:cover; object-position:68% 28%; display:block; }
.hero-photo::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(115deg, var(--forest-deep) 0%, rgba(18,37,25,0.6) 26%, rgba(18,37,25,0.05) 55%, rgba(18,37,25,0.35) 100%);
}
.hero-badge{
  position:absolute; right:28px; bottom:28px; z-index:3;
  background:var(--forest-deep); color:var(--cream);
  border:1px solid rgba(247,242,228,0.25);
  border-radius:100px; padding:10px 18px 10px 14px;
  display:flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
  box-shadow:var(--shadow-md);
}
.hero-badge svg{ width:15px; height:15px; color:var(--gold); }

@media (max-width:880px){
  .hero-grid{ grid-template-columns:1fr; min-height:0; }
  .hero-copy{ padding:64px 24px 40px 68px; }
  .hero-photo{ height:320px; }
}

/* organic divider between sections */
.section-divider{ width:100%; height:52px; line-height:0; position:relative; z-index:1; }
.section-divider svg{ width:100%; height:100%; display:block; }
.divider-to-cream{ background:var(--forest-deep); }
.divider-to-soil{ background:var(--cream-soft); }
.divider-to-forest{ background:var(--soil); }

/* ==========================================================================
   Section shell
   ========================================================================== */
section{ position:relative; padding:104px 0 104px 48px; z-index:1; }
@media (max-width:640px){ section{ padding:76px 0 76px 26px; } }
.section-inner{ max-width:var(--maxw); margin:0 auto; padding:0 32px 0 48px; position:relative; }
@media (max-width:640px){ .section-inner{ padding:0 22px 0 26px; } }

.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,3.2vw,38px); font-weight:600; margin-top:12px; }
.section-head p{ color:var(--ink-muted); font-size:16.5px; max-width:56ch; margin-top:16px; }

.intro-body{ max-width:640px; }
.intro-body p{ font-size:17.5px; color:#3a3a2e; margin:0 0 18px 0; }

/* ==========================================================================
   Who should apply — criteria
   ========================================================================== */
.criteria-list{ display:grid; gap:16px; max-width:640px; margin-top:8px; }
.criteria-item{
  position:relative;
  display:flex; gap:16px; align-items:flex-start;
  padding:20px 22px; background:#fff;
  border:1px solid var(--cream-line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.criteria-item:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--sprout); }
.criteria-icon{
  flex:none; width:38px; height:38px; border-radius:50%;
  background:var(--sprout-soft); display:flex; align-items:center; justify-content:center;
}
.criteria-icon svg{ width:19px; height:19px; color:var(--forest-deep); }
.criteria-item p{ margin:0; font-size:15.5px; color:#2c2c22; padding-top:8px; }

/* admin controls on cards */
.admin-item-controls{
  position:absolute; top:10px; right:10px; display:none; gap:6px;
}
body[data-admin="1"] .admin-item-controls{ display:flex; }
.admin-item-controls button{
  width:26px; height:26px; border-radius:50%; border:1px solid var(--cream-line);
  background:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center;
  color:var(--ink-muted); transition:background 0.15s ease, color 0.15s ease;
}
.admin-item-controls button:hover{ background:var(--cherry); color:#fff; border-color:var(--cherry); }
.admin-item-controls svg{ width:13px; height:13px; }
.add-item-card{
  border:1.5px dashed var(--sprout); border-radius:var(--radius-md);
  display:none; align-items:center; justify-content:center; gap:8px;
  padding:20px; cursor:pointer; color:var(--forest); font-weight:600; font-size:14.5px;
  background:rgba(127,166,83,0.06); transition:background 0.15s ease;
}
body[data-admin="1"] .add-item-card{ display:flex; }
.add-item-card:hover{ background:rgba(127,166,83,0.14); }

/* ==========================================================================
   Pilot spotlight
   ========================================================================== */
.spotlight{
  background:linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius:var(--radius-lg);
  padding:44px 48px; color:var(--cream);
  display:grid; grid-template-columns:auto 1fr; gap:30px; align-items:center;
  max-width:780px; box-shadow:var(--shadow-md);
  position:relative; overflow:hidden;
}
.spotlight::after{
  content:''; position:absolute; right:-40px; top:-40px; width:180px; height:180px;
  border-radius:50%; background:radial-gradient(circle, rgba(198,148,71,0.25), transparent 70%);
}
.spotlight-icon{
  width:60px; height:60px; border-radius:50%; background:rgba(247,242,228,0.12);
  display:flex; align-items:center; justify-content:center; flex:none; position:relative; z-index:1;
}
.spotlight-icon svg{ width:28px; height:28px; color:var(--gold-soft); }
.spotlight h3{ color:var(--cream); font-size:25px; font-weight:600; position:relative; z-index:1; }
.spotlight p{ margin:6px 0 0 0; color:rgba(247,242,228,0.78); font-size:15px; position:relative; z-index:1; }
@media (max-width:560px){ .spotlight{ grid-template-columns:1fr; padding:30px; } }

/* ==========================================================================
   What churches receive
   ========================================================================== */
.receive-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:940px; }
.receive-card{
  position:relative;
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:30px 24px; display:flex; flex-direction:column; gap:14px;
  box-shadow:var(--shadow-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.receive-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--gold); }
.receive-icon{
  width:44px; height:44px; border-radius:50%; background:#f4e3c4;
  display:flex; align-items:center; justify-content:center;
}
.receive-icon svg{ width:21px; height:21px; color:var(--cherry); }
.receive-card h4{ font-family:var(--display); font-weight:600; font-size:16.5px; color:var(--forest-deep); margin:0; }
@media (max-width:760px){ .receive-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .receive-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   Harvest / CTA
   ========================================================================== */
.harvest{ background:var(--soil); color:var(--cream); padding-bottom:40px; }
.harvest .section-inner{ display:grid; grid-template-columns:1fr; gap:44px; max-width:760px; }
@media (max-width:640px){ .harvest{ padding-bottom:28px; } }

.deadline-card{
  background:rgba(247,242,228,0.06); border:1px solid rgba(247,242,228,0.16);
  border-radius:var(--radius-lg); padding:36px 36px; position:relative; overflow:hidden;
}
.deadline-card::before{
  content:''; position:absolute; left:-30px; bottom:-30px; width:140px; height:140px;
  border-radius:50%; background:radial-gradient(circle, rgba(127,166,83,0.18), transparent 70%);
}
.deadline-card .eyebrow{ color:var(--gold-soft); }
.deadline-date{
  font-family:var(--mono); font-size:clamp(30px,4vw,42px); color:var(--cream);
  margin-top:12px; letter-spacing:0.03em; position:relative; z-index:1;
}
.deadline-days{
  display:inline-block; margin-top:10px; font-family:var(--mono); font-size:12.5px;
  color:var(--forest-deep); background:var(--sprout-soft); padding:5px 12px; border-radius:100px;
  position:relative; z-index:1;
}
.deadline-card p.note{ color:rgba(247,242,228,0.72); font-size:14.5px; margin-top:18px; max-width:52ch; position:relative; z-index:1; }

.harvest-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:28px; position:relative; z-index:1; }
.btn-apply{
  font-family:var(--body); font-weight:700; font-size:16px;
  background:var(--gold); color:var(--forest-deep);
  padding:17px 30px; border-radius:100px; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
  box-shadow:var(--shadow-gold);
  transition:transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-apply:hover{ transform:translateY(-2px); box-shadow:0 16px 36px rgba(198,148,71,0.45); }
.btn-apply svg{ width:17px; height:17px; }
.btn-whatsapp{
  font-family:var(--body); font-weight:600; font-size:15px;
  background:rgba(247,242,228,0.08); color:var(--cream);
  border:1px solid rgba(247,242,228,0.3);
  padding:16px 24px; border-radius:100px; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
  transition:background 0.18s ease, border-color 0.18s ease;
}
.btn-whatsapp:hover{ background:rgba(247,242,228,0.16); border-color:var(--sprout); }
.btn-whatsapp svg{ width:18px; height:18px; color:var(--sprout-soft); }

/* ==========================================================================
   Partners
   ========================================================================== */
/* Flex, not grid: an auto-fit grid stretches a partial last row, so a lone
   logo would balloon to full width. Fixed basis + no grow keeps every cell the
   same size and centres whatever is left over on the final row. */
.partners-grid{
  display:flex;
  flex-wrap:wrap;
  /* left-aligned to match the section heading; a partial last row continues
     under the first column instead of floating in the middle */
  justify-content:flex-start;
  gap:18px;
  margin-top:44px;
}
.partner-logo{
  /* grow:0 so cells never stretch; shrink:1 so they still fit narrow screens */
  flex:0 1 196px;
  min-width:0;
  height:104px;
  display:flex; align-items:center; justify-content:center;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--cream-line);
  border-radius:var(--radius-md);
  text-decoration:none;
  transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
/* Filling the box with object-fit:contain is what makes any upload — square,
   tall, or a long wordmark — scale to the same footprint without distortion. */
.partner-logo img{
  width:100%; height:100%;
  object-fit:contain;
  object-position:center;
  /* Muted by default so mismatched logos read as one set; true colour on hover. */
  filter:grayscale(1);
  opacity:0.72;
  transition:filter 0.25s ease, opacity 0.25s ease;
}
a.partner-logo:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:var(--sprout);
}
a.partner-logo:hover img,
a.partner-logo:focus-visible img{ filter:grayscale(0); opacity:1; }

@media (max-width:640px){
  .partners-grid{ gap:12px; margin-top:32px; }
  /* basis small enough that two cells + gap always clear a 320px viewport */
  .partner-logo{ flex-basis:132px; height:84px; padding:14px 16px; }
}

/* Logos are already muted; don't also animate them behind reduced-motion. */
@media (prefers-reduced-motion: reduce){
  .partner-logo, .partner-logo img{ transition:none; }
  a.partner-logo:hover{ transform:none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer{
  background:linear-gradient(180deg, var(--forest-deep) 0%, #0c1a12 100%);
  color:rgba(247,242,228,0.78);
  text-align:center; padding:44px 24px 40px;
  border-top:3px solid var(--sprout);
  position:relative; z-index:1;
}
footer::before{
  content:'';
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:120px; height:3px; background:var(--gold);
}
footer .brand-mark{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:18px; }
footer .brand-mark svg{ width:28px; height:28px; filter:drop-shadow(0 2px 6px rgba(127,166,83,0.4)); }
.footer-tagline{
  font-family:var(--display);
  font-size:15.5px;
  font-weight:500;
  letter-spacing:0.01em;
  color:rgba(247,242,228,0.88);
  max-width:560px;
  margin:0 auto 14px;
  line-height:1.5;
}
.footer-meta{
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(247,242,228,0.45);
  padding-top:14px;
  border-top:1px solid rgba(247,242,228,0.1);
  display:inline-block;
  padding-left:20px;
  padding-right:20px;
}

/* ==========================================================================
   Admin: inline editing affordances (front-end)
   ========================================================================== */
.editable{ border-radius:3px; outline:1px dashed transparent; transition:outline-color .15s ease, background .15s ease; cursor:text; }
body[data-admin="1"] .editable:hover{ outline-color:var(--gold); background:rgba(198,148,71,0.08); }
body[data-admin="1"] .editable:focus{ outline:2px solid var(--cherry); background:#fff; }
.editable-save-flash{ animation:flashSave 0.9s ease; }
@keyframes flashSave{ 0%{ background:rgba(127,166,83,0.35); } 100%{ background:transparent; } }

.hero-photo-controls{ position:absolute; right:20px; top:20px; z-index:4; display:none; }
body[data-admin="1"] .hero-photo-controls{ display:block; }
.change-photo-btn{
  font-family:var(--body); font-weight:600; font-size:13px;
  background:rgba(18,37,25,0.75); color:#fff; border:1px solid rgba(247,242,228,0.4);
  padding:9px 16px; border-radius:100px; cursor:pointer; backdrop-filter:blur(4px);
}
.change-photo-btn:hover{ background:var(--cherry); border-color:var(--cherry); }

.admin-bar{
  position:fixed; left:50%; bottom:20px; transform:translateX(-50%);
  z-index:100; display:flex; align-items:center; gap:14px;
  background:var(--forest-deep); color:var(--cream);
  padding:10px 10px 10px 18px; border-radius:100px;
  box-shadow:0 16px 40px rgba(18,37,25,0.45);
  font-family:var(--body); font-size:13.5px;
  border:1px solid rgba(247,242,228,0.15);
}
.admin-bar strong{ color:var(--gold-soft); font-weight:600; }
.admin-bar a{
  text-decoration:none; color:rgba(247,242,228,0.85);
  padding:7px 12px; border-radius:100px; transition:background .15s ease;
}
.admin-bar a:hover{ background:rgba(247,242,228,0.12); }
.admin-bar a.danger:hover{ background:var(--cherry); color:#fff; }
.admin-bar .sep{ width:1px; height:16px; background:rgba(247,242,228,0.2); }

.mini-form{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:18px; display:grid; gap:10px; box-shadow:var(--shadow-md);
}
.mini-form select, .mini-form input, .mini-form textarea{
  font-family:var(--body); font-size:14px; padding:9px 10px;
  border:1px solid var(--cream-line); border-radius:6px; width:100%;
}
.mini-form-actions{ display:flex; gap:8px; justify-content:flex-end; }
.mini-form-actions button{
  font-family:var(--body); font-weight:600; font-size:13px; padding:8px 14px;
  border-radius:6px; cursor:pointer; border:1px solid transparent;
}
.mini-form-actions .save{ background:var(--sprout); color:var(--forest-deep); }
.mini-form-actions .cancel{ background:transparent; color:var(--ink-muted); border-color:var(--cream-line); }

@media (max-width:640px){
  .admin-bar{ flex-wrap:wrap; justify-content:center; width:calc(100% - 32px); bottom:12px; padding:10px; }
}

/* ==========================================================================
   Multi-page site: navigation, footer, shared page furniture
   Added when the single campaign page became the full Mission Seedlings site.
   ========================================================================== */

/* --- accessibility helpers ------------------------------------------------ */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--forest-deep); color:var(--cream);
  padding:12px 20px; border-radius:0 0 var(--radius-md) 0;
  font-weight:600; font-size:14px; text-decoration:none;
}
.skip-link:focus{ left:0; }

/* --- navigation ----------------------------------------------------------- */
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links > a:not(.nav-cta){
  font-size:14.5px; font-weight:500; color:var(--forest-deep);
  text-decoration:none; padding:9px 12px; border-radius:100px;
  white-space:nowrap; transition:background .15s ease, color .15s ease;
}
.nav-links > a:not(.nav-cta):hover{ background:rgba(31,59,44,0.07); }
.nav-links > a.active{ color:var(--cherry); font-weight:600; }
.nav-links .nav-cta{ margin-left:10px; }

.nav-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--cream-line); background:#fff; cursor:pointer;
  align-items:center; justify-content:center; padding:0;
}
.nav-toggle-bars{ display:flex; flex-direction:column; gap:4px; width:18px; }
.nav-toggle-bars i{ display:block; height:2px; background:var(--forest-deep); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* The contact link is a nav item only in the drawer; on desktop the CTA
   button already covers "get in touch". */
.nav-links-contact{ display:none; }

@media (max-width:1080px){
  .nav-toggle{ display:flex; }
  .navbar{ flex-wrap:wrap; padding:14px 22px; }
  .nav-links{
    display:none; flex-direction:column; align-items:stretch;
    width:100%; gap:2px; padding:14px 0 6px;
    border-top:1px solid var(--cream-line); margin-top:14px;
  }
  .nav-links.open{ display:flex; }
  .nav-links-contact{ display:block; }
  .nav-links > a:not(.nav-cta){ padding:13px 14px; border-radius:var(--radius-sm); }
  .nav-links .nav-cta{ margin:10px 0 4px; text-align:center; }
}

/* Pages without the growth-vine spine do not need to reserve room for it. */
body:not(.has-vine) section{ padding-left:0; padding-right:0; }
body:not(.has-vine) .section-inner{ padding-left:32px; padding-right:32px; }
@media (max-width:640px){
  body:not(.has-vine) .section-inner{ padding-left:22px; padding-right:22px; }
}

/* --- footer --------------------------------------------------------------- */
footer{ text-align:left; padding:56px 24px 32px; }
.footer-inner{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:minmax(240px, 1.1fr) 2fr; gap:48px;
}
.footer-brand .brand-mark{ justify-content:flex-start; gap:10px; margin-bottom:14px; }
.footer-brand .brand-mark span{
  font-family:var(--display); font-size:18px; font-weight:600; color:var(--cream);
}
footer .footer-tagline{ margin:0 0 12px; max-width:36ch; }
.footer-address{
  font-size:13.5px; color:rgba(247,242,228,0.55); line-height:1.6;
}
.footer-nav{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.footer-col{ display:flex; flex-direction:column; gap:9px; }
.footer-col h3{
  font-family:var(--mono); font-size:11px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--gold-soft); margin:0 0 4px; font-weight:500;
}
.footer-col a{
  font-size:14.5px; color:rgba(247,242,228,0.72); text-decoration:none;
  transition:color .15s ease;
}
.footer-col a:hover{ color:var(--sprout-soft); }
footer .footer-meta{
  max-width:var(--maxw); margin:40px auto 0; display:block;
  padding-left:0; padding-right:0; text-align:left;
}
footer::before{ display:none; }

@media (max-width:880px){
  .footer-inner{ grid-template-columns:1fr; gap:36px; }
  .footer-nav{ grid-template-columns:repeat(2,1fr); gap:28px; }
}
@media (max-width:480px){
  .footer-nav{ grid-template-columns:1fr; }
}

/* ==========================================================================
   Page furniture shared by the multi-page site
   ========================================================================== */
.page-intro{ background:var(--cream); padding-top:76px; padding-bottom:56px; }
.page-intro h1{
  font-family:var(--display); font-size:clamp(32px,4vw,48px); font-weight:600;
  color:var(--forest-deep); margin-top:12px; line-height:1.08;
}
.lede-dark{ color:var(--ink-muted); font-size:17.5px; max-width:60ch; margin-top:18px; }

.link-arrow{
  font-weight:600; font-size:15px; color:var(--cherry); text-decoration:none;
  border-bottom:1px solid transparent; transition:border-color .15s ease;
}
.link-arrow:hover{ border-color:var(--cherry); }
.link-arrow span{ transition:transform .15s ease; display:inline-block; }
.link-arrow:hover span{ transform:translateX(3px); }

.back-link{
  font-family:var(--mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-muted); text-decoration:none;
}
.back-link:hover{ color:var(--cherry); }

.empty-note{
  background:#fff; border:1px dashed var(--cream-line); border-radius:var(--radius-md);
  padding:28px; color:var(--ink-muted); font-size:15.5px; text-align:center;
}
.empty-note a{ color:var(--cherry); font-weight:600; }

.draft-banner{
  display:inline-block; margin:14px 0; padding:8px 16px; border-radius:100px;
  background:var(--gold); color:var(--forest-deep);
  font-family:var(--mono); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
}

.privacy-note{
  display:flex; gap:14px; align-items:flex-start; margin-top:40px;
  background:rgba(31,59,44,0.05); border-left:3px solid var(--sprout);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
  padding:18px 22px; font-size:14.5px; color:var(--ink-muted); max-width:76ch;
}
.privacy-note svg{ width:20px; height:20px; flex:none; color:var(--forest); margin-top:1px; }

.cta-band{
  background:linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  border-radius:var(--radius-lg); padding:40px 44px; color:var(--cream);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--cream); font-size:24px; }
.cta-band p{ color:rgba(247,242,228,0.75); margin-top:8px; font-size:15.5px; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-band .btn-primary{ background:var(--gold) !important; color:var(--forest-deep) !important; box-shadow:var(--shadow-gold) !important; }
.cta-band .btn-ghost{ color:var(--cream) !important; border-color:rgba(247,242,228,0.4) !important; }

.spotlight-meta{
  display:flex; gap:22px; flex-wrap:wrap; margin-top:18px;
  font-family:var(--mono); font-size:12px; letter-spacing:0.04em;
  color:rgba(247,242,228,0.7); position:relative; z-index:1;
}
.spotlight-meta span{ display:inline-flex; align-items:center; gap:7px; }
.spotlight-meta svg{ width:15px; height:15px; color:var(--sprout-soft); }
.spotlight-meta strong{ color:var(--gold-soft); }

/* --- statistics ----------------------------------------------------------- */
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.stat-grid--wide{ grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); }
.stat-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:26px 24px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:6px; color:var(--forest);
  transition:transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.stat-icon{
  width:40px; height:40px; border-radius:50%; background:var(--sprout-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:8px;
}
.stat-icon svg{ width:20px; height:20px; color:var(--forest-deep); }
.stat-value{
  font-family:var(--display); font-size:clamp(28px,3vw,36px); font-weight:600;
  color:var(--forest-deep); line-height:1;
}
.stat-label{ font-size:14px; color:var(--ink-muted); }
.sparkline{ width:100%; height:32px; margin-top:10px; color:var(--sprout); opacity:0.85; }

@media (max-width:900px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){ .stat-grid{ grid-template-columns:1fr; } }

/* --- pathway: chips, stepper, milestones ---------------------------------- */
.stage-strip{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:10px; counter-reset:stage;
}
.stage-chip{
  display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--cream-line); border-radius:100px;
  padding:11px 20px 11px 14px; box-shadow:var(--shadow-sm);
}
.stage-chip-num{ font-family:var(--mono); font-size:11px; color:var(--ink-muted); }
.stage-chip-name{ font-family:var(--display); font-weight:600; font-size:15.5px; color:var(--forest-deep); }
.stage-chip.status-in_progress{ border-color:var(--gold); background:#fffaf0; }
.stage-chip.status-complete{ border-color:var(--sprout); background:rgba(127,166,83,0.1); }

.stepper{ list-style:none; margin:0; padding:0; position:relative; }
.stepper::before{
  content:''; position:absolute; left:27px; top:20px; bottom:20px;
  width:2px; background:var(--cream-line);
}
.stepper-item{ position:relative; display:grid; grid-template-columns:56px 1fr; gap:24px; padding-bottom:36px; }
.stepper-marker{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:6px; }
.stepper-icon{
  width:56px; height:56px; border-radius:50%;
  background:#fff; border:2px solid var(--cream-line);
  display:flex; align-items:center; justify-content:center;
}
.stepper-icon svg{ width:24px; height:24px; color:var(--ink-muted); }
.stepper-num{ font-family:var(--mono); font-size:11px; color:var(--ink-muted); }
.stepper-item.status-in_progress .stepper-icon{ border-color:var(--gold); background:#fffaf0; }
.stepper-item.status-in_progress .stepper-icon svg{ color:var(--gold); }
.stepper-item.status-complete .stepper-icon{ border-color:var(--sprout); background:var(--sprout); }
.stepper-item.status-complete .stepper-icon svg{ color:#fff; }

.stepper-body{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:26px 28px; box-shadow:var(--shadow-sm);
}
.stepper-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.stepper-body h2{ font-size:21px; }
.stepper-body > p{ color:var(--ink-muted); font-size:15.5px; margin-top:12px; max-width:62ch; }
.stepper-note{
  display:flex; gap:10px; align-items:flex-start; margin-top:16px;
  font-size:14px; color:var(--forest); background:rgba(127,166,83,0.1);
  padding:12px 16px; border-radius:var(--radius-sm);
}
.stepper-note svg{ width:16px; height:16px; flex:none; margin-top:2px; }

.status-badge{
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  padding:5px 12px; border-radius:100px; white-space:nowrap;
  background:var(--cream-soft); color:var(--ink-muted);
}
.status-badge.status-in_progress{ background:var(--gold); color:var(--forest-deep); }
.status-badge.status-complete{ background:var(--sprout); color:#fff; }
.status-badge.status-blocked{ background:var(--cherry); color:#fff; }
.status-badge.status-planned{ background:var(--cream-soft); color:var(--ink-muted); }

.milestone-list{ list-style:none; margin:20px 0 0; padding:18px 0 0; border-top:1px solid var(--cream-line); display:grid; gap:14px; }
.milestone{ display:grid; grid-template-columns:14px 1fr; gap:12px; align-items:start; }
.milestone-dot{
  width:10px; height:10px; border-radius:50%; margin-top:6px;
  background:var(--cream-soft); border:2px solid var(--cream-line);
}
.milestone-complete .milestone-dot{ background:var(--sprout); border-color:var(--sprout); }
.milestone-in_progress .milestone-dot{ background:var(--gold); border-color:var(--gold); }
.milestone-blocked .milestone-dot{ background:var(--cherry); border-color:var(--cherry); }
.milestone strong{ display:block; font-size:15px; color:var(--forest-deep); }
.milestone-desc{ display:block; font-size:14px; color:var(--ink-muted); margin-top:3px; }
.milestone-meta{
  display:block; font-family:var(--mono); font-size:11px; letter-spacing:0.05em;
  text-transform:uppercase; color:var(--ink-muted); margin-top:5px;
}
.pathway-outro{ margin-top:8px; font-size:15.5px; color:var(--ink-muted); font-style:italic; }

@media (max-width:640px){
  .stepper::before{ left:19px; }
  .stepper-item{ grid-template-columns:40px 1fr; gap:16px; }
  .stepper-icon{ width:40px; height:40px; }
  .stepper-icon svg{ width:18px; height:18px; }
  .stepper-body{ padding:20px; }
}

/* --- tracker: phase pill, timeline, stage summary -------------------------- */
.phase-pill{
  display:inline-flex; align-items:center; gap:12px; margin-top:26px;
  background:var(--forest-deep); color:var(--cream);
  padding:12px 24px 12px 18px; border-radius:100px; box-shadow:var(--shadow-md);
  font-size:14px;
}
.phase-pill svg{ width:19px; height:19px; color:var(--sprout-soft); }
.phase-pill span{ color:rgba(247,242,228,0.65); }
.phase-pill strong{ font-family:var(--display); font-size:17px; color:var(--gold-soft); }

.timeline{ list-style:none; margin:0; padding:0 0 0 26px; position:relative; }
.timeline::before{ content:''; position:absolute; left:5px; top:8px; bottom:8px; width:2px; background:var(--cream-line); }
.timeline-item{ position:relative; padding-bottom:28px; }
.timeline-dot{
  position:absolute; left:-26px; top:6px; width:12px; height:12px; border-radius:50%;
  background:#fff; border:2px solid var(--cream-line);
}
.timeline-item.milestone-complete .timeline-dot{ background:var(--sprout); border-color:var(--sprout); }
.timeline-item.milestone-in_progress .timeline-dot{ background:var(--gold); border-color:var(--gold); }
.timeline-item.milestone-blocked .timeline-dot{ background:var(--cherry); border-color:var(--cherry); }
.timeline-head{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.timeline-body h3{ font-family:var(--display); font-size:18px; font-weight:600; color:var(--forest-deep); margin:0; }
.timeline-meta{
  font-family:var(--mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--ink-muted); margin-top:6px;
}
.timeline-body p{ font-size:15px; color:var(--ink-muted); margin-top:10px; max-width:62ch; }

.stage-summary{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:10px; margin-top:48px;
}
.stage-summary-item{
  background:#fff; border:1px solid var(--cream-line); border-left:4px solid var(--cream-line);
  border-radius:var(--radius-sm); padding:14px 16px;
}
.stage-summary-item.status-in_progress{ border-left-color:var(--gold); }
.stage-summary-item.status-complete{ border-left-color:var(--sprout); }
.stage-summary-name{ display:block; font-family:var(--display); font-weight:600; font-size:15px; color:var(--forest-deep); }
.stage-summary-status{
  display:block; font-family:var(--mono); font-size:10.5px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--ink-muted); margin-top:4px;
}

/* --- cooperative facts + about prose -------------------------------------- */
.fact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.fact-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:26px 24px; box-shadow:var(--shadow-sm);
}
.fact-icon{
  width:42px; height:42px; border-radius:50%; background:#f4e3c4;
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.fact-icon svg{ width:20px; height:20px; color:var(--cherry); }
.fact-card h3{ font-family:var(--display); font-size:17px; font-weight:600; color:var(--forest-deep); margin:0 0 8px; }
.fact-card p{ font-size:14.5px; color:var(--ink-muted); }
@media (max-width:1000px){ .fact-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .fact-grid{ grid-template-columns:1fr; } }

.prose-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:36px 48px; }
.prose-block h2{ font-size:22px; margin-top:14px; }
.prose-block p{ color:var(--ink-muted); font-size:16px; margin-top:12px; max-width:56ch; }
.prose-icon{
  width:44px; height:44px; border-radius:50%; background:var(--sprout-soft);
  display:flex; align-items:center; justify-content:center;
}
.prose-icon svg{ width:21px; height:21px; color:var(--forest-deep); }
@media (max-width:820px){ .prose-grid{ grid-template-columns:1fr; gap:32px; } }

/* --- churches -------------------------------------------------------------- */
.filter-bar{
  display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:32px;
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:18px 22px; box-shadow:var(--shadow-sm);
}
.filter-field{ display:flex; flex-direction:column; gap:6px; }
.filter-field label{
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--ink-muted);
}
.filter-field select{
  font-family:var(--body); font-size:14.5px; padding:9px 12px; min-width:170px;
  border:1px solid var(--cream-line); border-radius:var(--radius-sm); background:#fff; color:var(--ink);
}
.btn-filter{
  font-family:var(--body); font-weight:600; font-size:14px; cursor:pointer;
  background:var(--forest); color:var(--cream); border:0;
  padding:11px 20px; border-radius:100px;
}
.btn-filter:hover{ background:var(--forest-deep); }
.filter-clear{ font-size:14px; color:var(--ink-muted); text-decoration:underline; }
.filter-count{
  margin-left:auto; font-family:var(--mono); font-size:11.5px;
  letter-spacing:0.06em; color:var(--ink-muted);
}

.church-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px; }
.church-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  overflow:hidden; text-decoration:none; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.church-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--sprout); }
.church-card-media{ aspect-ratio:16/10; background:var(--cream-soft); overflow:hidden; }
.church-card-media img{ width:100%; height:100%; object-fit:cover; }
.church-card-media--empty{ display:flex; align-items:center; justify-content:center; }
.church-card-media--empty svg{ width:44px; height:44px; color:var(--cream-line); }
.church-card-body{ padding:22px; display:flex; flex-direction:column; gap:10px; }
.church-card-body h2{ font-size:19px; }
.church-card-place{
  display:flex; align-items:center; gap:7px; font-size:13.5px; color:var(--ink-muted);
}
.church-card-place svg{ width:15px; height:15px; }
.church-card-stats{ display:flex; gap:22px; margin:6px 0 0; padding-top:14px; border-top:1px solid var(--cream-line); }
.church-card-stats dt{
  font-family:var(--mono); font-size:10px; letter-spacing:0.07em;
  text-transform:uppercase; color:var(--ink-muted);
}
.church-card-stats dd{ margin:2px 0 0; font-family:var(--display); font-size:19px; font-weight:600; color:var(--forest-deep); }

.stage-tag{
  align-self:flex-start;
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.07em; text-transform:uppercase;
  background:var(--cream-soft); color:var(--forest-deep);
  padding:5px 12px; border-radius:100px;
}

.church-hero-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:44px; align-items:center; margin-top:8px; }
.church-hero-meta{
  display:flex; flex-wrap:wrap; gap:18px; margin:16px 0 18px;
  font-size:14px; color:var(--ink-muted);
}
.church-hero-meta span{ display:inline-flex; align-items:center; gap:7px; }
.church-hero-meta svg{ width:16px; height:16px; }
.church-hero-photo{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.church-hero-photo img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
@media (max-width:860px){ .church-hero-grid{ grid-template-columns:1fr; gap:28px; } }

.latest-update{
  background:#fff; border:1px solid var(--cream-line); border-left:4px solid var(--gold);
  border-radius:var(--radius-md); padding:28px 30px; box-shadow:var(--shadow-sm); max-width:70ch;
}
.latest-update-meta{ display:flex; align-items:center; gap:12px; font-size:13px; color:var(--ink-muted); }
.latest-update h3{ font-family:var(--display); font-size:22px; font-weight:600; margin:12px 0 10px; }
.latest-update h3 a{ text-decoration:none; color:var(--forest-deep); }
.latest-update h3 a:hover{ color:var(--cherry); }
.latest-update p{ color:var(--ink-muted); font-size:15.5px; margin-bottom:16px; }

/* --- stories --------------------------------------------------------------- */
.chip-filters{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; }
.chip{
  font-size:13.5px; font-weight:500; text-decoration:none;
  background:#fff; color:var(--ink-muted);
  border:1px solid var(--cream-line); border-radius:100px; padding:8px 16px;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover{ border-color:var(--sprout); color:var(--forest); }
.chip.active{ background:var(--forest); color:var(--cream); border-color:var(--forest); }

.story-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(290px,1fr)); gap:22px; }
.story-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  overflow:hidden; text-decoration:none; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.story-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--gold); }
.story-card-media{ aspect-ratio:16/9; background:var(--cream-soft); overflow:hidden; }
.story-card-media img{ width:100%; height:100%; object-fit:cover; }
.story-card-media--empty{ display:flex; align-items:center; justify-content:center; }
.story-card-media--empty svg{ width:40px; height:40px; color:var(--cream-line); }
.story-card-body{ padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.story-card-meta{ display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--ink-muted); }
.story-card-body h3{ font-family:var(--display); font-size:18.5px; font-weight:600; color:var(--forest-deep); margin:0; line-height:1.25; }
.story-card-body p{ font-size:14.5px; color:var(--ink-muted); flex:1; }
.story-card-church{
  display:flex; align-items:center; gap:7px; padding-top:12px;
  border-top:1px solid var(--cream-line); font-size:13px; color:var(--forest);
}
.story-card-church svg{ width:15px; height:15px; }
.tag{
  font-family:var(--mono); font-size:10px; letter-spacing:0.07em; text-transform:uppercase;
  background:var(--sprout-soft); color:var(--forest-deep); padding:4px 10px; border-radius:100px;
}

.story-hero h1{ max-width:22ch; }
.story-hero-meta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:18px; font-size:13.5px; color:var(--ink-muted); }
.story-hero-meta a{ color:var(--cherry); }
.story-cover{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
.story-cover img{ width:100%; max-height:520px; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.story-body{ max-width:68ch; }
.story-body p{ font-size:17px; color:#3a3a2e; margin-bottom:20px; line-height:1.7; }
.story-body a{ color:var(--cherry); }
.story-gallery{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:16px; margin-top:40px; }
.story-gallery figure{ margin:0; }
.story-gallery img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-md); box-shadow:var(--shadow-sm); }
.story-gallery figcaption{ font-size:13px; color:var(--ink-muted); margin-top:8px; }

.pagination{
  display:flex; align-items:center; justify-content:center; gap:24px; margin-top:40px;
  font-size:14.5px; color:var(--ink-muted);
}
.pagination a{ color:var(--cherry); font-weight:600; text-decoration:none; }
.pagination a:hover{ text-decoration:underline; }

/* --- resources ------------------------------------------------------------- */
.resource-group{ margin-bottom:40px; }
.resource-group-title{
  font-family:var(--mono); font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--cherry); margin:0 0 14px; font-weight:500;
}
.resource-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.resource-row{
  display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center;
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:18px 22px; box-shadow:var(--shadow-sm);
  transition:border-color .15s ease, transform .15s ease;
}
.resource-row:hover{ border-color:var(--sprout); transform:translateX(2px); }
.resource-icon{
  width:40px; height:40px; border-radius:50%; background:var(--sprout-soft);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.resource-icon svg{ width:19px; height:19px; color:var(--forest-deep); }
.resource-main a{ font-weight:600; font-size:15.5px; color:var(--forest-deep); text-decoration:none; }
.resource-main a:hover{ color:var(--cherry); }
.resource-main p{ font-size:14px; color:var(--ink-muted); margin-top:4px; max-width:62ch; }
.resource-tags{ display:flex; align-items:center; gap:8px; flex:none; }
.lock-tag, .size-tag{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase;
  padding:5px 11px; border-radius:100px; white-space:nowrap;
}
.lock-tag{ background:var(--soil); color:var(--cream); }
.lock-tag svg{ width:12px; height:12px; }
.size-tag{ background:var(--cream-soft); color:var(--ink-muted); }
@media (max-width:640px){
  .resource-row{ grid-template-columns:auto 1fr; }
  .resource-tags{ grid-column:1 / -1; }
}

.kobo-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:18px; }
.kobo-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:24px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:10px;
}
.kobo-card-head{ display:flex; align-items:center; justify-content:space-between; }
.kobo-card h3{ font-family:var(--display); font-size:17.5px; font-weight:600; color:var(--forest-deep); margin:6px 0 0; }
.kobo-purpose{
  font-family:var(--mono); font-size:10.5px; letter-spacing:0.07em;
  text-transform:uppercase; color:var(--ink-muted);
}
.kobo-card p{ font-size:14px; color:var(--ink-muted); flex:1; }
.kobo-pending{ font-size:13px; color:var(--ink-muted); font-style:italic; }

.btn-inline{
  align-self:flex-start; display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:14px; text-decoration:none;
  background:var(--forest); color:var(--cream);
  padding:10px 18px; border-radius:100px; margin-top:6px;
  transition:background .15s ease;
}
.btn-inline:hover{ background:var(--forest-deep); }
.btn-inline svg{ width:15px; height:15px; }

.locked-panel{
  display:flex; gap:20px; align-items:flex-start;
  background:#fff; border:1px dashed var(--cream-line); border-radius:var(--radius-md); padding:30px;
}
.locked-panel h3{ font-family:var(--display); font-size:19px; font-weight:600; color:var(--forest-deep); margin:0 0 8px; }
.locked-panel p{ font-size:15px; color:var(--ink-muted); max-width:58ch; margin-bottom:6px; }

/* --- contact --------------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:44px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-form-wrap{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:32px 34px; box-shadow:var(--shadow-sm);
}
.contact-form-wrap h2{ font-size:23px; margin-bottom:22px; }
.contact-form .form-row{ display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.contact-form label{ font-size:13.5px; font-weight:600; color:var(--forest-deep); }
.contact-form .req{ color:var(--cherry); }
.contact-form input, .contact-form select, .contact-form textarea{
  font-family:var(--body); font-size:15px; padding:12px 14px; width:100%;
  border:1px solid var(--cream-line); border-radius:var(--radius-sm);
  background:#fff; color:var(--ink);
}
.contact-form textarea{ resize:vertical; min-height:130px; }
.contact-form .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .contact-form .two-col{ grid-template-columns:1fr; } }
.contact-form .help{ font-size:13px; color:var(--ink-muted); margin:-8px 0 18px; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-errors{
  background:rgba(168,56,42,0.08); border-left:3px solid var(--cherry);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:14px 18px; margin-bottom:22px;
}
.form-errors ul{ margin:0; padding-left:18px; font-size:14.5px; color:var(--cherry-deep); }
.form-success{ text-align:center; padding:30px 10px; }
.form-success .resource-icon{ margin:0 auto 16px; width:54px; height:54px; }
.form-success .resource-icon svg{ width:26px; height:26px; }
.form-success h2{ margin-bottom:10px; }
.form-success p{ color:var(--ink-muted); font-size:15.5px; max-width:44ch; margin:0 auto; }

.contact-aside{ display:grid; gap:18px; }
.aside-card{
  background:#fff; border:1px solid var(--cream-line); border-radius:var(--radius-md);
  padding:26px; box-shadow:var(--shadow-sm);
}
.aside-card h3{ font-family:var(--display); font-size:18px; font-weight:600; color:var(--forest-deep); margin:14px 0 8px; }
.aside-card p{ font-size:14.5px; color:var(--ink-muted); }
.aside-card--contact{ background:var(--forest-deep); border-color:var(--forest-deep); }
.aside-card--contact h3{ color:var(--cream); margin-top:0; }
.contact-line{
  display:flex; align-items:center; gap:10px; padding:10px 0;
  font-size:14.5px; color:rgba(247,242,228,0.85); text-decoration:none;
  border-bottom:1px solid rgba(247,242,228,0.12);
}
.contact-line:last-child{ border-bottom:0; }
.contact-line:hover{ color:var(--sprout-soft); }
.contact-line svg{ width:17px; height:17px; color:var(--gold-soft); flex:none; }
.contact-line--static{ cursor:default; }

/* ==========================================================================
   Print — the Growth Tracker doubles as the progress report a project manager
   sends to a partner organisation, so it has to survive "Save as PDF".
   ========================================================================== */
@media print{
  header.site, footer, .admin-bar, .skip-link, .nav-toggle,
  .chip-filters, .filter-bar, .pagination, .cta-band{ display:none !important; }

  html, body{ background:#fff !important; color:#000; }
  body::before{ display:none !important; }          /* film-grain overlay */
  .reveal{ opacity:1 !important; transform:none !important; }

  section{ padding:0 0 18pt !important; break-inside:avoid; }
  .section-inner{ padding:0 !important; max-width:none; }
  .page-intro{ padding-top:0 !important; }
  .page-intro h1{ font-size:22pt; }
  .section-head h2, h2{ font-size:15pt; }

  /* A print header the screen never shows, so the PDF identifies itself. */
  main::before{
    content:'Mission Seedlings — project progress';
    display:block; font-family:var(--display); font-size:11pt;
    padding-bottom:6pt; margin-bottom:14pt; border-bottom:1pt solid #999;
  }

  .stat-grid{ grid-template-columns:repeat(4,1fr) !important; gap:8pt; }
  .stat-card{ box-shadow:none !important; border:1pt solid #ccc; padding:10pt; break-inside:avoid; }
  .stat-value{ font-size:18pt; }
  .sparkline{ display:none; }        /* renders poorly in greyscale */
  .stat-icon{ display:none; }

  .phase-pill{ background:none !important; color:#000 !important; box-shadow:none; padding:0; }
  .phase-pill strong{ color:#000 !important; }
  .phase-pill svg{ display:none; }

  .timeline-item, .stage-summary-item, .privacy-note{ break-inside:avoid; }
  .status-badge{ border:1pt solid #666; background:none !important; color:#000 !important; }
  .privacy-note{ background:none !important; border-left:2pt solid #666; font-size:9pt; }
  .stage-summary{ grid-template-columns:repeat(4,1fr) !important; }

  a[href]::after{ content:''; }      /* no URL clutter in a progress report */
}

/* ==========================================================================
   Mobile touch and legibility
   --------------------------------------------------------------------------
   Two things that are fine with a mouse but not with a thumb on a phone:
   text links whose tap target is only as tall as the text, and the mono
   micro-labels, which sit at 10–10.5px for a tight look on desktop but are
   uncomfortably small on a handset. Adjusted only below the tablet breakpoint,
   so the desktop design is unchanged.
   ========================================================================== */
@media (max-width:880px){
  /* Inline "→" links: give the tap target real height without moving the text. */
  .link-arrow{
    display:inline-flex; align-items:center; min-height:44px;
    padding:2px 0; font-size:16px;
  }

  /* Footer links: 44px rows, and less gap since the padding now does the spacing. */
  .footer-col{ gap:0; }
  .footer-col a{
    display:flex; align-items:center; min-height:44px; font-size:15.5px;
  }
  .footer-col h3{ margin-bottom:6px; }

  /* Micro-labels: 11px is the floor for comfortable reading on a phone. */
  .tag,
  .status-badge,
  .stage-tag,
  .stage-summary-status,
  .lock-tag, .size-tag,
  .kobo-purpose,
  .milestone-meta,
  .timeline-meta,
  .filter-field label,
  .church-card-stats dt,
  .footer-col h3,
  .eyebrow{ font-size:11px; }

  .footer-meta{ font-size:11px; }

  /* Filter selects are form controls — make them thumb-sized too. */
  .filter-field select{ min-height:44px; }
  .btn-filter{ min-height:44px; }
  .chip{ min-height:40px; display:inline-flex; align-items:center; }

  /* Resource titles are the whole point of that row — make them easy to hit. */
  .resource-main a{ display:inline-flex; align-items:center; min-height:44px; }
  .contact-line{ min-height:44px; }

  /* "← Back to …" and the church link in a story's byline. */
  .back-link{ display:inline-flex; align-items:center; min-height:44px; font-size:12px; }
  .story-hero-meta a{ display:inline-flex; align-items:center; min-height:44px; }

  .brand-text small{ font-size:11px; }
}

/* The nav tagline is decorative and repeated in the footer. Below 480px the
   brand, tagline, and menu button cannot all fit on one line legibly, so the
   tagline is the one that goes. */
@media (max-width:480px){
  .brand-text small{ display:none; }
}
