:root {
  --color-ink: #241f21;
  --color-muted: #665d5f;
  --color-white: #ffffff;
  --color-paper: #faf8f4;
  --color-mist: #eef5f3;
  --color-border: #ded8ce;
  --color-red: #870d1d;
  --color-red-dark: hsl(349, 91%, 25%);
  --color-gold: #c79a3b;
  --color-teal: #16635d;
  --shadow-soft: 0 18px 60px rgba(36, 31, 33, 0.14);
  --shadow-subtle: 0 8px 30px rgba(36, 31, 33, 0.08);
  --font-sans: "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container-gutter: 32px;
  --container: min(1120px, calc(100% - var(--container-gutter)));
  --radius: 8px;
  --space-section: 88px;
}

@font-face {
  font-family: "AA Church Nisibin Marcus";
  src: url("../fonts/aa-church-nisibin-marcus.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--color-red);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 3.25rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.4rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  margin-bottom: 1rem;
}

[id] {
  scroll-margin-top: 128px;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(22, 99, 93, 0.34);
  outline-offset: 3px;
}

.container {
  min-width: 0;
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-red-dark);
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(36, 31, 33, 0.1);
  backdrop-filter: blur(16px);
}

.utility-bar {
  background: var(--color-red-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
}

.utility-bar a {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  max-width: 100%;
  color: var(--color-ink);
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
  display: block;
  width: 54px;
  height: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}

.brand__copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand__title {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.brand__meta {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(36, 31, 33, 0.14);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-red-dark);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle__icon::before {
  transform: translateY(-6px);
}

.nav-toggle__icon::after {
  transform: translateY(6px);
}

.nav--open .nav-toggle__icon {
  background: transparent;
}

.nav--open .nav-toggle__icon::before {
  transform: rotate(45deg);
}

.nav--open .nav-toggle__icon::after {
  transform: rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a {
  border-radius: var(--radius);
  padding: 8px 2px;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--color-red);
  box-shadow: inset 0 -2px 0 var(--color-gold);
}

.primary-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.primary-nav .nav-donate,
.primary-nav .nav-acero {
  color: var(--color-red);
}

.site-search {
  position: relative;
  flex: 0 0 auto;
}

.site-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-search__toggle,
.site-search__button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--color-red);
  cursor: pointer;
}

.site-search__toggle {
  width: 28px;
  height: 28px;
  padding: 3px;
}

.site-search__toggle svg,
.site-search__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search__toggle:hover,
.site-search__toggle:focus-visible,
.site-search__button:hover,
.site-search__button:focus-visible {
  color: var(--color-gold-dark);
}

.site-search__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(36, 31, 33, 0.14);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: 8px;
}

.site-search__panel[hidden] {
  display: none;
}

.site-search__control {
  display: flex;
  align-items: stretch;
  min-height: 36px;
  border: 1px solid rgba(36, 31, 33, 0.14);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
}

.site-search__input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  padding: 8px 9px;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.2;
}

.site-search__input:focus {
  outline: 0;
}

.site-search__button {
  border-left: 1px solid rgba(36, 31, 33, 0.12);
  background: var(--color-paper);
  padding: 8px 10px;
}

.site-search__results {
  max-height: min(460px, calc(100vh - 150px));
  overflow-y: auto;
  margin-top: 8px;
}

.site-search__results[hidden] {
  display: none;
}

.site-search__results a,
.site-search__empty {
  display: block;
  border-radius: 6px;
  padding: 10px;
}

.site-search__results a {
  color: var(--color-ink);
  text-decoration: none;
}

.site-search__results a:hover,
.site-search__results a:focus-visible {
  background: var(--color-paper);
  color: var(--color-ink);
}

.site-search__results strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
  line-height: 1.18;
}

.site-search__results span {
  display: block;
  margin-bottom: 5px;
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.site-search__results p,
.site-search__empty {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.hero {
  position: relative;
  display: grid;
  min-height: 72svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22, 13, 16, 0.84) 0%, rgba(22, 13, 16, 0.62) 46%, rgba(22, 13, 16, 0.2) 100%),
    url("../img/mar-gewargis-cathedral.jpg") center 46% / cover;
  color: var(--color-white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-teal));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding-block: 72px 58px;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  text-wrap: pretty;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-red);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.eyebrow--gold {
  color: var(--color-gold);
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  color: inherit;
}

.button--gold {
  background: var(--color-gold);
  color: var(--color-red-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.button--ink {
  background: var(--color-ink);
  color: var(--color-white);
}

.button--outline {
  border-color: rgba(36, 31, 33, 0.22);
  background: transparent;
  color: var(--color-ink);
}

.faith-dialog {
  width: min(760px, calc(100vw - clamp(24px, 8vw, 96px)));
  max-height: min(860px, calc(100vh - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  border: 0;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-ink);
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow-soft);
}

.faith-dialog::backdrop {
  background: rgba(36, 31, 33, 0.58);
}

.faith-dialog__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: inherit;
  padding: clamp(20px, 4vw, 34px);
}

.faith-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(36, 31, 33, 0.14);
  border-radius: 50%;
  background: var(--color-paper);
  color: var(--color-red-dark);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.faith-dialog h2 {
  margin: 0 42px 18px 0;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.faith-dialog__body {
  display: grid;
  gap: clamp(14px, 2.4vw, 18px);
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.faith-dialog__body p {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.03rem);
  line-height: 1.6;
}

.hero__details {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  gap: 12px clamp(30px, 4vw, 52px);
  width: max-content;
  max-width: 100%;
  margin: 34px 0 0;
}

.hero__details div {
  border-left: 3px solid var(--color-gold);
  padding-left: 14px;
}

.hero__details dt {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero__details dd {
  margin: 0;
  font-weight: 800;
}

.hero__detail--location dd {
  white-space: nowrap;
}

.hero__phone {
  white-space: nowrap;
  color: var(--color-white);
  text-decoration: none;
}

.service-band {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.service-band__inner {
  display: grid;
  grid-template-columns: 0.55fr 1.75fr;
  gap: 28px;
  padding-block: 32px;
}

.section-label h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.section-label h2 span {
  display: block;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid.service-grid--home {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.service-item {
  min-width: 0;
  border-left: 3px solid var(--color-red);
  padding: 4px 16px;
}

.service-grid--home .service-item:last-child {
  grid-column: auto;
}

.service-item__day {
  margin-bottom: 4px;
  color: var(--color-teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.service-item h3,
.service-item p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.service-item p:last-child {
  color: var(--color-muted);
}

.section {
  padding-block: var(--space-section);
  scroll-margin-top: 128px;
}

.section--white {
  background: var(--color-white);
}

.section--mist {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0)),
    var(--color-mist);
}

.section--deep {
  background:
    linear-gradient(135deg, rgba(123, 30, 43, 0.94), rgba(66, 16, 25, 0.98)),
    var(--color-red-dark);
  color: var(--color-white);
}

.section--deep p {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
}

.split--center {
  align-items: center;
}

.section-copy {
  min-width: 0;
  max-width: 660px;
}

.section-copy p,
.section-intro p {
  color: var(--color-muted);
  font-size: 1.03rem;
}

.faith-statement {
  max-width: 940px;
}

.faith-statement__body {
  max-width: 860px;
}

.faith-statement__body p {
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 1.72;
}

.faith-statement__body p:last-child {
  margin-bottom: 0;
  font-weight: 800;
}

.section--deep .section-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.bishop-portrait {
  justify-self: end;
  width: min(100%, 320px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-subtle);
}

.bishop-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.timeline {
  display: grid;
  align-content: center;
  gap: 16px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}

.timeline__item span {
  color: var(--color-red);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.timeline__item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.timeline--light .timeline__item {
  border-top-color: rgba(255, 255, 255, 0.58);
}

.timeline--light .timeline__item span,
.timeline--light .timeline__item p {
  color: var(--color-white);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-intro--compact {
  max-width: 680px;
}

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

.feature-card {
  min-width: 0;
  min-height: 210px;
  border: 1px solid rgba(36, 31, 33, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.feature-card__label {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

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

.action-tile {
  display: grid;
  min-width: 0;
  min-height: 180px;
  align-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  padding: 24px;
  color: var(--color-ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 30, 43, 0.28);
  box-shadow: var(--shadow-subtle);
  color: var(--color-ink);
}

.action-tile span {
  color: var(--color-teal);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.action-tile strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.lectionary-panel {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  max-width: 960px;
}

.lectionary-panel .section-intro {
  margin-bottom: 0;
}

.lectionary-table-wrap {
  --lectionary-reading-col: clamp(7.25rem, 34%, 15rem);

  height: auto;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(36, 31, 33, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-subtle);
}

.lectionary-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  text-align: left;
}

.lectionary-table caption {
  padding: clamp(14px, 2.2vw, 20px) clamp(14px, 2.8vw, 22px) 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.14rem, 1.7vw, 1.34rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.lectionary-caption__inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px 18px;
  width: 100%;
}

.lectionary-caption__inner > [data-lectionary-caption] {
  min-width: max-content;
  white-space: nowrap;
}

.lectionary-table__reading-col {
  width: var(--lectionary-reading-col);
}

.lectionary-table__citation-col {
  width: auto;
}

.lectionary-syriac {
  display: inline-block;
  max-width: 100%;
  color: var(--color-red-dark);
  font-family: "AA Church Nisibin Marcus", "Estrangelo Edessa", "Noto Sans Syriac", serif;
  font-size: 2.35rem;
  font-weight: 400;
  justify-self: center;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  text-rendering: geometricPrecision;
  unicode-bidi: isolate;
}

.lectionary-syriac[hidden] {
  display: none;
}

.lectionary-table th,
.lectionary-table td {
  border-top: 1px solid rgba(36, 31, 33, 0.1);
  padding: clamp(10px, 1.8vw, 16px) clamp(14px, 2.8vw, 22px);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.lectionary-table thead th {
  color: var(--color-red);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lectionary-table tbody th {
  width: var(--lectionary-reading-col);
  color: var(--color-teal);
  font-weight: 800;
}

.lectionary-table tbody td {
  color: var(--color-ink);
  font-weight: 700;
}

.lectionary-table__empty {
  color: var(--color-muted);
  font-weight: 700;
}

.lectionary-source {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.visit-section {
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.92), rgba(250, 248, 244, 0.76)),
    var(--color-paper);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 38px 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  min-width: 0;
  gap: 16px;
  border-left: 3px solid var(--color-gold);
  padding-left: 24px;
}

.contact-list div {
  border-bottom: 1px solid rgba(36, 31, 33, 0.12);
  padding-bottom: 14px;
}

.contact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-red);
  font-weight: 800;
}

.contact-list p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  min-width: 0;
  gap: 18px;
  margin-top: 24px;
  border: 1px solid rgba(36, 31, 33, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.contact-form--embed {
  overflow: hidden;
  padding: 0;
}

.contact-form__embed {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2200px;
  border: 0;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 44svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(22, 13, 16, 0.86) 0%, rgba(22, 13, 16, 0.64) 48%, rgba(22, 13, 16, 0.24) 100%),
    url("../img/mar-gewargis-cathedral.jpg") center 48% / cover;
  color: var(--color-white);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), var(--color-teal));
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding-block: 70px 48px;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 3.25rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.section-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.section-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-width: 0;
  padding-block: 14px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-nav a {
  text-decoration: none;
}

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

.cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card--link {
  color: var(--color-ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card--link:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 30, 43, 0.28);
  box-shadow: var(--shadow-soft);
  color: var(--color-ink);
}

.button-row {
  margin-top: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.82fr);
  gap: 44px;
  align-items: start;
}

.stacked-list,
.fact-panel,
.resource-list,
.link-panel {
  display: grid;
  gap: 14px;
}

.stacked-list article,
.fact-panel article {
  border-left: 3px solid var(--color-red);
  background: var(--color-white);
  padding: 18px 20px;
  box-shadow: var(--shadow-subtle);
}

.stacked-list span,
.fact-panel span,
.notice-panel span,
.link-panel span,
.directory-card > span,
.resource-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-red);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.stacked-list strong,
.fact-panel strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.18;
}

.notice-panel {
  min-width: 0;
  border-left: 3px solid var(--color-gold);
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.notice-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.notice-panel p:last-child {
  margin-bottom: 0;
}

.link-panel {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  padding: 24px;
}

.link-panel a,
.resource-list a {
  display: block;
  border-top: 1px solid rgba(36, 31, 33, 0.12);
  padding-block: 12px;
  color: var(--color-ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.link-panel a:last-child,
.resource-list a:last-child {
  padding-bottom: 0;
}

.link-panel a:hover,
.resource-list a:hover {
  color: var(--color-red);
}

.link-panel--dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.link-panel--dark span,
.link-panel--dark a,
.section--deep .notice-panel span {
  color: var(--color-gold);
}

.link-panel--dark a {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.resource-list {
  min-width: 0;
  border-left: 3px solid var(--color-gold);
  background: var(--color-white);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
}

.directory-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.directory-grid--compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.directory-card,
.resource-card {
  min-width: 0;
  border: 1px solid rgba(36, 31, 33, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 20px;
  box-shadow: var(--shadow-subtle);
}

.directory-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.directory-card__portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 176px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(123, 30, 43, 0.16);
  background: #f1e8d8;
}

.directory-card__portrait::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 14px #f1e8d8,
    inset 0 0 0 15px rgba(123, 30, 43, 0.14);
  content: "";
  pointer-events: none;
}

.directory-card__initials {
  color: var(--color-red);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.directory-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
}

.directory-card__photo--katherine {
  object-position: 50% 50%;
}

.directory-card__photo--nohra {
  object-position: 50% 45%;
  transform: scale(1.9);
}

.directory-card__portrait--fallback .directory-card__photo {
  display: none;
}

.directory-card--wide {
  grid-column: span 2;
}

.directory-card h3,
.resource-card strong {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.directory-card p {
  margin-bottom: 8px;
  color: var(--color-muted);
}

.directory-card a {
  color: var(--color-red);
  font-size: 0.92rem;
  font-weight: 800;
}

.directory-card a,
.resource-card {
  overflow-wrap: anywhere;
}

.resource-card {
  min-height: 136px;
  color: var(--color-ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 30, 43, 0.28);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}

.details-list {
  display: grid;
  gap: 14px;
}

.details-list details {
  border: 1px solid rgba(36, 31, 33, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-subtle);
}

.details-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.details-list details[open] summary {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-red);
}

.details-list details > div {
  padding: 20px 24px 24px;
}

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

.details-list a {
  font-weight: 800;
}

.service-grid--dark {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid--dark .service-item {
  border-left-color: var(--color-gold);
}

.section--deep .service-item__day,
.section--deep .service-item p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.action-grid--stack {
  grid-template-columns: 1fr;
}

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.76);
  padding-block: 42px 30px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 24px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-grid p + p {
  margin-top: 4px;
}

.footer-grid p a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
}

.footer-grid p a:hover,
.footer-grid p a:focus-visible {
  color: var(--color-white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
  min-width: 0;
}

.footer-nav a,
.footer-meta a {
  color: var(--color-white);
}

.footer-meta {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.86rem;
}

.footer-meta p {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-ink);
}

.footer-social svg {
  display: block;
  width: 16px;
  height: 16px;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: var(--color-red-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translateY(-2px);
  background: var(--color-red);
  color: var(--color-white);
}

.scroll-top--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.scroll-top::after {
  content: "Scroll to the top";
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 180px;
  transform: translateY(-50%);
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-white);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.scroll-top:hover::after,
.scroll-top:focus-visible::after {
  opacity: 1;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .brand {
    min-width: 210px;
  }

  .primary-nav {
    gap: 6px 12px;
    font-size: 0.9rem;
  }

  .cards--5,
  .directory-grid,
  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .directory-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 4.7rem;
  }

  .page-hero h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 920px) {
  :root {
    --space-section: 70px;
  }

  .utility-bar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-shell {
    padding-block: 14px;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .service-band__inner,
  .split,
  .visit-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .card-grid,
  .cards--5,
  .action-grid,
  .directory-grid,
  .directory-grid--compact,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__details {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1.5fr);
    width: 100%;
    max-width: 760px;
  }

  .hero__detail--phone {
    grid-column: 1 / -1;
  }

  .contact-layout .section-copy {
    display: contents;
  }

  .contact-layout .section-copy > h2 {
    order: 1;
  }

  .contact-layout .contact-list {
    order: 2;
  }

  .contact-layout .contact-form {
    order: 3;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 104px;
  }

  [id],
  .section {
    scroll-margin-top: 104px;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    width: var(--container);
  }

  .nav[data-mobile-nav="ready"] .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav[data-mobile-nav="ready"] .primary-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    max-height: 0;
    margin: 0;
    border: 0 solid transparent;
    border-radius: var(--radius);
    opacity: 0;
    overflow: hidden;
    padding: 0 8px;
    pointer-events: none;
    transform: translateY(-4px);
    transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease, padding 160ms ease, border-color 160ms ease;
  }

  .nav[data-mobile-nav="ready"].nav--open .primary-nav {
    max-height: min(840px, calc(100vh - 86px));
    border-width: 1px;
    border-color: rgba(36, 31, 33, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-subtle);
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav[data-mobile-nav="ready"] .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    padding: 9px 10px;
  }

  .nav[data-mobile-nav="ready"] .primary-nav > a {
    grid-column: 1 / -1;
  }

  .nav[data-mobile-nav="ready"] .primary-nav a[aria-current="page"] {
    background: rgba(199, 154, 59, 0.14);
    box-shadow: inset 3px 0 0 var(--color-gold);
  }

  .nav[data-mobile-nav="ready"] .primary-nav__actions {
    display: contents;
  }

  .nav[data-mobile-nav="ready"] .primary-nav__actions a {
    justify-content: center;
    border: 1px solid rgba(123, 30, 43, 0.16);
    background: rgba(250, 248, 244, 0.88);
  }

  .nav[data-mobile-nav="ready"] .site-search {
    grid-column: 1 / -1;
    order: -1;
    justify-self: end;
  }

  .nav[data-mobile-nav="ready"] .site-search__control {
    min-height: 42px;
  }

  .nav[data-mobile-nav="ready"] .site-search__panel {
    width: min(330px, calc(100vw - 40px));
  }

  .nav[data-mobile-nav="ready"] .site-search__results {
    max-height: 300px;
  }

  .section-nav__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .section-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .section-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  :root {
    --container-gutter: clamp(40px, 8vw, 48px);
    --space-section: 42px;
  }

  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  h1 {
    font-size: 2.12rem;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 1.72rem;
    overflow-wrap: break-word;
  }

  h3 {
    font-size: 0.98rem;
  }

  .utility-bar {
    display: block;
    font-size: 0.76rem;
  }

  .utility-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding-block: 5px;
    text-align: center;
  }

  .utility-bar__inner > span {
    display: none;
  }

  .utility-bar a {
    display: block;
    width: 100%;
  }

  .site-header {
    position: sticky;
  }

  .nav-shell {
    min-height: 0;
    padding-block: 8px;
  }

  .nav {
    gap: 8px 10px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand__copy {
    gap: 2px;
    line-height: 1.12;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__title {
    font-size: 0.94rem;
  }

  .brand__meta {
    display: block;
    max-width: 210px;
    font-size: 0.64rem;
    line-height: 1.16;
    overflow-wrap: break-word;
  }

  .primary-nav {
    font-size: 0.9rem;
  }

  .nav-toggle {
    min-height: 40px;
    padding: 8px 10px;
  }

  .nav[data-mobile-nav="ready"].nav--open .primary-nav {
    padding: 7px;
  }

  .hero {
    min-height: auto;
    background-position: 58% 50%;
  }

  .hero__inner {
    min-height: 500px;
    padding-block: 58px 34px;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions,
  .button-row {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    font-size: 0.94rem;
  }

  .faith-dialog {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 6px;
  }

  .faith-dialog__panel {
    padding: 20px 16px;
  }

  .faith-dialog__close {
    top: 10px;
    right: 10px;
  }

  .faith-dialog h2 {
    margin-right: 46px;
    margin-bottom: 14px;
  }

  .faith-dialog__body {
    padding-right: 4px;
  }

  .service-band__inner {
    gap: 16px;
    padding-block: 22px;
  }

  .section-label h2 {
    font-size: 1.42rem;
  }

  .hero__details,
  .service-grid,
  .card-grid,
  .cards--5,
  .action-grid,
  .directory-grid,
  .directory-grid--compact,
  .resource-grid,
  .service-grid--dark {
    grid-template-columns: 1fr;
  }

  .hero__detail--location dd {
    white-space: normal;
  }

  .service-grid {
    gap: 8px;
  }

  .service-grid.service-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-item {
    border-left-width: 3px;
    background: var(--color-paper);
    padding: 10px 12px;
  }

  .service-grid--home .service-item {
    border-left-width: 2px;
    padding: 10px 12px;
  }

  .service-grid--home .service-item:last-child {
    grid-column: 1 / -1;
  }

  .service-grid--home .service-item__day {
    margin-bottom: 4px;
    font-size: 0.7rem;
    line-height: 1.1;
  }

  .service-grid--home .service-item h3 {
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .service-grid--home .service-item p:last-child {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .service-item h3 {
    font-size: 1rem;
  }

  .service-item p:last-child {
    font-size: 0.94rem;
  }

  .page-hero {
    min-height: 0;
    background-position: 58% 50%;
  }

  .page-hero__inner {
    padding-block: 36px 28px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .section-nav__inner {
    flex-wrap: nowrap;
    gap: 6px;
    font-size: 0.84rem;
    overflow-x: auto;
    margin-inline: auto;
    padding: 8px 0 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .section-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .section-nav a {
    flex: 0 0 auto;
    border: 1px solid rgba(36, 31, 33, 0.12);
    border-radius: 999px;
    padding: 6px 10px;
  }

  .feature-card {
    min-height: 0;
    padding: 18px;
  }

  .feature-card__label {
    margin-bottom: 14px;
  }

  .section-intro {
    margin-bottom: 22px;
  }

  .lectionary-panel {
    max-width: none;
  }

  .lectionary-table-wrap {
    --lectionary-reading-col: clamp(6.25rem, 38%, 8.75rem);

    border-radius: 6px;
  }

  .lectionary-table thead th,
  .lectionary-table tbody th,
  .lectionary-table tbody td {
    line-height: 1.4;
  }

  .lectionary-table thead th {
    font-size: 0.74rem;
  }

  .lectionary-table tbody th,
  .lectionary-table tbody td {
    font-size: 0.94rem;
  }

  .lectionary-syriac {
    font-size: 2rem;
  }

  .lectionary-source {
    font-size: 0.84rem;
  }

  .section-copy p,
  .section-intro p {
    font-size: 0.98rem;
  }

  .split,
  .visit-grid,
  .two-column {
    gap: 26px;
  }

  .stacked-list article {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .stacked-list strong {
    text-align: left;
  }

  .directory-card--wide {
    grid-column: auto;
  }

  .directory-card__portrait {
    width: min(100%, 148px);
    margin-bottom: 12px;
  }

  .timeline__item {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .notice-panel,
  .contact-form,
  .link-panel,
  .resource-list,
  .directory-card,
  .resource-card {
    padding: 18px;
  }

  .notice-panel h3 {
    font-size: 1.28rem;
  }

  .details-list {
    gap: 10px;
  }

  .details-list summary {
    padding: 15px 16px;
    font-size: 1.08rem;
  }

  .details-list details > div {
    padding: 15px 16px 18px;
  }

  .details-list p {
    margin-bottom: 0.82rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .contact-form {
    margin-top: 20px;
    gap: 15px;
  }

  .contact-form--embed {
    padding: 0;
  }

  .contact-form__embed {
    height: 2500px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .scroll-top {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }

  .scroll-top::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .lectionary-table-wrap {
    --lectionary-reading-col: 1fr;

    overflow-x: visible;
  }

  .lectionary-table,
  .lectionary-table caption,
  .lectionary-table tbody,
  .lectionary-table tr,
  .lectionary-table th,
  .lectionary-table td {
    display: block;
    width: 100%;
  }

  .lectionary-table colgroup,
  .lectionary-table thead {
    display: none;
  }

  .lectionary-caption__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lectionary-caption__inner > [data-lectionary-caption],
  .lectionary-syriac {
    justify-self: center;
    text-align: center;
  }

  .lectionary-table tbody tr {
    border-top: 1px solid rgba(36, 31, 33, 0.1);
    padding: 12px 14px;
  }

  .lectionary-table th,
  .lectionary-table td,
  .lectionary-table tbody th,
  .lectionary-table tbody td {
    border-top: 0;
    padding: 0;
  }

  .lectionary-table tbody th {
    margin-bottom: 2px;
  }

  .hero__details {
    gap: 8px;
    margin-top: 24px;
  }

  .contact-list {
    padding-left: 16px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.86rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__title {
    font-size: 0.86rem;
  }

  .brand__meta {
    max-width: 170px;
    font-size: 0.58rem;
  }

  .utility-bar {
    font-size: 0.72rem;
  }

  .hero__inner {
    min-height: 460px;
    padding-block: 48px 30px;
  }

  .page-hero h1 {
    font-size: 1.72rem;
  }

  .page-hero__inner {
    padding-block: 30px 24px;
  }

  .primary-nav a,
  .section-nav a {
    padding-inline: 9px;
  }

  .service-grid.service-grid--home {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-grid--home .service-item {
    padding: 10px 12px;
  }

  .service-grid--home .service-item__day {
    font-size: 0.68rem;
  }

  .service-grid--home .service-item h3 {
    font-size: 0.84rem;
  }

  .service-grid--home .service-item p:last-child {
    font-size: 0.72rem;
  }

  .lectionary-syriac {
    font-size: 1.85rem;
  }

  .details-list summary {
    font-size: 1.02rem;
  }
}
