/* Nexivius — the booking page (/contact). Only contact.html loads this sheet.
   The hero is the booking itself: a card with what the consultation is on the left (filling
   in "Your booking" as the visitor chooses) and the four-step form on the right. Below it,
   "What happens after you book" plays four scenes in a window beside a step list, then the
   shared FAQ and closing card. Code: contact.js. */

/* ---------- Hero ---------- */
.bk-hero {
  padding-top: clamp(24px, 2.8vw, 40px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.bk-hero .crumbs {
  margin-bottom: 16px;
}
.bk-hero .eyebrow {
  margin-bottom: 12px;
}
.bk-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(24px, 2.4vw, 32px);
}
.bk-title {
  font-size: clamp(44px, 5.2vw, 76px);
  text-wrap: nowrap;
}
.bk-top .lead {
  justify-self: end;
  max-width: 42ch;
  padding-bottom: 8px;
}

/* ---------- The booking card ---------- */
.bk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--hdr) + 20px);
}

/* What the consultation is, on the site's dark consultation panel (a dotted grid, and the
   globe from the closing card and the emails rising in the corner), with the visitor's
   booking so far underneath */
.bk-info {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 34px 34px 32px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.bk-info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(200deg, transparent 30%, #000 100%);
}
/* The globe is the email header's render of the closing card (its black is the site's black) */
.bk-info::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/assets/img/email/hero.jpg) no-repeat right -133px top -137px / 700px auto;
  pointer-events: none;
}
.bk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bk-brand svg {
  width: 32px;
  height: 32px;
  padding: 9px 8px;
  border-radius: 10px;
  background: #fff;
  fill: var(--ink);
}
.bk-info__title {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.bk-meta {
  margin-top: 24px;
  display: grid;
  gap: 11px;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.bk-meta li {
  display: flex;
  align-items: center;
  gap: 13px;
}
.bk-meta svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--orange);
}

/* Your booking: fills in as they choose, row by row */
.bk-sum {
  margin-top: auto;
  padding-top: 26px;
}
.bk-sum__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-dark);
}
.bk-sum__head em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted-dark);
  white-space: nowrap;
  transition: color 0.35s, border-color 0.35s, background 0.35s;
}
.bk-sum__head em::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a5a5a;
  transition: background 0.35s;
}
.bk-sum[data-state="ready"] .bk-sum__head em {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.bk-sum[data-state="ready"] .bk-sum__head em::before {
  background: #fff;
}
.bk-sum[data-state="sent"] .bk-sum__head em {
  color: #ff9a72;
  border-color: rgba(255, 90, 31, 0.45);
  background: rgba(255, 90, 31, 0.12);
}
.bk-sum[data-state="sent"] .bk-sum__head em::before {
  background: var(--orange);
}
.bk-sum dl {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  overflow: hidden;
}
.bk-sum dl > div {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bk-sum dl > div:first-child {
  border-top: 0;
}
/* A row lights up softly as it fills in */
.bk-sum dl > div::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 90, 31, 0.16);
  opacity: 0;
  pointer-events: none;
}
.bk-sum dl > div.is-flash::after {
  animation: bk-flash 1.1s var(--ease-out);
}
@keyframes bk-flash {
  from {
    opacity: 1;
  }
}
.bk-sum dt {
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  color: #8b8b8b;
}
.bk-sum dd {
  min-width: 0;
  color: #6f6f6f;
  overflow-wrap: anywhere;
}
.bk-sum .is-set dd {
  color: #fff;
  font-weight: 500;
}
.bk-sum dd small {
  display: block;
  min-height: 2.9em;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #6f6f6f;
}
.bk-sum .is-set dd small {
  color: var(--muted-dark);
}

/* ---------- The form ---------- */
.bk-form {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 44px 30px;
}

/* Stepper: each step's circle fills as it's done, and the line to the next one fills orange */
.bk-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  margin: 0;
}
.bk-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.35s;
}
.bk-steps li:last-child {
  padding-right: 0;
}
.bk-steps li::after {
  content: "";
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: var(--line) linear-gradient(var(--orange), var(--orange)) no-repeat left / 0% 100%;
  transition: background-size 0.5s var(--ease-out);
}
.bk-steps li:last-child::after {
  display: none;
}
.bk-steps i {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  font-style: normal;
  font-size: 12px;
  color: var(--muted-2);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.bk-steps i > * {
  grid-area: 1 / 1;
}
.bk-steps i b {
  font-weight: 600;
  transition: opacity 0.2s;
}
.bk-steps i svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s, transform 0.35s var(--ease-out);
}
.bk-steps span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bk-steps .is-cur,
.bk-steps .is-done {
  color: var(--ink);
}
.bk-steps .is-cur i {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.07);
}
.bk-steps .is-done {
  cursor: pointer;
}
.bk-steps .is-done i {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.bk-steps .is-done i b {
  opacity: 0;
}
.bk-steps .is-done i svg {
  opacity: 1;
  transform: none;
}
.bk-steps .is-done::after {
  background-size: 100% 100%;
}

.bk-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 30px 0 0;
  border: 0;
}
.bk-step.is-active {
  display: block;
  animation: bk-in 0.5s var(--ease-out);
}
@keyframes bk-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.bk-step__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.bk-step__h:focus {
  outline: none;
}
.bk-step__p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--muted);
}

/* Step 1: what they want to talk about. A picked card fills with ink from where it was
   clicked, like the site's line cards. */
.bk-picks {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bk-pick {
  position: relative;
  display: block;
  cursor: pointer;
}
.bk-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bk-pick__box {
  --px: 39px;
  --py: 39px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 16px;
  height: 100%;
  padding: 20px 20px 22px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.bk-pick__box::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--ink);
  clip-path: circle(0% at var(--px) var(--py));
  transition: clip-path 0.6s var(--ease-out);
}
@media (hover: hover) {
  .bk-pick:hover .bk-pick__box {
    border-color: var(--line-2);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -24px rgba(10, 10, 10, 0.38);
  }
  .bk-pick:hover .bk-pick__ico {
    border-color: #ffd3c0;
    background: var(--orange-soft);
    color: var(--orange-deep);
  }
}
.bk-pick__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.bk-pick__ico svg {
  width: 18px;
  height: 18px;
}
.bk-pick__tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 8px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  transition: background 0.25s, border-color 0.25s;
}
.bk-pick__tick svg {
  width: 13px;
  height: 13px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
}
.bk-pick__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  transition: color 0.35s;
}
.bk-pick__desc {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.35s;
}
.bk-pick input:checked + .bk-pick__box {
  border-color: var(--ink);
}
.bk-pick input:checked + .bk-pick__box::before {
  clip-path: circle(150% at var(--px) var(--py));
}
.bk-pick input:checked + .bk-pick__box .bk-pick__name {
  color: #fff;
}
.bk-pick input:checked + .bk-pick__box .bk-pick__desc {
  color: var(--muted-dark);
}
.bk-pick input:checked + .bk-pick__box .bk-pick__ico {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.bk-pick input:checked + .bk-pick__box .bk-pick__tick {
  background: var(--orange);
  border-color: var(--orange);
}
.bk-pick input:checked + .bk-pick__box .bk-pick__tick svg {
  opacity: 1;
  transform: none;
}
.bk-pick input:focus-visible + .bk-pick__box {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Steps 2 and 3: fields and pills */
.bk-fields {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
@container (min-width: 700px) {
  .bk-fields--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.bk-field--full {
  grid-column: 1 / -1;
}
.bk-field label,
.bk-label {
  font-size: 13px;
  font-weight: 500;
}
.bk-field label small,
.bk-label small {
  font-weight: 400;
  color: var(--muted-2);
}
.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.bk-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.bk-field textarea {
  height: 128px;
  padding: 13px 15px;
  line-height: 1.5;
  resize: vertical;
}
.bk-field input:hover,
.bk-field select:hover,
.bk-field textarea:hover {
  border-color: var(--line-2);
}
.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.12);
}
.bk-field.is-invalid input,
.bk-field.is-invalid select,
.bk-field.is-invalid textarea {
  border-color: var(--orange-deep);
  background-color: #fff7f3;
}
.bk-field__err {
  display: none;
  font-size: 12.5px;
  color: var(--orange-deep);
}
.bk-field.is-invalid .bk-field__err {
  display: block;
}
.bk-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bk-pill {
  position: relative;
  cursor: pointer;
}
.bk-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bk-pill span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bk-pill span:hover {
  border-color: var(--line-2);
  background: var(--paper-2);
}
.bk-pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.bk-pill input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Step 4: a month to pick a day from, and that day's times */
.bk-sched {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.bk-cal {
  padding: 15px 18px 16px;
}
.bk-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.bk-cal__head b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bk-cal__btns {
  display: flex;
  gap: 6px;
}
.bk-cal__btns button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.bk-cal__btns button:hover:not(:disabled) {
  border-color: var(--ink);
}
.bk-cal__btns button:disabled {
  opacity: 0.35;
  cursor: default;
}
.bk-cal__btns svg {
  width: 14px;
  height: 14px;
}
.bk-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  text-align: center;
}
.bk-cal__dow {
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-2);
}
.bk-cal__day {
  position: relative;
  height: 38px;
  border-radius: 10px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: #bdb9b1;
  transition: background 0.2s, color 0.2s;
}
.bk-cal__day:not(:disabled) {
  color: var(--ink);
  font-weight: 600;
}
.bk-cal__day:not(:disabled):hover {
  background: var(--paper-2);
}
.bk-cal__day:not(:disabled)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
}
.bk-cal__day:disabled {
  cursor: default;
}
.bk-cal__day.is-today {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.bk-cal__day.is-sel {
  background: var(--ink);
  color: #fff;
}
.bk-cal__day.is-sel::after {
  background: #fff;
}
.bk-times {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 16px 16px;
  border-left: 1px solid var(--line);
  background: var(--paper-2);
}
.bk-times__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.bk-times__head b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.bk-times__head small {
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: right;
}
.bk-times__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 6px;
  max-height: 258px;
  overflow-y: auto;
  padding: 2px;
  overscroll-behavior: contain;
}
.bk-time {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.bk-time:hover {
  border-color: var(--ink);
}
.bk-time.is-sel {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.bk-times__empty {
  grid-column: 1 / -1;
  padding: 26px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.bk-picked {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 14px;
}
.bk-picked svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--orange);
}
.bk-err {
  display: none;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--orange-deep);
}
.bk-err.is-on {
  display: block;
}
.bk-err a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Back and Continue sit at the foot of the card, whichever step is open */
.bk-nav {
  margin-top: auto;
  padding-top: 28px;
}
.bk-nav__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bk-nav__note {
  display: none;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}
.bk-nav__note svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
}
.bk-form[data-at="1"] .bk-nav__note {
  display: inline-flex;
}
.bk-form[data-at="1"] .bk-back {
  display: none;
}
.bk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}
.bk-back:hover {
  color: var(--ink);
}
.bk-back svg {
  width: 16px;
  height: 16px;
}
.bk-back[hidden] {
  display: inline-flex;
  visibility: hidden;
}
.bk-legal {
  display: none;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
}
.bk-form:not([data-at="1"]) .bk-legal {
  display: block;
}
.bk-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 2px;
}
.bk-legal a:hover {
  color: var(--ink);
  text-decoration-color: var(--orange);
}

/* Sent: what happens next, in order */
.bk-done {
  display: none;
  padding: 6px 0 2px;
}
.bk-done:focus {
  outline: none;
}
.bk-done.is-active {
  display: block;
  animation: bk-in 0.6s var(--ease-out);
}
.bk-form.is-done .bk-steps,
.bk-form.is-done .bk-nav {
  display: none;
}
.bk-done__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 8px var(--orange-soft);
}
.bk-done__icon svg {
  width: 24px;
  height: 24px;
}
.bk-done__icon path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: bk-draw 0.7s 0.25s var(--ease-out) forwards;
}
@keyframes bk-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.bk-done .bk-step__p {
  max-width: 52ch;
}
.bk-done .bk-step__p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.bk-next {
  margin-top: 22px;
  display: grid;
  max-width: 520px;
}
.bk-next li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 16px;
  animation: bk-rise 0.5s var(--ease-out) both;
  animation-delay: calc(0.35s + var(--k, 0) * 0.12s);
}
@keyframes bk-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bk-next li:nth-child(2) {
  --k: 1;
}
.bk-next li:nth-child(3) {
  --k: 2;
}
.bk-next li:nth-child(4) {
  --k: 3;
}
.bk-next li:last-child {
  padding-bottom: 0;
}
.bk-next li::before {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 24px;
  bottom: 2px;
  width: 1px;
  background: var(--line-2);
}
.bk-next li:last-child::before {
  display: none;
}
.bk-next i {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: #fff;
}
.bk-next .is-done i {
  border-color: var(--orange);
  background: var(--orange);
}
.bk-next .is-done i::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5.5px;
  width: 8px;
  height: 4.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.bk-next .is-cur i {
  border-color: var(--ink);
}
.bk-next .is-cur i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--ink);
}
.bk-next b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.015em;
}
.bk-next span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}
.bk-done__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bk-mail {
  margin-top: 20px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}
.bk-mail a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.2s, border-color 0.2s;
}
.bk-mail a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- What happens after you book ----------
   A step list beside a window that plays each step as a short scene. Inside the window 1em
   scales with its width, so the scenes read the same at any size. Each scene builds itself
   with CSS animations while it's on (and keeps its last frame while the next one wipes in
   over it); contact.js moves between them, and pauses everything off screen. */
.bk-tour {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.55fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.bk-tour .eyebrow {
  margin-bottom: 22px;
}
.bk-tour .h2 {
  font-size: clamp(38px, 4.1vw, 58px);
}
.bk-tour__lead {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 17px;
  color: var(--muted-dark);
}
.bk-tour__list {
  margin-top: 30px;
  display: grid;
  gap: 2px;
}
.bk-tour__list button {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  width: 100%;
  padding: 13px 16px 15px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-align: left;
  color: var(--muted-dark);
  overflow: hidden;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.bk-tour__list button:hover {
  color: #fff;
}
.bk-tour__list button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.bk-tour__n {
  padding-top: 3px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #6f6f6f;
  transition: color 0.35s;
}
.bk-tour__list [aria-pressed="true"] .bk-tour__n {
  color: var(--orange);
}
.bk-tour__t b {
  display: block;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.bk-tour__d {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.bk-tour__d > span {
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted-dark);
}
.bk-tour__list [aria-pressed="true"] .bk-tour__d {
  grid-template-rows: 1fr;
}
.bk-tour__list [aria-pressed="true"] .bk-tour__d > span {
  padding-top: 5px;
}
/* The open step's line fills while its scene plays */
.bk-tour__bar {
  position: absolute;
  left: 14px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.bk-tour.is-playing [aria-pressed="true"] .bk-tour__bar {
  opacity: 1;
}
.bk-tour__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.bk-tour.is-playing [aria-pressed="true"] .bk-tour__bar::after {
  animation: bk-bar var(--dur, 5s) linear forwards;
}
@keyframes bk-bar {
  to {
    transform: none;
  }
}

.bk-tour__stage {
  position: relative;
  perspective: 1800px;
}
.bk-tour__glow {
  position: absolute;
  inset: 8% 4% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.16), rgba(255, 90, 31, 0));
  pointer-events: none;
}
.bk-win {
  position: relative;
  container-type: inline-size;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #ececec;
  overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.04);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform 0.7s var(--ease-out);
}
.bk-win__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: #f6f6f4;
  border-bottom: 1px solid #ececec;
}
.bk-win__dots {
  display: flex;
  gap: 6px;
}
.bk-win__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcdcdc;
}
.bk-win__dots i:first-child {
  background: var(--orange);
}
.bk-win__crumb {
  font-size: 12px;
  font-weight: 500;
  color: #7b7b7b;
}
.bk-win__tag {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #e3e1dc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.bk-win__body {
  position: relative;
  aspect-ratio: 16 / 9.4;
  font-size: calc(100cqi / 60);
  line-height: 1.4;
  background: #fbfaf8;
  overflow: hidden;
}

/* Scenes: the open one wipes in from the step list's side over the last one */
.bk-sc {
  position: absolute;
  inset: 0;
  background: #fbfaf8;
  visibility: hidden;
  clip-path: circle(0% at 0% 50%);
}
.bk-sc.is-on {
  z-index: 2;
  visibility: visible;
  clip-path: circle(150% at 0% 50%);
  transition: clip-path 0.9s var(--ease-wipe);
}
.bk-sc.is-prev {
  z-index: 1;
  visibility: visible;
  clip-path: none;
}
.bk-tour.is-cut .bk-sc,
.bk-tour.is-static .bk-sc {
  transition: none !important;
}
.bk-tour.is-paused .bk-sc *,
.bk-tour.is-paused .bk-sc *::before,
.bk-tour.is-paused .bk-sc *::after {
  animation-play-state: paused !important;
}
/* With reduced motion each scene shows how it ends */
.bk-tour.is-static .bk-sc *,
.bk-tour.is-static .bk-sc *::before,
.bk-tour.is-static .bk-sc *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
}
/* The pieces of a scene rise in at their own moment (--at), once */
.bk-sc .bk-up {
  opacity: 0;
}
.bk-sc:is(.is-on, .is-prev) .bk-up {
  animation: bk-up 0.6s var(--ease-out) var(--at, 0s) both;
}
@keyframes bk-up {
  from {
    opacity: 0;
    transform: translateY(0.9em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Emails, as the real ones look: a black header with the wordmark, then a white card */
.bk-ml {
  border-right: 1px solid #ececec;
  background: #fff;
}
.bk-ml__row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15em 0.6em;
  padding: 0.95em 1.1em 0.95em 1.7em;
  border-bottom: 1px solid #f0efeb;
  color: #a3a3a3;
}
.bk-ml__row b {
  font-size: 1em;
  font-weight: 600;
  color: #707070;
}
.bk-ml__row time {
  font-size: 0.82em;
}
.bk-ml__row span {
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 0.92em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bk-ml__row--new,
.bk-ml__row--new b {
  color: var(--ink);
}
.bk-ml__row--new span {
  white-space: normal;
}
.bk-ml__row--new > i {
  position: absolute;
  left: 0.7em;
  top: 1.35em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--orange);
}
.bk-ml__row--new::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f6f4f0;
  box-shadow: inset 0.2em 0 0 var(--orange);
  opacity: 0;
}
.bk-sc:is(.is-on, .is-prev) .bk-ml__row--new {
  animation: bk-row 0.6s var(--ease-out) 0.25s both;
}
.bk-sc:is(.is-on, .is-prev) .bk-ml__row--new::before {
  animation: bk-fade 0.4s var(--ease-out) 0.95s both;
}
@keyframes bk-row {
  from {
    opacity: 0;
    transform: translateX(-12%);
  }
}
@keyframes bk-fade {
  to {
    opacity: 1;
  }
}
.bk-read {
  min-width: 0;
  padding: 1.3em 1.6em;
  overflow: hidden;
}
.bk-read__from {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.bk-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9em;
  font-weight: 600;
}
.bk-read__from b {
  display: block;
  font-size: 1em;
}
.bk-read__from small {
  display: block;
  font-size: 0.82em;
  color: #8b8b8b;
}
.bk-read__from time {
  margin-left: auto;
  font-size: 0.82em;
  color: #8b8b8b;
}
.bk-read__subj {
  margin-top: 0.75em;
  font-size: 1.22em;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.bk-em {
  margin-top: 0.9em;
  border: 1px solid #ebe9e4;
  border-radius: 0.9em;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0.8em 2em -1.4em rgba(0, 0, 0, 0.25);
}
.bk-em__head {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.3em;
  padding: 0 1.3em;
  background: var(--ink);
  overflow: hidden;
}
.bk-em__mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.42em;
  padding-bottom: 0.32em;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.24em;
}
.bk-em__mark svg {
  width: 2.2em;
  height: 1.85em;
  margin-bottom: -0.32em;
  fill: currentColor;
}
.bk-em__mark::after {
  content: "";
  position: absolute;
  left: 2.6em;
  right: -0.1em;
  bottom: 0;
  height: 0.13em;
  border-radius: 1em;
  background: var(--orange);
}
.bk-em__mark--ink {
  color: var(--ink);
}
.bk-em__globe {
  position: absolute;
  right: -1.6em;
  top: -2.4em;
  width: 8.5em;
  height: 8.5em;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 255, 255, 0.4) 0.05em, transparent 0.07em) 0 0 / 0.45em 0.45em;
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 70%);
  mask-image: radial-gradient(circle, #000 52%, transparent 70%);
  opacity: 0.55;
}
.bk-em__globe::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.5), rgba(255, 90, 31, 0));
}
.bk-em__card {
  padding: 1.15em 1.4em 1.3em;
}
.bk-em__eye {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.82em;
  font-weight: 500;
  color: #6b6b6b;
}
.bk-em__eye::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--orange);
}
.bk-em__h {
  margin-top: 0.45em;
  font-family: var(--font-serif);
  font-size: 1.7em;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.bk-em__h > span:last-child {
  display: block;
  color: var(--muted-2);
}
.bk-em__p {
  margin-top: 0.6em;
  max-width: 34em;
  font-size: 0.92em;
  color: #5c5c5c;
}
.bk-em__date {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin-top: 0.9em;
  padding: 0.6em 0.7em;
  border: 1px solid #ebe9e4;
  border-radius: 0.7em;
  background: #fbfaf8;
}
.bk-tile {
  flex: none;
  width: 3.1em;
  overflow: hidden;
  border: 1px solid #e6e3dd;
  border-radius: 0.5em;
  background: #fff;
  text-align: center;
}
.bk-tile i {
  display: block;
  padding: 0.12em 0;
  background: var(--orange);
  color: #fff;
  font-style: normal;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bk-tile b {
  display: block;
  font-size: 1.3em;
  line-height: 1.2;
}
.bk-tile em {
  display: block;
  padding-bottom: 0.2em;
  font-style: normal;
  font-size: 0.68em;
  color: #8b8b8b;
}
.bk-em__date > span:last-child b {
  display: block;
  font-size: 1em;
}
.bk-em__date small {
  display: block;
  font-size: 0.82em;
  color: #7b7b7b;
}
.bk-em__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 1.2em;
  margin-top: 0.9em;
  font-size: 0.82em;
  color: #5c5c5c;
}
.bk-em__steps li {
  display: inline-flex;
  gap: 0.45em;
}
.bk-em__steps i {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}
.bk-em__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  margin-top: 0.9em;
  padding: 0 1.15em;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.92em;
  font-weight: 600;
}
.bk-em__btn svg {
  width: 1em;
  height: 1em;
}
.bk-sc:is(.is-on, .is-prev) .bk-em__btn {
  animation: bk-up 0.6s var(--ease-out) 1.1s both, bk-nudge 0.7s var(--ease-out) 1.9s;
}
@keyframes bk-nudge {
  40% {
    transform: scale(1.06);
  }
}
.bk-em__att {
  display: flex;
  align-items: center;
  gap: 0.55em;
  width: fit-content;
  margin-top: 0.9em;
  padding: 0.5em 0.75em;
  border: 1px solid #ebe9e4;
  border-radius: 0.6em;
  font-size: 0.82em;
}
.bk-em__att svg {
  width: 1.2em;
  height: 1.2em;
  color: var(--orange);
}
.bk-em__att small {
  color: #8b8b8b;
}

/* Scene 1: the receipt in an inbox */
.bk-sc--mail {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
}

/* Scene 2: confirmed, and the call lands in their calendar */
.bk-sc--conf {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
}
.bk-read--conf {
  border-right: 1px solid #ececec;
  background: #fff;
}
.bk-wk {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15em 1.1em 1.1em 0.6em;
}
.bk-wk__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-left: 0.5em;
}
.bk-wk__head b {
  font-size: 1.05em;
  font-weight: 600;
}
.bk-wk__head span {
  font-size: 0.8em;
  color: #8b8b8b;
}
.bk-wk__days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0.8em 0 0 3em;
  font-size: 0.76em;
  color: #8b8b8b;
  text-align: center;
}
.bk-wk__days b {
  display: block;
  width: 1.9em;
  height: 1.9em;
  margin: 0.15em auto 0;
  border-radius: 50%;
  font-size: 1.3em;
  line-height: 1.9em;
  color: var(--ink);
}
.bk-wk__days .is-on b {
  background: var(--orange);
  color: #fff;
}
.bk-wk__grid {
  position: relative;
  flex: 1;
  margin: 0.6em 0 0 3em;
  border-top: 1px solid #ecebe7;
  background:
    repeating-linear-gradient(to bottom, transparent 0 calc(20% - 1px), #ecebe7 calc(20% - 1px) 20%),
    repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), #f1efeb calc(25% - 1px) 25%);
}
.bk-wk__hr {
  position: absolute;
  left: -3.6em;
  top: calc(var(--h) * 20%);
  font-size: 0.72em;
  color: #a3a3a3;
  transform: translateY(-50%);
}
.bk-wk__ev {
  position: absolute;
  top: calc(var(--t) * 20% + 2px);
  left: calc(var(--d) * 25% + 3px);
  width: calc(25% - 6px);
  height: calc(var(--l) * 20% - 4px);
  padding: 0.3em 0.45em;
  overflow: hidden;
  border-radius: 0.4em;
  background: #efede8;
  box-shadow: inset 0.16em 0 0 #c9c5bc;
  font-size: 0.7em;
  line-height: 1.25;
  color: #6b6b6b;
}
.bk-wk__ev--new {
  z-index: 1;
  background: var(--orange-soft);
  box-shadow: inset 0.16em 0 0 var(--orange), 0 0.6em 1.2em -0.8em rgba(229, 71, 15, 0.6);
  color: var(--orange-deep);
}
.bk-wk__ev--new b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.bk-sc:is(.is-on, .is-prev) .bk-wk__ev--new {
  animation: bk-drop 0.7s var(--ease-out) 2.1s both;
}
@keyframes bk-drop {
  from {
    opacity: 0;
    transform: translateY(-40%) scale(0.9);
  }
}
.bk-wk__now {
  position: absolute;
  left: calc(var(--d, 0) * 25%);
  width: 25%;
  top: calc(var(--t) * 20%);
  height: 1px;
  background: rgba(255, 90, 31, 0.55);
}
.bk-wk__now::before {
  content: "";
  position: absolute;
  left: -0.25em;
  top: -0.22em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--orange);
}
.bk-wk__toast {
  position: absolute;
  left: 50%;
  bottom: 1.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.95em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82em;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}
.bk-wk__toast svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--orange);
}
.bk-sc .bk-wk__toast {
  opacity: 0;
}
.bk-sc:is(.is-on, .is-prev) .bk-wk__toast {
  animation: bk-toast 0.6s var(--ease-out) 2.75s both;
}
@keyframes bk-toast {
  from {
    opacity: 0;
    transform: translate(-50%, 0.8em);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

/* Scene 3: the call, its 30 minutes running through the agenda */
.bk-sc--call {
  padding: 1.5em 1.7em;
}
.bk-call {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bk-call__head {
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.bk-call__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 1.9em;
  padding: 0 0.75em;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bk-call__live i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--orange);
}
.bk-sc:is(.is-on, .is-prev) .bk-call__live i {
  animation: bk-blink 1.2s ease-in-out infinite;
}
@keyframes bk-blink {
  50% {
    opacity: 0.25;
  }
}
.bk-call__head > b {
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bk-call__clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.bk-call__clock b {
  font-size: 1.3em;
  font-weight: 600;
}
.bk-call__clock small {
  margin-left: 0.3em;
  color: #8b8b8b;
}
.bk-call__who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  margin-top: 1em;
}
.bk-call__p {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 1em 0.4em 0.4em;
  border: 1px solid #ebe9e4;
  border-radius: 999px;
  background: #fff;
}
.bk-call__p > i {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: #efede8;
  font-style: normal;
  font-size: 0.8em;
  font-weight: 600;
  color: #5c5c5c;
}
.bk-call__p > i.is-nx {
  background: var(--ink);
}
.bk-call__p > i svg {
  width: 1.1em;
  height: 0.95em;
  fill: #fff;
}
.bk-call__p b {
  display: block;
  font-size: 0.92em;
}
.bk-call__p small {
  display: block;
  font-size: 0.76em;
  color: #8b8b8b;
}
.bk-call__track {
  position: relative;
  height: 0.36em;
  margin: 1.9em 0.2em 0;
  border-radius: 999px;
  background: #e9e6e0;
}
.bk-call__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.bk-sc:is(.is-on, .is-prev) .bk-call__fill {
  animation: bk-bar 4.2s linear 0.4s both;
}
.bk-call__track span {
  position: absolute;
  top: 0.9em;
  left: calc(var(--x) * 100%);
  font-size: 0.74em;
  font-variant-numeric: tabular-nums;
  color: #8b8b8b;
  transform: translateX(-50%);
}
.bk-call__track span:first-of-type {
  transform: none;
}
.bk-call__track span:last-of-type {
  transform: translateX(-100%);
}
.bk-call__agenda {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0.8em;
  margin-top: 2.5em;
}
.bk-call__notes {
  margin-top: 0.8em;
  padding: 1em 1.2em 1.1em;
  border: 1px solid #ebe9e4;
  border-radius: 0.8em;
  background: #fff;
}
.bk-call__nh {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8b8b8b;
}
.bk-call__nh svg {
  width: 1.25em;
  height: 1.25em;
  color: var(--orange);
}
.bk-call__notes ul {
  display: grid;
  gap: 0.5em;
  margin-top: 0.75em;
  font-size: 1em;
}
.bk-call__notes li {
  position: relative;
  padding-left: 1.1em;
  color: #3d3d3d;
}
.bk-call__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--orange);
}
.bk-call__agenda li {
  position: relative;
  padding: 1em 1.1em 1.15em;
  border: 1px solid #ebe9e4;
  border-radius: 0.8em;
  background: #fff;
}
/* The part of the call that's running gets an ink outline; each part ticks off as it ends */
.bk-call__agenda li::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1.5px solid var(--ink);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.bk-call__agenda small {
  display: block;
  font-size: 0.76em;
  font-variant-numeric: tabular-nums;
  color: #8b8b8b;
}
.bk-call__agenda b {
  display: block;
  margin-top: 0.45em;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bk-call__agenda span {
  display: block;
  margin-top: 0.35em;
  font-size: 0.9em;
  line-height: 1.45;
  color: #5c5c5c;
}
.bk-call__tick {
  position: absolute;
  top: 0.85em;
  right: 0.85em;
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  opacity: 0;
}
.bk-call__tick svg {
  width: 0.9em;
  height: 0.9em;
}
.bk-sc:is(.is-on, .is-prev) .bk-call__agenda li::before {
  animation: bk-run 1.4s linear both;
}
.bk-sc:is(.is-on, .is-prev) .bk-call__agenda li:nth-child(1)::before {
  animation-delay: 0.4s;
}
.bk-sc:is(.is-on, .is-prev) .bk-call__agenda li:nth-child(2)::before {
  animation-delay: 1.8s;
}
.bk-sc:is(.is-on, .is-prev) .bk-call__agenda li:nth-child(3)::before {
  animation-delay: 3.2s;
}
@keyframes bk-run {
  0%,
  100% {
    opacity: 0;
  }
  8%,
  92% {
    opacity: 1;
  }
}
.bk-sc:is(.is-on, .is-prev) .bk-call__tick {
  animation: bk-tick 0.45s var(--ease-out) both;
}
.bk-sc:is(.is-on, .is-prev) li:nth-child(1) .bk-call__tick {
  animation-delay: 1.8s;
}
.bk-sc:is(.is-on, .is-prev) li:nth-child(2) .bk-call__tick {
  animation-delay: 3.2s;
}
.bk-sc:is(.is-on, .is-prev) li:nth-child(3) .bk-call__tick {
  animation-delay: 4.6s;
}
@keyframes bk-tick {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Scene 4: the written outline */
.bk-sc--doc {
  display: grid;
  place-items: center;
  padding: 1.4em;
  background: #efede8;
}
.bk-doc {
  position: relative;
  width: min(100%, 35em);
  font-size: 1.12em;
}
.bk-doc__page {
  padding: 1.3em 1.8em 1.5em;
  border-radius: 0.6em;
  background: #fff;
  box-shadow: 0 1.2em 2.4em -1.4em rgba(0, 0, 0, 0.3);
}
.bk-sc:is(.is-on, .is-prev) .bk-doc__page {
  animation: bk-up 0.7s var(--ease-out) 0.15s both;
}
.bk-doc__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9em;
  border-bottom: 1px solid #efede8;
  font-size: 0.78em;
  color: #8b8b8b;
}
.bk-doc__top .bk-em__mark {
  font-size: 0.85em;
}
.bk-doc__h {
  margin-top: 0.85em;
  font-family: var(--font-serif);
  font-size: 1.7em;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bk-doc__for {
  margin-top: 0.25em;
  font-size: 0.88em;
  color: #7b7b7b;
}
.bk-doc__sec {
  position: relative;
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 0.9em;
  margin-top: 0.85em;
  font-size: 0.9em;
}
.bk-doc__sec small {
  padding-top: 0.15em;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8b8b8b;
}
.bk-doc__sec p {
  line-height: 1.45;
  color: #3d3d3d;
}
.bk-doc__sec--key {
  margin-inline: -0.8em;
  padding: 0.6em 0.8em;
  border-radius: 0.5em;
  isolation: isolate;
}
.bk-doc__sec--key::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--orange-soft);
  box-shadow: inset 0.18em 0 0 var(--orange);
  opacity: 0;
}
.bk-doc__sec--key small {
  color: var(--orange-deep);
}
.bk-sc:is(.is-on, .is-prev) .bk-doc__sec--key::before {
  animation: bk-fade 0.5s var(--ease-out) 2s both;
}
.bk-doc__sent {
  position: absolute;
  right: -0.8em;
  bottom: -1.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.95em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82em;
  font-weight: 500;
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
}
.bk-doc__sent svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--orange);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .bk-tour {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  }
}
@media (max-width: 1024px) {
  .bk-top {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .bk-top .lead {
    justify-self: start;
    padding-bottom: 0;
  }
  .bk-title {
    text-wrap: balance;
  }
  .bk {
    grid-template-columns: 1fr;
  }
  .bk-info {
    padding: 30px 32px 30px;
  }
  .bk-info__title {
    margin-top: 20px;
  }
  .bk-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }
  .bk-picked:not([hidden]) {
    display: flex;
  }
  /* Stacked, the booking so far would sit too far above the form to help: the form shows it */
  .bk-sum {
    display: none;
  }
  /* Stacked, the list of steps goes under the window as its guide */
  .bk-tour {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-tour__text {
    display: contents;
  }
  .bk-tour__stage {
    order: 1;
  }
  .bk-tour__list {
    order: 2;
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .bk {
    border-radius: 22px;
  }
  .bk-info {
    padding: 24px 22px 24px;
  }
  .bk-info::after {
    background-position: right -190px top -170px;
  }
  .bk-info__title {
    font-size: 34px;
  }
  .bk-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 14.5px;
  }
  .bk-meta svg {
    width: 30px;
    height: 30px;
    padding: 7px;
  }
  .bk-form {
    padding: 22px 18px 22px;
  }
  .bk-pick__box {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 14px;
    padding: 16px;
  }
  .bk-pick__ico {
    width: 38px;
    height: 38px;
  }
  /* Only the open step keeps its name, and takes the room it needs */
  .bk-steps {
    display: flex;
  }
  .bk-steps li {
    flex: 1 1 0;
  }
  .bk-steps li.is-cur {
    flex: 2.6 1 0;
  }
  .bk-steps li:last-child {
    flex: none;
  }
  .bk-steps li:not(.is-cur) span {
    display: none;
  }
  .bk-picks,
  .bk-fields,
  .bk-sched {
    grid-template-columns: 1fr;
  }
  .bk-times {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .bk-times__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }
  .bk-nav__row .btn {
    flex: 1;
    justify-content: center;
  }
  .bk-tour__list {
    grid-template-columns: 1fr;
  }
  .bk-done__actions .btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 760px), (hover: none) {
  /* 16px stops phones zooming the page when a field is tapped */
  .bk-field input,
  .bk-field select,
  .bk-field textarea {
    font-size: 16px;
  }
}
/* A narrow window drops the side panes, so each scene keeps a readable size */
@container (max-width: 560px) {
  .bk-win__body {
    aspect-ratio: auto;
    height: 31em;
    font-size: calc(100cqi / 34);
  }
  .bk-sc--mail,
  .bk-sc--conf {
    grid-template-columns: minmax(0, 1fr);
  }
  .bk-ml,
  .bk-wk__grid,
  .bk-wk__days,
  .bk-wk__head {
    display: none;
  }
  .bk-read--conf {
    border-right: 0;
  }
  .bk-wk {
    position: absolute;
    inset: auto 0 0;
    padding: 0;
  }
  .bk-wk__toast {
    bottom: 1.2em;
  }
  .bk-em__steps {
    display: none;
  }
  .bk-call__agenda {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5em;
    margin-top: 2.3em;
  }
  .bk-call__agenda li {
    padding: 0.7em 2.8em 0.75em 0.9em;
  }
  .bk-call__agenda span {
    display: none;
  }
  .bk-call__who small,
  .bk-call__notes {
    display: none;
  }
  .bk-doc__sec {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bk-step.is-active,
  .bk-done.is-active,
  .bk-next li {
    animation: none;
    opacity: 1;
  }
  .bk-done__icon path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .bk-win {
    transition: none;
  }
  .bk-pick__box,
  .bk-pick__box::before {
    transition: none;
  }
}
