/* Landing page: /book/ */
.book-main { padding-top: var(--header); background:
  radial-gradient(ellipse 60% 55% at 85% 10%, rgba(196, 164, 132, 0.28), transparent 70%),
  radial-gradient(ellipse 50% 50% at 5% 95%, rgba(168, 63, 49, 0.07), transparent 70%),
  var(--plaster); }
.book-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gutter); }
.book-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.book-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 0.96; max-width: 11ch; margin: 0; text-align: left; }
.book-lead { margin-top: 24px; max-width: 44ch; font-size: 17px; color: var(--muted); }
.book-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.book-cta .btn { padding: 18px 34px; font-size: 13px; }
.book-micro { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-text); }
.book-card { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.45); padding: clamp(24px, 3vw, 40px); }
.book-card h2 { font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 8px; max-width: none; line-height: 1.4; }
.book-steps { list-style: none; margin: 0; padding: 0; }
.book-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.book-steps li:first-child { border-top: 0; }
.book-steps span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--vermilion); grid-row: 1 / span 2; }
.book-steps h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin: 0; }
.book-steps p { margin: 0; font-size: 14px; color: var(--muted); max-width: 40ch; }
.book-lower { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.book-lower h2 { font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 18px; max-width: none; line-height: 1.4; }
.book-bring { list-style: none; margin: 0; padding: 0; }
.book-bring li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 15px; }
.book-bring li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 1px; background: var(--vermilion); }
.book-proof .metric { font-family: var(--serif); font-size: clamp(48px, 6vw, 80px); line-height: 1; display: block; }
.book-proof .metric-label { display: block; margin-top: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-text); }
.book-proof blockquote { margin: 24px 0 0; padding-left: 20px; border-left: 1px solid var(--vermilion); }
.book-proof blockquote p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.2; margin: 0; }
.book-proof cite { display: block; margin-top: 12px; font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-text); }
.book-band { background: var(--ink); color: var(--plaster); }
.book-band .book-wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.book-band p { margin: 0; max-width: 62ch; font-size: 14px; color: rgba(249, 243, 234, 0.8); }
.book-foot { padding: 22px var(--gutter) 32px; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); background: #f7f1e8; border-top: 1px solid rgba(141, 106, 76, 0.35); }
.book-foot a { color: inherit; text-decoration: none; }
.book-foot a:hover { color: var(--vermilion); }
@media (max-width: 880px) {
  .book-hero, .book-lower { grid-template-columns: 1fr; }
  .book-cta .btn { width: 100%; text-align: center; }
}

/* Inline Google Calendar booking */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.book-times { margin-top: clamp(48px, 7vw, 88px); scroll-margin-top: calc(var(--header) + 16px); }
.book-times h2 { font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 18px; max-width: none; line-height: 1.4; }
.book-embed { border: 1px solid var(--line-strong); background: #fff; }
.book-embed iframe { display: block; width: 100%; height: 700px; border: 0; }
.book-fallback { margin-top: 14px; font-size: 13px; color: var(--muted); }
.book-fallback a { color: var(--vermilion); }
@media (max-width: 880px) { .book-embed iframe { height: 780px; } }

/* David bust in the dark band, same treatment as the security section */
.book-band { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 90% at 12% 50%, rgba(196, 164, 132, 0.12), transparent 70%), var(--ink); }
.book-band .book-wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; padding-left: max(var(--gutter), 220px); }
.book-bust {
  position: absolute; left: 0; top: 4%; height: 92%; width: min(300px, 30vw);
  object-fit: contain; object-position: left center; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 88%); mask-image: linear-gradient(90deg, #000 46%, transparent 88%);
}
@media (max-width: 880px) { .book-bust { display: none; } .book-band .book-wrap { padding-left: var(--gutter); } }

/* =========================================================================
   Book page refresh: calendar beside the pitch, proof in view
   (after Wellfound, Shade and Amigo on Mobbin)
   ========================================================================= */
.book-back {
  margin-left: auto;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze-text); text-decoration: none;
}
.book-back:hover { color: var(--vermilion); }
.book-main { background: var(--plaster); }

.book-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 72px);
}
.book-intro h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 0.96; max-width: 11ch; margin: 18px 0 0; text-align: left; }
.book-intro .book-lead { margin-top: 22px; }

.book-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 22px 0 0; padding: 0; }
.book-facts li {
  padding: 2px 14px;
  border-left: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze-text);
}
.book-facts li:first-child { padding-left: 0; border-left: 0; }

.book-intro .book-steps { margin-top: 36px; border-top: 1px solid var(--line); }
.book-intro .book-steps li { padding: 18px 0; border-top: 0; border-bottom: 1px solid var(--line); }
.book-intro .book-steps h3 { font-size: 22px; }

.book-results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.book-results > div { padding: 20px 18px; }
.book-results > div + div { border-left: 1px solid var(--line); }
.book-results b {
  display: block;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1;
  white-space: nowrap;
  color: var(--vermilion);
}
.book-results span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }

.book-quote { margin: 22px 0 0; padding-left: 18px; border-left: 1px solid var(--vermilion); }
.book-quote p { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; margin: 0; }
.book-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-text); }

.book-bring-wrap { margin-top: 40px; }
.book-bring-wrap h2 { font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 12px; max-width: none; line-height: 1.4; }

/* The calendar: a white card that stays in view while the pitch scrolls */
.book-top .book-times { margin-top: 0; position: sticky; top: calc(var(--header) + 20px); }
.book-cal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(23, 25, 22, 0.35);
}
.book-cal-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.book-cal-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; line-height: 1.1; max-width: none; }
.book-cal-head span { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-text); }
.book-top .book-embed { border: 0; background: #fff; }
.book-top .book-embed iframe { height: min(760px, calc(100vh - var(--header) - 130px)); min-height: 600px; }

@media (max-width: 980px) {
  .book-top { grid-template-columns: 1fr; }
  .book-top .book-times { position: static; order: -1; }
  .book-top .book-embed iframe { height: 760px; }
  .book-results { grid-template-columns: 1fr; }
  .book-results > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Give Google's scheduler room for its desktop layout (date grid and times side by side) */
.book-top { max-width: 1400px; grid-template-columns: minmax(0, 1fr) minmax(780px, 1.35fr); }
.book-top .book-times { position: static; }
.book-top .book-embed iframe { height: 720px; min-height: 0; }
@media (max-width: 1280px) {
  .book-top { max-width: var(--max); grid-template-columns: 1fr; }
  .book-top .book-times { order: 2; }
  .book-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
  .book-intro > .eyebrow, .book-intro > h1, .book-intro > .book-lead, .book-intro > .book-facts { grid-column: 1; }
  .book-intro > .book-steps { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
  .book-intro > .book-results, .book-intro > .book-quote, .book-intro > .book-bring-wrap { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .book-intro { display: block; }
  .book-intro > .book-steps { margin-top: 32px; }
  .book-top .book-embed iframe { height: 780px; }
}

/* =========================================================================
   Custom time picker (replaces the Google embed). After Bonsai and Navan.
   ========================================================================= */
.picker .pk-step { display: none; }
.picker[data-step="time"] .pk-time { display: grid; }
.picker[data-step="details"] .pk-details { display: block; }
.picker[data-step="done"] .pk-done { display: block; }

.pk-time { grid-template-columns: 1.15fr 0.85fr; min-height: 470px; }
.pk-month { padding: 24px 26px; border-right: 1px solid var(--line); }
.pk-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pk-month-label { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.pk-nav {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.pk-nav:hover:not(:disabled) { background: var(--ink); color: var(--plaster); }
.pk-nav:disabled { opacity: 0.3; cursor: default; }
.pk-dow, .pk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.pk-dow span { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.pk-days button {
  aspect-ratio: 1; width: 100%;
  border: 1px solid transparent; border-radius: 999px;
  background: none; color: rgba(23, 25, 22, 0.28);
  font-family: var(--sans); font-size: 14px;
}
.pk-days button.is-open {
  color: var(--ink); background: var(--plaster); border-color: var(--line);
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.pk-days button.is-open:hover { border-color: var(--vermilion); }
.pk-days button.is-today { text-decoration: underline; text-underline-offset: 4px; }
.pk-days button.is-selected { background: var(--vermilion); border-color: var(--vermilion); color: #fff; }
.pk-tz { margin-top: 18px; font-size: 12px; color: var(--muted); }

.pk-slots { padding: 24px 22px; display: flex; flex-direction: column; min-height: 0; }
.pk-date-label { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 14px; }
.pk-slot-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 380px; padding-right: 4px; }
.pk-slot {
  padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: 14px; text-align: center;
  cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pk-slot:hover { border-color: var(--vermilion); color: var(--vermilion); }

.pk-details { padding: 26px; }
.pk-back { border: 0; background: none; padding: 0; font-size: 13px; color: var(--vermilion); cursor: pointer; }
.pk-chosen { margin-top: 14px; padding: 16px 18px; background: var(--plaster); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.pk-chosen b { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.pk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 22px; }
.pk-fields .pk-wide { grid-column: 1 / -1; }
.pk-fields input, .pk-fields textarea {
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; background: #fff;
}
.pk-fields input:focus, .pk-fields textarea:focus { border-color: var(--vermilion); }
.pk-error { margin-top: 14px; color: var(--vermilion); font-size: 14px; }
.pk-confirm { margin-top: 22px; width: 100%; min-height: 50px; }

.pk-done { padding: 56px 32px; text-align: center; }
.pk-done-mark {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--vermilion); color: #fff; font-size: 24px;
}
.pk-done h3 { font-family: var(--serif); font-weight: 500; font-size: 36px; }
.pk-done-when { margin-top: 12px; font-size: 16px; }
.pk-done-note { margin: 10px auto 0; max-width: 42ch; color: var(--muted); font-size: 14px; }

.pk-preview-note { padding: 12px 22px; border-top: 1px solid var(--line); background: var(--plaster); font-size: 12px; color: var(--muted); }

/* The picker fits a narrower column than Google's embed did */
.book-top { max-width: var(--max); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 1280px) {
  .book-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .book-top .book-times { order: 0; }
  .book-intro { display: block; }
  .book-intro > .book-steps { margin-top: 36px; }
}
@media (max-width: 980px) {
  .book-top { grid-template-columns: 1fr; }
  .book-top .book-times { order: -1; }
}
@media (max-width: 640px) {
  .pk-time { grid-template-columns: 1fr; }
  .pk-month { border-right: 0; border-bottom: 1px solid var(--line); }
  .pk-fields { grid-template-columns: 1fr; }
}
.book-top .book-times { position: sticky; top: calc(var(--header) + 20px); }
@media (max-width: 980px) { .book-top .book-times { position: static; } }

/* ---------- After booking: the picker leaves, the follow-up rises in ---------- */
.picker { transition: box-shadow .4s ease; }
.picker.is-leaving .pk-step, .picker.is-leaving .pk-preview-note {
  opacity: 0; transform: scale(0.97) translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.picker[data-step="done"] .book-cal-head { display: none; }
.picker[data-step="done"] .pk-done { padding: 44px 34px 38px; text-align: left; }
.pk-done-head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.pk-done-body { padding-top: 6px; }
.pk-done .book-results { margin-top: 28px; }
.pk-done .book-quote { margin-top: 26px; }
.pk-done .book-bring-wrap { margin-top: 30px; }
.pk-done .book-bring li:last-child { border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .picker[data-step="done"] .pk-rise { animation: pk-rise .7s var(--ease, ease) both; }
  .picker[data-step="done"] .pk-done-head { animation-delay: .05s; }
  .picker[data-step="done"] .book-results { animation-delay: .35s; }
  .picker[data-step="done"] .book-quote { animation-delay: .55s; }
  .picker[data-step="done"] .book-bring-wrap { animation-delay: .75s; }
  .picker[data-step="done"] .pk-done-mark { animation: pk-pop .6s cubic-bezier(.2, 1.4, .4, 1) .1s both; }
}
@keyframes pk-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pk-pop { from { transform: scale(0); } to { transform: scale(1); } }
.pk-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 80; pointer-events: none; }
@media (max-width: 640px) { .pk-done .book-results { grid-template-columns: 1fr; } .pk-done .book-results > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* After booking: nothing left that asks them to book again */
.pk-done:focus { outline: none; }
body.is-booked .book-fallback, body.is-booked .book-band .btn { display: none; }

/* =========================================================================
   Fit the whole booking flow in one screen (no scroll to book)
   ========================================================================= */
.book-top {
  padding-top: clamp(20px, 3.2vh, 40px);
  padding-bottom: clamp(24px, 4vh, 48px);
  align-items: start;
  min-height: calc(100svh - var(--header));
}
.book-intro h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1; max-width: 9ch; margin-top: 12px; }
.book-intro .book-lead { margin-top: 14px; font-size: 16px; }
.book-facts { margin-top: 14px; }
.book-intro .book-steps { margin-top: clamp(18px, 3vh, 28px); }
.book-intro .book-steps li { padding: clamp(10px, 1.6vh, 14px) 0; grid-template-columns: 36px 1fr; }
.book-intro .book-steps span { font-size: 18px; }
.book-intro .book-steps h3 { font-size: 19px; }
.book-intro .book-steps p { font-size: 13.5px; line-height: 1.45; }

/* Picker sized to the viewport */
.book-cal-head { padding: 14px 20px; }
.book-cal-head h2 { font-size: 23px; }
.pk-time { min-height: 0; height: clamp(360px, calc(100svh - var(--header) - 190px), 470px); }
.pk-month { padding: 18px 20px; }
.pk-month-head { margin-bottom: 10px; }
.pk-dow, .pk-days { gap: 4px; }
.pk-days button { aspect-ratio: auto; height: clamp(30px, 4.4vh, 38px); }
.pk-tz { margin-top: 12px; }
.pk-slots { padding: 18px 18px; }
.pk-date-label { margin-bottom: 10px; font-size: 18px; }
.pk-slot-list { max-height: none; flex: 1; min-height: 0; }
.pk-slot { padding: 10px 12px; }
.pk-preview-note { padding: 9px 20px; }
.book-fallback { margin-top: 10px; font-size: 12.5px; }
.pk-details { padding: 20px 22px; }
.pk-fields { gap: 12px 16px; margin-top: 16px; }
.pk-fields textarea { min-height: 70px; }
.pk-confirm { margin-top: 16px; }

/* After booking: only what we need from them */
.picker[data-step="done"] .pk-done { padding: 34px 30px 30px; }
.pk-done-head { padding-bottom: 22px; }
.pk-done .book-bring-wrap { margin-top: 22px; }
.picker[data-step="done"] .book-bring-wrap { animation-delay: .35s; }

@media (max-width: 980px) {
  .book-top { min-height: 0; }
  .pk-time { height: auto; }
  .pk-slot-list { max-height: 300px; }
}
