/*
 * Foundation Donate page-scoped composition - OFF-WHITE REGISTER.
 * Ports prototypes/6/21-foundation-donate.html (Surface 21) into the theme.
 *
 * Foundation-cluster surface (sibling to foundation-home / foundation-our-impact /
 * foundation-gala / foundation-grants / foundation-five-species / foundation-about).
 * Reuses the v6 Off-White token register VALUES verbatim from foundation-about.css.
 * The register is scoped onto the .rhinory-foundation-donate wrapper (NOT :root) so
 * it is self-contained and cannot disturb the dark Reserve-cool wine-side tokens
 * (--rhinory-*). Shared chrome (.fh-marque / .found-bar / .found-status /
 * .imp-eyebrow / .imp-credibility) is carried here re-scoped to this wrapper,
 * because the other foundation CSS files are gated on other pages and do not load
 * here. The page-local .don-* vocabulary is ported from the prototype's inline
 * <style>. The .side-nav / .snv-* scroll-spy rail is styled by the global theme
 * stylesheet (style.css) and shared site-wide.
 *
 * This is the Foundation Donate surface; the load-bearing element is an external
 * Zeffy donation-form iframe embed (NOT a Commerce7 PDP).
 *
 * Brand-fact contrast (a11y pass carried from prototype): gold fails AA on cream,
 * so accents + emphasized heading <em> use Reserve Green; Texas Gold is reserved
 * for figures / scarcity / rules. Em-dashes do not appear in this file (brand hard
 * prohibition); en-dash ranges are de-dashed.
 *
 * Brief docs/briefs/2026-06-02-port-21-foundation-donate.md.
 */

.rhinory-foundation-donate {
	/* v6 Off-White token register, scoped to this surface. */
	--off-white: #F3F2ED;
	--texas-gold: #B97727;
	--texas-gold-2: #D89248;
	--gold-soft: #E0B96A;
	--tonal-black: #24272A;
	--rich-black: #1C0F1C;
	--ink: #0A0807;
	--acacia: #C5913A;
	--accent-green: #1F4F37;
	--rule-v6: rgba(36, 39, 42, 0.14);
	--rule-strong-v6: rgba(36, 39, 42, 0.32);
	--muted-v6: rgba(36, 39, 42, 0.74);
	--ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-body: "Inter Tight", system-ui, -apple-system, sans-serif;
	--ff-mono: "JetBrains Mono", ui-monospace, monospace;

	background: var(--off-white);
	color: var(--tonal-black);
	font-family: var(--ff-body);
	line-height: 1.62;
}

.rhinory-foundation-donate picture { display: contents; }
.rhinory-foundation-donate a { color: inherit; text-decoration: none; }

/* ===== FOUNDATION TICKER ===== */
.rhinory-foundation-donate .fh-marque {
	background: var(--tonal-black); color: var(--off-white);
	border-top: 1px solid var(--rule-v6); border-bottom: 1px solid var(--rule-v6);
	overflow: hidden; white-space: nowrap; padding: 11px 0;
}
.rhinory-foundation-donate .fh-marque-track {
	display: inline-flex; align-items: center; gap: 0;
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
	text-transform: uppercase; animation: fdMarque 52s linear infinite;
}
.rhinory-foundation-donate .fh-marque-track > span { padding: 0 4px; }
.rhinory-foundation-donate .fh-marque-track .sep { color: var(--texas-gold-2); padding: 0 18px; }
@keyframes fdMarque { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rhinory-foundation-donate .fh-marque-track { animation: none; } }

/* ===== STICKY FOUNDATION BAR ===== */
.rhinory-foundation-donate .found-bar {
	position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%);
	z-index: 60; display: flex; align-items: center; gap: 14px;
	background: var(--off-white); border: 1px solid var(--texas-gold);
	box-shadow: 0 18px 46px -22px rgba(28, 15, 28, 0.5);
	padding: 12px 14px 12px 20px; max-width: calc(100vw - 32px);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.rhinory-foundation-donate .found-bar.show { transform: translateX(-50%) translateY(0); }
.rhinory-foundation-donate .found-bar .label {
	font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--muted-v6);
}
.rhinory-foundation-donate .found-bar a {
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em;
	text-transform: uppercase; font-weight: 500; padding: 11px 16px; white-space: nowrap;
}
.rhinory-foundation-donate .found-bar a.donate { background: var(--texas-gold); color: var(--ink); }
.rhinory-foundation-donate .found-bar a.donate:hover { background: var(--tonal-black); color: var(--off-white); }
.rhinory-foundation-donate .found-bar a.shop { color: var(--tonal-black); }
.rhinory-foundation-donate .found-bar a.shop:hover { color: var(--accent-green); }
@media (max-width: 760px) {
	.rhinory-foundation-donate .found-bar .label { display: none; }
	.rhinory-foundation-donate .found-bar { gap: 6px; padding: 8px 8px 8px 14px; }
	.rhinory-foundation-donate .found-bar a { font-size: 10px; padding: 9px 12px; }
}

/* ===== STATUS LINE ===== */
.rhinory-foundation-donate .found-status { background: var(--off-white); padding: 22px 0; border-bottom: 1px solid var(--rule-v6); }
.rhinory-foundation-donate .found-status-inner {
	max-width: 1280px; margin: 0 auto; padding: 0 40px;
	display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
	font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--tonal-black);
}
.rhinory-foundation-donate .found-status-inner .green,
.rhinory-foundation-donate .found-status-inner .gold { color: var(--accent-green); font-weight: 500; }
.rhinory-foundation-donate .found-status-inner .sep { color: var(--muted-v6); margin: 0 8px; }

/* ===== SHARED IMP EYEBROW ===== */
.rhinory-foundation-donate .imp-eyebrow {
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.24em;
	text-transform: uppercase; color: var(--accent-green); font-weight: 500;
	display: inline-flex; align-items: center; gap: 14px;
}
.rhinory-foundation-donate .imp-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.rhinory-foundation-donate .imp-eyebrow.gold { color: var(--accent-green); }

/* ===== HERO (donation-first, minimal) ===== */
.rhinory-foundation-donate .don-hero {
	position: relative; background: var(--off-white); color: var(--tonal-black);
	padding: 96px 0 56px; overflow: hidden;
}
.rhinory-foundation-donate .don-hero-inner { max-width: 880px; margin: 0 auto; padding: 0 40px; text-align: center; }
.rhinory-foundation-donate .don-hero .badge {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--accent-green); font-weight: 500;
}
.rhinory-foundation-donate .don-hero .badge::before,
.rhinory-foundation-donate .don-hero .badge::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--accent-green); opacity: .7; }
.rhinory-foundation-donate .don-hero h1 {
	font-family: var(--ff-display); font-style: italic; font-weight: 300;
	font-size: clamp(58px, 7.4vw, 108px); line-height: .98; letter-spacing: -0.012em;
	color: var(--tonal-black); margin: 28px auto 24px; max-width: 14ch; text-wrap: balance;
}
.rhinory-foundation-donate .don-hero h1 em { color: var(--accent-green); font-style: italic; font-weight: 300; }
.rhinory-foundation-donate .don-hero p.intro {
	max-width: 62ch; margin: 0 auto;
	font-size: 17px; line-height: 1.78; color: var(--tonal-black);
}
.rhinory-foundation-donate .don-hero p.intro strong { color: var(--accent-green); font-weight: 500; }
.rhinory-foundation-donate .don-hero .rule { width: 64px; height: 1px; background: var(--texas-gold); margin: 36px auto 0; opacity: .6; }

/* ===== TRUST STRIP ===== */
.rhinory-foundation-donate .don-trust { background: var(--off-white); padding: 0 0 36px; }
.rhinory-foundation-donate .don-trust-inner {
	max-width: 1080px; margin: 0 auto; padding: 0 40px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 780px) {
	.rhinory-foundation-donate .don-trust-inner { grid-template-columns: 1fr; gap: 14px; padding: 0 28px; }
}
.rhinory-foundation-donate .trust-cell {
	padding: 22px 24px; background: #EDEAE0; border: 1px solid var(--rule-v6);
	border-top: 2px solid var(--accent-green);
	display: flex; flex-direction: column; gap: 8px;
}
.rhinory-foundation-donate .trust-cell:nth-child(2) { border-top-color: var(--texas-gold); }
.rhinory-foundation-donate .trust-cell .lab {
	font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
	color: var(--muted-v6); font-weight: 500;
}
.rhinory-foundation-donate .trust-cell .val {
	font-family: var(--ff-display); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.18; color: var(--tonal-black);
}
.rhinory-foundation-donate .trust-cell .val em { color: var(--accent-green); font-style: italic; }
.rhinory-foundation-donate .trust-cell .meta { font-size: 13px; line-height: 1.55; color: var(--tonal-black); opacity: .78; }
.rhinory-foundation-donate .trust-cell .meta a { color: var(--accent-green); border-bottom: 1px solid var(--accent-green); }

/* ===== ZEFFY EMBED WRAPPER ===== */
.rhinory-foundation-donate .don-embed-wrap {
	background: #EDEAE0; padding: 64px 0 96px; border-top: 1px solid var(--rule-v6);
}
.rhinory-foundation-donate .don-embed-inner { max-width: 880px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 680px) { .rhinory-foundation-donate .don-embed-inner { padding: 0 20px; } }
.rhinory-foundation-donate .don-embed-head { text-align: center; margin-bottom: 32px; }
.rhinory-foundation-donate .don-embed-head .imp-eyebrow { display: inline-flex; justify-content: center; }
.rhinory-foundation-donate .don-embed-head h2 {
	font-family: var(--ff-display); font-style: italic; font-weight: 300;
	font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.005em;
	color: var(--tonal-black); margin: 12px auto 0; max-width: 24ch; text-wrap: balance;
}
.rhinory-foundation-donate .don-embed-head h2 em { color: var(--accent-green); }

/* Zeffy admin-theming pending stand-in (ops flag). */
.rhinory-foundation-donate .don-admin-flag {
	margin-bottom: 18px; display: flex; align-items: flex-start; gap: 14px;
	padding: 14px 18px; background: var(--off-white);
	border: 1px solid var(--rule-v6); border-left: 3px solid var(--texas-gold);
	font-family: var(--ff-mono); font-size: 11px; line-height: 1.6; color: var(--tonal-black);
}
.rhinory-foundation-donate .don-admin-flag .diamond { flex: 0 0 auto; color: var(--accent-green); font-size: 14px; line-height: 1; margin-top: 1px; }
.rhinory-foundation-donate .don-admin-flag .lab {
	display: block; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-green);
	font-weight: 500; margin-bottom: 4px;
}
.rhinory-foundation-donate .don-admin-flag .copy { letter-spacing: 0.01em; text-transform: none; color: var(--tonal-black); opacity: .86; }

.rhinory-foundation-donate .don-embed-frame {
	background: var(--off-white); border: 1px solid var(--rule-v6);
	box-shadow: 0 30px 80px -30px rgba(28, 15, 28, 0.18);
	position: relative; overflow: hidden;
}
.rhinory-foundation-donate .don-embed-frame::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--accent-green) 0%, var(--texas-gold) 100%);
	z-index: 2; pointer-events: none;
}
.rhinory-foundation-donate .don-embed-frame iframe {
	width: 100%; height: 920px; min-height: 760px; border: 0; background: var(--off-white); display: block;
}
@media (max-width: 680px) { .rhinory-foundation-donate .don-embed-frame iframe { height: 880px; } }

/* Mobile fallback strip (narrow viewports only). */
.rhinory-foundation-donate .don-mobile-fallback {
	display: none; margin-top: 18px; padding: 16px 20px;
	background: var(--off-white); border: 1px solid var(--rule-v6); border-left: 3px solid var(--texas-gold);
	font-family: var(--ff-mono); font-size: 11.5px; line-height: 1.55; color: var(--tonal-black);
}
.rhinory-foundation-donate .don-mobile-fallback .fallback-lab {
	color: var(--accent-green); font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.22em;
	text-transform: uppercase; display: block; margin-bottom: 6px;
}
.rhinory-foundation-donate .don-mobile-fallback a {
	color: var(--accent-green); font-weight: 500; border-bottom: 1px solid var(--accent-green); padding-bottom: 1px;
	text-transform: uppercase; letter-spacing: 0.18em;
}
@media (max-width: 640px) { .rhinory-foundation-donate .don-mobile-fallback { display: block; } }

.rhinory-foundation-donate .don-embed-foot {
	margin-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
	padding: 18px 22px; background: var(--off-white); border: 1px solid var(--rule-v6);
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em; line-height: 1.6; color: var(--tonal-black);
}
@media (max-width: 680px) { .rhinory-foundation-donate .don-embed-foot { grid-template-columns: 1fr; gap: 10px; } }
.rhinory-foundation-donate .don-embed-foot strong { color: var(--accent-green); font-weight: 500; }
.rhinory-foundation-donate .don-embed-foot a.out {
	color: var(--accent-green); font-weight: 500; border-bottom: 1px solid var(--accent-green);
	text-transform: uppercase; letter-spacing: 0.18em; padding-bottom: 1px; white-space: nowrap;
}

/* ===== CLOSING TRUST + RETURN NAV ===== */
.rhinory-foundation-donate .don-close {
	background: var(--off-white); padding: 80px 0 64px; border-top: 1px solid var(--rule-v6);
}
.rhinory-foundation-donate .don-close-inner { max-width: 880px; margin: 0 auto; padding: 0 40px; text-align: center; }
.rhinory-foundation-donate .don-close h3 {
	font-family: var(--ff-display); font-style: italic; font-weight: 300;
	font-size: clamp(28px, 2.8vw, 38px); line-height: 1.18; color: var(--tonal-black);
	margin: 12px auto 14px; max-width: 32ch; text-wrap: balance;
}
.rhinory-foundation-donate .don-close h3 em { color: var(--accent-green); }
.rhinory-foundation-donate .don-close p {
	max-width: 54ch; margin: 0 auto 28px; font-size: 15.5px; line-height: 1.7; color: var(--tonal-black); opacity: .92;
}
.rhinory-foundation-donate .don-close .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.rhinory-foundation-donate .don-close .return-link {
	display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px;
	color: var(--tonal-black); background: transparent; border: 1px solid var(--rule-v6);
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.rhinory-foundation-donate .don-close .return-link:hover { border-color: var(--accent-green); color: var(--accent-green); }

/* ===== CREDIBILITY LINE ===== */
.rhinory-foundation-donate .imp-credibility { padding: 48px 0; background: var(--off-white); border-top: 1px solid var(--rule-v6); }
.rhinory-foundation-donate .imp-credibility-inner {
	max-width: 1280px; margin: 0 auto; padding: 0 40px;
	display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
	font-size: 13px; line-height: 1.7; color: var(--tonal-black);
}
.rhinory-foundation-donate .imp-credibility-inner .label { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-green); font-weight: 500; white-space: nowrap; }
.rhinory-foundation-donate .imp-credibility-inner .ein,
.rhinory-foundation-donate .imp-credibility-inner .verified { color: var(--accent-green); font-weight: 500; }
.rhinory-foundation-donate .imp-credibility-inner a { color: var(--tonal-black); border-bottom: 1px solid var(--rule-v6); padding-bottom: 1px; white-space: nowrap; }
.rhinory-foundation-donate .imp-credibility-inner a:hover { color: var(--accent-green); border-bottom-color: var(--accent-green); }
@media (max-width: 980px) {
	.rhinory-foundation-donate .imp-credibility-inner { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 760px) {
	.rhinory-foundation-donate .don-hero { padding: 72px 0 48px; }
	.rhinory-foundation-donate .don-close { padding: 64px 0 48px; }
}
