:root {
  --navy: #10283a;
  --navy-deep: #0b1e2c;
  --ink: #1c2833;
  --muted: #4c5966;
  --paper: #f4f0e8;
  --white: #fffcf7;
  --line: #e2d9cc;
  --teal: #1a655c;
  --teal-deep: #124940;
  --gold: #6f5224;
  --gold-soft: #f6efe2;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(16, 40, 58, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  color: var(--navy);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  color: var(--navy);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  color: var(--navy);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--teal-deep);
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 50;
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 0.25rem;
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.section,
.hero,
.school,
.appeal {
  scroll-margin-top: 5.5rem;
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.subhead {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.45;
}

.narrow {
  max-width: 40rem;
}

.section {
  background: var(--paper);
}

.band-white {
  background: var(--white);
}

.band-warm {
  background: #f3eadb;
}

.band-ink {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(154, 116, 51, 0.22), transparent 46%),
    var(--navy);
  color: #f6f1e8;
}

.section.band-ink h2,
.section.band-ink .subhead {
  color: #fff;
}

.section.band-ink p {
  color: #ddd6cb;
}

.band-ink a:not(.button) {
  color: #e6d3a4;
}

.band-ink a:not(.button):hover {
  color: #fff;
}

.section p {
  color: var(--muted);
}

.section .subhead {
  color: var(--ink);
}

.cta {
  margin: 1.35rem 0 0;
}

.more {
  margin: 0.2rem 0 0;
}

.more a {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: var(--navy);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  order: 2;
}

.donate,
.button,
.lang-toggle,
.menu-toggle,
.search-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.lang-toggle,
.menu-toggle,
.button {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.donate,
.button-primary,
.search-bar button {
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
}

.donate:hover,
.button-primary:hover,
.search-bar button:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}

.lang-toggle:hover,
.menu-toggle:hover,
.button:hover {
  background: var(--gold-soft);
  color: var(--navy);
  text-decoration: none;
}

.lang-toggle[aria-expanded="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.menu-icon-close {
  display: none;
}

.menu-toggle {
  order: 3;
  gap: 0.45rem;
}

.menu-toggle[aria-expanded="true"] .menu-icon-bars {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.lang-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 40;
  width: min(34rem, calc(100vw - 2.4rem));
  max-height: min(28rem, calc(100vh - 6rem));
  overflow: auto;
  padding: 1rem 1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.lang-panel[hidden] {
  display: none;
}

.lang-heading {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-list a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.lang-list a:hover,
.lang-list a:focus-visible {
  background: var(--paper);
  color: var(--teal-deep);
}

.lang-list a[aria-current="true"] {
  background: var(--gold-soft);
  color: var(--navy);
}

#site-nav {
  display: none;
  flex-basis: 100%;
  order: 4;
}

#site-nav.is-open {
  display: block;
  padding-bottom: 0.4rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0;
}

.menu > li > a {
  display: block;
  padding: 0.75rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.menu > li > a:hover,
.menu > li > a:focus-visible {
  color: var(--teal);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.4rem 0 2.6rem;
  background: var(--navy);
  color: #f6f1e8;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 70%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 30, 44, 0.88) 0%, rgba(11, 30, 44, 0.74) 62%, rgba(11, 30, 44, 0.58) 100%);
}

.hero h1 {
  color: #fff;
}

.hero-copy {
  max-width: 40rem;
}

.hero .lede {
  color: #e7e1d7;
}

.hero-credit {
  margin: 0.15rem 0 0;
  color: #e6d3a4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.heaven {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.35rem;
  padding: 1.6rem 1.5rem;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(154, 116, 51, 0.22), transparent 42%),
    var(--navy);
  color: #f6f1e8;
  border-radius: 1.1rem;
}

.heaven h2,
.heaven p {
  color: inherit;
}

.heaven h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.heaven p {
  max-width: 36rem;
  margin: 0;
  color: #ddd6cb;
}

.button-light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.button-light:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy);
}

.hero .heaven {
  background: var(--white);
  color: var(--ink);
}

.hero .heaven h2 {
  color: var(--navy);
}

.hero .heaven p {
  color: var(--muted);
}

.hero .heaven :focus-visible {
  outline-color: var(--teal);
}

.appeal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 42rem;
  padding: 12rem 0 2.2rem;
  background: var(--navy-deep);
  color: #f6f1e8;
}

.appeal-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.appeal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.appeal .wrap {
  position: relative;
  z-index: 1;
}

.appeal-panel {
  max-width: 40rem;
  padding: 1.65rem 1.45rem 1.4rem;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(154, 116, 51, 0.24), transparent 48%),
    rgba(11, 30, 44, 0.9);
  border-radius: 1.1rem;
  box-shadow: 0 18px 40px rgba(11, 30, 44, 0.28);
}

.appeal-panel h2,
.appeal-panel .subhead {
  color: #fff;
}

.appeal-panel p {
  color: #ddd6cb;
}

.appeal-panel .subhead {
  margin-bottom: 0.7rem;
  color: #f4efe6;
}

.appeal-place {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  right: 0.85rem;
  margin: 0;
  padding: 0.28rem 0.6rem;
  background: rgba(11, 30, 44, 0.72);
  border-radius: 0.2rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appeal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.appeal .button-ghost {
  background: transparent;
  border-color: rgba(255, 252, 247, 0.5);
  color: #fff;
}

.appeal .button-ghost:hover {
  background: rgba(255, 252, 247, 0.12);
  border-color: #fff;
  color: #fff;
}

.heaven :focus-visible,
.school :focus-visible,
.appeal :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 40rem;
  margin: 0.4rem 0;
  padding: 0.35rem 0.35rem 0.35rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(16, 40, 58, 0.05);
}

.search-bar input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}

.search-bar input:focus {
  outline: none;
}

.search-bar:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 101, 92, 0.15);
}

.search-note {
  min-height: 0;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-note:empty,
.search-pending[hidden] {
  display: none;
}

.search-pending {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.study-search {
  margin: 0 0 1.8rem;
}

.study {
  background: var(--paper);
}

.questions {
  background: var(--white);
}

.feature-lead {
  font-size: 1.15rem;
}

.feature-note,
.feature-more {
  margin-bottom: 0;
}

.feature-more a,
.feature-note a {
  font-weight: 700;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.cover,
.journal,
.series,
.programs img {
  display: block;
  height: auto;
}

.cover {
  width: 148px;
  max-width: 100%;
  border: 1px solid var(--line);
}

.journal {
  width: 160px;
  max-width: 100%;
  mix-blend-mode: multiply;
}

.series {
  width: min(100%, 680px);
  margin: 1.6rem 0 0;
  mix-blend-mode: multiply;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.tag-cloud a:hover {
  background: var(--gold-soft);
  color: var(--navy);
}

.study .tag-cloud a {
  background: var(--white);
}

.programs {
  display: grid;
  gap: 1.15rem;
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 0;
}

.programs a {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(16, 40, 58, 0.08);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(16, 40, 58, 0.06);
  color: inherit;
  text-decoration: none;
}

.programs a:hover,
.programs a:focus-visible {
  border-color: rgba(26, 101, 92, 0.35);
  box-shadow: 0 16px 32px rgba(16, 40, 58, 0.1);
}

.programs a:hover .row-title,
.programs a:focus-visible .row-title {
  color: var(--teal);
}

.programs img {
  width: min(100%, 200px);
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.langs {
  font-size: 0.98rem;
}

.study-intro,
.section-row,
.feature-split,
.video-split,
.commentary-layout {
  display: grid;
  gap: 1.35rem;
}

.section-row .subhead,
.feature-copy .subhead {
  margin-bottom: 0.65rem;
}

.feature-body .cover {
  margin: 0.15rem 0 1.1rem;
}

.place,
.field-video {
  margin: 0;
}

.place img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--navy-deep);
}

.place img {
  aspect-ratio: 4 / 3;
}

#abundant-life .place {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

#abundant-life .place img {
  width: 133.33%;
  height: 133.33%;
  max-width: none;
  object-fit: unset;
  aspect-ratio: unset;
}

.place-portrait img {
  aspect-ratio: 3 / 4;
  object-position: center 12%;
}

.place figcaption,
.field-video figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-video figcaption {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.letters {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.letters li {
  display: flex;
}

.letters blockquote {
  flex: 1;
  margin: 0;
  padding: 1.2rem 1.25rem 1.05rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
}

.letters blockquote p {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.45;
}

.letters footer {
  margin-top: 0.9rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field .more {
  margin-top: 1.1rem;
}

.field-block {
  margin-top: 3.2rem;
}

.field-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
}

.gallery a {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}

.gallery img {
  aspect-ratio: 4 / 3;
}

.gallery a > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.75rem 0.55rem;
  background: linear-gradient(transparent, rgba(11, 30, 44, 0.82));
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery a:hover > span,
.gallery a:focus-visible > span {
  color: #e6d3a4;
}

.notes article {
  padding: 1.15rem 1.2rem 1.05rem;
  background: var(--white);
}

.notes-band {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

.notes-band .notes {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.feature-grid {
  display: grid;
  gap: 1.6rem;
}

.narrow-feature {
  max-width: 46rem;
}

.feature-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.divisions {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: division;
}

.divisions li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0 1rem 2.4rem;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: division;
}

.divisions li::before {
  content: counter(division);
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
}

.divisions .row-title,
.divisions .resource-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.divisions .resource-copy,
.divisions .row-copy {
  color: var(--muted);
}

.periodical-top {
  display: grid;
  gap: 2rem;
}

.periodical .button {
  margin-top: 0.4rem;
}

.print-languages {
  margin-top: 2.2rem;
}

.print-languages h3 {
  color: #fff;
  font-size: 1.05rem;
}

.print-languages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.print-languages li {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(255, 252, 247, 0.2);
  border-radius: 999px;
  color: #f4efe6;
  font-size: 0.95rem;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-grid > div > h3 {
  margin-top: 1.4rem;
}

.give {
  background: var(--paper);
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 1.2rem;
}

.give p {
  color: var(--muted);
}

.link-rows,
.category-list,
.lang-names,
.guidelines,
.text-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-rows {
  border-top: 1px solid var(--line);
}

.link-rows a {
  display: grid;
  gap: 0.15rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.link-rows a:hover .row-title {
  color: var(--teal);
}

.row-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.row-copy {
  color: var(--muted);
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.category-list a {
  display: block;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.category-list a:hover {
  color: var(--teal);
}

.prose-split {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.prose-split > div > p,
.side-card p,
.give-panel p {
  color: var(--muted);
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.15rem;
}

.band .side-card {
  background: var(--paper);
}

.text-links li + li {
  margin-top: 0.45rem;
}

.text-links a {
  font-weight: 700;
  text-decoration: none;
}

.text-links a:hover {
  text-decoration: underline;
}

blockquote {
  margin: 0.4rem 0 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 3px solid var(--gold);
}

blockquote p {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.45;
}

.notes {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.notes p {
  color: var(--muted);
}

.periodical {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(154, 116, 51, 0.18), transparent 40%),
    var(--navy);
  color: #f6f1e8;
  padding: 4.4rem 0;
}

.periodical h2,
.periodical h3,
.periodical p {
  color: inherit;
}

.periodical > .wrap > p,
.periodical-top p {
  color: #ddd6cb;
}

.give-panel {
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(255, 252, 247, 0.14);
  border-radius: 1rem;
  padding: 1.3rem 1.3rem 1.15rem;
}

.give-panel p {
  color: #ddd6cb;
}

.give-panel .button {
  margin-bottom: 1rem;
}

.text-links-light a {
  color: #fff;
}

.periodical-sub {
  margin: 2rem 0 0.8rem;
  font-size: 1.2rem;
}

.guidelines {
  margin: 0;
  padding: 0;
  counter-reset: guide;
}

.guidelines li {
  position: relative;
  margin: 0;
  padding: 0.75rem 0 0.75rem 2.2rem;
  border-top: 1px solid rgba(255, 252, 247, 0.14);
  color: #e7e1d7;
  counter-increment: guide;
}

.guidelines li::before {
  content: counter(guide, lower-alpha);
  position: absolute;
  left: 0;
  color: #e6d3a4;
  font-family: var(--serif);
  font-weight: 600;
}

.lang-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
}

.lang-names li {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(255, 252, 247, 0.2);
  border-radius: 999px;
  color: #f4efe6;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #e7e1d7;
  padding: 2.8rem 0 2.4rem;
}

.footer-brand {
  margin-bottom: 1.6rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 252, 247, 0.14);
}

.footer-name {
  margin: 0 0 0.25rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-tag {
  margin: 0;
  color: #e6d3a4;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.footer-contact {
  display: inline-block;
  margin-top: 0.95rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #e6d3a4;
  padding-bottom: 0.08rem;
}

.footer-contact:hover {
  color: #e6d3a4;
}

.legal a {
  color: #f4efe6;
  font-weight: 600;
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.footer-note,
.legal {
  margin: 0;
  color: #c9c2b6;
  font-size: 0.95rem;
}

.footer-note {
  margin-bottom: 1rem;
}

.legal-links {
  margin-top: 0.35rem;
}

@media (max-width: 699px) {
  .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    order: 0;
  }

  .menu-actions {
    display: none;
    grid-column: 1 / -1;
    grid-row: 3;
    order: 0;
    margin-left: 0;
    justify-self: start;
    padding: 0.2rem 0 0.55rem;
  }

  #site-nav,
  #site-nav.is-open {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bar:has(#site-nav.is-open) .menu-actions {
    display: flex;
  }
}

@media (min-width: 640px) {
  .lang-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .notes {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (min-width: 800px) {
  .hero {
    min-height: 38rem;
    padding: 5.2rem 0 3rem;
  }

  .hero::after {
    background: linear-gradient(100deg, rgba(11, 30, 44, 0.94) 0%, rgba(11, 30, 44, 0.82) 34%, rgba(11, 30, 44, 0.28) 58%, rgba(11, 30, 44, 0.08) 100%);
  }

  .hero-bg {
    right: auto;
    left: 0;
    width: 120%;
    max-width: none;
    object-position: 0% 76%;
  }

  .hero .heaven {
    max-width: 40rem;
    margin-right: auto;
  }

  .appeal {
    align-items: center;
    min-height: 36rem;
    padding: 4.5rem 0;
  }

  .appeal-bg {
    object-position: 68% 38%;
  }

  .appeal-panel {
    max-width: 36rem;
    padding: 2rem 2rem 1.7rem;
  }

  .appeal-place {
    top: auto;
    right: 1.15rem;
    bottom: 1.05rem;
  }

  .study-intro,
  .section-row,
  .video-split,
  .commentary-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 2.6rem;
    align-items: center;
  }

  .study-intro .section-head,
  .section-row p:last-child,
  .video-split p:last-child {
    margin-bottom: 0;
  }

  .feature-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy photo"
      "body photo";
    column-gap: 3rem;
    row-gap: 0.35rem;
    align-items: start;
  }

  .feature-split .feature-copy {
    grid-area: copy;
  }

  .feature-split .place {
    grid-area: photo;
    align-self: start;
  }

  .feature-split .feature-body {
    grid-area: body;
  }

  .feature-split.photo-lead {
    grid-template-areas:
      "photo copy"
      "photo body";
  }

  .letters {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .gallery {
    gap: 0.85rem;
  }

  .commentary-layout .series {
    margin: 0;
    justify-self: end;
  }

  .heaven {
    margin-top: 2rem;
    padding: 1.8rem 2rem;
  }

  .split {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
  }

  .programs {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.15rem;
  }

  .prose-split {
    grid-template-columns: 1.4fr 0.75fr;
    gap: 2.5rem;
  }

  .link-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .study-search .search-bar {
    max-width: 40rem;
  }

  .feature-grid,
  .periodical-top,
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
  }

  .feature-more {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-toggle {
    display: none;
  }

  #site-nav,
  #site-nav.is-open {
    display: block;
    flex: 1 1 100%;
    order: 4;
    margin-top: 0.15rem;
    padding: 0.35rem 0 0.2rem;
    border-top: 1px solid var(--line);
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.1rem 0.15rem;
    padding: 0.25rem 0 0;
  }

  .menu > li {
    flex: 0 0 auto;
  }

  .menu > li > a {
    display: inline-block;
    padding: 0.36rem 0.48rem;
    border-bottom: 0;
    border-radius: 999px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .menu > li > a:hover,
  .menu > li:focus-within > a {
    background: var(--gold-soft);
    color: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
