/* /book-staff/ — staff enquiry form. Uses base.css (also used by /contact/ for its fields).
   Silver page, white step cards with a gold hairline. Boxes square; fields, buttons and chips rounded. */

body.g-book { background: var(--g-mist); }

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

/* ---------- Intro ---------- */
.b-intro { padding: 32px var(--g-gutter) 8px; }
.b-title { margin: 0; font-size: clamp(40px, 11vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.b-lead { margin: 14px 0 0; max-width: 36ch; font-size: 18px; line-height: 1.5; color: var(--g-text); }
.b-rate {
	display: inline-flex; margin: 16px 0 0; padding: 8px 16px; border-radius: 999px;
	background: var(--g-paper); font-weight: 500; font-size: 16px;
}
.g-contact .b-rate { background: var(--g-mist); }
.b-alt { margin: 14px 0 0; font-size: 16px; color: var(--g-text); }
.b-alt { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.b-alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }
.b-intro__media, .b-quote { display: none; }
.b-intro__media { position: relative; overflow: hidden; background: var(--g-silver); }
.b-intro__media img, .b-intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-quote { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--g-gold); }
.b-quote blockquote { margin: 0; }
.b-quote p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--g-ink); }
.b-quote figcaption { margin-top: 10px; font-size: 15px; color: var(--g-muted); }

/* ---------- Form ---------- */
.b-form-wrap { padding: 24px var(--g-gutter) 56px; }
.b-form { display: grid; gap: 16px; max-width: 640px; }
.b-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.b-set { margin: 0; padding: 22px 18px 24px; min-width: 0; border: 0; border-top: 1px solid var(--g-gold); background: var(--g-paper); }
.b-set__title { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; font-size: 20px; font-weight: 600; }
.b-set > :not(.b-set__title) { clear: both; } /* legend inside the card, not on its top line */
.b-set__num {
	display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
	border: 1.5px solid var(--g-ink); color: var(--g-ink); font-size: 14px; font-weight: 600; flex: none;
}
.b-opt { font-weight: 400; color: var(--g-muted); font-size: .85em; }

.b-row { display: grid; gap: 0 14px; }
.b-field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.b-field:last-child { margin-bottom: 0; }
.b-field label { font-weight: 500; font-size: 16px; }

.b-form input[type="text"], .b-form input[type="email"], .b-form input[type="tel"],
.b-form input[type="date"], .b-form input[type="time"], .b-form textarea {
	width: 100%; min-height: 52px; padding: 12px 20px;
	border: 1.5px solid var(--g-line-strong); border-radius: 999px; background: var(--g-paper); color: var(--g-ink);
	font: 400 16px/1.4 var(--g-font); -webkit-appearance: none; appearance: none;
	transition: border-color .15s var(--g-ease), box-shadow .15s var(--g-ease);
}
.b-form input[type="date"], .b-form input[type="time"] { display: flex; align-items: center; }
.b-form textarea { border-radius: 24px; min-height: 120px; resize: vertical; padding: 14px 20px; }
.b-form input:focus, .b-form textarea:focus { outline: none; border-color: var(--g-ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, .14); }
.b-form [aria-invalid="true"] { border-color: var(--g-error) !important; }

.b-help { margin: -4px 0 16px; font-size: 15px; color: var(--g-text); }
.b-help strong { color: var(--g-ink); }
.b-help.is-short strong { color: var(--g-error); }
.b-err { margin: 0; font-size: 15px; font-weight: 500; color: var(--g-error); }
.b-err:empty { display: none; }
.b-err--set { margin-bottom: 12px; }

/* Roles: one row each, with a − / + stepper */
.b-roles { list-style: none; margin: 0 0 4px; padding: 0; display: grid; }
.b-role {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 8px 0; border-bottom: 1px solid var(--g-line);
}
.b-role:last-child { border-bottom: 0; }
.b-role__label { font-size: 16px; font-weight: 500; }
.b-role.is-on .b-role__label { font-weight: 600; }
.b-step { display: flex; align-items: center; gap: 4px; flex: none; }
.b-step__btn {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 1.5px solid var(--g-line-strong); border-radius: 999px; background: var(--g-paper); color: var(--g-ink);
	cursor: pointer; touch-action: manipulation; transition: background-color .15s var(--g-ease), border-color .15s var(--g-ease);
}
.b-step__btn:hover { border-color: var(--g-ink); }
.b-step__btn:active { background: var(--g-mist); }
.b-step__btn:disabled { opacity: .38; cursor: default; }
.b-step__btn .g-icon { display: block; }
.b-step__num {
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--g-ink);
	font: 600 18px/1 var(--g-font); text-align: center; -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.b-step__num::-webkit-outer-spin-button, .b-step__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-role.is-on .b-step__num { background: var(--g-ink); color: var(--g-paper); border-radius: 999px; }
.b-roles + .b-field { margin-top: 14px; }
.b-total { margin: 14px 0 0; font-weight: 600; }
.b-total:empty { display: none; }

/* Error summary */
.b-summary {
	display: flex; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--g-error);
	background: #fff5f4; color: var(--g-ink);
}
.b-summary .g-icon { color: var(--g-error); flex: none; margin-top: 2px; }
.b-summary__title { margin: 0; font-weight: 600; }
.b-summary__list { margin: 6px 0 0; padding-left: 18px; }
.b-summary__list a { color: var(--g-ink); }
.b-summary__list:empty { display: none; }

/* Send */
.b-send { display: grid; gap: 12px; padding-top: 4px; }
.b-send__btn { width: 100%; min-height: 56px; font-size: 17px; }
.b-send__btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.b-send__btn[aria-busy="true"] span::after { content: "…"; }
.b-privacy { margin: 0; font-size: 15px; line-height: 1.6; color: var(--g-text); }
.b-privacy a { color: var(--g-ink); text-underline-offset: 3px; }

/* Done */
.b-done {
	display: grid; justify-items: start; gap: 14px; max-width: 640px;
	padding: 32px 22px 34px; border-top: 1px solid var(--g-gold); background: var(--g-paper);
}
.b-done:focus { outline: none; }
.b-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--g-ink); color: var(--g-paper); }
.b-done__title { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; }
.b-done__text { margin: 0; font-size: 17px; color: var(--g-text); max-width: 42ch; }

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
	.b-row { grid-template-columns: 1fr 1fr; }
	.b-row .b-field { margin-bottom: 16px; }
	.b-roles { grid-template-columns: 1fr 1fr; column-gap: 28px; }
	.b-role:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
	.b-send { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
	.b-send__btn { width: auto; padding: 0 40px; }
}

@media (min-width: 768px) {
	.b-intro { padding-top: 56px; }
	.b-form-wrap { padding-bottom: 80px; }
	.b-set { padding: 28px 28px 30px; }
	.b-form, .b-done { max-width: none; }
}

/* ---------- Desktop: intro and a photo on the left (sticky), form on the right ---------- */
@media (min-width: 1024px) {
	.b-main {
		display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		column-gap: 64px; padding: 64px 56px 96px; max-width: 1440px; margin: 0 auto;
	}
	.b-intro { padding: 0; align-self: start; }
	.b-intro__media { display: block; margin-top: 32px; aspect-ratio: 4 / 5; max-height: 720px; }
	.b-quote { display: block; margin-top: 28px; }
	.b-form-wrap { padding: 0; }
	.b-form, .b-done { max-width: none; }
}
/* Keep the intro beside the form while scrolling, when the screen is tall enough to show all of it */
@media (min-width: 1024px) and (min-height: 1180px) {
	.b-intro { position: sticky; top: 32px; }
}
@media (min-width: 1440px) {
	.b-main { padding-left: 80px; padding-right: 80px; column-gap: 96px; }
}
.b-rate-more { margin: 4px 0 0; }
.b-rate__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-underline-offset: 4px; }
