/* Hopeafresh Foundation — "A bedrock for renewed hope" */
:root {
  --purple: #5b2a86;
  --purple-deep: #3d1c5c;
  --gold: #d4a017;
  --gold-soft: #f5e3ae;
  --teal: #1e8a7a;
  --ink: #2c2340;
  --ink-soft: #5a5468;
  --muted: #6b6480;
  --bg: #ffffff;
  --bg-soft: #faf7ff;
  --bg-warm: #fffaf0;
  --line: #e8e2f5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(61, 28, 92, 0.10);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; font-weight: bold; box-shadow: var(--shadow); }
.brand-name { font-family: var(--serif); font-size: 22px; color: var(--purple-deep); font-weight: bold; line-height: 1.2; }
.brand-tag { font-size: 12.5px; color: var(--muted); font-style: italic; }
nav.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px; padding: 8px 13px; border-radius: 8px; }
nav.main-nav a:hover, nav.main-nav a.active { background: var(--bg-soft); color: var(--purple); }

/* Hero */
.hero { position: relative; color: #fff; text-align: center; padding: 110px 24px 90px; background: linear-gradient(160deg, var(--purple-deep), var(--purple) 60%, #7a3fa0); overflow: hidden; }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(61,28,92,.82), rgba(91,42,134,.62)); }
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-eyebrow { display: inline-block; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(245,227,174,.5); padding: 6px 18px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-size: 46px; line-height: 1.2; margin-bottom: 16px; }
.hero p.lead { font-size: 20px; color: #f3ecff; max-width: 680px; margin: 0 auto 30px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 32px; border-radius: 999px; font-size: 16.5px; transition: transform .15s ease, box-shadow .15s ease; }
.btn-gold { background: var(--gold); color: var(--purple-deep); box-shadow: 0 8px 22px rgba(212,160,23,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,160,23,.45); }
.btn-outline { border: 2px solid #fff; color: #fff; margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn-purple:hover { transform: translateY(-2px); }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-soft); }
section.block.warm { background: var(--bg-warm); }
.kicker { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 10px; }
h2.section-title { font-family: var(--serif); font-size: 34px; color: var(--purple-deep); margin-bottom: 14px; line-height: 1.3; }
p.section-sub { color: var(--muted); font-size: 18px; max-width: 720px; margin-bottom: 34px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.card h3 { font-family: var(--serif); color: var(--purple-deep); font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #b98a0e); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 17px; }

/* Values pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pill { background: #fff; border: 1.5px solid var(--gold); color: var(--purple-deep); font-weight: 600; padding: 9px 20px; border-radius: 999px; font-size: 15.5px; }

/* Story */
.story-body { font-family: var(--serif); font-size: 19px; line-height: 1.9; color: #3a3350; }
.story-body p { margin-bottom: 1.3em; }
.pull-quote { border-left: 5px solid var(--gold); background: var(--bg-warm); padding: 26px 30px; border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--purple-deep); margin: 34px 0; }

/* Pathway steps */
.pathway { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0; }
.pathway .pstep { background: var(--purple); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 999px; font-size: 15px; letter-spacing: 1px; }
.pathway .parrow { color: var(--gold); font-weight: 900; font-size: 20px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); color: #fff; text-align: center; padding: 70px 24px; border-radius: 22px; margin: 20px 0 0; }
.cta-band h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: #e9ddfb; max-width: 640px; margin: 0 auto 28px; font-size: 18px; }

/* Footer */
footer.site-footer { background: var(--purple-deep); color: #cfc2e8; padding: 54px 0 30px; margin-top: 0; }
footer.site-footer .wrap { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
footer.site-footer h4 { color: #fff; font-family: var(--serif); margin-bottom: 12px; font-size: 18px; }
footer.site-footer a { color: var(--gold-soft); text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
footer.site-footer p, footer.site-footer li { font-size: 15px; list-style: none; margin-bottom: 8px; }
.footer-bottom { text-align: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13.5px; color: #a99ac9; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); max-width: 640px; }
.form-card label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; font-family: var(--font); }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--purple); }
.form-card button { margin-top: 22px; }

.note-box { background: #fff8e6; border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; font-size: 15.5px; color: #6b5a1e; }

@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .hero { padding: 80px 20px 64px; }
  nav.main-nav { gap: 0; }
  nav.main-nav a { padding: 7px 9px; font-size: 14px; }
  section.block { padding: 52px 0; }
}

/* Founder feature (homepage) */
.founder-feature { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.founder-photo { border-radius: var(--radius); overflow: hidden; border: 5px solid var(--gold-soft); box-shadow: var(--shadow); }
.founder-photo img { display: block; width: 100%; }
.founder-caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; font-style: italic; }
@media (max-width: 720px) {
  .founder-feature { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
}

/* Shop */
.shop-cat { font-family: var(--serif); font-size: 28px; color: var(--purple-deep); margin: 48px 0 6px; }
.shop-cat-desc { color: var(--muted); margin-bottom: 22px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.shop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.shop-card h3 { font-size: 17px; color: var(--purple-deep); margin-bottom: 8px; line-height: 1.4; }
.shop-price { font-size: 22px; font-weight: 800; color: var(--purple); margin-bottom: 14px; }
.shop-card .btn-sm { padding: 11px 22px; font-size: 15px; text-align: center; }
.details-link { margin-top: 10px; font-size: 14px; text-align: center; }
.pay-banner { background: var(--bg-warm); border: 2px solid var(--gold-soft); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 10px; }
.pay-banner h3 { font-family: var(--serif); color: var(--purple-deep); margin-bottom: 10px; }
.pay-banner ol { margin-left: 20px; color: var(--ink); }
.pay-banner li { margin-bottom: 8px; }

/* ---- Attractive shop cards: picture + intro + price + button ---- */
.shop-img { margin: -22px -22px 16px -22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg-warm); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-desc { font-size: 14.5px; color: var(--ink-soft, #5a5468); line-height: 1.6; margin-bottom: 12px; flex-grow: 1; }
.shop-card { transition: transform .2s ease, box-shadow .2s ease; }
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(74,44,120,.16); }
.shop-card .btn-sm { margin-top: 4px; }
.details-link { font-size: 12.5px; color: var(--ink-soft, #8a8296); text-align: center; margin-top: 8px; }
.teach-part { display: inline-block; background: var(--gold); color: #3a2b00; font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin: 14px 20px 0; }
.shop-advert { margin: 26px 0 6px; display: flex; justify-content: center; }
.shop-advert-card { max-width: 420px; width: 100%; }
.shop-advert-card video { aspect-ratio: 9/16; max-height: 560px; }

/* ---- Social links in footer ---- */
.social-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.social-links a { color: var(--gold); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.social-links a:hover { border-bottom-color: var(--gold); }
