/* Booking band: availability, About and Listen in three even panels (cycling About/Listen on tablet and phone).
   The content lines up with the reviews and clients panels above it: --l / --r are the left and right
   edges of that content at each width, worked out with the same rules as .lm-proof in style.css. */
.bb { container-type: inline-size; background: #161412; --p: 1.8rem; --pad: 1rem; --l: calc((100cqw - min(100cqw, 64rem)) / 2 + var(--pad)); --r: calc(100cqw - var(--l)); }
/* On the home page (.bb--proof) the edges follow the reviews and clients panels instead of the standard content width. */
.bb--proof { --l: max(1rem, calc((100cqw - 40rem) / 2)); }
.bb-grid { display: grid; gap: 0; }
.bb-panel { position: relative; display: flex; flex-direction: column; padding: 1.5rem var(--p) 1.6rem; color: #F7F3E9; overflow: hidden; }
.bb-panel[hidden] { display: none; }
a.bb-panel { text-decoration: none; cursor: pointer; transition: background-color 0.2s ease; }
.bb-a { background: #28351F; }
.bb-b { background: #8F5028; }
.bb-b .bb-kick { color: rgba(247, 243, 233, 0.85); }
.bb-c { background: #2b2622 url(img/watch/fairmont-jasper.jpg) 6% 10% / 150% auto no-repeat; }
.bb-c::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 11, 10, 0.55); }
.bb-c > * { position: relative; z-index: 2; }
.bb-cycle { display: contents; }
.bb-dots { display: none; }
/* Phone: one column. */
.bb-panel { padding-left: var(--l); padding-right: var(--l); }
.bb-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
.bb-kick { margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 243, 233, 0.6); }
.bb-h { margin: 0; font-family: var(--font-display, 'Fraunces', Georgia, serif); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.2; color: #F7F3E9; }
.bb-c .bb-h { font-size: clamp(0.95rem, calc(var(--w, 20rem) / 19.5), 1.3rem); }
.bb-act { margin-top: auto; padding-top: 1rem; }
.bb-c .bb-act { display: flex; align-items: center; gap: 1rem; }
.bb-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.bb-date { flex: 1 1 6rem; min-width: 0; box-sizing: border-box; font: inherit; font-size: 0.92rem; padding: 0.62rem 0.85rem; border-radius: 0.7rem; border: 1px solid rgba(247, 243, 233, 0.35); background: rgba(247, 243, 233, 0.08); color: #F7F3E9; color-scheme: dark; }
.bb-btn { flex: none; font: inherit; font-size: 0.92rem; font-weight: 600; padding: 0.66rem 1rem; border-radius: 999px; border: 0; background: #F7F3E9; color: #28351F; cursor: pointer; }
.bb-btn:hover { background: #fff; }
.bb-link { display: inline-flex; align-items: center; gap: 0.55rem; color: #F7F3E9; text-decoration: none; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid rgba(247, 243, 233, 0.45); padding-bottom: 0.2rem; }
.bb-link:hover { border-bottom-color: #F7F3E9; }
.bb-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bb-play { display: inline-flex; align-items: center; gap: 0.7rem; color: #F7F3E9; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.bb-play i { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #F7F3E9; color: #1b1917; display: grid; place-items: center; transition: transform 0.2s ease; }
.bb-play:hover i { transform: scale(1.08); }
.bb-play svg { width: 1rem; height: 1rem; fill: currentColor; margin-left: 2px; }
.bb-btn:focus-visible, .bb-date:focus-visible, .bb-link:focus-visible, .bb-play:focus-visible { outline: 2px solid #F7F3E9; outline-offset: 3px; }
@media (min-width: 768px) {
  /* Tablet: availability | cycling panel. Equal content widths between the same left and right edges. */
  .bb { --pad: 2.5rem; --w: calc((100cqw - 2 * var(--l) - 4 * var(--p)) / 2); }
  .bb--proof { --l: max(2.5rem, calc((100cqw - 40rem) / 2)); }
  .bb-grid { grid-template-columns: calc(var(--l) + var(--w) + var(--p)) minmax(0, 1fr); }
  .bb-a { padding-left: var(--l); padding-right: var(--p); }
  .bb-panel { padding-top: 1.3rem; padding-bottom: 1.4rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bb-cycle > .bb-panel { padding-left: var(--p); padding-right: var(--l); }
}
@media (max-width: 1023px) {
  .bb-cycle { display: grid; position: relative; }
  .bb-cycle > .bb-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
  .bb-cycle > .bb-panel.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.5s ease, visibility 0s; }
  .bb-cycle[data-n="2"] .bb-dots { display: flex; position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; gap: 0; }
  .bb-dots button { width: 0.9rem; height: 1.3rem; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
  .bb-dots button::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(247, 243, 233, 0.4); transition: background 0.2s; }
  .bb-dots button[aria-pressed="true"]::before { background: #F7F3E9; }
  .bb-dots button:focus-visible { outline: 2px solid #F7F3E9; outline-offset: 1px; border-radius: 50%; }
}
@media (min-width: 1024px) {
  /* Desktop: three panels. --l / --r are the left and right edges of the reviews and clients content above. */
  .bb { --pad: 3rem; --w: calc((var(--r) - var(--l) - 4 * var(--p)) / 3); }
  .bb--proof {
    --l: calc(40cqw - 3rem - min(28rem, 40cqw - 6rem));
    --r: calc(40cqw + 3rem + min(44rem, 60cqw - 6rem));
  }
  .bb-grid { grid-template-columns: calc(var(--l) + var(--w) + var(--p)) calc(var(--w) + 2 * var(--p)) minmax(0, 1fr); grid-auto-rows: auto; }
  .bb-panel { padding: 1.5rem var(--p) 1.6rem; }
  .bb-a { padding-left: var(--l); padding-right: var(--p); }
  .bb-cycle > .bb-b { padding-left: var(--p); padding-right: var(--p); }
  .bb-cycle > .bb-c { padding-left: var(--p); padding-right: calc(100cqw - var(--r)); background-position: 6% 32%; }
}
@media (max-width: 767px) {
  .bb-panel { padding-top: 1.15rem; padding-bottom: 1.15rem; }
  .bb-act { padding-top: 0.8rem; }
  .bb-h { font-size: 1.2rem; }
  .bb-c .bb-h { font-size: 1.1rem; }
}

/* About and Listen are links as a whole panel. */
a.bb-b:hover { background-color: #9A5A30; }
a.bb-c::before { transition: background-color 0.2s ease; }
a.bb-c:hover::before { background: rgba(12, 11, 10, 0.4); }
a.bb-b:hover .bb-link { border-bottom-color: #F7F3E9; }
a.bb-b .bb-link svg { transition: transform 0.2s ease; }
a.bb-b:hover .bb-link svg { transform: translateX(3px); }
a.bb-c:hover .bb-play i { transform: scale(1.08); }
a.bb-panel:focus-visible { outline: 2px solid #F7F3E9; outline-offset: -4px; }
