/* Shared by every version: the pop-up, the video player and the booking mockup.
   Each version sets the color and font variables these rules use. */
/* Dialog */
dialog {
  width: min(92vw, 880px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
dialog::backdrop { background: rgba(12, 22, 15, 0.72); }
.dialog-body { padding: clamp(24px, 4vw, 36px); text-align: center; }
.dialog-body h2 { font: 800 1.625rem/1.15 var(--font-display); color: var(--green); }
.dialog-body p { margin-top: 10px; }
.dialog-frame { aspect-ratio: 16 / 9; background: #000; }
.dialog-frame iframe, .dialog-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.dialog-close {
  display: block; margin: 0 auto; padding: 12px 24px; min-height: 48px;
  border: 0; background: none; cursor: pointer; color: var(--green);
  font: 800 0.9375rem/1 var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase;
}
.dialog-close:hover { text-decoration: underline; }

/* Booking mockup */
dialog.is-booking { width: min(94vw, 600px); }
/* Kevin's live HubSpot calendar. HubSpot's page needs room for its calendar and form. */
dialog.is-booking:has(.booking-live) { width: min(94vw, 760px); }
.booking-live { padding: 8px 8px 0; }
.booking-frame { height: min(78svh, 720px); }
.booking-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; border-radius: calc(var(--radius) - 6px); }
.booking-alt { margin: 10px 0 0; text-align: center; font-size: 0.875rem; }
.booking-alt a { color: inherit; }
.booking { padding: clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px) 8px; }
.mock-tag {
  margin: 0 0 16px; padding: 8px 12px; border-radius: 8px;
  background: #fbe6c6; color: #5a3408; font-size: 0.875rem; font-weight: 700; text-align: center;
}
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 0.875rem; font-weight: 700; color: #5c574e; }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 2px solid currentColor; font-size: 0.8125rem;
}
.steps li[aria-current], .steps li.done { color: var(--green); }
.steps li[aria-current] span, .steps li.done span { background: var(--green); border-color: var(--green); color: var(--white); }
.booking h2 { font: 800 clamp(1.5rem, 4vw, 1.875rem)/1.15 var(--font-display); color: var(--green); }
.booking h2:focus { outline: none; }
.booking-sub, .booking-when { margin-top: 6px; }
.booking-when { font-weight: 700; }
.booking fieldset { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.booking legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.booking small { font-weight: 400; color: #5c574e; font-size: 0.875rem; }
.chips { display: grid; gap: 8px; }
.chips.days { grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; padding: 4px 4px 10px; margin: -4px; scroll-snap-type: x proximity; }
.chips.times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip { position: relative; display: block; scroll-snap-align: start; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; min-height: 52px; padding: 8px 6px; border-radius: 12px; text-align: center;
  background: var(--white); border: 2px solid #cfc6b3; font-weight: 700; line-height: 1.2;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.chip b { display: block; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: #5c574e; }
.chip input:hover + span { border-color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chip input:checked + span b { color: var(--gold-soft); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chip.taken input { cursor: not-allowed; }
.chip.taken span { background: transparent; border-style: dashed; color: #8a8478; text-decoration: line-through; }
.booking form .btn { width: 100%; margin-top: 22px; }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 800; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid #cfc6b3; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.4 var(--font-sans);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(19, 74, 39, 0.2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hint { margin-top: 6px; font-size: 0.9375rem; color: #5c574e; }
.form-error { margin-top: 14px; color: #a12820; font-weight: 700; }
.link { padding: 4px 6px; border: 0; background: none; cursor: pointer; color: var(--green); font: 700 1rem var(--font-sans); text-decoration: underline; }
.next-steps { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; }
.booking h3 { margin-top: 20px; font: 800 1.0625rem/1.2 var(--font-sans); }
.done-mark { width: 54px; height: 54px; margin-bottom: 12px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.done-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { .chips.times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
