/* The ads landing pages' two-step form, for site pages (/renovations/,
   /custom-builds/). Rules copied from start-your-project/ and
   build-your-custom-home/ and scoped to .wh-lp-embed; keep them in step.
   Field and submit basics come from wh-contact-form.css. */
/* Form card: light surface on the photo. Fields + submit from
   wh-contact-form.css, recoloured for a light surface here. */
body.whd-page .wh-lp-embed .wh-lp-card {
  --card-pad: clamp(22px, 3vw, 32px);
  scroll-margin-top: 16px;
  background: var(--surface-card, #FAF8F4);
  color: var(--text-body, #3A332E);
  padding: var(--card-pad);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
body.whd-page .wh-lp-embed .wh-lp-card__progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 22px;
}
body.whd-page .wh-lp-embed .wh-lp-card__progress i { display: block; height: 3px; background: #DDD6CC; }
body.whd-page .wh-lp-embed .wh-lp-card__progress i.is-on { background: var(--whh-olive, #494F25); }
/* Small step label above the progress bar (one label, updated by script). */
body.whd-page .wh-lp-embed .wh-lp__step {
  display: block;
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--whh-olive, #494F25);
}
body.whd-page .wh-lp-embed .wh-lp-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--text-heading, #2A2320);
}
body.whd-page .wh-lp-embed .wh-lp-card h3:focus { outline: none; }
body.whd-page .wh-lp-embed .wh-lp-card__hint { margin: -10px 0 16px; font-size: .9rem; color: var(--text-muted, #6B6157); }
/* Price note only once a category is open (prices mean nothing before). */
body.whd-page .wh-lp-embed .wh-lp-pick:not(:has(.wh-lp-acc__head[aria-expanded="true"])) .wh-lp-pick__note { display: none; }
body.whd-page .wh-lp-embed .wh-lp-card__picked:empty { visibility: hidden; }
body.whd-page .wh-lp-embed .wh-lp-stage[hidden] { display: none !important; }

/* Category accordion: all three categories visible; each opens in place,
   several can be open at once. Count badge shows picks inside a closed one. */
body.whd-page .wh-lp-embed .wh-lp-acc + .wh-lp-acc { margin-top: 8px; }
body.whd-page .wh-lp-embed .wh-lp-acc__head {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  max-width: none !important;
  min-height: 74px;
  margin: 0 !important;
  padding: 8px 14px 8px 8px !important;
  box-sizing: border-box;
  background: #fff !important;
  border: 1px solid #CFC7BB !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--text-heading, #2A2320) !important;
  cursor: pointer;
}
body.whd-page .wh-lp-embed .wh-lp-acc__head:hover { border-color: var(--whh-olive, #494F25) !important; }
body.whd-page .wh-lp-embed .wh-lp-acc__head:focus-visible { outline: 2px solid var(--whh-olive, #494F25); outline-offset: 2px; }
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] {
  border-color: var(--whh-olive, #494F25) !important;
  background: #F4F5EC !important;
}
body.whd-page .wh-lp-embed .wh-lp-acc__thumb {
  flex: none;
  width: 56px; height: 56px;
  max-width: none;
  object-fit: cover;
}
body.whd-page .wh-lp-embed .wh-lp-acc__title {
  flex: 1 1 auto;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
}
/* Picks summary under a category name; shown only while that category is closed. */
body.whd-page .wh-lp-embed .wh-lp-acc__picked {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans, "Montserrat", sans-serif);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--whh-olive, #494F25);
}
body.whd-page .wh-lp-embed .wh-lp-acc__picked:empty,
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] .wh-lp-acc__picked { display: none; }
/* + square → − when open (the vertical stroke rotates flat). */
body.whd-page .wh-lp-embed .wh-lp-acc__plus {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--whh-olive, #494F25);
  background: #fff;
  transition: background-color .2s ease;
}
body.whd-page .wh-lp-embed .wh-lp-acc__plus::before, body.whd-page .wh-lp-embed .wh-lp-acc__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.6px;
  margin: -0.8px 0 0 -6px;
  background: var(--whh-olive, #494F25);
  transition: transform .2s cubic-bezier(.22,.61,.36,1), background-color .2s ease;
}
body.whd-page .wh-lp-embed .wh-lp-acc__plus::after { transform: rotate(90deg); }
body.whd-page .wh-lp-embed .wh-lp-acc__head:hover .wh-lp-acc__plus { background: #EEF0E2; }
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] .wh-lp-acc__plus { background: var(--whh-olive, #494F25); }
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] .wh-lp-acc__plus::before,
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] .wh-lp-acc__plus::after { background: #FBF8F2; }
body.whd-page .wh-lp-embed .wh-lp-acc__head[aria-expanded="true"] .wh-lp-acc__plus::after { transform: rotate(0deg); }
body.whd-page .wh-lp-embed .wh-lp-acc .wh-lp-panel { padding: 8px 0 4px 14px; border-left: 1px solid var(--whh-olive, #494F25); margin-left: 0; }
body.whd-page .wh-lp-embed .wh-lp-tab__count {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 4px;
  box-sizing: border-box;
  background: var(--whh-olive, #494F25);
  color: #FBF8F2;
  font-size: .7rem;
  letter-spacing: 0;
  vertical-align: 1px;
}
body.whd-page .wh-lp-embed .wh-lp-tab__count[hidden] { display: none; }
body.whd-page .wh-lp-embed .wh-lp-panel[hidden] { display: none; }

/* Next stays on screen while the picker is in view: sticky to the bottom
   of the viewport inside the card, full card width. */
body.whd-page .wh-lp-embed .wh-lp-card__foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px calc(var(--card-pad) * -1) calc(var(--card-pad) * -1);
  padding: 14px var(--card-pad) var(--card-pad);
  background: var(--surface-card, #FAF8F4);
  border-top: 1px solid var(--line, #DDD6CC);
}
body.whd-page .wh-lp-embed .wh-lp-card__picked { margin: 0; font-size: .85rem; color: var(--text-muted, #6B6157); }
body.whd-page .wh-lp-embed .wh-lp-summary {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #EEF0E2;
  font-size: .85rem;
  line-height: 1.45;
  color: var(--text-heading, #2A2320);
}
body.whd-page .wh-lp-embed .wh-lp-link {
  appearance: none;
  background: none !important;
  border: 0 !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  font: inherit !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  color: var(--whh-olive, #494F25) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
}

body.whd-page .wh-lp-embed .wh-cform-field > label { color: var(--text-heading, #2A2320); font-weight: 500; margin-bottom: 6px; font-size: .72rem; }
body.whd-page .wh-lp-embed .wh-cform-field input,
body.whd-page .wh-lp-embed .wh-cform-field select,
body.whd-page .wh-lp-embed .wh-cform-field textarea { background-color: #fff; border-color: #CFC7BB; padding: 10px 12px; }
body.whd-page .wh-lp-embed .wh-cform-field input:focus,
body.whd-page .wh-lp-embed .wh-cform-field select:focus,
body.whd-page .wh-lp-embed .wh-cform-field textarea:focus { border-color: var(--whh-olive, #494F25); box-shadow: 0 0 0 1px var(--whh-olive, #494F25); }
body.whd-page .wh-lp-embed .wh-cform-consent { margin: 0 0 18px; }
body.whd-page .wh-lp-embed .wh-cform-consent label { color: var(--text-body, #3A332E); font-size: .78rem; line-height: 1.5; }
body.whd-page .wh-lp-embed .wh-cform-consent input { accent-color: var(--whh-olive, #494F25); }
body.whd-page .wh-lp-embed .wh-cform .wh-cform-submit,
body.whd-page .wh-lp-embed .wh-cform .wh-lp-next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  background-color: var(--whh-olive, #494F25) !important;
  border: 1px solid var(--whh-olive, #494F25) !important;
  border-radius: 0 !important;
  color: #FBF8F2 !important;
  -webkit-text-fill-color: #FBF8F2 !important;
  font-family: var(--font-sans, "Montserrat", sans-serif) !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  letter-spacing: .14em;
  text-transform: uppercase !important;
  padding: 16px 24px !important;
  margin: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
}
body.whd-page .wh-lp-embed .wh-cform .wh-cform-submit { width: 100% !important; max-width: none !important; }
body.whd-page .wh-lp-embed .wh-cform .wh-cform-submit:hover:not(:disabled),
body.whd-page .wh-lp-embed .wh-cform .wh-lp-next:hover {
  background-color: var(--whh-olive-deep, #3A3D2A) !important;
  border-color: var(--whh-olive-deep, #3A3D2A) !important;
}
body.whd-page .wh-lp-embed .wh-cform-actions { display: block; }
body.whd-page .wh-lp-embed .wh-cform-result { color: var(--text-heading, #2A2320); }
body.whd-page .wh-lp-embed .wh-cform-result--error { color: #8E3B2A; }

/* Project picker: one list, three groups, name + starting budget per row. */
body.whd-page .wh-lp-embed .wh-lp-pick { margin: 0 !important; }
body.whd-page .wh-lp-embed .wh-lp-pick__group + .wh-lp-pick__group { margin-top: 18px; }
body.whd-page .wh-lp-embed .wh-lp-pick__group h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text-heading, #2A2320);
}
body.whd-page .wh-lp-embed .wh-lp-pick__list { display: grid; gap: 6px; }
body.whd-page .wh-lp-embed .wh-lp-opt { position: relative; display: block; cursor: pointer; }
body.whd-page .wh-lp-embed .wh-lp-opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
body.whd-page .wh-lp-embed .wh-lp-opt span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 12px;
  box-sizing: border-box;
  border: 1px solid var(--line, #DDD6CC);
  background: #fff;
  color: var(--text-heading, #2A2320);
  font-size: .95rem;
  line-height: 1.3;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
/* Row marker: "+" (add) square; picked = filled olive with a tick. */
body.whd-page .wh-lp-embed .wh-lp-opt span::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  box-sizing: border-box;
  border: 1px solid var(--whh-olive, #494F25);
  background: #fff center / 10px no-repeat;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0v10M0 5h10' fill='none' stroke='%23494F25' stroke-width='1.6'/%3E%3C/svg%3E");
}
body.whd-page .wh-lp-embed .wh-lp-opt:hover span::before { background-color: #EEF0E2; }
body.whd-page .wh-lp-embed .wh-lp-opt em {
  margin-left: auto;
  font-style: normal;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--whh-olive, #494F25);
}
body.whd-page .wh-lp-embed .wh-lp-opt:hover span { border-color: var(--whh-olive, #494F25); }
body.whd-page .wh-lp-embed .wh-lp-opt input:checked + span {
  background: #EEF0E2;
  border-color: var(--whh-olive, #494F25);
  box-shadow: inset 0 0 0 1px var(--whh-olive, #494F25);
}
body.whd-page .wh-lp-embed .wh-lp-opt input:checked + span em { color: var(--whh-olive-deep, #3A3D2A); }
body.whd-page .wh-lp-embed .wh-lp-opt input:checked + span::before {
  border-color: var(--whh-olive, #494F25);
  background-color: var(--whh-olive, #494F25);
  background-size: 11px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23FBF8F2' stroke-width='2'/%3E%3C/svg%3E");
}
body.whd-page .wh-lp-embed .wh-lp-opt input:focus-visible + span { outline: 2px solid var(--whh-olive, #494F25); outline-offset: 2px; }
/* Covered by a bundle pick (Whole Home): shown as included, not ticked or sent. */
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered { cursor: default; }
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered span {
  background: #F4F5EC;
  border-color: #C9CCAE;
  color: var(--text-muted, #6B6157);
}
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered span::before {
  border-color: var(--whh-olive, #494F25);
  background-color: transparent;
  background-size: 11px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23494F25' stroke-width='2'/%3E%3C/svg%3E");
}
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered em { color: var(--whh-olive, #494F25); font-weight: 600; letter-spacing: .04em; }
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered:hover span { border-color: #C9CCAE; }
body.whd-page .wh-lp-embed .wh-lp-pick__note { margin: 14px 0 0; font-size: .85rem; line-height: 1.55; color: var(--text-muted, #6B6157); }
body.whd-page .wh-lp-embed .wh-lp-pick__error { margin: 0 0 12px; padding: 10px 14px; border: 1px solid #C98B7C; background: #FBEFEA; font-weight: 600; font-size: .9rem; color: #8E3B2A; }
body.whd-page .wh-lp-embed .wh-cform-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; align-items: end; }
body.whd-page .wh-lp-embed .wh-cform-field--wide { grid-column: 1 / -1; }
body.whd-page .wh-lp-embed .wh-cform-field textarea { min-height: 72px; }

/* Custom-home questions: radio rows (round markers, not "+"). */
body.whd-page .wh-lp-embed .wh-lp-q + .wh-lp-q { margin-top: 18px !important; }
body.whd-page .wh-lp-embed .wh-lp-q legend {
  padding: 0;
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-heading, #2A2320);
}
body.whd-page .wh-lp-embed .wh-lp-q legend span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-muted, #6B6157); }
body.whd-page .wh-lp-embed .wh-lp-pick__list--2 { grid-template-columns: 1fr 1fr; }
body.whd-page .wh-lp-embed .wh-lp-pick__list--2 .wh-lp-opt:last-child { grid-column: 1 / -1; }
body.whd-page .wh-lp-embed .wh-lp-q .wh-lp-opt span::before { border-radius: 50%; background-image: none !important; }
body.whd-page .wh-lp-embed .wh-lp-q .wh-lp-opt input:checked + span::before { background-color: #fff; box-shadow: inset 0 0 0 5px var(--whh-olive, #494F25); }
/* Covered by a bundle pick (Whole Home): shown as included, not ticked or sent. */
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered { cursor: default; }
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered span {
  background: #F4F5EC;
  border-color: #C9CCAE;
  color: var(--text-muted, #6B6157);
}
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered span::before {
  border-color: var(--whh-olive, #494F25);
  background-color: transparent;
  background-size: 11px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23494F25' stroke-width='2'/%3E%3C/svg%3E");
}
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered em { color: var(--whh-olive, #494F25); font-weight: 600; letter-spacing: .04em; }
body.whd-page .wh-lp-embed .wh-lp-opt.is-covered:hover span { border-color: #C9CCAE; }
body.whd-page .wh-lp-embed .wh-lp-pick__note { margin: 14px 0 0; font-size: .85rem; line-height: 1.55; color: var(--text-muted, #6B6157); }
body.whd-page .wh-lp-embed .wh-lp-pick__error { margin: 0 0 12px; padding: 10px 14px; border: 1px solid #C98B7C; background: #FBEFEA; font-weight: 600; font-size: .9rem; color: #8E3B2A; }
body.whd-page .wh-lp-embed .wh-cform-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; align-items: end; }
body.whd-page .wh-lp-embed .wh-cform-field--wide { grid-column: 1 / -1; }
body.whd-page .wh-lp-embed .wh-cform-field textarea { min-height: 72px; }


/* Layout: heading on the dark band, form card beside it. */
body.whd-page .wh-lp-embed .wh-lp-embed__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
body.whd-page .wh-lp-embed .wh-cform-heading { text-align: left; text-wrap: balance; }
body.whd-page .wh-lp-embed .wh-cform-divider { margin-left: 0; }
body.whd-page .wh-lp-embed .wh-cform-sub { text-align: left; margin-left: 0; margin-bottom: 1.5rem; }
body.whd-page .wh-lp-embed .wh-lp-embed__call { display: inline-block; padding: 8px 0; color: #F3EEE6; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; }
body.whd-page .wh-lp-embed .wh-lp-embed__call:hover { color: #C3C79D; }
body.whd-page .wh-lp-embed .wh-lp-embed__call:focus-visible { outline: 2px solid #C3C79D; outline-offset: 3px; }
body.whd-page .wh-lp-embed .wh-lp-card { scroll-margin-top: 110px; box-shadow: none; font-family: var(--font-sans, "Montserrat", sans-serif); }
body.whd-page .wh-lp-embed .wh-lp-card fieldset { margin-bottom: 0; }
body.whd-page .wh-lp-embed .wh-lp-card__foot { position: static; } /* sticky only makes sense in the ads page's first screen */
body.whd-page .wh-lp-embed .wh-lp-card p { text-wrap: pretty; }
body.whd-page .wh-lp-embed .wh-lp-card input,
body.whd-page .wh-lp-embed .wh-lp-card select,
body.whd-page .wh-lp-embed .wh-lp-card textarea { font-size: 1rem; }
body.whd-page .wh-lp-embed .wh-lp-next:focus-visible,
body.whd-page .wh-lp-embed .wh-cform-submit:focus-visible,
body.whd-page .wh-lp-embed .wh-lp-link:focus-visible { outline: 2px solid #494F25 !important; outline-offset: 3px; }
@media (max-width: 960px) {
  body.whd-page .wh-lp-embed .wh-lp-embed__grid { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
}
@media (max-width: 640px) {
  body.whd-page .wh-lp-embed { padding-left: 12px; padding-right: 12px; }
  body.whd-page .wh-lp-embed .wh-lp-embed__copy { padding: 0 12px; }
  body.whd-page .wh-lp-embed .wh-cform-grid { grid-template-columns: 1fr; }
  body.whd-page .wh-lp-embed .wh-lp-acc__head { min-height: 64px; }
  body.whd-page .wh-lp-embed .wh-lp-acc__thumb { width: 48px; height: 48px; }
  body.whd-page .wh-lp-embed .wh-lp-acc__title { font-size: 1.25rem; }
  body.whd-page .wh-lp-embed .wh-lp-opt span { font-size: .9rem; }
}
@media (max-width: 400px) {
  body.whd-page .wh-lp-embed .wh-lp-card__foot { flex-wrap: wrap; }
  body.whd-page .wh-lp-embed .wh-lp-opt span { padding: 10px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.whd-page .wh-lp-embed .wh-lp-opt span,
  body.whd-page .wh-lp-embed .wh-lp-acc__plus,
  body.whd-page .wh-lp-embed .wh-lp-acc__plus::before,
  body.whd-page .wh-lp-embed .wh-lp-acc__plus::after { transition: none; }
}

/* /contact-us/: the card sits inside the contact section, under the topic pills. */
body.whd-page .wh-lp-embed.wh-contact-steps { padding: 0; }
/* contact-us/index.html forces cream !important on every label in the section
   (for the dark band); inside the light card they need the dark text back. */
body.whd-page #wh-contact-form .wh-contact-steps .wh-cform-field > label { color: var(--text-heading, #2A2320) !important; }
body.whd-page #wh-contact-form .wh-contact-steps .wh-cform-consent label { color: var(--text-body, #3A332E) !important; }

/* /contact-us/: every other topic uses the same light card. Community is two
   steps, with a logo tile per community. */
body.whd-page .wh-contact-card [hidden] { display: none !important; }
body.whd-page .wh-contact-card fieldset { margin: 0; padding: 0; border: 0; }
body.whd-page .wh-contact-card .wh-cform-field { margin: 0 0 14px; }
body.whd-page .wh-contact-card .wh-cform-grid .wh-cform-field { margin: 0; }
body.whd-page .wh-contact-card .wh-cform-field input,
body.whd-page .wh-contact-card .wh-cform-field select { min-height: 48px; }
body.whd-page .wh-contact-card .wh-cform-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #8E3B2A; box-shadow: 0 0 0 1px #8E3B2A; }
body.whd-page .wh-contact-card .wh-cform-field input[aria-invalid="true"] {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='%238E3B2A'/%3E%3Cpath d='M9 4.5v5.5M9 12.2v1.6' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}
body.whd-page #wh-contact-form .wh-contact-card .wh-cform-hint,
body.whd-page #wh-contact-form .wh-contact-card .wh-cform-note { color: var(--text-muted, #6B6157); }
body.whd-page #wh-contact-form .wh-contact-card .wh-cform-note { margin: 0 0 18px; }
body.whd-page #wh-contact-form .wh-contact-card .wh-cform-note a { color: var(--whh-olive, #494F25); }
body.whd-page .wh-contact-card .wh-cform-consent { margin-top: 4px; }
body.whd-page .wh-contact-card .wh-cform .wh-cform-submit,
body.whd-page .wh-contact-steps .wh-contact-card .wh-cform-submit { justify-content: center !important; }

body.whd-page .wh-contact-card .wh-cc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.whd-page #wh-contact-form .wh-contact-card .wh-cc-tile { position: relative; display: grid; margin: 0; cursor: pointer; }
body.whd-page .wh-contact-card .wh-cc-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
body.whd-page .wh-contact-card .wh-cc-tile__face {
  display: grid;
  grid-template-rows: 76px auto;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 16px 10px 12px;
  background: #fff;
  border: 1px solid var(--line, #DDD6CC);
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease;
}
body.whd-page .wh-contact-card .wh-cc-tile img { width: 100%; height: 76px; max-width: 150px; object-fit: contain; }
body.whd-page .wh-contact-card .wh-cc-tile img[src$=".svg"] { height: 52px; align-self: center; }
body.whd-page .wh-contact-card .wh-cc-tile__name { color: var(--text-heading, #2A2320); font-size: .85rem; font-weight: 600; line-height: 1.3; }
body.whd-page .wh-contact-card .wh-cc-tile__name small { display: block; margin-top: 2px; color: var(--text-muted, #6B6157); font-size: .75rem; font-weight: 500; }
body.whd-page .wh-contact-card .wh-cc-tile:hover .wh-cc-tile__face { border-color: var(--whh-olive, #494F25); }
body.whd-page .wh-contact-card .wh-cc-tile input:checked + .wh-cc-tile__face {
  background: #F4F5EC;
  border-color: var(--whh-olive, #494F25);
  box-shadow: inset 0 0 0 2px var(--whh-olive, #494F25);
}
/* Tick in the corner, so the pick doesn't rely on colour alone. */
body.whd-page .wh-contact-card .wh-cc-tile input:checked + .wh-cc-tile__face::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  background: var(--whh-olive, #494F25) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23FBF8F2' stroke-width='2'/%3E%3C/svg%3E") center / 11px no-repeat;
}
body.whd-page .wh-contact-card .wh-cc-tile input:focus-visible + .wh-cc-tile__face { outline: 2px solid var(--whh-olive, #494F25); outline-offset: 2px; }
body.whd-page .wh-contact-card .wh-cform-community-fields,
body.whd-page .wh-contact-card .wh-cc-pick + .wh-cform-panel { margin-top: 18px; }
body.whd-page .wh-contact-card .wh-cform-community-fields { margin-bottom: 0; }
body.whd-page .wh-contact-card .wh-cform-community-fields .wh-cform-field:only-child { margin: 0; }
body.whd-page .wh-contact-card .wh-lp-card__foot { justify-content: flex-end; }
@media (max-width: 640px) {
  body.whd-page .wh-contact-card .wh-cc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.whd-page .wh-contact-card .wh-cc-tile__face { grid-template-rows: 60px auto; padding: 14px 8px 10px; }
  body.whd-page .wh-contact-card .wh-cc-tile img { height: 60px; }
  body.whd-page .wh-contact-card .wh-lp-card__foot .wh-cc-next { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.whd-page .wh-contact-card .wh-cc-tile__face { transition: none; }
}
