/* Garage Healthcheck: the established TGI workshop identity applied to a focused assessment flow. */
.page-template-template-healthcheck {
  --hc-line: #cbd4dc;
  --hc-copy: #253442;
  --hc-muted: #596570;
  --hc-pale: #edf6fc;
}
.hc-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hc-alert { margin-bottom: 1.25rem; padding: 15px 18px; border: 2px solid #9b2c2c; background: #fff2f2; color: #681c1c; font-size: 15px; line-height: 1.5; }
.page-hero .hc-alert { color: #681c1c; }

/* Landing page */
.page-template-template-healthcheck .page-hero { border-bottom: 8px solid var(--tgi-blue); }
.page-template-template-healthcheck .page-hero-copy > .copy { max-width: 58ch; }
.page-template-template-healthcheck .page-hero-media { position: relative; }
.page-template-template-healthcheck .page-hero-media::after { content: ''; position: absolute; right: 15px; bottom: 0; width: 68px; height: 7px; background: var(--tgi-teal); }
@media (min-width: 768px) {
  .page-template-template-healthcheck .page-hero { overflow: hidden; }
  .page-template-template-healthcheck .page-hero-media img { width: 132%; max-width: none; margin-left: -18%; }
}
.page-template-template-healthcheck .page-hero .hc-form-card { max-width: 630px; margin-top: 2rem; padding: 0; border: 3px solid var(--tgi-blue); background: #fff; }
.hc-form-intro { padding: 20px clamp(22px, 3vw, 30px) 18px; border-bottom: 2px solid var(--hc-line); }
.hc-form-intro h2 { margin: 0 0 5px; color: var(--tgi-navy); font-family: var(--tgi-body); font-size: 21px; font-weight: 900; letter-spacing: 0; text-transform: none; }
.hc-form-intro p { margin: 0; color: var(--hc-muted); font-size: 15px; line-height: 1.45; }
.page-template-template-healthcheck .hc-form-card .tgi-form { padding: 22px clamp(22px, 3vw, 30px) 26px; }
.page-template-template-healthcheck .hc-form-card .tgi-form label { color: var(--tgi-navy); font-weight: 800; }
.page-template-template-healthcheck .hc-form-card .tgi-form input:not([type="checkbox"]) { border: 2px solid var(--hc-line); }
.page-template-template-healthcheck .hc-form-card .tgi-form input:not([type="checkbox"]):focus { border-color: var(--tgi-blue); }
.page-template-template-healthcheck .hc-form-card .form-submit .button { min-height: 56px; font-weight: 900; text-transform: uppercase; }
.page-template-template-healthcheck .numbered-list { border-bottom: 1px solid var(--hc-line); }
.page-template-template-healthcheck .numbered-list .section-heading { max-width: 21ch; }
.page-template-template-healthcheck .numbered-items { row-gap: 18px; }
.page-template-template-healthcheck .numbered-list .numbered-item { min-height: 148px; padding: 22px 20px; border: 2px solid var(--tgi-pale); background: #fff; }
.page-template-template-healthcheck .numbered-list .numbered-item .num { display: block; margin-bottom: 15px; color: var(--tgi-blue); font-size: 14px; font-weight: 900; }
.page-template-template-healthcheck .numbered-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 17px; padding: 9px; background: var(--hc-pale); color: var(--tgi-navy); }
.page-template-template-healthcheck .numbered-list .numbered-item h3 { margin: 0; color: var(--tgi-navy); line-height: 1.3; }

.hc-assessment-shell { min-height: 76vh; background: var(--tgi-navy); border-bottom: 8px solid var(--tgi-blue); }
.hc-assessment { padding-block: clamp(1.5rem, 4vw, 4rem); }
.hc-assessment-container { max-width: 1120px; }
.hc-questionnaire { overflow: hidden; border: 3px solid var(--tgi-blue); border-top: 8px solid var(--tgi-teal); background: #fff; }
.hc-progress { padding: 21px clamp(24px, 4vw, 48px) 18px; background: var(--tgi-blue); color: #fff; }
.hc-progress-copy { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 12px; font-size: 14px; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: .045em; }
.hc-progress-copy > span:first-child { color: #fff; }
.hc-progress-copy > span:last-child { flex: 0 0 auto; color: #fff; }
.hc-progress-track { height: 8px; overflow: hidden; background: rgba(255, 255, 255, .22); }
.hc-progress-track span { display: block; height: 100%; background: var(--tgi-teal); }
.hc-steps { padding: clamp(32px, 5vw, 58px) clamp(28px, 5vw, 58px) clamp(28px, 4vw, 44px); }
.hc-step { outline: none; }
.hc-step[hidden] { display: none; }
.hc-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.hc-question legend { width: 100%; max-width: 55ch; margin-bottom: 28px; padding: 0; color: var(--tgi-navy); font-family: var(--tgi-body); font-size: clamp(23px, 2vw, 31px); font-weight: 900; line-height: 1.28; }
.hc-options { display: grid; gap: 12px; }
.hc-option { position: relative; }
.hc-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hc-option label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 15px; align-items: start; margin: 0; padding: 17px 19px; border: 2px solid var(--hc-line); background: #fff; color: var(--hc-copy); font-size: 16px; font-weight: 600; line-height: 1.45; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.hc-option-marker { width: 21px; height: 21px; margin-top: 1px; border: 2px solid #7a8792; background: #fff; }
.hc-option label:hover { border-color: var(--tgi-blue); background: var(--hc-pale); }
.hc-option input:checked + label { border-color: var(--tgi-navy); background: var(--tgi-navy); color: #fff; }
.hc-option input:checked + label .hc-option-marker { border: 6px solid var(--tgi-teal); background: var(--tgi-navy); }
.hc-option input:focus-visible + label { outline: 3px solid var(--tgi-teal); outline-offset: 4px; }
.hc-question.has-error { padding-inline: 16px; padding-bottom: 16px; background: #fff2f2; }
.hc-question-error { margin: 14px 0 0; color: #861f1f; font-size: 15px; font-weight: 800; }
.hc-controls { display: flex; justify-content: flex-start; align-items: center; gap: 18px; padding: 0 clamp(28px, 5vw, 58px) 18px; }
.hc-controls .button { margin: 0; }
.hc-back[hidden] { display: none; }
.hc-questionnaire.is-enhanced .hc-submit[hidden] { display: none; }
.hc-back.button.hollow { min-width: 0; padding: 8px 0; border: 0; background: transparent; color: var(--hc-muted); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hc-back.button.hollow:hover, .hc-back.button.hollow:focus { border: 0; background: transparent; color: var(--tgi-blue); }
.hc-submit:disabled { cursor: wait; opacity: .62; }
.hc-submit-status { margin: 0; color: var(--tgi-navy); font-size: 15px; font-weight: 900; }
.hc-save-note { margin: 0 clamp(28px, 5vw, 58px) 28px; padding-top: 18px; border-top: 1px solid var(--hc-line); color: var(--hc-muted); font-size: 14px; }

.hc-complete-shell { min-height: 78vh; border-bottom: 8px solid var(--tgi-blue); background: var(--tgi-navy); }
.hc-complete { padding-block: clamp(3rem, 7vw, 7rem); }
.hc-complete-container { max-width: 1040px; }
.hc-complete-card { position: relative; padding: clamp(32px, 6vw, 70px); border: 3px solid var(--tgi-blue); border-top: 8px solid var(--tgi-teal); background: #fff; }
.hc-complete-head { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: clamp(24px, 4vw, 42px); align-items: start; }
.hc-complete-accent { display: flex; align-items: center; justify-content: center; width: 82px; height: 82px; background: var(--tgi-blue); }
.hc-complete-accent span { width: 34px; height: 18px; border-bottom: 6px solid #fff; border-left: 6px solid #fff; transform: rotate(-45deg) translate(2px, -2px); }
.hc-complete-label { margin-bottom: 12px; color: var(--tgi-blue); font-size: 13px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.hc-complete h1 { max-width: 18ch; margin-bottom: 25px; color: var(--tgi-navy); font-size: clamp(34px, 4.7vw, 60px); }
.hc-complete-message { max-width: 62ch; margin-bottom: 10px; color: var(--hc-copy); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; }
.hc-complete-help { max-width: 62ch; color: var(--hc-muted); font-size: 16px; }
.hc-email-notice { max-width: 680px; margin: 28px 0 0; padding: 16px 18px; border: 2px solid var(--tgi-blue); background: var(--hc-pale); color: var(--tgi-navy); font-weight: 800; }
.hc-email-notice.is-error { border-color: #9b2c2c; background: #fff2f2; color: #681c1c; }
.hc-alt-email { max-width: 680px; margin: 38px 0 0 124px; border-top: 3px solid var(--tgi-blue); border-bottom: 1px solid var(--hc-line); }
.hc-alt-email summary { padding: 20px 0; color: var(--tgi-navy); font-size: 17px; font-weight: 900; cursor: pointer; }
.hc-alt-email summary:focus-visible { outline: 3px solid var(--tgi-teal); outline-offset: 4px; }
.hc-alt-email-body { padding: 0 0 26px; }
.hc-alt-email-body p { color: #40505d; }
.hc-alt-email-body label { color: var(--tgi-navy); font-weight: 900; }
.hc-alt-email-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
.hc-alt-email-fields input { box-sizing: border-box; height: 54px; margin: 0; border: 2px solid #7a8792; box-shadow: none; }
.hc-alt-email-fields input:focus { border-color: var(--tgi-blue); box-shadow: 0 0 0 2px var(--tgi-blue); }
.hc-alt-email-fields .button { box-sizing: border-box; height: 54px; min-height: 54px; margin: 0; padding-block: 0; display: inline-flex; align-items: center; justify-content: center; }
.hc-home-link { display: inline-block; margin: 34px 0 0 124px; color: var(--tgi-blue); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 639px) {
  .hc-assessment { padding-block: 18px; }
  .hc-questionnaire { border-top-width: 6px; margin-inline: -9px; }
  .hc-progress { padding: 18px 20px 15px; }
  .hc-progress-copy { font-size: 12px; }
  .hc-steps { padding: 25px 20px; }
  .hc-option label { padding: 14px; font-size: 15px; }
  .hc-controls { padding: 0 20px 18px; }
  .hc-save-note { margin: 0 20px 22px; }
  .hc-alt-email-fields { grid-template-columns: 1fr; }
  .hc-alt-email-fields .button { width: 100%; }
  .hc-complete-head { grid-template-columns: 1fr; gap: 24px; }
  .hc-complete-accent { width: 68px; height: 68px; }
  .hc-alt-email, .hc-home-link { margin-left: 0; }
  .page-template-template-healthcheck .page-hero-media::after { right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-progress-track span, .hc-option label { transition: none; }
}
