: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: min(1120px, calc(100% - 32px));
  --radius: 8px;
  --space-section: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  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;
}

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;
}

.container {
  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;
  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;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  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;
  line-height: 1.2;
}

.brand__title {
  font-weight: 800;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  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 a:last-child,
.nav-donate {
  color: var(--color-red);
}

.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;
}

.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,
.visit-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  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);
}

.hero__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  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;
}

.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-item {
  border-left: 3px solid var(--color-red);
  padding: 4px 16px;
}

.service-band .service-grid .service-item:last-child {
  grid-column: span 2;
}

.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;
}

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

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

.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 {
  max-width: 660px;
}

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

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

.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);
}

.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-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);
}

.bishop-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 28px;
}

.bishop-panel__label {
  margin-bottom: 10px;
  color: var(--color-gold);
  font-weight: 800;
}

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

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

.action-tile {
  display: grid;
  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;
}

.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;
  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;
  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__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(36, 31, 33, 0.16);
  border-radius: var(--radius);
  background: var(--color-paper);
  color: var(--color-ink);
  font: inherit;
}

.form-field input,
.form-field select {
  min-height: 46px;
  padding: 10px 12px;
}

.form-field textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(22, 99, 93, 0.14);
  outline: 0;
}

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

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

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.visit-actions {
  grid-column: 1 / -1;
}

.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;
  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 {
  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 {
  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;
  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 {
  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 {
  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: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(123, 30, 43, 0.16);
  background:
    linear-gradient(135deg, rgba(123, 30, 43, 0.12), rgba(215, 172, 78, 0.22)),
    var(--color-paper);
}

.directory-card__initials {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3rem);
  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__portrait--fallback .directory-card__photo {
  display: none;
}

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

.directory-card h3,
.resource-card strong {
  display: block;
  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--large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.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-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.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;
}

@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,
  .nav {
    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));
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 20px, 1120px);
    --space-section: 42px;
  }

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

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  h3 {
    font-size: 0.98rem;
  }

  .utility-bar {
    display: none;
  }

  .site-header {
    position: sticky;
  }

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

  .nav {
    gap: 8px;
  }

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

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

  .brand__title {
    font-size: 0.94rem;
  }

  .brand__meta {
    display: none;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    font-size: 0.84rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 1px 0 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

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

  .primary-nav a[aria-current="page"] {
    border-color: rgba(199, 154, 59, 0.72);
    box-shadow: none;
  }

  .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,
  .visit-actions,
  .button-row {
    gap: 10px;
  }

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

  .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--large,
  .service-grid--dark {
    grid-template-columns: 1fr;
  }

  .service-band .service-grid .service-item:last-child {
    grid-column: span 1;
  }

  .service-grid {
    gap: 8px;
  }

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

  .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;
    padding-bottom: 4px;
    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;
  }

  .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 0;
  }

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

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

  .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__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-field label {
    font-size: 0.76rem;
  }

  .form-field input,
  .form-field select {
    min-height: 42px;
    padding: 9px 10px;
  }

  .form-field textarea {
    min-height: 130px;
    padding: 10px;
  }

  .form-note {
    font-size: 0.84rem;
  }

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

@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;
  }

  .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;
  }

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