/* Book a call page: book-a-call.php */

@media (prefers-reduced-motion: no-preference) {
  @keyframes bookRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes bookBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
}

/* ---------- Hero ---------- */
.book-hero { position: relative; isolation: isolate; }

.book-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(11, 11, 11, 0.06) 0 1px, transparent 1px 120px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}

.book-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.book-hero__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 34px);
  animation: bookRise .9s var(--ease-out) both;
}

.book-hero__title {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.book-hero__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text);
  max-width: 42ch;
}

/* "You'll speak with" card */
.book-host {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 460px;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
}
.book-host__photo {
  display: block;
  width: 64px;
  height: 64px;
  background-color: var(--text);
  object-fit: cover;
  object-position: 50% 20%;
}
.book-host__text { display: flex; flex-direction: column; gap: 4px; }
.book-host__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); }
.book-host__name { font-size: 18px; font-weight: 500; }
.book-host__role { font-size: 13px; color: var(--on-dark-2); }

/* Agenda (highlight cycles through the rows) */
.book-agenda { display: flex; flex-direction: column; }
.book-agenda__label {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.book-agenda__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  transition: border-color .4s;
}
.book-agenda__item.is-active { border-top-color: var(--red); }
.book-agenda__time {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.book-agenda__item.is-active .book-agenda__time { color: var(--red); }
.book-agenda__body { display: flex; flex-direction: column; gap: 4px; }
.book-agenda__title { font-size: 17px; font-weight: 500; }
.book-agenda__desc { font-size: 14px; line-height: 1.5; color: #4A4945; }

/* ---------- Booking panel ---------- */
.book-panel {
  position: sticky;
  top: 100px;
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-card {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}
.book-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.book-card__status { display: flex; align-items: center; gap: 8px; }
.book-card__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1F9D55;
  animation: bookBlink 1.6s infinite;
}
.book-card__meta { color: var(--muted-2); }

.book-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.6vw, 32px);
}

.book-embed {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px dashed #3A3A37;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
  text-align: center;
}
.book-embed__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }
.book-embed__text { font-size: 14px; line-height: 1.5; color: var(--muted-dark); max-width: 30ch; }
/* Live scheduler (BOOKING_URL in includes/config.php) */
.book-embed--live { padding: 0; border: 0; background: var(--white); }
.book-embed__frame { display: block; width: 100%; min-height: 640px; border: 0; }

.book-card__cta {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  animation: nvPulse 1.8s ease-out infinite;
}
.book-card__cta:hover { background: var(--white); color: var(--ink); }

.book-card__alt {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid #3A3A37;
  font-size: 14px;
  color: var(--on-dark-2);
}
.book-card__alt:hover { color: var(--red); }

.book-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--white);
}
.book-facts__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-right: 1px solid var(--rule);
}
.book-facts__key { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--muted); }
.book-facts__value { font-size: 15px; font-weight: 500; }

/* ---------- FAQ ---------- */
.book-faq { background: var(--paper-2); }
.book-faq__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.book-faq__intro { display: flex; flex-direction: column; gap: 20px; }
.book-faq__title {
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}
.book-faq__text { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 52ch; }
.book-faq__link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.book-faq__link:hover { color: var(--red); border-color: var(--red); }

.book-faq__list { display: flex; flex-direction: column; }
.book-faq__label { margin-bottom: 12px; }
.book-faq__item { border-top: 1px solid var(--rule-strong); }
.book-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.book-faq__plus { flex: none; font-family: var(--mono); font-size: 16px; color: var(--red); }
.book-faq__item p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #4A4945;
  max-width: 60ch;
}
.book-faq__end { border-top: 1px solid var(--rule-strong); }

/* ---------- Narrow (< 960px) ---------- */
@media (max-width: 959.98px) {
  .book-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .book-panel { position: static; }
  .book-embed { min-height: 280px; }
}
