:root {
  --bg: #f5efe4;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: #fffdf8;
  --text: #1d2927;
  --muted: #5d6a66;
  --line: rgba(29, 41, 39, 0.12);
  --brand: #1f5d57;
  --brand-strong: #174944;
  --accent: #d06e4d;
  --accent-soft: #f2d2bf;
  --donate: #ffaf20;
  --donate-strong: #e69c17;
  --shadow: 0 20px 50px rgba(20, 40, 35, 0.08);
  --shadow-hover: 0 30px 60px rgba(20, 40, 35, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-offset: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 1rem);
}

body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32%),
    radial-gradient(circle at right 15%, rgba(208, 110, 77, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f2e8 0%, #f3ecdf 48%, #f8f3ea 100%);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

body[data-text-size="large"] {
  font-size: 18px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 54, 50, 0.86);
  color: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(16px);
}

.utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.85rem 0;
}

.utility-row p {
  margin: 0;
  font-size: 0.95rem;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.utility-label {
  color: var(--muted);
  font-weight: 700;
}

.text-size-button {
  min-width: 4.25rem;
  border: 1px solid rgba(29, 41, 39, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.text-size-button[aria-pressed="true"],
.text-size-button:hover,
.text-size-button:focus-visible {
  background: rgba(31, 93, 87, 0.12);
  border-color: rgba(31, 93, 87, 0.3);
}

.lang-button {
  min-width: 3.25rem;
  border: 1px solid rgba(29, 41, 39, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.lang-button[aria-pressed="true"],
.lang-button:hover,
.lang-button:focus-visible {
  background: rgba(208, 110, 77, 0.16);
  border-color: rgba(208, 110, 77, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(29, 41, 39, 0.08);
  background: rgba(248, 243, 234, 0.82);
  backdrop-filter: blur(18px);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(29, 41, 39, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 0.5rem 0;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), #e9b08b);
  color: #fffaf5;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 34px rgba(208, 110, 77, 0.22);
}

.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.brand-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-tools .utility-actions {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(29, 41, 39, 0.08);
}

.toggle-btn {
  border: 1px solid rgba(29, 41, 39, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.toggle-btn[aria-pressed="true"],
.toggle-btn:hover,
.toggle-btn:focus-visible {
  background: rgba(31, 93, 87, 0.12);
  border-color: rgba(31, 93, 87, 0.3);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(208, 110, 77, 0.12);
  filter: blur(12px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}

body[data-text-size="large"] .hero-grid {
  grid-template-columns: 1fr;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.panel-label,
.stat-label,
.card-tag,
.event-meta {
  margin: 0 0 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow,
.panel-label,
.card-tag,
.event-meta {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.trust-grid h2,
.hero-panel h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.hero-intro {
  margin: 1.35rem 0 0;
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-strong);
}

.button-secondary {
  border-color: rgba(29, 41, 39, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(29, 41, 39, 0.32);
}

.button-donate {
  background: var(--donate);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
}

.button-donate:hover,
.button-donate:focus-visible {
  background: var(--donate-strong);
}

.donate-header-btn {
  margin-left: 0.5rem;
}

.hero-points {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero-panel,
.hero-figure,
.feature-card,
.audience-card,
.about-card,
.event-card,
.story-panel,
.contact-card,
.contact-form,
.trust-grid article,
.photo-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 28rem;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-figure figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(20, 54, 50, 0.8);
  color: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(14px);
}

.hero-panel {
  padding: 1.6rem;
}

.hero-panel h2 {
  font-size: 1.8rem;
}

.quick-links {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quick-card {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 41, 39, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 93, 87, 0.28);
}

.quick-card span {
  color: var(--muted);
}

.trust-band {
  padding-bottom: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article {
  padding: 1.4rem 1.3rem;
}

.trust-grid h2 {
  font-size: 1.5rem;
}

.trust-grid p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.stat-label {
  color: var(--brand);
}

.section {
  padding: 2rem 0 4.5rem;
}

.about-layout {
  display: grid;
  gap: 1.4rem;
}

.section-note {
  margin: 0;
  max-width: 48rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 41, 39, 0.08);
  color: var(--muted);
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  padding: 1.55rem;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.about-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

body[data-text-size="large"] .metrics-strip {
  grid-template-columns: 1fr;
}

.metric-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.glass-card {
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.metric-number {
  margin: 0 0 0.5rem;
  font-family: "Noto Serif TC", serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.metric-value {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  color: var(--text);
}

.metric-label {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.photo-section {
  padding-top: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.photo-card {
  overflow: hidden;
  margin: 0;
}

.photo-card img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.photo-card-tall img {
  height: 31rem;
}

.photo-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.photo-card strong {
  font-size: 1.1rem;
}

.photo-card span {
  color: var(--muted);
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    rgba(255, 252, 247, 0.44);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.story-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-heading p:last-child,
.story-copy p:last-child {
  color: var(--muted);
}

.card-grid,
.audience-grid,
.story-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid,
.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.audience-card,
.contact-card {
  padding: 1.55rem;
}

.feature-card h3,
.audience-card h3,
.event-card h3,
.story-panel h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.feature-card p:last-child,
.audience-card p:last-child,
.event-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  gap: 2rem;
}

.events-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 1rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
}

.event-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.featured-event {
  background:
    linear-gradient(180deg, rgba(31, 93, 87, 0.92), rgba(25, 77, 72, 0.92)),
    var(--brand);
  color: #fff;
}

.featured-event .event-meta,
.featured-event a,
.featured-event p {
  color: rgba(255, 251, 245, 0.88);
}

.note-card {
  background:
    linear-gradient(180deg, rgba(208, 110, 77, 0.1), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.story-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
}

.story-panel {
  padding: 1.7rem;
}

.story-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.story-panel li + li {
  margin-top: 0.8rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.8fr);
  align-items: start;
}

.contact-panels {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(29, 41, 39, 0.08);
}

.detail-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.detail-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-card li + li {
  margin-top: 0.55rem;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 41, 39, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(22, 48, 45, 0.95);
  color: rgba(255, 251, 245, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.25rem;
  padding: 2rem 0;
}

.photo-credits {
  padding: 0 0 2rem;
}

.photo-credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.photo-credits li + li {
  margin-top: 0.5rem;
}

.photo-credits a {
  color: #fff;
}

.footer-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .contact-grid,
  .events-layout,
  .trust-grid,
  .metrics-strip,
  .photo-grid,
  .about-grid,
  .service-grid,
  .audience-grid,
  .footer-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 3.5rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .photo-card img,
  .photo-card-tall img {
    height: 22rem;
  }
}

@media (max-width: 760px) {
  .utility-row,
  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-cluster,
  .brand-tools {
    width: 100%;
  }

  .header-row {
    min-height: auto;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.5rem;
  }

  .main-nav[hidden] {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
