/* ============================================================
   /programs, rebuilt 2026-09-24 to More Better's programs frame
   (Figma s3OB1YtX1ctalxmNGbm2gN, 3350:14100) and the programs-form
   slide-in (3433:10263). Behaviour (panel, accordion) follows her hosted
   mock-up spinehope-programs.html. 1512 artboard values; layouts collapse
   at the shared 1100 / 720 / 640 breakpoints. Hand-drawn edges use the
   #sh-wavy filter the shared footer carries.
   ============================================================ */

.pg-arrow { width: 20px; height: 20px; flex: none; }

/* ---- Hero (3724:19282): Sunny slab, copy left, blob and three tilted photos right ---- */
.pg-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 48px;
  padding: 144px 112px 40px;
  background: var(--sunny, #FFD100);
  border-radius: 0 0 32px 32px;
}
.pg-hero::after {
  content: ""; position: absolute; inset: 0 0 -5px; border-radius: 0 0 34px 34px;
  border: 5px solid var(--sunny, #FFD100); border-top: 0;
  pointer-events: none; filter: url(#sh-wavy); z-index: -1;
}
.pg-hero-copy { flex: 0 1 664px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pg-hero-title {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(38px, 4.3vw, 64px); line-height: 1.1; letter-spacing: -.75px;
  color: var(--carbon, #28201C); margin: 0;
}
.pg-hero-sub {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500;
  font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; color: var(--carbon, #28201C); margin: 0;
}
/* Art box is 585 x 562 in the frame; every child is placed in % of it. */
.pg-hero-art { position: relative; flex: 0 1 585px; min-width: 0; aspect-ratio: 585 / 562; margin-left: auto; }
.pg-hero-blob { position: absolute; left: 7.18%; top: 0; width: 92.82%; height: 99.5%; display: block; }
.pg-polaroid {
  position: absolute; margin: 0;
  background: #fff; border: 1.7px solid #fff; border-radius: 6.8px; padding: 5px;
  box-shadow: 0 37px 37px rgba(10,13,18,.18), 0 6px 3px rgba(10,13,18,.04);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.pg-polaroid img { display: block; width: 100%; aspect-ratio: 17 / 18; object-fit: cover; border-radius: 2.5px; }
.pg-polaroid--top   { left: 33.2%; top: 1%;    width: 32.3%; transform: rotate(-4.59deg); }
.pg-polaroid--left  { left: 4.1%;  top: 39%;   width: 30.7%; transform: rotate(-2.3deg); }
.pg-polaroid--right { left: 60.4%; top: 43%;   width: 30.8%; transform: rotate(4.37deg); }
.pg-polaroid--top img { border-radius: 14px; }
.pg-hero-art:hover .pg-polaroid--top   { transform: rotate(-2deg) translateY(-4px); }
.pg-hero-art:hover .pg-polaroid--left  { transform: rotate(-1deg) translateY(-4px); }
.pg-hero-art:hover .pg-polaroid--right { transform: rotate(2deg) translateY(-4px); }

/* ---- Three pillars + tab bar (3237:16557) ---- */
.pg-overview { padding: 40px 104px; background: #fff; }
.pg-overview-inner {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  /* The frame's 1px Magnolia outline read as a stray box at 1440; it keeps
     its 1px of room so nothing moves. */
  border: 1px solid transparent; border-radius: 16px; padding: 0 0 1px;
}
.pg-overview-title {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(34px, 4.3vw, 64px); line-height: 1.1; letter-spacing: -.75px;
  color: var(--carbon, #28201C); margin: 0; text-align: center;
}
.pg-tabs {
  display: inline-flex; align-items: center; gap: 8px; padding: 2px;
  background: #fff; border: 1px solid var(--neutral-300, #E5E1D8); border-radius: 9999px;
  box-shadow: 0 6px 6px rgba(0,0,0,.08), 0 2px 1px rgba(0,0,0,.06), inset 0 -1px 2px rgba(0,0,0,.1), inset 0 1px 2px rgba(255,255,255,.4);
  max-width: 100%;
}
.pg-tab {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 4px 12px;
  border: 1px solid transparent; border-radius: 9999px;
  font-family: 'Work Sans', system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.6;
  color: var(--neutral-600, #5C534D); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pg-tab:hover { color: var(--carbon, #28201C); background: var(--magnolia, #FDF9F1); }
.pg-tab.is-active {
  background: var(--sunny, #FFD100); border-color: var(--sunny-300, #FDE577);
  color: var(--carbon, #28201C); font-weight: 600; padding: 4px 8px;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.1), inset 0 1px 2px rgba(255,255,255,.4);
}
.pg-tab:focus-visible { outline: 2px solid var(--carbon, #28201C); outline-offset: 2px; }

/* ---- Program sections (3361:15479 / 15529 / 15506) ---- */
.pg-sec { padding: 96px 104px; background: #fff; display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 110px; }
.pg-row { display: flex; align-items: center; gap: 64px; }
.pg-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pg-h2 {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(36px, 4.3vw, 64px); line-height: 1.1; letter-spacing: -.75px;
  color: var(--carbon, #28201C); margin: 0;
}
.pg-body { font-size: 20px; line-height: 1.6; color: var(--neutral-600, #5C534D); margin: 0; }
.pg-fine { font-size: 14px; line-height: 1.6; color: var(--neutral-600, #5C534D); margin: -12px 0 0; }
.pg-btns { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.pg-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.pg-btn-row > .btn, .pg-btns > .btn { width: 100%; }
.pg-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 16px; border-radius: 9999px;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.6;
  color: var(--carbon, #28201C); transition: background .15s ease;
}
.pg-link:hover { background: rgba(0,0,0,.05); }
.pg-link:focus-visible { outline: 2px solid var(--carbon, #28201C); outline-offset: 2px; }
.pg-photo { flex: 0 1 624px; min-width: 0; aspect-ratio: 624 / 480; border: 4px solid var(--neutral-200, #F1EDE5); border-radius: 24px; overflow: hidden; }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ecuador / Nicaragua site cards */
.pg-sites { flex: 1 1 0; min-width: 0; display: flex; gap: 24px; }
.pg-site {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 20px;
  background: #fff; border: 1px solid var(--neutral-300, #E5E1D8); border-radius: 24px;
  box-shadow: 0 4px 3px rgba(10,13,18,.1), 0 2px 2px rgba(10,13,18,.06);
  color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.pg-site:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10,13,18,.12); }
.pg-site:focus-visible { outline: 2px solid var(--carbon, #28201C); outline-offset: 2px; }
.pg-site-img { height: 200px; border-radius: 16px; overflow: hidden; }
.pg-site-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.pg-site:hover .pg-site-img img { transform: scale(1.03); }
.pg-site h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--carbon, #28201C); margin: 0 0 8px; }
.pg-site p { font-size: 18px; line-height: 1.6; color: var(--neutral-600, #5C534D); margin: 0; }

/* Next mission: the design's yellow band (3361:15498) */
.pg-next {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end; gap: 12px; padding: 40px;
  background: var(--sunny-200, #FCECA4); border-radius: 24px;
}
.pg-next::after {
  content: ""; position: absolute; inset: -2px; border-radius: 26px;
  border: 5px solid var(--sunny-50, #FBF7E7); pointer-events: none; filter: url(#sh-wavy);
}
.pg-next-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pg-next h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--carbon, #28201C); margin: 0; }
.pg-next p { font-size: 18px; line-height: 1.6; color: var(--carbon, #28201C); margin: 0; }
.pg-next .btn { flex: none; }
/* Two stacked actions (3773:12343): the yellow button, then a white Learn More as wide as it. */
.pg-next-btns { flex: none; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.pg-next-btns > * { justify-content: center; }
.pg-next-btns .d-btn-light { font-size: 16px; line-height: 1.6; padding: 12px 16px; }
/* Country cards end with a centred text link (3757:11514); the whole card is the link. */
.pg-site-more { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; font: 600 16px/1.6 'Work Sans', system-ui, sans-serif; color: var(--carbon, #28201C); }
.pg-site-more svg { width: 16px; height: 16px; flex: none; }

/* ---- From first evaluation to lasting capacity (3361:15551) ---- */
.pg-steps-sec { padding: 40px 36px; background: #fff; }
.pg-steps-box { background: var(--magnolia, #FDF9F1); border-radius: 16px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pg-steps-title {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.5px;
  color: var(--carbon, #28201C); margin: 0; text-align: center; max-width: 559px;
}
.pg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.pg-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 42px; }
.pg-step img { width: 142px; height: 142px; object-fit: contain; display: block; }
.pg-step h3 { font-family: 'Work Sans', system-ui, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.6; color: var(--grass-900, #2D3113); margin: 10px 0 10px; }
.pg-step p { font-size: 16px; line-height: 1.6; color: var(--grass-900, #2D3113); margin: 0; }

/* ---- Volunteer with us (3400:9228): Grass band ---- */
.pg-vol-sec { padding: 40px 36px; background: #fff; }
/* Grass card with the hand-drawn ring in its own colour (3908:11703). */
.pg-vol { position: relative; isolation: isolate; background: var(--grass, #A7C434); border-radius: 16px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.pg-vol::after {
  content: ""; position: absolute; inset: -2px; border-radius: 18px;
  border: 5px solid var(--grass, #A7C434); pointer-events: none; filter: url(#sh-wavy); z-index: -1;
}
.pg-vol h2 {
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(32px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.5px; color: var(--carbon, #28201C); margin: 0;
}
.pg-vol p { font-weight: 600; font-size: 20px; line-height: 1.6; color: var(--grass-950, #1F200F); margin: 0; max-width: 1170px; }
.pg-vol .d-btn-dark { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; cursor: pointer; }

/* ---- Info section: one open answer at a time, animated (her mock-up) ---- */
.pg-info-sec .d-faq-a { overflow: hidden; }

/* ---- Slide-in interest panel (3433:10263) ---- */
.pg-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; justify-content: flex-end; align-items: flex-start; padding: 16px;
  background: linear-gradient(to bottom, rgba(40,32,28,.2), rgba(40,32,28,.8));
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.pg-modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.pg-panel {
  width: 560px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--neutral-300, #E5E1D8); border-radius: 24px;
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: translateX(24px); transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.pg-modal.is-open .pg-panel { transform: none; }
.pg-panel-head { display: flex; align-items: center; justify-content: space-between; }
.pg-panel-close {
  width: 48px; height: 48px; border-radius: 9999px; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; color: var(--carbon, #28201C); cursor: pointer;
}
.pg-panel-close:hover { background: var(--neutral-200, #F1EDE5); }
.pg-panel-close:focus-visible { outline: 2px solid var(--carbon, #28201C); outline-offset: 2px; }
.pg-panel-close svg { width: 20px; height: 20px; }
.pg-panel-title { display: flex; flex-direction: column; gap: 12px; }
.pg-panel-title h2 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--carbon, #28201C); margin: 0; }
.pg-panel-title p { font-size: 16px; line-height: 1.6; color: var(--carbon, #28201C); opacity: .7; margin: 0; }
.pg-form { display: flex; flex-direction: column; gap: 24px; }
.pg-fields { display: flex; flex-direction: column; gap: 16px; }
.pg-field { display: flex; flex-direction: column; gap: 4px; }
.pg-field label { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--carbon, #28201C); }
.pg-field input, .pg-field textarea {
  width: 100%; box-sizing: border-box; padding: 16px 20px;
  border: 1px solid var(--neutral-400, #D0C4B8); border-radius: 9999px; background: #fff;
  font-family: 'Work Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.6; color: var(--carbon, #28201C);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pg-field textarea { height: 120px; border-radius: 12px; resize: vertical; }
.pg-field input::placeholder, .pg-field textarea::placeholder { color: var(--neutral-600, #5C534D); }
.pg-field input:focus, .pg-field textarea:focus { outline: none; border-color: var(--grass-600, #859B2B); box-shadow: 0 0 0 3px rgba(167,196,52,.3); }
.pg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pg-form .btn { width: 100%; }
.pg-form-status { font-size: 14px; line-height: 1.5; color: var(--error-text, #B42318); margin: -12px 0 0; min-height: 0; }
.pg-form-status:empty { display: none; }
.pg-done { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--grass-50, #F5F6EB); border-radius: 16px; }
.pg-done h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 24px; margin: 0; color: var(--carbon, #28201C); }
.pg-done p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--carbon, #28201C); }
.pg-panel hr { border: 0; height: 1px; background: var(--neutral-300, #E5E1D8); margin: 0; }
.pg-bookcall {
  display: flex; flex-direction: column; gap: 20px; padding: 40px 16px;
  background: #fff; border: 3px solid var(--magnolia, #FDF9F1); border-radius: 24px;
  box-shadow: 0 1px 1.5px rgba(10,13,18,.1), 0 1px 1px rgba(10,13,18,.1);
}
.pg-bookcall-profile { display: flex; gap: 20px; align-items: flex-start; }
.pg-bookcall-avatar { width: 107px; height: 107px; border-radius: 50%; overflow: hidden; flex: none; }
.pg-bookcall-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.pg-bookcall h3 { font-family: 'Work Sans', system-ui, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.6; margin: 0 0 8px; color: var(--carbon, #28201C); }
.pg-bookcall p { font-size: 16px; line-height: 1.6; color: var(--carbon, #28201C); opacity: .7; margin: 0; }
.pg-bookcall-btns { display: flex; gap: 20px; }
.pg-bookcall-btns > * { flex: 1 1 0; justify-content: center; }
.pg-bookcall-btns .d-btn-dark { font-size: 16px; padding: 8px 20px; }
.pg-bookcall-btns .btn { min-height: 0; font-size: 16px; padding: 8px 20px; }
.pg-bookcall-btns svg { width: 16px; height: 16px; }

/* ---- Breakpoints ---- */
@media (max-width: 1100px) {
  .pg-hero { flex-direction: column; align-items: stretch; padding: 168px 40px 40px; gap: 32px; }
  .pg-hero-copy { flex: none; }
  .pg-hero-art { flex: none; width: min(100%, 520px); margin: 0 auto; }
  .pg-overview { padding: 40px; }
  .pg-sec { padding: 72px 40px; }
  .pg-row { flex-direction: column; align-items: stretch; gap: 40px; }
  .pg-row--media-first .pg-photo { order: -1; }
  .pg-photo { flex: none; }
  .pg-sites { flex: none; }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pg-step { padding: 0 16px; }
}
@media (max-width: 720px) {
  .pg-tabs { flex-wrap: wrap; justify-content: center; border-radius: 24px; }
  .pg-tab { height: 40px; }
  .pg-sites { flex-direction: column; }
  .pg-next { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .pg-btn-row { grid-template-columns: 1fr; }
  .pg-bookcall-btns { flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .pg-hero { padding: 132px 16px 32px; border-radius: 0 0 24px 24px; }
  .pg-overview { padding: 32px 16px; }
  .pg-sec { padding: 56px 16px; gap: 28px; }
  .pg-body { font-size: 17px; }
  .pg-btn-row > .btn, .pg-btns > .btn, .pg-next .btn { white-space: normal; text-align: center; }
  .pg-steps-sec, .pg-vol-sec { padding: 24px 16px; }
  .pg-steps-box, .pg-vol { padding: 32px 20px; }
  .pg-steps { grid-template-columns: 1fr; }
  .pg-step img { width: 110px; height: 110px; }
  .pg-vol p { font-size: 17px; }
  .pg-vol .d-btn-dark { white-space: normal; text-align: center; justify-content: center; }
  .pg-modal { padding: 8px; }
  .pg-panel { padding: 24px 20px; max-height: calc(100vh - 16px); }
  .pg-bookcall-profile { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-polaroid, .pg-site, .pg-site-img img, .pg-panel, .pg-modal { transition: none; }
}
.pg-modal[hidden] { display: none; }

/* The steps heading balances (theme.css default): a greedy override left
   "capacity" alone on its last line at 1280. The other headings keep the
   frame's greedy wrap above phone width; on phones every heading balances. */
@media (min-width: 721px) { .pg-hero-title, .pg-h2, .pg-overview-title { text-wrap: wrap; } }

/* Info section (Figma 3377:17384): 80px gutters, compact call-card buttons. */
.pg-info-sec { padding-left: 80px; padding-right: 80px; }
.pg-info-sec .d-callcard { padding: 40px 16px; }
.pg-info-sec .d-callcard-btns { gap: 20px; flex-wrap: nowrap; }
.pg-info-sec .d-callcard-btns .btn { gap: 8px; }
.pg-arrow-sm { width: 16px; height: 16px; flex: none; }
.pg-info-sec .d-faq summary { font-size: 18px; }
@media (max-width: 1100px) { .pg-info-sec { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 640px) { .pg-info-sec { padding-left: 16px; padding-right: 16px; } .pg-info-sec .d-callcard-btns { flex-wrap: wrap; } }

/* Visible keyboard focus on this page's buttons (the theme bevel shadow hides
   its ring). Carbon, 2px off: Grass 600 was too faint on the Sunny, Grass and
   Magnolia surfaces (for example the button in the green volunteer band). */
:is(.pg-sec, .pg-vol-sec, .pg-info-sec, .pg-modal, .d-givex) :is(.btn, .d-btn-dark, .d-gcard):focus-visible { outline: 2px solid var(--carbon, #28201C); outline-offset: 2px; box-shadow: none; }

/* ---- Info section polish (Figma 3377:17384, fidelity pass 2026-09-24) ----
   80px padding all round and a 400px left column (402 with its ring) so the
   accordion starts at x560 and runs 872px. Heading 44px, intro 18px at 70%.
   Call card and the open question carry a 3px Neutral 200 hand-drawn ring
   (.wavy-edge in the markup), 12px radius. Collapsed rows are 80px tall with
   the question inset 19px; the toggle is a Sunny disc with Figma's thin
   Magnolia plus / minus. */
.pg-info-sec { padding: 80px; }
/* Markup order is heading, questions, call card (the phone order, so Tab
   follows what is drawn). On desktop a grid puts the card back under the
   heading in the 400px left column, with the questions beside both. */
.pg-info-sec .d-info { display: grid; grid-template-columns: 400px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 80px; row-gap: 32px; align-items: start; }
.pg-info-sec .d-info > .d-headline { grid-column: 1; grid-row: 1; }
.pg-info-sec .d-info > .d-callcard { grid-column: 1; grid-row: 2; }
.pg-info-sec .d-info > .d-faqs { grid-column: 2; grid-row: 1 / span 2; }
.pg-info-sec .d-headline .d-h3 { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.1; letter-spacing: 0; }
.pg-info-sec .d-headline .d-body { font-size: 18px; color: var(--carbon, #28201C); opacity: .7; }
.pg-info-sec .d-callcard {
  --wavy-color: var(--neutral-200, #F1EDE5);
  border-color: var(--neutral-200, #F1EDE5); border-radius: 12px;
  padding: 40px 16px; gap: 8px;
  box-shadow: 0 1px 1.5px rgba(10,13,18,.1), 0 1px 1px rgba(10,13,18,.1);
}
.pg-info-sec .d-callcard h3 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.5px; }
.pg-info-sec .d-callcard p { color: var(--carbon, #28201C); opacity: .7; }
/* Every row, open or closed, carries the Neutral 200 hand-drawn edge (the
   closed rows had a white ring, which left faint broken marks). */
.pg-info-sec .d-faq {
  --wavy-color: var(--neutral-200, #F1EDE5); border-color: var(--neutral-200, #F1EDE5);
  border-radius: 12px; padding: 21px 16px;
  box-shadow: 0 1px 1.5px rgba(10,13,18,.1), 0 1px 1px rgba(10,13,18,.1);
}
.pg-info-sec .d-faq[open] { --wavy-color: var(--neutral-200, #F1EDE5); border-color: var(--neutral-200, #F1EDE5); padding: 40px 16px; }
/* The helper's ring is placed from the padding box; push it past the 3px border. */
.pg-info-sec :is(.d-faq, .d-callcard).wavy-edge::after { inset: -5px; border-radius: 14px; }
.pg-info-sec .d-faq summary { line-height: 1.6; }
.pg-info-sec .d-faq summary::after {
  content: ""; background: var(--sunny, #FFD100) url(/assets/images/design/about-programs/faq-plus.svg) center / 20px 20px no-repeat;
}
.pg-info-sec .d-faq[open] summary::after { content: ""; background-image: url(/assets/images/design/about-programs/faq-minus.svg); }
.pg-info-sec .d-faq-a { margin-top: 8px; }
.pg-info-sec .d-faq-a p { color: var(--carbon, #28201C); opacity: .7; }
@media (max-width: 1100px) {
  .pg-info-sec { padding: 72px 40px; }
  .pg-info-sec .d-info { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
}
@media (max-width: 640px) {
  .pg-info-sec { padding: 56px 16px; }
  .pg-info-sec .d-faq[open] { padding: 28px 16px; }
}

/* Section badges carry the hand-drawn ring in their own fill (3361:15532, 3645:11293). */
.d-badge--grass.wavy-edge { --wavy-color: var(--grass, #A7C434); }
.d-badge--sunny.wavy-edge { --wavy-color: var(--sunny, #FFD100); }
/* US Hub (3361:15531): the white "Additional Forms" button uses the H6 face,
   and the stay note is Body Small in Neutral 500. */
.pg-btn-row > .btn-secondary { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 500; }
.pg-fine { color: var(--neutral-500, #6F6762); }

/* ============================================================
   Phone frame "Programs - Mobile" (Figma WmKUes42Xq4m4lJ956wuwe,
   3809:32926, 375 wide), 2026-10-02. 24px gutters. Mobile type:
   H3 36/1.2 -0.5px, H5 28/1.25, H7 22/1.3, Body 16, Body Small 14.
   ============================================================ */
@media (max-width: 720px) {
  /* Hero (3809:32927). The hand-drawn ring now overlaps the slab by 6px, so
     its displaced edge can no longer open a white hairline along the bottom. */
  .pg-hero { padding: 160px 24px 40px; gap: 24px; border-radius: 0 0 32px 32px; }
  .pg-hero::after { inset: 0 0 -5px; border-width: 0 5px 11px; }
  .pg-hero-copy { gap: 16px; }
  .pg-hero-title { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; }
  .pg-hero-sub { font-size: 22px; line-height: 1.3; }
  .pg-hero-art { width: 100%; }

  /* Three pillars (3809:32950): heading on open white, the tabs one line
     that scrolls sideways, no pill container. */
  .pg-overview { padding: 40px 24px; }
  .pg-overview-inner { gap: 16px; padding: 0; border: 0; align-items: stretch; }
  .pg-overview-title { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; }
  .pg-tabs {
    display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 8px;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    max-width: none; margin-inline: -24px; padding: 9px 24px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pg-tabs::-webkit-scrollbar { display: none; }
  .pg-tab { flex: none; height: 34px; padding: 4px 12px; }
  .pg-tab.is-active { padding: 4px 8px; }

  /* Program sections */
  .pg-sec { padding: 48px 24px; gap: 16px; }
  .pg-sec#global-outreach { padding: 64px 24px; }
  .pg-row { gap: 16px; }
  .pg-copy { gap: 16px; }
  .pg-h2 { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; }
  .pg-body { font-size: 16px; }
  .pg-btns, .pg-btn-row { gap: 12px; }
  .pg-btn-row { grid-template-columns: 1fr; }
  .pg-btn-row > .btn, .pg-btns > .btn, .pg-next .btn { white-space: nowrap; font-size: 16px; min-height: 53px; padding: 12px 16px; }
  .pg-btn-row > .btn-secondary { font-size: 16px; min-height: 56px; }
  .pg-link { min-height: 56px; padding: 12px 16px; }
  /* Global Outreach "Learn More" is the white outlined pill (3809:33004). */
  #global-outreach .pg-link {
    background: #fff; border: 1px solid var(--neutral-300, #E5E1D8);
    box-shadow: 0 6px 6px rgba(0,0,0,.08), 0 2px 1px rgba(0,0,0,.06), inset 0 -1px 2px rgba(0,0,0,.1), inset 0 1px 2px rgba(255,255,255,.4);
  }
  .pg-fine { font-size: 14px; margin: 0; }
  .pg-photo { aspect-ratio: 327 / 245; border-radius: 24px; }
  /* Ecuador / Nicaragua cards (3809:33011) */
  .pg-sites { gap: 16px; }
  .pg-site { padding: 16px; gap: 12px; box-shadow: 0 4px 6px -1px rgba(10,13,18,.1), 0 2px 4px -2px rgba(10,13,18,.06); }
  .pg-site-img { height: 205px; }
  .pg-site h3 { font-size: 28px; margin: 0 0 4px; }
  .pg-site p { font-size: 14px; }
  /* Next mission (3809:33035) */
  .pg-next { flex-direction: column; align-items: stretch; gap: 16px; padding: 27px; }
  .pg-next-copy { gap: 16px; }
  .pg-next h3 { font-size: 22px; line-height: 1.3; }
  .pg-next p { font-size: 16px; }
  .pg-next .btn { width: 100%; justify-content: center; }
  .pg-next-btns { width: 100%; }
  .pg-next-btns .d-btn-light { min-height: 53px; padding: 12px 16px; }

  /* From first evaluation to lasting capacity (3809:33099): a sideways
     scroller of 236px white cards on the Magnolia box. */
  .pg-steps-sec { padding: 40px 24px 0; }
  .pg-steps-box { padding: 16px; gap: 16px; align-items: stretch; }
  .pg-steps-title { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; max-width: none; }
  .pg-steps {
    display: flex; flex-wrap: nowrap; gap: 16px; align-items: stretch;
    width: auto; align-self: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
  }
  .pg-step { flex: 0 0 236px; scroll-snap-align: start; background: #fff; border-radius: 16px; padding: 16px; }
  .pg-step img { width: 142px; height: 142px; }
  .pg-step h3 { font-size: 18px; margin: 12px 0; }
  .pg-step p { font-size: 14px; }
  .pg-steps-box .sc-dots { margin-top: 4px; margin-bottom: 8px; }

  /* Volunteer with us (3908:11730): Grass card with the hand-drawn edge. */
  .pg-vol-sec { padding: 16px 24px 40px; }
  .pg-vol { padding: 40px 22px; gap: 24px; border-radius: 24px; }
  .pg-vol::after { border-radius: 26px; }
  .pg-vol h2 { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; max-width: 7em; }
  .pg-vol p { font-size: 16px; }
  .pg-vol .d-btn-dark { width: 100%; justify-content: center; white-space: nowrap; font-size: 16px; padding: 12px 12px; }

  /* Questions (3809:33170): every row is a card with the Neutral 200
     hand-drawn edge and a Carbon toggle; the call card follows the rows. */
  .pg-info-sec { padding: 40px 24px; }
  .pg-info-sec .d-info { gap: 16px; }
  .pg-info-sec .d-headline { gap: 8px; }
  .pg-info-sec .d-headline .d-h3 { font-size: 36px; line-height: 1.2; letter-spacing: -.5px; }
  .pg-info-sec .d-headline .d-body { font-size: 16px; }
  .pg-info-sec .d-faqs { gap: 8px; }
  .pg-info-sec .d-faq, .pg-info-sec .d-faq[open] { --wavy-color: var(--neutral-200, #F1EDE5); border-color: var(--neutral-200, #F1EDE5); }
  .pg-info-sec .d-faq { padding: 8px 16px; }
  .pg-info-sec .d-faq:not([open]) summary { min-height: 58px; }
  .pg-info-sec .d-faq[open] { padding: 40px 16px; }
  .pg-info-sec .d-faq summary { font-size: 18px; }
  .pg-info-sec .d-faq summary::after { background-color: var(--carbon, #28201C); }
  .pg-info-sec .d-callcard { border-radius: 24px; padding: 40px 16px; gap: 20px; }
  .pg-info-sec .d-callcard.wavy-edge::after { border-radius: 26px; }
  .pg-info-sec .d-callcard p { font-size: 16px; }
  /* "Book Call" and "Meet Art" side by side, one line each. */
  .pg-info-sec .d-callcard-btns { flex-wrap: nowrap; gap: 20px; }
  .pg-info-sec .d-callcard-btns .btn { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 8px 10px; white-space: nowrap; font-size: 16px; }
}
