/* Weekend registration form (both ministries; colors come from each side's variables in designed.css) */
.reg { padding: clamp(32px, 6vw, 72px) 16px; background: var(--light); scroll-margin-top: calc(var(--hdr, 80px) + 12px); }
.reg *, .reg *::before, .reg *::after { box-sizing: border-box; }
.reg__card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 18px 50px rgba(var(--shadow-tint), .10); color: var(--ink); font-family: 'Cabin', sans-serif; }
.reg__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.side-soi .reg__eyebrow { color: #b0605f; }
.reg__title { margin: 0 0 6px; font-family: var(--display-font); font-weight: var(--display-weight); text-transform: var(--display-case); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.reg__sub, .reg__lead { margin: 0 0 18px; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.reg__preview { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #fff7e0; color: #6b4e00; font-size: 15px; line-height: 1.5; }

/* progress */
.reg__steps { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: none; }
.reg__steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); position: relative; }
.reg__steps li::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; background: var(--line); }
.reg__steps li:first-child::before { display: none; }
.reg__steps li.is-done::before, .reg__steps li.is-on::before { background: var(--accent-deep); }
.reg__num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; color: var(--muted); }
.reg__steps li.is-on .reg__num { border-color: var(--accent-deep); background: var(--accent-deep); color: #fff; }
.reg__steps li.is-done .reg__num { border-color: var(--accent-deep); color: var(--accent-deep); }
.reg__steps li.is-on { color: var(--ink); }

/* fields */
.reg__form { display: grid; gap: 18px; position: relative; }
.reg__h { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }
.reg__blurb { margin: -10px 0 4px; color: var(--muted); font-size: 16px; }
.reg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg__row--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.reg__field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; scroll-margin-top: calc(var(--hdr, 80px) + 24px); }
.reg__field--small { max-width: 200px; }
.reg__field > label, .reg__field > legend { font-weight: 700; font-size: 15.5px; line-height: 1.4; color: var(--ink); padding: 0; text-wrap: pretty; }
.reg__field > legend { margin-bottom: 8px; }
.reg__hint { margin-top: -3px; font-size: 14px; color: var(--muted); }
.reg__field input:not([type="radio"]):not([type="checkbox"]), .reg__field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 16px 'Cabin', sans-serif; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.reg__field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.reg__field input:focus, .reg__field textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.reg__field.is-bad input, .reg__field.is-bad textarea { border-color: #c0392b; }
.reg__err { font-size: 14px; font-weight: 600; color: #b42318; }

/* yes / no pills and the 1–10 scale */
.reg__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.reg__pill, .reg__dot, .reg__choice { position: relative; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.reg__pill { min-width: 92px; padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.reg__pill input, .reg__dot input, .reg__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reg__pill:hover, .reg__dot:hover, .reg__choice:hover { border-color: var(--accent-deep); }
.reg__pill.is-on, .reg__dot.is-on, .reg__choice.is-on { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.reg__pill:has(input:focus-visible), .reg__dot:has(input:focus-visible), .reg__choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.reg__scale-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.reg__dot { aspect-ratio: 1; border-radius: 12px; font-size: 16px; }
.reg__scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.reg__weekends { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.reg__weekends legend { font-weight: 700; margin-bottom: 8px; }
.reg__choice { justify-content: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 15px; }

/* statements, creed, waiver */
.reg__creed details { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--light); }
.reg__creed summary { cursor: pointer; font-weight: 700; color: var(--accent-deep); }
.side-soi .reg__creed summary { color: #b0605f; }
.reg__creed p { margin: 10px 0 0; line-height: 1.6; font-size: 15px; }
.reg__note { margin: -6px 0 0; padding: 12px 14px; border-left: 3px solid var(--accent-deep); background: var(--light); font-size: 15px; line-height: 1.55; border-radius: 0 10px 10px 0; }
.reg__statement { margin: 0 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); font-size: 15.5px; line-height: 1.6; }
.reg__box { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.reg__box input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent-deep); flex: 0 0 auto; }
.reg__waiver { max-height: 300px; overflow: auto; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--light); font-size: 14.5px; line-height: 1.65; }
.reg__waiver p { margin: 0; }
.reg__waiver:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.reg__summary { padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); }
.reg__summary h4 { margin: 0 0 6px; font-size: 16px; }
.reg__summary p { margin: 0 0 8px; line-height: 1.55; }
.reg__summary ul { margin: 0; padding-left: 20px; line-height: 1.6; font-size: 15px; }

/* buttons */
.reg__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 6px; }
.reg__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent-deep); color: #fff !important; font: 700 16px 'Cabin', sans-serif; text-decoration: none !important; cursor: pointer; transition: transform .15s, background .15s; }
.side-ioi .reg__btn { background: var(--accent); }
.side-soi .reg__btn { background: var(--ink); }
.reg__btn:hover:not(:disabled) { transform: translateY(-1px); }
.reg__btn:disabled { opacity: .55; cursor: not-allowed; }
.reg__btn--ghost { background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--line); }
.reg__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8a1c12; font-weight: 600; }
.reg__help { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.reg__help a { color: var(--accent-deep); font-weight: 700; }
.side-soi .reg__help a { color: #b0605f; }

/* done */
.reg__done { text-align: center; }
.reg__pay { margin-top: 10px; padding: 22px; border-radius: 16px; background: var(--light); text-align: left; display: grid; gap: 10px; }
.reg__pay h3 { margin: 0; font-size: 20px; }
.reg__pay p { margin: 0; line-height: 1.55; }
.reg__pay .reg__btn { justify-self: start; margin-top: 6px; }
.reg--closed .reg__card { text-align: center; }

@media (max-width: 640px) {
  .reg__row, .reg__row--3 { grid-template-columns: 1fr; }
  .reg__field--small { max-width: none; }
  .reg__steps li .reg__step-name { font-size: 11.5px; }
  .reg__scale-row { grid-template-columns: repeat(5, 1fr); }
  .reg__nav { flex-direction: column-reverse; }
  .reg__nav .reg__btn { width: 100%; }
}
.reg__dates { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--accent-deep); }
.side-soi .reg__dates { color: #b0605f; }
/* Boxes in a row always line up: the label sits at the bottom of its slot, hints and errors go under the box. */
.reg__row { align-items: stretch; }
.reg__row > .reg__field { grid-template-rows: auto auto 1fr; align-content: start; }
.reg__hint { margin-top: 0; }
/* Sisters of Iron form extras */
.reg__h--sub { margin-top: 10px; font-size: 19px; }
.reg__fine { font-size: 13.5px; color: var(--muted); }
.reg__creed-text { margin-bottom: 6px; max-height: 260px; }
.reg__creed-text p + p { margin-top: 10px; }
.reg__waiver p + p { margin-top: 12px; }
.reg__pay-pick { gap: 10px; }
.reg__check .reg__box span { line-height: 1.5; }
.reg__pay-pick > .reg__choice { padding: 12px 16px; font-size: 15px; line-height: 1.45; font-weight: 700; }
.reg__pay-pick > .reg__choice.is-on { color: #fff; }
/* waiting list and spots */
.reg__full { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #7a1d14; font-size: 15px; line-height: 1.5; }
.reg__left { margin: -10px 0 18px; font-size: 15px; font-weight: 700; color: var(--accent-deep); }
.side-soi .reg__left { color: #b0605f; }
.reg--waitlist .reg__nav { justify-content: flex-start; }
