/* Volunteers feature story — scoped to this page. Do not leak into other layouts. */

.fl--river .vl > section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.fl--river .vl-hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 80px) !important;
  padding-bottom: clamp(48px, 7vw, 72px) !important;
}

.vl-copy { min-width: 0; }
.vl-copy h2 { max-width: 16em; }
.vl-copy--center {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 38em;
}
.vl-copy--center h2 { max-width: none; }
.vl-copy--center .fl-lede,
.vl-copy--center .vl-line { margin-left: auto; margin-right: auto; }

.vl-hero__grid,
.vl-split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 1.04fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: center;
}
.vl-split--text { grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr); }

.vl-line {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--bv-ink);
}
.vl-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--bv-faint);
}

.vl-card,
.vl-profile,
.vl-signup,
.vl-waiver,
.vl-public {
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.07);
}
.vl-card { padding: 16px 16px 14px; }
.vl-card small,
.vl-signup small,
.vl-waiver span,
.vl-profile small,
.vl-public header span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bv-faint);
}
.vl-card b,
.vl-signup b,
.vl-waiver b { display: block; margin: 4px 0 8px; letter-spacing: -0.03em; }

/* ---------- HERO ---------- */
.vl-hero__stage {
  position: relative;
  min-height: 268px;
}
.vl-profile {
  padding: 16px 16px 12px;
  position: relative;
  z-index: 1;
}
.vl-profile header,
.vl-public header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.vl-profile header i,
.vl-public header i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fl-g);
  flex: 0 0 auto;
}
.vl-profile header b,
.vl-public header b { display: block; font-size: 16px; letter-spacing: -0.03em; }
.vl-profile header span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--bv-muted); }
.vl-profile__empty {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--bv-cream);
  color: var(--bv-muted);
  font-size: 13px;
}
.vl-profile ul,
.vl-public ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vl-profile li,
.vl-public li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--fl-a) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--fl-a) 18%, var(--bv-line));
}
.vl-profile li { opacity: 0; transform: translateY(10px); }
.vl-profile em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: var(--fl-a);
}
.vl-profile figcaption {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--bv-faint);
}
.vl-signup {
  position: absolute;
  right: 10px;
  top: 28px;
  z-index: 2;
  width: min(210px, 58%);
  padding: 14px 14px 12px;
  transform: rotate(4deg);
}
.vl-signup p { margin: 0 0 6px; font-size: 12px; color: var(--bv-muted); }
.vl-signup span {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bv-cream);
  font-size: 13px;
  font-weight: 650;
}
.vl-signup em {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--fl-g);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.vl-hero__stage.is-in .vl-signup {
  opacity: 0;
  transform: translate(-42%, 28%) rotate(0deg) scale(0.72);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.vl-hero__stage.is-in .vl-profile__empty {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, height 0.45s ease, padding 0.45s ease;
}
.vl-hero__stage.is-in .vl-profile li {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease 0.35s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

/* ---------- FORM PAIR ---------- */
.vl-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  position: relative;
}
.vl-card--form label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--bv-ink);
}
.vl-card--form input,
.vl-card--form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream);
  font: inherit;
  font-size: 13px;
  color: var(--bv-ink);
  resize: none;
}
.vl-card--form textarea { min-height: 52px; }
.vl-card--form .is-ask {
  padding: 8px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--fl-a) 40%, var(--bv-line));
  background: color-mix(in srgb, var(--fl-a) 7%, #fff);
}
.vl-pair__bridge {
  display: none;
}
.vl-card--app p {
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--fl-a) 7%, #fff);
  font-size: 13px;
  line-height: 1.45;
}
.vl-card--app em {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fl-a);
}
.vl-card--app > span {
  font-size: 12px;
  font-weight: 650;
  color: var(--bv-muted);
}
.vl-pair.is-in .is-ask,
.vl-pair.is-in [data-vl-echo] {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fl-a) 18%, transparent);
  transition: box-shadow 0.55s ease;
}
.vl-pair.is-in .vl-pair__bridge {
  display: grid;
  place-items: center;
  align-self: end;
  margin-bottom: 58px;
  padding: 6px 0;
  font-size: 0;
}
.vl-pair.is-in .vl-pair__bridge::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--fl-a);
}

/* ---------- REVIEW ---------- */
.vl-review {
  display: grid;
  gap: 12px;
}
.vl-review__acts {
  display: flex;
  gap: 8px;
  margin: 10px 0 8px;
}
.vl-review__acts span {
  flex: 1;
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--bv-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--bv-muted);
}
.vl-review__acts .is-ok {
  background: #fff;
  color: var(--fl-a);
  border-color: color-mix(in srgb, var(--fl-a) 40%, var(--bv-line));
}
.vl-review em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--bv-muted);
}
.vl-waiver {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 10px;
  padding: 14px 16px;
  align-items: start;
}
.vl-waiver i {
  grid-row: 1 / span 3;
  font-size: 22px;
  color: var(--fl-a);
  margin-top: 2px;
}
.vl-waiver p {
  grid-column: 2;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--bv-muted);
  line-height: 1.45;
}
.vl-review-sec.is-in .is-ok {
  background: var(--fl-g);
  color: #fff;
  border-color: transparent;
  transition: background 0.45s ease, color 0.45s ease;
}
.vl-review-sec.is-in [data-vl-decision] { color: var(--fl-a); font-weight: 650; }

/* ---------- GATHER / PUBLIC PROFILE ---------- */
.vl-story { background: color-mix(in srgb, var(--fl-a) 6%, var(--bv-cream)); }
.vl-gather {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 1.08fr);
  gap: 16px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.vl-gather__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.vl-gather__cards li {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transform: translateX(-16px);
  opacity: 0.45;
}
.vl-gather__cards small { color: var(--bv-faint); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vl-gather__cards b { display: block; margin: 2px 0; font-size: 20px; letter-spacing: -0.04em; color: var(--fl-a); }
.vl-gather__cards span { font-size: 13px; color: var(--bv-muted); }
.vl-public { padding: 16px 16px 14px; }
.vl-public > p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bv-faint);
}
.vl-public li {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 8px;
  opacity: 0.28;
}
.vl-public li b { color: var(--fl-a); font-variant-numeric: tabular-nums; }
.vl-gather.is-in .vl-gather__cards li {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vl-gather.is-in .vl-gather__cards li:nth-child(2) { transition-delay: 0.12s; }
.vl-gather.is-in .vl-public li {
  opacity: 1;
  transition: opacity 0.45s ease 0.28s;
}
.vl-gather.is-in .vl-public li:nth-child(2) { transition-delay: 0.4s; }

@media (max-width: 900px) {
  .vl-hero__grid,
  .vl-split,
  .vl-split--text,
  .vl-gather {
    grid-template-columns: 1fr;
  }
  .vl-hero__stage { max-width: 420px; }
  .vl-pair {
    grid-template-columns: 1fr;
  }
  .vl-pair.is-in .vl-pair__bridge {
    margin: 0;
    justify-self: center;
  }
  .vl-pair.is-in .vl-pair__bridge::before {
    width: 2px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-hero__stage .vl-signup,
  .vl-hero__stage .vl-profile__empty,
  .vl-hero__stage .vl-profile li,
  .vl-gather__cards li,
  .vl-public li,
  .vl-pair .is-ask,
  .vl-pair [data-vl-echo],
  .vl-review-sec .is-ok {
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    filter: none !important;
    transition: none !important;
  }
  .vl-hero__stage .vl-signup { display: none; }
  .vl-hero__stage .vl-profile__empty { display: none; }
}
