/* ============================================================
   BROTHERHOOD — DONATE PAGE
   Extends site.css + colors_and_type.css, reuses generic primitives
   from groups.css (groups-hero, .g-intro, .why__*, .inquire__note,
   .band__actions, .bh-btn--lg). This file adds the give block.
   ============================================================ */

/* ---------- WHAT YOUR GIFT DOES — four impact statements ---------- */
.why--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .why--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why--four { grid-template-columns: 1fr; } }

/* ---------- THE GIVE BLOCK ---------- */
.give { max-width: 680px; margin: clamp(40px, 5vw, 60px) auto 0; }
.give__head { text-align: center; margin-bottom: clamp(26px, 3.5vw, 38px); }
.give__head .bh-eyebrow { color: var(--bh-pale-blue); }
.give__head .bh-h2 { color: var(--fg-1); margin: 12px 0 0; }
.give__card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, rgba(42,39,51,.74), rgba(30,28,38,.84)), var(--haze-blue-red);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: clamp(30px, 4vw, 50px);
}
.give__brayer {
  position: absolute; top: 0; right: 0; width: 230px; opacity: .4; mix-blend-mode: screen;
  pointer-events: none; transform: translate(28%, -36%) rotate(8deg);
}
.give__inner { position: relative; z-index: 1; }

/* frequency toggle (segmented control) */
.give__toggle {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: clamp(24px, 3vw, 30px);
  border-radius: var(--r-pill); background: rgba(0,0,0,.28); border: 1px solid var(--line);
}
.give__tab {
  font-family: var(--font-super); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 11px 24px; border-radius: var(--r-pill); border: 0; background: transparent;
  color: rgba(255,255,255,.7); cursor: pointer; transition: color .18s, background-color .18s;
}
.give__tab.is-on { background: #fff; color: var(--bh-warm-black); }

/* steps */
.give__step { display: none; }
.give__step.is-on { display: block; animation: optinIn .4s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .give__step.is-on { animation: none; } }

/* preset amount chips */
.give__amounts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 16px; }
.give__chip {
  font-family: var(--font-super); font-size: 16px; letter-spacing: .01em; min-width: 74px;
  padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.04); color: #fff; cursor: pointer; transition: all .18s;
}
.give__chip:hover { border-color: rgba(255,255,255,.55); }
.give__chip.is-on { background: #fff; border-color: #fff; color: var(--bh-warm-black); }

/* custom amount field: [ $  ____  / month ] */
.give__custom {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 24px; padding: 6px 18px;
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.32);
  transition: border-color .18s;
}
.give__custom:focus-within { border-color: var(--bh-bright-red); }
.give__cur { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: rgba(255,255,255,.85); }
.give__amount-input {
  width: 116px; font-family: var(--font-display); font-weight: 600; font-size: 34px; text-align: center;
  border: 0; background: transparent; color: #fff; outline: none; padding: 6px 0;
}
.give__per {
  font-family: var(--font-super); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); min-width: 50px; text-align: left;
}
.give__per:empty { min-width: 0; }

/* name + email */
.give__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; text-align: left; }
.give__fields .gfield { margin-bottom: 0; }
.give__fields .gfield--full { grid-column: 1 / -1; }

.give__cta { width: 100%; justify-content: center; padding: 17px 28px; font-size: 14px; gap: 9px; }
.give__cta i { width: 17px; height: 17px; }
.give__err { font-family: var(--font-body); font-size: 13px; color: #FFB4A8; margin: 0 0 14px; min-height: 1em; }

/* payment step */
.give__back {
  background: transparent; border: 0; cursor: pointer; color: rgba(255,255,255,.62);
  font-family: var(--font-super); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; transition: color .18s;
}
.give__back:hover { color: #fff; }
.give__back i { width: 14px; height: 14px; }
.give__summary { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 22px; line-height: 1.5; }
.give__summary strong { color: #fff; font-weight: 600; }
#payment-element { min-height: 44px; margin-bottom: 18px; text-align: left; }

/* demo notice (shown until Stripe keys are configured) */
.give__demo {
  text-align: left; border: 1px dashed rgba(255,255,255,.28); border-radius: var(--r-sm);
  padding: 16px 18px; margin-bottom: 18px; background: rgba(0,0,0,.2);
}
.give__demo .give__demo-tag {
  font-family: var(--font-super); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bh-pale-blue); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.give__demo .give__demo-tag i { width: 13px; height: 13px; }
.give__demo p { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,.7); margin: 0; line-height: 1.5; }
.give__demo code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--bh-terra); }

/* success */
.give__thanks { text-align: center; }
.give__thanks .gform__check { margin: 0 auto 16px; }
.give__thanks h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: #fff; margin: 0 0 10px;
}
.give__thanks p { color: rgba(255,255,255,.82); margin: 0 auto; max-width: 42ch; line-height: 1.55; }

.give__freq { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,.55); margin: 22px 0 0; line-height: 1.5; }
.give__freq i { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* ---------- SUPPORT FOOTER (partnership + trust) ---------- */
.support-foot { text-align: center; max-width: 660px; margin: 0 auto; }
.support-foot .eyebrow-block { justify-content: center; }
.support-foot .eyebrow-block .rule { max-width: 80px; }
.partner-line {
  font-family: var(--font-body); font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-1);
  line-height: 1.6; margin: 0; text-wrap: balance;
}
.partner-line a, .trust-line a {
  color: var(--bh-terra); text-decoration: none;
  border-bottom: 1px solid rgba(217,136,120,.45); padding-bottom: 1px; transition: border-color .18s ease;
}
.partner-line a:hover, .trust-line a:hover { border-color: var(--bh-terra); }
.partner-sub { font-family: var(--font-body); font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 14px auto 0; max-width: 52ch; }
.trust-line {
  font-family: var(--font-body); font-size: 13.5px; color: var(--fg-3); line-height: 1.6;
  margin: 30px auto 0; max-width: 56ch; padding-top: 24px; border-top: 1px solid var(--line);
}
