/* Book a 15-Minute Project Call */
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}
.book-picker h2,
.book-form-col h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.7rem;
}
.book-time-head { margin-top: 2.25rem; }
.book-range {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.7rem;
}
.book-note {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 0.7rem;
  max-width: 62ch;
}
.book-cal { margin-top: 1.15rem; }
.book-cal__head,
.book-cal__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.book-cal__head {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  text-align: center;
  font-weight: 700;
}
.book-cal__head span:nth-child(6),
.book-cal__head span:nth-child(7) { color: #999; }
.book-cal__week + .book-cal__week { margin-top: 0.35rem; }
.book-day,
.book-slot {
  border: 1px solid var(--charcoal);
  border-radius: 4px;
  background: var(--white);
  color: var(--charcoal);
  touch-action: manipulation;
  font-family: inherit;
  cursor: pointer;
}
.book-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.2rem;
  line-height: 1.1;
}
.book-day__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.book-day__tag {
  margin-top: 0.15rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.book-day:not(:disabled):hover,
.book-slot:not(:disabled):hover { border-color: var(--red); }
.book-day:disabled {
  background: transparent;
  border-color: transparent;
  color: #b0b0b0;
  cursor: not-allowed;
}
.book-day--today { box-shadow: inset 0 0 0 1px var(--navy); }
.book-day[aria-pressed="true"],
.book-slot[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: none;
}
.book-day[aria-pressed="true"] .book-day__tag { color: #fff; }
.book-day:focus-visible,
.book-slot:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.book-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.book-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 2.85rem;
  padding: 0.4rem 0.45rem;
  line-height: 1.2;
  text-align: center;
}
.book-slot__et { font-weight: 700; font-size: 0.95rem; }
.book-slot__local { font-size: 0.75rem; color: #555; }
.book-slot[aria-pressed="true"] .book-slot__local { color: inherit; }
.book-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #555;
  font-size: 0.98rem;
}
.book-summary {
  margin-top: 1.15rem;
  color: #333;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 62ch;
}
.book-summary.is-set {
  padding: 0.9rem 1rem;
  border-radius: 4px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
}
.book-form-col .book-note { margin-bottom: 1.15rem; }
.form textarea.book-chosen {
  min-height: 4.5rem;
  resize: none;
  line-height: 1.45;
  background: var(--offwhite);
}
.book-chosen.is-set {
  background: var(--cream);
  border-color: var(--navy);
  font-weight: 600;
}
.book-form-col .btn-lg { width: 100%; justify-content: center; }
.book-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.book-error {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border: 2px solid var(--red);
  background: #fff;
  color: var(--charcoal);
  line-height: 1.5;
}
.book-error p { margin: 0; }
.book-error a { color: var(--red); font-weight: 700; }
.book-helper {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .book-layout { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 640px) {
  .book-cal__head,
  .book-cal__week { gap: 0.2rem; }
  .book-cal__head { font-size: 0.65rem; letter-spacing: 0.02em; }
  .book-day { min-height: 2.75rem; }
  .book-day__num { font-size: 0.95rem; }
  .book-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Cal.com inline embed */
.book-cal-embed-wrap {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 4px;
  overflow: hidden;
  height: auto;
}
.book-cal-embed {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
}
.book-cal-embed:not([data-cal-loaded="1"]) {
  min-height: 480px;
}
.book-cal-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  max-width: 100%;
}
.book-cal-status {
  margin: 0.85rem 0 0;
  color: #333;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 62ch;
}
.book-cal-status a { color: var(--red); font-weight: 700; }
.book-fallback-lead {
  margin: 0;
}
.book-fallback-toggle {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.book-fallback-toggle:hover { color: var(--red); }
.book-fallback-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.book-fallback {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider);
}
@media (max-width: 640px) {
  .book-cal-embed:not([data-cal-loaded="1"]) { min-height: 520px; }
}

/* Booking page layout: icons, personal column, calendar stage */
.book-icons-band {
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
}
.book-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 1.2rem;
}
.book-icons li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
}
.book-icons svg {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--red);
}
.book-stage {
  background: #f3eee6;
  padding: 2.25rem 0 3rem;
}
.book-stage-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.book-personal {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 1.15rem 1.15rem 1.3rem;
}
.book-team {
  margin: 0 0 1.15rem;
}
.book-team img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.book-personal h2,
.book-thanks h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.book-project-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.book-project-picker button {
  appearance: none;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
}
.book-project-picker button:hover,
.book-project-picker button:focus-visible {
  background: var(--navy);
  color: #fff;
  outline: none;
}
.book-project-picker button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}
.book-project-line {
  margin: 0.85rem 0 0;
  color: #333;
  font-size: 0.98rem;
  line-height: 1.5;
}
.book-cover {
  margin-top: 1.1rem;
  border-top: 1px solid var(--divider);
  padding-top: 0.85rem;
}
.book-cover summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
}
.book-cover summary h2 {
  display: inline;
  margin: 0;
  font: inherit;
  color: inherit;
}
.book-cover summary::-webkit-details-marker { display: none; }
.book-cover summary::after {
  content: " +";
  font-weight: 700;
  color: var(--red);
}
.book-cover[open] summary::after { content: " \2212"; }
.book-cover summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.book-cover ul {
  margin: 0.7rem 0 0;
  padding: 0 0 0 1.15rem;
  color: #333;
  font-size: 0.96rem;
  line-height: 1.55;
}
.book-cover li { margin: 0.2rem 0; }
.book-next-open {
  margin: 1rem 0 0;
  padding: 0.7rem 0.8rem;
  background: var(--cream);
  border-radius: 4px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}
.book-cal-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.book-lifestyle {
  margin: 0 0 1.15rem;
}
.book-lifestyle img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.book-thanks {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 1.5rem 1.4rem;
}
.book-thanks p {
  margin: 0 0 1.1rem;
  color: #333;
  line-height: 1.55;
  max-width: 42rem;
}
.book-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.book-cal-panel,
.book-cal-embed-wrap,
.book-cal-cues {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.book-cal-cues {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 16px 0 0;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-radius: 4px;
}
.book-cal-cues .book-next-open {
  margin: 0;
  padding: 0;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
}
.book-cal-cues .book-fallback-lead {
  margin: 0;
  padding: 0;
  max-width: none;
  flex: 0 1 auto;
  text-align: right;
}
.book-cal-cues:has(#book-next-open[hidden]) {
  justify-content: flex-start;
}
.book-cal-cues:has(#book-next-open[hidden]) .book-fallback-lead {
  text-align: left;
}

@media (max-width: 980px) {
  .book-stage-grid {
    grid-template-columns: 1fr;
  }
  .book-cal-col { order: 1; }
  .book-personal { order: 2; }
  .book-team { display: none; }
  .book-lifestyle {
    max-height: 200px;
    overflow: hidden;
    margin: 0 0 1rem;
  }
  .book-lifestyle img { max-height: 200px; aspect-ratio: auto; }
  .book-icons {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem 0;
  }
  .book-cal-cues {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .book-cal-cues .book-fallback-lead {
    text-align: left;
  }
}
@media (max-width: 640px) {
  .book-stage { padding: 1.4rem 0 2.25rem; }
}
