@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  color-scheme: light;
  --green: #073d36;
  --green-dark: #042e29;
  --gold: #ad742f;
  --gold-light: #c18a45;
  --ink: #202322;
  --muted: #656963;
  --cream: #f8f6f1;
  --line: #e7e3dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

html:lang(zh-Hans) {
  --serif: "Noto Serif CJK SC", "SimSun", serif;
  --sans: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html:lang(zh-Hant) {
  --serif: "Noto Serif CJK TC", "MingLiU", serif;
  --sans: "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.55; background: #fff; }
a { color: inherit; }
img { display: block; width: 100%; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 20; top: 1rem; left: 1rem; background: #fff; padding: .75rem 1rem; }
.section-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.notice { position: relative; z-index: 7; min-height: 32px; padding: 6px 16px; background: var(--green-dark); color: #e9efe9; text-align: center; font: 11px/20px var(--sans); }
.site-header { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 73px; padding: 8px max(32px, calc((100vw - 1360px) / 2)); background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); flex-shrink: 0; }
.brand-mark { display: block; width: 42px; height: 50px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font: 700 25px var(--serif); letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; font: 600 7px var(--sans); letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 27px); font: 500 12px var(--sans); }
.main-nav > a:not(.button) { text-decoration: none; white-space: nowrap; }
.main-nav > a:not(.button):hover, .footer-main a:hover, .footer-bottom a:hover { color: var(--gold-light); }
.language-picker { position: relative; }
.language-trigger { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: 500 11px var(--sans); cursor: pointer; white-space: nowrap; }
.language-trigger > span:last-child { color: var(--muted); }
.language-menu { position: absolute; z-index: 12; top: calc(100% + 5px); right: 0; width: 190px; max-height: min(65vh, 410px); overflow-y: auto; padding: 5px; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: 0 8px 24px rgba(16,30,26,.18); }
.language-menu[hidden] { display: none; }
.language-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: 0; border-radius: 3px; background: transparent; color: var(--ink); text-align: left; font: 11px var(--sans); cursor: pointer; }
.language-menu button:hover, .language-menu button[aria-selected="true"] { background: #eef3ef; }
.language-menu button[aria-selected="true"] { color: var(--green); font-weight: 700; }
.language-menu-footer { display: flex; justify-content: space-between; padding: 9px 8px 5px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--sans); }
.hero { position: relative; min-height: clamp(450px, 44vw, 627px); display: flex; align-items: stretch; overflow: hidden; background: #f8f6f1; }
.hero::before { position: absolute; z-index: 1; inset: 0 52% 0 0; content: ""; background: linear-gradient(90deg, #f8f6f1 0%, rgba(248,246,241,.97) 69%, rgba(248,246,241,.74) 100%); }
.hero-content { position: relative; z-index: 2; width: 50%; max-width: 660px; margin: 0 0 0 max(32px, calc((100vw - 1200px) / 2)); padding: 32px 28px 48px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 34px; color: var(--green-dark); }
.hero-brand img { display: none; }
.hero-brand span { display: flex; flex-direction: column; }
.hero-brand strong { font: 700 11px var(--sans); letter-spacing: .1em; }
.hero-brand small { font: 600 8px var(--sans); letter-spacing: .12em; }
.hero h1 { max-width: 540px; margin: 0; color: #1b2421; font: 600 clamp(42px, 4.15vw, 60px)/1.04 var(--serif); letter-spacing: -.035em; }
.hero h1 span:first-of-type { color: var(--ink); }
.hero h1 span:not(:first-of-type) { color: var(--gold); }
.hero-intro { max-width: 455px; margin: 15px 0 21px; font-size: 16px; line-height: 1.48; }
.hero-visual { position: absolute; inset: 0 0 0 36%; background: linear-gradient(90deg, rgba(248,246,241,.42), transparent 30%), url("assets/reference-hero.jpg") center 48% / cover no-repeat; }
.hero-credit { position: absolute; z-index: 2; right: 28px; bottom: 14px; color: #fff; font: 10px var(--sans); text-shadow: 0 1px 4px #111; }
.hero-dots { position: absolute; z-index: 2; bottom: 16px; left: max(32px, calc((100vw - 1200px) / 2)); display: flex; gap: 7px; }
.hero-dots span { width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; background: transparent; }
.hero-dots span:first-child { background: var(--gold); }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; border: 0; border-radius: 5px; padding: 12px 19px; color: #fff; text-decoration: none; font: 600 12px var(--sans); transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); }
.button-gold:hover { background: #925f25; }
.button-green { background: var(--green); }
.button-green:hover { background: var(--green-dark); }

.eyebrow { margin: 0 0 8px; color: var(--gold); font: 700 10px var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.mobile-break { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.values-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-item { display: flex; align-items: center; gap: 17px; padding: 5px 22px; border-right: 1px solid var(--line); }
.value-item:first-child { padding-left: 7px; }
.value-item:last-child { border: 0; }
.value-icon { flex: 0 0 42px; color: var(--gold); font: 42px/1 var(--serif); text-align: center; }
.justice-icon { color: var(--green); }
.people-icon { color: var(--gold); }
.peace-icon { color: var(--green); }
.value-item h2 { margin: 0 0 2px; font: 700 15px var(--serif); }
.value-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }

.about { position: relative; display: grid; grid-template-columns: .87fr 1.55fr; align-items: center; min-height: 305px; padding-top: 26px; padding-bottom: 26px; }
.about-copy { max-width: 390px; padding-right: 28px; }
.about h2, .section-heading h2 { margin: 0 0 9px; font: 700 30px/1.15 var(--serif); letter-spacing: -.025em; }
.about-copy > p:not(.eyebrow) { margin: 0 0 15px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.about-photo { position: relative; height: 250px; margin: 0; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 6px 10px; background: rgba(4,46,41,.85); color: white; font: 10px var(--sans); }
.quote-card { position: absolute; right: 7%; top: 50%; width: 270px; margin: 0; padding: 20px 24px 19px 42px; transform: translateY(-38%); background: #fff; box-shadow: 0 8px 24px rgba(25,25,25,.14); }
.quote-card > span { position: absolute; top: 5px; left: 13px; color: var(--gold); font: 700 45px var(--serif); }
.quote-card p { margin: 0 0 11px; font: 600 20px/1.3 var(--serif); }
.quote-card cite { font: 600 10px var(--sans); font-style: normal; letter-spacing: .1em; }

.updates { display: grid; grid-template-columns: 1.8fr 1fr; gap: 28px; padding-top: 14px; padding-bottom: 22px; }
.news-column { padding-right: 23px; border-right: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.section-heading h2 { margin: 0; font-size: 26px; }
.section-heading > a { padding-bottom: 2px; color: var(--ink); font: 11px var(--sans); text-decoration: none; white-space: nowrap; }
.section-heading > a span { color: var(--gold); font-size: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.news-image { display: block; height: 116px; overflow: hidden; }
.news-image img { height: 100%; object-fit: cover; transition: transform .25s ease; }
.news-image:hover img { transform: scale(1.04); }
.news-copy { padding: 9px 10px 12px; }
.news-copy time { color: var(--muted); font: 10px var(--sans); }
.news-copy h3 { margin: 2px 0 4px; font: 700 15px/1.2 var(--serif); }
.news-copy p { min-height: 50px; margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.42; }
.news-copy > a { color: var(--gold); font: 700 11px var(--sans); text-decoration: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery-grid a { height: 90px; overflow: hidden; border-radius: 4px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

.donation { display: grid; grid-template-columns: 1.1fr 2fr; align-items: center; gap: 24px; padding: 20px 26px; border-radius: 8px; background: var(--cream); }
.donation-message { display: flex; align-items: center; gap: 14px; }
.donation-heart { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 50%; background: var(--gold); color: white; font: 27px var(--sans); }
.donation-message h2 { margin: 0 0 4px; font: 700 20px/1.2 var(--serif); }
.donation-message p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.donation-form { display: grid; grid-template-columns: auto 1fr auto auto; align-items: end; gap: 11px; }
.frequency-options { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.frequency-options label { position: relative; cursor: pointer; }
.frequency-options input { position: absolute; opacity: 0; }
.frequency-options span { display: block; min-width: 91px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: white; text-align: center; font: 11px var(--sans); }
.frequency-options input:checked + span { border-color: var(--green); background: var(--green); color: white; }
.frequency-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.amount-options { display: flex; align-self: end; gap: 5px; }
.amount-button { min-height: 36px; min-width: 48px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: 600 11px var(--sans); cursor: pointer; }
.amount-button:hover, .amount-button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.custom-amount { display: grid; gap: 4px; color: var(--muted); font: 10px var(--sans); }
.custom-amount input { width: 106px; min-height: 36px; border: 1px solid var(--line); border-radius: 5px; padding: 8px; font: 12px var(--sans); }
.donate-submit { min-height: 37px; white-space: nowrap; cursor: pointer; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 17px; padding-bottom: 17px; }
.trust-strip > p { display: flex; align-items: center; gap: 11px; margin: 0; padding: 0 14px; border-right: 1px solid var(--line); }
.trust-strip > p:first-child { padding-left: 3px; }
.trust-strip > p:nth-child(3) { border: 0; }
.trust-strip > p > span:first-child { color: var(--gold); font: 32px var(--serif); }
.trust-strip strong, .trust-strip small, .impact-strip strong, .impact-strip small { display: block; }
.trust-strip strong { font: 600 12px var(--serif); }
.trust-strip small { color: var(--muted); font-size: 10px; }
.trust-strip .payment-logos { display: block; align-self: center; padding: 8px; border: 0; border-radius: 4px; color: var(--green); font: 700 12px var(--sans); text-align: center; }
.impact-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px max(32px, calc((100vw - 1280px) / 2)); background: #f1f3eb; }
.impact-strip p { display: flex; align-items: center; gap: 16px; margin: 0; padding: 2px 24px; border-right: 1px solid #bdc4b8; }
.impact-strip p:first-child { padding-left: 4px; }
.impact-strip p:last-child { border: 0; }
.impact-strip p > span:first-child { color: var(--green); font: 38px var(--serif); }
.impact-strip strong { font: 700 18px var(--serif); }
.impact-strip small { font-size: 11px; }

.site-footer { background: var(--green-dark); color: #f8f6f1; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr; gap: 54px; padding-top: 32px; padding-bottom: 26px; }
.footer-brand { color: white; }
.footer-about > p { max-width: 360px; margin: 12px 0; color: #d3ded8; font-size: 12px; line-height: 1.5; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: white; font: 700 12px var(--sans); text-decoration: none; }
.footer-main h2 { margin: 1px 0 9px; font: 700 14px var(--serif); }
.footer-main > div:not(:first-child) > a { display: block; width: fit-content; margin: 4px 0; color: #d3ded8; font: 11px var(--sans); text-decoration: none; }
.footer-main > div > p:not(.footer-about > p) { margin: 5px 0; color: #d3ded8; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 11px; padding-bottom: 14px; border-top: 1px solid rgba(255,255,255,.3); color: #d3ded8; font: 10px var(--sans); }
.footer-bottom div { display: flex; gap: 19px; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 1000px) {
  .site-header { padding-inline: 24px; }
  .menu-toggle { display: block; border: 1px solid var(--line); border-radius: 4px; background: white; padding: 8px 11px; color: var(--green); font: 600 12px var(--sans); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 18px 15px; border-top: 1px solid var(--line); background: white; box-shadow: 0 10px 16px rgba(0,0,0,.08); font-size: 13px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .nav-donate { margin-top: 9px; }
  .language-picker { margin-top: 9px; }
  .language-trigger { width: 100%; justify-content: space-between; }
  .language-menu { right: 0; width: min(100%, 360px); }
  .brand-copy strong { font-size: 22px; }
  .brand-copy small { font-size: 6px; }
  .section-wrap, .values-strip { width: calc(100% - 48px); }
  .hero { min-height: 490px; }
  .hero-content { width: 54%; margin-left: 24px; padding-right: 18px; }
  .hero-visual { left: 40%; }
  .hero h1 { font-size: clamp(40px, 5vw, 54px); }
  .hero-dots { left: 24px; }
  .value-item { padding-inline: 12px; gap: 10px; }
  .updates { grid-template-columns: 1fr; }
  .news-column { padding-right: 0; border: 0; }
  .gallery-column { max-width: 560px; }
  .donation { grid-template-columns: 1fr; }
  .donation-form { justify-content: start; }
  .footer-main { gap: 28px; }
}
@media (max-width: 700px) {
  .notice { padding-inline: 10px; font-size: 9px; line-height: 1.35; }
  .site-header { min-height: 68px; padding: 9px 18px; }
  .brand-mark { width: 36px; height: 43px; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy small { font-size: 5.5px; }
  .language-menu { max-height: min(60vh, 360px); }
  .section-wrap, .values-strip { width: calc(100% - 36px); }
  .hero { min-height: 545px; align-items: end; }
  .hero::before { inset: 44% 0 0; background: linear-gradient(0deg, #f8f6f1 0%, rgba(248,246,241,.97) 68%, rgba(248,246,241,.45) 100%); }
  .hero-visual { inset: 0 0 48%; background-position: 63% center; }
  .hero-content { width: calc(100% - 36px); max-width: none; margin: 0 auto; padding: 20px 0 38px; }
  .hero-brand { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(36px, 10vw, 49px); }
  .mobile-break { display: initial; }
  .hero-intro { max-width: 480px; font-size: 14px; }
  .hero-credit { right: 12px; top: 10px; bottom: auto; }
  .hero-dots { left: 18px; bottom: 12px; }
  .values-strip { grid-template-columns: repeat(2, 1fr); padding: 12px 0; }
  .value-item { min-height: 78px; padding: 8px 6px; border-right: 0; }
  .value-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value-item:first-child { padding-left: 6px; }
  .value-icon { flex-basis: 34px; font-size: 34px; }
  .value-item h2 { font-size: 13px; }
  .value-item p { font-size: 10px; }
  .about { grid-template-columns: 1fr; gap: 17px; padding-top: 27px; padding-bottom: 24px; }
  .about-copy { padding-right: 0; }
  .about h2 { font-size: 27px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .about-photo { height: 230px; }
  .quote-card { position: relative; right: auto; top: auto; width: min(290px, 84%); margin: -66px 0 0 auto; transform: none; }
  .updates { gap: 22px; padding-top: 10px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > a { padding-top: 10px; font-size: 10px; }
  .news-grid { grid-template-columns: 1fr; gap: 10px; }
  .news-card { display: grid; grid-template-columns: 38% 1fr; }
  .news-image { height: 100%; min-height: 132px; }
  .news-copy { padding: 10px; }
  .news-copy h3 { font-size: 14px; }
  .news-copy p { min-height: 0; font-size: 11px; }
  .gallery-grid { gap: 6px; }
  .gallery-grid a { height: 90px; }
  .donation { width: calc(100% - 24px); padding: 18px 14px; gap: 17px; }
  .donation-heart { flex-basis: 44px; height: 44px; font-size: 23px; }
  .donation-message { gap: 10px; align-items: start; }
  .donation-message h2 { font-size: 18px; }
  .donation-form { grid-template-columns: 1fr 1fr; gap: 9px; }
  .frequency-options { grid-column: 1 / -1; }
  .frequency-options label { flex: 1; }
  .frequency-options span { min-width: 0; }
  .amount-options { grid-column: 1 / -1; justify-content: space-between; }
  .amount-button { flex: 1; }
  .custom-amount input { width: 100%; }
  .donate-submit { align-self: end; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 12px 4px; padding-top: 15px; padding-bottom: 15px; }
  .trust-strip > p { padding: 0 5px; border: 0; }
  .trust-strip > p > span:first-child { font-size: 26px; }
  .trust-strip strong { font-size: 11px; }
  .trust-strip small { font-size: 9px; }
  .trust-strip .payment-logos { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .impact-strip { grid-template-columns: 1fr 1fr; gap: 14px 0; padding: 17px 18px; }
  .impact-strip p { gap: 10px; padding: 2px 10px; border: 0; }
  .impact-strip p:nth-child(odd) { border-right: 1px solid #bdc4b8; }
  .impact-strip p:first-child { padding-left: 3px; }
  .impact-strip p > span:first-child { font-size: 30px; }
  .impact-strip strong { font-size: 15px; }
  .impact-strip small { font-size: 9px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 16px; padding-top: 25px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-brand .brand-copy strong { font-size: 22px; }
  .footer-about > p { font-size: 11px; }
  .footer-main h2 { font-size: 13px; }
  .footer-bottom { flex-direction: column; padding-top: 12px; }
  .footer-bottom div { flex-wrap: wrap; gap: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
