@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --forest: #16392f;
  --forest-2: #214b3d;
  --moss: #b9c7a2;
  --mint: #e9eee4;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --ink: #1c2722;
  --muted: #68736b;
  --line: #dce2d9;
  --gold: #d8b574;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; z-index: 20; top: -50px; left: 16px; padding: 10px 14px; color: white; background: var(--forest); }
.skip-link:focus { top: 12px; }
.section-wrap { width: min(var(--content), calc(100% - 56px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 0 max(28px, calc((100vw - var(--content)) / 2)); border-bottom: 1px solid rgba(22,57,47,.08); background: rgba(255,254,250,.94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--forest); }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50% 50% 48% 18%; color: var(--cream); background: var(--forest); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.35; }
.brand-name small { display: block; margin-top: 3px; font-size: 9px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 34px; color: #48574f; font-size: 13px; font-weight: 600; }
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #9a743b; }
.primary-nav .nav-contact { padding: 10px 17px; border: 1px solid #b6c3b8; border-radius: 2px; color: var(--forest); }
.nav-toggle { display: none; }

.hero { display: grid; min-height: 620px; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 36px; padding-block: 90px 82px; }
.hero-copy { position: relative; z-index: 1; max-width: 590px; }
.eyebrow, .section-kicker { color: #738576; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #b19056; box-shadow: 0 0 0 4px rgba(177,144,86,.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; color: var(--forest); font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.13; }
h1 { max-width: 660px; font-size: clamp(46px, 6vw, 76px); }
h1 em, h2 em { color: #a27f4c; font-weight: 500; }
.hero-lede { max-width: 475px; margin: 24px 0 30px; color: #65716a; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.button-primary { padding: 0 20px; border: 1px solid var(--forest); color: white; background: var(--forest); transition: background .2s, transform .2s; }
.button-primary:hover { transform: translateY(-2px); background: var(--forest-2); }
.button-text { color: var(--forest); }
.button-text span, .inline-link span { color: #a27f4c; font-size: 18px; }
.hero-note { margin: 22px 0 0; color: #838c83; font-size: 11px; }
.hero-art { position: relative; display: grid; min-height: 438px; place-items: center; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -2; width: 84%; aspect-ratio: 1; border-radius: 49% 51% 43% 57% / 49% 41% 59% 51%; background: #e9ede3; content: ''; transform: rotate(-12deg); }
.art-orbit { position: absolute; width: 93%; aspect-ratio: 1; border: 1px solid rgba(22,57,47,.17); border-radius: 50%; transform: rotate(23deg) scaleY(.62); }
.orbit-two { width: 73%; border-color: rgba(162,127,76,.34); transform: rotate(-38deg) scaleY(.76); }
.art-sun { position: absolute; top: 8%; right: 11%; width: 62px; aspect-ratio: 1; border: 1px solid #c6a76e; border-radius: 50%; background: #efe1c3; box-shadow: 0 0 0 11px rgba(216,181,116,.13), 0 0 0 22px rgba(216,181,116,.08); }
.art-leaf { position: absolute; z-index: -1; width: 120px; height: 56px; border: 1px solid rgba(33,75,61,.5); border-radius: 100% 0 100% 0; background: linear-gradient(135deg, rgba(185,199,162,.68), rgba(185,199,162,.06)); transform: rotate(-32deg); }
.leaf-one { bottom: 16%; left: 5%; }
.leaf-two { top: 19%; left: 11%; width: 84px; height: 40px; transform: rotate(34deg) scaleX(-1); }
.art-card { position: relative; display: flex; width: min(300px, 76%); min-height: 330px; flex-direction: column; justify-content: center; padding: 38px; border: 1px solid rgba(255,255,255,.75); background: rgba(255,254,250,.8); box-shadow: 0 28px 80px rgba(31,55,43,.11); transform: rotate(2deg); backdrop-filter: blur(10px); }
.art-card-icon { margin-bottom: 21px; color: #a27f4c; font-size: 25px; }
.art-card-label { color: #7b877d; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.art-card strong { margin-top: 15px; color: var(--forest); font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.32; }
.art-card-rule { width: 42px; height: 1px; margin: 26px 0 17px; background: #c7a76e; }
.art-card-foot { color: #77847a; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.art-caption { position: absolute; right: 0; bottom: 3%; display: flex; align-items: center; gap: 10px; color: #78857b; font-size: 10px; }
.caption-line { width: 25px; height: 1px; background: #a27f4c; }

.about-section { padding-block: 50px 105px; }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 35px; color: #7b887d; }
.section-kicker span { color: #a27f4c; font-family: var(--serif); font-size: 14px; letter-spacing: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
h2 { font-size: clamp(38px, 4.3vw, 56px); }
.about-copy { max-width: 490px; color: var(--muted); font-size: 14px; }
.about-copy .lead-copy { margin-bottom: 14px; color: var(--forest); font-family: var(--serif); font-size: 23px; line-height: 1.5; }
.inline-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; color: var(--forest); font-size: 12px; font-weight: 700; }
.about-ribbon { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 24px; margin-top: 72px; padding: 24px 30px; border-block: 1px solid var(--line); }
.ribbon-symbol { color: #a27f4c; font-size: 25px; }
.about-ribbon p { margin: 0; color: var(--forest); font-family: var(--serif); font-size: 20px; }
.ribbon-caption { color: #78857b; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.verses-section { padding-block: 84px 90px; background: var(--cream); }
.verse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verse-card { display: flex; min-height: 330px; flex-direction: column; padding: 29px; border: 1px solid #e2e3d9; background: var(--paper); }
.verse-reference { margin: 0 0 23px; color: #a27f4c; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.verse-arabic { margin: 0 0 17px; color: var(--forest); font-family: 'Noto Naskh Arabic', serif; font-size: 21px; line-height: 2; }
.verse-card blockquote { flex: 1; margin: 0 0 24px; color: var(--forest); font-family: var(--serif); font-size: 18px; line-height: 1.65; }
.verse-card a { display: inline-flex; align-items: center; gap: 8px; color: #738576; font-size: 10px; font-weight: 700; }
.verse-card a span { color: #a27f4c; font-size: 15px; }
.verse-card a:hover, .verse-card a:focus-visible { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.verse-note { margin: 19px 0 0; color: #78857b; font-size: 10px; }

.projects-section { padding-block: 84px 100px; background: var(--cream); }
.projects-section .section-wrap { position: relative; }
.section-heading-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 40px; }
.section-intro { max-width: 460px; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.project-list { display: grid; gap: 16px; }
.project-placeholder { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; min-height: 182px; padding: 30px; border: 1px solid #e2e3d9; background: rgba(255,254,250,.7); }
.project-placeholder-mark { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 24px; }
.project-label { margin: 0 0 7px; color: #a27f4c; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.project-placeholder h3 { margin-bottom: 6px; color: var(--forest); font-family: var(--serif); font-size: 24px; font-weight: 500; }
.project-placeholder p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; }
.project-index { align-self: end; color: #8c968c; font-size: 9px; letter-spacing: .12em; }

.giving-section { position: relative; margin-block: 95px; padding: 55px 58px 50px; color: white; background: var(--forest); }
.giving-section::before { position: absolute; top: 0; right: 0; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: ''; transform: translate(33%, -35%); }
.giving-section .section-kicker { color: #b7c3b6; }
.eyebrow-light { color: #bdcbbd; }
.giving-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.giving-heading h2 { color: white; }
.giving-heading h2 em { color: #d5bc8b; }
.board-status { max-width: 340px; margin: 0 0 7px; color: #c0cec2; font-size: 11px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.18); }
.metric-card { min-height: 158px; padding: 22px 24px; background: #1c4337; }
.metric-card-highlight { background: #254f40; }
.metric-label { margin-bottom: 17px; color: #becbbd; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.metric-value { margin: 0 0 5px; color: #fff; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.metric-note { margin: 0; color: #b9c9ba; font-size: 10px; }
.progress-track { overflow: hidden; height: 4px; margin: 17px 0 10px; background: rgba(255,255,255,.2); }
.progress-track span { display: block; width: 0; height: 100%; background: #d7bb84; transition: width .35s ease; }
.board-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 34px; }
.board-list-panel { min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.2); }
.panel-heading h3 { margin: 0; color: white; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.panel-mark { color: #d5bc8b; font-size: 18px; }
.donation-list { margin: 0; padding: 0; list-style: none; }
.donation-list li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.donation-list .empty-state { justify-content: flex-start; color: #bdcbbd; font-size: 11px; }
.gift-person { min-width: 0; }
.gift-name { display: block; overflow: hidden; color: #fff; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.gift-meta { display: block; margin-top: 2px; color: #b9c9ba; font-size: 9px; }
.gift-amount { flex: 0 0 auto; color: #e4d5b4; font-size: 11px; font-weight: 700; }
.board-privacy { margin: 25px 0 0; color: #aebeb1; font-size: 10px; }

.team-section { padding-block: 20px 100px; }
.team-heading-row { margin-bottom: 34px; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 18px; }
.team-card { min-width: 0; margin: 0; text-align: center; }
.team-card img, .team-photo-placeholder { display: grid; width: min(100%, 164px); aspect-ratio: 1; margin: 0 auto 13px; border: 4px solid white; border-radius: 50%; background: var(--mint); box-shadow: 0 12px 30px rgba(31,55,43,.1); }
.team-card img { object-fit: cover; }
.team-photo-placeholder { place-items: center; padding: 12px; border: 1px dashed #9eae9f; color: #68796d; background: #f1f3ed; font-family: 'Poppins', var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.team-card h3 { margin: 0; color: var(--forest); font-family: 'Poppins', var(--sans); font-size: 14px; font-weight: 500; }
.team-card figcaption span { color: #a27f4c; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.contact-section { padding-block: 10px 100px; }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 47px; background: var(--mint); }
.contact-copy { max-width: 565px; }
.contact-copy .eyebrow { margin-bottom: 14px; }
.contact-copy h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 48px); }
.contact-copy > p:last-child { max-width: 525px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.contact-details { display: flex; min-height: 122px; align-items: center; gap: 17px; padding: 23px; border: 1px solid rgba(22,57,47,.17); background: rgba(255,254,250,.48); }
.contact-details p { margin: 0; color: #627168; font-size: 12px; }
.contact-details a { color: var(--forest); font-weight: 700; }
.contact-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--forest); background: #fffefa; font-size: 18px; }

.site-footer { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 25px; padding: 20px max(28px, calc((100vw - var(--content)) / 2)); border-top: 1px solid var(--line); }
.brand-footer .brand-mark { width: 32px; height: 32px; font-size: 18px; }
.brand-footer .brand-name { font-size: 10px; }
.site-footer > p, .footer-copy { margin: 0; color: #78857b; font-size: 10px; }

@media (max-width: 820px) {
  .site-header { min-height: 70px; padding-inline: 24px; }
  .primary-nav { gap: 20px; }
  .hero { min-height: auto; grid-template-columns: 1fr .85fr; gap: 8px; padding-block: 75px 55px; }
  .hero-art { min-height: 350px; }
  .art-card { min-height: 280px; padding: 28px; }
  .art-card strong { font-size: 23px; }
  .about-grid, .section-heading-row { gap: 35px; }
  .verse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .giving-section { padding: 43px 35px; }
  .giving-heading { align-items: start; flex-direction: column; gap: 17px; }
  .verse-card { padding: 23px; }
  .verse-card blockquote { font-size: 17px; }
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 15px; }
  .team-card img, .team-photo-placeholder { width: min(100%, 150px); }
  .contact-card { gap: 28px; padding: 35px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .nav-toggle span { width: 17px; height: 1px; background: var(--forest); }
  .primary-nav { position: absolute; top: 69px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 6px; }
  .primary-nav .nav-contact { margin-top: 7px; text-align: center; }
}
@media (max-width: 620px) {
  .section-wrap { width: min(var(--content), calc(100% - 38px)); }
  .site-header { padding-inline: 19px; }
  .nav-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .nav-toggle span { width: 17px; height: 1px; background: var(--forest); }
  .primary-nav { position: absolute; top: 69px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 19px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 6px; }
  .primary-nav .nav-contact { margin-top: 7px; text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 64px 48px; }
  h1 { font-size: clamp(43px, 12vw, 61px); }
  .hero-lede { font-size: 15px; }
  .hero-art { min-height: 355px; margin-top: 12px; }
  .art-card { width: 250px; min-height: 270px; }
  .art-caption { right: 4%; bottom: -1%; font-size: 9px; }
  .about-section { padding-block: 35px 68px; }
  .about-grid, .section-heading-row { grid-template-columns: 1fr; gap: 20px; }
  .about-copy .lead-copy { font-size: 21px; }
  .about-ribbon { grid-template-columns: 30px 1fr; gap: 13px; margin-top: 48px; padding: 21px 4px; }
  .about-ribbon p { font-size: 17px; }
  .ribbon-caption { grid-column: 2; }
  .verses-section { padding-block: 65px; }
  .verse-grid { grid-template-columns: 1fr; gap: 12px; }
  .verse-card { min-height: 0; padding: 24px 21px; }
  .verse-arabic { font-size: 20px; }
  .verse-card blockquote { margin-bottom: 20px; font-size: 18px; }
  .projects-section { padding-block: 65px; }
  .project-placeholder { grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 17px; }
  .project-placeholder-mark { width: 50px; height: 50px; }
  .project-placeholder h3 { font-size: 21px; }
  .project-index { grid-column: 2; }
  .giving-section { width: 100%; margin-block: 66px; padding: 38px 19px; }
  .giving-section .section-kicker { margin-bottom: 30px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 130px; padding: 19px; }
  .metric-label { margin-bottom: 11px; }
  .metric-value { font-size: 29px; }
  .board-lists { grid-template-columns: 1fr; gap: 28px; }
  .team-section { padding-block: 8px 65px; }
  .team-heading-row { margin-bottom: 25px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; }
  .team-card img, .team-photo-placeholder { width: min(100%, 164px); }
  .team-card h3 { font-size: 13px; }
  .contact-section { padding-bottom: 65px; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; padding: 27px 21px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 25px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
