/* Prayer request page (loaded only there), on top of site.css and pioneer.css. Calm, warm, unhurried. */
.prayer-hero { position: relative; color: #fff; padding: 5.5rem 0 11rem; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% 20%, rgba(255, 214, 160, .28), transparent 60%),
    linear-gradient(110deg, color-mix(in srgb, var(--deep) 94%, transparent) 35%, color-mix(in srgb, var(--brand) 60%, transparent)),
    var(--hero) center/cover; }
.prayer-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, rgba(0,0,0,.15)); pointer-events: none; }
.prayer-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.prayer-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; max-width: 14ch; }
.prayer-hero .lead { color: #efe9f8; max-width: 36rem; }
.prayer-hero .eyebrow { color: #ffd2cd; }
.prayer-hero .eyebrow::before { background: #ffd2cd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.prayer-hero .btn.light, .praise-band .btn.light { color: var(--brand); }

/* Breathing circle: a moment of stillness */
.be-still { display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.breath { position: relative; width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 236, 210, .55), rgba(255, 214, 160, .15) 55%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 80px rgba(255, 214, 160, .35);
  animation: breathe 10s ease-in-out infinite; }
.breath span { position: absolute; font: 600 1.05rem var(--display); letter-spacing: .04em; color: #fff; }
.breath .in { animation: say-in 10s ease-in-out infinite; }
.breath .out { animation: say-out 10s ease-in-out infinite; }
.be-still p { font-family: var(--display); font-size: 1.15rem; color: #fff; margin: 0; max-width: 18rem; }
.be-still cite { display: block; font: 600 .85rem var(--body); color: #ffd2cd; font-style: normal; margin-top: .35rem; }
@keyframes breathe { 0%, 100% { transform: scale(.78); } 50% { transform: scale(1); } }
@keyframes say-in { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes say-out { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .breath, .breath span { animation: none; } .breath .out { opacity: 0; } .breath .in::after { content: ""; } }

/* Form and side column */
.prayer-main { background: linear-gradient(#fbf8fd, #fff 40%); }
.prayer-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2.2rem; align-items: start; margin-top: -8.5rem; position: relative; z-index: 2; }
.prayer-card { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: 0 24px 60px rgba(40, 20, 70, .14); border: 1px solid #eee7f5; }
.pstep { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px dashed #e4dcef; }
.pstep h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.22rem; margin: 0 0 .9rem; }
.pstep h2 em { font: 400 .9rem var(--body); color: var(--ink-soft); }
.pnum { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 .95rem var(--display); }
.hint { margin: -.4rem 0 .8rem; color: var(--ink-soft); font-size: .95rem; }
.prayer-card .err { color: #b3261e; font-size: .9rem; margin: .4rem 0; }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.topic { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: .85rem .9rem; border: 1px solid #e2d9ee; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.topic:hover { border-color: color-mix(in srgb, var(--brand) 50%, #fff); transform: translateY(-1px); }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .2s, color .2s; }
.topic-icon .icon { width: 20px; height: 20px; }
.topic-label { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.topic:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); box-shadow: 0 0 0 1px var(--brand); }
.topic:has(input:checked) .topic-icon { background: var(--brand); color: #fff; }
.topic:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 40%, #fff); outline-offset: 2px; }

.prayer-card textarea, .pfield input { width: 100%; padding: .85rem 1rem; border: 1px solid #d5cce2; border-radius: 12px; font: inherit; color: var(--ink); background: #fdfcfe; transition: border-color .2s, box-shadow .2s; }
.prayer-card textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.prayer-card textarea:focus, .pfield input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); background: #fff; }

.share { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.share-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1rem; border: 1px solid #e2d9ee; border-radius: 14px; cursor: pointer; }
.share-opt input { margin-top: .3rem; accent-color: var(--brand); }
.share-opt strong { display: block; }
.share-opt strong .icon { vertical-align: -3px; margin-right: .25rem; }
.share-opt strong .icon { color: var(--brand); }
.share-opt span span { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: .15rem; }
.share-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, #fff); }

.pfields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .9rem; }
.pfield.full { grid-column: 1 / -1; }
.pfield label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.check { display: flex; gap: .6rem; align-items: center; margin-top: .5rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.prayer-card .pstep:last-of-type { border-bottom: 0; margin-bottom: .6rem; }
.send { width: 100%; justify-content: center; padding: 1rem; font-size: 1.08rem; border-radius: 14px; }
.safe-note { display: flex; gap: .45rem; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .88rem; margin: .9rem 0 0; }

.prayer-side { position: sticky; top: 1.5rem; display: grid; gap: 1.2rem; }
.promise { position: relative; border-radius: 22px; padding: 2rem 1.8rem; color: #fff; overflow: hidden;
  background: radial-gradient(22rem 14rem at 100% 0, rgba(255, 214, 160, .35), transparent 70%), linear-gradient(155deg, var(--brand), var(--deep));
  box-shadow: 0 24px 60px rgba(40, 20, 70, .18); }
.promise::before { content: "“"; position: absolute; right: 1.2rem; top: -1.4rem; font: 700 9rem/1 var(--display); color: rgba(255,255,255,.08); }
.promise-label { font: 700 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: #ffd2cd; }
.promise-verse { font-family: var(--display); font-size: 1.4rem; line-height: 1.4; margin: .8rem 0 .9rem; }
.promise cite { font-style: normal; font-weight: 600; color: #ffe1c2; }
.promise.show .promise-verse, .promise.show cite { animation: rise .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.assure { list-style: none; margin: 0; padding: 1.3rem; background: #fff; border: 1px solid #eee7f5; border-radius: 18px; display: grid; gap: 1rem; }
.assure li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; font-size: .93rem; color: var(--ink-soft); }
.assure li > span { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.assure strong { display: block; color: var(--ink); font-family: var(--display); }
.tally { text-align: center; padding: 1rem; border-radius: 16px; background: var(--brand-soft); color: var(--brand); font-size: .92rem; }
.tally strong { display: block; font: 700 2rem var(--display); }

/* After sending */
.received { max-width: 46rem; margin: -8.5rem auto 0; position: relative; z-index: 2; background: #fff; border-radius: 24px; padding: 2.6rem 2.4rem; text-align: center; box-shadow: 0 24px 60px rgba(40, 20, 70, .14); }
.received-mark { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: #e7f6ee; color: #1f7a4d; box-shadow: 0 0 0 10px #f2faf6; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.received-mark .icon { width: 40px; height: 40px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.received h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.received .lead { margin: 0 auto 1.8rem; }
.prayer-for-you { text-align: left; border-radius: 20px; padding: 1.8rem; color: #fff; background: radial-gradient(22rem 14rem at 100% 0, rgba(255, 214, 160, .3), transparent 70%), linear-gradient(155deg, var(--brand), var(--deep)); }
.pfy-head { display: flex; align-items: center; gap: .7rem; font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #ffd2cd; }
.prayer-for-you .topic-icon { background: rgba(255,255,255,.15); color: #fff; }
.pfy-text { font-family: var(--display); font-size: 1.2rem; line-height: 1.6; margin: 1rem 0 1.3rem; }
.amen { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; border-radius: 99px; padding: .6rem 1.4rem; font: 600 1rem var(--body); cursor: pointer; transition: background .25s, transform .25s; }
.amen:hover { background: rgba(255,255,255,.22); }
.amen.said { background: #fff; color: var(--brand); transform: scale(1.04); }
.amen.said .icon { fill: var(--accent); stroke: var(--accent); }
.amen-note { margin: .9rem 0 0; color: #ffe1c2; animation: rise .6s ease both; }
.promise-line { margin: 1.8rem auto 0; max-width: 34rem; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.promise-line cite { display: block; font: 600 .9rem var(--body); font-style: normal; color: var(--accent); margin-top: .4rem; }
.received-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin: 1.6rem 0 0; font-weight: 600; }

/* Journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: j; }
.journey li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem 1.5rem; counter-increment: j; }
.journey li::after { content: counter(j); position: absolute; top: 1rem; right: 1.3rem; font: 800 2rem var(--display); color: color-mix(in srgb, var(--brand) 18%, #fff); }
.j-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand), var(--deep)); color: #fff; margin-bottom: 1rem; }
.j-icon .icon { width: 24px; height: 24px; }
.journey h3 { margin: 0 0 .4rem; }
.journey p { margin: 0; color: var(--ink-soft); }

/* Prayer meetings */
.meetings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 62rem; margin: 0 auto; }
.meeting { display: grid; grid-template-columns: 48px 1fr; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.m-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.meeting strong { display: block; font-family: var(--display); }
.meeting span { color: var(--ink-soft); }

/* Praise band */
.praise-band { color: #fff; background: radial-gradient(40rem 20rem at 90% 0, rgba(255, 214, 160, .25), transparent 60%), linear-gradient(140deg, var(--brand), var(--deep)); border-bottom: 4px solid var(--accent); }
.praise-band h2 { color: #fff; }
.praise-band p { color: #e9e2f5; max-width: 36rem; }
.praise-band .eyebrow { color: #ffd2cd; }
.praise-band .eyebrow::before { background: #ffd2cd; }
.praise-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.praise-actions { display: grid; gap: .7rem; justify-items: start; }
.btn.ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); }

@media (max-width: 1000px) {
  .prayer-hero-grid, .prayer-grid, .praise-grid { grid-template-columns: 1fr; }
  .be-still { display: none; }
  .prayer-side { position: static; }
  .journey { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prayer-hero { padding: 3.5rem 0 9rem; }
  .prayer-card { padding: 1.4rem; border-radius: 18px; }
  .topics { grid-template-columns: 1fr 1fr; }
  .share, .pfields { grid-template-columns: 1fr; }
  .received { padding: 2rem 1.3rem; }
  .prayer-for-you { padding: 1.4rem; }
}
