/* Support the Village (rebuilt 2026-09-29).
   A village effort, in the homepage's language: the opening sits in the sky and hills with the
   village painting across its foot; the two ways to give are paper gift tags hung on a length of
   twine (they swing into place as you arrive, and sway when you reach for one); what support makes
   possible is pinned to a cork board, each note pushed in with a pin; the family behind the site is
   a taped snapshot; and the receipt question is a paper receipt with a torn edge.
   Everything is scoped to body.p-support. Payment buttons, their words and data hooks are untouched. */

.p-support main :is(h1, h2, h3) { color: var(--navy); }
.p-support main h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 0 0 clamp(20px, 2.6vw, 30px); }
.p-support main a { text-decoration: none; }
.p-support .container { max-width: 1200px; }

/* ---------- opening: sky, hills and the village at work ---------- */
.p-support main > .support-give-banner {
  color: var(--text);
  text-align: center;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.p-support main > .support-give-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 88% 0%, var(--sky-b), transparent 66%),
    radial-gradient(820px 400px at 6% -10%, var(--sky-c), transparent 62%),
    linear-gradient(180deg, var(--sky-a) 0%, var(--cream) 78%);
}
.p-support .support-give-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-160px, 4vw, 120px);
  top: 10px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 206, 120, .72) 0%, rgba(243, 229, 192, .28) 46%, transparent 70%);
  pointer-events: none;
}
.p-support .support-give-banner-inner { display: flex; flex-direction: column; align-items: center; gap: 0; }
.p-support .support-give-banner-copy { max-width: 820px; }
.p-support .support-give-banner .eyebrow { color: var(--gold-dark); transform-origin: center bottom; margin-bottom: 14px; }
.p-support .support-give-banner h1 {
  position: relative;
  display: inline-block;
  color: var(--navy);
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
  padding-bottom: .16em;
}
/* a hand-drawn gold stroke under the heading, drawn in once */
.p-support .support-give-banner h1::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 6%;
  bottom: -.02em;
  height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 70 3, 150 4, 297 8' fill='none' stroke='%23d7a43e' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: left center;
}
.p-support .support-give-banner .lede {
  color: var(--text);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 34em;
  margin: 18px auto 0;
}
.p-support .support-give-banner .btn-row { justify-content: center; gap: 14px; margin-top: 26px; }
.p-support .support-give-banner .btn { font-size: 17.5px; min-height: 54px; padding: 15px 28px; }
.p-support .support-give-banner .btn--light { --edge: var(--navy); background: var(--paper); color: var(--navy); border-color: var(--navy); }
.p-support .support-give-banner .btn--light:hover { background: #fff; }
.p-support .sp-panorama { position: relative; margin-top: clamp(10px, 2vw, 26px); }
.p-support .sp-panorama > .container { max-width: 1240px; }
.p-support .sp-panorama seasonal-artwork { display: block; max-width: 1060px; margin: 0 auto; }
.p-support .sp-panorama img {
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- give: two paper tags on a length of twine ---------- */
.p-support .sp-giving { padding-top: clamp(40px, 5vw, 72px); }
.p-support .sp-giving h2 { text-align: center; margin-bottom: 8px; }
.p-support .sp-giving .container { max-width: 980px; position: relative; }
.p-support .sp-line { height: 46px; margin: 0 -2%; position: relative; z-index: 2; pointer-events: none; }
.p-support .sp-line svg { display: block; width: 100%; height: 100%; overflow: visible; }
.p-support .sp-line path { fill: none; stroke: #9d7128; stroke-width: 2.5; stroke-dasharray: 5 3; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 1px rgba(80, 50, 10, .18)); }
.p-support .support-giving-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 16px; align-items: start; }
.p-support .sp-tag {
  --tag: var(--paper);
  --band: var(--gold);
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: 330px;
  padding: 62px clamp(22px, 3vw, 36px) clamp(26px, 3vw, 34px);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  align-items: center;
  filter: drop-shadow(0 18px 18px rgba(60, 40, 10, .22)) drop-shadow(0 2px 2px rgba(60, 40, 10, .12));
  transform-origin: 50% -30px;
}
.p-support .sp-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  background:
    linear-gradient(var(--band), var(--band)) 0 100% / 100% 10px no-repeat,
    radial-gradient(rgba(122, 91, 19, .05) 1px, transparent 1.4px) 0 0 / 9px 9px,
    var(--tag);
  clip-path: polygon(36px 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%, 0 36px);
}
.p-support .sp-tag--monthly { --tag: #fbf0cf; --band: var(--navy); }
.p-support .sp-tag-hole {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 5px #e5cf9a, inset 0 2px 3px rgba(60, 40, 10, .3);
}
/* the twine loop from the hole up to the line */
.p-support .sp-tag-hole::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 2.5px;
  height: 60px;
  margin-left: -1.25px;
  background: repeating-linear-gradient(180deg, #9d7128 0 5px, #b98a3a 5px 8px);
  border-radius: 2px;
}
.p-support .sp-tag h3 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 12px; }
.p-support .sp-tag p { margin: 0; color: var(--text); font-size: 17px; line-height: 1.5; }
.p-support .sp-tag p strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(22px, 2.3vw, 27px);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 4px;
}
.p-support .sp-tag .card-actions { margin-top: auto; padding-top: 24px; justify-content: center; gap: 12px; }
.p-support .sp-tag .card-actions .btn { min-height: 50px; font-size: 16.5px; }
.p-support .sp-tag .card-actions[data-stripe-card] .btn:not(.btn--outline) { min-width: 84px; }
.p-support .sp-fine { display: grid; justify-items: center; gap: 10px; margin-top: clamp(26px, 3vw, 36px); text-align: center; }
.p-support .support-giving-disclosure {
  width: auto;
  white-space: normal;
  text-wrap: balance;
  max-width: 44em;
  margin: 0;
  padding: 12px 18px;
  border: 1.5px dashed #d9c38a;
  border-radius: 14px;
  background: rgba(255, 252, 245, .7);
  font-size: 15px;
  color: var(--text);
}
.p-support .sp-fine .review-status { margin: 0; }

/* ---------- what support makes possible: a cork board ---------- */
.p-support .sp-impact h2 { text-align: center; }
.p-support .sp-board {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(34px, 3.8vw, 52px) clamp(18px, 3vw, 40px) clamp(30px, 3.4vw, 46px);
  background-color: #ecd9ae;
  background-image: radial-gradient(rgba(122, 91, 19, .17) 1.2px, transparent 1.7px), radial-gradient(rgba(255, 255, 255, .4) 1px, transparent 1.5px);
  background-size: 14px 14px, 23px 23px;
  background-position: 0 0, 7px 9px;
  box-shadow: inset 0 0 0 12px #c99a45, inset 0 0 0 15px #a67a2c, inset 0 10px 26px 10px rgba(122, 91, 19, .24), var(--shadow);
}
.p-support .support-impact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.p-support .sp-board .icon-tile {
  --tilt: -1.4deg;
  --pin: var(--brick);
  position: relative;
  height: auto;
  align-items: center;
  text-align: center;
  padding: 30px 20px 24px;
  background: var(--paper);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 26px -18px rgba(60, 40, 10, .6);
  rotate: var(--tilt);
}
.p-support .sp-board .icon-tile:nth-child(2) { --tilt: 1.2deg; --pin: var(--blue-ink); }
.p-support .sp-board .icon-tile:nth-child(3) { --tilt: -.7deg; --pin: var(--gold-deep); }
.p-support .sp-board .icon-tile:nth-child(4) { --tilt: 1.6deg; --pin: var(--sage-ink); }
.p-support .sp-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--pin) 32% 100%);
  box-shadow: 0 5px 6px -2px rgba(0, 0, 0, .35);
}
.p-support .sp-plot {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 60%, var(--gold-soft), var(--cream) 72%);
  box-shadow: inset 0 0 0 6px var(--paper), 0 0 0 1.5px #ead9ae;
  margin-bottom: 16px;
}
.p-support .sp-board .icon-tile:nth-child(2) .sp-plot { background: radial-gradient(circle at 50% 60%, var(--blue-soft), var(--cream) 72%); }
.p-support .sp-board .icon-tile:nth-child(3) .sp-plot { background: radial-gradient(circle at 50% 60%, var(--sage-soft), var(--cream) 72%); }
.p-support .sp-board .icon-tile:nth-child(4) .sp-plot { background: radial-gradient(circle at 50% 60%, var(--brick-soft), var(--cream) 72%); }
.p-support .sp-plot img { width: 74px; height: auto; }
.p-support .sp-board .icon-tile h3 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.p-support .sp-board .icon-tile p { font-size: 16px; line-height: 1.5; color: var(--text); }

/* ---------- the family behind it: a taped snapshot ---------- */
.p-support .support-story-hero { padding-block: clamp(56px, 7vw, 100px); background: var(--paper); }
.p-support .support-story-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); gap: clamp(32px, 5vw, 72px); }
.p-support .support-story-copy h2 { max-width: 14ch; margin-bottom: 20px; }
.p-support .support-story-text p { font-size: 17.5px; line-height: 1.65; color: var(--text); margin: 0 0 1em; }
.p-support .support-story-text p:first-child { font-size: clamp(18.5px, 1.6vw, 20.5px); color: var(--navy); }
.p-support .sp-snapshot { position: relative; justify-self: center; width: min(100%, 380px); rotate: 2.4deg; }
.p-support .sp-snapshot .support-family-photo {
  margin: 0;
  padding: 14px 14px 58px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(29, 44, 76, .08), 0 30px 44px -24px rgba(29, 44, 76, .55);
}
.p-support .sp-snapshot .support-family-photo img { border-radius: 1px; }
.p-support .sp-tape {
  position: absolute;
  z-index: 1;
  top: -14px;
  width: 104px;
  height: 32px;
  background: rgba(243, 229, 192, .82);
  box-shadow: 0 1px 2px rgba(60, 40, 10, .12);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0), repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 5px);
}
.p-support .sp-tape--l { left: -22px; rotate: -32deg; }
.p-support .sp-tape--r { right: -22px; rotate: 34deg; background: rgba(228, 233, 242, .85); }

/* ---------- hours and payment records: a paper receipt ---------- */
.p-support .sp-records { padding-top: clamp(40px, 5vw, 72px); }
.p-support .sp-records .container { max-width: 760px; filter: drop-shadow(0 22px 26px rgba(29, 44, 76, .16)) drop-shadow(0 2px 2px rgba(29, 44, 76, .06)); }
.p-support .sp-receipt {
  position: relative;
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(143, 165, 198, .14) 31px 32px),
    #fffdf7;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 44px) clamp(40px, 5vw, 56px);
  border-radius: 10px 10px 0 0;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 28px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 28px 14px repeat-x;
}
.p-support .sp-receipt h2 {
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px dashed #e0cf9f;
}
.p-support .sp-receipt details.accordion { box-shadow: none; border: 1.5px solid #eadcb4; background: #fff; }
.p-support .sp-receipt details.accordion[open] { box-shadow: none; border-color: var(--gold); }
.p-support .sp-receipt .accordion-body p { font-size: 16.5px; line-height: 1.6; color: var(--text); }

/* ---------- motion: every piece settles the way it would in the world ---------- */
@media (prefers-reduced-motion: no-preference) {
  .p-support .support-give-banner::before { animation: sp-breathe 10s ease-in-out infinite; }
  .p-support .support-give-banner h1::after { transform: scaleX(0); animation: sp-draw .9s .35s var(--ease) forwards; }
  /* a tag that has just been hung swings, then comes to rest */
  .js .p-support .sp-tag.osv-reveal.in { animation: sp-hang 1.6s var(--ease) both; }
  .p-support .sp-tag:nth-child(2).osv-reveal.in { animation-delay: .12s; }
  /* reaching for a tag sets it swaying */
  .p-support .sp-tag:hover, .p-support .sp-tag:focus-within,
  /* each note is pinned: the pin arrives after the note lands */
  .js .p-support .icon-tile.osv-reveal .sp-pin { opacity: 0; transform: translate(-6px, -26px) scale(1.5); }
  .js .p-support .icon-tile.osv-reveal.in .sp-pin { opacity: 1; transform: none; transition: opacity .3s .45s, transform .5s .45s var(--spring); }
  .p-support .sp-board .icon-tile { transition: rotate .4s var(--spring), translate .4s var(--spring), box-shadow .4s var(--ease); }
  .p-support .sp-board .icon-tile:hover { rotate: 0deg; translate: 0 -5px; box-shadow: 0 28px 38px -22px rgba(60, 40, 10, .65); }
  .p-support .sp-board .icon-tile:hover .sp-pin { animation: sp-wiggle .6s var(--ease); }
  .p-support .sp-plot img { transition: transform .6s var(--spring); }
  .p-support .sp-board .icon-tile:hover .sp-plot img { transform: translateY(-5px) rotate(-3deg); }
  .p-support .sp-snapshot { transition: rotate .5s var(--spring), translate .5s var(--spring); }
  .p-support .sp-snapshot:hover { rotate: 0deg; translate: 0 -6px; }
}
@keyframes sp-breathe { 50% { transform: scale(1.1); opacity: .8; } }
@keyframes sp-draw { to { transform: scaleX(1); } }
@keyframes sp-hang {
  0% { transform: rotate(9deg); }
  30% { transform: rotate(-5deg); }
  55% { transform: rotate(2.5deg); }
  78% { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}
@keyframes sp-sway { 25% { transform: rotate(-2deg); } 60% { transform: rotate(1.2deg); } 100% { transform: rotate(0); } }
@keyframes sp-wiggle { 30% { transform: rotate(-16deg); } 60% { transform: rotate(12deg); } }

/* ---------- widths ---------- */
@media (max-width: 1023px) {
  .p-support .support-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
}
@media (max-width: 820px) {
  .p-support .support-story-grid { grid-template-columns: 1fr; }
  .p-support .sp-snapshot { width: min(78%, 320px); margin-top: 18px; }
}
@media (max-width: 700px) {
  .p-support .support-giving-grid { grid-template-columns: 1fr; gap: 64px; }
  .p-support .sp-line { display: none; }
  .p-support .sp-tag { min-height: 0; }
  .p-support .sp-tag-hole::before { height: 40px; }
  .p-support .sp-giving h2 { margin-bottom: 44px; }
}
@media (max-width: 560px) {
  .p-support .support-impact-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .p-support .sp-board .icon-tile { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; text-align: left; align-items: start; padding: 24px 18px 20px; }
  .p-support .sp-plot { width: 72px; height: 72px; grid-row: 1 / span 2; margin: 0; }
  .p-support .sp-plot img { width: 52px; }
  .p-support .sp-board .icon-tile h3 { font-size: 19px; }
  .p-support .support-give-banner .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .p-support .sp-tag .card-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 374px) {
  .p-support .sp-board { padding-inline: 14px; }
  .p-support .sp-board .icon-tile { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .p-support .sp-plot { grid-row: auto; margin-bottom: 12px; }
}
@media print {
  .p-support .sp-line, .p-support .sp-tape, .p-support .sp-pin, .p-support .sp-tag-hole { display: none; }
  .p-support .sp-tag, .p-support .sp-records .container { filter: none; }
}
@media (max-width: 560px) {
  .p-support .sp-board { padding: 32px 22px 26px; }
  .p-support .sp-board .icon-tile { --tilt: -.6deg; }
  .p-support .sp-board .icon-tile:nth-child(even) { --tilt: .6deg; }
}
/* One voice for the family story (Taylor, 2026-09-29: "this needs to be the same font"). */
.p-support .support-story-hero .support-story-copy p,
.p-support .support-story-hero .support-story-text p,
.p-support .support-story-hero .support-story-text p:first-child { font-family: var(--f-body); font-size: clamp(17.5px, 1.4vw, 19px); line-height: 1.65; font-weight: 400; color: var(--text); }
