/* Remain In Me Foundation — site styles
   Palette is taken from the olive-tree logo. Edit the tokens below to retheme the whole site. */

@font-face{font-family:"Alegreya";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Alegreya";font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Alegreya";font-weight:500;font-style:italic;font-display:swap;src:url(/assets/fonts/alegreya-latin-500-italic.woff2) format("woff2")}
@font-face{font-family:"Alegreya";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Alegreya Sans";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Alegreya Sans";font-weight:400;font-style:italic;font-display:swap;src:url(/assets/fonts/alegreya-sans-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Alegreya Sans";font-weight:500;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Alegreya Sans";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/alegreya-sans-latin-700-normal.woff2) format("woff2")}

:root{
  --paper:#F8F7F2;      /* logo background */
  --wash:#EAF1DC;       /* pale leaf green */
  --ink:#22301E;        /* body text */
  --ink-soft:#495743;   /* secondary text */
  --forest:#2E5A2A;     /* primary green */
  --forest-deep:#1E3B1B;
  --sage:#8FB07F;       /* decorative green */
  --line:#D3DCC3;
  --trunk:#7A4D12;      /* donate button: olive-tree trunk brown */
  --trunk-deep:#5F3A0A;
  --focus:#0B57D0;
  --serif:"Alegreya",Georgia,"Times New Roman",serif;
  --sans:"Alegreya Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --maxw:1120px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1.1875rem;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--forest);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--forest-deep)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
main:focus{outline:none}
.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:1.25rem}
.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:1rem;top:-4rem;z-index:100;background:var(--forest-deep);color:#fff;padding:.75rem 1rem;border-radius:8px;text-decoration:none}
.skip-link:focus{top:1rem}

/* Type */
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.12;color:var(--forest-deep);margin:0 0 .6em;letter-spacing:-.005em}
h1{font-size:clamp(2.5rem,1.6rem + 4.6vw,4.5rem);line-height:1.02}
h2{font-size:clamp(1.8rem,1.3rem + 2vw,2.6rem)}
h3{font-size:clamp(1.35rem,1.1rem + 1vw,1.7rem)}
p{margin:0 0 1.1em}
.lede{font-size:clamp(1.25rem,1.1rem + .7vw,1.5rem);line-height:1.5;color:var(--ink-soft);max-width:38rem}
.scripture{font-family:var(--serif);font-style:italic;font-weight:500;font-size:1.3rem;line-height:1.4;color:var(--forest-deep)}
.scripture cite{display:block;font-family:var(--sans);font-style:normal;font-size:1rem;color:var(--ink-soft);margin-top:.35rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.65rem 1.5rem;border-radius:999px;border:2px solid transparent;font:700 1.1rem/1.2 var(--sans);text-decoration:none;cursor:pointer;text-align:center}
.btn-sm{min-height:44px;padding:.5rem 1.15rem;font-size:1.05rem}
.btn-donate{background:var(--trunk);color:#fff}
.btn-donate:hover{background:var(--trunk-deep);color:#fff}
.btn-primary{background:var(--forest);color:#fff}
.btn-primary:hover{background:var(--forest-deep);color:#fff}
.btn-ghost{background:transparent;color:var(--forest-deep);border-color:var(--forest)}
.btn-ghost:hover{background:var(--wash);color:var(--forest-deep)}
.btn-light{background:#fff;color:var(--forest-deep)}
.btn-light:hover{background:var(--wash);color:var(--forest-deep)}
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;align-items:center}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;min-height:68px;padding-block:.35rem}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--forest-deep)}
.brand img{width:52px;height:52px;border-radius:8px}
.brand-name{display:none;font-family:var(--serif);font-weight:700;font-size:1.3rem;line-height:1.1}
.header-actions{display:flex;align-items:center;gap:.6rem}
.menu-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.4rem .9rem;background:transparent;border:2px solid var(--forest);border-radius:999px;color:var(--forest-deep);font:700 1.05rem var(--sans);cursor:pointer}
.menu-icon,.menu-icon::before,.menu-icon::after{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;position:relative;content:""}
.menu-icon::before{position:absolute;top:-6px}
.menu-icon::after{position:absolute;top:6px}
.site-nav{display:none;flex-basis:100%;padding-bottom:.75rem}
.site-nav.is-open{display:block}
.site-nav ul{list-style:none;margin:0;padding:0}
.site-nav a{display:block;padding:.85rem .25rem;font-size:1.25rem;font-weight:500;text-decoration:none;color:var(--ink);border-top:1px solid var(--line)}
.site-nav a[aria-current="page"]{color:var(--forest);font-weight:700;box-shadow:inset 4px 0 0 var(--sage);padding-left:.9rem}
@media (min-width:920px){
  .brand-name{display:block}
  .header-row{flex-wrap:nowrap;gap:1.5rem}
  .menu-btn{display:none}
  .site-nav{display:block;flex-basis:auto;padding:0;margin-left:auto;order:2}
  .header-actions{order:3}
  .brand{order:1}
  .site-nav ul{display:flex;gap:.25rem}
  .site-nav a{border:0;padding:.55rem .85rem;font-size:1.1rem;border-radius:999px}
  .site-nav a:hover{background:var(--wash)}
  .site-nav a[aria-current="page"]{box-shadow:none;background:var(--wash);padding-left:.85rem}
}

/* Sections */
.section{padding-block:clamp(3rem,7vw,5.5rem)}
.section--wash{background:var(--wash)}
.section--forest{background:var(--forest-deep);color:#F1F5EA}
.section--forest h2,.section--forest h3{color:#fff}
.section--forest a:not(.btn){color:#fff}
.section-head{max-width:40rem;margin-bottom:2rem}

/* Hero */
.hero{background:var(--wash);padding-block:clamp(2.5rem,6vw,5rem)}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
.hero h1{margin-bottom:.35em}
.hero .btn-row{margin:1.75rem 0 1.25rem}
.hero-help{margin:0 0 1.5rem;font-size:1.1rem}
.hero-verse{border-left:4px solid var(--sage);padding-left:1rem;margin:0;max-width:32rem}
.hero-photo{width:min(100%,380px);aspect-ratio:4/5;justify-self:center;border-radius:999px 999px 22px 22px;overflow:hidden;background:var(--sage)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
@media (min-width:920px){
  .hero-grid{grid-template-columns:1.2fr .8fr;gap:4rem}
  .hero-photo{justify-self:end;width:100%;max-width:400px}
}

/* Vine list — programs hang from a single stem, like branches on a vine */
.vine{list-style:none;margin:0;padding:0 0 0 2.75rem;position:relative}
.vine::before{content:"";position:absolute;left:.85rem;top:.6rem;bottom:.6rem;width:3px;background:var(--sage);border-radius:3px}
.vine>li{position:relative;padding-bottom:2rem}
.vine>li:last-child{padding-bottom:0}
.vine>li::before{content:"";position:absolute;left:-2.75rem;top:.2rem;width:30px;height:30px;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232E5A2A' d='M20.5 3.5C11 3 4.5 8 4.5 15.2c0 1.5.3 2.8.9 3.9C3.9 20.3 3.2 21.6 3 22.5l1.6.3c.3-1 1-2.2 2.3-3.4 1.2.7 2.6 1 4.2 1C18 20.4 21 12 20.5 3.5z'/%3E%3C/svg%3E") center/22px no-repeat;border-radius:50%}
.section--wash .vine>li::before{background-color:var(--wash)}
.vine>li.is-planned::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237A4D12' stroke-width='1.8' stroke-dasharray='2.6 2.2' d='M20.5 3.5C11 3 4.5 8 4.5 15.2c0 1.5.3 2.8.9 3.9C3.9 20.3 3.2 21.6 3 22.5l1.6.3c.3-1 1-2.2 2.3-3.4 1.2.7 2.6 1 4.2 1C18 20.4 21 12 20.5 3.5z'/%3E%3C/svg%3E")}
.vine h3{margin-bottom:.3em}
.vine p{margin-bottom:.4em;max-width:44rem}
.status{display:inline-block;margin-left:.5rem;padding:.1rem .65rem;border:1.5px dashed var(--trunk);border-radius:999px;color:var(--trunk);font:700 .95rem var(--sans);vertical-align:.15em}

/* Two-column helpers */
.split{display:grid;gap:2.5rem}
@media (min-width:860px){.split{grid-template-columns:1fr 1fr;gap:4rem}.split--wide-left{grid-template-columns:1.25fr .75fr}}
.serve-list{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.serve-list li{padding:.15rem 0 .15rem 1.1rem;border-left:4px solid var(--sage);font-size:1.25rem;line-height:1.35}

/* Founder */
.founder{display:grid;gap:1.75rem;align-items:center}
.founder img{width:180px;height:180px;border-radius:50%;object-fit:cover;background:var(--sage)}
.founder blockquote{margin:0}
.founder blockquote p{font-family:var(--serif);font-weight:500;font-style:italic;font-size:clamp(1.4rem,1.15rem + 1vw,1.85rem);line-height:1.35;color:var(--forest-deep)}
.founder .who{font-family:var(--sans);font-style:normal;font-size:1.05rem;color:var(--ink-soft)}
@media (min-width:760px){.founder{grid-template-columns:auto 1fr;gap:3rem}.founder img{width:230px;height:230px}}

/* Three ways to help */
.actions{display:grid;gap:1rem}
.action{padding:2rem 1.6rem;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}
.action h3{margin:0;font-size:2rem}
.action p{margin:0 0 1rem;flex:1}
.action--give{background:var(--trunk);color:#fff}
.action--give h3{color:#fff}
.action--volunteer{background:var(--forest);color:#fff}
.action--volunteer h3{color:#fff}
.action--help{background:var(--paper);border:2px solid var(--forest)}
@media (min-width:860px){.actions{grid-template-columns:repeat(3,1fr);gap:1.25rem}}

/* Interior pages */
.page-hero{background:var(--wash);padding-block:clamp(2.5rem,6vw,4.5rem)}
.page-hero h1{font-size:clamp(2.3rem,1.5rem + 3.6vw,3.8rem);margin-bottom:.3em}
.prose{max-width:44rem}
.prose h2{margin-top:1.8em}
.prose h2:first-child{margin-top:0}
.prose ul,.prose ol{padding-left:1.3rem;margin:0 0 1.2em}
.prose li{margin-bottom:.4em}
.prose blockquote{margin:1.5rem 0;padding:.25rem 0 .25rem 1.25rem;border-left:4px solid var(--sage)}
.callout{background:var(--wash);border-radius:16px;padding:1.4rem 1.5rem;margin:1.75rem 0}
.callout p:last-child{margin-bottom:0}
.facts{list-style:none;padding:0!important;margin:0 0 1.5rem}
.facts li{padding:.6rem 0;border-bottom:1px solid var(--line)}
.facts strong{display:block;font-size:1rem;color:var(--ink-soft);font-weight:700}
.steps{counter-reset:step;list-style:none;padding:0!important}
.steps li{counter-increment:step;position:relative;padding-left:3rem;margin-bottom:1.1rem}
.steps li::before{content:counter(step);position:absolute;left:0;top:-.05rem;width:2.1rem;height:2.1rem;border-radius:50%;background:var(--forest);color:#fff;font:700 1.1rem/2.1rem var(--sans);text-align:center}

/* Forms */
.form{display:grid;gap:1.15rem;max-width:40rem}
.field label,.field legend{display:block;font-weight:700;margin-bottom:.35rem;padding:0}
.field .hint{display:block;font-weight:400;color:var(--ink-soft);font-size:1rem}
.form input[type=text],.form input[type=email],.form input[type=tel],.form select,.form textarea{width:100%;min-height:52px;padding:.7rem .9rem;font:inherit;color:var(--ink);background:#fff;border:2px solid #7B8A72;border-radius:10px}
.form textarea{min-height:9rem;resize:vertical}
.form input:focus-visible,.form select:focus-visible,.form textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--focus)}
fieldset.field{border:0;margin:0;padding:0;min-width:0}
.checks{display:grid;gap:.2rem}
.checks label{display:flex;gap:.7rem;align-items:flex-start;font-weight:400;margin:0;padding:.45rem 0;min-height:44px}
.checks input{width:1.35rem;height:1.35rem;margin-top:.2rem;accent-color:var(--forest);flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin:0;font-weight:700}
.form-status.is-error{color:#9B1C1C}
.form-status.is-ok{color:var(--forest)}
.fine{font-size:1rem;color:var(--ink-soft)}
.embed-frame{width:100%;border:0;min-height:560px}

/* Footer */
.site-footer{background:var(--forest-deep);color:#E8EFDF;padding-top:3.5rem;font-size:1.05rem}
.site-footer a{color:#fff}
.footer-grid{display:grid;gap:2.25rem}
.footer-brand{font-family:var(--serif);font-weight:700;font-size:1.6rem;text-decoration:none}
.footer-h{font-family:var(--sans);font-size:1rem;font-weight:700;margin:0 0 .5rem;color:#C9DAB8;letter-spacing:.01em}
.footer-list{list-style:none;padding:0;margin:0 0 1.25rem}
.footer-list li{margin-bottom:.3rem}
.footer-list a{display:inline-block;padding:.2rem 0}
.footer-legal{color:#C9DAB8;font-size:1rem}
.footer-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 2rem;margin-top:2rem;padding-block:1.4rem;border-top:1px solid rgba(255,255,255,.18);font-size:1rem}
.footer-base p{margin:0}
@media (min-width:860px){.footer-grid{grid-template-columns:1.4fr .8fr 1fr;gap:4rem}}

@media print{.site-header,.site-footer,.skip-link{display:none}body{background:#fff}}
