/* Book a time page (demo scheduler) */

body { background: #F7F4EF; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.book { padding: clamp(120px, 13vw, 170px) var(--gutter) clamp(72px, 9vw, 120px); }
.book-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}

/* Left column */
.book-intro { display: flex; flex-direction: column; gap: 22px; }
.book-intro .eyebrow { color: var(--link); }
.book-intro h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 5.4vw, 76px); line-height: 1.03; letter-spacing: -0.02em;
  text-wrap: balance;
}
.book-intro p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 480px; }
.book-photo { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.book-alt { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink-soft); }
.book-alt-links { display: flex; flex-wrap: wrap; gap: 20px; }
.book-alt-links a { font-weight: 600; }

/* Booking card */
.book-card { min-width: 0; background: #fff; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.book-card [hidden] { display: none !important; }
.book-steps { display: flex; flex-direction: column; gap: 28px; }
.book-step { display: flex; flex-direction: column; gap: 12px; }
.book-step-title { font-size: 14px; font-weight: 600; }
.book-step-hint { font-weight: 400; color: var(--ink-muted); }

.book-card button { font-family: var(--sans); cursor: pointer; }
.book-card button:focus-visible, .book-card input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* 1. Call type */
.type-list { display: grid; gap: 8px; }
.type-option {
  text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; min-height: 56px; border-radius: 4px;
  border: 1px solid var(--line-warm); background: #fff; color: var(--ink);
}
.type-option[aria-pressed="true"] { border-color: var(--link); background: #EEF3F7; }
.type-text { display: flex; flex-direction: column; gap: 2px; }
.type-label { font-size: 16px; font-weight: 600; }
.type-desc { font-size: 14px; color: var(--ink-muted); }
.type-len { font-size: 14px; color: var(--ink-muted); white-space: nowrap; }

/* 2. Day and 3. time (selected = navy) */
.day-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day-option {
  flex: none; width: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0; border-radius: 4px;
}
.day-dow { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.day-date { font-family: var(--serif); font-size: 24px; }
.day-mon { font-size: 12px; }

.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.time-option { min-height: 48px; border-radius: 4px; font: 500 15px var(--sans); }

.day-option, .time-option { border: 1px solid var(--line-warm); background: #fff; color: var(--ink); }
.day-option[aria-pressed="true"], .time-option[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }

/* 4. Details */
.book-form { display: flex; flex-direction: column; gap: 12px; }
.book-form input {
  min-height: 52px; padding: 0 16px;
  border: 1px solid #CFC8BC; border-radius: 4px;
  font: 400 16px var(--sans); color: var(--ink); background: #fff;
}
.book-form input::placeholder { color: #8A847B; }
.book-card .book-submit {
  min-height: 56px; margin-top: 6px;
  border: none; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px var(--sans);
}
.book-card .book-submit:disabled { background: var(--line-warm); cursor: default; }

.book-demo { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8A847B; }

/* Confirmation */
.book-done { display: flex; flex-direction: column; gap: 14px; }
.book-done .eyebrow { color: var(--link); }
.book-done h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.book-done h2:focus { outline: none; }
.book-done p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-muted); }
.book-again {
  align-self: flex-start;
  background: none; border: 1px solid var(--ink); border-radius: 999px;
  padding: 12px 20px; font: 500 15px var(--sans); color: var(--ink);
}
