/* Demo booking page (/booking/) and its admin page. Builds on /site.css: same colors, fonts and effects. */

/* ── HERO ── */
.bk-hero { min-height: auto; padding: 72px 48px 96px; }
.bk-hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.bk-hero .hero-headline { font-size: clamp(64px, 8vw, 116px); }
.bk-hero .hero-sub { max-width: 520px; }

.bk-next-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
}
.bk-rings { width: 560px; height: 560px; }

.bk-next {
  position: relative;
  width: min(100%, 420px);
  padding: 40px 36px 30px;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(255,128,0,0.12), rgba(22,26,34,0.92) 45%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 60px rgba(255,128,0,0.08);
  overflow: hidden;
  animation: bkFloat 6s ease-in-out infinite;
}
/* spinning conic border, same as the main page's featured card */
.bk-next::after,
.bk-card.bk-panel::after,
.bk-day.is-selected::after,
.bk-login::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--ang), rgba(255,128,0,0.15) 0deg, rgba(255,128,0,0.15) 240deg, var(--amber) 300deg, #FFE0B0 330deg, var(--amber) 350deg, rgba(255,128,0,0.15) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: angSpin 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}
/* glass glare sweep */
.bk-next > .bk-glare,
.bk-next::before { z-index: 0; }
.bk-next .buy-card-flag { position: relative; z-index: 1; }
.bk-next-day {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 20px;
}
.bk-next-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 84px;
  line-height: 0.95;
  margin: 6px 0 4px;
  min-height: 80px;
  color: var(--amber);
  background: linear-gradient(100deg, var(--amber) 0%, var(--amber) 40%, #FFE0B0 50%, var(--amber) 60%, var(--amber) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 4.5s 1s linear infinite;
  text-shadow: 0 0 40px rgba(255,128,0,0.25);
}
.bk-next-time small { font-size: 0.42em; letter-spacing: 0.04em; margin-left: 6px; }
.bk-next-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.bk-next-btn { width: 100%; position: relative; overflow: hidden; }
.bk-next-btn:disabled { opacity: 0.45; cursor: default; }
.bk-next-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.bk-next-meta b { color: var(--text); font-weight: 700; }
.bk-next > * { position: relative; z-index: 1; }

@keyframes bkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── SCHEDULER ── */
.bk-section { padding: 90px 48px 100px; position: relative; z-index: 1; overflow: hidden; overflow: clip; }
.bk-section::before {
  content: '';
  position: absolute;
  left: 50%; top: 360px;
  width: 1100px; height: 1100px;
  margin: -550px 0 0 -550px;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,128,0,0.07) 40deg, transparent 90deg, transparent 180deg, rgba(255,128,0,0.07) 220deg, transparent 270deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 65%);
  mask: radial-gradient(circle, #000 0%, transparent 65%);
  animation: spin 30s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.bk-section .section-inner, .bk-expect .section-inner { max-width: 1280px; margin: 0 auto; padding: 0; }
.bk-section .section-heading { margin-bottom: 36px; }

.bk-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.bk-step { display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.bk-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-weight: 700;
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.bk-step.is-on { color: var(--text); }
.bk-step.is-on .bk-step-n { background: var(--amber); color: var(--bg); border-color: var(--amber); box-shadow: 0 0 0 0 rgba(255,128,0,0.6); animation: livePulse 1.8s infinite; }
.bk-step.is-done .bk-step-n { border-color: var(--amber); color: var(--amber); }
.bk-step-line { flex: 0 1 60px; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.bk-step-line::after { content: ''; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.bk-step-line.is-on::after { transform: scaleX(1); }

.bk-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bk-card {
  position: relative;
  background: rgba(22,26,34,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.bk-card.bk-panel { border-color: transparent; background: linear-gradient(160deg, rgba(255,128,0,0.08), rgba(22,26,34,0.92) 40%); }

/* calendar */
.bk-cal { padding: 30px 30px 24px; }
.bk-cal::after {   /* scanning light, like the stats bar */
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  left: -30%;
  background: linear-gradient(90deg, transparent, rgba(255,128,0,0.05), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
}
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bk-month {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.bk-month small { font-size: 22px; color: var(--amber); }
.bk-month.is-swap { animation: bkMonthIn 0.5s var(--ease-out); }
@keyframes bkMonthIn { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.bk-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--amber-glow);
  color: var(--amber);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding-bottom: 4px;
  transition: background 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s, opacity 0.2s;
}
.bk-arrow:hover:not(:disabled) { background: var(--amber); color: var(--bg); transform: scale(1.08); box-shadow: 0 0 24px rgba(255,128,0,0.45); }
.bk-arrow:disabled { opacity: 0.25; cursor: default; }

.bk-dow, .bk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bk-dow {
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.bk-grid { min-height: 330px; align-content: start; }

.bk-day {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(12,14,18,0.55);
  color: var(--muted);
  font: inherit;
  padding: 10px 10px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: default;
  overflow: hidden;
  opacity: 0;
  animation: tileIn 0.5s var(--ease-out) forwards;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s, box-shadow 0.25s, color 0.25s;
}
.bk-day-n { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1; }
.bk-day-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bk-pips { display: flex; gap: 3px; margin-top: 6px; }
.bk-pips i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.bk-pips i.on { background: var(--amber); box-shadow: 0 0 6px rgba(255,128,0,0.6); }

.bk-day.is-blank { visibility: hidden; animation: none; }
.bk-day.is-off { opacity: 0.32 !important; animation: none; }
.bk-day.is-open { cursor: pointer; color: var(--text); border-color: var(--border); background: linear-gradient(160deg, rgba(255,128,0,0.10), rgba(12,14,18,0.6) 60%); }
.bk-day.is-open .bk-day-meta { color: var(--amber); }
.bk-day.is-open:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 22px rgba(255,128,0,0.2); }
.bk-day.is-open::before {   /* glare sweep on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,224,176,0.16) 45%, transparent 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  transition: background-position 0.7s var(--ease-out);
  pointer-events: none;
}
.bk-day.is-open:hover::before { background-position: -60% 0; }
.bk-day.is-full { color: var(--muted); }
.bk-day.is-full .bk-day-meta { color: #6b7280; }
.bk-day.is-today .bk-day-n::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--amber); vertical-align: 6px; box-shadow: 0 0 8px var(--amber); }
.bk-day.is-selected { border-color: transparent; background: linear-gradient(160deg, rgba(255,128,0,0.32), rgba(255,128,0,0.08)); color: var(--text); box-shadow: 0 0 30px rgba(255,128,0,0.25); transform: translateY(-3px); }
.bk-day.is-selected .bk-day-meta { color: #FFE0B0; }
.bk-day:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.bk-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bk-legend span { display: inline-flex; align-items: center; gap: 7px; }
.bk-legend i { width: 10px; height: 10px; border-radius: 2px; }
.lg-open { background: var(--amber); box-shadow: 0 0 8px rgba(255,128,0,0.6); }
.lg-few { background: linear-gradient(90deg, var(--amber) 50%, rgba(255,255,255,0.12) 50%); }
.lg-full { background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.35) 0 2px, rgba(255,255,255,0.08) 2px 4px); }
.bk-tz { margin-left: auto; color: var(--amber); }

/* panel */
.bk-panel { padding: 34px 32px 30px; min-height: 520px; }
.bk-view { display: none; }
.bk-view.is-active { display: block; animation: bkViewIn 0.55s var(--ease-out); }
@keyframes bkViewIn { from { opacity: 0; transform: translateX(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.bk-panel-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.bk-panel-tag::before { content: ''; width: 20px; height: 1px; background: var(--amber); }
.bk-panel-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: 0.02em; margin-bottom: 10px; }
.bk-panel-sub { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }

.bk-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bk-time {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(12,14,18,0.55);
  color: var(--text);
  border-radius: 4px;
  padding: 14px 16px 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  animation: tileIn 0.45s var(--ease-out) forwards;
  transition: transform 0.25s var(--ease-out), border-color 0.2s, background 0.25s, box-shadow 0.25s;
}
.bk-time b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: 0.03em; }
.bk-time b small { font-size: 0.55em; margin-left: 3px; color: var(--amber); }
.bk-time span { display: block; margin-top: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); }
.bk-time::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,224,176,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
}
.bk-time:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--amber); background: rgba(255,128,0,0.12); box-shadow: 0 0 24px rgba(255,128,0,0.22); }
.bk-time:hover:not(:disabled)::before { left: 130%; }
.bk-time:disabled { cursor: default; opacity: 0.38 !important; border-color: rgba(255,255,255,0.05); }
.bk-time:disabled b { text-decoration: line-through; text-decoration-color: rgba(255,128,0,0.7); }
.bk-time:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.bk-empty {
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.bk-empty b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 28px; color: var(--text); letter-spacing: 0.03em; margin-bottom: 6px; }
.bk-hint {
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
  color: var(--muted);
  padding: 40px 10px 10px;
}
.bk-hint img { width: 120px; opacity: 0.85; animation: bkFloat 5s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(255,128,0,0.35)); }

/* form */
.bk-chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin: 6px 0 22px;
  border-radius: 4px;
  background: linear-gradient(110deg, rgba(255,128,0,0.22), rgba(255,184,77,0.10) 45%, rgba(255,128,0,0.18) 55%, rgba(255,128,0,0.08));
  background-size: 220% 100%;
  animation: bannerSheen 6s ease-in-out infinite alternate;
  border: 1px solid rgba(255,128,0,0.4);
}
.bk-chosen-day { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #FFE0B0; }
.bk-chosen-time { font-family: 'Bebas Neue', sans-serif; font-size: 34px; line-height: 1.05; }
.bk-change {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); background: rgba(12,14,18,0.5); border: 1px solid var(--border); border-radius: 2px;
  padding: 10px 14px; cursor: pointer; min-height: 40px; transition: background 0.2s, color 0.2s;
}
.bk-change:hover { background: var(--amber); color: var(--bg); }

.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-field { display: block; margin-bottom: 16px; position: relative; }
.bk-field > span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
  transition: color 0.2s;
}
.bk-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,14,18,0.7);
  color: var(--text);
  font: 500 16px/1 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.bk-field input::placeholder { color: #4d5562; }
.bk-field input:focus { border-color: var(--amber); background: rgba(12,14,18,0.95); box-shadow: 0 0 0 3px rgba(255,128,0,0.18), 0 0 24px rgba(255,128,0,0.15); }
.bk-field:focus-within > span { color: var(--amber); }
.bk-field.is-bad input { border-color: #ff5a4a; box-shadow: 0 0 0 3px rgba(255,90,74,0.15); animation: bkShake 0.4s; }
.bk-field.is-good input { border-color: rgba(255,128,0,0.45); }
.bk-err { display: block; min-height: 0; font-style: normal; font-size: 12.5px; color: #ff8a7a; margin-top: 6px; }
.bk-err:empty { display: none; }
@keyframes bkShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-submit { width: 100%; min-height: 58px; margin-top: 6px; position: relative; overflow: hidden; font-size: 13px; }
.bk-submit::before { animation: bkBtnSweep 3.6s 1s ease-in-out infinite; }
@keyframes bkBtnSweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.bk-submit-busy { display: none; align-items: center; gap: 12px; }
.bk-submit.is-busy { pointer-events: none; background: linear-gradient(90deg, #CC6600, #FF8000, #FFB84D, #FF8000, #CC6600); background-size: 300% 100%; animation: bkBusy 1.6s linear infinite; }
.bk-submit.is-busy .bk-submit-label { display: none; }
.bk-submit.is-busy .bk-submit-busy { display: inline-flex; }
@keyframes bkBusy { to { background-position: -300% 0; } }
.bk-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(12,14,18,0.3); border-top-color: #0C0E12; animation: spin 0.8s linear infinite; }
.bk-form-err { color: #ff8a7a; font-size: 14px; margin-top: 12px; min-height: 0; }
.bk-form-err:empty { display: none; }
.bk-fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* done */
.bk-done { text-align: center; padding-top: 6px; }
.bk-done .bk-panel-tag { justify-content: center; }
.bk-done .bk-panel-title { font-size: 60px; }
.bk-shine {
  color: var(--amber);
  background: linear-gradient(100deg, var(--amber) 0%, var(--amber) 40%, #FFE0B0 50%, var(--amber) 60%, var(--amber) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 4.5s 0.6s linear infinite;
}
.bk-check { position: relative; width: 120px; height: 120px; margin: 4px auto 18px; }
.bk-check span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,128,0,0.55); opacity: 0; animation: ringOut 3s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.bk-check span:nth-child(2) { animation-delay: 1s; }
.bk-check span:nth-child(3) { animation-delay: 2s; }
.bk-check b {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB84D, #FF8000 55%, #CC6600);
  box-shadow: 0 0 40px rgba(255,128,0,0.55);
  animation: bkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.bk-check b::after {
  content: '';
  position: absolute;
  left: 27px; top: 16px;
  width: 18px; height: 34px;
  border: solid #0C0E12;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  animation: bkTick 0.4s 0.45s var(--ease-out) forwards;
}
@keyframes bkPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes bkTick { to { transform: rotate(45deg) scale(1); } }
.bk-done-zoom { margin: 6px 0 18px; }
.bk-done-zoom .btn-primary { width: 100%; position: relative; overflow: hidden; }
.bk-done-zoom .bk-zoom-url { display: block; margin-top: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); word-break: break-all; }
.bk-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bk-done-actions .pill { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.bk-done-actions .pill:hover { border-color: var(--amber); transform: translateY(-2px); }
.bk-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.bk-confetti i { position: absolute; top: -12px; width: 6px; height: 12px; border-radius: 1px; animation: bkFall linear forwards; }
@keyframes bkFall { to { transform: translate3d(var(--dx), 640px, 0) rotate(var(--rot)); opacity: 0; } }

/* skeleton shimmer while loading */
.bk-skel {
  display: inline-block;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,128,0,0.14) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: bkSkel 1.3s linear infinite;
  vertical-align: middle;
}
.bk-day.is-loading { opacity: 1; animation: none; background: linear-gradient(90deg, rgba(255,255,255,0.025) 0%, rgba(255,128,0,0.09) 50%, rgba(255,255,255,0.025) 100%); background-size: 200% 100%; animation: bkSkel 1.3s linear infinite; }
@keyframes bkSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── WHAT TO EXPECT ── */
.bk-expect { padding: 90px 48px 110px; position: relative; z-index: 1; overflow: hidden; overflow: clip; }
.bk-expect .section-inner { max-width: 1280px; margin: 0 auto; }
.bk-expect-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.bk-x { background: var(--surface); padding: 52px 36px 44px; position: relative; overflow: hidden; transition: background 0.3s, transform 0.4s var(--ease-out), opacity 0.7s; }
.bk-x::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 2; }
.bk-x:hover { background: var(--surface2); }
.bk-x:hover::after { transform: scaleX(1); }
.bk-x:hover .feature-num { color: rgba(255,128,0,0.14); transform: translateY(-4px); }
.bk-x-title { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 0.02em; margin: 40px 0 10px; }
.bk-x p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .bk-shell { grid-template-columns: 1fr; }
  .bk-panel { min-height: 0; }
}
@media (max-width: 860px) {
  .bk-hero { padding: 36px 20px 56px; }
  .bk-hero .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .bk-hero .hero-headline { font-size: clamp(72px, 22vw, 112px); }
  .bk-next-wrap { min-height: 0; padding: 30px 0 10px; }
  .bk-rings { width: 420px; height: 420px; }
  .bk-next { padding: 32px 24px 24px; }
  .bk-next-time { font-size: 72px; min-height: 68px; }
  .bk-section { padding: 60px 14px 70px; }
  .bk-chosen { padding: 14px 14px; gap: 10px; }
  .bk-chosen-time { font-size: 26px; }
  .bk-chosen-day { font-size: 10px; letter-spacing: 0.1em; }
  .bk-steps { gap: 8px; font-size: 10px; letter-spacing: 0.1em; }
  .bk-step-n { width: 30px; height: 30px; }
  .bk-step-line { flex-basis: 24px; }
  .bk-cal { padding: 22px 14px 18px; }
  .bk-month { font-size: 36px; }
  .bk-month small { font-size: 18px; }
  .bk-arrow { width: 44px; height: 44px; }
  .bk-dow, .bk-grid { gap: 6px; }
  .bk-dow { font-size: 10px; letter-spacing: 0.1em; }
  .bk-grid { min-height: 0; }
  .bk-day { aspect-ratio: 1 / 1.05; padding: 7px 6px 7px; }
  .bk-day-n { font-size: 24px; }
  .bk-day-meta { font-size: 8.5px; letter-spacing: 0.02em; }
  .bk-pips { gap: 2px; }
  .bk-legend { gap: 8px 14px; font-size: 9.5px; }
  .bk-tz { margin-left: 0; width: 100%; }
  .bk-panel { padding: 28px 18px 24px; }
  .bk-panel-title { font-size: 38px; }
  .bk-row { grid-template-columns: 1fr; gap: 0; }
  .bk-time b { font-size: 26px; }
  .bk-done .bk-panel-title { font-size: 48px; }
  .bk-expect { padding: 60px 20px 80px; }
  .bk-expect-grid { grid-template-columns: 1fr; }
  .bk-x { padding: 40px 24px 34px; }
}
@media (max-width: 380px) {
  .bk-day-meta { display: none; }
  .bk-times { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bk-time { padding: 12px 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-next, .bk-next::after, .bk-card::after, .bk-day, .bk-time, .bk-view.is-active, .bk-section::before, .bk-cal::after,
  .bk-chosen, .bk-submit::before, .bk-hint img, .bk-day.is-selected::after { animation: none !important; opacity: 1; }
}

/* ── ADMIN ── */
.bk-admin { padding: calc(var(--nav-h) + 40px) 32px 80px; position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; }
.bk-admin .section-heading { margin-bottom: 24px; }
.bk-login { max-width: 440px; margin: 40px auto; padding: 40px 34px; border-radius: 6px; position: relative; background: linear-gradient(160deg, rgba(255,128,0,0.10), rgba(22,26,34,0.92) 45%); }
.bk-login .btn-primary { width: 100%; position: relative; overflow: hidden; }
.bk-admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bk-admin-bar .pill { cursor: pointer; }
.bk-range { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 18px; margin-bottom: 20px; }
.bk-range .bk-field { margin: 0; flex: 1 1 150px; }
.bk-range .bk-field input { height: 46px; color-scheme: dark; }
.bk-btn-sm {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; padding: 0 16px; height: 46px; cursor: pointer; border: 1px solid var(--border);
  background: var(--amber-glow); color: var(--amber); transition: background 0.2s, color 0.2s, transform 0.2s;
}
.bk-btn-sm:hover { background: var(--amber); color: var(--bg); }
.bk-btn-sm.solid { background: var(--amber); color: var(--bg); }
.bk-btn-sm.danger { color: #ff8a7a; border-color: rgba(255,90,74,0.4); background: rgba(255,90,74,0.08); }
.bk-btn-sm.danger:hover { background: #ff5a4a; color: #fff; }
.bk-day.is-blocked { color: var(--muted); background: repeating-linear-gradient(-45deg, rgba(255,90,74,0.10) 0 8px, rgba(12,14,18,0.6) 8px 16px); border-color: rgba(255,90,74,0.3); }
.bk-day.is-blocked .bk-day-meta { color: #ff8a7a; }
.bk-day.has-bookings .bk-day-n::before { content: ''; position: absolute; right: 9px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px rgba(74,222,128,0.7); }
.bk-day.adm { cursor: pointer; opacity: 1; }
.bk-day.adm:hover { border-color: var(--amber); transform: translateY(-2px); }
.bk-day.adm.is-past { opacity: 0.45; }
.bk-adm-slots { display: grid; gap: 10px; }
.bk-adm-slot {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.07); background: rgba(12,14,18,0.55);
  opacity: 0; animation: tileIn 0.45s var(--ease-out) forwards;
}
.bk-adm-slot b { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; line-height: 1; }
.bk-adm-slot .st { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bk-adm-slot.is-taken { border-color: rgba(74,222,128,0.35); background: linear-gradient(110deg, rgba(74,222,128,0.10), rgba(12,14,18,0.55) 60%); }
.bk-adm-slot.is-taken .st { color: #4ade80; }
.bk-adm-slot.is-blocked { border-color: rgba(255,90,74,0.3); background: repeating-linear-gradient(-45deg, rgba(255,90,74,0.08) 0 8px, rgba(12,14,18,0.55) 8px 16px); }
.bk-adm-slot.is-blocked .st { color: #ff8a7a; }
.bk-adm-who { font-size: 14px; line-height: 1.5; color: var(--text); margin-top: 4px; overflow-wrap: anywhere; }
.bk-adm-who a { color: #FFB84D; }
.bk-adm-day-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.bk-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 300;
  background: var(--surface2); border: 1px solid var(--amber); color: var(--text); border-radius: 4px;
  padding: 14px 20px; font-size: 14px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transition: transform 0.4s var(--ease-out), visibility 0.4s;
  transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
}
.bk-toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (max-width: 860px) {
  .bk-admin { padding: calc(var(--nav-h) + 24px) 14px 60px; }
  .bk-adm-slot { grid-template-columns: 70px 1fr; }
  .bk-adm-slot > :last-child { grid-column: 1 / -1; }
}

/* ── tighter top (owner 11-12): the calendar shows on the first screen so people see where to go ── */
.bk-hero { padding: calc(var(--nav-h) + 26px) 48px 36px; }
.bk-hero .hero-grid { gap: 48px; align-items: center; }
.bk-hero .hero-headline { font-size: clamp(56px, 6.2vw, 92px); margin-bottom: 18px; }
.bk-hero .hero-eyebrow { margin-bottom: 14px; }
.bk-hero .hero-sub { margin-bottom: 20px; font-size: 17px; }
.bk-hero .hero-pills { margin-bottom: 24px; }
.bk-next-wrap { min-height: 0; }
.bk-rings { width: 440px; height: 440px; }
.bk-next { padding: 26px 30px 22px; }
.bk-next .buy-card-flag { margin-bottom: 12px; }
.bk-next-time { font-size: 64px; min-height: 60px; }
.bk-next-sub { margin-bottom: 16px; }
.bk-next-meta { margin-top: 12px; padding-top: 12px; }
.bk-section { padding-top: 36px; }
.bk-section .section-heading { font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 18px; }
.bk-section .section-tag { margin-bottom: 10px; }
.bk-steps { margin-bottom: 18px; }
@media (max-width: 860px) {
  .bk-hero { padding: calc(var(--nav-h) + 16px) 20px 24px; }
  .bk-hero .hero-headline { font-size: clamp(54px, 16vw, 76px); margin-bottom: 12px; }
  .bk-hero .hero-sub { font-size: 15.5px; line-height: 1.55; margin-bottom: 16px; }
  .bk-hero .hero-pills { margin-bottom: 18px; }
  .bk-hero .hero-actions .btn-primary { padding: 15px 20px; }
  .bk-hero .hero-actions .btn-ghost { display: none; }
  .bk-next-wrap { display: none; }   /* phones: the calendar right below already opens the first free day */
  .bk-section { padding-top: 26px; }
  .bk-section .section-heading { font-size: 40px; margin-bottom: 14px; }
}

/* one-line headline, pills next to the button: shorter hero */
.bk-hero .hero-headline { font-size: clamp(52px, 5.4vw, 88px); white-space: nowrap; }
.bk-hero .hero-content { display: flex; flex-direction: column; }
.bk-hero .hero-pills { order: 5; margin: 18px 0 0; }
@media (max-width: 1100px) { .bk-hero .hero-headline { white-space: normal; } }
@media (max-width: 860px) { .bk-hero .hero-pills { display: none; } }

/* the scheduler is on the first screen: animate in on load instead of waiting for a scroll */
.bk-in, .bk-steps, .bk-shell { opacity: 0; animation: fadeUp 0.8s var(--ease-out) forwards; }
.bk-section .section-tag.bk-in { animation-delay: 0.55s; }
.bk-section .section-heading.bk-in { animation-delay: 0.65s; }
.bk-steps { animation-delay: 0.75s; }
.bk-shell { animation-delay: 0.85s; }
@media (prefers-reduced-motion: reduce) { .bk-in, .bk-steps, .bk-shell { opacity: 1; animation: none; } }

/* booked and blacked-out times look the same to the public (owner 11-12: bookings are private) */
.bk-day.is-full, .bk-time.is-unavail {
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.045) 0 7px, rgba(12,14,18,0.6) 7px 14px);
  border-color: rgba(255,255,255,0.07);
}
.bk-day.is-full .bk-day-meta { color: #6b7280; }
.bk-day.is-full .bk-pips { visibility: hidden; }
.bk-time.is-unavail b { text-decoration: none; color: #6b7280; }
.bk-time.is-unavail b small { color: #6b7280; }

/* Owner 11-21: demo or customer training. Square, mono labels like the site's buttons and pills. */
.bk-kind{display:grid;grid-template-columns:1fr 1fr;width:min(440px,100%);margin:26px 0 22px;border:1px solid rgba(255,128,0,.5);background:rgba(12,14,18,.6)}
.bk-kind-opt{appearance:none;margin:0;border:0;border-radius:0;cursor:pointer;background:transparent;color:#C9CCD2;padding:13px 14px 12px;text-align:center;
  font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:1.2;transition:background .2s,color .2s}
.bk-kind-opt + .bk-kind-opt{border-left:1px solid rgba(255,128,0,.5)}
.bk-kind-opt small{display:block;margin-top:5px;font-family:'DM Sans',system-ui,sans-serif;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:#8A919C}
.bk-kind-opt:hover:not(.is-on){color:#fff;background:rgba(255,128,0,.08)}
.bk-kind-opt.is-on{background:#FF8000;color:#0C0E12}
.bk-kind-opt.is-on small{color:rgba(12,14,18,.72)}
.bk-kind-opt:focus-visible{outline:2px solid #FFB84D;outline-offset:2px}
.bk-chosen-kind{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#FF8000;margin-top:6px}
@media (max-width:480px){.bk-kind{width:100%;margin:20px 0 18px}.bk-kind-opt{padding:12px 8px 11px;font-size:11px;letter-spacing:.1em}}
