:root {
  --ink: #173f35;
  --ink-deep: #0e3028;
  --green: #246b58;
  --green-soft: #dfeee7;
  --orange: #f47b35;
  --orange-dark: #d95f21;
  --cream: #fffaf1;
  --sand: #f3e8d8;
  --white: #fff;
  --text: #36534b;
  --border: rgba(23, 63, 53, .14);
  --shadow: 0 24px 60px rgba(23, 63, 53, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: "DM Sans", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 10px 16px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement { color: #dcebe5; background: var(--ink-deep); font-size: .78rem; letter-spacing: .02em; }
.announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement a { color: white; text-decoration: none; }
.site-header { position: relative; z-index: 100; background: rgba(255,250,241,.92); border-bottom: 1px solid var(--border); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--orange); }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.brand-mark .sun-fill { fill: currentColor; stroke: none; }
.brand strong { display: block; font-family: "Fraunces", serif; font-size: 1.35rem; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: .61rem; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.button) { color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--orange-dark); }
.menu-toggle { display: none; padding: 8px; background: none; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; color: white; background: var(--orange); border: 0; border-radius: 999px; box-shadow: 0 10px 25px rgba(244,123,53,.22); font: 700 .92rem "DM Sans", sans-serif; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--orange-dark); }
.button-small { min-height: 42px; padding-inline: 21px; }
.button-light { color: var(--ink); background: white; box-shadow: none; }
.button-light:hover { color: white; }
.button-block { width: 100%; }
.text-link { display: inline-flex; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }

.hero { position: relative; min-height: 710px; display: grid; align-items: center; padding: 60px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--orange-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
h1, h2, h3 { color: var(--ink); font-family: "Fraunces", serif; line-height: 1.08; }
h1 { max-width: 700px; margin: 0; font-size: clamp(3.4rem, 6vw, 5.5rem); letter-spacing: -.045em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 600px; margin: 26px 0 30px; font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--border); }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { color: var(--ink); font-size: .87rem; }
.trust-row span { margin-top: 2px; font-size: .72rem; }
.hero-art { position: relative; max-width: 510px; justify-self: end; }
.art-card { position: relative; }
.main-art { transform: rotate(2deg); border: 10px solid white; border-radius: 35px; box-shadow: var(--shadow); }
.main-art > svg { display: block; width: 100%; height: auto; border-radius: 25px; }
.floating-note { position: absolute; left: -72px; bottom: 60px; width: 190px; padding: 17px 20px; transform: rotate(-2deg); background: white; border-radius: 14px; box-shadow: 0 16px 40px rgba(23,63,53,.17); }
.floating-note span { float: left; margin-right: 10px; color: var(--orange); font-size: 1.25rem; }
.floating-note strong, .floating-note small { display: block; color: var(--ink); line-height: 1.3; }
.floating-note small { font-size: .7rem; }
.pattern-dots { position: absolute; z-index: -1; right: -55px; top: -34px; width: 150px; height: 150px; opacity: .5; background-image: radial-gradient(var(--orange) 2px, transparent 2px); background-size: 17px 17px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .45; }
.hero-glow-one { width: 410px; height: 410px; right: -150px; top: 40px; background: #ffe1b9; }
.hero-glow-two { width: 220px; height: 220px; left: -130px; bottom: -80px; background: #d7eee2; }

.marquee { overflow: hidden; padding: 20px 0; color: white; background: var(--orange); transform: rotate(-1deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; font-family: "Fraunces", serif; font-size: 1.2rem; animation: ticker 24s linear infinite; }
.marquee-track i { font-style: normal; font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 110px 0; }
.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.section-heading h2 { max-width: 740px; margin: 0; font-size: clamp(2.45rem, 4vw, 4rem); letter-spacing: -.035em; }
.section-heading > p:last-child { max-width: 620px; margin: 20px auto 0; }
.section-heading.centered { text-align: center; }
.lead { margin-top: 0; color: var(--ink); font: 600 1.5rem/1.45 "Fraunces", serif; }
.about-copy > p:not(.lead) { max-width: 650px; }
.about-copy .text-link { margin-top: 16px; }

.programs { background: #f5eddf; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 55px; }
.program-card { position: relative; min-height: 365px; padding: 30px 26px; display: flex; flex-direction: column; background: rgba(255,255,255,.65); border: 1px solid rgba(23,63,53,.1); border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.program-card.featured { color: #dbece6; background: var(--green); }
.program-card.featured h3, .program-card.featured a { color: white; }
.card-number { position: absolute; top: 24px; right: 24px; opacity: .5; font-size: .7rem; }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 50px; color: var(--orange-dark); background: #ffe8cc; border-radius: 50%; font: 700 1.5rem serif; }
.featured .icon-box { color: var(--ink); background: #f8c271; }
.program-card h3 { margin: 0 0 14px; font-size: 1.55rem; }
.program-card p { margin: 0 0 24px; font-size: .91rem; }
.program-card a { margin-top: auto; color: var(--ink); font-weight: 700; font-size: .83rem; text-decoration: none; }

.impact { padding-block: 0; background: var(--green); }
.impact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding-block: 95px; }
.impact-copy { align-self: center; color: #d6e9e2; }
.impact-copy h2 { margin: 0 0 24px; color: white; font-size: clamp(2.5rem, 4vw, 4rem); }
.impact-copy p:not(.eyebrow) { max-width: 510px; margin-bottom: 30px; }
.eyebrow.light { color: #ffbd7a; }
.impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.impact-stats > div { min-height: 170px; padding: 32px; display: flex; flex-direction: column; justify-content: center; background: var(--green); }
.impact-stats strong { color: #ffbd7a; font: 700 2.8rem "Fraunces", serif; }
.impact-stats span { color: white; font-size: .83rem; }
.stat-note { grid-column: 1/-1; margin: 0; padding: 12px 18px; color: #c9dfd7; background: var(--green); font-size: .68rem; }

.involved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 55px; }
.involved-card { min-height: 300px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); }
.involved-card:nth-child(2) { background: #ffe6c9; border-color: transparent; }
.involved-card span { color: var(--orange-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.involved-card h3 { margin: 55px 0 14px; font-size: 1.65rem; }
.involved-card p { font-size: .9rem; }
.involved-card a { color: var(--ink); font-weight: 700; font-size: .83rem; text-decoration: none; }

.donate-section { padding-top: 30px; }
.donate-card { padding: 60px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; color: #d9ece5; background: var(--ink-deep); border-radius: 32px; box-shadow: var(--shadow); }
.donate-card h2 { max-width: 650px; margin: 0; color: white; font-size: clamp(2.25rem, 4vw, 3.5rem); }
.donate-card p { max-width: 600px; }
.giving-levels { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.giving-levels button { padding: 10px 15px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; cursor: pointer; }
.giving-levels button:hover, .giving-levels button.active { color: var(--ink); background: #ffbd7a; border-color: #ffbd7a; }
.donate-action { align-self: center; padding: 30px; color: var(--text); background: white; border-radius: 20px; }
.donate-action p { margin: 14px 0 22px; }
.secure-label { color: var(--green); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.donate-action small { display: block; margin-top: 15px; font-size: .68rem; line-height: 1.45; }

.contact { background: #f5eddf; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.contact-list { border-top: 1px solid var(--border); }
.contact-list a { padding: 24px 4px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); text-decoration: none; }
.contact-list span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-list strong { color: var(--ink); text-align: right; }

.site-footer { padding: 70px 0 24px; color: #bcd4cc; background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand { color: white; }
.footer-custom-logo { max-width: 250px; max-height: 76px; }
.footer-grid > div:first-child p { max-width: 330px; }
.footer-grid h3 { margin: 0 0 16px; color: white; font: 600 .77rem "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div:not(:first-child) a { display: block; margin: 9px 0; text-decoration: none; }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 110px; padding: 25px; display: none; flex-direction: column; align-items: stretch; gap: 18px; background: white; border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-art { max-width: 520px; justify-self: center; }
  .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .impact-wrap, .donate-card { grid-template-columns: 1fr; gap: 45px; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-card { min-height: 230px; }
  .involved-card h3 { margin-top: 30px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .announcement-inner span { display: none; }
  .announcement-inner { justify-content: center; }
  .nav { min-height: 74px; }
  .brand small { max-width: 150px; font-size: .54rem; }
  .brand-mark { width: 38px; }
  .nav-links { top: 99px; }
  .hero { min-height: auto; padding-bottom: 65px; }
  h1 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .floating-note { left: -5px; bottom: 20px; width: 170px; }
  .section { padding: 80px 0; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 300px; }
  .impact-stats { grid-template-columns: 1fr; }
  .stat-note { grid-column: 1; }
  .donate-section { padding-top: 20px; }
  .donate-card { padding: 36px 24px; border-radius: 22px; }
  .donate-action { padding: 24px 20px; }
  .contact-list a { flex-direction: column; }
  .contact-list strong { text-align: left; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress integration */
.custom-logo { display: block; width: auto; max-width: 230px; height: 60px; object-fit: contain; }
.nav-links .menu { margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links li { margin: 0; list-style: none; }
.nav-links li a { color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.nav-links li a:hover, .nav-links .current-menu-item > a { color: var(--orange-dark); }
.content-area { max-width: 850px; }
.content-area > article > h1 { margin-top: 0; font-size: clamp(2.8rem, 6vw, 5rem); }
.content-area img { max-width: 100%; height: auto; border-radius: 18px; }
.sunrise-elementor-content { width: 100%; max-width: none; margin: 0; padding: 0; overflow: clip; }
.sunrise-elementor-content .elementor { width: 100%; }
.donate-action .give-form-wrap,
.donate-action form[id*="give-form"] { color: var(--text); }
.donate-action .give-btn,
.donate-action .give-submit { min-height: 48px; padding: 0 24px; color: #fff; background: var(--orange); border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; }
.donate-action .give-btn:hover,
.donate-action .give-submit:hover { background: var(--orange-dark); }

@media (max-width: 960px) {
  .nav-links .menu { flex-direction: column; align-items: stretch; gap: 18px; }
}
