/* Zone Theta — site footer (owner pick 2026-10-08). Shared by every page with partials/footer.html.
   A card with the nav tab's 24px corners, resting on the ground of the page it ends: the page opens
   with a tab hanging from the top and ends with a card at the bottom. On home the ground is the film's
   darkest tone, continuing straight on from the closing; on paper pages it is the page's own paper and
   the card a shade deeper (owner change 2026-10-08). As it arrives the nav tab steps
   aside (css/nav.css + js/nav.js), so the page ends with one paper shape and one booking button. */

/* The ground follows the page it ends (owner change 2026-10-08): on paper pages the footer sits on the
   page's own paper and the card is a shade deeper; home sets the film's dark ground (css/home.css),
   because there the footer continues straight on from the closing film. */
.site-footer {
  --ft-ground: var(--paper);
  --ft-card: var(--paper-deep);
  position: relative; z-index: 2; padding: 12px; background: var(--ft-ground);
}
@media (min-width: 768px) { .site-footer { padding: 20px; } }
.ft-card {
  /* Hairlines tuned to the card's own tone, so they stay visible on the deeper paper */
  --line: color-mix(in oklab, var(--ink) 13%, var(--ft-card));
  padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--ft-card); color: var(--ink);
}

.ft-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.ft-brand img { width: auto; height: 52px; }
.ft-place { margin: 18px 0 0; max-width: 34ch; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.site-footer .btn-solid { height: 44px; padding: 0 20px; font-size: 0.9375rem; }
/* A page that ends on its own booking section (<body data-ends-with-booking>) doesn't repeat the
   button here, so only one booking button shows at a time (owner request 2026-10-08, FAQ) */
[data-ends-with-booking] .ft-top > .btn-solid { display: none; }

/* Link columns: two on phones (Contact below, full width), three from 900px */
.ft-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.ft-col:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-col:last-child { grid-column: auto; }
}
.ft-label { margin: 0 0 14px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.ft-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* Links underline from the left on hover/focus, like the rest of the site */
.ft-link {
  color: inherit; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .ft-link:hover { background-size: 100% 1px; } }
.ft-link:focus-visible { background-size: 100% 1px; }
.ft-placeholder { color: var(--muted); }

/* Legal row and disclaimer */
.ft-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); }
.ft-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 0.8125rem; color: var(--muted); }
.ft-legal p { margin: 0; }
.ft-legal-links { display: flex; gap: 20px; margin-left: auto; }
@media (max-width: 699px) {
  .ft-legal { flex-direction: column; align-items: flex-start; }
  .ft-legal-links { margin-left: 0; }
}
