/* fraunces-latin-ext-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/fraunces-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fraunces-latin-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/fraunces-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* fraunces-latin-ext-wght-italic */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/fraunces-latin-ext-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fraunces-latin-wght-italic */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/fraunces-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ==========================================================================
   Block styles for editable pages. Loaded on the site AND inside the editor.
   Plain CSS (not inside @layer) so WordPress's own block CSS cannot override it.
   ========================================================================== */
:root {
  --ssf-ivory: #fbf7ef; --ssf-cream: #f3ecdd; --ssf-sand: #e7dcc6;
  --ssf-forest: #1f3d2b; --ssf-forest-deep: #142a1d; --ssf-leaf: #2f5d40;
  --ssf-ink: #1d211e; --ssf-muted: #4f5a52; --ssf-marigold: #e8a23a; --ssf-saffron: #b4560f;
  --ssf-serif: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --ssf-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ssf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Editor canvas */
.editor-styles-wrapper { background: var(--ssf-ivory); color: var(--ssf-ink); font-family: var(--ssf-sans); }
.editor-styles-wrapper .is-root-container > .wp-block,
.editor-styles-wrapper .wp-block.ssf-section { max-width: none; }
.editor-styles-wrapper .editor-post-title { max-width: 78rem; margin-inline: auto; font-family: var(--ssf-serif); color: var(--ssf-forest); }

/* Base typography inside designed pages */
:where(.ssf-blocks, .editor-styles-wrapper) :is(h1, h2, h3, h4) { font-family: var(--ssf-serif); font-weight: 500; letter-spacing: -0.015em; color: var(--ssf-forest); text-wrap: balance; margin: 0; }
:where(.ssf-blocks, .editor-styles-wrapper) h1 { font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.4rem); line-height: 1.05; }
:where(.ssf-blocks, .editor-styles-wrapper) h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); line-height: 1.1; }
:where(.ssf-blocks, .editor-styles-wrapper) h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
:where(.ssf-blocks, .editor-styles-wrapper) :is(h1, h2) em { color: var(--ssf-leaf); }
:where(.ssf-blocks, .editor-styles-wrapper) .wp-block-group p,
:where(.ssf-blocks, .editor-styles-wrapper) .wp-block-column p { margin: 0; line-height: 1.7; color: var(--ssf-muted); text-wrap: pretty; }
:where(.ssf-blocks, .editor-styles-wrapper) .wp-block-group a:not(.wp-block-button__link) { color: var(--ssf-leaf); }

/* Vertical rhythm */
.ssf-blocks :is(.ssf-wrap, .wp-block-column, .wp-block-group__inner-container, .is-style-ssf-card, .is-style-ssf-soft-card, .is-style-ssf-dark-panel) > * + * { margin-top: 1.25rem; }
.ssf-blocks .is-style-ssf-eyebrow + * { margin-top: .75rem; }
.ssf-blocks :is(h1, h2, p) + .wp-block-columns { margin-top: 3rem; }
.ssf-blocks p + .wp-block-buttons { margin-top: 2rem; }
.ssf-blocks .wp-block-columns + .wp-block-columns { margin-top: 1.25rem; }
.ssf-blocks .ssf-row + .ssf-row { margin-top: 4rem; }

/* Sections */
.ssf-section { padding-block: 4rem; }
@media (min-width: 640px) { .ssf-section { padding-block: 6rem; } }
.ssf-section.ssf-section-tight { padding-block: 3.5rem; }
@media (min-width: 640px) { .ssf-section.ssf-section-tight { padding-block: 5rem; } }
.ssf-wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: 1.25rem; box-sizing: border-box; }
@media (min-width: 768px) { .ssf-wrap { padding-inline: 2rem; } }
.is-style-ssf-cream { background: rgb(243 236 221 / .6); }
.is-style-ssf-hero { background-color: rgb(243 236 221 / .6); background-image: radial-gradient(rgb(31 61 43 / .06) 1px, transparent 1px); background-size: 18px 18px; border-bottom: 1px solid rgb(231 220 198 / .7); padding-block: 3.5rem; }
@media (min-width: 640px) { .is-style-ssf-hero { padding-block: 5rem; } }
.is-style-ssf-forest { background: var(--ssf-forest); color: var(--ssf-ivory); }
.is-style-ssf-forest :is(h1, h2, h3, h4) { color: var(--ssf-ivory) !important; }
.is-style-ssf-forest p { color: rgb(251 247 239 / .78) !important; }
.is-style-ssf-forest .is-style-ssf-eyebrow { color: var(--ssf-marigold) !important; }

/* Text styles */
.is-style-ssf-eyebrow { font-family: var(--ssf-sans); font-size: .75rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ssf-saffron) !important; line-height: 1.5 !important; }
.is-style-ssf-lead { font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 640px) { .is-style-ssf-lead { font-size: 1.2rem; } }
.ssf-hero-title { font-size: clamp(3rem, 1.9rem + 4.2vw, 4.6rem) !important; line-height: 1.02 !important; }
.ssf-quote { font-family: var(--ssf-serif); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem) !important; line-height: 1.3 !important; color: var(--ssf-forest) !important; border-left: 2px solid var(--ssf-marigold); padding-left: 1.5rem; }
.ssf-more-link { padding-left: 1.5rem; font-weight: 600; }
.ssf-more-link a { text-decoration: none; }
.ssf-step-num { font-family: var(--ssf-serif); font-size: .9rem; color: var(--ssf-marigold) !important; }
.ssf-big-num { font-family: var(--ssf-serif); font-size: 3rem !important; line-height: 1 !important; color: var(--ssf-marigold) !important; }

/* Columns */
.ssf-blocks .wp-block-columns { gap: 2.5rem; margin-bottom: 0; }
@media (min-width: 1024px) { .ssf-blocks .ssf-split { gap: 5rem; } }
.ssf-hero-cols { gap: 3rem; }
@media (min-width: 1024px) { .ssf-blocks .ssf-form-row > .wp-block-column:first-child { flex: 0 0 38% !important; } .ssf-blocks .ssf-donate-row > .wp-block-column:first-child { flex-basis: 40% !important; } }
.ssf-cards { gap: 1.25rem !important; }
.ssf-cards > .wp-block-column { display: flex; }
.ssf-cards > .wp-block-column > .wp-block-group { flex: 1; }

/* Images */
.ssf-blocks .wp-block-image, .editor-styles-wrapper .wp-block-image { margin: 0; }
.is-style-ssf-photo img { display: block; width: 100%; height: auto; border-radius: 1.75rem; object-fit: cover; background: var(--ssf-sand); }
.ssf-r45 img { aspect-ratio: 4 / 5; height: auto; }
.ssf-r54 img { aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .ssf-r54 img { aspect-ratio: 5 / 4; } }
.ssf-r1610 img { aspect-ratio: 16 / 10; }
.ssf-r1611 img { aspect-ratio: 16 / 11; }
.wp-block-image .wp-element-caption { margin-top: .75rem; margin-bottom: 0; text-align: left; font-size: .875rem; color: var(--ssf-muted); }
.ssf-hide-mobile { display: none !important; }
@media (min-width: 1024px) { .ssf-hide-mobile { display: block !important; } }
.editor-styles-wrapper .ssf-hide-mobile { display: block !important; opacity: .6; }

/* Home hero */
.ssf-home-hero { position: relative; overflow: hidden; padding-block: 2.5rem 4rem; background-image: radial-gradient(rgb(31 61 43 / .05) 1px, transparent 1px); background-size: 18px 18px; }
@media (min-width: 1024px) { .ssf-home-hero { padding-block: 4rem 5rem; } }
.ssf-hero-media { position: relative; padding-bottom: 2.5rem; max-width: 30rem; margin-inline: auto; }
@media (min-width: 1024px) { .ssf-hero-media { max-width: none; padding-bottom: 0; } }
.ssf-hero-main { width: 82%; margin-left: auto !important; }
.ssf-hero-main img { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgb(20 42 29 / .55); }
.ssf-hero-small { position: absolute !important; left: 0; bottom: 0; top: auto !important; height: auto !important; width: 44%; margin: 0 !important; }
.ssf-hero-small img { aspect-ratio: 1 / 1; border: 6px solid var(--ssf-ivory); border-radius: 1.5rem; box-shadow: 0 30px 60px -30px rgb(20 42 29 / .6); }
.editor-styles-wrapper .ssf-hero-small { position: relative !important; margin-top: -30% !important; }
.js .ssf-blocks .ssf-home-hero .wp-block-column:first-child > * { animation: ssf-fade-up .8s var(--ssf-ease) both; }
.js .ssf-blocks .ssf-home-hero .wp-block-column:first-child > :nth-child(2) { animation-delay: .15s; }
.js .ssf-blocks .ssf-home-hero .wp-block-column:first-child > :nth-child(3) { animation-delay: .5s; }
.js .ssf-blocks .ssf-home-hero .wp-block-column:first-child > :nth-child(4) { animation-delay: .65s; }
.js .ssf-blocks .ssf-hero-main img { animation: ssf-clip-in 1.3s var(--ssf-ease) both; }
.js .ssf-blocks .ssf-hero-small { animation: ssf-fade-up 1s var(--ssf-ease) .6s both; }
@keyframes ssf-fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes ssf-clip-in { from { clip-path: inset(10% 10% 10% 10% round 28px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 28px); opacity: 1; } }

/* Buttons */
:where(.ssf-blocks, .editor-styles-wrapper) .wp-block-buttons { gap: .75rem; }
:where(.ssf-blocks, .editor-styles-wrapper) .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; box-sizing: border-box; border-radius: 999px; padding: .8rem 1.6rem; font-family: var(--ssf-sans); font-size: .95rem; font-weight: 600; line-height: 1.2; background: var(--ssf-forest); color: var(--ssf-ivory); text-decoration: none; border: 1.5px solid transparent; transition: transform .3s var(--ssf-ease), background-color .3s, box-shadow .3s; }
:where(.ssf-blocks) .wp-block-button__link:hover { transform: translateY(-2px); background: var(--ssf-forest-deep); color: var(--ssf-ivory); }
.is-style-ssf-donate .wp-block-button__link { background: var(--ssf-marigold) !important; color: var(--ssf-forest-deep) !important; box-shadow: 0 8px 24px -12px rgb(180 86 15 / .6); }
.is-style-ssf-donate .wp-block-button__link:hover { background: #f0b155 !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--ssf-forest) !important; border-color: rgb(31 61 43 / .25) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--ssf-forest) !important; background: rgb(31 61 43 / .05) !important; }
:is(.is-style-ssf-forest, .ssf-cta, .is-style-ssf-dark-panel) .is-style-outline .wp-block-button__link { color: var(--ssf-ivory) !important; border-color: rgb(255 255 255 / .25) !important; }

/* Steps (How it works) */
.ssf-steps { gap: 1px !important; background: rgb(255 255 255 / .1); border-radius: 1.75rem; overflow: hidden; flex-wrap: wrap !important; }
.ssf-steps > .wp-block-column { background: var(--ssf-forest); padding: 1.25rem; flex: 1 1 calc(50% - 1px) !important; margin: 0 !important; box-sizing: border-box; }
@media (min-width: 1024px) { .ssf-steps > .wp-block-column { flex-basis: calc(25% - 1px) !important; padding: 2rem; } }
.ssf-steps h3 { font-size: 1.125rem !important; }
@media (min-width: 640px) { .ssf-steps h3 { font-size: 1.25rem !important; } }
.ssf-steps p:not(.ssf-step-num) { font-size: .9rem; }

/* Cards and panels */
.is-style-ssf-card { border: 1px solid var(--ssf-sand); background: rgb(255 255 255 / .7); border-radius: 1.5rem; padding: 2rem; box-sizing: border-box; }
.is-style-ssf-soft-card { background: var(--ssf-cream); border-radius: 1.5rem; padding: 2rem; box-sizing: border-box; }
.is-style-ssf-dark-panel { position: relative; overflow: hidden; background: var(--ssf-forest-deep); color: var(--ssf-ivory); border-radius: 2rem; padding: 3.5rem 1.75rem; text-align: center; }
@media (min-width: 640px) { .is-style-ssf-dark-panel { padding: 5rem 3.5rem; } }
.is-style-ssf-dark-panel::before, .is-style-ssf-dark-panel::after { content: ""; position: absolute; width: 20rem; height: 20rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.is-style-ssf-dark-panel::before { left: -6rem; top: -6rem; background: rgb(47 93 64 / .5); }
.is-style-ssf-dark-panel::after { right: -6rem; bottom: -6rem; background: rgb(232 162 58 / .25); }
.is-style-ssf-dark-panel > * { position: relative; z-index: 1; max-width: 42rem; margin-inline: auto !important; }
.is-style-ssf-dark-panel h2 { color: var(--ssf-ivory) !important; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.75rem) !important; line-height: 1.1 !important; }
.is-style-ssf-dark-panel p { color: rgb(251 247 239 / .8) !important; font-size: 1.125rem; }
.is-style-ssf-dark-panel .is-style-ssf-eyebrow { color: var(--ssf-marigold) !important; }
.ssf-amounts { list-style: none; margin: 2.25rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.ssf-amounts a { display: inline-flex; min-height: 3rem; align-items: center; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); padding-inline: 1.5rem; font-family: var(--ssf-serif); font-size: 1.125rem; color: var(--ssf-ivory) !important; text-decoration: none; transition: border-color .2s, background .2s; }
.ssf-amounts a:hover { border-color: var(--ssf-marigold); background: rgb(255 255 255 / .05); }
.ssf-regs-line { margin-top: 1.5rem !important; font-size: .875rem !important; color: rgb(251 247 239 / .7) !important; }
.ssf-blocks .is-style-ssf-dark-panel .wp-block-buttons { margin-top: 2rem; }

/* Call to action */
.ssf-cta { background: var(--ssf-forest); border-radius: 2rem; overflow: hidden; gap: 0 !important; }
.ssf-cta > .wp-block-column:first-child { padding: 2rem; }
@media (min-width: 640px) { .ssf-cta > .wp-block-column:first-child { padding: 3.5rem; } }
@media (min-width: 782px) { .ssf-cta > .wp-block-column:first-child { flex-basis: 65% !important; } .ssf-cta > .wp-block-column:last-child { align-self: stretch; } }
.ssf-cta :is(h2, h3) { color: var(--ssf-ivory) !important; }
.ssf-cta h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem) !important; line-height: 1.1 !important; }
.ssf-cta p { color: rgb(251 247 239 / .8) !important; font-size: 1.125rem; }
.ssf-cta .is-style-ssf-eyebrow { color: var(--ssf-marigold) !important; }
.ssf-cta-photo, .ssf-cta-photo img { height: 100%; }
.ssf-cta-photo img { display: block; width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 782px) { .ssf-cta-photo img { aspect-ratio: auto; min-height: 100%; } }

/* Shortcode blocks render their own sections; keep them flush */
.ssf-blocks > section:not(.ssf-section) { margin: 0; }

/* Scroll reveal (only on the live site) */
.js .ssf-blocks .ssf-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ssf-ease), transform .8s var(--ssf-ease); }
.js .ssf-blocks .ssf-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .ssf-blocks .ssf-reveal { opacity: 1; transform: none; transition: none; }
  .js .ssf-blocks * { animation: none !important; }
}
