:root {
  --color-primary: #2563eb;
  --color-secondary: #f9fafb;
  --color-tertiary: #d4d4d8;
  --color-accent: #f59e0b;
  --color-muted: #6b7280;
  --header-height: 105px;
  --footer-height: 20px;
  --mobile-nav-width: 160px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --p-font-size-small: 1rem;
  --p-font-size-medium: 1.125rem;
  --p-font-size-large: 1.25rem;
  --p-font-size-current: var(--p-font-size-small);
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html[data-font-size="small"] {
  --p-font-size-current: var(--p-font-size-small);
}

html[data-font-size="medium"] {
  --p-font-size-current: var(--p-font-size-medium);
}

html[data-font-size="large"] {
  --p-font-size-current: var(--p-font-size-large);
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: #333;
  background: #f3f4f6;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}

main p,
main li {
  font-size: var(--p-font-size-current);
}

.main-inner {
  max-width: 1100px;
  margin-inline: auto;
  width: 100%;
  padding-inline: 1rem;
  box-sizing: border-box;
}

.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

.container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-inline: 1rem;
  box-sizing: border-box;
}

html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-attr] {
  visibility: hidden;
}

h1 {
  font-size: 2.5rem;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.8rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

ul li::marker {
  color: var(--color-accent);
}

header.site-header,
footer.site-footer {
  flex-shrink: 0;
  flex: 0 0 auto;
  width: 100%;
}

.site-header {
  background-color: var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.site-footer {
  padding: 0.5rem 0.5rem;
}

.site-header .container,
.site-footer .container {
  padding: 0 1rem;
}

.site-footer a[data-i18n="title"] {
  color: inherit;
  text-decoration: none;
}

.site-footer a[data-i18n="title"]:hover,
.site-footer a[data-i18n="title"]:focus-visible {
  text-decoration: underline;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0.5rem 1rem;
  background-color: var(--color-tertiary);
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.figure-right {
  float: right;
  margin: 0 0 1rem 2.5rem;
  max-width: 40%;
}

figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.page-section>h2 {
  clear: both;
}

.logo-single,
.logo-multi {
  white-space: normal;
  font-family: 'Cinzel', Georgia, serif;
  color: var(--color-primary);
  font-size: 1.5rem;
  display: none;
}

.logo-single {
  display: inline;
}

.header-quote {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header-quote .quote-content {
  max-width: 360px;
  text-align: left;
  padding: 0 1.25rem;
  font-family: 'Cinzel', Georgia, serif;
}

.quote-line {
  font-style: italic;
  font-size: 0.8rem;
  margin: 0.1rem 0;
  line-height: 1.25;
}

.quote-attr {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: #666;
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.header-buttons .btn-placeholder {
  visibility: hidden;
  pointer-events: none;
  display: inline-block;
  width: 98px;
}

.header-logo a,
.header-quote a {
  color: inherit;
  text-decoration: none;
}

.header-logo a:hover,
.header-quote a:hover {
  text-decoration: none;
}

.lang-switch-inline {
  align-items: center;
  gap: 1rem;
  position: fixed;
  top: calc(var(--header-height) + 0.5rem);
  right: 1rem;
  z-index: 999;
  transition: opacity 0.3s ease;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.lang-switch-inline select {
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-tertiary);
  background: #f9fafb;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 500;
}

.lang-switch-inline select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.lang-switch-inline.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.nav-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.header-nav {
  background: var(--color-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 1rem;
}

.header-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.nav-menu ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li+li {
  margin-left: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: #e5e7eb;
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
  border-radius: 0;
}

.header-nav .nav-menu a.active:hover,
.header-nav .nav-menu a[aria-current="page"]:hover,
.header-nav .nav-menu a.active:focus-visible,
.header-nav .nav-menu a[aria-current="page"]:focus-visible {
  background: var(--color-primary);
  color: #fff;
  transform: none;
  box-shadow: none;
}

footer {
  background: #222;
  color: #ccc;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  margin-right: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.hero {
  background: #fff;
  text-align: center;
  padding: 1rem 2rem 1rem;
}

.hero h1,
.hero a {
  text-align: center;
}

.hero p,
.hero li {
  text-align: left;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.hero::after {
  content: none;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-actions .btn {
  margin-right: 0;
}

@media (max-width: 599px) {
  .hero-actions {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 0.5rem;
    row-gap: 0.4rem;
  }

  .hero-actions .btn {
    width: auto;
    max-width: 100%;
    justify-self: center;
  }

  .hero-actions .btn:nth-child(1) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 600px) {
  .hero-actions {
    display: flex;
    flex-wrap: nowrap;
  }
}

.hero-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.3;
  animation: bounceArrow 1.8s infinite;
}

.hero-chevron span {
  line-height: 1;
}

.hero-chevron:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.text-size-controls {
  display: inline-flex;
  border: 1px solid var(--color-tertiary);
  border-radius: 999px;
  overflow: hidden;
}

.text-size-btn {
  border: none;
  background: #e5e5e5;
  padding: 0.15rem 0.45rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 400;
  color: inherit;
  opacity: 1;
}

.text-size-btn+.text-size-btn {
  border-left: 1px solid var(--color-tertiary);
}

.text-size-btn.is-active {
  background: var(--color-secondary);
  font-weight: 700;
}

.text-size-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.25rem auto 2.75rem;
}

.supporter-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--color-tertiary);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.supporter-logo {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supporter-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.9);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.supporter-body {
  text-align: center;
}

.supporter-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.supporter-body p {
  margin: 0.35rem 0 0.65rem;
  color: #555;
  line-height: 1.5;
  font-size: 0.98rem;
}

.supporter-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.supporter-card:hover,
.supporter-card:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
  outline: none;
}

.supporter-card:hover img,
.supporter-card:focus-visible img {
  filter: none;
  opacity: 1;
}

.supporters-cta {
  background: var(--color-secondary);
  border: 1px solid var(--color-tertiary);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.supporters-cta h2 {
  margin: 0;
  font-size: 1.5rem;
}

.supporters-cta p {
  margin: 0.35rem 0 0;
  color: #555;
  line-height: 1.6;
  max-width: 55ch;
}

.supporters-cta .cta-actions {
  display: flex;
  gap: 0.75rem;
}

.hero[aria-labelledby="resources-hero-heading"] {
  margin-bottom: 0.75rem;
}

.resource-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.resources-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 0 auto 0;
  padding: 0.5rem 0 1rem;
}

.resources-column h2 {
  font-family: var(--font-heading, "Cinzel", serif);
  margin-bottom: 1rem;
  text-align: center;
}

.resources-column-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.resources-column-header h2 {
  margin-bottom: 0.25rem;
}

.resources-column-sub {
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.98rem;
}

.resources-list {
  max-height: 4500px;
  overflow: visible;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.resource-card {
  background: var(--surface, #fff);
  border: 1px solid var(--color-tertiary);
  border-radius: 16px;
  line-height: 1.5;
  overflow: hidden;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  margin-bottom: 1rem;
}

.resource-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.resource-card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.resource-card li {
  margin: 0.25rem 0;
}

.resource-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 1px solid var(--color-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-bottom: 0.35rem;
}

.resource-content h3 {
  margin: 0;
  font-size: 1.15rem;
}

.resource-content h3 a {
  color: inherit;
  text-decoration: none;
}

.resource-content h3 a:hover,
.resource-content h3 a:focus-visible {
  text-decoration: underline;
}

.resource-tag {
  display: inline-block;
  margin: 0.35rem 0 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.resource-blurb {
  margin: 0 0 0.6rem;
  color: #555;
  line-height: 1.5;
  font-size: 0.98rem;
}

.resource-meta {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: #444;
}

.resource-meta li strong {
  color: #222;
  margin-right: 0.35rem;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
  outline: none;
}

@media (max-width: 750px) {
  .resources-columns {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .resources-header-toggle {
    border: 1px solid var(--color-tertiary);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
  }

  .resources-header-toggle::after {
    content: "▾";
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .resources-header-toggle[aria-expanded="false"]::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .resources-list {
    margin-top: 0.75rem;
  }

  .resources-list.is-collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
}

.services-volunteer img,
.about-photo.storefront-photo img,
.map-wrapper iframe,
.home-window img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@keyframes gentle-bounce {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  60% {
    transform: translateY(-6px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
  }
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
  animation: gentle-bounce 0.7s ease-out;
}

.map {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mapframe {
  border: 0;
  padding-top: 1.0em;
}

.map-wrapper {
  width: 100%;
  max-width: 640px;
  margin: 1.5rem auto;
  aspect-ratio: 16 / 9;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.image-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: stretch;
}

.image-pair figure {
  flex: 1 1 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.image-pair img {
  width: 100%;
  height: auto;
}

.img-framed {
  display: block;
  width: 100%;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  border-radius: 0.75rem;
  overflow: hidden;
}

.img-framed img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-framed.align-left {
  margin-right: 1.5rem;
}

.img-framed.align-right {
  margin-left: 1.5rem;
}

@media (max-width: 800px) {

  .img-framed.align-left,
  .img-framed.align-right {
    margin-left: auto;
    margin-right: auto;
  }
}

.img-framed-tall img {
  height: 320px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .image-pair figure {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .img-framed-tall img {
    height: auto;
  }
}

.img-supporter {
  box-shadow: none !important;
  border-radius: 0 !important;
}

.img-logo {
  width: 72px;
  height: 72px;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.two-col-image,
.two-col-image-left,
.two-col-image-right {
  width: auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.seasonal-callout {
  background: linear-gradient(135deg, #064e3b, #14532d);
  color: #f9fafb;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.seasonal-callout-icon {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.seasonal-callout-icon--gift {
  margin-left: 1rem;
}

.seasonal-callout-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.seasonal-callout-text {
  flex: 1 1 220px;
  min-width: 220px;
}

.seasonal-callout h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.seasonal-callout p {
  margin: 0;
  line-height: 1.55;
}

.seasonal-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seasonal-callout .btn-secondary {
  background: #b91c1c;
  color: #fefce8;
}

@media (max-width: 640px) {
  .seasonal-callout-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .seasonal-callout-text {
    text-align: center;
  }

  .seasonal-callout-icon .seasonal-callout-icon--gift {
    margin: 0.25rem 0;
  }

  .seasonal-callout-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .seasonal-callout-actions .btn {
    flex: 0 1 auto;
  }
}

.christmas-actions {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.christmas-actions .btn {
  margin: 0 0.4rem;
}

body.is-christmas-season .christmas-actions .btn-primary {
  background: #b91c1c;
  color: #fefce8;
}

body.is-christmas-season .christmas-actions .btn-secondary {
  background: #065f46;
  color: #ecfdf5;
}

.home-window {
  max-width: 460px;
  width: 100%;
  margin: 2rem auto 0;
  text-align: center;
}

.home-window img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.home-where-section .home-where-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-start;
  padding-inline: 3rem;
}

.home-where-section .home-where-text {
  flex: 1 1 260px;
  min-width: 250px;
}

.home-where-section .home-window {
  flex: 0 0 320px;
  max-width: 420px;
  margin: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .home-where-section .home-where-layout {
    flex-direction: column;
    padding-inline: 0rem;
  }

  .home-where-section .home-window {
    align-self: center;
    margin-top: 1rem;
  }
}

.home-window figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.services-volunteer {
  max-width: 320px;
  width: 100%;
  text-align: center;
  margin: 1.75rem auto 1.25rem;
  margin-left: 1.5rem;
}

.founder-photo {
  margin-left: 1.5rem;
}

.services-volunteer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.services-volunteer figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.section-title {
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 3px solid var(--color-accent);
}

.page-section {
  margin: 2.5rem 0;
}

.page-section+.page-section {
  margin-top: 3rem;
}

.resources-column.page-section {
  margin: 0;
}

.get-involved-form {
  max-width: 520px;
  margin-top: 1.25rem;
}

.get-involved-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.get-involved-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.get-involved-form input,
.get-involved-form textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--color-tertiary);
  font: inherit;
  box-sizing: border-box;
}

.form-error {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #b91c1c;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.legal-section {
  margin: 2rem 0;
}

.legal-summary {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  cursor: pointer;
}

.legal-summary::-webkit-details-marker {
  display: none;
}

.legal-section details {
  margin: 1.5rem 0;
  border: 1px solid var(--color-tertiary);
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.legal-section summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  list-style: none;
  /* hides default triangle in some browsers */
}

.legal-section summary::-webkit-details-marker {
  display: none;
}

.legal-section summary h2 {
  margin: 0;
  font-size: 1.1rem;
}

.legal-section details>*:not(summary) {
  padding: 0 1rem 1rem;
}

.legal-section ul,
.legal-section ol {
  margin-left: 1.5rem;
  padding-left: 1.5rem;
}

.donation-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.donation-anonymous {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.donation-anonymous input[type="checkbox"] {
  margin: 0;
}

.donation-anonymous label {
  white-space: nowrap;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.about-photo.storefront-photo {
  max-width: 420px;
  width: 100%;
  margin: 1.75rem auto 1.25rem;
  text-align: center;
}

.about-photo.storefront-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.about-photo.storefront-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.contact-location-media {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.contact-location-media__item {
  flex: 1 1 280px;
}

.contact-location-media__item img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.contact-location-media__item figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 639px) {
  .contact-location-media {
    flex-direction: column;
  }

  .contact-location-media__item {
    flex-basis: 100%;
  }

  .contact-location-media__item img {
    height: auto;
  }

  .image-pair {
    flex-direction: column;
  }

  .image-pair figure {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  main {
    padding: 1.25rem 1rem 1.5rem;
  }

  .footer-year-start {
    display: none;
  }

  .resource-card,
  .supporter-card {
    padding: 1rem 1rem 0.85rem;
  }

  .supporters-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .supporter-card {
    min-height: 260px;
  }

  .supporter-logo {
    height: 130px;
  }
}

@media (min-width: 600px) {
  .get-involved-form .form-group {
    flex-direction: row;
    align-items: center;
  }

  .get-involved-form label {
    flex: 0 0 140px;
    margin-right: 0.75rem;
    text-align: right;
  }

  .get-involved-form input,
  .get-involved-form textarea {
    flex: 1 1 auto;
  }

  .get-involved-form button {
    margin-top: 0.75rem;
    margin-left: 140px;
  }
}

/*
  Bible quote starts to wrap at 725.
  - We have logo, single-line title, quote, and hamburger button

  To avoid growing the header height because of the quote wrap,
  switch to multi-title which gives more horizontal room for the quote.
*/
@media (max-width: 725px) {
  .logo-single {
    display: none;
  }

  .logo-multi {
    display: inline;
  }

  .footer-rights {
    display: none;
  }
}

/*
  To narrow to support quote at 625.
  - We have logo, multi-line title, quote, and hamburger button

  To avoid growing the header height because of the quote wrap,
  remove the quote.
  Now there is more room, so we can switch back to single-line title.
*/
@media (max-width: 625px) {
  .logo-multi {
    display: none;
  }

  .logo-single {
    display: inline;
  }

  .header-quote {
    display: none;
  }
}

/*
  This is the Horizontal Menu threshold.

  Beyond 732, we can;
  - use the horizontal menu
  - display the single-line logo title
  - display the bible quote

  Below 732, the horizontal menu is squashed
  - switch to side-bar menu with hamburger button
*/
@media (max-width: 732px) {
  body.nav-open main {
    overflow: hidden;
  }

  .nav-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    right: 0;
    top: 0;
    background: transparent;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    height: 100vh;
    width: auto;
    max-width: 80vw;
    overflow-y: auto;
    box-shadow: none;
    z-index: 200;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease-out, opacity 200ms ease-out;
  }

  .header-nav .container {
    padding: 0;
  }

  .header-nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav .nav-menu a:hover,
  .header-nav .nav-menu a:focus-visible {
    background: transparent;
    color: #111;
    transform: none;
    box-shadow: none;
  }

  .nav-menu a.active::after,
  .nav-menu a[aria-current="page"]::after {
    transform: scaleX(0);
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li+li {
    margin-left: 0;
    margin-top: 1.25rem;
  }

  .nav-menu a {
    font-size: 0.95rem;
    border-radius: 999px;
  }

  .nav-menu a.active {
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 732px) {
  .header-nav {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}