/* Booking flow — built to TAURELIA-BRAND.md within the site design system.
   Paper ground, ink components, gold nowhere. Body text ≥17px, chrome 15px. */

.book-main{padding-block:var(--s5) var(--s7)}
a.brandline{text-decoration:none;color:inherit}
.book-wrap{max-width:52rem;margin-inline:auto;padding-inline:var(--gutter)}

.book-step[hidden]{display:none}
/* display:flex on list rows would otherwise defeat the hidden attribute */
[hidden]{display:none!important}
.book-step>h1,.book-step>h2{
  font-family:var(--grotesk);font-weight:700;
  font-size:clamp(1.85rem,5vw,2.6rem);line-height:.95;letter-spacing:-.045em;
  margin-bottom:var(--s4);
}
.book-note{max-width:var(--measure);line-height:1.6;margin-bottom:var(--s3)}
.book-progress{
  font-family:var(--mono);font-size:15px;text-transform:uppercase;
  letter-spacing:.07em;margin-bottom:var(--s2);
}

fieldset{border:0;padding:0;margin:0 0 var(--s4)}
legend{
  font-size:inherit;line-height:1.5;font-weight:400;
  max-width:var(--measure);margin-bottom:var(--s2);padding:0;
}

.choice{display:flex;gap:var(--s2);align-items:flex-start;max-width:var(--measure);
  padding:var(--s2) 0;border-top:var(--rule) solid var(--ink)}
.choice:last-of-type{border-bottom:var(--rule) solid var(--ink)}
.choice input[type="radio"],.choice input[type="checkbox"]{
  width:1.3em;height:1.3em;margin-top:.15em;accent-color:var(--ink);flex:none;
}
.choice label{line-height:1.5}

.slot-day{margin-bottom:var(--s4)}
.slot-day h3{
  font-family:var(--mono);font-size:15px;font-weight:400;text-transform:uppercase;
  letter-spacing:.07em;margin-bottom:var(--s2);
}
.slot-list{display:flex;flex-wrap:wrap;gap:var(--s2);list-style:none;padding:0;margin:0}
.slot-list input[type="radio"]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.slot-list label{
  display:inline-block;font-family:var(--mono);font-size:16px;letter-spacing:.06em;
  border:var(--rule) solid var(--ink);padding:.7em 1.1em;cursor:pointer;
}
.slot-list input:checked+label{background:var(--ink);color:var(--paper)}
.slot-list input:focus-visible+label{outline:2px solid var(--ink);outline-offset:3px}

.field{max-width:var(--measure);margin-bottom:var(--s3)}
.field label{display:block;font-family:var(--mono);font-size:15px;text-transform:uppercase;
  letter-spacing:.07em;margin-bottom:var(--s1)}
.field input{
  width:100%;font:inherit;font-size:17px;color:var(--ink);background:var(--paper);
  border:var(--rule) solid var(--ink);border-radius:0;padding:.65em .8em;
}
.field input:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.field .hint{font-size:15px;line-height:1.5;margin-top:var(--s1)}

/* The honeypot is off-canvas for humans and assistive tech alike. */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hp-field input{width:1px;height:1px}

.panel{
  border:var(--rule) solid var(--ink);padding:var(--s3);
  max-width:var(--measure);margin-bottom:var(--s3);line-height:1.6;
}
.panel--ink{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.panel--ink a{color:inherit}
.panel--ink :focus-visible{outline-color:var(--paper)}
.panel h3{font-family:var(--mono);font-size:15px;font-weight:400;
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:var(--s2)}

.review-list{list-style:none;padding:0;margin:0 0 var(--s3);max-width:var(--measure)}
.review-list li{display:flex;justify-content:space-between;gap:var(--s3);
  padding:var(--s2) 0;border-top:var(--rule) solid var(--ink);line-height:1.5}
.review-list li:last-child{border-bottom:var(--rule) solid var(--ink)}
.review-list .k{font-family:var(--mono);font-size:15px;text-transform:uppercase;letter-spacing:.07em}
.review-list .v{text-align:right}

.btn--ink{
  display:inline-block;background:var(--ink);color:var(--paper);
  font-family:var(--mono);font-size:16px;text-transform:uppercase;
  letter-spacing:.08em;text-decoration:none;text-align:center;
  padding:1.05em 2em;border:var(--rule) solid var(--ink);cursor:pointer;
}
.btn--ink:hover,.btn--ink:focus-visible{background:transparent;color:var(--ink)}
.btn--ink[disabled]{opacity:.45;cursor:not-allowed}
.btn--ink[disabled]:hover{background:var(--ink);color:var(--paper)}

.btn-ghost{
  display:inline-block;background:transparent;color:var(--ink);
  font-family:var(--mono);font-size:16px;text-transform:uppercase;
  letter-spacing:.08em;text-decoration:none;text-align:center;
  padding:1.05em 2em;border:var(--rule) solid var(--ink);cursor:pointer;
}
.btn-ghost:hover,.btn-ghost:focus-visible{background:var(--ink);color:var(--paper)}

.book-actions{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s4)}
/* The continue bar: appears at the bottom of the screen once a time is chosen,
   because the page's own Continue button sits below a long list of times. */
.slot-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;
  gap:var(--s2);padding:var(--s2) var(--s3);padding-bottom:calc(var(--s2) + env(safe-area-inset-bottom,0px));
  background:var(--paper);border-top:var(--rule) solid var(--ink)}
.slot-bar[hidden]{display:none}
.slot-bar__when{margin:0;font-family:var(--mono);font-size:15px;line-height:1.35}
.slot-bar .btn--ink{flex:none}
/* room under the list so the bar never covers the last times or the buttons */
.has-slot-bar{padding-bottom:6rem}

.error-summary{
  border:2px solid var(--ink);padding:var(--s3);max-width:var(--measure);
  margin-bottom:var(--s3);line-height:1.6;
}
.error-summary h2{font-family:var(--mono);font-size:15px;font-weight:400;
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:var(--s1)}
.error-summary[hidden]{display:none}

.price-line{font-family:var(--mono);font-size:17px;letter-spacing:.04em;white-space:nowrap}

.book-foot{
  border-top:var(--rule) solid var(--ink);margin-top:var(--s6);
  padding-block:var(--s4);font-size:15px;line-height:1.55;
}
.book-foot p{max-width:52rem}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* "Before you come": links to the patient guides on the confirmation page */
.book-guides{margin-top:var(--s4);padding-top:var(--s3);border-top:var(--rule) solid var(--ink);max-width:var(--measure)}
.book-guides h2{font-size:1.25rem;letter-spacing:-.02em;margin-bottom:var(--s2)}
.book-guides ul{list-style:none;padding:0;margin:0}
.book-guides li{padding:.55rem 0;border-top:var(--rule) solid var(--ink)}
.book-guides li:last-child{border-bottom:var(--rule) solid var(--ink)}

/* The written plan, above the booking steps on /book/t */
.plan-list .k{font-family:inherit;font-size:inherit;text-transform:none;letter-spacing:0;line-height:1.5}
.plan-list .v{font-family:var(--mono);font-size:17px;letter-spacing:.04em;white-space:nowrap}
.plan-total{margin:0 0 var(--s3)}

/* Headings are focused by script when a step changes, so a screen reader
   announces the new step. They are not controls, so they show no focus box. */
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}
