/* Homepage and service registration. Scoped to avoid altering search/admin pages. */
.home-page, .registration-page { background: #f7f1e7; color: #173f35; }
.home-page .site-header { max-width: 1320px; margin: auto; height: 100px; padding: 20px 48px; }
.home-page .site-header nav { gap: 30px; }
.home-hero { position: relative; max-width: 1600px; margin: 0 auto; min-height: 620px; isolation: isolate; }
.home-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% top; z-index: -1; }
.home-hero-inner { max-width: 1320px; margin: auto; padding: 48px 48px 44px; }
.home-hero-copy { background: #f7f1e7; padding: 36px 42px 54px; width: 560px; max-width: 51%; }
.home-hero-copy h1 { font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: clamp(44px, 3.6vw, 60px); line-height: 1.05; letter-spacing: -.045em; margin: 15px 0 24px; }
.home-hero-copy .eyebrow { font-size: 9px; letter-spacing: .17em; }
.home-hero-copy > p:last-child { font-size: 17px; line-height: 1.65; margin: 21px 0 0; max-width: 350px; }
.home-accent { display: block; height: 2px; width: 44px; background: #b85d43; }
.home-find-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; position: relative; margin: -16px 0 0; max-width: 1120px; padding: 20px 22px; background: #fffcf6; box-shadow: 0 0 0 1px #ded3c3, 0 8px 24px #173f3510; }
.home-find-form label { min-width: 0; }
.home-find-form label + label { border-left: 1px solid #ded3c3; padding-left: 20px; }
.home-find-form label span { display: block; color: #656961; font-size: 12px; margin-bottom: 8px; }
.home-find-form select { display: block; width: 100%; font-size: 15px; background: transparent; color: #173f35; border: 0; padding: 5px 18px 5px 0; }
.home-find-form button, .state-select-form button, .registration-card button { background: #173f35; color: #fffdf7; border: 0; border-radius: 4px; padding: 19px 25px; font-weight: 650; cursor: pointer; font-size: 14px; }
.home-find-form button:hover, .state-select-form button:hover, .registration-card button:hover { background: #28584b; }
.home-find-form button span { margin-left: 20px; }
.home-section { max-width: 1320px; margin: auto; padding: 68px 48px; scroll-margin-top: 24px; }
.home-section h2, .home-business h2, .registration-shell h1, .registration-shell h2 { font-family: var(--font-display, Georgia, serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.home-section h2 { font-size: clamp(34px, 3.4vw, 49px); margin: 10px 0 14px; }
.home-location-heading { text-align: center; margin-bottom: 30px; }
.home-location-heading > p:last-child { color: #626961; font-size: 16px; }
.state-map-panel { position: relative; border: 1px solid #d9cebb; padding: 24px 22px 18px; }
.state-map-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.state-map { display: block; width: 100%; height: auto; }
.map-state { cursor: pointer; outline: none; }
.state-shape { fill: #c6ceb7; stroke: #f7f1e7; stroke-width: 1.2; stroke-linejoin: round; transition: fill .15s; }
.map-state.is-empty .state-shape { fill: #e0e1d3; }
.map-state:hover .state-shape, .map-state:focus .state-shape { fill: #c98467; }
.map-state:focus-visible .state-shape { stroke: #173f35; stroke-width: 2.5; }
.state-label { font: 12px Arial, sans-serif; fill: #173f35; pointer-events: none; }
.state-count { font-weight: 700; font-size: 13px; }
.state-leader { stroke: #9b9f88; stroke-width: 1; fill: none; pointer-events: none; }
.state-callout { fill: #f7f1e7; stroke: #d9cebb; stroke-width: .6; }
.map-state:hover .state-callout, .map-state:focus .state-callout { fill: #e8c6ad; stroke: #173f35; }
.map-caption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #64675c; padding-top: 10px; }
.map-caption i { width: 12px; height: 12px; display: inline-block; background: #c6ceb7; margin-right: 6px; vertical-align: -1px; }
.map-mobile-hint { display: none; }
.map-tooltip { position: absolute; z-index: 2; pointer-events: none; max-width: 275px; background: #fffdf8; border: 1px solid #ded3c3; border-radius: 4px; padding: 16px 18px; box-shadow: 0 5px 18px #173f3519; font-size: 13px; }
.map-tooltip[hidden] { display: none; }
.map-tooltip strong, .map-tooltip span { display: block; }
.map-tooltip span { color: #a4472e; margin-top: 8px; }
.home-map-actions { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 19px; }
.state-select-form label { font-size: 12px; display: block; margin-bottom: 7px; color: #626961; }
.state-select-form > div { display: flex; gap: 8px; }
.state-select-form select { border: 1px solid #d9cebb; border-radius: 3px; background: transparent; color: #173f35; padding: 12px; min-width: 230px; font-size: 14px; }
.state-select-form button { padding: 12px 16px; }
.home-page .text-link, .registration-page .text-link { color: #a4472e; font-size: 14px; }
.home-map-actions > a { padding-bottom: 12px; }
.home-services { padding-top: 44px; padding-bottom: 70px; border-top: 1px solid #d9cebb; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.home-section-heading h2 { font-size: clamp(31px, 3vw, 43px); max-width: 820px; }
.home-section-heading > a { white-space: nowrap; padding-bottom: 17px; }
.home-service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 18px; }
.home-service-card { display: block; min-width: 0; color: #173f35; }
.service-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: filter .2s; }
.home-service-card h3 { font-family: var(--font-display, Georgia, serif); font-size: 18px; line-height: 1.25; font-weight: 500; margin: 12px 0 6px; }
.home-service-card h3::after { content: ''; display: block; width: 29px; height: 1px; background: #cbbca4; margin-top: 8px; }
.service-description { display: block; font-size: 11px; line-height: 1.55; color: #676d62; }
.home-service-card:hover .service-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: filter .2s; }
.home-service-card:hover h3 { color: #a4472e; }
.home-business { background: #173f35; color: #fffdf7; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 52px max(48px, calc((100vw - 1224px) / 2)); }
.home-business .eyebrow { color: #e8b39d; }
.home-business h2 { font-size: clamp(32px, 3vw, 44px); margin: 8px 0 15px; color: #fffdf7; }
.home-business p:not(.eyebrow) { color: #d9e2d8; font-size: 15px; margin: 0; }
.home-business-action { flex-shrink: 0; text-align: center; }
.home-business-action a { border-radius: 4px; font-size: 14px; padding: 21px 28px; }
.home-business-action a span { margin-left: 20px; }
.home-business-action small { display: block; margin-top: 14px; color: #d9e2d8; font-size: 12px; }
.home-page .site-footer { padding-top: 42px; padding-bottom: 42px; }
.home-page :is(a, button, select):focus-visible, .registration-page :is(a, button, input):focus-visible { outline: 2px solid #a4472e; outline-offset: 4px; }
.registration-shell { max-width: 1200px; padding: 90px 40px 120px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.registration-intro h1 { font-size: clamp(42px, 4.5vw, 62px); margin: 16px 0 25px; }
.registration-intro > p:not(.eyebrow) { color: #626961; font-size: 17px; line-height: 1.8; margin-bottom: 30px; }
.registration-card { padding: 38px; background: #fffcf6; border: 1px solid #d9cebb; border-radius: 5px; }
.registration-card h2 { font-size: 32px; margin: 0 0 16px; }
.registration-card > p { color: #626961; font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.registration-card label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.registration-card input { display: block; width: 100%; box-sizing: border-box; border: 1px solid #b8bcae; background: #fffdf8; border-radius: 4px; padding: 15px; font-size: 16px; }
.registration-help { color: #676d62; font-size: 12px; line-height: 1.65; margin: 10px 0 22px; }
.registration-card button { width: 100%; margin-top: 2px; }
.registration-card button span { margin-left: 20px; }
.registration-card .registration-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.registration-errors { display: block; color: #a13222; font-size: 14px; line-height: 1.6; }
.registration-errors:empty { display: none; }
.registration-errors ul { padding-left: 18px; margin-bottom: 20px; }
.registration-success { background: #e9efdf; border: 1px solid #bac9aa; padding: 18px; margin-bottom: 25px; font-size: 14px; line-height: 1.65; }
.registration-card input.input-validation-error { border-color: #a13222; }
@media (max-width: 1100px) {
    .home-page .site-header { padding: 20px 28px; }
    .home-hero-inner { padding-left: 32px; padding-right: 32px; }
    .home-hero-copy { padding: 32px 32px 60px; max-width: 56%; }
    .home-section { padding-left: 32px; padding-right: 32px; }
    .home-section-heading { align-items: start; flex-direction: column; gap: 0; }
    .home-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-business { padding-left: 32px; padding-right: 32px; }
    .registration-shell { gap: 35px; }
}
@media (max-width: 760px) {
    .home-page .site-header { height: auto; min-height: 88px; padding: 18px 20px; flex-wrap: wrap; gap: 18px; }
    .home-page .site-header nav { display: flex; width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
    .home-hero { min-height: auto; padding-top: 210px; }
    .home-hero-photo { height: 330px; object-position: 70% center; }
    .home-hero-inner { padding: 0 20px 30px; }
    .home-hero-copy { width: auto; max-width: none; padding: 28px 26px 38px; }
    .home-hero-copy h1 { font-size: 44px; max-width: 460px; }
    .home-hero-copy > p:last-child { max-width: none; font-size: 16px; }
    .home-find-form { grid-template-columns: 1fr; margin: 0; padding: 22px; gap: 20px; }
    .home-find-form label + label { border-left: 0; padding-left: 0; border-top: 1px solid #ded3c3; padding-top: 16px; }
    .home-find-form select { font-size: 16px; }
    .home-section { padding: 42px 20px; }
    .state-map-panel { padding: 12px; }
    .state-map { min-width: 760px; }
    .map-caption { flex-direction: column; line-height: 1.5; font-size: 11px; }
    .map-desktop-hint { display: none; }
    .map-mobile-hint { display: inline; }
    .home-map-actions { flex-direction: column; align-items: stretch; }
    .state-select-form select { width: 100%; min-width: 0; font-size: 16px; }
    .state-select-form > div { width: 100%; }
    .home-map-actions > a { padding: 6px 0; align-self: start; }
    .home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
    .home-service-card h3 { font-size: 17px; }
    .home-business { padding: 42px 24px; flex-direction: column; align-items: start; gap: 28px; }
    .home-business-action { text-align: left; }
    .home-business h2 { max-width: 440px; }
    .registration-shell { grid-template-columns: 1fr; padding: 40px 20px 65px; gap: 35px; }
    .registration-card { padding: 26px; }
}
@media (max-width: 450px) {
    .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero-copy h1 { font-size: 40px; }
    .home-page .site-header .brand strong { font-size: 22px; }
}
