/* /book and /book-confirmed (Oct 14 2026). Mobile first: the whole step fits
   on a phone screen with the call bar showing, every answer is a big tap
   target, and nothing on the page competes with the next tap. Same ink on
   paper as the rest of the site. Without JavaScript the four steps simply
   stack; .bk-js (set by book.js) turns them into one-at-a-time. */

.bkf { padding-block: clamp(0.9rem, 3vw, 2.5rem) clamp(2rem, 5vw, 3.5rem); }
.bkf__wrap { max-width: 40rem; }

/* ---------- top: Dan & Dave, the promise, the stars ---------- */
.bkf__head { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; }
.bkf__pic { width: 4.6rem; height: 4.6rem; border-radius: 14px; object-fit: cover; }
.bkf__head .tag { margin: 0; }
.bkf__head h1 { font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.08; letter-spacing: -0.03em; margin-top: 0.3rem; }
.bkf__head h1 .serif { display: block; }
.bkf__stars { margin-top: 0.35rem; font-size: 0.82rem; color: var(--fg-2); }
.bkf__stars span { letter-spacing: 0.08em; color: var(--fg); }
@media (min-width: 640px) { .bkf__pic { width: 6rem; height: 6rem; } }

/* progress: a hairline that fills, only when steps are one at a time */
.bkf__bar { display: none; height: 3px; margin: 1.1rem 0 0; background: var(--rule-thin); border-radius: 3px; overflow: hidden; }
.bkf__bar span { display: block; height: 100%; width: 25%; background: var(--ink); transition: width .3s cubic-bezier(.16,1,.3,1); }
.bk-js .bkf__bar { display: block; }

/* ---------- the form ---------- */
.bkf__form { margin-top: 1.1rem; }
.bkf__step { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.bk-js .bkf__step { margin-bottom: 0; }
.bkf__q { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.15; padding: 0; margin-bottom: 0.9rem; }
.bkf__q:focus { outline: none; }
.bkf__n { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 0.35rem; }
.bkf__sub { margin: -0.4rem 0 1rem; color: var(--fg-2); font-size: 0.95rem; line-height: 1.5; }

/* big answers: the whole card is the tap target */
.bkf__opts { display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .bkf__opts { grid-template-columns: 1fr 1fr; } }
.bkf__opt, .bkf__asap, .bkf__win {
  position: relative; display: grid; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--rule-mid); border-radius: 14px;
  transition: border-color .15s, background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.bkf__opt { padding: 0.95rem 1.1rem; min-height: 4.25rem; align-content: center; gap: 0.15rem; }
.bkf__opt input, .bkf__asap input, .bkf__win input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bkf__optT { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.2; }
.bkf__optH { font-size: 0.86rem; color: var(--fg-2); line-height: 1.35; }
.bkf__opt:hover, .bkf__asap:hover, .bkf__win:hover { border-color: var(--ink); }
.bkf__opt:has(input:checked), .bkf__asap:has(input:checked), .bkf__win:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bkf__opt:has(input:checked) .bkf__optH, .bkf__asap:has(input:checked) .bkf__asapH { color: var(--on-ink-2); }
.bkf__opt:has(input:focus-visible), .bkf__asap:has(input:focus-visible), .bkf__win:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
/* the last choice spans both columns, so five cards don't leave a hole */
@media (min-width: 560px) { .bkf__opt:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- step 2 ---------- */
.bkf__field { display: grid; gap: 0.35rem; }
.bkf__field label { font-size: 0.86rem; font-weight: 700; }
.bkf__field input, .bkf__field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--fg);
  background: var(--paper); border: 1.5px solid var(--rule-mid); border-radius: 12px;
  padding: 0.8rem 0.9rem; min-height: 3.2rem;
}
.bkf__field textarea { resize: vertical; min-height: 5.2rem; font-size: 1rem; }
.bkf__field input:focus-visible, .bkf__field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.bkf__field [aria-invalid="true"] { border-color: var(--ink); border-width: 2px; background: #fff; }
.bkf__field--zip { margin-top: 0.9rem; }
.bkf__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.bkf__chip {
  font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--fg);
  background: var(--paper-2); border: 1px solid var(--rule-thin); border-radius: 999px;
  padding: 0.55rem 0.95rem; min-height: 44px; cursor: pointer;
}
.bkf__chip:hover { border-color: var(--ink); }
.bkf__zone { margin-top: 0.8rem; font-size: 0.92rem; line-height: 1.5; color: var(--fg-2); min-height: 1.4em; }
.bkf__zone:empty { display: none; }
.bkf__next { width: 100%; justify-content: center; margin-top: 1rem; }

/* ---------- step 3 ---------- */
.bkf__asap { padding: 0.95rem 1.1rem; gap: 0.15rem; }
.bkf__asapT { font-weight: 800; font-size: 1.08rem; }
.bkf__asapH { font-size: 0.86rem; color: var(--fg-2); }
.bkf__or { margin: 1.1rem 0 0.6rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }

.bkf__days { display: flex; gap: 0.45rem; overflow-x: auto; padding: 0.15rem 0.1rem 0.5rem; margin: 0 -0.1rem 0.4rem; scrollbar-width: none; }
.bkf__days::-webkit-scrollbar { display: none; }
.bkf__day {
  flex: 0 0 auto; display: grid; justify-items: center; gap: 0.05rem; min-width: 4.4rem;
  font: inherit; color: var(--fg); background: var(--paper); cursor: pointer;
  border: 1.5px solid var(--rule-mid); border-radius: 12px; padding: 0.5rem 0.55rem 0.45rem;
}
.bkf__dow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bkf__num { font-size: 1.35rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bkf__left { font-size: 0.7rem; color: var(--fg-3); }
.bkf__day[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bkf__day[aria-pressed="true"] .bkf__left { color: var(--on-ink-2); }
.bkf__day[data-full] { opacity: 0.55; }

.bkf__dayblock + .bkf__dayblock { margin-top: 1.1rem; }
.bkf__dayname { font-weight: 800; margin-bottom: 0.5rem; }
.bk-js .bkf__dayname { display: none; }
.bkf__wins { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.bkf__win { place-items: center; min-height: 3.4rem; font-weight: 800; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.bkf__full { color: var(--fg-2); font-size: 0.95rem; padding: 0.9rem 1rem; border: 1px dashed var(--rule-mid); border-radius: 12px; }

/* ---------- step 4 ---------- */
.bkf__recap { margin: -0.3rem 0 1rem; padding: 0.6rem 0.8rem; background: var(--paper-2); border-radius: 10px; font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.bkf__grid { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .bkf__grid { grid-template-columns: 1fr 1fr; } .bkf__field--wide { grid-column: 1 / -1; } }
.bkf__opt-l { font-weight: 500; color: var(--fg-3); font-size: 0.8rem; margin-left: 0.25rem; }
.bkf__file { font-size: 0.9rem; }
.bk-js .bkf__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bkf__photo { display: none !important; }
.bk-js .bkf__photo {
  display: grid !important; gap: 0.1rem; cursor: pointer;
  border: 1.5px dashed var(--rule-mid); border-radius: 12px; padding: 0.8rem 0.95rem;
}
.bk-js .bkf__photo:hover { border-color: var(--ink); }
.bk-js .bkf__field:has(.bkf__file:focus-visible) .bkf__photo { outline: 3px solid var(--ink); outline-offset: 1px; }
.bkf__photoT { font-weight: 700; font-size: 0.95rem; }
.bkf__photoH { font-size: 0.86rem; font-weight: 500; color: var(--fg-2); }
.bkf__submit { width: 100%; justify-content: center; margin-top: 1.2rem; min-height: 3.6rem; font-size: 0.92rem; }
.bkf__submit[disabled] { opacity: 0.6; cursor: wait; }
.bkf__fine { margin-top: 0.6rem; font-size: 0.82rem; color: var(--fg-3); text-align: center; }

.bkf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bkf__form { position: relative; }

/* errors */
.bkf__alert { margin-bottom: 1rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 0.95rem; line-height: 1.5; }
.bkf__alert a { color: var(--paper); font-weight: 800; white-space: nowrap; text-decoration: underline; }
.bkf__err { font-size: 0.86rem; font-weight: 700; line-height: 1.4; margin-top: 0.3rem; }
.bkf__err::before { content: '\2192\00a0'; }

/* back */
.bkf__nav { margin-top: 1.1rem; }
.bkf__back { font: inherit; font-size: 0.92rem; font-weight: 700; color: var(--fg-2); background: none; border: 0; padding: 0.6rem 0; min-height: 44px; cursor: pointer; }
.bkf__back:hover { color: var(--fg); }

.bkf__talk { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-thin); font-size: 0.92rem; color: var(--fg-2); }
.bkf__talk a { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- what happens next ---------- */
.bkf-next { padding-block: clamp(2rem, 5vw, 3.5rem); }
.bkf-next__in { display: grid; gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 860px) { .bkf-next__in { grid-template-columns: 1fr 1fr; } }
.bkf-next__list { list-style: none; padding: 0; margin: 0.9rem 0 0; display: grid; gap: 0.7rem; }
.bkf-next__list li { display: flex; gap: 0.75rem; align-items: baseline; line-height: 1.45; }
.bkf-next__list span { flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 0.8rem; font-weight: 800; transform: translateY(0.1rem); }

/* ---------- /book-confirmed ---------- */
.bkd { padding-block: clamp(1.2rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.bkd__in { display: grid; gap: 1.5rem; }
.bkd__copy h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; margin-top: 0.6rem; }
.bkd__copy h1 .serif { display: block; }
.bkd__sum { margin: 1.3rem 0 0; display: grid; gap: 0.1rem; border: 1px solid var(--rule-thin); border-radius: 14px; padding: 0.4rem 1rem; background: var(--paper-2); }
.bkd__sum div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; padding: 0.55rem 0; }
.bkd__sum div + div { border-top: 1px solid var(--rule-thin); }
.bkd__sum dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); padding-top: 0.15rem; }
.bkd__sum dd { margin: 0; font-weight: 700; }
.bkd__note { margin-top: 1rem; color: var(--fg-2); max-width: 40ch; }
.bkd__urgent { margin-top: 0.8rem; font-size: 0.92rem; color: var(--fg-2); }
.bkd__urgent a { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bkd__steps { margin-top: 1.4rem; }
.bkd__home { margin-top: 1.6rem; }
.bkd__team { margin: 0; }
.bkd__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.bkd__team figcaption { margin-top: 0.6rem; font-size: var(--step--1); line-height: 1.45; color: var(--fg-2); }
.bkd__team figcaption strong { color: var(--fg); }
/* phone: the photo right under the headline, so the faces are on the first screen */
@media (max-width: 899px) {
  .bkd__in { display: flex; flex-direction: column; gap: 0; }
  .bkd__team { margin: 1.1rem 0 0.2rem; }
  .bkd__copy { display: contents; }
  .bkd__copy > .tag, .bkd__copy > h1 { order: 0; }
  .bkd__team { order: 1; }
  .bkd__copy > :not(.tag):not(h1) { order: 2; }
  .bkd__sum { margin-top: 0.2rem; }
}
@media (min-width: 900px) {
  .bkd__in { grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
}
