/* ==========================================================================
   footer.css: the dark footer (motto, contact columns, base line).
   ========================================================================== */

.site-footer { background: var(--crimson-night); color: rgba(251, 246, 238, 0.82); position: relative; overflow: hidden; }

/* The rules between footer rows align with the content edge, not the gutter. */
.footer-motto {
  padding-block: clamp(2rem, 4.5vw, 3.25rem);
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-motto p {
  font-family: var(--f-display); color: #fbf6ee; margin: 0;
  font-size: clamp(1.8rem, 1rem + 3.4vw, 4rem); line-height: 1.05; max-width: 18ch;
}
.footer-motto p em { color: var(--brass-light); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 2.25rem; }
.footer-grid .footer-title { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.85rem; font-weight: 600; line-height: 1.04; color: var(--brass-light); margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; font-size: 1rem; }
/* Whole-line tap areas (a full line tall) for the footer links. */
.footer-grid li a { display: inline-block; max-width: 100%; }
.footer-grid a { color: rgba(251, 246, 238, 0.88); text-decoration: none; transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.25s ease; }
.footer-grid a:hover { color: var(--brass-light); text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Logo, church name (both link home), address and phone. */
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer-brand .brand-mark { background: var(--crimson); }
.footer-brand p { font-size: 1rem; margin: 0; }
.footer-brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: #fff; display: block; margin-bottom: 0.4rem; line-height: 1.1; }
.footer-home { display: block; flex: none; line-height: 0; }
.footer-grid a.footer-home-name { color: #fff; text-decoration: none; transition: color 0.22s ease; }
.footer-grid a.footer-home-name:hover { color: var(--brass-light); text-decoration: none; }

.footer-base {
  padding-block: 1.3rem;
  font-family: var(--f-label); letter-spacing: 0.1em; font-size: 0.85rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: rgba(251, 246, 238, 0.6);
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
/* Parts of a base line are split by the same brass stars as the top bar.
   On a narrow screen whole parts drop to the next line together; the star
   stays at the end of the line above, so no line starts with one. */
.footer-seps { display: inline-flex; flex-wrap: wrap; gap: 0.35rem 0; }
.footer-seps > span:not(:last-child)::after { content: "✦"; color: var(--brass); margin: 0 0.8em; font-size: 0.7em; vertical-align: 0.15em; }
