/* 90 footer. An ivory booking band, centred, whose white box sits on the dark band below;
   then a three-column dark band (links | brand | contact) split by hairlines, and a thin bottom bar. */

/* The calendar changes height between steps; without this the browser keeps the dark band
   below it still and slides the calendar instead. */
.footer { --footer-ground: var(--night); position: relative; overflow-anchor: none; }

/* ---------- Top band ---------- */
.footer-top { background: var(--ivory); padding-top: clamp(72px, 8vw, 120px); }
.footer-top-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-intro { display: flex; flex-direction: column; align-items: center; }
.footer-intro .eyebrow { margin-bottom: 18px; }
.footer-title {
  font-size: calc(clamp(38px, 4.4vw, 64px) * var(--display-scale));
  color: var(--cocoa);
}
.footer-lead {
  margin-top: 22px;
  max-width: 44ch;
  color: var(--mute);
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.65;
}

/* White box: rounded top, standing on the dark band below.
   It holds only the live booking calendar, with generous room on every side. */
.footer-card {
  width: 100%;
  max-width: 1040px;
  margin-top: clamp(44px, 5vw, 64px);
  background: var(--paper);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -1px 0 #5E534E14, 0 -18px 40px -30px #3A322E33;
  padding: clamp(36px, 4.6vw, 60px) clamp(28px, 5vw, 72px) clamp(36px, 4vw, 52px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.footer-card:focus { outline: none; }

/* ---------- Booking calendar ---------- */
.booking-embed {
  position: relative;
  min-height: clamp(360px, 52svh, 480px);
  overflow: hidden;
  background: var(--paper);
  overflow-anchor: none;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.booking-embed iframe { display: block; width: 100%; height: 950px; min-height: 780px; border: 0; background: var(--paper); transition: opacity .5s var(--ease); }
.booking-embed:not(.is-ready) iframe { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.booking-embed.is-ready, .booking-embed.is-ready iframe { min-height: 0; }
.booking-status {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; text-align: center;
  background: var(--paper); color: var(--mute); font-size: 14.5px;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.booking-embed.is-ready .booking-status { opacity: 0; visibility: hidden; }
.booking-loader { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ivory); }
.booking-loader::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--line); border-top-color: var(--camel-ink); animation: booking-turn 1.4s linear infinite; }
.booking-loader img { width: 30px; height: auto; }
.booking-embed.is-slow .booking-loader::before { animation: none; }
@keyframes booking-turn { to { transform: rotate(1turn); } }

.booking-direct {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; margin: clamp(28px, 3vw, 40px) auto 0;
  font-size: 14px; font-weight: 600; color: var(--mute);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.booking-direct svg { width: 14px; height: 14px; }
.booking-direct:hover { color: var(--cocoa); text-decoration-color: var(--camel-ink); }

/* ---------- Main band ---------- */
.footer-main { background: var(--footer-ground); color: var(--ivory); }
.footer-cols {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.7fr) minmax(0, 1.15fr);
}
.footer-col { padding-block: clamp(64px, 6.6vw, 96px) clamp(56px, 4.6vw, 68px); }
.footer-col-brand { border-inline: 1px solid var(--line-dark); display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: clamp(24px, 3vw, 48px); }
.footer-col-visit { padding-left: clamp(32px, 4vw, 64px); }
.footer-col-links { display: grid; align-content: start; gap: 50px; }
.footer-group { min-width: 0; }
.footer-col-visit .footer-group + .footer-group { margin-top: 48px; }

.footer-label {
  font-size: calc(24px * var(--display-scale));
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 24px;
}
.footer-list { display: grid; gap: 11px; }
.footer-list a, .footer-address, .footer-hours {
  font-size: 16px; line-height: 23px; letter-spacing: 0.01em; color: var(--mute-dark);
}
.footer-list a, .footer-legal a {
  transition: color .25s var(--ease);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.footer-list a:hover, .footer-legal a:hover { color: var(--ivory); text-decoration-color: var(--camel); }
.footer-main :focus-visible { outline-color: var(--camel); }
.footer-all, .footer-link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--camel) !important; }
.footer-link-arrow { gap: 4px; }
.footer-all svg, .footer-link-arrow svg { width: 14px; height: 14px; flex: none; transition: transform .25s var(--ease); }
.footer-all:hover svg { transform: translateX(3px); }
.footer-link-arrow:hover svg { transform: translate(2px, -2px); }
.footer-all { margin-top: 6px; }

/* Brand column */
.footer-logo { display: inline-flex; align-items: center; gap: 16px; color: var(--ivory); }
.footer-logo img { width: 64px; height: auto; }
.footer-logo-words { display: grid; text-align: left; }
.footer-logo-name { font-family: var(--f-display); font-size: 40px; line-height: 1; letter-spacing: 0.01em; }
.footer-logo-tag { margin-top: 6px; font: 500 12.5px/1 var(--f-body); letter-spacing: 0.08em; color: var(--camel); }
.footer-about { margin-top: 28px; max-width: 38ch; font-size: 16px; line-height: 1.6; color: var(--mute-dark); }
.footer-socials { margin-top: 36px; display: flex; align-items: center; gap: 12px; }
.footer-social {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #F7F5F054; color: var(--ivory); text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { background: var(--camel); border-color: var(--camel); color: var(--cocoa); }

/* Visit column */
.footer-address { font-style: normal; margin-bottom: 14px; }
.footer-hours { margin: 0; display: grid; gap: 11px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 20px; max-width: 300px; }
.footer-hours dt { color: var(--mute-dark); min-width: 0; }
.footer-hours dd { margin: 0; color: var(--ivory); white-space: nowrap; }
.footer-hours .is-closed dd { color: var(--camel); }

/* Bottom bar */
.footer-bar { border-top: 1px solid var(--line-dark); }
.footer-bar-inner {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  min-height: 80px; padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
}
.footer-copy, .footer-legal a { font-size: 15px; line-height: 1.5; color: #F7F5F0A6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.footer-bar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 40px; }
.footer-powered { font-size: 15px; line-height: 1.5; color: #F7F5F080; }
.footer-powered a { color: #F7F5F0A6; text-decoration: underline; text-underline-offset: 3px; }
.footer-powered a:hover { color: var(--champagne, #E0BE9C); }

/* ---------- Tablet: brand across the top, then links | visit ---------- */
@media (max-width: 1199px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "brand brand" "links visit"; }
  .footer-col-brand { grid-area: brand; border-inline: 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; text-align: left; padding-inline: 0; padding-block: 64px 52px; }
  .footer-logo { grid-column: 1; grid-row: 1 / span 2; justify-self: start; }
  .footer-about { grid-column: 2; grid-row: 1; margin-top: 0; max-width: 40ch; }
  .footer-socials { grid-column: 2; grid-row: 2; margin-top: 24px; justify-self: start; }
  .footer-col-links { grid-area: links; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 44px 32px; padding-right: 32px; }
  .footer-col-visit { grid-area: visit; border-left: 1px solid var(--line-dark); padding-left: clamp(32px, 6vw, 48px); }
  .footer-col { padding-block: 56px 60px; }
  .footer-col-brand { padding-block: 64px 52px; }
}

/* ---------- Phone: stacked groups ---------- */
@media (max-width: 760px) {
  .footer-card { border-radius: 24px 24px 0 0; padding: 28px 18px 32px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "links" "visit"; }
  .footer-col-brand { grid-template-columns: minmax(0, 1fr); padding-block: 56px 44px; }
  .footer-logo, .footer-about, .footer-socials { grid-column: 1; grid-row: auto; }
  .footer-about { margin-top: 24px; }
  .footer-col-links { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding-right: 0; gap: 40px 24px; padding-block: 44px; border-bottom: 1px solid var(--line-dark); }
  .footer-col-visit { border-left: 0; padding-left: 0; padding-block: 44px 52px; }
  .footer-hours div { max-width: none; gap: 12px; }
  .footer-list a { font-size: 15.5px; }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; padding-block: 24px 28px; }
}

/* Avoid one-word last lines in the short paragraphs */
.footer-lead { text-wrap: balance; }
.footer-about { text-wrap: pretty; }
