/* =========================================================
   HEART & TREASURE — Website stylesheet  (v2 · image-forward)
   Source of truth: Heart & Treasure Brand Guide v1.1 (July 2026)
   Sky & Spring palette · Verdana/Calibri · minimal · mature glassmorphism
   ========================================================= */

:root {
  --sky:        #2E86DE;
  --deep-blue:  #164066;
  --ink:        #1F2A37;
  --spring:     #3FBF61;
  --mint:       #6FCF97;
  --deep-green: #0E3D1C;
  --scripture-attr: #27500A;

  --blue-tint:   #EAF3FC;
  --spring-tint: #E1F6E7;
  --mint-tint:   #EAF7EF;
  --gray-tint:   #F4F7FA;
  --pale-blue:   #B5D4F4;
  --white: #FFFFFF;

  --font-head: Verdana, Geneva, sans-serif;
  --font-body: Calibri, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Glass */
  --glass-bg:      rgba(255,255,255,0.62);
  --glass-bg-soft: rgba(255,255,255,0.42);
  --glass-brd:     rgba(255,255,255,0.55);
  --glass-blur:    saturate(160%) blur(22px);
  --glass-shadow:  0 20px 50px rgba(22,64,102,0.18);

  --radius: 20px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,.eyebrow,.btn,.nav-links a,.chip,.band-label,.brand,.stat-num {
  font-family: var(--font-head);
}
h1 { font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; }
h2 { font-weight: 700; color: var(--deep-blue); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 16px; }
h3 { font-weight: 700; color: var(--deep-blue); font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 1rem; }
a { color: var(--sky); text-decoration: none; }
a:hover { opacity: 0.85; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 14px;
}
.eyebrow.on-dark { color: #fff; opacity: 0.9; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.3rem); line-height: 1.55; }

/* ---------- Navigation (glass) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(22,64,102,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 15px 26px; }
.brand { font-weight: 700; font-size: 1.22rem; color: var(--deep-blue); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--sky); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--deep-blue); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--sky); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--deep-blue); border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 0.92rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-primary { background: var(--spring); color: var(--deep-green); box-shadow: 0 10px 24px rgba(63,191,97,0.4); }
.btn-blue { background: var(--sky); color: #fff; box-shadow: 0 10px 24px rgba(46,134,222,0.36); }
.btn-white { background: #fff; color: var(--deep-blue); box-shadow: 0 10px 30px rgba(0,0,0,0.14); }
.btn-glass {
  background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.26); }
.btn-ghost { background: transparent; color: var(--deep-blue); border-color: var(--pale-blue); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

/* ---------- Section rhythm ---------- */
section { padding: 96px 0; }
section.tight { padding: 66px 0; }
.tint-bg { background: var(--gray-tint); }
.blue-tint-bg { background: var(--blue-tint); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

.pill {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.05em; padding: 9px 18px; border-radius: 999px;
}
.pill-light { background: var(--blue-tint); color: var(--deep-blue); }
.pill-glass {
  background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- HERO (full-bleed image + glass) ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,31,54,0.72) 0%, rgba(11,31,54,0.34) 48%, rgba(11,31,54,0.12) 100%),
    linear-gradient(0deg, rgba(11,31,54,0.5), rgba(11,31,54,0.08) 40%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 90px; }
.hero-card { max-width: 640px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.hero .lede { max-width: 44ch; margin-bottom: 30px; color: rgba(255,255,255,0.95); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-verse { margin-top: 30px; font-family: var(--font-head); font-style: italic; color: #fff; opacity: 0.9; font-size: 0.98rem; }

/* Compact hero for inner pages */
.hero.mini { min-height: 56vh; }
.hero.mini h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }

/* ---------- Image band (full-bleed with glass overlay) ---------- */
.imgband {
  position: relative; padding: 120px 0;
  background-size: cover; background-position: center; color: #fff;
}
.imgband::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,54,0.66), rgba(11,31,54,0.2));
}
.imgband .wrap { position: relative; z-index: 2; }
.imgband h2 { color: #fff; }
.imgband .glass-panel {
  max-width: 560px; padding: 40px;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
}
.imgband .glass-panel h2 { color: #fff; }

/* ---------- Journey (image cards) ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.jcard {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 460px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  box-shadow: 0 18px 44px rgba(22,64,102,0.16);
  isolation: isolate;
}
.jcard::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(11,31,54,0.82) 0%, rgba(11,31,54,0.28) 55%, rgba(11,31,54,0.05) 100%);
}
.jcard .jinner {
  position: relative; z-index: 2; padding: 26px;
  color: #fff; width: 100%;
}
.jcard .jstep {
  display: inline-flex; align-items:center; justify-content:center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.jcard h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.jcard p { margin: 0; font-size: 0.98rem; color: rgba(255,255,255,0.94); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img, .media-frame {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(22,64,102,0.18);
}
.media-frame { aspect-ratio: 4/3; background-size: cover; background-position: center; }

/* Floating glass chip on media */
.media-wrap { position: relative; }
.media-wrap .float-glass {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd); border-radius: 16px;
  box-shadow: 0 12px 30px rgba(22,64,102,0.16);
  font-size: 0.92rem; color: var(--deep-blue);
}

/* ---------- Money Mirror glass UI ---------- */
.mirror-ui {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd); border-radius: var(--radius);
  box-shadow: var(--glass-shadow); padding: 30px;
}
.mirror-bar { height: 10px; background: rgba(46,134,222,0.15); border-radius: 999px; overflow: hidden; margin: 12px 0 22px; }
.mirror-bar > span { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--sky), var(--mint)); }
.mirror-q { background: rgba(255,255,255,0.75); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(22,64,102,0.08); font-size: 0.98rem; color: var(--ink); }
.mirror-q .opt { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 0.9rem; }
.mirror-q .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--sky); flex: none; }
.mirror-q .dot.on { background: var(--spring); border-color: var(--spring); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid #e7eef6; border-radius: var(--radius);
  padding: 30px; box-shadow: 0 10px 30px rgba(22,64,102,0.06);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--blue-tint); margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat-num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--sky); line-height: 1; }
.stat-lbl { font-size: 0.92rem; color: var(--deep-blue); margin-top: 8px; }

/* ---------- Box system ---------- */
.box { border-radius: var(--radius); padding: 26px 28px; margin: 20px 0; }
.box-scripture { background: var(--mint-tint); border: 1px solid var(--mint); }
.box-scripture .ref { color: var(--scripture-attr); font-family: var(--font-head); font-style: italic; font-size: 0.9rem; }
.box-heart { background: var(--blue-tint); border: 1px solid var(--sky); }
.box-discuss { background: var(--spring-tint); border: 1px solid var(--spring); }
.box .box-title { font-family: var(--font-head); font-weight: 700; color: var(--deep-blue); margin-bottom: 8px; }

/* ---------- Weeks (minimal list) ---------- */
.weeks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.week { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #e7eef6; border-radius: 16px; padding: 18px 20px; }
.week .wk-num { flex: none; font-family: var(--font-head); font-weight: 700; background: var(--sky); color: #fff; min-width: 62px; text-align: center; border-radius: 10px; padding: 8px 6px; font-size: 0.78rem; line-height: 1.2; }
.week h4 { font-family: var(--font-head); margin: 2px 0 4px; color: var(--deep-blue); font-size: 0.98rem; }
.week p { margin: 0; font-size: 0.92rem; }

/* ---------- Pull quote ---------- */
.pull { font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: clamp(1.4rem, 3.2vw, 2.1rem); text-align: center; max-width: 24ch; margin: 0 auto; line-height: 1.32; }

/* ---------- Audience table ---------- */
.tbl { width: 100%; border-collapse: collapse; margin-top: 26px; overflow: hidden; border-radius: var(--radius); box-shadow: 0 12px 34px rgba(22,64,102,0.10); }
.tbl th, .tbl td { text-align: left; padding: 17px 22px; font-size: 1rem; }
.tbl thead th { background: var(--sky); color: #fff; font-family: var(--font-head); }
.tbl tbody td:first-child { background: var(--blue-tint); font-family: var(--font-head); font-weight: 700; color: var(--deep-blue); }
.tbl tbody tr + tr td { border-top: 1px solid #e7eef6; }

/* ---------- CTA (image + glass) ---------- */
.cta-img {
  position: relative; padding: 130px 0; text-align: center; color: #fff;
  background-size: cover; background-position: center;
}
.cta-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,54,0.72), rgba(11,31,54,0.5)); }
.cta-img .wrap { position: relative; z-index: 2; }
.cta-img h2 { color: #fff; }
.cta-img p { max-width: 46ch; margin: 0 auto 28px; opacity: 0.95; }

/* ---------- Email capture (glass) ---------- */
.capture {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd); border-radius: var(--radius);
  box-shadow: var(--glass-shadow); padding: 44px;
}
.capture form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.capture input[type=email] { flex: 1 1 260px; font-family: var(--font-body); font-size: 1rem; padding: 15px 20px; border-radius: 999px; border: 2px solid #cfe0f2; background: rgba(255,255,255,0.85); color: var(--ink); }
.capture input[type=email]:focus { outline: none; border-color: var(--sky); }
.capture .form-note { font-size: 0.85rem; color: var(--deep-blue); margin-top: 12px; opacity: 0.8; }
.form-msg { margin-top: 14px; font-weight: 700; color: var(--deep-green); font-family: var(--font-head); }

/* ---------- Footer ---------- */
footer { background: var(--gray-tint); border-top: 1px solid #e2ebf4; padding: 54px 0 34px; font-size: 0.92rem; }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 34px; }
.foot-brand { font-family: var(--font-head); font-weight: 700; color: var(--deep-blue); font-size: 1.15rem; }
.foot-col h4 { font-family: var(--font-head); color: var(--deep-blue); margin: 0 0 12px; font-size: 0.9rem; }
.foot-col a { color: var(--deep-blue); display: block; margin-bottom: 8px; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #e2ebf4; color: var(--deep-blue); opacity: 0.75; font-size: 0.82rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .journey, .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .weeks, .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .nav-links {
    position: absolute; top: 64px; right: 0; left: 0; flex-direction: column; align-items: flex-start;
    background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: 20px 26px; gap: 16px; border-bottom: 1px solid #e7eef6; box-shadow: var(--glass-shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .imgband { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  section { padding: 64px 0; }
  .weeks, .stats, .grid-2 { grid-template-columns: 1fr; }
  .capture { padding: 26px; }
  .hero { min-height: 90vh; }
}
