/*
 * Oasis European Missions — site styles.
 *
 * Loaded on the front end and, as an editor style, in the block editor.
 * Page content is made of core blocks carrying the class names used below
 * ("Additional CSS class(es)" in the block's Advanced panel). setup/seed.php
 * shows the block structure each section expects.
 */

:root {
  --ink: #17201b;
  --ink-2: #3d4a43;
  --ink-3: #66726a;
  --paper: #f8f4ec;
  --paper-2: #f0e9db;
  --card: #fffdf8;
  --line: #ddd4c1;
  --green-950: #0b2e20;
  --green-900: #0f3d2a;
  --green-800: #14503a;
  --green-700: #17603f;
  --green-600: #1d8c40;      /* Oasis HK brand green */
  --green-100: #dcebe0;
  --saffron: #e9a23b;
  --saffron-700: #a8650c;
  --radius: 16px;
  --gutter: clamp(20px, 4vw, 40px);
  /* Side padding that keeps full-width sections' content on a 1120px measure. */
  --pad: max(var(--gutter), calc((100% - 1120px) / 2));
  --serif: "Source Serif 4", "Noto Serif TC", "Songti TC", Georgia, serif;
  --sans: "Source Sans 3", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body:lang(zh) { line-height: 1.85; letter-spacing: .02em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; }
/* Chinese headings break only at punctuation or a zero-width space typed between phrases, and anywhere if that would overflow. */
h1:lang(zh), h2:lang(zh), h3:lang(zh) { font-weight: 700; letter-spacing: .03em; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; }
h2:lang(zh) { line-height: 1.3; }
h3 { font-size: 1.375rem; line-height: 1.25; }
p, blockquote, figure { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 236, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand-name, .brand-sub { display: block; }
.brand-name { font: 600 1.0625rem/1.15 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.brand-sub { font: 500 .75rem/1.2 var(--sans); letter-spacing: .14em; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
.brand-name:lang(zh) { font-weight: 700; letter-spacing: .08em; font-size: 1.125rem; }
.brand-sub:lang(en) { letter-spacing: .04em; }
.nav ul { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; font-size: .9375rem; font-weight: 500; line-height: 1.2; text-decoration: none; color: var(--ink-2); padding: .45rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--green-900); border-color: var(--saffron); }
.lang { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang a { font: 600 .8125rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; color: var(--ink-2); padding: .5rem .8rem; border-radius: 999px; }
.lang a[aria-current="page"] { background: var(--green-900); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn, .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1.1 var(--sans); letter-spacing: 0; white-space: nowrap; text-decoration: none;
  padding: .95rem 1.5rem; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--saffron); color: #1d1606;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover, .wp-block-button .wp-block-button__link:hover { background: #f1b556; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; border-color: rgba(246, 241, 228, .5); color: #f6f1e4; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(246, 241, 228, .12); }
.btn-sm, .wp-block-button.is-small .wp-block-button__link { padding: .68rem 1.15rem; font-size: .9375rem; }
.wp-block-buttons { gap: .8rem; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green-900); color: #f6f1e4; padding: clamp(48px, 5.4vw, 76px) var(--pad) clamp(220px, 20vw, 268px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/scene.svg) right bottom / 100% 100% no-repeat; }
.hero > * { max-width: 41rem; }
.chip { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #f3d9a8; border: 1px solid rgba(243, 217, 168, .38); padding: .6rem .95rem; border-radius: 999px; }
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--saffron); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; margin: 1.4rem 0 1.3rem; }
.hero h1:lang(zh) { font-size: clamp(2.3rem, 4.9vw, 3.75rem); line-height: 1.22; letter-spacing: .03em; max-width: 46rem; }
.hero .lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: #dde7da; max-width: 39rem; }
.hero .lead:lang(zh) { line-height: 1.85; }
.hero .wp-block-buttons { margin-top: 2.1rem; }

/* ── Key figures ───────────────────────────────────────────────── */
.stats-card { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 1120px); margin: calc(-1 * clamp(84px, 9vw, 112px)) auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 28px 60px -32px rgba(11, 46, 32, .5); display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.stat { padding: clamp(1.3rem, 2.6vw, 2rem) clamp(1.25rem, 3vw, 2.25rem); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat p { color: var(--ink-2); font-size: 1rem; line-height: 1.4; }
.stat .stat-num { font: 600 clamp(2.1rem, 4.4vw, 3.25rem)/1 var(--serif); letter-spacing: -.02em; color: var(--green-900); font-variant-numeric: lining-nums; margin-bottom: .55rem; }
.stats-note { grid-column: 1 / -1; border-top: 1px solid var(--line); background: var(--paper); padding: .8rem clamp(1.25rem, 3vw, 2.25rem); font-size: .875rem; line-height: 1.5; color: var(--ink-3); }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 112px) var(--pad); }
.section.alt { background: var(--paper-2); }
.section :where(p, li) { color: var(--ink-2); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 700 .8125rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--saffron); flex: none; }
.intro { font-size: 1.1875rem; max-width: 41rem; margin-top: 1.2rem; }
.intro + .intro { margin-top: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split.fill { align-items: stretch; }
.sticky { position: sticky; top: 112px; }
.wp-block-image img { display: block; border-radius: var(--radius); }

/* What happened */
.sources { margin-top: 1.4rem; font-size: .875rem; color: var(--ink-3); }
.glance { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--green-900); border-radius: var(--radius); padding: clamp(1.6rem, 3.4vw, 2.5rem); }
.glance .glance-title { font: 700 .8125rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f3d9a8; }
.glance .fact { font: 600 1.3125rem/1.3 var(--serif); color: #f6f1e4; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.glance .fact:lang(zh) { font-weight: 700; line-height: 1.5; }
.fact strong { display: block; font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #a9c4b3; margin-bottom: .45rem; }
.fact br, .org br, .contact-item br, .timeline li br, .work > li > br { display: none; }
.witness { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); }
.witness p { font: italic 400 clamp(1.25rem, 2.1vw, 1.625rem)/1.45 var(--serif); color: var(--ink); max-width: 50rem; }
.witness p:lang(zh) { font-style: normal; font-weight: 600; line-height: 1.75; }
.witness cite { display: block; margin-top: 1.1rem; font: normal 400 .9375rem/1.5 var(--sans); color: var(--ink-3); }

/* The Church's place */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: clamp(2.2rem, 4vw, 3.2rem); counter-reset: pillar; }
.pillar { border-top: 2px solid var(--green-900); padding-top: 1.3rem; counter-increment: pillar; }
.pillar::before { content: counter(pillar, decimal-leading-zero); display: block; font: 700 .8125rem/1 var(--sans); letter-spacing: .16em; color: var(--saffron-700); }
.pillar h3 { font-size: 1.5rem; margin: .8rem 0 .6rem; }
.pillar p { font-size: 1.0625rem; }

/* How to help */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; }
.card::before, .contact-item::before { content: ""; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--green-100) center / 24px 24px no-repeat; }
.card::before { margin-bottom: 1.2rem; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: 1rem; line-height: 1.6; }
.card p:lang(zh) { line-height: 1.8; }
.card p:not(.more) { flex: 1; }
.card .more { margin-top: 1.1rem; }
.more a { font-weight: 600; font-size: .9375rem; color: var(--green-800); text-decoration: none; }
.more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ico-pray::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M12 3v18M6.5 9h11'/%3E%3C/svg%3E"); }
.ico-give::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.ico-invite::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ico-go::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4 20-7z'/%3E%3C/svg%3E"); }
.ico-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.ico-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

/* About */
.timeline { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.75rem .6rem; }
.timeline-title { font: 700 .8125rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }
.timeline ul { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline ul::before { content: ""; position: absolute; left: 7px; top: .5rem; bottom: 1.6rem; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.5rem 2.3rem; font-size: 1rem; line-height: 1.55; }
.timeline li:lang(zh) { line-height: 1.7; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--green-700); }
.timeline li:last-child::before { background: var(--saffron); border-color: var(--saffron); }
.timeline li strong { display: block; font: 600 1.25rem/1.25 var(--serif); letter-spacing: 0; color: var(--green-900); margin-bottom: .15rem; }
.objects { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); border-top: 2px solid var(--green-900); padding-top: 1.8rem; }
.objects h3 { font-size: 1.5rem; }
.objects .note { margin-top: .7rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-3); }
.objects ol { margin: 0; padding: 0; list-style: none; counter-reset: obj; display: grid; gap: 1.1rem; }
.objects li { counter-increment: obj; display: grid; grid-template-columns: 2.2rem 1fr; font-size: 1.0625rem; }
.objects li::before { content: counter(obj) "."; font: 600 1.125rem/1.6 var(--serif); color: var(--saffron-700); }

/* What we do */
.work { margin: 0; padding: 0; list-style: none; counter-reset: work; }
.work > li { counter-increment: work; position: relative; padding: 1.5rem 0 1.5rem 3.9rem; border-top: 1px solid #d5cab3; font-size: 1.0625rem; }
.work > li:first-child { border-top: 2px solid var(--green-900); }
.work > li::before { content: counter(work, decimal-leading-zero); position: absolute; left: 0; top: 1.5rem; font: 600 1.125rem/1.5 var(--serif); letter-spacing: 0; color: var(--saffron-700); font-variant-numeric: lining-nums; }
.work > li > strong { display: block; font: 600 1.375rem/1.25 var(--serif); color: var(--ink); margin-bottom: .35rem; }
.work > li > strong:lang(zh) { font-weight: 700; letter-spacing: .03em; }
.where { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.where li { display: flex; align-items: baseline; gap: .7rem; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.where strong { flex: none; font: 600 .8125rem/1 var(--sans); letter-spacing: .06em; background: var(--green-900); color: #fff; padding: .32rem .55rem; border-radius: 6px; }

/* Give */
.give { background: var(--green-900); color: #e9efe5; }
.give :where(p, li) { color: #d5e0d4; }
.give .eyebrow { color: #f3d9a8; }
.give h2, .give h3 { color: #fff; }
.give-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "head bank" "join bank"; column-gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.give-head { grid-area: head; }
.join { grid-area: join; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.join h3 { margin-bottom: .5rem; }
.join p { font-size: 1.0625rem; }
.join .wp-block-buttons { margin-top: 1.3rem; }
.bank { grid-area: bank; background: var(--card); color: var(--ink); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .65); }
.give .bank h3 { color: var(--ink); font-size: 1.25rem; margin-bottom: .9rem; }
.bank table { width: 100%; border-collapse: collapse; }
.bank td { border: 0; border-top: 1px solid var(--line); padding: .8rem 0; line-height: 1.35; vertical-align: baseline; }
.bank td:first-child { color: var(--ink-3); font-size: .9375rem; padding-right: 1.25rem; }
.bank td:last-child { text-align: right; color: var(--ink); font: 600 1.3125rem/1.2 var(--serif); letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }

/* Contact */
.org { margin-top: 1.2rem; }
.org strong { display: block; color: var(--ink); font-weight: 600; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 1.1rem; align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--line); font: 600 1.1875rem/1.4 var(--serif); letter-spacing: 0; }
.contact-item:first-child { border-top: 2px solid var(--green-900); }
.section .contact-item { color: var(--ink); }
.contact-item::before { grid-row: 1 / span 2; }
.contact-item strong { align-self: end; font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem; }
.contact-item a { align-self: start; grid-column: 2; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

/* Plain pages (anything that is not one of the two home pages) */
.entry h1 { font-size: clamp(2.2rem, 4.4vw, 3.25rem); line-height: 1.1; margin-bottom: 1.5rem; }
.entry > * { max-width: 46rem; }
.entry > * + * { margin-top: 1.1rem; }
.entry a { color: var(--green-700); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--green-950); color: #b9c9bd; font-size: .9375rem; line-height: 1.6; padding-block: clamp(40px, 6vw, 64px); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #9fb3a5; }
.site-footer .legal { margin-top: 1.3rem; max-width: 40rem; }
.footer-title { font: 700 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #9fb3a5; margin-bottom: .8rem; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.3rem; font-size: .8125rem; color: #8fa596; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .header-give { display: none; }
  .nav ul { gap: 1.2rem; }
}
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: .4rem var(--gutter) 1rem; box-shadow: 0 24px 40px -28px rgba(11, 46, 32, .5); }
  .site-header.open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .95rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; }
  .split, .split.rev, .objects, .site-footer .wrap { grid-template-columns: 1fr; }
  /* Bank details straight after the invitation to give, before the missionary block. */
  .give-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "head" "bank" "join"; }
  .bank { margin-top: 2rem; }
  .sticky { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero::before { top: auto; height: 380px; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .admin-bar .site-header { top: 0; }
  .site-header .wrap { gap: .5rem; min-height: 64px; }
  .brand { gap: .55rem; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: .875rem; }
  .brand-name:lang(zh) { font-size: 1rem; }
  .brand-sub { font-size: .6875rem; letter-spacing: .1em; }
  /* One link that offers the other language, to leave room for the name. */
  .lang a { padding: .62rem .8rem; }
  .lang a[aria-current="page"] { display: none; }
  .menu-btn { width: 40px; height: 40px; }
  .hero { padding-bottom: 250px; }
  .hero::before { height: 320px; }
  .hero .wp-block-button { flex: 1 1 100%; }
  .hero .wp-block-button__link { width: 100%; }
  .stats-card { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 7.2rem 1fr; align-items: center; gap: 1rem; padding-block: 1.1rem; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat .stat-num { margin-bottom: 0; }
  .cards { grid-template-columns: 1fr; }
  .work > li { padding-left: 3rem; }
  .bank td:last-child { font-size: 1.1875rem; }
}
@media (max-width: 340px) {
  .brand-name { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wp-block-button__link { transition: none; }
}
