/* AEL Church: the two on-site forms, Bible study and prayer (they replace the Google Form links; the answers still land in
   the church's own Google sheets). Night ground, a photograph of the church standing at the top on the phone and beside the
   form on the desktop, the faint current underneath. Fields, choices and the thank-you reuse the visit form's look. */
.fp{position:relative;isolation:isolate;overflow:hidden;background:var(--night);padding:var(--head) 0 calc(var(--edge) + 40px);min-height:100svh}
.fp .current{z-index:-2;-webkit-mask:linear-gradient(180deg,#000 55%,transparent 98%);mask:linear-gradient(180deg,#000 55%,transparent 98%)}
.fp-photo{z-index:-3}
.fp .current.faint .current-mark{bottom:-6%;opacity:.2}
.fp-grid{position:relative}
.fp-photo{display:block;position:relative;width:100vw;height:min(74vw,340px);margin:0 0 -64px calc(50% - 50vw)}
.fp-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;-webkit-mask:linear-gradient(180deg,#000 40%,transparent);mask:linear-gradient(180deg,#000 40%,transparent)}
.fp-photo.fp-altar img{object-position:50% 58%}
.fp-h{margin:14px 0 0;font:700 clamp(42px,12vw,92px)/.98 var(--disp);letter-spacing:-.02em;text-wrap:balance}
.fp-p{margin-top:18px;font-size:17px;line-height:1.6;max-width:34em}
.fp-form{display:grid;gap:22px;margin-top:30px;max-width:560px}
.js .nojs{display:none}
.fp-form[hidden],.fp .conf[hidden],.fp-fail[hidden]{display:none}
.fp .f{display:block;margin:0;padding:0;border:0;min-width:0}
.fp .f>span,.fp .f>legend{display:block;margin-bottom:8px;padding:0;font-size:15px;opacity:.92}
.fp .f input:not([type=radio]){font-size:18px}
.f-hint{display:block;margin-top:8px;font-size:14px;opacity:.78}
.f-err{display:block;margin-top:8px;font-size:15px;font-weight:600;font-style:normal;color:var(--yellow)}
.f-err:empty{display:none}
.fp .f input[aria-invalid=true]{box-shadow:inset 0 0 0 2px var(--yellow)}
.fp .f[aria-invalid=true] .svc label>span{box-shadow:inset 0 0 0 2px rgba(252,223,85,.7)}
.yn{grid-template-columns:1fr 1fr}
@media (min-width:600px){.yn{grid-template-columns:1fr 1fr}}
.yn label>span{grid-template-columns:1fr;align-items:center;min-height:56px;padding:14px 18px}
.yn b{font-size:17px}
.fp-btn{max-width:440px;border:0;cursor:pointer}
.fp-btn[disabled]{opacity:.7;cursor:progress;transform:none}
/* bots fill every field; people never see this one */
.hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.fp-fail{max-width:560px;padding:18px 20px;border-radius:16px;background:rgba(252,223,85,.07);box-shadow:inset 0 0 0 1px var(--yellow);font-size:16px;line-height:1.55}
.fp-fail a{color:var(--yellow);font-weight:600;white-space:nowrap}
.fp .conf{max-width:560px;margin-top:30px}
.fp .conf p{margin-top:12px;font-size:17px;line-height:1.6}
.fp-also{margin-top:56px;max-width:560px}
.fp-also .eyebrow{opacity:.8}
.fp-also .rows{margin-top:14px}
@media (min-width:768px){
  .fp{padding-top:calc(var(--head) + 56px)}
  .fp-photo{height:min(46vw,420px);margin:-56px 0 -96px calc(50% - 50vw)}
}
@media (min-width:1024px){
  .fp{padding-top:calc(var(--head) + 72px)}
  .fp-grid{position:static}
  .fp-copy{position:relative;max-width:min(600px,48vw)}
  /* the photograph stands on the right half and bleeds off the edge; night closes over it from the left and from below */
  .fp-photo{position:absolute;top:0;right:0;width:52vw;height:min(100vh,940px);margin:0}
  .fp-photo img{-webkit-mask:none;mask:none;object-position:50% 50%}
  .fp-photo.fp-altar img{object-position:50% 40%}
  .fp-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--night) 0,rgba(6,26,38,.55) 22%,rgba(6,26,38,0) 52%),linear-gradient(0deg,var(--night) 0,rgba(6,26,38,0) 38%),linear-gradient(180deg,rgba(6,26,38,.7) 0,rgba(6,26,38,0) 22%)}
  .fp .current.faint .current-mark{bottom:-22%}
}
