/* Ashley Kim — missionary site (implemented from Ashley Kim Site v6.dc.html) */

:root {
  --cream: #f7f4e9;
  --ink: #3b4237;
  --soft: #5c6355;
  --body-ink: #4c5347;
  --sage: #7e8464;
  --sage-dark: #62684d;
  --sage-band: #c0c391;
  --sage-band-ink: #464c3c;
  --olive: #565b43;
  --yellow: #f6d179;
  --yellow-shadow: #d9b45e;
  --yellow-ink: #5a4d28;
  --blue-hero: #cedfe5;
  --blue-band: #dde9ee;
  --blue-ink: #4d5a75;
  --periwinkle: #7d97c4;
  --pink: #f4a9a3;
  --green-tint: #e3e5cb;
  --sand: #eed89c;
  --card-line: #e3e0cf;
  --muted: #8b9280;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--sage-dark); }

img { display: block; }

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 500; }
.script { font-family: 'Caveat', cursive; }

@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
@keyframes sunSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Buttons, badges, shared bits ────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sage { background: var(--sage); color: var(--cream); box-shadow: 0 3px 0 var(--sage-dark); }
.btn--sage:hover { color: var(--cream); }
.btn--white { background: #ffffff; color: var(--ink); border: 1.5px solid var(--sage-band); }
.btn--white:hover { color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--yellow-ink); padding: 12px 26px; font-size: 14px; box-shadow: 0 2px 0 var(--yellow-shadow); }
.btn--yellow:hover { color: var(--yellow-ink); }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin: 0 0 12px;
}
.badge--yellow { background: var(--yellow); color: var(--yellow-ink); }
.badge--blue { background: var(--periwinkle); color: #ffffff; }
.badge--pink { background: var(--pink); color: #5d332f; }
.badge--green { background: var(--green-tint); color: var(--body-ink); }
.badge--bluegrey { background: var(--blue-band); color: var(--body-ink); }
.badge--sand { background: var(--sand); color: var(--body-ink); }
.badge--peri { background: var(--periwinkle); color: #ffffff; }

.inline-link { font-weight: 700; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

.wave { display: block; width: 100%; height: 60px; }
.wave--flip { background: var(--cream); }
.wave--blue { background: var(--cream); }

.polaroid {
  background: #ffffff;
  padding: 14px 14px 10px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(59, 66, 55, 0.14);
  transform: rotate(var(--tilt, 0deg));
}
.polaroid img { width: 100%; height: 400px; object-fit: cover; }
.polaroid-note { font-size: 24px; text-align: center; color: var(--soft); margin: 10px 0 4px; }

/* ── Nav ─────────────────────────────────────────────────────────── */

#nav {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(247, 244, 233, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px dashed var(--sage-band);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand span { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

.nav-link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s;
}
.nav-link:hover { background: #ecefdd; color: var(--ink); }
.nav-link.active { background: var(--sage-band); font-weight: 800; }

.nav-cta {
  margin-left: 10px;
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 0 var(--yellow-shadow);
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-2px); color: var(--yellow-ink); }

.nav-burger { display: none; }

/* ── Pages ───────────────────────────────────────────────────────── */

main { flex: 1; }

.page { display: none; }
.page.active { display: block; }
.page--fade.active { animation: pageIn 0.6s ease both; }

.page-head { max-width: 680px; margin: 0 auto; padding: 70px 32px 50px; text-align: center; }
.page-hi { font-size: 30px; color: var(--periwinkle); margin: 0 0 8px; }
.page-head h1 { font-size: clamp(34px, 5.5vw, 52px); margin: 0 0 16px; line-height: 1.1; }
.page-lede { font-size: 16.5px; color: var(--soft); line-height: 1.8; margin: 0; }

/* ── Hero ────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; background: var(--blue-hero); padding: 90px 32px 0; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,244,233,0.88) 0%, rgba(247,244,233,0.72) 46%, rgba(247,244,233,0.25) 78%, rgba(247,244,233,0) 100%);
}

.hero-sun { position: absolute; top: 52px; right: 8%; width: 110px; height: 110px; animation: sunSpin 60s linear infinite; }
.hero-cloud--1 { position: absolute; top: 120px; left: 6%; width: 120px; animation: floaty 9s ease-in-out infinite; }
.hero-cloud--2 { position: absolute; top: 200px; right: 22%; width: 90px; animation: floaty 12s 1.5s ease-in-out infinite; }

.hero-content { position: relative; max-width: 760px; margin: 0 auto; text-align: center; padding-bottom: 40px; }
.hero-hi { font-size: 30px; color: var(--sage); margin: 0 0 10px; animation: heroIn 0.9s 0.05s ease both; }
.hero-content h1 {
  font-size: clamp(44px, 7.5vw, 80px);
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.05;
  animation: heroIn 0.9s 0.2s ease both;
}
.hero-content h1 .accent { font-style: italic; color: var(--sage); }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--soft);
  max-width: 480px;
  margin: 0 auto 30px;
  animation: heroIn 0.9s 0.35s ease both;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: heroIn 0.9s 0.5s ease both; }
.hero-wave { display: block; position: relative; width: 100%; height: 70px; margin-top: 170px; }

/* ── Home: intro ─────────────────────────────────────────────────── */

.intro {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 32px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px;
  align-items: center;
}

.intro-photo { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.intro-flower { position: absolute; top: -34px; left: -30px; width: 70px; z-index: 2; animation: floaty2 7s ease-in-out infinite; }

.intro-hi { font-size: 28px; color: var(--periwinkle); margin: 0 0 8px; }
.intro h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 18px; line-height: 1.15; }
.intro-p { font-size: 16.5px; line-height: 1.85; color: var(--soft); margin: 0 0 14px; }
.intro-p--last { margin-bottom: 24px; }

/* ── Home: verse strip ───────────────────────────────────────────── */

.verse-strip { text-align: center; padding: 30px 32px 0; }
.verse-strip .script {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--sage);
  margin: 0;
  transform: rotate(-1.5deg);
}
.verse-strip .script .ref { font-size: 20px; color: var(--muted); }
.verse-strip--about { padding: 40px 32px 90px; }
.verse-strip--about .script { font-size: clamp(26px, 3.6vw, 36px); transform: rotate(-1deg); }

/* ── Home: vision band ───────────────────────────────────────────── */

.vision { position: relative; margin-top: 60px; }
.vision-band { position: relative; background: var(--sage-band); padding: 50px 32px 70px; overflow: hidden; }
.vision-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(200px, 1fr);
  gap: 40px;
  align-items: center;
}
.vision-text { text-align: left; position: relative; padding-bottom: 20px; }
.vision-hi { font-size: 28px; color: var(--olive); margin: 0 0 8px; }
.vision-text h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 22px; }
.vision-text p:not(.script) { font-size: 16.5px; color: var(--sage-band-ink); line-height: 1.85; margin: 0 0 18px; }
.vision-verse { font-size: clamp(24px, 3.2vw, 30px); color: var(--olive); margin: 26px 0 0 !important; transform: rotate(-1deg); }
.vision-art { width: 100%; max-width: 340px; justify-self: end; align-self: center; pointer-events: none; }

/* ── Home: movecards ─────────────────────────────────────────────── */

.movecards { position: relative; margin-top: 70px; }
.movecards-band { background: var(--blue-band); padding: 70px 32px 80px; }
.movecards-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.movecard { display: block; color: var(--ink); text-align: center; transition: transform 0.25s; }
.movecard:hover { transform: translateY(-6px); color: var(--ink); }
.movecard img { width: 100%; max-width: 300px; margin: 0 auto 12px; pointer-events: none; border-radius: 18px; }
.movecard-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--yellow-ink);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 2px 0 var(--yellow-shadow);
  margin-bottom: 14px;
}
.movecard p { font-size: 15.5px; line-height: 1.7; color: var(--blue-ink); margin: 0; }

/* ── Home: walk with me ──────────────────────────────────────────── */

.walk { max-width: 680px; margin: 0 auto; padding: 70px 32px 100px; text-align: center; }
.walk-art { width: min(460px, 90%); margin: 0 auto 8px; pointer-events: none; }
.walk h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
.walk p { font-size: 16.5px; line-height: 1.8; color: var(--soft); margin: 0 0 30px; }

/* ── Email subscribe forms ───────────────────────────────────────── */

.email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.email-form input {
  width: min(320px, 100%);
  padding: 13px 20px;
  font: 600 15px 'Nunito Sans', sans-serif;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid var(--sage-band);
  border-radius: 999px;
  outline: none;
}
.email-form input:focus { border-color: var(--sage); }
.email-form input::placeholder { color: var(--muted); font-weight: 400; }
.email-form button { border: 0; cursor: pointer; font-family: 'Nunito Sans', sans-serif; }
.email-form button:disabled { opacity: 0.5; cursor: default; }
/* High-specificity: section rules like `.subscribe-band p` must not
 * re-apply max-width/auto margins — on wide screens the auto margins
 * absorb the flex line's free space and shove the input to the left. */
.email-form p.email-msg {
  flex-basis: 100%;
  width: 100%;
  max-width: none;
  font-size: 22px;
  color: var(--sage);
  margin: 6px 0 0;
  min-height: 26px;
}

/* ── About ───────────────────────────────────────────────────────── */

.page[data-page="about"] .page-head { padding-bottom: 30px; }
.page-head h1 { margin-bottom: 18px; }

.about-photo { max-width: 720px; margin: 0 auto; padding: 0 32px 30px; }
.about-photo .polaroid-note { font-size: 23px; }

.about-body {
  max-width: 660px;
  margin: 0 auto;
  padding: 20px 32px 60px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--body-ink);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-body > p { margin: 0; }
.about-body h2 { font-size: 24px; font-weight: 600; margin: 16px 0 10px; }
.about-soon { margin: 0 0 14px; }

.about-quote-card {
  background: var(--blue-band);
  border-radius: 20px;
  padding: 30px 34px;
  text-align: center;
  transform: rotate(-0.5deg);
}
.about-quote-card .script {
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.5;
  color: #46536e;
  margin: 0;
}

/* ── About: story band + chapters ────────────────────────────────── */

.story { position: relative; }
.story-band { background: var(--sage-band); padding: 50px 32px 90px; }
.story-head { max-width: 680px; margin: 0 auto 70px; text-align: center; }
.story-hi { font-size: 28px; color: var(--sage); margin: 0 0 8px; }
.story-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0; }

.chapters { max-width: 960px; margin: 0 auto; position: relative; }

/* The dotted path stops above the "today" note so the arrow never
 * overlaps the text. */
.journey-path {
  position: absolute;
  inset: 0 0 120px 0;
  width: 100%;
  height: calc(100% - 120px);
  pointer-events: none;
  overflow: visible;
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 0 100px;
}
.chapter-img { grid-column: 1; grid-row: 1; }
.chapter-text { grid-column: 2; grid-row: 1; text-align: left; }
.chapter--flip .chapter-img { grid-column: 2; }
.chapter--flip .chapter-text { grid-column: 1; text-align: right; }

.polaroid--chapter { padding: 12px 12px 4px; box-shadow: 0 12px 28px rgba(59, 66, 55, 0.16); }
.polaroid--chapter img { height: 260px; }
.polaroid--chapter .polaroid-note { font-size: 22px; margin: 10px 0 2px; }

.chapter-text h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 0 0 12px; line-height: 1.3; }
.chapter-text p:not(.badge) { font-size: 15.5px; line-height: 1.8; color: var(--body-ink); margin: 0; }
.chapter-text .badge { letter-spacing: 0.12em; }

.today { position: relative; text-align: center; padding-top: 80px; }
.today .script { font-size: 34px; color: var(--sage); margin: 0; }

/* ── Updates ─────────────────────────────────────────────────────── */

.updates-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px 60px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.update-card {
  background: #ffffff;
  border: 1.5px solid var(--card-line);
  border-radius: 22px;
  padding: 24px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s;
  box-shadow: 0 8px 22px rgba(59, 66, 55, 0.07);
}
.update-card:hover { transform: translateY(-4px) rotate(0deg); }

.update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}
.update-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.update-card h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; line-height: 1.25; }
.update-card h3 a { color: inherit; }
.update-card h3 a:hover { color: var(--sage-dark); }
.update-text { font-size: 15px; line-height: 1.75; color: var(--soft); margin: 0; }
.update-card .read-more { display: inline-block; margin-top: 14px; }

.subscribe-band-wrap { position: relative; }
.subscribe-band { position: relative; background: var(--blue-hero); padding: 50px 32px 80px; text-align: center; }
.subscribe-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.subscribe-band p { color: var(--blue-ink); font-size: 16px; line-height: 1.75; margin: 0 0 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Single letter page ──────────────────────────────────────────── */

.letter-wrap { max-width: 680px; margin: 0 auto; padding: 60px 32px 100px; }
.letter-back { font-size: 14.5px; font-weight: 700; }
.letter-wrap > .letter-back { display: block; margin-bottom: 6px; }
.letter-wrap .badge { margin: 30px 0 12px; }
.letter-wrap h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 24px; line-height: 1.15; }
.letter-photo {
  background: #ffffff;
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(59, 66, 55, 0.14);
  transform: rotate(-0.8deg);
  margin: 6px 0 30px;
}
.letter-photo img { width: 100%; max-height: 440px; object-fit: cover; }
.letter-body p { font-size: 16.5px; line-height: 1.9; color: var(--body-ink); margin: 0 0 22px; }
.letter-body h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 600; margin: 34px 0 14px; line-height: 1.25; }
.letter-fig {
  margin: 30px 0;
  background: #ffffff;
  padding: 12px 12px 4px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(59, 66, 55, 0.13);
  transform: rotate(0.6deg);
}
.letter-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.letter-fig figcaption { font-size: 21px; text-align: center; color: var(--soft); margin: 8px 0 4px; }
.letter-quote {
  background: var(--blue-band);
  border-radius: 18px;
  padding: 24px 28px;
  text-align: center;
  transform: rotate(-0.5deg);
  margin: 30px 0;
}
.letter-quote .script { font-size: clamp(22px, 3vw, 27px); line-height: 1.5; color: #46536e; margin: 0; }
.letter-div { border: 0; border-top: 1.5px dashed var(--sage-band); margin: 32px 0; }
.letter-foot { border-top: 1.5px dashed var(--sage-band); margin-top: 36px; padding-top: 26px; }

/* ── Gallery ─────────────────────────────────────────────────────── */

.gallery-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 110px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
  align-items: start;
}

.gallery-tile {
  background: #ffffff;
  padding: 10px 10px 2px;
  box-shadow: 0 8px 20px rgba(59, 66, 55, 0.12);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s;
  cursor: pointer;
}
.gallery-tile:hover { transform: rotate(0deg) translateY(-6px); }
.gallery-tile img { width: 100%; height: var(--h, 220px); object-fit: cover; }
.gallery-tile .script { font-size: 20px; text-align: center; color: var(--soft); margin: 8px 0 2px; min-height: 14px; }

/* ── Gallery lightbox ────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(43, 47, 38, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 86vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(247, 244, 233, 0.14);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox button:hover { background: rgba(247, 244, 233, 0.28); }

.lb-close { top: 20px; right: 20px; font-size: 17px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 244, 233, 0.75);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0;
}

@media (max-width: 760px) {
  .lightbox img { max-width: 94vw; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ── Partner ─────────────────────────────────────────────────────── */

.partner-art { width: min(270px, 58%); margin: 0 auto 4px; pointer-events: none; }

.goals {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.goal-card { border-radius: 22px; padding: 34px; transform: rotate(var(--tilt, 0deg)); }
.goal-card--green { background: var(--green-tint); }
.goal-card--blue { background: var(--blue-band); }
.goal-card .badge { margin-bottom: 14px; }
.goal-amount { font-family: 'Fraunces', serif; font-size: 50px; font-weight: 500; margin: 0 0 16px; line-height: 1; }

.goal-track { height: 12px; background: #ffffff; border-radius: 999px; overflow: hidden; }
.goal-track--green { border: 1.5px solid var(--sage-band); }
.goal-track--blue { border: 1.5px solid #b9cceb; }
.goal-bar { height: 100%; width: 0; border-radius: 999px; transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.goal-bar--sage { background: var(--sage); }
.goal-bar--peri { background: var(--periwinkle); }
.goal-caption { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

.partner-actions {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 70px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.partner-actions .btn { padding: 14px 30px; }

.prayer-band-wrap { position: relative; }
.prayer-band { background: var(--sage-band); padding: 50px 32px 80px; text-align: center; }
.prayer-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.prayer-band p { color: var(--body-ink); font-size: 16px; line-height: 1.75; margin: 0 0 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.prayer-band .btn--white { padding: 13px 28px; }

/* ── Footer ──────────────────────────────────────────────────────── */

footer { background: var(--olive); padding: 56px 36px 40px; }

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
}

.footer-name { font-family: 'Fraunces', serif; font-size: 22px; color: var(--cream); margin: 0 0 10px; }
.footer-verse { font-size: 22px; color: var(--sage-band); line-height: 1.5; margin: 0; max-width: 300px; }

.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a7ab84;
  margin: 0 0 4px;
}
.footer-col a { color: #dfe1cf; font-size: 14px; }
.footer-col a:hover { color: #ffffff; }

/* ── Visual edit mode (inside the admin iframe) ──────────────────── */

.edit-mode [data-c] {
  outline: 1.5px dashed rgba(126, 132, 100, 0.45);
  outline-offset: 3px;
  cursor: pointer;
  border-radius: 2px;
}
.edit-mode [data-c]:hover {
  outline: 2px solid var(--sage);
  background: rgba(246, 209, 121, 0.25);
}

/* Replaceable photos: blue outline to read as "image", not text */
.edit-mode [data-i] {
  outline: 2px dashed rgba(125, 151, 196, 0.65);
  outline-offset: -4px;
  cursor: pointer;
}
.edit-mode [data-i]:hover { outline: 3px solid var(--periwinkle); }
/* Let clicks on the hero reach the background image */
.edit-mode .hero-fade { pointer-events: none; }

.edit-hint {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  font: 700 13.5px 'Nunito Sans', sans-serif;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(59, 66, 55, 0.3);
  pointer-events: none;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 760px) {
  #nav { padding: 12px 20px; }

  /* Hamburger replaces the inline links */
  .nav-burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
  }
  #nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  #nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links { display: none; }

  #nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 244, 233, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px 24px;
    border-bottom: 1.5px dashed var(--sage-band);
    box-shadow: 0 18px 28px rgba(59, 66, 55, 0.12);
  }
  #nav.menu-open .nav-link { font-size: 16.5px; padding: 11px 15px; }
  #nav.menu-open .nav-cta { margin: 12px 0 0 15px; }

  .hero { padding-top: 60px; }
  .hero-wave { margin-top: 110px; }
  .hero-sun { width: 76px; height: 76px; top: 30px; }

  .journey-path { display: none; }

  .chapter,
  .chapter--flip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 70px;
  }
  .chapter-img,
  .chapter--flip .chapter-img { grid-column: 1; grid-row: 1; max-width: 420px; margin: 0 auto; width: 100%; }
  .chapter-text,
  .chapter--flip .chapter-text { grid-column: 1; grid-row: 2; text-align: left; }

  .today { padding-top: 30px; }

  .vision-grid { grid-template-columns: 1fr; }
  .vision-art { justify-self: center; }
}
