/* ==========================================================================
   rc-support.css
   Version: 1.0.1
   Date: November 6, 2026
   Generated by Claude, session RC-SITE-DON-S1

   v1.0.1: RC-SITE-DON-S1, a phone-width fix found on the live preview page: the three links under "About your gift" ran off the right edge below about 500 px. One rule changed,
         in the 900 px block (.rcd-legal__links takes its own full line and may wrap). Nothing else changes.
   v1.0.0: the page's stylesheet.

   The Donate page at /support/ (page 5912): the [rc_support_page] shortcode, parts/support-page.php.
   Layout approved by the owner on 2026-11-06 (docs/living/sessions/site/rc-site-don-s1/RC_Donate_Page_Mockup.html).

   LOADED WITH rc-home.css. The module loader in rc-starter.php (v3.23) enqueues rc-home, then this file, wherever the shortcode renders. The band, heading, lead,
   pill-button, give-strip, event-row and wave rules come from rc-home.css unchanged (no parallel structures, lesson 7); this file holds only what that file does not.
   Every selector here starts with .rcd-support (the page's main element), so a rule cannot leak onto another page or lose to an element rule in the theme (lesson 60),
   and a rule that changes a primitive compounds the primitive's own classes, so it wins by true specificity and never by load order (lesson 272).

   Sections: 1 page scope, 2 intro, 3 chooser (featured card, group rows), 4 how it works, 5 other ways to give, 6 questions, 7 responsive, 8 reduced motion and forced colors.

   TOKENS: colours, faces and sizes come from rc-core.css :root and rc-home.css :root (--rch-ff-ui, --rch-radius-pill). Two literals are deliberate: #fff for a card
   fill, as rc-home.css uses it, and the H1 clamp below, a display-heading exception like the home page's (rem, so it follows the reader's text size, WCAG 1.4.4).

   CONTRAST (sRGB linearised, computed with the session's harness/contrast.py v1.1 (docs/living/sessions/site/rc-site-don-s1/harness/) on 2026-11-06 and re-derived independently by the
   accessibility audit, review r1; re-derive if a token moves, lesson 3): every text pair on this page is 4.92:1 or higher (the lowest is the cream label on the coral button; the next is 5.38:1). Two UI boundaries are below 3:1 and are recorded
   judgment calls, not defects: (a) the coral button's edge against the deep forest band and the featured card, 2.78:1 at rest (2.01:1 on hover), and (b) the light ghost pill's border,
   forest at 0.3 over white, 1.73:1, which outlines every Give pill and the other secondary buttons and which rc-home.css already tracks as F48. In both, the text label (4.92:1 on coral,
   15.15:1 on the ghost pills), not the edge, identifies the control. The group rows' hover edge is --rc-ui-border-light-hover (3.77:1). The borders of the rows, strips and question
   separators (1.2:1 to 1.9:1) are decoration; the control inside each row is the pill. Keyboard focus draws a 2px ring of 5.47:1 or more (canopy on white, mint and stone).
   ========================================================================== */

/* 1. Page scope --------------------------------------------------------- */
.rcd-support,
.rcd-support *,
.rcd-support *::before,
.rcd-support *::after { box-sizing: border-box; }
.rcd-support { display: block; font-family: var(--ff-body); font-size: var(--fs-700); font-weight: 400; line-height: 1.6; color: var(--rc-text); }
.rcd-support .rcd-ein { white-space: nowrap; }
/* A button that only works with the script stays hidden until the script shows it (no dead control without it). The attribute alone loses to .rch-btn's display. */
.rcd-support [hidden] { display: none; }

/* 2. Intro: deep forest band, a photograph, the wave at its foot filled with the next band ------ */
.rcd-support .rcd-intro { padding-top: 56px; }
.rcd-support .rcd-intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.rcd-support .rcd-intro__grid--solo { grid-template-columns: minmax(0, 1fr); }
.rcd-support .rcd-kicker { margin: 0 0 14px; font-family: var(--rch-ff-ui); font-size: var(--fs-500); font-weight: 600; letter-spacing: .02em; text-transform: capitalize; color: var(--rc-lichen); }
.rcd-support .rcd-h1 { margin: 0 0 18px; font-family: var(--ff-display); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.1; color: var(--rc-cream); text-wrap: balance; }
.rcd-support .rcd-intro .rch-lead { margin-bottom: 26px; font-size: var(--fs-800); }
.rcd-support .rcd-intro__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rcd-support .rcd-intro__legal { margin: 22px 0 0; max-width: 58ch; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-500); line-height: 1.55; color: var(--rc-on-dark-secondary); }
.rcd-support .rcd-intro__fig { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rc-forest); border: 1px solid var(--rc-ui-border-dark); border-radius: 14px; }
.rcd-support .rcd-intro__fig img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; }
/* The wave is the next band (mint) rising into this one; the base rule in rc-home.css fills it forest for the front page. */
.rcd-support .rch-wave.rcd-wave { fill: var(--rc-surface-pale-mint); }

/* 3. Chooser: a featured card for the network, then one row per group ---------------------- */
.rcd-support .rcd-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: 30px 32px; background: var(--rc-deep-forest); border-radius: 16px; }
.rcd-support .rcd-chip { display: inline-block; margin: 0 0 12px; padding: 3px 12px; font-family: var(--rch-ff-ui); font-size: var(--fs-400); font-weight: 600; line-height: 1.4; color: var(--rc-lichen); border: 1px solid rgba(var(--rc-lichen-rgb), 0.5); border-radius: var(--rch-radius-pill); }
.rcd-support .rcd-feature__title { margin: 0 0 8px; font-family: var(--rch-ff-ui); font-size: var(--fs-1000); font-weight: 700; line-height: 1.2; color: var(--rc-cream); }
.rcd-support .rcd-feature__text { margin: 0; max-width: 56ch; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-700); line-height: 1.6; color: var(--rc-on-dark-secondary); }
.rcd-support .rcd-feature__act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rcd-support .rcd-feature__note { margin: 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-500); line-height: 1.4; color: var(--rc-on-dark-secondary); }
.rcd-support .rcd-sub { margin: 40px 0 6px; font-family: var(--rch-ff-ui); font-size: var(--fs-900); font-weight: 700; line-height: 1.25; color: var(--rc-deep-forest); }
.rcd-support .rcd-sub-lead { margin: 0 0 18px; max-width: 62ch; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-700); line-height: 1.6; color: var(--rc-canopy); }
.rcd-support .rcd-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rcd-support .rcd-group { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid rgba(var(--rc-forest-rgb), 0.12); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.rcd-support .rcd-group:hover { border-color: var(--rc-ui-border-light-hover); box-shadow: 0 1px 0 rgba(var(--rc-forest-rgb), 0.06); }
.rcd-support .rcd-group__chip { display: flex; align-items: center; justify-content: center; align-self: start; width: 56px; height: 56px; background: var(--rc-fog); border-radius: 10px; font-family: var(--rch-ff-ui); font-size: var(--fs-500); font-weight: 700; letter-spacing: .02em; color: var(--rc-canopy); }
.rcd-support .rcd-group__name { margin: 0; font-family: var(--rch-ff-ui); font-size: var(--fs-800); font-weight: 700; line-height: 1.25; color: var(--rc-deep-forest); }
.rcd-support .rcd-group__place { margin: 2px 0 0; font-family: var(--rch-ff-ui); font-size: var(--fs-400); font-weight: 600; line-height: 1.4; color: var(--rc-canopy); }
.rcd-support .rcd-group__tag { margin: 6px 0 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-500); line-height: 1.5; color: var(--rc-on-pale-meta); }
/* The whole row is the target: the pill's link is stretched over the row. The link itself must stay unpositioned so that the row is the containing block of the stretched box;
   that is stated here, so it does not depend on .rch-btn never gaining a position in rc-home.css. */
.rcd-support .rcd-group__give { position: static; }
.rcd-support .rcd-group__give::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
/* Keyboard focus rings the whole row where the browser can say a row holds the focused link (:has). Where it cannot, the pill keeps the global ring from rc-core.css,
   so the pill's own outline is removed only inside this guard (WCAG 2.4.7 holds either way). */
@supports selector(:has(a)) {
	.rcd-support .rcd-group:has(.rcd-group__give:focus-visible) { outline: 2px solid var(--rc-canopy); outline-offset: 2px; }
	.rcd-support .rcd-group .rcd-group__give:focus-visible { outline: none; }
}
.rcd-support .rcd-groups__more { max-width: 70ch; margin: 20px 0 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-700); line-height: 1.6; color: var(--rc-text); }
.rcd-support .rcd-groups__more a { font-weight: 500; color: var(--rc-forest); }

/* 4. How it works: three step cards and the about-your-gift strip -------------------------- */
.rcd-support .rcd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 8px; padding: 0; list-style: none; }
.rcd-support .rcd-step { padding: 24px 22px 22px; background: var(--rc-surface-pale-mint); border: 1px solid rgba(var(--rc-forest-rgb), 0.12); border-radius: 14px; }
.rcd-support .rcd-step__num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 0 14px; background: var(--rc-moss); border-radius: 50%; font-family: var(--rch-ff-ui); font-size: var(--fs-500); font-weight: 700; color: var(--rc-deep-forest); }
.rcd-support .rcd-step__title { margin: 0 0 6px; font-family: var(--rch-ff-ui); font-size: var(--fs-800); font-weight: 700; line-height: 1.25; color: var(--rc-deep-forest); }
.rcd-support .rcd-step__text { margin: 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-600); line-height: 1.6; color: var(--rc-text); }
.rcd-support .rcd-step__text a { font-weight: 500; color: var(--rc-forest); }
.rcd-support .rch-give__shop.rcd-legal { align-items: flex-start; background: #fff; }
.rcd-support .rcd-legal > div:first-child { flex: 1 1 380px; min-width: 0; }
.rcd-support .rcd-legal__text { max-width: 72ch; margin: 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-600); line-height: 1.6; color: var(--rc-text); }
.rcd-support .rcd-legal__links { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 12px; }

/* 5. Other ways to give: the calendar's row card, with an icon in the fog chip ------------------ */
.rcd-support .rcd-ways__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rcd-support .rch-event.rcd-way { align-items: start; }
.rcd-support .rcd-way .rch-event__cal { display: flex; align-items: center; justify-content: center; height: 64px; color: var(--rc-canopy); }
.rcd-support .rcd-way .rch-event__cal svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcd-support .rcd-way .rch-event__title { margin: 2px 0 3px; color: var(--rc-deep-forest); }
.rcd-support .rcd-way .rch-event__when { line-height: 1.5; }
.rcd-support .rcd-way__act { margin: 10px 0 0; }
.rcd-support .rcd-way__act .rch-btn { padding: 9px 20px; font-size: var(--fs-500); }
.rcd-support .rcd-ways .rch-give__shop { background: #fff; }

/* 6. Questions: heading and lead on the left, the answers on the right --------------------------- */
.rcd-support .rcd-faqgrid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 12px 56px; align-items: start; }
.rcd-support .rcd-faqgrid .rch-lead { margin-bottom: 0; }
.rcd-support .rcd-faqgrid .rch-lead a { font-weight: 500; }
.rcd-support .rcd-faq { min-width: 0; }
.rcd-support .rcd-faq details { border-bottom: 1px solid rgba(var(--rc-forest-rgb), 0.15); }
.rcd-support .rcd-faq details:first-of-type { border-top: 1px solid rgba(var(--rc-forest-rgb), 0.15); }
.rcd-support .rcd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-family: var(--rch-ff-ui); font-size: var(--fs-800); font-weight: 700; line-height: 1.35; color: var(--rc-deep-forest); list-style: none; cursor: pointer; }
.rcd-support .rcd-faq summary::-webkit-details-marker { display: none; }
.rcd-support .rcd-faq summary::after { content: "+"; content: "+" / ""; display: flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--rc-fog); border-radius: 50%; font-family: var(--rch-ff-ui); font-size: var(--fs-900); font-weight: 700; line-height: 1; color: var(--rc-forest); }
.rcd-support .rcd-faq details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.rcd-support .rcd-faq summary:focus-visible { outline-offset: -2px; border-radius: 6px; }
.rcd-support .rcd-faq__a { max-width: 64ch; padding: 0 4px 20px; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-700); line-height: 1.65; color: var(--rc-text); }
.rcd-support .rcd-faq__a p { margin: 0 0 10px; }
.rcd-support .rcd-faq__a p:last-child { margin-bottom: 0; }
.rcd-support .rcd-faq__a a { font-weight: 500; color: var(--rc-forest); }
.rcd-support .rcd-thanks { max-width: 62ch; margin: 64px auto 0; text-align: center; }
.rcd-support .rcd-thanks p { margin: 0; font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-800); line-height: 1.65; color: var(--rc-canopy); }

/* 7. Responsive: the home page's own breakpoints (1024, 900, 768, 520) ----------------------------- */
@media (max-width: 1024px) {
	.rcd-support .rcd-groups { grid-template-columns: minmax(0, 1fr); }
	.rcd-support .rcd-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.rcd-support .rcd-intro__fig { max-width: 640px; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
	.rcd-support .rcd-faqgrid { grid-template-columns: minmax(0, 1fr); }
	.rcd-support .rcd-legal__links { flex: 1 1 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
	.rcd-support .rcd-feature { grid-template-columns: minmax(0, 1fr); }
	.rcd-support .rcd-ways__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
	.rcd-support .rcd-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
	.rcd-support .rcd-intro { padding-top: 40px; }
	.rcd-support .rcd-feature { padding: 24px 20px; }
	.rcd-support .rcd-group { grid-template-columns: 48px minmax(0, 1fr); padding: 14px; }
	.rcd-support .rcd-group__chip { width: 48px; height: 48px; }
	.rcd-support .rcd-group__tag { display: none; }
	.rcd-support .rcd-group__give { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
	.rcd-support .rcd-way.rch-event { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.rcd-support .rcd-way .rch-event__cal { height: 48px; }
	.rcd-support .rcd-way .rch-event__cal svg { width: 24px; height: 24px; }
	.rcd-support .rcd-intro__ctas .rch-btn,
	.rcd-support .rcd-feature__act .rch-btn { width: 100%; text-align: center; }
}

/* 8. Reduced motion and forced colors ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.rcd-support,
	.rcd-support * { transition: none !important; }
}
/* In forced colors the wave takes the system canvas like the home page's, so it is one with the band that follows. The featured card is held together by its dark fill alone, which
   forced colors remove, so it is outlined there like the group rows and the step cards. */
@media (forced-colors: active) {
	.rcd-support .rch-wave.rcd-wave { fill: Canvas; }
	.rcd-support .rcd-feature { border: 1px solid CanvasText; }
}
