/* Boon's fixed-height 5-step editorial booking card & desktop FAB (booking-tracking.js).
   Warm parchment/espresso/terracotta palette (Fraunces + Satoshi), thin 3px progress bar,
   locked height across every step so the drawer/inline card never jumps, smooth step
   transitions, mobile bottom sheet (<768px), inline on /book/. */

.bkc {
  --bkc-ink: #0F0E0C;
  --bkc-ink-2: #2A251F;
  --bkc-ink-3: #5A5247;
  --bkc-muted: #8B8073;
  --bkc-line: #EAE2D4;
  --bkc-border: #D8CEBC;
  --bkc-paper: #FFFEFB;
  --bkc-parchment: #FBF7F0;
  --bkc-soft: #F4EDE0;
  --bkc-accent: #0F0E0C;
  --bkc-terra: #B8814A;
  --bkc-error: #A3261B;
  box-sizing: border-box;
  color: var(--bkc-ink);
  font-family: Satoshi, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.bkc *, .bkc *::before, .bkc *::after { box-sizing: border-box; }
.bkc [hidden], .bkc[hidden], .bkc-backdrop[hidden] { display: none !important; }
.bkc p { margin: 0; }
.bkc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 14, 12, 0.35); }
.bkc a:hover { text-decoration-color: currentColor; }
.bkc :focus-visible { outline: 2px solid var(--bkc-terra); outline-offset: 2px; }
.bkc button { font: inherit; color: inherit; }

/* ---------- Fixed-height floating drawer (desktop bottom-right) ---------- */
.bkc--float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  width: 448px;
  max-width: calc(100vw - 40px);
  height: 640px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  background: var(--bkc-paper);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(15, 14, 12, 0.08), 0 12px 28px rgba(15, 14, 12, 0.2);
  overflow: hidden;
  contain: layout paint style;
  transform: translateZ(0);
}
@media (prefers-reduced-motion: no-preference) {
  .bkc--float:not([hidden]) { animation: bkc-in 150ms ease-out both; }
}
@keyframes bkc-in { from { opacity: 0; } to { opacity: 1; } }

.bkc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  background: rgba(15, 14, 12, 0.45);
  contain: strict;
}
html.bkc-sheet-open, html.bkc-sheet-open body { overflow: hidden; }

/* ---------- Fixed-height inline card (/book/) ---------- */
.bkc--inline {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 640px;
  background: var(--bkc-paper);
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--bkc-line), 0 8px 24px rgba(15, 14, 12, 0.08);
  overflow: hidden;
  contain: layout paint style;
}

/* ---------- Thin 3px top progress bar (GPU scaleX, zero layout reflow) ---------- */
.bkc .bkc__progress {
  width: 100%;
  height: 3px;
  background: var(--bkc-soft);
  flex: none;
  overflow: hidden;
}
.bkc .bkc__progress-fill {
  height: 100%;
  width: 100%;
  background: var(--bkc-terra);
  transform-origin: left center;
  transform: scaleX(0.2);
  transition: transform 180ms ease-out;
}

/* ---------- Header (Keevin warm portrait + CEO sub) ---------- */
.bkc .bkc__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 14px 20px;
  border-bottom: 1px solid var(--bkc-line);
  background: var(--bkc-parchment);
  flex: none;
}
.bkc .bkc__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: #2A251F;
  box-shadow: 0 0 0 1px rgba(15, 14, 12, 0.1);
}
.bkc .bkc__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% 18%;
  transform: scale(1.85);
  transform-origin: 62% 24%;
}
.bkc .bkc__who { min-width: 0; flex: 1; }
.bkc .bkc__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bkc-ink);
}
.bkc .bkc__title:focus, .bkc .bkc__title:focus-visible { outline: none; }
.bkc .bkc__sub { margin-top: 2px !important; font-size: 13px; color: var(--bkc-ink-3); }
.bkc .bkc__close {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; margin: -4px -4px 0 0; padding: 0;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--bkc-ink-3);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.bkc .bkc__close:hover { background: var(--bkc-soft); color: var(--bkc-ink); }
.bkc .bkc__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Fixed-height body & internal scroll column ---------- */
.bkc .bkc__body {
  display: flex;
  flex-direction: column;
  padding: 16px 22px 20px;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}
.bkc .bkc__pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}
.bkc .bkc__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 4px;
  margin: -2px -2px 0;
}
.bkc .bkc__foot-area {
  flex: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (prefers-reduced-motion: no-preference) {
  .bkc .bkc__pane.is-forward,
  .bkc .bkc__pane.is-back { animation: bkc-fade 130ms ease-out both; }
}
@keyframes bkc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Step meta row (Back link) ---------- */
.bkc .bkc__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 26px;
  flex: none;
}
.bkc .bkc__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 4px 0 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bkc-ink-3);
  transition: color 150ms ease;
}
.bkc .bkc__back:hover { color: var(--bkc-ink); }
.bkc .bkc__back svg { width: 14px; height: 14px; }

/* ---------- Editorial question headline & subline ---------- */
.bkc .bkc__q-wrap { display: grid; gap: 4px; flex: none; }
.bkc .bkc__q {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bkc-ink);
  text-wrap: balance;
}
.bkc .bkc__q-sub { font-size: 13px; color: var(--bkc-ink-3); }
.bkc .bkc__selected {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 9px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--bkc-line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--bkc-ink-3);
}
.bkc .bkc__selected-val {
  color: var(--bkc-ink);
  font-weight: 500;
}
.bkc .bkc__selected-change {
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--bkc-ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 14, 12, 0.32);
  cursor: pointer;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}
.bkc .bkc__selected-change:hover {
  color: var(--bkc-ink);
  text-decoration-color: var(--bkc-ink);
}

/* ---------- Loading skeleton ---------- */
.bkc .bkc__skeleton-stack { display: grid; gap: 9px; padding-top: 4px; }
.bkc .bkc__skeleton-row { height: 52px; border-radius: 12px; background: var(--bkc-soft); }

/* ---------- Step 1: Day picker list ---------- */
.bkc .bkc__days { display: grid; gap: 8px; }
.bkc .bkc__day-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid var(--bkc-border);
  border-radius: 12px;
  background: var(--bkc-paper);
  color: var(--bkc-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.bkc .bkc__day-card:hover { border-color: var(--bkc-terra); background: var(--bkc-parchment); }
.bkc .bkc__day-card.is-selected { border-color: var(--bkc-ink); background: var(--bkc-ink); color: var(--bkc-parchment); }
.bkc .bkc__day-main { display: flex; flex-direction: column; gap: 1px; }
.bkc .bkc__day-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.bkc .bkc__day-date { font-size: 12.5px; color: var(--bkc-ink-3); }
.bkc .bkc__day-card.is-selected .bkc__day-date { color: rgba(251, 247, 240, 0.78); }
.bkc .bkc__day-right { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--bkc-ink-3); }
.bkc .bkc__day-card.is-selected .bkc__day-right { color: rgba(251, 247, 240, 0.85); }

/* ---------- Step 2: Time slot grid ---------- */
.bkc .bkc__times-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bkc .bkc__time-btn {
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid var(--bkc-border);
  border-radius: 10px;
  background: var(--bkc-paper);
  color: var(--bkc-ink-2);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.bkc .bkc__time-btn:hover { border-color: var(--bkc-terra); background: var(--bkc-parchment); color: var(--bkc-ink); }
.bkc .bkc__time-btn.is-selected { border-color: var(--bkc-ink); background: var(--bkc-ink); color: var(--bkc-parchment); }

/* ---------- Step 3: Contact details form (compact so all 4 fields fit cleanly) ---------- */
.bkc .bkc__form { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; }
.bkc .bkc__form-fields { display: grid; gap: 10px; }
.bkc .bkc__field { display: grid; gap: 3px; }
.bkc .bkc__field-label { font-size: 13px; font-weight: 500; color: var(--bkc-ink-2); }
.bkc .bkc__input {
  width: 100%;
  min-height: 41px;
  padding: 8px 12px;
  margin: 0;
  border: 1px solid var(--bkc-border);
  border-radius: 10px;
  background: var(--bkc-paper);
  color: var(--bkc-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms ease;
}
.bkc select.bkc__input {
  padding-right: 34px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5247' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
.bkc .bkc__input::placeholder { color: var(--bkc-muted); }
.bkc .bkc__input:hover { border-color: var(--bkc-ink-3); }
.bkc .bkc__input:focus { outline: 2px solid var(--bkc-terra); outline-offset: 0; border-color: var(--bkc-ink); }
.bkc .bkc__input[aria-invalid="true"] { border-color: var(--bkc-error); }
.bkc .bkc__error { font-size: 12.5px; font-weight: 500; color: var(--bkc-error); }
.bkc .bkc__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Step 4 & Heard step: multiple-choice cards ---------- */
.bkc .bkc__cards { display: grid; gap: 8px; }
.bkc .bkc__cards--multi .bkc__card-mark { border-radius: 5px; }
.bkc .bkc__cards--heard { gap: 6px; }
.bkc .bkc__cards--heard .bkc__card { min-height: 38px; padding: 7px 14px; font-size: 13.5px; }
.bkc .bkc__card-mark-btn {
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.bkc .bkc__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--bkc-border);
  border-radius: 12px;
  background: var(--bkc-paper);
  color: var(--bkc-ink-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.bkc .bkc__card:hover { border-color: var(--bkc-terra); background: var(--bkc-parchment); color: var(--bkc-ink); }
.bkc .bkc__card.is-selected { border-color: var(--bkc-ink); background: var(--bkc-ink); color: var(--bkc-parchment); }
.bkc .bkc__card-mark {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--bkc-border);
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.bkc .bkc__card.is-selected .bkc__card-mark {
  border-color: var(--bkc-terra);
  background: var(--bkc-terra);
  color: #FFFEFB;
}
.bkc .bkc__card--input {
  padding: 0 14px;
  border-color: var(--bkc-ink);
  background: var(--bkc-paper);
  color: var(--bkc-ink);
  cursor: text;
}
.bkc .bkc__card--input:hover {
  border-color: var(--bkc-ink);
  background: var(--bkc-paper);
  color: var(--bkc-ink);
}
.bkc .bkc__card--input:focus-within {
  outline: 2px solid var(--bkc-terra);
  outline-offset: -1px;
  border-color: var(--bkc-ink);
}
.bkc .bkc__card--input .bkc__card-mark {
  border-color: var(--bkc-terra);
  background: var(--bkc-terra);
  color: #FFFEFB;
}
.bkc .bkc__card-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--bkc-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  outline: none;
}
.bkc .bkc__card-input::placeholder {
  color: var(--bkc-muted);
  font-weight: 400;
}

/* ---------- Primary CTA & footer ---------- */
.bkc .bkc__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--bkc-accent);
  color: var(--bkc-parchment) !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 140ms ease;
}
.bkc .bkc__submit:hover { background: var(--bkc-ink-2); }
.bkc .bkc__submit[disabled] { opacity: 0.72; cursor: wait; }

/* Exciting warm terracotta-to-gold finale CTA ("Book my call") */
.bkc .bkc__submit--book {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #9C3F1E 0%, #CC5A2B 52%, #E38B3C 100%);
  background-size: 145% 145%;
  background-position: 0% 50%;
  color: #FFFDF9 !important;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 22px -6px rgba(180, 74, 34, 0.52);
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms ease,
    background-position 320ms ease;
}
.bkc .bkc__submit--book::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 44%;
  background: linear-gradient(
    110deg,
    rgba(255, 250, 240, 0) 15%,
    rgba(255, 250, 240, 0.34) 50%,
    rgba(255, 250, 240, 0) 85%
  );
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
}
.bkc .bkc__submit--book:hover:not([disabled]) {
  background: linear-gradient(135deg, #9C3F1E 0%, #CC5A2B 52%, #E38B3C 100%);
  background-size: 145% 145%;
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 28px -6px rgba(180, 74, 34, 0.64);
}
.bkc .bkc__submit--book:active:not([disabled]) {
  transform: translateY(0) scale(0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 12px -4px rgba(180, 74, 34, 0.45);
}
.bkc .bkc__submit--book[disabled] {
  transform: none;
  animation: none;
}
.bkc .bkc__submit-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bkc .bkc__sparkle {
  width: 15px;
  height: 15px;
  flex: none;
  color: #FFE7C2;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}
.bkc .bkc__submit-arrow {
  display: inline-block;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bkc .bkc__submit--book:hover:not([disabled]) .bkc__submit-arrow {
  transform: translateX(4px);
}
.bkc .bkc__submit--book:hover:not([disabled]) .bkc__sparkle {
  color: #FFFDF9;
}
@media (prefers-reduced-motion: no-preference) {
  .bkc .bkc__submit--book {
    animation: bkc-book-pulse 4.5s ease-in-out infinite;
  }
  .bkc .bkc__submit--book:hover:not([disabled])::before {
    animation: bkc-book-sheen 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .bkc .bkc__submit--book:hover:not([disabled]) .bkc__sparkle {
    animation: bkc-sparkle-twinkle 620ms ease-in-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bkc .bkc__submit--book:hover:not([disabled]),
  .bkc .bkc__submit--book:active:not([disabled]) {
    transform: none;
  }
  .bkc .bkc__submit--book:hover:not([disabled]) .bkc__submit-arrow {
    transform: none;
  }
}
@keyframes bkc-book-sheen {
  from { transform: translateX(-160%) skewX(-18deg); }
  to { transform: translateX(340%) skewX(-18deg); }
}
@keyframes bkc-book-pulse {
  0%, 74%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 8px 22px -6px rgba(180, 74, 34, 0.52);
  }
  87% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.36),
      0 11px 30px -4px rgba(212, 98, 44, 0.7);
  }
}
@keyframes bkc-sparkle-twinkle {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.24) rotate(18deg); }
  75% { transform: scale(0.94) rotate(-8deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.bkc .bkc__notice {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(184, 129, 74, 0.38);
  background: rgba(184, 129, 74, 0.11);
  color: var(--bkc-ink);
  font-size: 13px;
  line-height: 1.38;
  flex: none;
}
.bkc .bkc__note { font-size: 12.5px; color: var(--bkc-ink-3); text-align: center; }
.bkc .bkc__foot {
  padding-top: 10px;
  border-top: 1px solid var(--bkc-line);
  font-size: 12.5px;
  color: var(--bkc-ink-3);
}

/* ---------- Step 5: Prefilled Calendly embed (same fixed height!) ---------- */
.bkc[data-bkc-step="5"] .bkc__body { padding: 10px 16px 0; }
.bkc[data-bkc-step="5"] .bkc__pane { gap: 6px; }
.bkc .bkc__frame { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 -16px; }
.bkc .bkc__calendly, .bkc .bkc__calendly .calendly-inline-widget {
  position: absolute; inset: 0; min-width: 0 !important; height: 100% !important;
}
.bkc .bkc__calendly iframe { width: 100%; height: 100%; border: 0; }
.bkc .bkc__loading {
  position: absolute; inset: 16px; display: grid; place-items: center; border-radius: 12px;
  background: var(--bkc-soft); font-size: 14px; color: var(--bkc-ink-3); text-align: center; padding: 16px;
}
.bkc .bkc__fallback {
  display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; padding: 24px 16px;
  text-align: center; font-size: 14px; color: var(--bkc-ink-3);
}
.bkc .bkc__fallback-title { font-size: 17px; font-weight: 700; color: var(--bkc-ink); }
.bkc .bkc__fallback .bkc__submit { width: auto; }
.bkc .bkc__link { font-weight: 500; color: var(--bkc-ink) !important; }
.bkc .bkc__preview-debug,
.bkc .bkc__debug {
  flex: none;
  margin: 0 -16px;
  padding: 5px 14px 6px;
  border-top: 1px solid var(--bkc-line);
  background: var(--bkc-parchment);
  font-size: 11px;
  line-height: 1.3;
  color: var(--bkc-muted);
  text-align: center;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

/* ---------- Booked confirmation ---------- */
.bkc .bkc__done {
  display: grid; justify-items: center; align-content: center; gap: 14px;
  flex: 1 1 auto; padding: 16px 4px; text-align: center;
}
.bkc .bkc__check-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.bkc .bkc__check { position: relative; z-index: 2; width: 48px; height: 48px; }
.bkc .bkc__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.bkc .bkc__burst-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bw, 7px);
  height: var(--bh, 7px);
  margin: calc(var(--bh, 7px) * -0.5) 0 0 calc(var(--bw, 7px) * -0.5);
  border-radius: var(--brad, 999px);
  background: var(--bc, #C9572A);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .bkc .bkc__burst-dot {
    animation: bkc-burst 1200ms cubic-bezier(0.16, 1, 0.3, 1) var(--bd, 0ms) forwards;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bkc .bkc__burst { display: none; }
}
@keyframes bkc-burst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.35) rotate(0deg);
  }
  16% {
    opacity: 1;
  }
  72% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(0.85) rotate(var(--br, 45deg));
  }
}
.bkc .bkc__check-ring { fill: var(--bkc-ink); }
.bkc .bkc__check-tick { fill: none; stroke: var(--bkc-parchment); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .bkc .bkc__check-ring { transform-origin: 50% 50%; animation: bkc-ring 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
}
@keyframes bkc-ring { from { transform: scale(0.8); } to { transform: none; } }
.bkc .bkc__done-title {
  font-family: Fraunces, Georgia, serif; font-size: 26px; line-height: 1.2;
  font-weight: 500; letter-spacing: -0.01em;
}
.bkc .bkc__done-title:focus { outline: none; }
.bkc .bkc__done-slot {
  font-size: 14px;
  font-weight: 500;
  color: var(--bkc-ink);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--bkc-line);
}
.bkc .bkc__done-lead { max-width: 30em; font-size: 14.5px; color: var(--bkc-ink-3); }
.bkc .bkc__done-lead strong { display: block; font-weight: 500; color: var(--bkc-ink); }
.bkc .bkc__done-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.bkc .bkc__done-links a { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- Phones: fixed-height bottom sheet ---------- */
@media (max-width: 767px) {
  .bkc--float {
    right: 0; bottom: 0; left: 0;
    width: 100%; max-width: 100%;
    height: min(620px, 90vh);
    height: min(620px, 90dvh);
    max-height: 90dvh;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bkc--inline { height: 620px; }
  .bkc .bkc__head { padding: 13px 12px 12px 16px; }
  .bkc .bkc__body { padding: 14px 16px 18px; }
  .bkc[data-bkc-step="5"] .bkc__body { padding: 10px 12px 0; }
  .bkc[data-bkc-step="5"] .bkc__frame { margin: 0 -12px; }
  .bkc .bkc__preview-debug,
  .bkc .bkc__debug { margin: 0 -12px; }
  .bkc .bkc__q { font-size: 20px; }
  .bkc .bkc__input { font-size: 16px; }
}

/* ---------- Desktop bottom-right FAB (hidden on phones and on /book/, /thank-you/) ---------- */
.bkc-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147482990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #0F0E0C;
  color: #FBF7F0;
  font-family: Satoshi, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px rgba(15, 14, 12, 0.28);
  transition: opacity 150ms ease, background-color 150ms ease, color 150ms ease, visibility 0s;
  contain: layout style;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.bkc-fab:hover {
  background: #2A251F;
  color: #FFFFFF;
}
.bkc-fab:focus-visible { outline: 2px solid #B8814A; outline-offset: 3px; }
.bkc-fab.is-on-dark {
  background: #FFFFFF;
  color: #0F0E0C;
  box-shadow: 0 0 0 1px rgba(15, 14, 12, 0.08), 0 8px 24px rgba(0, 0, 0, 0.32);
}
.bkc-fab.is-on-dark:hover { background: #F6F1E7; color: #0F0E0C; }
.bkc-fab__av {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: #2A251F;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.bkc-fab.is-on-dark .bkc-fab__av { box-shadow: 0 0 0 1px rgba(15, 14, 12, 0.1); }
.bkc-fab__av img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% 18%;
  transform: scale(1.85);
  transform-origin: 62% 24%;
}
.bkc-fab.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
}
@media (max-width: 767px) {
  .bkc-fab { display: none !important; }
}
