:root {
  --bg: #fbf4ec;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #fffdf9;
  --text: #253245;
  --muted: #6a6a73;
  --brand: #e77c63;
  --brand-dark: #cf664f;
  --navy: #21344b;
  --gold: #efc48b;
  --line: rgba(33, 52, 75, 0.09);
  --shadow: 0 22px 48px rgba(89, 67, 47, 0.1);
  --radius: 24px;
  --max-width: 1180px;
  --content-width: 1080px;
  --reading-width: 980px;
  --font-zh:
    "KaiTi", "Kaiti SC", "Kaiti TC", "BiauKai", "DFKai-SB",
    "Noto Serif CJK SC", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Source Sans 3",
    Inter,
    "Noto Sans SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(231, 124, 99, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(239, 196, 139, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 234, 212, 0.5),
      transparent 30%
    ),
    var(--bg);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 32px), var(--reading-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 244, 236, 0.88);
  border-bottom: 1px solid rgba(33, 52, 75, 0.08);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 24px rgba(113, 83, 55, 0.12);
  padding: 6px;
}

.brand-copy,
.brand-text {
  min-width: 0;
}

.brand-kicker {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 6px;
}

.brand-title {
  font-family:
    "Fraunces",
    "Noto Serif SC",
    Georgia,
    serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family:
    "Source Sans 3",
    Inter,
    sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: rgba(20, 38, 61, 0.72);
  white-space: nowrap;
}

.nav-zh {
  font-family: var(--font-zh);
  font-size: 1.08em;
  font-weight: inherit;
  letter-spacing: 0.02em;
}

.nav > a,
.dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #304965);
  color: white !important;
  box-shadow: 0 14px 28px rgba(33, 52, 75, 0.16);
}

/* Dropdown */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: rgba(255, 251, 246, 0.97);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(88, 68, 45, 0.14);
  padding: 10px 0;
  display: none;
  min-width: 260px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: dropdownFade 0.2s ease;
  z-index: 100;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.dropdown-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: rgba(231, 124, 99, 0.09);
  color: var(--brand);
  padding-left: 24px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #eb8f74, var(--brand));
  color: white;
  box-shadow: 0 14px 28px rgba(231, 124, 99, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #df846a, var(--brand-dark));
}

.btn-secondary {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(96, 74, 50, 0.08);
}

/* Shared sections */
.section {
  padding: 36px 0 84px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  margin-top: 0;
}

.section-title,
.page-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.subtext {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 10px;
}

.panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 242, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 30px;
}

/* Home page */
.hero {
  padding: 28px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-photo,
.hero-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  background: linear-gradient(135deg, rgba(33, 52, 75, 0.96), rgba(88, 63, 47, 0.82));
  color: white;
  padding: 54px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.16);
  border: 1px solid rgba(255, 240, 229, 0.2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0;
  font-family:
    "Fraunces",
    "Noto Serif SC",
    Georgia,
    serif;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 10ch;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(6, 14, 24, 0.18);
}

.hero .cn {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffe6cf;
}

.hero .lead {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 1.05rem;
  color: rgba(255, 250, 246, 0.87);
}

.hero-latest-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-latest-event {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  min-height: 100%;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 246, 238, 0.14);
  border: 1px solid rgba(255, 238, 229, 0.2);
  backdrop-filter: blur(8px);
}

.hero-latest-fellowship {
  background: rgba(255, 249, 242, 0.12);
}

.hero-latest-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.hero-latest-title {
  margin-top: 8px;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

.hero-latest-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.hero-latest-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: end;
}

.hero-latest-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.hero-latest-browse {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.hero-latest-browse .btn {
  min-width: 240px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.meta-card {
  background: rgba(255, 247, 241, 0.12);
  border: 1px solid rgba(255, 241, 232, 0.16);
  border-radius: 20px;
  padding: 16px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 6px;
  font-weight: 700;
}

.meta-value {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-photo {
  position: relative;
  min-height: 640px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.86);
  backdrop-filter: blur(10px);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(95, 73, 49, 0.12);
}

.photo-note strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-grid,
.visit-card,
.gallery-layout {
  display: grid;
  gap: 18px;
}

.about-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.welcome-contact-panel {
  grid-column: 1 / -1;
}

.about-community {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 238, 0.88));
  border-color: rgba(231, 124, 99, 0.1);
}

.about-community::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--brand), var(--gold));
}

.about-vision {
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.97), rgba(246, 249, 252, 0.92));
}

.about-vision::before {
  background: linear-gradient(180deg, var(--navy), var(--brand));
}

.community-heading {
  max-width: 860px;
}

.community-kicker,
.community-language {
  display: block;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bilingual-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  align-items: baseline;
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.12;
}

.bilingual-heading .kaiti-inline {
  font-size: 1em;
}

.community-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(33, 52, 75, 0.1);
}

.community-copy {
  min-width: 0;
}

.community-copy + .community-copy {
  border-left: 1px solid rgba(33, 52, 75, 0.1);
  padding-left: 30px;
}

.community-copy p {
  max-width: 62ch;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.8;
}

.community-copy-zh p {
  font-family: var(--font-zh);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.community-language {
  margin-bottom: 10px;
  color: var(--muted);
}

.welcome-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}

.contact-block {
  border-left: 1px solid rgba(33, 52, 75, 0.12);
  padding-left: 28px;
  scroll-margin-top: 120px;
}

.contact-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.contact-head h3 {
  margin: 0;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(33, 52, 75, 0.16);
}

.contact-map-link:hover {
  background: #1a2d43;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.welcome-contact-panel .contact-list {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.hiring-panel {
  background: linear-gradient(135deg, #fff3ea, #fffdf8 62%);
}

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

.top-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hiring-contact-list {
  grid-template-columns: 1fr;
}

.latest-event-panel {
  background:
    radial-gradient(circle at top right, rgba(198, 137, 68, 0.18), transparent 36%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
}

.latest-event-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), #304965);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(33, 52, 75, 0.14);
}

.download-link:hover {
  background: #1b3553;
}

.contact-item {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 238, 0.76));
  border: 1px solid rgba(33, 52, 75, 0.08);
  box-shadow: 0 14px 30px rgba(89, 67, 47, 0.08);
  color: var(--navy);
}

.contact-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--gold));
}

.contact-item-address {
  grid-column: 1 / -1;
  min-height: 104px;
}

.contact-item strong {
  display: block;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item > span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-item a {
  color: var(--navy);
  font-weight: 800;
}

.contact-item .download-link {
  color: white;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(33, 52, 75, 0.08);
  box-shadow: 0 16px 34px rgba(89, 67, 47, 0.07);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.form-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(33, 52, 75, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.95);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  letter-spacing: 0;
  padding: 12px 14px;
  resize: vertical;
  text-transform: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(231, 124, 99, 0.72);
  box-shadow: 0 0 0 4px rgba(231, 124, 99, 0.12);
  outline: 0;
}

.contact-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.schedule-card {
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(180deg, #fffefc, #fff6ef);
  border: 1px solid rgba(33, 52, 75, 0.06);
  box-shadow: 0 18px 42px rgba(98, 75, 51, 0.08);
}

.schedule-card .tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(231, 124, 99, 0.12);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.schedule-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.25;
}

.schedule-card p {
  margin: 14px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.schedule-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.gallery-main,
.gallery-stack img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-main img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  width: 100%;
}

.gallery-stack {
  display: grid;
  gap: 18px;
}

.gallery-stack img {
  height: 271px;
  width: 100%;
  object-fit: cover;
}

.ministries {
  padding: 78px 0;
  background:
    radial-gradient(circle at top left, rgba(239, 196, 139, 0.14), transparent 28%),
    linear-gradient(180deg, #23364d, #2a4058);
  color: white;
}

.ministries .eyebrow {
  color: #ffd9ca;
}

.ministries .section-title,
.ministries h2 {
  color: white;
}

.ministries .subtext {
  color: rgba(255, 255, 255, 0.72);
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ministry-card {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 250, 245, 0.09);
  border: 1px solid rgba(255, 237, 224, 0.14);
  backdrop-filter: blur(10px);
}

.ministry-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.ministry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.ministry-link::after {
  content: "↗";
  font-size: 0.9em;
}

.ministry-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ministry-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ministry-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

.visit-card {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff2e8, #fffdf8 60%);
  border: 1px solid rgba(20, 38, 61, 0.08);
  box-shadow: var(--shadow);
}

.visit-copy {
  padding: 14px 10px 14px 10px;
}

.visit-copy h2 {
  font-family:
    "Source Sans 3",
    Inter,
    sans-serif;
  color: var(--navy);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.visit-copy p {
  max-width: 64ch;
}

.visit-invitation {
  display: grid;
  gap: 18px;
}

.visit-invitation p {
  font-family:
    "Source Sans 3",
    Inter,
    sans-serif;
  color: var(--text);
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.55;
}

.visit-invitation .visit-invitation-zh {
  font-family: var(--font-zh);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  letter-spacing: 0.02em;
}

.visit-copy .kaiti-inline {
  font-family: var(--font-zh);
}

.visit-actions,
.actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-box {
  background: linear-gradient(145deg, #263b53, #31506f);
  color: white;
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-box strong {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.visit-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Inner pages */
.page-hero,
.hero-page {
  padding: 28px 0 20px;
}

.hero-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(33, 52, 75, 0.94),
    rgba(88, 63, 47, 0.75)
  );
  color: white;
  padding: 54px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(231, 124, 99, 0.2),
    transparent 30%
  );
  pointer-events: none;
}

.hero-card .eyebrow {
  color: #ffd9ca;
  position: relative;
  margin-bottom: 12px;
}

.hero-card h1 {
  position: relative;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-sub {
  margin-top: 16px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  position: relative;
}

.page-content {
  padding: 22px 0 80px;
}

.quote-panel,
.timeline,
.story-panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 243, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 30px;
  margin-bottom: 22px;
}

.quote-panel {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 245, 240, 0.95)
  );
}

.quote-panel p {
  margin: 8px 0;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
}

.timeline h2,
.story-panel h2,
.panel h2 {
  margin: 0 0 20px;
  font-size: 1.9rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.timeline-list,
.belief-list {
  display: grid;
  gap: 16px;
}

.timeline-item,
.belief-item,
.lang-card {
  background: rgba(255, 252, 248, 0.86);
  border: 1px solid rgba(33, 52, 75, 0.07);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 22px;
}

.year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.1);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pastor-highlights {
  display: grid;
  gap: 18px;
}

.profile-media,
.highlight-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 22px;
  overflow: hidden;
}

.profile-media {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 860px;
  object-fit: contain;
  background: white;
}

.profile-intro {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 38, 61, 0.08);
}

.profile-intro h2,
.highlight-card h3 {
  margin: 0;
  color: var(--navy);
}

.profile-intro p {
  margin: 14px 0 0;
}

.profile-photo-panel {
  padding: 18px;
}

.profile-hero-media {
  padding: 0;
  background: white;
}

.profile-hero-media img {
  display: block;
  width: 100%;
  max-height: none;
}

.profile-bio-grid {
  grid-template-columns: 0.84fr 1.16fr;
  margin-top: 18px;
}

.profile-bio-grid .lang-card {
  line-height: 1.62;
}

.full-history-grid {
  grid-template-columns: 0.78fr 1.22fr;
  margin-top: 18px;
}

.full-history-grid .lang-card {
  line-height: 1.56;
  font-size: 0.98rem;
}

.offering-foundation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 18px;
}

.offering-foundation-grid .lang-card {
  line-height: 1.62;
}

.verse-ref {
  color: var(--brand);
  font-weight: 700;
}

.offering-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.offering-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(20, 38, 61, 0.07);
}

.offering-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
}

.offering-card p {
  margin: 0 0 14px;
}

.offering-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

.offering-icon-gold {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.offering-icon-green {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.offering-detail {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(20, 38, 61, 0.04);
  border: 1px solid rgba(20, 38, 61, 0.08);
  line-height: 1.75;
}

.offering-detail span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.offering-thanks {
  margin-top: 22px;
}

.sunday-school-grid {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 18px;
}

.session-grid,
.children-gallery {
  display: grid;
  gap: 18px;
}

.session-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.session-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(20, 38, 61, 0.07);
}

.session-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
}

.session-card p {
  margin: 0 0 14px;
}

.session-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.session-list + .session-list {
  margin-top: 18px;
}

.fancy-list {
  padding-left: 0;
  list-style: none;
}

.fancy-list li::before {
  content: "❖ ";
  color: var(--brand);
  font-weight: 700;
}

.session-tag-alt {
  background: rgba(232, 184, 109, 0.18) !important;
  color: #a15c00 !important;
}

.children-gallery {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.detail-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(20, 38, 61, 0.07);
}

.detail-card-wide {
  grid-column: 1 / -1;
}

.detail-label {
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 800;
}

.detail-value {
  color: var(--text);
  line-height: 1.75;
  font-weight: 600;
}

.event-feature {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(198, 137, 68, 0.26), transparent 30%),
    linear-gradient(135deg, #18304d, #27476a 56%, #f2d2a9 160%);
  color: #fff;
  box-shadow: 0 26px 54px rgba(20, 38, 61, 0.2);
}

.event-feature-date {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.event-feature-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.event-feature-date strong {
  font-size: 2.4rem;
  line-height: 1;
}

.event-feature-date small {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.event-feature-copy .detail-label,
.event-feature-copy h3,
.event-feature-copy p {
  color: #fff;
}

.event-feature-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.event-feature-copy p {
  max-width: 58ch;
  line-height: 1.72;
  opacity: 0.9;
}

.event-feature .event-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.event-feature-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.event-feature-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.event-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(198, 137, 68, 0.12);
  border: 1px solid rgba(198, 137, 68, 0.18);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.event-archive-section {
  margin-top: 42px;
}

.fellowship-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.fellowship-card {
  display: grid;
  gap: 14px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.92));
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(20, 38, 61, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.fellowship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 137, 68, 0.22);
  box-shadow: 0 22px 50px rgba(20, 38, 61, 0.11);
}

.fellowship-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: #edf2f7;
}

.fellowship-card-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.32;
}

.event-archive-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.event-archive-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 104px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.92));
  border: 1px solid rgba(20, 38, 61, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(20, 38, 61, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  display: grid;
  gap: 12px;
  text-decoration: none;
}

.event-archive-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand), #f3cf8c);
}

.event-archive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 137, 68, 0.2);
  box-shadow: 0 22px 50px rgba(20, 38, 61, 0.11);
}

.event-archive-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(198, 137, 68, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.94));
}

.event-archive-featured::before {
  width: 7px;
}

.event-archive-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(198, 137, 68, 0.12);
  border: 1px solid rgba(198, 137, 68, 0.16);
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.event-archive-featured .event-archive-accent {
  width: 62px;
  height: 62px;
  font-size: 1.05rem;
}

.event-archive-image {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(20, 38, 61, 0.08);
  background: #edf2f7;
}

.event-archive-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.35;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 25, 40, 0.74);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 90vh;
  padding: 18px 18px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(12, 25, 40, 0.28);
  display: grid;
  gap: 14px;
}

.lightbox-label {
  padding-right: 90px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 800;
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(90vh - 84px);
  object-fit: contain;
  border-radius: 20px;
  background: #f4f7fb;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 61, 0.1);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.pastor-highlights {
  grid-template-columns: repeat(3, 1fr);
}

.highlight-card {
  padding: 22px;
}

.highlight-card p {
  margin: 10px 0 0;
}

.lang-card,
.belief-item {
  padding: 22px;
  border-radius: 22px;
}

.lang-card h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  color: var(--navy);
}

.story-grid .lang-card:first-child {
  font-family: var(--font-zh);
  letter-spacing: 0.02em;
}

.lang-card p + p {
  margin-top: 14px;
}

.belief-item p,
.timeline-item p,
.story-panel p,
.lang-card p,
.panel p {
  margin: 0;
  color: var(--text);
}

.welcome-copy {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.welcome-copy p {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.welcome-zh,
.kaiti-inline {
  font-family: var(--font-zh);
  letter-spacing: 0.02em;
  color: inherit;
  font-size: 1.08em;
  font-weight: inherit;
}

:lang(zh),
:lang(zh-Hans),
:lang(zh-Hant) {
  font-family: var(--font-zh);
  letter-spacing: 0.02em;
}

.welcome-divider {
  margin-top: 34px;
  border-top: 4px solid rgba(33, 52, 75, 0.26);
}

/* History gallery + lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 22px;
}

.gallery button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
  display: block;
}

.gallery button:hover img {
  transform: scale(1.04);
  filter: brightness(0.96);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 27, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Footer */
.site-footer {
  padding: 24px 0 50px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  border-top: 1px solid rgba(20, 38, 61, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .gallery-layout,
  .visit-card,
  .ministry-grid,
  .schedule-grid,
  .profile-grid,
  .pastor-highlights,
  .hiring-contact-list,
  .offering-method-grid,
  .session-grid,
  .children-gallery,
  .detail-grid,
  .top-panels,
  .event-feature,
  .fellowship-grid,
  .event-archive-list,
  .latest-event-meta,
  .community-copy-grid,
  .welcome-contact-grid,
  .form-row,
  .welcome-contact-panel .contact-list {
    grid-template-columns: 1fr;
  }

  .community-copy + .community-copy {
    border-left: 0;
    border-top: 1px solid rgba(33, 52, 75, 0.1);
    padding-top: 24px;
    padding-left: 0;
  }

  .contact-block {
    border-left: 0;
    border-top: 1px solid rgba(33, 52, 75, 0.12);
    padding-top: 24px;
    padding-left: 0;
  }

  .hero-copy,
  .hero-photo {
    min-height: auto;
  }

  .gallery-main img {
    min-height: 420px;
  }

  .gallery-stack img {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .story-grid,
  .offering-foundation-grid,
  .sunday-school-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 280px;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 72px;
  }

  .nav {
    display: none;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 15px;
  }

  .hero,
  .page-hero,
  .hero-page {
    padding-top: 16px;
  }

  .hero-copy,
  .hero-card {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .hero-photo {
    border-radius: 26px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 24px 0 64px;
  }

  .panel,
  .schedule-card,
  .ministry-card,
  .visit-box,
  .quote-panel,
  .timeline,
  .story-panel,
  .lang-card,
  .belief-item,
  .profile-media,
  .highlight-card,
  .profile-intro {
    border-radius: 22px;
  }

  .quote-panel,
  .timeline,
  .story-panel,
  .panel {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .event-year {
    position: static;
    justify-content: flex-start;
    width: fit-content;
  }

  .event-feature-actions {
    justify-items: start;
  }

  .event-archive-featured {
    grid-template-columns: 1fr;
  }

  .gallery-main img {
    min-height: 300px;
  }

  .gallery-stack img {
    height: 220px;
  }

  .profile-media img {
    min-height: 260px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
