:root {
  --blue-light: #1A7898;
  --blue-deep: #0E5470;
  --gold: #E8B923;
  --gold-text: #8A6800;
  --ink: #13303B;
  --body: #3D4A52;
  --muted: #5B6870;
  --cream: #FFF6D6;
  --line: #D5DDE0;
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --button: "Lato", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--body);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 40rem); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--blue-deep); line-height: 1.15; margin: 0; }
.kicker {
  font-family: var(--button); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-text);
  margin: 0 0 0.4rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.6rem; border-radius: 999px;
  font-family: var(--button); font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: filter 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-outline:hover { background: rgba(14, 84, 112, 0.06); }
.btn-small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--blue-light); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--white); }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--button); font-weight: 700; font-size: 0.95rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; margin: 6px 0; }
@media (max-width: 720px) {
  .menu-toggle { display: block; order: 3; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--blue-deep);
  }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); }
}

/* Hero */
.hero { background: var(--blue-deep); color: #E6EEF1; text-align: center; padding: 3rem 0 4rem; }
.hero .lotus { width: 150px; margin: 0 auto 1.5rem; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 6vw, 3.4rem); max-width: 20ch; margin-inline: auto; }
.hero p { max-width: 34rem; margin: 1rem auto 0; font-size: 1.125rem; }
.hero .kicker { color: var(--gold); }
.donate-area { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero .alt-link { color: #E6EEF1; font-size: 0.95rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section h2 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin-bottom: 1.5rem; }
.center { text-align: center; }

/* Project card */
.project { background: var(--cream); border-radius: 18px; overflow: hidden; display: grid; }
.project-media { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.project-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.project-body { padding: 1.5rem 1.5rem 1.75rem; }
.project-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.project-body p { margin: 0 0 1.25rem; }
@media (min-width: 820px) {
  .project { grid-template-columns: 1.1fr 1fr; }
  .project-body { padding: 2.5rem; align-self: center; }
}

/* Quote teaser */
.teaser { text-align: center; }
.teaser img { width: 56px; margin: 0 auto 1rem; }
.quote { font-family: var(--serif); font-weight: 500; color: var(--blue-deep); font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.3; max-width: 22ch; margin: 0 auto 1.75rem; }

/* Footer */
.site-footer { background: var(--blue-deep); color: var(--white); text-align: center; padding: 2.5rem 0 3rem; }
.site-footer .name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 0.5rem; }
.site-footer a { color: var(--white); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 5px; }

/* About: registration */
.reg-card { border: 2px solid var(--line); border-radius: 16px; padding: 0.5rem 1.5rem; }
.reg-card dl { margin: 0; }
.reg-row { padding: 1rem 0; border-bottom: 1px solid #E3E8EA; }
.reg-row:last-child { border-bottom: 0; }
.reg-row dt { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.reg-row dd { margin: 0.15rem 0 0; font-weight: 700; color: var(--ink); }

/* About: name meaning */
.meaning p { font-weight: 600; color: var(--ink); margin: 0 auto 1rem; max-width: 30rem; }

/* Founder */
.portrait { width: 176px; height: 176px; border-radius: 50%; border: 4px solid var(--gold); margin: 0 auto 1rem; overflow: hidden; background: var(--cream); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--serif); font-weight: 600; color: var(--blue-deep); font-size: 1.6rem; margin: 0; }
.person-role { font-weight: 600; color: var(--ink); margin: 0.2rem 0 0.75rem; }
.story p { margin: 0 0 1rem; }
.story a { font-weight: 700; }

/* Volunteers */
.volunteers { display: grid; gap: 2.5rem; }
.volunteer { text-align: center; max-width: 24rem; margin-inline: auto; }
.volunteer .portrait { width: 136px; height: 136px; }
.volunteer .person-name { font-size: 1.3rem; }
.volunteer .creds { font-size: 0.95rem; color: var(--muted); margin: 0 0 0.6rem; }
.volunteer p { margin: 0; }
@media (min-width: 760px) { .volunteers { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Ways to give */
.give-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .give-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.give-card { border: 2px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.give-card h3 { font-family: var(--button); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.5rem; }
.give-card > p { margin: 0 0 1rem; }
.safety { color: var(--blue-deep); font-weight: 600; margin: 1rem 0 0; }

/* Copy rows (bank + delivery) */
.copy-list { margin: 0; }
.copy-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid #E3E8EA; }
.copy-row .copy-text { flex: 1; min-width: 0; }
.copy-row dt { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.copy-row dd { margin: 0.1rem 0 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.copy-btn {
  flex: none; min-width: 72px; min-height: 40px; border-radius: 999px;
  border: 2px solid var(--blue-deep); background: var(--white); color: var(--blue-deep);
  font-family: var(--button); font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.copy-btn.copied { background: var(--blue-deep); color: var(--white); }

details.intl { margin-top: 1rem; background: var(--cream); border-radius: 12px; }
details.intl summary { cursor: pointer; padding: 0.9rem 1rem; font-family: var(--button); font-weight: 700; color: var(--blue-deep); min-height: 48px; }
details.intl .intl-body { padding: 0 1rem 1rem; }
.bank { padding: 0.75rem 0; border-top: 1px solid rgba(14,84,112,0.15); }
.bank strong { color: var(--ink); }
.bank p { margin: 0.15rem 0 0; font-size: 0.95rem; }

/* Dialog */
dialog.picker {
  border: 0; padding: 0; border-radius: 20px; width: min(100% - 1.5rem, 34rem);
  max-height: calc(100dvh - 2rem); color: var(--body);
}
dialog.picker::backdrop { background: rgba(11, 53, 70, 0.7); }
.picker-inner { padding: 1.5rem 1.5rem 1.75rem; }
.picker-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.picker h2 { font-size: 1.6rem; margin: 0 0 0.5rem; }
.close-btn { background: none; border: 0; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; margin: -0.5rem -0.5rem 0 0; }
.options { display: grid; gap: 0.85rem; margin: 1.25rem 0 0.75rem; border: 0; padding: 0; }
.option { position: relative; display: block; border: 2px solid var(--line); border-radius: 16px; padding: 1rem 3.25rem 1rem 1.1rem; cursor: pointer; background: var(--white); }
.option:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.option input { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; accent-color: var(--blue-deep); }
.option .opt-num { font-family: var(--button); font-weight: 700; font-size: 0.8rem; color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.05em; }
.option .opt-tag { display: inline-block; margin-left: 0.5rem; background: var(--blue-deep); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 999px; text-transform: none; letter-spacing: 0; }
.option .opt-name { display: block; font-family: var(--button); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-top: 0.2rem; }
.option .opt-spec { display: block; font-size: 0.95rem; }
.option .opt-price { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.option .opt-price b { font-family: var(--serif); font-size: 1.35rem; color: var(--blue-deep); font-weight: 600; margin-left: 0.25rem; }
.fine { font-size: 0.875rem; color: var(--muted); margin: 0 0 1rem; }
.choice-box { background: var(--cream); border-radius: 12px; padding: 0.75rem 1rem; font-family: var(--button); font-weight: 700; color: var(--ink); margin: 0.75rem 0; }
.tips { margin: 1rem 0; padding-left: 1.2rem; font-size: 0.95rem; }
.picker-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.75rem; margin-top: 1rem; }
.back-link { background: none; border: 0; color: var(--blue-deep); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0.75rem 0 0; font-size: 0.95rem; }
[hidden] { display: none !important; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 600; z-index: 100; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Temporary notice banner */
.notice { background: var(--cream); border-bottom: 1px solid #F0DFA0; color: var(--ink); font-size: 0.95rem; padding: 0.65rem 0; text-align: center; }
.notice a { font-weight: 700; color: var(--blue-deep); }

/* Amazon wish list */
.section-soft { padding-top: 0; }
.wishlist { border: 2px solid var(--line); border-radius: 18px; padding: 1.75rem 1.5rem; display: grid; gap: 1.25rem; }
.wishlist h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin-bottom: 0.6rem; }
.wishlist p { margin: 0 0 0.75rem; }
.wishlist .fine { margin: 0; }
@media (min-width: 820px) { .wishlist { grid-template-columns: 1fr auto; align-items: center; padding: 2rem 2.5rem; } }
