/* Mark & Trina Ramsey Foundation — redesign
   Palette and type carried over from the original Strikingly site:
   accent teal #54A099, button teal #90C2BD, body #50555C, headings #222,
   Roboto Slab for display, Montserrat for text, Raleway for accents. */

:root {
  --teal: #54a099;
  --teal-dark: #3f837d;
  --teal-soft: #90c2bd;
  --ink: #222;
  --body: #50555c;
  --paper: #ffffff;
  --dark: #1d2b2a;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: montserrat, helvetica, arial, sans-serif;
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
  background: var(--paper);
}
img { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

/* ---------- nav ---------- */
#topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  background: rgba(20, 34, 33, .55);
  backdrop-filter: blur(6px);
  transition: background .3s;
}
#topnav.solid { background: rgba(20, 34, 33, .95); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: 'roboto slab', serif;
  font-size: 19px; letter-spacing: .5px;
}
.brand img { height: 46px; width: 46px; border-radius: 50%; }
#navlinks {
  display: flex; align-items: center; gap: 26px; list-style: none;
}
#navlinks a:not(.btn) {
  color: #fff; text-decoration: none;
  font-family: raleway, sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
#navlinks a:not(.btn):hover { border-bottom-color: var(--teal-soft); }
#navtoggle { display: none; background: none; border: 0; cursor: pointer; }
#navtoggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: raleway, sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 30px; border-radius: 100px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: all .2s;
}
.btn-lg { padding: 15px 40px; font-size: 15px; }
.btn-solid { background: var(--teal-soft); color: #fff; }
.btn-solid:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.3); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal-soft); }
.btn-outline:hover { background: var(--teal-soft); color: #fff; }
.nav-donate { padding: 9px 24px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(10, 30, 28, .45), rgba(10, 30, 28, .55));
}
.hero-inner { position: relative; max-width: 900px; padding: 120px 24px 80px; }
.hero h1 {
  font-family: 'roboto slab', serif; font-weight: 300;
  color: #fff; font-size: clamp(38px, 6vw, 64px); line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero-sub {
  color: #f2f7f6; font-size: clamp(17px, 2.2vw, 21px);
  max-width: 640px; margin: 28px auto 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 34px; text-decoration: none; opacity: .8;
  animation: bob 2.2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- sections ---------- */
.section { padding: 90px 24px; }
.section-white { background: var(--paper); }
.section-dark { background: var(--dark); }
.wrap { max-width: 1080px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }

.section-title {
  font-family: 'roboto slab', serif; font-weight: 300;
  font-size: clamp(30px, 4vw, 42px);
  text-align: center;
}
.section-title.teal { color: var(--teal); }
.section-title.light { color: #fff; }
.section-sub {
  text-align: center; font-style: italic;
  margin-top: 10px; font-size: 18px;
}
.section-sub.light { color: #e8f2f0; }
.rule {
  width: 64px; height: 3px; background: var(--teal-soft);
  margin: 26px auto 46px; border-radius: 2px;
}
.rule-light { background: rgba(255,255,255,.75); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols-center { align-items: center; }
.col p + p { margin-top: 18px; }
.rounded-img { border-radius: 14px; box-shadow: var(--shadow); display: block; }

/* ---------- promise card ---------- */
.promise-card {
  background: linear-gradient(160deg, #f4faf9, #e7f3f1);
  border: 1px solid #d5e9e6;
  border-radius: 16px;
  padding: 36px 34px;
  text-align: center;
  box-shadow: var(--shadow);
}
.promise-100 {
  font-family: 'roboto slab', serif; font-weight: 700;
  font-size: 72px; color: var(--teal); line-height: 1;
}
.promise-lead { font-size: 19px; color: var(--ink); margin: 12px 0 16px; }
.promise-card p + p { margin-top: 14px; }
.promise-tag {
  font-family: raleway, sans-serif; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal-dark); font-size: 13px;
}

/* ---------- photo quote band ---------- */
.band {
  background-size: cover; background-position: center;
  position: relative; padding: 110px 24px; text-align: center;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(12, 34, 32, .45); }
.band blockquote {
  position: relative; color: #fff;
  font-family: 'roboto slab', serif; font-weight: 300; font-style: italic;
  font-size: clamp(20px, 3vw, 30px); line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  max-width: 860px; margin: 0 auto;
}

/* ---------- band sections (donate / journey) ---------- */
.band-section {
  background-size: cover; background-position: center;
  position: relative;
}
.band-section::before { content: ""; position: absolute; inset: 0; background: rgba(12, 36, 34, .55); }
.band-section .wrap { position: relative; }

/* ---------- donate ---------- */
.donate-card {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  max-width: 720px; margin: 0 auto;
  padding: 40px 42px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  text-align: center;
}
.donate-lead { font-size: 18px; color: var(--ink); }
.donate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 30px 0 26px;
}
.donate-amt {
  font-family: 'roboto slab', serif; font-size: 26px; font-weight: 700;
  color: var(--teal-dark);
  background: #f1f8f7;
  border: 2px solid var(--teal-soft);
  border-radius: 14px;
  padding: 18px 0;
  cursor: pointer;
  transition: all .15s;
}
.donate-amt:hover { background: var(--teal-soft); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(84,160,153,.4); }
.donate-custom { font-size: 20px; }
.donate-note { margin-top: 14px; font-size: 15px; }
.donate-note.small { font-size: 13px; color: #7a8087; }

/* ---------- bios ---------- */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; }
.bio-card {
  background: #fafcfb; border: 1px solid #e4eeec; border-radius: 16px;
  padding: 34px; text-align: center; box-shadow: var(--shadow);
}
.bio-card img {
  width: 150px; height: 150px; object-fit: cover; object-position: top;
  border-radius: 50%; border: 4px solid var(--teal-soft); margin-bottom: 18px;
}
.bio-card h3 { font-family: 'roboto slab', serif; font-weight: 700; color: var(--ink); font-size: 24px; }
.bio-role {
  font-family: raleway, sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; font-size: 12px; color: var(--teal); margin: 6px 0 16px;
}
.bio-card > p:last-child { text-align: left; font-size: 15.5px; }

/* ---------- journey ---------- */
.journey-intro { max-width: 820px; margin: 0 auto 42px; text-align: center; color: #eef5f4; }
.journey-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 42px;
}
.journey-grid img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .25s;
}
.journey-grid img:hover { transform: scale(1.035); }

/* ---------- FAQ ---------- */
#faqs details {
  border: 1px solid #e2ecea; border-radius: 12px;
  margin-bottom: 14px; background: #fbfdfd;
  overflow: hidden;
}
#faqs summary {
  cursor: pointer; list-style: none;
  padding: 18px 48px 18px 22px;
  font-family: raleway, sans-serif; font-weight: 700; font-size: 16px;
  color: var(--ink);
  position: relative;
}
#faqs summary::-webkit-details-marker { display: none; }
#faqs summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--teal); font-weight: 400;
  transition: transform .2s;
}
#faqs details[open] summary::after { content: "–"; }
#faqs details[open] summary { color: var(--teal-dark); }
#faqs details p { padding: 0 22px 20px; }

/* ---------- contact / footer ---------- */
.section-dark .section-sub { color: #cfe0dd; }
.contact-line { margin: 10px 0 22px; }
.contact-social a { color: #9fd0ca; font-family: raleway, sans-serif; font-weight: 700; letter-spacing: 1px; }
footer {
  background: #14211f; color: #9fb3af;
  text-align: center; padding: 40px 24px; font-size: 14px;
}
.foot-logo { height: 54px; margin-bottom: 14px; }
.foot-links { margin-top: 8px; }
footer a { color: #9fd0ca; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cols, .bio-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .donate-grid { grid-template-columns: repeat(2, 1fr); }
  .brand span { font-size: 15px; }
}
@media (max-width: 760px) {
  #navtoggle { display: block; }
  #navlinks {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(20, 34, 33, .97);
    padding: 12px 0 18px;
  }
  #navlinks.open { display: flex; }
  #navlinks li { width: 100%; text-align: center; padding: 10px 0; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid img { height: 200px; }
  .section { padding: 64px 18px; }
  .donate-card { padding: 30px 22px; }
}
