@font-face { font-family: "Fahkwang"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/fahkwang-400.woff2") format("woff2"); }
@font-face { font-family: "Fahkwang"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/fahkwang-500.woff2") format("woff2"); }

:root {
  --blush: #f4e3dc;
  --blush-deep: #ead0c5;
  --clay: #823c2e;
  --clay-dark: #633025;
  --ink: #2a2321;
  --muted: #6b5d58;
  --white: #fff;
  --radius: 14px;
  --max: 1120px;
  --head: "Fahkwang", Georgia, serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--clay-dark); }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.blush { background: var(--blush); }
.clay { background: var(--clay); color: var(--blush); }
.clay h2, .clay h3 { color: var(--white); }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin-bottom: .75em; font-weight: 400; }
.clay .eyebrow { color: var(--blush-deep); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  background: var(--clay); color: var(--white); text-decoration: none;
  font-weight: 400; letter-spacing: .02em; border: 2px solid var(--clay);
  transition: background .2s, color .2s; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn.ghost { background: transparent; color: var(--clay); }
.btn.ghost:hover { background: var(--clay); color: var(--white); }
.btn.light { background: var(--white); color: var(--clay); border-color: var(--white); }
.btn.light:hover { background: var(--blush); border-color: var(--blush); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--blush-deep); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--clay-dark); font-family: var(--head); font-size: 1.15rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 400; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--clay); background: var(--blush); }
.menu .btn { color: var(--white); padding: 9px 20px; margin-left: 6px; }
.menu .btn:hover { color: var(--white); background: var(--clay-dark); }
.dropdown { position: relative; }
.dropdown ul { display: none; position: absolute; top: 100%; left: 0; background: var(--white); list-style: none; padding: 8px; margin: 0; border-radius: 10px; box-shadow: 0 12px 30px rgba(99,48,37,.15); min-width: 210px; }
.dropdown:hover ul, .dropdown:focus-within ul { display: block; }
.dropdown ul a { display: block; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--clay-dark); margin: 5px 0; transition: .2s; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--blush-deep); gap: 2px; }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 12px; }
  .dropdown ul { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; }
  .menu .btn { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,35,33,.05) 20%, rgba(99,48,37,.75) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 80px; width: 100%; }
.hero h1 { color: var(--white); max-width: 700px; }
.hero p { font-size: 1.2rem; max-width: 520px; opacity: .92; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-hero { background: var(--blush); padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--blush-deep); }
.blush .card { border-color: transparent; }
.card .tag { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--clay); margin-bottom: 6px; font-weight: 400; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cta-card { padding: 40px; border-radius: var(--radius); }
.cta-card.light { background: var(--blush); }
.cta-card.dark { background: var(--clay); color: var(--blush); }
.cta-card.dark h3 { color: var(--white); }
.cta-card h3 { font-size: 1.8rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: 3rem; color: var(--white); font-weight: 400; line-height: 1.1; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* Projects */
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--blush-deep); }
.project img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.project div { padding: 24px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(99,48,37,.12); }
.member .role { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); font-weight: 400; }
.member h3 { margin: 4px 0 6px; }
.member a { font-size: .9rem; word-break: break-all; }
.member .links { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); padding: 36px; border-radius: var(--radius); border: 1px solid var(--blush-deep); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } .form { padding: 24px; } }
label { display: block; font-weight: 400; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d9c3b9; border-radius: 10px;
  font: inherit; font-weight: 300; background: #fffdfc; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
textarea { min-height: 140px; resize: vertical; }
.req { color: var(--clay); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 300; }
.check input { width: auto; margin-top: 5px; }
.hidden { display: none; }
.amounts { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.amounts legend { font-weight: 400; font-size: .92rem; margin-bottom: 8px; }
.amount { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid #d9c3b9; border-radius: 10px; cursor: pointer; font-weight: 300; margin: 0; }
.amount input { width: auto; accent-color: var(--clay); }
.amount b { font-weight: 400; color: var(--clay-dark); min-width: 88px; }
.amount:has(input:checked) { border-color: var(--clay); background: var(--blush); }

/* Donate tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--clay); background: var(--white); color: var(--clay); cursor: pointer; font: inherit; font-weight: 400; }
.tab[aria-selected="true"] { background: var(--clay); color: var(--white); }
.js .fund-panel:not(.active) { display: none; }
.fund-panel { margin-bottom: 32px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { flex: none; }

/* Footer */
.site-footer { background: var(--clay-dark); color: var(--blush); padding: 64px 0 28px; font-size: .95rem; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 14px; }
.site-footer a { color: var(--blush); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.socials a:hover { background: rgba(255,255,255,.22); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 20px; font-size: .85rem; opacity: .75; }

/* Donate: tiers and QR codes */
.tiers { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.tiers li { display: flex; gap: 14px; padding: 12px 16px; background: var(--blush); border-radius: 10px; }
.tiers b { font-weight: 400; color: var(--clay-dark); min-width: 90px; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0 0; }
@media (max-width: 560px) { .qr-grid { grid-template-columns: 1fr; } }
.qr { margin: 0; padding: 24px; border: 1px solid var(--blush-deep); border-radius: var(--radius); text-align: center; }
.qr img { width: 100%; max-width: 260px; height: auto; margin: 0 auto 12px; border-radius: 8px; }
.qr b { font-weight: 400; color: var(--clay-dark); font-size: 1.1rem; }
.qr-id { color: var(--muted); font-size: .95rem; }
input[type="file"] { padding: 10px; background: var(--white); }

/* Hero with photo beside the text (keeps the photo at its real size) */
.hero-split { background: var(--blush); padding: 64px 0 72px; }
.hero-split .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero-split h1 { color: var(--clay-dark); }
.hero-split p.sub { font-size: 1.15rem; color: var(--muted); max-width: 460px; }
.hero-split .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-split img { width: 100%; max-width: 640px; height: auto; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(99,48,37,.18); justify-self: end; }
@media (max-width: 860px) {
  .hero-split { padding: 40px 0 48px; }
  .hero-split .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-split img { justify-self: stretch; max-width: none; }
}
.stat small { display: block; opacity: .8; font-size: .85rem; margin-top: 4px; }
.done-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.done-list li { padding: 20px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--blush-deep); }
.done-list b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.2rem; color: var(--clay-dark); margin-bottom: 4px; }

/* Clickable project cards */
a.project, a.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.project:hover, a.card-link:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(99,48,37,.12); }
.more { display: inline-block; margin-top: 4px; color: var(--clay); font-weight: 400; }
@media (max-width: 700px) { .stats[style] { grid-template-columns: 1fr !important; } .team[style] { grid-template-columns: 1fr !important; } }

/* Payment pages */
.pay-steps { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 10px; }
.pay-steps b { font-weight: 400; color: var(--clay-dark); }
.amounts .row .amount { justify-content: center; }
.qr img { max-width: 300px; }
.qr figcaption.qr-id { margin-top: 4px; }
.qr figcaption b { font-size: 1rem; }
.remark { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.remark code { font-family: inherit; font-weight: 400; background: var(--blush); color: var(--clay-dark); padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--clay); }
.copy-remark { font: inherit; font-size: .9rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--clay); background: var(--white); color: var(--clay); cursor: pointer; }
.copy-remark:hover { background: var(--clay); color: var(--white); }
.split .qr img { aspect-ratio: auto; object-fit: contain; width: 100%; height: auto; border-radius: 0; }

/* Country code picker */
.iti { display: block; width: 100%; }
.iti__dropdown-content { border-radius: 10px; border: 1px solid var(--blush-deep); box-shadow: 0 12px 30px rgba(99,48,37,.15); }
.iti__search-input { padding: 10px 12px; border-radius: 8px; margin: 6px; width: calc(100% - 12px); }
.iti__country.iti__highlight { background: var(--blush); }
.iti__selected-dial-code { color: var(--ink); }
