/* Bubble-only footer; existing page styles/scripts and stored artwork are untouched. */
.shrine-footer {
  --footer-cream: #fff9ee;
  --footer-walnut: #35291b;
  --footer-gold: #9b752c;
  --footer-join: var(--canyon-sand, #f6d9ad);
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: start;
  width: 100%;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--footer-walnut);
  font-family: var(--body);
}
.shrine-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: min(200px, 35%);
  /* Continue the preceding Home/Reviews gradient into the existing body color. */
  background: linear-gradient(180deg, var(--footer-join), transparent);
  pointer-events: none;
}
.shrine-footer:where(.photos-page *),
.shrine-footer:where(.map-page *) {
  --footer-join: transparent;
}
/* Home alone: spread the Contact gold-to-body fade across the existing footer,
 * instead of ending it abruptly above the pill. No layout or palette change. */
.home-page .shrine-footer::before {
  height: 100%;
}
.shrine-footer .shrine-footer__pill {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "copy contact nav";
  grid-template-columns: minmax(150px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: min(1240px, 100%);
  margin: 0;
  padding: 12px 22px;
  border: 1px solid rgba(155, 117, 44, 0.2);
  border-radius: 20px;
  background: rgba(255, 249, 238, 0.86);
  box-shadow: 0 4px 16px rgba(53, 41, 27, 0.08);
}
.shrine-footer .shrine-footer__nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(155, 117, 44, 0.2);
}
.shrine-footer .shrine-footer__contact {
  grid-area: contact;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(155, 117, 44, 0.2);
}
.shrine-footer .shrine-footer__pill a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--footer-walnut);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}
.shrine-footer .shrine-footer__contact a {
  gap: 6px;
  max-width: 100%;
}
.shrine-footer .shrine-footer__contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.shrine-footer .shrine-footer__pill a:hover {
  color: #76541c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shrine-footer .shrine-footer__pill a:focus-visible {
  outline: 2px solid var(--footer-walnut);
  outline-offset: 2px;
}
.shrine-footer .shrine-footer__pill svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shrine-footer .shrine-footer__top svg {
  color: var(--footer-gold);
}
.shrine-footer .shrine-footer__copyright {
  grid-area: copy;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
}
.shrine-footer .shrine-footer__copyright span {
  display: block;
}
.shrine-footer .shrine-footer__copyright span:first-child {
  font-weight: 600;
}
.shrine-footer .shrine-footer__copyright span:last-child {
  font-size: 11px;
}
@media (max-width: 1100px) {
  .shrine-footer {
    padding: 20px;
  }
  .shrine-footer .shrine-footer__pill {
    grid-template-areas: "copy nav" "contact contact";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    padding: 10px 22px;
    border-radius: 24px;
  }
  .shrine-footer .shrine-footer__contact {
    gap: 14px;
    padding: 4px 0 0;
    border-top: 1px solid rgba(155, 117, 44, 0.2);
    border-left: 0;
  }
}
@media (max-width: 768px) {
  .shrine-footer {
    padding: 18px 16px;
  }
  .shrine-footer .shrine-footer__pill {
    grid-template-areas: "nav" "contact" "copy";
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    width: min(400px, 100%);
    padding: 10px 14px;
    border-radius: 24px;
  }
  .shrine-footer .shrine-footer__nav {
    gap: 8px;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(155, 117, 44, 0.2);
  }
  .shrine-footer .shrine-footer__contact {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 0;
  }
  .shrine-footer .shrine-footer__pill a {
    font-size: 13px;
  }
  .shrine-footer .shrine-footer__copyright {
    text-align: center;
    font-size: 11px;
    line-height: 14px;
  }
  .shrine-footer .shrine-footer__copyright span {
    display: inline;
    font-size: inherit;
  }
}
