/* Kith & Kiln — booking page. Builds on kith-kiln.css (tokens, nav, buttons, footer). */

/* The page stage is kiln black. Change --stage here to re-theme the whole flow (oxblood was the red variant). */
.kk-book { --stage: var(--kiln); background: var(--stage); color: var(--bone); }
.kk-page:has(.kk-book) { background: var(--kiln); }
/* kith-kiln.css paints every <main> kiln black; this one follows --stage */
.kk-book main.bk { background: var(--stage); padding-bottom: 40px; overflow-x: clip; }
.kk-book .hero-c-bar.is-ink,
.kk-book .kk-mnav.is-ink { background: var(--stage); }
.kk-book .bk .hero-c__book,
.kk-book .kk-mnav__menu,
.kk-book .kk-mnav__book {
  background: var(--stage);
  box-shadow: inset 0 0 0 1px var(--stage), inset 0 0 0 2px var(--bone);
}
.kk-book .bk .hero-c__book:hover,
.kk-book .kk-mnav__menu:hover,
.kk-book .kk-mnav__book:hover {
  background: var(--bone);
  color: var(--stage);
  box-shadow: inset 0 0 0 1px var(--bone), inset 0 0 0 2px var(--stage);
}
.kk-book .hero-c-bar__start { background: var(--stage); box-shadow: inset 0 0 0 1px var(--stage), inset 0 0 0 2px var(--bone); }
.kk-book .hero-c-bar__start:hover { background: var(--bone); color: var(--stage); box-shadow: inset 0 0 0 1px var(--bone), inset 0 0 0 2px var(--stage); }
.kk-book .kk-msheet__panel { background: var(--stage); box-shadow: inset 0 0 0 4px var(--stage), inset 0 0 0 5px var(--bone); }
/* Footer email field: placeholder darkened to pass 4.5:1 on white */
.kk-book .site-foot__form input::placeholder { color: #6B655D; }
.kk-book .hero-c-bar__start[aria-current="page"],
.kk-book .kk-mnav__book[aria-current="page"] {
  background: var(--bone);
  color: var(--stage);
  box-shadow: inset 0 0 0 1px var(--bone), inset 0 0 0 2px var(--stage);
}

.bk {
  padding: clamp(6.5rem, 14vh, 9rem) 4vw 4rem;
  background: var(--stage);
  color: var(--bone);
  font-family: var(--font-sans);
}
.bk-wrap { max-width: 80rem; margin: 0 auto; }

/* ── Head and banner ── */
.bk-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.bk-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}
.bk-title--done { font-size: clamp(2.8rem, 8vw, 6.5rem); }
.bk-title--sub { font-size: clamp(2.4rem, 6vw, 4.75rem); margin-bottom: 1.5rem; }
.bk-title:focus { outline: none; }
.bk-intro {
  max-width: 34rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(241, 232, 220, 0.84);
}
.bk-banner {
  position: relative;
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  height: clamp(8rem, 17vw, 13rem);
  overflow: hidden;
  border: 1px solid var(--bone);
  border-radius: var(--container-radius);
  box-shadow: inset 0 0 0 4px var(--stage), inset 0 0 0 5px var(--bone);
}
.bk-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: calc(var(--container-radius) - 6px);
  padding: 6px;
}
.bk-banner__shade {
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--container-radius) - 6px);
  background: linear-gradient(180deg, rgba(14, 11, 10, 0.1), rgba(14, 11, 10, 0.45));
  pointer-events: none;
}

/* ── Steps: numbered circles joined by dashes; a filled ring slides to the current one ── */
.bk-steps {
  --circle: 2.75rem;
  --dash: 3.25rem;
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: 0;
  list-style: none;
}
.bk-steps li { display: flex; align-items: center; flex: none; }
.bk-steps li:not(:last-child)::after {
  content: "";
  width: var(--dash);
  height: 0;
  border-top: 1px dashed rgba(241, 232, 220, 0.4);
  transition: border-color 0.4s ease;
}
.bk-steps li.is-done:not(:last-child)::after { border-top-style: solid; border-top-color: var(--brass); }
.bk-steps button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--circle);
  height: var(--circle);
  padding: 0;
  border: 1px solid rgba(241, 232, 220, 0.4);
  border-radius: 50%;
  background: transparent;
  color: rgba(241, 232, 220, 0.7);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease 0.15s, border-color 0.3s ease, background-color 0.3s ease;
}
.bk-steps button:disabled { cursor: default; }
.bk-steps button:not(:disabled):hover { border-color: var(--bone); }
.bk-steps button.is-done { border-color: var(--brass); background: rgba(176, 141, 87, 0.18); color: var(--brass); }
.bk-steps button[aria-current="step"] { border-color: transparent; background: transparent; color: var(--stage); }
.bk-steps button:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; }
.bk-steps__marker {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--circle);
  height: var(--circle);
  margin-top: calc(var(--circle) / -2);
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 0 3px var(--stage), 0 0 0 4px var(--bone);
  transform: translateX(calc(var(--i, 0) * (var(--circle) + var(--dash))));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bk-view[hidden], .bk-steps[hidden] { display: none; }

.bk-back {
  min-height: 44px;
  margin: 0 0 0.5rem -0.1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--clay);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.bk-back:hover { color: var(--bone); }
.bk-back:focus-visible, .bk-inline:focus-visible, .bk-clear:focus-visible, .bk-today:focus-visible, .bk-arrow:focus-visible, .bk-details summary:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

/* ── Upcoming strip ── */
.bk-up { margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.bk-up__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.bk-up__label { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font-size: 0.85rem; color: var(--clay); }
.bk-up__label span { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.bk-up__title { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.bk-up__title span { color: var(--kiln-glow); }
.bk-up__arrows { display: flex; gap: 0.5rem; }
.bk-arrow--box { border: 1px solid rgba(241, 232, 220, 0.4); border-radius: 8px; }
.bk-arrow--box:hover:not(:disabled) { background: var(--bone); color: var(--stage); border-color: var(--bone); }
.bk-arrow:disabled { opacity: 0.35; cursor: default; }
.bk-up__track {
  display: grid;
  grid-auto-flow: column;
  /* Whole cards only: --per cards fit the track exactly, so nothing is cut off at the right. */
  --per: 4;
  --gap: 1rem;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bk-up__track::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .bk-up__track { --per: 3; } }
@media (max-width: 760px) { .bk-up__track { --per: 2; } }
@media (max-width: 520px) { .bk-up__track { --per: 1; } }
.bk-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 23rem;
  padding: 1rem;
  border: 1px solid rgba(241, 232, 220, 0.3);
  border-radius: 20px;
  background: var(--kiln);
}
.bk-card__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.bk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 11, 10, 0.35) 0%, rgba(14, 11, 10, 0) 22%, rgba(14, 11, 10, 0) 42%, rgba(14, 11, 10, 0.88) 78%, rgba(14, 11, 10, 0.96) 100%);
}
.bk-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.bk-card__icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 10px; background: rgba(14, 11, 10, 0.55); backdrop-filter: blur(6px); color: var(--bone); }
.bk-card__icon svg { width: 1.6rem; height: 1.6rem; }
.bk-card__pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.7rem; border: 1px solid rgba(241, 232, 220, 0.5); border-radius: 999px; background: rgba(14, 11, 10, 0.5); backdrop-filter: blur(6px); font-size: 0.75rem; white-space: nowrap; }
.bk-card__low { color: var(--kiln-glow); }
.bk-card__low::before { content: "·"; margin-right: 0.5rem; color: var(--bone); }
.bk-card__title { margin: auto 0 0; padding-top: 2.5rem; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.bk-card__coach { margin: 0.5rem 0 1.25rem; color: var(--clay); font-size: 0.95rem; }
.bk-card__foot { display: flex; align-items: center; gap: 0.9rem; padding: 0.5rem 0.5rem 0.5rem 0.9rem; border-radius: 12px; background: rgba(14, 11, 10, 0.6); backdrop-filter: blur(6px); }
.bk-card__fact { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--bone); white-space: nowrap; }
.bk-card__fact svg { width: 1rem; height: 1rem; color: var(--clay); }
.bk-card__foot .hero-c__book { margin-left: auto; min-height: 40px; padding: 0 0.9rem; cursor: pointer; }

/* ── Schedule: place, filters, day strip ── */
.bk-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.bk-place { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.bk-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.bk-select label { display: block; margin: 0 0 0.3rem 0.1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.bk-select select {
  appearance: none;
  min-width: 11rem;
  min-height: 44px;
  padding: 0 2.5rem 0 1rem;
  border: 1px solid rgba(241, 232, 220, 0.4);
  border-radius: 8px;
  background: var(--stage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9.5 6 6 6-6' fill='none' stroke='%23F1E8DC' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.7rem center / 1.1rem;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.bk-select select:hover { border-color: var(--bone); }
.bk-select select:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.bk-clear, .bk-today, .bk-inline {
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.bk-clear[hidden], .bk-today[hidden] { display: none; }
.bk-inline { min-height: 0; padding: 0; color: var(--brass); }

.bk-daynav { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.bk-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--bone); cursor: pointer; }
.bk-arrow:hover { background: rgba(241, 232, 220, 0.1); }
.bk-arrow svg { width: 1.5rem; height: 1.5rem; }
.bk-days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 6 * 0.25rem) / 7);
  gap: 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bk-days::-webkit-scrollbar { display: none; }
.bk-day {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-height: 4.5rem;
  padding: 0.6rem 0.25rem 0.5rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--clay);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.bk-day__mon { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bk-day__dow { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; }
.bk-day:hover { color: var(--bone); }
.bk-day[aria-pressed="true"] { color: var(--bone); border-bottom-color: var(--bone); }
.bk-day:focus-visible { outline: 2px solid var(--bone); outline-offset: -2px; }

/* ── Schedule: the board ── */
.bk-board { border: 1px solid rgba(241, 232, 220, 0.3); border-radius: 12px; overflow: hidden; }
.bk-board__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.35rem 1.25rem; background: rgba(241, 232, 220, 0.06); border-bottom: 1px solid rgba(241, 232, 220, 0.22); }
.bk-board__head h3 { margin: 0; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; }
.bk-row {
  display: grid;
  grid-template-columns: 8rem 7rem minmax(0, 1fr) 9rem;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  margin: 0 1rem;
  border-bottom: 1px solid rgba(241, 232, 220, 0.18);
}
.bk-row:last-child { border-bottom: 0; }
.bk-row p { margin: 0; }
.bk-row__time { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.bk-row__time small { display: block; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.bk-row__where { color: var(--clay); font-size: 0.95rem; }
.bk-row__class { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.bk-row__avatar {
  flex: none;
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(241, 232, 220, 0.35);
  border-radius: 50%;
  background: #1a1716;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
}
.bk-row__name { margin: 0 0 0.2rem; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.bk-row__meta { font-size: 0.9rem; color: var(--clay); line-height: 1.45; }
.bk-row__act { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; text-align: center; }
.bk-row__act .hero-c__book { width: 100%; min-height: 44px; cursor: pointer; }
.bk-row__low { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kiln-glow); }
.bk-row__full { display: grid; place-items: center; min-height: 44px; border: 1px dashed rgba(241, 232, 220, 0.35); border-radius: 8px; font-size: 0.85rem; color: var(--clay); }
.bk-row.is-full .bk-row__time, .bk-row.is-full .bk-row__class { opacity: 0.55; }
.bk-empty { margin: 0; padding: 2.5rem 1.25rem; color: var(--clay); }

/* ── Spot view ── */
.bk-spot-layout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.bk-spot-class p { margin: 0; }
.bk-spot-class__name { font-size: 1.25rem; font-weight: 500; }
.bk-spot-class__when { margin-top: 0.4rem !important; font-weight: 500; }
.bk-spot-class__where { margin-top: 0.3rem !important; color: var(--clay); font-size: 0.95rem; }
.bk-details { margin-top: 0.9rem; }
.bk-details summary { display: inline-block; min-height: 44px; padding-top: 0.6rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; font-size: 0.9rem; }
.bk-details p { max-width: 32rem; margin: 0.25rem 0 0; color: rgba(241, 232, 220, 0.84); line-height: 1.6; }
.bk-key { min-width: 12rem; }
.bk-key__title { margin: 0 0 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.bk-key ul { margin: 0; padding: 0; list-style: none; }
.bk-key li { display: flex; align-items: center; gap: 0.75rem; min-height: 2rem; font-size: 0.95rem; }
.bk-key__dot { width: 1rem; height: 1rem; border: 1px solid var(--bone); border-radius: 50%; }
.bk-key__dot--taken { border-color: transparent; background: rgba(241, 232, 220, 0.28); }
.bk-key__dot--pick { background: var(--bone); box-shadow: inset 0 0 0 3px var(--stage); outline: 1px solid var(--bone); outline-offset: -1px; }

.bk-room {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(241, 232, 220, 0.3);
  border-radius: 24px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(176, 141, 87, 0.1), transparent 60%);
}
.bk-room__front {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid var(--brass);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  text-align: center;
}
.bk-map {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  row-gap: clamp(0.9rem, 2.5vw, 1.6rem);
  max-width: 44rem;
  margin: 0 auto;
}
.bk-spot {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--bone);
  border-radius: 50%;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.bk-map--reformer .bk-spot { width: min(5.5rem, 100%); border-radius: 999px; }
.bk-map--station .bk-spot { border-radius: 12px; }
.bk-spot:hover:not(:disabled) { background: rgba(241, 232, 220, 0.14); }
.bk-spot:disabled { border-color: transparent; background: rgba(241, 232, 220, 0.2); color: rgba(241, 232, 220, 0.68); cursor: not-allowed; }
.bk-spot[aria-pressed="true"] { background: var(--bone); color: var(--stage); box-shadow: inset 0 0 0 3px var(--stage), 0 0 0 1px var(--bone); }
.bk-spot:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; }

.bk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(241, 232, 220, 0.22); }
.bk-bar__pick { margin: 0; font-family: var(--font-display); font-size: 1.6rem; }
.bk-next { min-width: 12rem; min-height: 48px; cursor: pointer; }

/* ── Checkout ── */
.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.bk-step { margin: 0 0 3rem; padding: 0; border: 0; min-width: 0; }
.bk-step legend {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid rgba(241, 232, 220, 0.22);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
}
.bk-step__n { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--brass); }
.bk-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bk-opt:has(input:focus-visible) { outline: 2px solid var(--bone); outline-offset: 3px; }

/* ── Price and extras ── */
.bk-options { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.bk-opt {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(241, 232, 220, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
/* The mark: a ring for one choice, a square for an add-on */
.bk-opt::before {
  content: "";
  grid-column: 1;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: box-shadow 0.2s ease;
}
.bk-opt--extra::before { border-radius: 4px; }
.bk-opt input { grid-column: 1; }
.bk-opt__body { grid-column: 2; display: block; }
.bk-opt__price { grid-column: 3; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.bk-opt__name { display: block; font-weight: 500; }
.bk-opt__note { display: block; margin-top: 0.15rem; font-size: 0.9rem; color: var(--clay); }
.bk-opt:hover { border-color: var(--bone); }
.bk-opt:has(input:checked) { background: var(--bone); border-color: var(--bone); color: var(--stage); }
.bk-opt:has(input:checked) .bk-opt__note { color: #4A3F37; }
.bk-opt:has(input:checked)::before { box-shadow: inset 0 0 0 3px var(--bone), inset 0 0 0 10px var(--stage); }

/* ── Fields ── */
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.bk-field--wide { grid-column: 1 / -1; }
.bk-field label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--clay); }
.bk-opt-label { margin-left: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bk-field input,
.bk-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(241, 232, 220, 0.4);
  border-radius: 10px;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
}
.bk-field textarea { resize: vertical; min-height: 6rem; }
.bk-field input:hover,
.bk-field textarea:hover { border-color: var(--bone); }
.bk-field input:focus-visible,
.bk-field textarea:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.bk-field input[aria-invalid="true"] { border-color: #FF9A7A; }
.bk-hint { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--clay); }
.bk-error { margin: 0.45rem 0 0; font-size: 0.9rem; color: #FF9A7A; }
.bk-error:empty { display: none; }

/* ── Summary ── */
.bk-summary {
  position: sticky;
  top: 6rem;
  padding: 1.75rem;
  border: 1px solid var(--bone);
  border-radius: var(--container-radius);
  box-shadow: inset 0 0 0 4px var(--stage), inset 0 0 0 5px var(--bone);
  background: var(--stage);
}
.bk-summary .plate__label { margin-bottom: 1rem; }
.bk-summary__empty { margin: 0; color: var(--clay); }
.bk-summary__day { margin: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.bk-summary__class { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; }
.bk-summary__who { margin: 0.5rem 0 0; color: var(--clay); font-size: 0.95rem; }
.bk-timeline { margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(241, 232, 220, 0.22); }
.bk-timeline li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(241, 232, 220, 0.14);
  font-size: 0.9rem;
}
.bk-timeline li span:last-child { font-family: var(--font-mono); font-size: 0.8rem; color: var(--clay); }
.bk-lines { margin: 1.25rem 0 0; }
.bk-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.bk-lines div[hidden] { display: none; }
.bk-lines dt { color: var(--clay); }
.bk-lines dd { margin: 0; }
.bk-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.75rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bone);
}
.bk-total span:first-child { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.bk-total span:last-child { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.bk-confirm { width: 100%; min-height: 52px; font-size: 1rem; cursor: pointer; }
.bk-fine { margin: 1rem 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--clay); }

/* ── Confirmation ── */
.bk-done { max-width: 44rem; padding: clamp(2rem, 6vw, 4rem) 0; outline: none; }
.bk-receipt { margin: 2rem 0; border-top: 1px solid rgba(241, 232, 220, 0.22); }
.bk-receipt div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(241, 232, 220, 0.22); }
.bk-receipt dt { color: var(--clay); }
.bk-receipt dd { margin: 0; text-align: right; }
.bk-done .plate__actions { justify-content: flex-start; }
.bk-link { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }

@media (max-width: 1000px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-summary { position: static; }
  .bk-row { grid-template-columns: 7rem minmax(0, 1fr) 8.5rem; }
  .bk-row__where { display: none; }
}
@media (max-width: 640px) {
  .bk-up__arrows { display: none; }
  .bk-daynav { grid-template-columns: minmax(0, 1fr); }
  .bk-arrow { display: none; }
  .bk-days { grid-auto-columns: 4.25rem; }
  .bk-board__head { padding-inline: 1rem; }
  .bk-row { grid-template-columns: 1fr; gap: 0.9rem; margin: 0 0.5rem; padding: 1.25rem 0.5rem; }
  .bk-row__time { display: flex; align-items: baseline; gap: 0.75rem; }
  .bk-row__time small { margin-top: 0; }
  .bk-row__act { flex-direction: row; align-items: center; justify-content: space-between; }
  .bk-row__act .hero-c__book { width: auto; flex: 1; }
  .bk-select select { min-width: 9.5rem; }
  .bk-fields { grid-template-columns: 1fr; }
  .bk-opt { padding: 0.9rem; gap: 0.75rem; }
  .bk-summary { padding: 1.35rem 1.1rem; }
  .bk-spot { width: 2.75rem; height: 2.75rem; }
  .bk-map--reformer .bk-spot { width: min(4.5rem, 100%); }
  .bk-next { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-day, .bk-spot, .bk-opt, .bk-arrow, .bk-steps button, .bk-steps__marker, .bk-steps li::after { transition: none; }
}

/* ── Booking summary: a white card with black stroke and black type ── */
.bk-summary {
  --ink: #0E0B0A;
  --ink-soft: rgba(14, 11, 10, 0.68);
  --ink-line: rgba(14, 11, 10, 0.18);
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--ink);
}
.bk-summary .plate__label { color: #6E4F22; }
.bk-summary__empty,
.bk-summary__day,
.bk-summary__who,
.bk-lines dt,
.bk-total span:first-child,
.bk-fine { color: var(--ink-soft); }
.bk-timeline { border-top-color: var(--ink-line); }
.bk-timeline li { border-bottom-color: var(--ink-line); }
.bk-timeline li span:last-child { color: var(--ink-soft); }
.bk-total { border-top-color: var(--ink); }
.bk-summary .bk-inline { color: var(--ink); }
.bk-summary .bk-inline:focus-visible,
.bk-summary .bk-confirm:focus-visible { outline-color: var(--ink); }
.kk-book .bk .bk-summary .hero-c__book {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 2px #fff;
}
.kk-book .bk .bk-summary .hero-c__book:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2px var(--ink);
}

/* ── Schedule hero: one full screen. Copy on the left, photo from the top of the window on the right,
      fading into the copy. The photo is placed against <main>, so it reaches the top and right edges. ── */
.kk-book main.bk { position: relative; }
.bk-steps { z-index: 1; }
.bk-hero {
  --bk-top: clamp(6.5rem, 14vh, 9rem);
  --bk-steps: calc(2.75rem + clamp(1.5rem, 4vw, 2.5rem));
  display: grid;
  align-items: center;
  /* with the top padding and the step tracker above it, the whole block is exactly one screen */
  min-height: calc(100vh - var(--bk-top) - var(--bk-steps));
  min-height: calc(100dvh - var(--bk-top) - var(--bk-steps));
  margin: 0;
  padding-bottom: 2rem;
}
.bk-hero .bk-head {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  margin: 0;
}
.bk-hero .bk-title { font-size: clamp(3rem, 7.4vw, 7rem); }
.bk-hero .bk-banner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 68vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 55%);
}
.bk-hero .bk-banner img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 86% 60%;
}
.bk-hero .bk-banner__shade {
  inset: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(14, 11, 10, 0.55) 0%, rgba(14, 11, 10, 0) 55%);
}
@media (max-width: 760px) {
  .bk-hero { align-items: end; }
  .bk-hero .bk-banner {
    left: 0;
    width: 100vw;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 82%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 82%);
  }
  .bk-hero .bk-banner__shade { background: linear-gradient(180deg, rgba(14, 11, 10, 0) 40%, rgba(14, 11, 10, 0.5) 100%); }
  .bk-hero .bk-title { font-size: clamp(2.8rem, 14vw, 4.2rem); }
}

/* ── Schedule board: a black panel on the red page. Children read --stage, so they follow. ── */
.bk-sched {
  --stage: var(--kiln);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(241, 232, 220, 0.3);
  border-radius: var(--container-radius);
  background: var(--stage);
  color: var(--bone);
}
.bk-sched > :first-child { margin-top: 0; }
@media (max-width: 640px) {
  .bk-sched { padding: 1rem; }
}

/* ── Upcoming classes: a red band the full width of the window. Copy stays on the page grid. ── */
.bk-up {
  --stage: var(--oxblood);
  margin: 0 calc(50% - 50vw);
  padding: clamp(3rem, 7vw, 5rem) calc(50vw - 50%);
  background: var(--stage);
  color: var(--bone);
}
.bk-sched { margin-top: clamp(2.5rem, 6vw, 4rem); }
