/* Grateful Mind Foundation — site package, Nov 7, 2026
   Plain CSS, no build step. Warm, clean, mobile-first. */

:root {
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #2e2a26;
  --soft-ink: #5c554c;
  --gold: #d97706;
  --gold-deep: #b45309;
  --honey: #f5c542;
  --line: #e7ddcb;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--gold-deep); }

img, video { max-width: 100%; height: auto; display: block; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 14px 18px 10px;
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.wordmark span { color: var(--gold); }
.main-nav {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 18px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.main-nav a {
  color: var(--soft-ink);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 4px 2px;
}
.main-nav a:hover, .main-nav a:focus { color: var(--gold-deep); text-decoration: underline; }

/* ---------- Layout ---------- */
.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 26px 18px 10px;
}
.narrow { max-width: 720px; }

section { margin: 0 0 34px; }

.hero { text-align: center; }
.hero h1 { margin-top: 18px; }
.thesis {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-deep);
  margin: 6px 0 4px;
}
.closing-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin-top: 12px;
}

.video-frame {
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(46, 42, 38, 0.18);
  background: #000;
}
.video-frame video { width: 100%; }

/* ---------- Cards / doors ---------- */
.doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .doors { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h2 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 6px;
}
.button:hover, .button:focus { background: var(--gold-deep); }
.button.secondary {
  background: var(--paper);
  color: var(--gold-deep);
  border: 2px solid var(--gold);
}

/* ---------- Book ---------- */
.book-flex {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .book-flex { flex-direction: row; text-align: left; align-items: flex-start; }
}
.book-cover {
  width: 240px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(46, 42, 38, 0.22);
}
.book-cover-link { display: inline-block; }

/* ---------- Read-aloud players ---------- */
.audio-box { margin-top: 18px; }
.audio-box video { width: 100%; border-radius: 8px; display: block; box-shadow: 0 8px 24px rgba(46, 42, 38, 0.22); }

/* ---------- Song (home) ---------- */
.song { text-align: center; }
.song-bear { width: 300px; max-width: 82%; margin-bottom: 4px; }

/* ---------- Books (home page pair) ---------- */
.books .card { text-align: center; }
.books .book-cover { width: 190px; margin-bottom: 14px; }

/* ---------- Steps (movement) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.step .num {
  display: inline-block;
  background: var(--honey);
  color: var(--ink);
  font-weight: bold;
  width: 34px; height: 34px;
  line-height: 34px;
  border-radius: 50%;
  margin-bottom: 8px;
}

/* ---------- Donate tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}
@media (min-width: 720px) {
  .tiers { grid-template-columns: 1fr 1fr; }
}
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.tier .amount {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: var(--gold-deep);
}
.tier .name { font-weight: 600; }

/* Marked placeholder boxes (PayPal button, Thor audio) */
.placeholder-box {
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  background: #fff8e6;
  padding: 20px;
  text-align: center;
  color: var(--soft-ink);
  margin: 20px 0;
}

/* ---------- People lists ---------- */
.people { list-style: none; padding: 0; margin: 0 0 1em; }
.people li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: none; }
.people .role { color: var(--soft-ink); }

/* ---------- People (About) ---------- */
.person { margin: 0 0 30px; }
.person-photo { width: 132px; border-radius: var(--radius); margin-bottom: 10px; }
.person h3 .role { color: var(--soft-ink); font-weight: normal; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  margin-top: 30px;
}
.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 22px 18px 30px;
  color: var(--soft-ink);
  font-size: 0.92rem;
  text-align: center;
}
.footer-inner p { margin: 0 0 6px; }
