:root {
  --china-blue: #0a2a66;
  --china-blue-light: #1a3b99;
  --gold: #ffd700;
  --red: #d32f2f;
  --red-dark: #b71c1c;
  --white: #ffffff;
  --text-muted: #586174;
  --paper: #f3f5f9;
  --surface: #ffffff;
  --ink: #111827;
  --line: #d5dcea;
  --radius-sm: 4px;
  --radius-md: 4px;
  --shadow-sm: 0 8px 24px rgba(10, 42, 102, 0.08);
  --shadow-md: 0 18px 48px rgba(10, 42, 102, 0.13);
  --shadow-lg: 0 20px 56px rgba(10, 25, 60, 0.2);
  --transition-base: 220ms ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  padding-top: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
}

h1,
h2 {
  margin-top: 0;
}

p {
  color: inherit;
  font-size: 1rem;
  line-height: 1.75;
}

a {
  color: var(--red-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--china-blue-light);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.section {
  padding: 88px 0;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.navbar {
  position: sticky;
  top: 0;
  left: auto;
  width: 100%;
  background: rgba(10, 42, 102, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.navbar .container.nav-inner {
  min-height: 82px;
  padding: 10px 0;
}

.logo {
  flex: 0 0 auto;
}

.logo:hover {
  transform: none;
}

.logo-img {
  display: block;
  width: 90px;
  height: 58px;
  object-fit: contain;
}

.nav-menu {
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d3b37b;
  content: "";
  transition: width 180ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .lang-toggle {
  min-height: 38px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-actions .lang-toggle:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--china-blue);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 2px;
}

.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 0;
  background: var(--white);
}

.nav-overlay {
  z-index: 900;
  background: rgba(8, 18, 42, 0.56);
}

.page-hero:not(.home-hero) {
  display: flex;
  height: auto;
  min-height: 340px;
  align-items: center;
  justify-content: flex-start;
  padding: 72px 0 64px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.page-hero:not(.home-hero) .hero-inner,
.page-hero:not(.home-hero) .hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.page-hero:not(.home-hero) h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  color: var(--china-blue);
  font-size: 3.4rem;
  font-weight: 600;
}

.page-hero:not(.home-hero) p {
  max-width: 58ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  text-shadow: none;
}

.page-hero .hero-wave,
.page-hero .particle-bg {
  display: none;
}

.page-hero.about-hero {
  position: relative;
  min-height: 490px !important;
  overflow: hidden;
  background: url("/assets/images/church6.jpg") center 42% / cover no-repeat;
  color: var(--white);
}

.about-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 72, 0.62);
  content: "";
}

.about-hero .hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero.about-hero h1,
.page-hero.about-hero p {
  color: var(--white);
}

.page-hero.about-hero p {
  max-width: 48ch;
}

.page-hero.about-hero .eyebrow {
  color: var(--gold);
}

.testimony-hero .eyebrow {
  color: var(--red);
}

.testimony-hero .hero-inner {
  max-width: 1180px;
}

.testimony-section {
  padding-top: 40px;
}

.testimony-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 30px;
}

.testimony-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.testimony-aside .eyebrow {
  color: var(--gold);
}

.testimony-aside .testimony-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.testimony-empty {
  padding: 28px;
  border-left: 2px solid var(--gold);
  background: #e9edf6;
}

.testimony-empty h2 {
  margin-bottom: 12px;
  color: var(--china-blue);
  font-size: 1.65rem;
}

.testimony-empty p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.testimony-aside .testimony-empty h2 {
  color: var(--china-blue);
}

.testimony-aside .testimony-empty p {
  color: var(--text-muted);
}

.testimony-section .form-status {
  margin-bottom: 0;
}

.testimony-form-note {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.home-hero {
  position: relative;
  isolation: isolate;
  height: min(74vh, 720px);
  min-height: 600px;
  max-height: 720px;
  overflow: hidden;
  background: var(--china-blue);
  color: var(--white);
  text-align: left;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 28, 72, 0.48);
  content: "";
}

.home-hero .hero-inner {
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
  text-align: left;
}

.home-hero h1 {
  max-width: 16ch;
  margin: 0 0 20px;
  color: var(--white);
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 0.98;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.22);
}

.home-hero p {
  max-width: 48ch;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  text-shadow: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.hero-buttons .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.hero-buttons .btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--china-blue);
  box-shadow: none;
}

.btn-live {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: none;
}

.btn-primary:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: none;
}

.btn-live:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  color: var(--white);
  box-shadow: none;
}

.btn-secondary,
.btn-outline {
  border-color: var(--china-blue);
  background: transparent;
  color: var(--china-blue);
  box-shadow: none;
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--china-blue);
  background: var(--china-blue);
  color: var(--white);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

.btn-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--china-blue);
}

.btn-gold,
.cards .card-content .btn {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--china-blue);
  box-shadow: none;
}

.btn-blue {
  border: 1px solid var(--china-blue);
  background: var(--china-blue);
  color: var(--white);
  box-shadow: none;
}

.btn-gold:hover,
.cards .card-content .btn:hover {
  border-color: #e2bc00;
  background: #e2bc00;
  color: var(--china-blue);
  box-shadow: none;
}

.btn-blue:hover {
  border-color: var(--china-blue-light);
  background: var(--china-blue-light);
  color: var(--white);
  box-shadow: none;
}

.home-gather {
  padding: 34px 0;
  background: var(--china-blue);
  color: var(--white);
}

.gather-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 28px;
  align-items: center;
}

.gather-heading .eyebrow {
  margin-bottom: 6px;
  color: var(--gold);
}

.gather-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: 2rem;
}

.gather-time {
  display: grid;
  gap: 3px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.gather-time span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.gather-time strong {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
}

.prayer-network-band {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e9edf6;
}

.prayer-network-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.prayer-network-copy .eyebrow {
  margin-bottom: 6px;
}

.prayer-network-copy h2 {
  max-width: 34ch;
  margin: 0 0 8px;
  color: var(--china-blue);
  font-size: 1.85rem;
}

.prayer-network-copy p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.section-about {
  padding: 100px 0 78px;
  background: var(--paper);
  color: var(--ink);
}

.about-copy {
  max-width: 850px;
  text-align: center;
}

.about-text h2,
.section-mission h2,
.section-cta h2,
.section-activities h2,
.section-foundation h2,
.section-china h2,
.contact-info h2,
.prayer-info h2 {
  margin: 0 0 18px;
  color: var(--china-blue);
  font-size: 2.55rem;
}

.about-text p,
.contact-info p,
.prayer-info p,
.section-china p,
.section-foundation p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.official-websites {
  background: var(--surface);
}

.official-websites-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.official-websites-heading h2 {
  margin-bottom: 12px;
  color: var(--china-blue);
  font-size: 2.55rem;
}

.official-websites-heading > p:last-child {
  color: var(--text-muted);
}

.website-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.website-directory li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.website-directory a {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 10px;
  border-left: 2px solid transparent;
  color: var(--china-blue);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, padding 160ms ease;
}

.website-directory a:hover,
.website-directory a:focus-visible {
  padding-left: 16px;
  border-left-color: var(--gold);
  background: #f3f5f9;
  color: var(--china-blue);
}

.website-directory a > span:first-child {
  font-weight: 600;
}

.website-domain {
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.section-word-month {
  padding: 78px 0;
  background: #e9edf6;
  color: var(--ink);
}

.word-month-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 390px);
  gap: 72px;
  max-width: 1040px;
}

.word-month-copy h2 {
  margin: 0 0 20px;
  color: var(--china-blue);
  font-size: 2.65rem;
}

.word-month-theme {
  color: var(--red-dark);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.75rem;
  font-weight: 600;
}

.word-month-scripture {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.word-month-image {
  border-radius: 3px;
  box-shadow: var(--shadow-md);
}

.section-mission {
  padding: 74px 0;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
}

.section-mission p {
  max-width: 760px;
  color: var(--text-muted);
}

.section-cta,
.cta-section {
  padding: 72px 0;
  background: var(--china-blue);
  color: var(--white);
  text-align: center;
}

.section-cta h2,
.cta-section h2 {
  color: var(--white);
}

.section-cta p,
.cta-section p {
  max-width: 62ch;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
}

.section-cta .btn-secondary,
.cta-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.section-cta .btn-secondary:hover,
.cta-section .btn-secondary:hover {
  background: var(--white);
  color: var(--china-blue);
}

.section-mission .container,
.section-activities .container,
.section-identity .container,
.section-foundation .container,
.section-china .container {
  max-width: 1040px;
}

.grid-2,
.grid-3,
.cards {
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-card,
.program-card,
.feature-cards .card,
.cards .card,
.section-activities .card,
.ideology-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: none;
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mission-card,
.program-card,
.feature-cards .card,
.section-activities .card,
.ideology-card {
  padding: 30px;
}

.mission-card:hover,
.program-card:hover,
.feature-cards .card:hover,
.cards .card:hover,
.section-activities .card:hover,
.ideology-card:hover {
  transform: translateY(-3px);
  border-color: #c1ccdf;
  box-shadow: var(--shadow-sm);
}

.mission-card h3,
.program-card h3,
.feature-cards .card h3,
.cards .card-content h3,
.section-activities .card h3,
.ideology-card h3,
.commitment-list h3 {
  color: var(--china-blue);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.mission-card p,
.program-card p,
.feature-cards .card p,
.cards .card-content p,
.section-activities .card p,
.ideology-card p,
.commitment-list p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.section-mission .container.vision-mission-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ideology-section {
  background: #e9edf6;
}

.ideology-card {
  min-height: 100%;
  padding: 28px;
}

.commitment-section {
  background: var(--surface);
}

.commitment-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.commitment-heading h2 {
  margin: 0 0 14px;
  color: var(--china-blue);
  font-size: 2.55rem;
}

.commitment-heading > p:last-child {
  color: var(--text-muted);
}

.commitment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: commitment;
}

.commitment-list li {
  min-width: 0;
  padding: 20px 4px 14px;
  border-top: 2px solid var(--gold);
  counter-increment: commitment;
}

.commitment-list li::before {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  content: "0" counter(commitment);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.commitment-list h3 {
  margin: 0 0 8px;
}

.commitment-list p {
  margin: 0;
}

.commitment-list p span {
  display: block;
  margin-top: 7px;
  color: var(--china-blue);
  font-size: 0.84rem;
}

.programs-section .container,
.section-programs .container {
  counter-reset: program;
}

.program-card {
  min-height: 220px;
  counter-increment: program;
}

.program-card .card-icon {
  display: none;
}

.program-card::before {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  content: "0" counter(program);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

.feature-cards .card-icon {
  display: none;
}

.cards {
  margin-top: 34px;
}

.cards .card {
  overflow: hidden;
}

.cards .card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9edf6;
}

.cards .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.cards .card:hover .card-image img {
  transform: scale(1.025);
}

.cards .card-content {
  justify-content: flex-start;
  gap: 12px;
  padding: 24px;
}

.cards .card-content .btn {
  align-self: flex-start;
  margin-top: auto;
}

.section-title {
  margin: 0 0 12px;
  color: var(--china-blue);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 2.8rem;
  text-align: center;
}

.section-title::after {
  width: 42px;
  height: 2px;
  margin-top: 16px;
  border-radius: 0;
  background: var(--red);
}

.section-subtitle {
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.service-times {
  color: var(--white);
}

.service-calendar {
  background: var(--surface);
}

.calendar-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.calendar-heading h2 {
  margin-bottom: 12px;
  color: var(--china-blue);
  font-size: 2.55rem;
}

.calendar-heading > p:last-child {
  color: var(--text-muted);
}

.service-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 21px 8px;
  border-bottom: 1px solid var(--line);
}

.service-row dt {
  color: var(--china-blue);
  font-size: 1.03rem;
  font-weight: 700;
}

.service-row dd {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-row dd strong {
  color: var(--china-blue);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: right;
}

.ministry-calendar {
  background: #e9edf6;
}

.calendar-event {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid #cbd5e5;
  border-top: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.calendar-date {
  display: flex;
  width: 116px;
  min-width: 116px;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--china-blue);
  color: var(--white);
}

.calendar-date span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-date strong {
  color: var(--white);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 1.85rem;
  font-weight: 700;
}

.calendar-event-copy .eyebrow {
  margin-bottom: 8px;
}

.calendar-event-copy h3 {
  margin: 0;
  color: var(--china-blue);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.registration-status {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  background: var(--surface);
}

.registration-status .eyebrow {
  margin-bottom: 5px;
}

.registration-status p:last-child {
  margin: 0;
  color: var(--china-blue);
}

.pcdl-note {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form,
.give-form,
.prayer-form,
.testimony-form,
.qr-section {
  border: 1px solid #cbd5e5;
  border-top: 4px solid var(--gold);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.contact-form h2,
.give-form h2,
.prayer-form h2,
.testimony-form h2,
.qr-section h2 {
  margin: 0 0 24px;
  color: var(--china-blue);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 2rem;
}

.contact-form h2::after,
.give-form h2::after,
.prayer-form h2::after,
.testimony-form h2::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
  content: "";
}

.contact-form label,
.give-form label,
.prayer-form label,
.testimony-form label {
  display: block;
  margin: 0 0 7px;
  color: var(--china-blue);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.contact-form input,
.contact-form textarea,
.give-form input,
.give-form select,
.give-form textarea,
.prayer-form input,
.prayer-form textarea,
.testimony-form input,
.testimony-form textarea,
.testimony-form select {
  width: 100%;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #c2cde0;
  border-radius: 2px;
  background: #f7f9fc;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
}

.contact-form textarea,
.give-form textarea,
.prayer-form textarea,
.testimony-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.give-form input:focus,
.give-form select:focus,
.give-form textarea:focus,
.prayer-form input:focus,
.prayer-form textarea:focus,
.testimony-form input:focus,
.testimony-form textarea:focus,
.testimony-form select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(255, 215, 0, 0.32);
  outline-offset: 1px;
  box-shadow: none;
}

.contact-form button,
.give-form button,
.prayer-form button,
.testimony-form button {
  cursor: pointer;
}

.contact-info,
.prayer-info,
.giving-guidance,
.testimony-aside {
  padding: 38px;
  border-left: 3px solid var(--gold);
  background: var(--china-blue);
  color: var(--white);
}

.contact-info a,
.prayer-info a,
.giving-guidance a,
.testimony-aside a {
  color: var(--gold);
}

.contact-info h2,
.prayer-info h2,
.giving-guidance h2,
.testimony-aside h2 {
  color: var(--white);
}

.contact-info p,
.prayer-info p,
.giving-guidance p,
.testimony-aside p {
  color: rgba(255, 255, 255, 0.86);
}

.global-prayer-invite {
  margin: 28px 0 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.global-prayer-invite .eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
}

.global-prayer-invite h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 1.1rem;
  line-height: 1.45;
}

.global-prayer-invite p:not(.eyebrow) {
  margin-bottom: 16px;
}

.form-status {
  min-height: 1.5em;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  color: #315d43;
}

.form-status[data-state="error"] {
  color: #963f31;
}

.form-status[data-state="pending"] {
  color: var(--text-muted);
}

.qr-section {
  gap: 24px;
  text-align: center;
}

.payment-note {
  max-width: 58ch;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.qr p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.qr-section h2 {
  grid-column: 1 / -1;
}

.qr h3 {
  color: var(--china-blue);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 1rem;
}

.qr img {
  width: 180px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}

.site-footer {
  padding: 54px 0 22px;
  background: var(--china-blue);
  color: var(--white);
}

.footer-wave {
  display: none;
}

.site-footer .container.grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 44px;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer h4::after {
  width: 28px;
  height: 1px;
  margin-top: 9px;
  border-radius: 0;
  background: var(--gold);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--gold);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-bottom .highlight {
  color: var(--white);
  text-shadow: none;
}

.footer-social .social-links a img {
  filter: brightness(0) invert(1);
}

.footer-social .social-links a:hover img {
  filter: brightness(0) invert(0.82) sepia(0.35);
  transform: none;
}

.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.fade-in.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 992px) {
  .section-mission .container.vision-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px 24px;
    background: var(--china-blue);
    text-align: left;
    visibility: hidden;
  }

  .nav-menu.active {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .gather-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .gather-heading {
    grid-column: 1 / -1;
  }

  .gather-layout > .btn {
    justify-self: start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section-mission .container.vision-mission-grid {
    grid-template-columns: 1fr;
  }

  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: min(100% - 36px, 620px);
  }

  .navbar .container.nav-inner {
    min-height: 72px;
    padding: 8px 0;
  }

  .logo-img {
    width: 76px;
    height: 50px;
  }

  .home-hero {
    height: auto;
    min-height: 620px;
    max-height: none;
    padding: 0;
  }

  .home-hero .hero-inner {
    width: min(100% - 36px, 620px);
    padding: 72px 0;
  }

  .prayer-network-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .prayer-network-inner > .btn {
    width: 100%;
  }

  .home-hero h1 {
    max-width: 12ch;
    font-size: 3.1rem;
  }

  .home-hero p {
    font-size: 1rem;
  }

  .page-hero:not(.home-hero) {
    min-height: 280px;
    padding: 56px 0 48px;
  }

  .page-hero:not(.home-hero) .hero-inner,
  .page-hero:not(.home-hero) .hero-content {
    width: min(100% - 36px, 620px);
  }

  .page-hero:not(.home-hero) h1 {
    font-size: 2.75rem;
  }

  .about-hero {
    min-height: 420px !important;
  }

  .section {
    padding: 64px 0;
  }

  .section-about {
    padding: 66px 0;
  }

  .word-month-layout,
  .grid-2,
  .grid-3,
  .cards,
  .testimony-layout,
  .website-directory,
  .vision-mission-grid,
  .commitment-list {
    grid-template-columns: 1fr;
  }

  .website-directory {
    row-gap: 0;
  }

  .website-directory a {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .website-domain {
    text-align: left;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px 4px;
  }

  .service-row dd {
    justify-content: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .service-row dd strong {
    text-align: left;
  }

  .calendar-heading h2 {
    font-size: 2.1rem;
  }

  .calendar-event {
    gap: 18px;
    padding: 18px;
  }

  .calendar-date {
    width: 84px;
    min-width: 84px;
  }

  .calendar-date strong {
    font-size: 1.45rem;
  }

  .calendar-event-copy h3 {
    font-size: 1rem;
  }

  .word-month-layout {
    gap: 30px;
  }

  .word-month-copy {
    text-align: center;
  }

  .word-month-copy h2,
  .about-text h2,
  .section-mission h2,
  .section-cta h2,
  .section-activities h2,
  .section-foundation h2,
  .section-china h2,
  .contact-info h2,
  .prayer-info h2 {
    font-size: 2.1rem;
  }

  .word-month-image {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .gather-layout {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }

  .gather-layout > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .gather-time {
    padding-left: 12px;
  }

  .gather-time strong {
    font-size: 0.94rem;
  }

  .contact-form,
  .give-form,
  .prayer-form,
  .testimony-form,
  .qr-section {
    padding: 24px 20px;
  }

  .contact-info,
  .prayer-info,
  .giving-guidance,
  .testimony-aside {
    padding: 26px 22px;
  }

  .hero-actions,
  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-buttons .btn {
    width: 100%;
  }

  .site-footer .container.grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}