/* Hampson's home: hero, rating band, price boards, why us, reviews, booking form (the number plate), find us. */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section__head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.section__head--centre { text-align: center; }
.section__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.section__lede { max-width: 56ch; margin-top: 12px; color: var(--ink-2); font-size: 1.125rem; text-wrap: pretty; }

/* ------------------------------------------------------------------ Hero */
/* Split: the words and both buttons; their own photo, set on a yellow block offset behind it. */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(36px, 5vw, 72px); background: var(--surface); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.125rem); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.hero__lede { max-width: 38ch; margin-top: 20px; font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__photo { position: relative; justify-self: end; width: 100%; max-width: 560px; margin: 0 14px 14px 0; }
.hero__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0; border-radius: var(--r-card); background: var(--yellow); }
.hero__photo img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
@media (max-width: 47.99rem) {
  .hero { padding-top: 24px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__actions { display: grid; margin-top: 22px; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { justify-self: start; }
}

/* ------------------------------------------------------------------ Rating band */
.proof { background: var(--paper); border-block: 1px solid var(--line); }
.proof__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.proof__score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 600; }
.proof__num { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.proof__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }

/* ------------------------------------------------------------------ Prices: two workshop boards */
.prices__boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.board { overflow: hidden; border: 2px solid var(--charcoal); border-radius: var(--r-card); background: var(--surface); }
.board__title { padding: 14px 22px; background: var(--charcoal); color: var(--on-dark); font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; text-transform: uppercase; border-bottom: 4px solid var(--yellow); }
.board__list { padding: 8px 22px 12px; }
.board__row { display: flex; align-items: baseline; gap: 10px; padding-block: 12px; }
.board__row + .board__row { border-top: 1px solid var(--line); }
.board__name { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.board__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 35%, transparent); transform: translateY(-5px); }
.board__price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.board__from { font-size: 0.9375rem; color: var(--ink-2); }
.board__note { display: flex; align-items: center; gap: 10px; margin: 0 22px 18px; padding: 10px 14px; border-radius: var(--r-ui); background: var(--paper); font-weight: 600; }
.board__note .icon { color: var(--ink); }
@media (max-width: 61.99rem) {
  .prices__boards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
  .board__title { padding-inline: 16px; }
  .board__list { padding-inline: 16px; }
  .board__note { margin-inline: 16px; }
  .board__name { font-size: 1.25rem; }
}

/* ------------------------------------------------------------------ Why Hampson's */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.why__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.point { display: grid; gap: 8px; align-content: start; }
.point__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-ui); background: var(--yellow); color: var(--on-yellow); }
.point__icon .icon { width: 26px; height: 26px; }
.point__title { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.point__text { color: var(--ink-2); }
@media (max-width: 61.99rem) {
  .why__inner { grid-template-columns: minmax(0, 1fr); }
  .why__photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 47.99rem) {
  .why__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .point { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .point__icon { grid-row: 1 / 3; }
  .point__title { margin-top: 0; }
}

/* ------------------------------------------------------------------ Reviews (centred) */
.reviews__inner { display: grid; justify-items: center; }
.reviews__score { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 14px; font-weight: 600; color: var(--ink-2); }
.reviews__num { font-family: var(--display); font-size: 1.75rem; font-weight: 800; color: var(--ink); }
.reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 920px; }
.quote figure { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); text-align: center; }
.quote blockquote { font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.2; text-wrap: balance; }
.quote--lead { grid-column: 1 / -1; }
.quote--lead figure { border: 2px solid var(--charcoal); box-shadow: 6px 6px 0 var(--yellow); }
.quote--lead blockquote { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.quote figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.stars--small .icon { width: 1em; height: 1em; }
.reviews__more { margin-top: 28px; }
@media (max-width: 47.99rem) {
  .reviews__list { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ Booking */
.book__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 62rem) {
  .book__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.book__direct { display: grid; gap: 14px; margin-top: 26px; font-weight: 600; }
.book__direct li { display: flex; align-items: flex-start; gap: 12px; }
.book__direct .icon { margin-top: 3px; }
.book__card { padding: clamp(20px, 3vw, 36px); border: 2px solid var(--charcoal); border-radius: var(--r-card); background: var(--surface); box-shadow: 8px 8px 0 var(--yellow); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-family: var(--display); font-weight: 700; font-size: 1.1875rem; letter-spacing: 0.01em; }
.field__opt { font-family: var(--text); font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.field__hint { margin-top: -2px; font-size: 0.9375rem; color: var(--ink-2); }
.input { width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid #6b737e; border-radius: var(--r-ui); background: var(--surface); }
.input::placeholder { color: #5f6670; }
.input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.field.is-invalid .input, .field.is-invalid .plate, .field.is-invalid .choice__face { border-color: var(--error); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--error); }
.field__error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--surface); font-size: 0.75rem; font-weight: 700; }

/* The number plate: a UK rear plate, yellow, black characters in the condensed face, the blue UK band. */
.plate { display: flex; align-items: stretch; width: 100%; max-width: 380px; height: 76px; border: 3px solid var(--ink); border-radius: 8px; background: var(--plate); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.4), 0 2px 0 rgb(22 25 29 / 0.25); overflow: hidden; }
.plate:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.plate__band { display: grid; place-items: end center; flex: none; width: 46px; padding-bottom: 9px; background: var(--plate-band); color: var(--on-band); font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; }
.plate__input { flex: 1; min-width: 0; padding: 0 10px; border: 0; background: transparent; color: #101214; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.plate__input::placeholder { color: #5a4d00; letter-spacing: 0.08em; }
.plate__input:focus { outline: none; }

/* Service needed: four large toggles (radio buttons). */
.choice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.choice__item { position: relative; display: block; cursor: pointer; }
.choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__face { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border: 2px solid #6b737e; border-radius: var(--r-ui); background: var(--surface); font-family: var(--display); font-weight: 700; font-size: 1.125rem; text-align: center; }
.choice__face .icon { width: 24px; height: 24px; }
.choice__item:hover .choice__face { border-color: var(--ink); }
.choice__input:checked + .choice__face { border-color: var(--charcoal); background: var(--charcoal); color: var(--on-dark); }
.choice__input:checked + .choice__face .icon { color: var(--yellow); }
.choice__input:focus-visible + .choice__face { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Reminder checkbox. */
.check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-ui); background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--ink); border-radius: 4px; background: var(--surface); color: transparent; }
.check__box .icon { width: 18px; height: 18px; }
.check__input:checked + .check__box { background: var(--yellow); color: var(--on-yellow); }
.check__input:focus-visible + .check__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.check__text { display: grid; }
.check__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.check__hint { font-size: 0.875rem; color: var(--ink-2); }

.form__fail { padding: 12px 16px; border-radius: var(--r-ui); border: 2px solid var(--error); background: color-mix(in srgb, var(--error) 7%, var(--surface)); color: var(--error); font-weight: 600; }
.form__fail:focus { outline: none; }
.form__submit { justify-self: start; }
.spinner { display: none; }
.form.is-sending .spinner { display: block; animation: spin 0.8s linear infinite; }
.form.is-sending .form__submit { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__privacy, .form__note { font-size: 0.875rem; color: var(--ink-2); }
.form__done { display: grid; justify-items: center; gap: 14px; padding-block: 28px; text-align: center; }
.form__done:focus { outline: none; }
.form__done-icon { width: 56px; height: 56px; }
.form__done-title { font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1.05; text-transform: uppercase; }
.form__done p { max-width: 46ch; color: var(--ink-2); }
.form__summary { display: grid; justify-items: center; gap: 10px; }
.plate--mini { height: 52px; max-width: 250px; }
.plate--mini .plate__band { width: 32px; padding-bottom: 6px; font-size: 0.75rem; }
.plate__text { flex: 1; display: grid; place-items: center; padding: 0 12px; color: #101214; font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.form__summary-line { font-weight: 600; }
@media (max-width: 61.99rem) {
  .book__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__submit { width: 100%; }
  .book__card { box-shadow: 5px 5px 0 var(--yellow); }
}

/* ------------------------------------------------------------------ Find us */
.find__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.find__map { position: relative; overflow: hidden; border: 2px solid var(--charcoal); border-radius: var(--r-card); }
.find__map img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.find__map figcaption { position: absolute; inset: auto 8px 8px auto; padding: 2px 8px; border-radius: 4px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink-2); font-size: 0.75rem; }
.find__facts { display: grid; gap: 18px; }
.find__facts dt { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.find__facts dd { margin-top: 4px; font-size: 1.125rem; font-weight: 600; }
.find__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 61.99rem) {
  .find__inner { grid-template-columns: minmax(0, 1fr); }
  .find__card { order: -1; }
}
@media (max-width: 47.99rem) {
  .find__actions { display: grid; }
  .find__map img { aspect-ratio: 4 / 3; }
}
