/* Story Give (2026): page-story-give-2026.php */

.sg-page,
.sg-popup,
.sg-float {
	--sg-blue: #325668;
	--sg-blue-dark: #223d4a;
	--sg-tan: #eeeae6;
	--sg-olive: #605e3d;
	--sg-olive-dark: #46452c;
	--sg-sage: #9db5a3;
	--sg-ink: #222;
	--sg-title-font: 'gastromond', Georgia, 'Times New Roman', serif;
	--sg-label-font: 'NeutraTextTF-Bold', 'proxima-nova', Helvetica, Arial, sans-serif;
	--sg-body-font: 'brandon-grotesque', 'proxima-nova', Helvetica, Arial, sans-serif;
	--pushpay-widget-primary-color: #325668;
	--pushpay-widget-primary-color-hover: #223d4a;
	--pushpay-widget-primary-color-bg: #e3ebee;
	--pushpay-widget-secondary-color: #325668;
	--pushpay-widget-secondary-color-alt: #223d4a;
}

.sg-page .wysiwyg p,
.sg-page p { font-family: var(--sg-body-font); }

/* Shared type */
.sg-title { font-family: var(--sg-title-font); font-weight: 400; color: var(--sg-blue); font-size: clamp(36px, 4.4vw, 60px); line-height: 1; margin: 0 0 24px; text-transform: none; }
.sg-title.white { color: #fff; }
.sg-title-small { font-size: clamp(28px, 3vw, 40px); }
.sg-eyebrow { font-family: var(--sg-label-font) !important; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--sg-olive); margin: 0 0 14px; }

.sg-button { display: inline-block; font-family: 'proxima-nova', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #fff !important; background: var(--sg-olive); padding: 18px 44px; border-radius: 50px; text-decoration: none !important; transition: background-color .2s ease; }
.sg-button:hover,
.sg-button:focus-visible { background: var(--sg-olive-dark); }

.sg-text-link { display: inline-block; margin-top: 8px; font-family: 'proxima-nova', Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sg-blue) !important; border-bottom: 2px solid var(--sg-sage); padding-bottom: 3px; text-decoration: none !important; }
.sg-text-link:hover { border-bottom-color: var(--sg-blue); }

/* Hero */
.sg-hero { background-size: cover; background-position: center; }
.sg-hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.72) 40%, rgba(0,0,0,.72) 60%, rgba(0,0,0,.82) 100%); min-height: 78vh; display: flex; align-items: center; }
.sg-hero-inner { width: 100%; max-width: 900px; margin: 0 auto; padding: 150px 24px 90px; text-align: center; }
.sg-hero .breadcrumb { margin-bottom: 36px; }
.sg-hero-logo { margin: 0 auto 18px; width: min(620px, 92%); line-height: 0; overflow: hidden; }
.sg-hero-logo img { width: 100%; height: auto; display: block; margin: -14% 0 -26%; }
.sg-hero-text { color: #fff; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; margin: 6px auto 34px; max-width: 640px; }

/* Intro + stats */
.sg-intro { padding-top: 90px; }
.sg-intro-copy { max-width: 820px; margin: 0 auto 60px; text-align: center; }
.sg-intro-copy .wysiwyg p { font-size: 20px; line-height: 1.6; color: var(--sg-ink); }
.sg-tagline { font-family: var(--sg-title-font) !important; color: var(--sg-blue); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; margin: 28px 0 0; }

.sg-stats { display: grid; gap: 24px; }
.sg-stats-3 { grid-template-columns: repeat(3, 1fr); }
.sg-stats-2 { grid-template-columns: repeat(2, 1fr); }
.sg-stat { position: relative; overflow: hidden; background-size: cover; background-position: center; background-color: var(--sg-blue); min-height: 340px; display: flex; align-items: flex-end; }
.sg-stats-2 .sg-stat { min-height: 300px; }
.sg-stat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%); }
.sg-stat-text { position: relative; padding: 28px 30px; color: #fff; }
.sg-stat-number { display: block; font-family: var(--sg-title-font); font-size: clamp(28px, 2.3vw, 36px); line-height: 1; }
/* The impact line leads; the amount sits above it as a smaller kicker. */
.sg-stat-label { display: block; margin-top: 10px; max-width: 30ch; font-family: var(--sg-body-font); font-size: clamp(18px, 1.45vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.sg-stat-label::first-letter { text-transform: uppercase; }

/* Story */
.sg-story { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.sg-story-media img { width: 100%; height: auto; display: block; }
.sg-story-media .video-wrap { display: block; position: relative; overflow: hidden; }
.sg-story-copy .wysiwyg p { font-size: 18px; line-height: 1.65; color: var(--sg-ink); margin-bottom: 18px; }

/* Give */
.sg-give { background: var(--sg-blue); scroll-margin-top: 20px; }
.sg-give-inner { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 72px; align-items: center; }
.sg-give-copy .wysiwyg p { font-size: 19px; line-height: 1.6; color: #fff; margin-bottom: 18px; }
.sg-give-note { font-family: var(--sg-title-font) !important; color: var(--sg-sage); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 10px 0 0; }
.sg-form-slot { min-width: 0; }
.sg-form { width: 100%; max-width: 440px; margin: 0 auto; min-height: 200px; border-radius: 10px; }
.sg-form-fallback { background: #fff; border-radius: 10px; padding: 24px; font-size: 18px; color: var(--sg-ink); text-align: center; }
.sg-form-fallback a { color: var(--sg-blue); font-weight: 700; }

/* Other ways */
.sg-ways { padding-top: 80px; padding-bottom: 88px; }
.sg-ways .sg-title { margin-bottom: 40px; }
/* One panel split by hairlines: the 1px gap shows the grid background as dividers. */
.sg-ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e2dcd5; border: 1px solid #e2dcd5; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(34,61,74,.35); }
.sg-way { background: #fff; padding: 40px 28px 38px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sg-way-icon { width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: var(--sg-blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sg-way h3 { font-family: var(--sg-label-font); font-size: 14px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--sg-blue); margin: 0 0 10px; }
.sg-way p,
.sg-way a { font-family: var(--sg-body-font); font-size: 17px; line-height: 1.45; color: #4a4a4a; margin: 0; max-width: 220px; }
.sg-way a { color: var(--sg-blue); text-decoration: none; border-bottom: 1.5px solid var(--sg-sage); padding-bottom: 1px; word-break: break-word; transition: border-color .2s ease; }
.sg-way a:hover,
.sg-way a:focus-visible { border-bottom-color: var(--sg-blue); }

/* Closing */
.sg-closing { padding-top: 90px; padding-bottom: 100px; }
.sg-closing p { font-size: 21px; line-height: 1.5; color: var(--sg-ink); }

/* Floating Give button */
.sg-float { position: fixed; right: 24px; bottom: 24px; z-index: 9000; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font-family: 'proxima-nova', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; background: var(--sg-olive); padding: 16px 28px 16px 24px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: background-color .2s ease, opacity .25s ease, transform .25s ease; }
.sg-float svg { width: 18px; height: 18px; fill: var(--sg-sage); }
.sg-float:hover,
.sg-float:focus-visible { background: var(--sg-olive-dark); }
.sg-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Pop-up */
.sg-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.sg-popup[hidden] { display: none; }
.sg-popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.sg-popup-box { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 900px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.45); outline: none; }
.sg-popup-photos { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; }
.sg-popup-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.sg-popup-photo.is-active { opacity: 1; }
.sg-popup-photos::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.995); }
.sg-popup-inner { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 36px 48px 32px; text-align: center; }
.sg-popup-logo { margin: 0 auto 14px; width: min(340px, 70%); line-height: 0; overflow: hidden; }
/* The logo PNG has wide transparent padding above and below the lockup; crop it. */
.sg-popup-logo img { width: 100%; height: auto; display: block; margin: -14% 0 -26%; }
.sg-popup-text { color: #fff; font-family: var(--sg-body-font); font-size: 18px; line-height: 1.5; max-width: 680px; margin: 0 auto 24px; }
/* PushPay's widget tops out around 410px wide, so the form column is sized to it. */
.sg-popup-cols { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: stretch; text-align: left; }
.sg-popup-cols .sg-form { max-width: none; }
.sg-popup-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.sg-popup-close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.sg-popup-close:hover,
.sg-popup-close:focus-visible { background: rgba(255,255,255,.28); }
.sg-popup-continue { margin: 22px auto 0; display: inline-block; background: none; border: 0; border-bottom: 2px solid var(--sg-sage); padding: 0 0 3px; cursor: pointer; font-family: 'proxima-nova', Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff !important; text-decoration: none !important; }
.sg-popup-continue:hover,
.sg-popup-continue:focus-visible { border-bottom-color: #fff; }

.sg-quotes { position: relative; display: flex; flex-direction: column; background: rgba(50,86,104,.98); border: 1px solid rgba(255,255,255,.12); padding: 30px 30px 26px; color: #fff; }
.sg-quote-mark { width: 40px; height: 32px; fill: var(--sg-sage); margin-bottom: 20px; flex: none; }
.sg-quote-list { flex: 1; display: flex; align-items: center; }
.sg-quote { margin: 0; animation: sg-fade .9s ease; }
.sg-quote[hidden] { display: none; }
.sg-quote blockquote { margin: 0; font-family: var(--sg-body-font); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.sg-quote figcaption { margin-top: 18px; font-family: var(--sg-label-font); font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sg-sage); }
.sg-quote-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.sg-quote-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-quote-arrows { display: flex; gap: 8px; flex: none; }
.sg-quote-arrows button { width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, border-color .2s ease; }
.sg-quote-arrows svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sg-quote-arrows button:hover,
.sg-quote-arrows button:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.sg-quote-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.sg-quote-dots button.is-active { width: 26px; background: #fff; }

@keyframes sg-fade { from { opacity: 0; } to { opacity: 1; } }

html.sg-locked,
html.sg-locked body { overflow: hidden; }

/* Tablet */
@media only screen and (max-width: 1024px) {
	.sg-story { grid-template-columns: 1fr; gap: 40px; }
	.sg-give-inner { grid-template-columns: 1fr; gap: 44px; }
	.sg-give-copy { max-width: 640px; }
	.sg-ways-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media only screen and (max-width: 767px) {
	.sg-hero-overlay { min-height: 0; }
	.sg-hero-inner { padding: 130px 16px 70px; }
	.sg-intro { padding-top: 60px; }
	.sg-intro-copy .wysiwyg p { font-size: 18px; }
	.sg-stats-3,
	.sg-stats-2 { grid-template-columns: 1fr; }
	.sg-stat,
	.sg-stats-2 .sg-stat { min-height: 240px; }
	.sg-ways { padding-top: 60px; padding-bottom: 64px; }
	.sg-ways-grid { grid-template-columns: 1fr; }
	.sg-way { padding: 30px 20px; }
	.sg-float { right: 16px; bottom: 16px; }

	.sg-popup { padding: 10px; }
	.sg-popup-box { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
	.sg-popup-photos { border-radius: 12px; }
	.sg-popup-inner { padding: 64px 16px 24px; }
	.sg-popup-logo { width: min(260px, 80%); }
	.sg-popup-text { font-size: 17px; }
	.sg-popup-cols { grid-template-columns: 1fr; gap: 16px; }
	.sg-quotes { padding: 22px; }
	.sg-quote-mark { width: 30px; height: 24px; margin-bottom: 12px; }
	.sg-popup-close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.sg-popup-photo,
	.sg-float,
	.sg-quote-dots button { transition: none; }
	.sg-quote { animation: none; }
}
