:root {
  --canvas: #f7f3ea;
  --paper: #fffdf8;
  --parchment: #e9e0d0;
  --ink: #242821;
  --muted: #5c6259;
  --forest: #2c4337;
  --forest-deep: #1f332a;
  --storm: #667784;
  --mist: #e7ecea;
  --sage: #9aa68f;
  --gold: #b28a4b;
  --gold-ink: #765826;
  --clay: #bc9278;
  --line: #d8cdba;
  --focus: #2b6f86;
  --container: 76rem;
  --reading: 44rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 1rem;
  --shadow: 0 1.25rem 3.75rem rgb(36 40 33 / 9%);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.04rem, 0.3vw + 0.98rem, 1.125rem);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

figure,
blockquote,
p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--parchment);
  color: var(--forest-deep);
}

h1,
h2,
h3 {
  color: var(--forest-deep);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.2;
}

h1 em,
h2 em {
  color: var(--gold-ink);
  font-weight: 400;
}

p {
  max-width: 66ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--forest-deep);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.reading-column {
  width: min(calc(100% - (2 * var(--gutter))), var(--reading));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--paper {
  background: var(--paper);
}

.section--mist {
  background: var(--mist);
}

.section--forest {
  background: var(--forest-deep);
  color: var(--canvas);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-lead,
.page-hero__lead {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--forest);
  border-radius: 0.5rem;
  background: var(--forest);
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-deep);
  color: var(--paper);
}

.button--quiet {
  background: transparent;
  color: var(--forest-deep);
}

.button--quiet:hover {
  background: var(--forest);
  color: var(--paper);
}

.button--light {
  border-color: var(--canvas);
  background: var(--canvas);
  color: var(--forest-deep);
}

.button--light:hover {
  background: var(--paper);
  color: var(--forest-deep);
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-deep);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span:first-child {
  border-bottom: 1px solid currentColor;
}

.text-link span:last-child {
  transition: transform 180ms ease;
}

.text-link:hover span:last-child {
  transform: translate(0.15rem, -0.15rem);
}

.text-link--soft {
  color: var(--muted);
  font-weight: 680;
}

/* Header */

.glory-strip {
  background: var(--forest-deep);
  color: var(--canvas);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glory-strip__inner {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.language-links a,
.language-links span {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.language-links [aria-current="true"] {
  border-bottom: 2px solid var(--gold);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(247 243 234 / 94%);
  backdrop-filter: blur(0.8rem);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 0.35rem 1.6rem rgb(36 40 33 / 6%);
}

.header-inner {
  display: flex;
  min-height: 5.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest-deep);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--forest-deep);
}

.brand-mark {
  width: 3.25rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wordmark__text {
  display: grid;
  line-height: 1;
}

.wordmark__text strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wordmark__text small {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.45rem);
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-deep);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before { transform: translateY(-0.36rem); }
.menu-icon::after { transform: translateY(0.36rem); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

/* Home */

.hero {
  display: grid;
  min-height: min(47rem, calc(100vh - 8.2rem));
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  padding-block: clamp(3rem, 7vw, 6.7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 9ch;
  margin-bottom: 1.4rem;
}

html[lang^="zh"] .hero h1 {
  max-width: none;
  font-size: clamp(2.25rem, 4.4vw, 4.15rem);
  letter-spacing: 0;
  line-height: 1.12;
}

html[lang^="zh"] .hero-heading-line,
html[lang^="zh"] .hero h1 em {
  display: inline-block;
  white-space: nowrap;
}

.hero-tagline {
  margin-bottom: 0.85rem;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

.hero-intro {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(214 182 117 / 32%) 0, transparent 70%);
  content: "";
  filter: blur(1.8rem);
  inset: -9% -6% auto auto;
}

.hero-image-frame {
  overflow: hidden;
  border: 1px solid rgb(178 138 75 / 55%);
  border-radius: 48% 48% 1rem 1rem / 27% 27% 1rem 1rem;
  background: var(--parchment);
  box-shadow: var(--shadow);
  aspect-ratio: 1.2;
}

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

.image-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.image-caption span {
  width: 3rem;
  height: 1px;
  background: var(--gold);
}

.welcome {
  display: grid;
  justify-items: center;
  padding-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.welcome h2 {
  margin-bottom: 1.4rem;
}

.welcome .section-lead {
  max-width: 48rem;
}

.welcome-rule {
  display: flex;
  width: min(25rem, 80%);
  align-items: center;
  gap: 1rem;
  margin-top: 2.8rem;
  color: var(--gold);
}

.welcome-rule::before,
.welcome-rule::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

/* Daily Scripture */

.daily-devotion {
  border-block: 1px solid var(--line);
}

.daily-devotion__grid {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
}

.daily-devotion__intro h2 {
  margin-bottom: 1.4rem;
}

.daily-devotion__intro > p:not(.eyebrow, .daily-calendar) {
  color: var(--muted);
}

.daily-calendar {
  display: grid;
  gap: 0.15rem;
  margin: 2rem 0 0;
  color: var(--forest-deep);
  font-size: 0.85rem;
  font-weight: 720;
}

.daily-calendar span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-devotion__reading {
  padding: clamp(1.75rem, 4vw, 3.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  box-shadow: var(--shadow);
}

.daily-devotion__label {
  margin-bottom: 0.65rem;
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.daily-devotion__reading h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.daily-devotion__reading blockquote {
  margin: 0 0 1.75rem;
  padding-left: clamp(1rem, 2.6vw, 1.75rem);
  border-left: 2px solid var(--gold);
}

.daily-devotion__reading blockquote p {
  margin-bottom: 1rem;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.4;
}

.daily-devotion__reading blockquote footer {
  color: var(--muted);
  font-size: 0.78rem;
}

.daily-devotion__reading cite {
  font-style: normal;
}

.daily-devotion__reading cite span {
  color: var(--forest-deep);
  font-weight: 750;
}

.daily-devotion__reflection {
  color: var(--muted);
  font-size: 1.05rem;
}

.daily-devotion__practice {
  margin: 1.7rem 0;
  padding: 1rem 1.15rem;
  border-radius: 0.45rem;
  background: var(--mist);
  color: var(--forest-deep);
  font-size: 0.9rem;
}

.daily-devotion__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.5rem;
}

.daily-devotion__source {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.mission-preview__summary > p {
  margin-bottom: 0;
}

.mission-preview__links {
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  margin-top: 0.65rem;
}

.section-heading--split {
  display: grid;
  align-items: end;
  gap: 2rem clamp(3rem, 9vw, 8rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
}

.values-list {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  align-items: baseline;
  gap: 1rem 2rem;
  grid-template-columns: 3rem minmax(12rem, 0.75fr) minmax(16rem, 1.25fr);
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.value-row > span {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.value-row h3,
.value-row p {
  margin-bottom: 0;
}

.value-row p {
  color: var(--muted);
}

.testimony-preview {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.85fr);
}

.testimony-preview__story h2 {
  margin-bottom: 1.5rem;
}

.testimony-preview__story > p {
  color: var(--muted);
}

.testimony-preview__story blockquote {
  margin-block: 2rem;
  padding-left: 1.35rem;
  border-left: 2px solid var(--gold);
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
}

.testimony-path {
  position: relative;
  border-left: 1px solid var(--line);
}

.testimony-path > div {
  position: relative;
  padding: 0 0 2rem 2.25rem;
}

.testimony-path > div:last-child {
  padding-bottom: 0;
}

.testimony-path > div::before {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--canvas);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
  left: -0.36rem;
  top: 0.42rem;
}

.testimony-path span,
.testimony-path strong {
  display: block;
}

.testimony-path span {
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimony-path strong {
  margin: 0.2rem 0 0.25rem;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.testimony-path p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--line);
  grid-template-columns: 1.2fr 0.8fr;
}

.article-card {
  position: relative;
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--paper);
  transition: background 180ms ease;
}

.article-card--featured {
  grid-row: span 2;
}

.article-card:hover {
  background: #f3efe5;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.5rem;
  color: var(--gold-ink);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card h3 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a::after {
  position: absolute;
  content: "";
  inset: 0;
}

.article-card p {
  color: var(--muted);
}

.card-arrow {
  display: block;
  margin-top: 1.5rem;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 750;
}

.prayer-band {
  padding-block: var(--section);
  background: var(--forest-deep);
  color: var(--canvas);
}

.prayer-band .eyebrow,
.section--forest .eyebrow {
  color: #d9bd88;
}

.prayer-band h2,
.section--forest h2 {
  color: var(--paper);
}

.prayer-band__grid,
.prayer-intro__grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
  grid-template-columns: 1fr 1fr;
}

.prayer-band__grid > div > p,
.prayer-intro__grid > div > p {
  color: rgb(247 243 234 / 78%);
}

.prayer-prompt {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgb(247 243 234 / 22%);
  background: rgb(255 255 255 / 4%);
}

.prayer-prompt p {
  margin-bottom: 1.5rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  font-style: italic;
  line-height: 1.38;
}

.prayer-prompt > span {
  color: rgb(247 243 234 / 68%);
  font-size: 0.82rem;
}

.scripture-block {
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: var(--canvas);
}

.scripture-block blockquote {
  margin-bottom: 2rem;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.3vw, 2.6rem);
  font-style: italic;
  line-height: 1.3;
}

.scripture-block figcaption {
  display: grid;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.scripture-block figcaption cite {
  color: var(--forest-deep);
  font-style: normal;
  font-weight: 750;
}

.scripture-block figcaption a {
  margin-top: 0.7rem;
  font-weight: 650;
}

.scripture-block--dark {
  border-color: rgb(247 243 234 / 22%);
  background: rgb(255 255 255 / 4%);
}

.scripture-block--dark blockquote,
.scripture-block--dark figcaption cite,
.scripture-block--dark figcaption a {
  color: var(--paper);
}

.scripture-block--dark figcaption {
  color: rgb(247 243 234 / 68%);
}

.contact-preview,
.contact-closing {
  display: grid;
  align-items: end;
  gap: 2rem clamp(3rem, 10vw, 9rem);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-preview h2,
.contact-closing h2 {
  margin-bottom: 0;
}

.contact-preview p,
.contact-closing p {
  color: var(--muted);
}

/* Interior pages */

.page-hero {
  display: grid;
  align-items: end;
  gap: 2rem clamp(3rem, 8vw, 8rem);
  grid-template-columns: 1.25fr 0.75fr;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

html[lang^="zh"] .page-hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  letter-spacing: 0;
  line-height: 1.08;
}

.page-hero__lead {
  margin-bottom: 0.6rem;
}

.page-hero--testimony {
  align-items: end;
}

.page-hero--testimony h1 {
  margin-bottom: 1.5rem;
}

.page-hero--compact {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.testimony-doxology {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission-statement .reading-column h2 {
  margin-bottom: 1.7rem;
}

.mission-statement .reading-column > p,
.prose > p {
  color: var(--muted);
}

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

.principle {
  min-height: 25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--line);
}

.principle:first-child {
  border-left: 0;
}

.principle > span {
  color: var(--gold-ink);
  font-family: var(--serif);
}

.principle h2 {
  margin: 4rem 0 1.4rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.principle p {
  color: var(--muted);
}

.gospel-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 9vw, 8rem);
  grid-template-columns: 1fr 1fr;
}

.invitation {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.testimony-layout {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  padding-top: 0;
}

.testimony-aside {
  position: sticky;
  top: 7.5rem;
}

.testimony-photo {
  overflow: hidden;
  margin: 0 0 2rem;
  background: var(--parchment);
}

.testimony-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.75) sepia(0.08);
}

.testimony-photo figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.testimony-toc {
  display: grid;
  border-top: 1px solid var(--line);
}

.testimony-toc .eyebrow {
  margin: 1.4rem 0 0.7rem;
}

.testimony-toc a {
  padding: 0.55rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.testimony-toc a:hover {
  color: var(--forest-deep);
}

.story-intro {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.story-intro h2 {
  margin-bottom: 1.5rem;
}

.story-intro p,
.testimony-chapter p {
  color: var(--muted);
}

.testimony-chapter {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.testimony-chapter h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.testimony-chapter p {
  font-size: 1.08rem;
  line-height: 1.82;
}

.testimony-closing {
  text-align: center;
}

.testimony-closing .reading-column {
  display: grid;
  justify-items: center;
}

.scripture-pair {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.scripture-pair > div > p {
  color: var(--muted);
}

.article-grid--all {
  grid-template-columns: repeat(2, 1fr);
}

.article-grid--all .article-card--featured {
  grid-row: auto;
}

.source-note {
  padding-block: 1.5rem 4rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.prayer-intro__grid h2 {
  margin-bottom: 1.5rem;
}

.prayer-list {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.prayer-item {
  border-bottom: 1px solid var(--line);
}

.prayer-item summary {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
  list-style: none;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.prayer-item summary::-webkit-details-marker {
  display: none;
}

.prayer-item summary small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.details-icon {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.details-icon::before,
.details-icon::after {
  position: absolute;
  width: 0.8rem;
  height: 1px;
  background: var(--forest-deep);
  content: "";
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.details-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.prayer-item[open] .details-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.prayer-item > div {
  max-width: 48rem;
  padding-bottom: 2.2rem;
}

.prayer-item > div p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.pastoral-note .reading-column {
  display: grid;
  justify-items: start;
}

.pastoral-note p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-card,
.privacy-card {
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-card {
  background: var(--forest-deep);
  color: var(--canvas);
}

.contact-card .eyebrow {
  color: #d9bd88;
}

.contact-card h2 {
  color: var(--paper);
}

.contact-card p {
  color: rgb(247 243 234 / 74%);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-decoration: none;
}

.email-link:hover {
  color: #e7d2a8;
}

.privacy-card {
  border: 1px solid var(--line);
}

.privacy-card h2 {
  font-size: 2rem;
}

.privacy-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.privacy-card li + li {
  margin-top: 0.75rem;
}

.privacy-card > a {
  font-weight: 700;
}

.legal-page .prose h2 {
  margin: 3.2rem 0 1rem;
  font-size: 2rem;
}

.legal-page .prose h2:first-child {
  margin-top: 0;
}

.legal-updated {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding-block: 5rem;
  text-align: center;
}

.not-found > div {
  display: grid;
  justify-items: center;
}

.not-found h1 {
  margin-bottom: 1.5rem;
}

.not-found p {
  color: var(--muted);
}

/* Preserved devotional articles */

.breadcrumb {
  display: flex;
  gap: 0.65rem;
  padding-top: 2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-wrap {
  width: min(calc(100% - (2 * var(--gutter))), 54rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.devotional-article-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.devotional-article-header h1 {
  max-width: 12ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(3rem, 7vw, 6rem);
}

.devotional-article-header .lead {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.devotional-byline {
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.devotional-scripture {
  margin: 0 0 3.5rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--forest-deep);
  color: var(--paper);
  text-align: center;
}

.devotional-scripture blockquote p {
  max-width: 16ch;
  margin: 0 auto 2rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.35;
}

.devotional-scripture figcaption {
  color: #e5d2aa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.devotional-scripture figcaption span {
  color: rgb(247 243 234 / 64%);
  font-weight: 500;
}

.devotional-context {
  margin-bottom: 3.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold);
  background: var(--paper);
}

.devotional-context h2 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.devotional-context p {
  color: var(--muted);
}

.devotional-context a {
  font-size: 0.84rem;
  font-weight: 700;
}

.devotional-section {
  margin-bottom: 3.5rem;
}

.devotional-section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.devotional-section p {
  color: var(--muted);
  line-height: 1.82;
}

.devotional-pause,
.devotional-prayer {
  margin-block: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.devotional-pause {
  border: 1px solid var(--line);
  background: var(--paper);
}

.devotional-pause h2,
.devotional-prayer h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.devotional-pause h3 {
  margin: 2rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.devotional-pause p {
  color: var(--muted);
}

.devotional-prayer {
  background: var(--mist);
}

.devotional-prayer > p:last-child {
  margin-bottom: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.devotional-source-note {
  margin-block: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.devotional-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.devotional-back,
.devotional-next {
  font-weight: 700;
  text-decoration: none;
}

.devotional-next {
  display: grid;
  justify-items: end;
  text-align: right;
}

.devotional-next .eyebrow {
  margin-bottom: 0.2rem;
}

/* Footer */

.site-footer {
  padding-top: clamp(4rem, 8vw, 6rem);
  background: var(--forest-deep);
  color: var(--canvas);
}

.footer-grid {
  display: grid;
  gap: 3rem clamp(3rem, 8vw, 7rem);
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
}

.wordmark--footer {
  color: var(--paper);
}

.wordmark--footer:hover {
  color: var(--paper);
}

.wordmark--footer .wordmark__text small {
  color: #d9bd88;
}

.footer-intro p,
.footer-welcome p {
  color: rgb(247 243 234 / 68%);
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-nav a,
.footer-welcome a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: var(--canvas);
  text-decoration: none;
}

.footer-welcome .eyebrow {
  color: #d9bd88;
}

.footer-bottom {
  display: grid;
  align-items: center;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 4rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgb(247 243 234 / 16%);
  color: rgb(247 243 234 / 56%);
  font-size: 0.72rem;
}

.footer-bottom a {
  justify-self: end;
  color: inherit;
}

/* Reveal motion */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 70rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: calc(2.5rem + 5.7rem);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 2rem var(--gutter) 4rem;
    background: var(--canvas);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms step-end;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 240ms ease, visibility 0ms;
  }

  .primary-nav a {
    min-height: 4.2rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 500;
  }

  .primary-nav a::after {
    display: none;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .primary-nav {
    position: static;
    display: flex;
    padding: 0;
    background: none;
    overflow: visible;
    transform: none;
    visibility: visible;
  }

  .no-js .primary-nav a {
    min-height: 2.75rem;
    border: 0;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
  }
}

@media (max-width: 64rem) {
  .hero,
  .page-hero,
  .testimony-preview,
  .daily-devotion__grid,
  .prayer-band__grid,
  .prayer-intro__grid,
  .gospel-grid,
  .invitation,
  .scripture-pair,
  .contact-grid,
  .contact-preview,
  .contact-closing,
  .testimony-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-copy {
    max-width: 43rem;
  }

  .hero-image-frame {
    border-radius: 1rem;
    aspect-ratio: 16 / 10;
  }

  .hero-image-frame img {
    object-position: center;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .section-heading--split > div:last-child,
  .section-heading--split > p {
    max-width: 38rem;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle:first-child {
    border-top: 0;
  }

  .principle h2 {
    margin-top: 2.5rem;
  }

  .testimony-aside {
    position: static;
    display: grid;
    align-items: start;
    gap: 2rem;
    grid-template-columns: minmax(12rem, 0.7fr) minmax(14rem, 1.3fr);
  }

  .testimony-photo {
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48rem) {
  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .glory-strip__inner {
    min-height: 2.2rem;
  }

  .glory-strip__inner > span {
    display: none;
  }

  .language-links {
    width: 100%;
    justify-content: center;
  }

  .site-header .header-inner {
    min-height: 4.9rem;
  }

  .primary-nav {
    top: calc(2.2rem + 4.9rem);
  }

  .wordmark__text strong {
    font-size: 1.24rem;
  }

  .wordmark__text small {
    font-size: 0.48rem;
  }

  .brand-mark {
    width: 2.8rem;
  }

  .hero {
    gap: 3.2rem;
    padding-top: 3rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row,
  .daily-devotion__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link,
  .button-row .text-link,
  .daily-devotion__actions .text-link {
    justify-content: center;
  }

  .value-row {
    grid-template-columns: 2rem 1fr;
  }

  .value-row p {
    grid-column: 2;
  }

  .article-grid,
  .article-grid--all {
    grid-template-columns: 1fr;
  }

  .article-card--featured {
    grid-row: auto;
  }

  .article-card {
    min-height: 18rem;
  }

  .page-hero {
    padding-block: 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .testimony-doxology {
    justify-content: flex-start;
  }

  .testimony-aside {
    grid-template-columns: 1fr;
  }

  .testimony-photo img {
    aspect-ratio: 4 / 3;
    object-position: center 34%;
  }

  .testimony-toc {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .contact-card,
  .privacy-card,
  .daily-devotion__reading,
  .prayer-prompt,
  .scripture-block,
  .devotional-scripture,
  .devotional-pause,
  .devotional-prayer {
    padding: 1.5rem;
  }

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

  .devotional-next {
    justify-items: start;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom a {
    justify-self: start;
  }
}

@media (max-width: 25rem) {
  .wordmark__text small {
    display: none;
  }

  .glory-strip {
    font-size: 0.63rem;
  }

  .language-links {
    gap: 0.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
