/* Public landing pages. Scoped so forms and the command center keep their layout. */
body.flood-home { background: #f3f7fa; color: #183348; }
.flood-home { --fh-navy: #0c293e; --fh-orange: #ff8752; }
.flood-home .fh-container { width: calc(100% - 96px); max-width: 1680px; margin: 0 auto; }
.flood-home a { text-decoration: none; }
.flood-home a:focus-visible, .flood-home input:focus-visible { outline: 3px solid #f69358; outline-offset: 4px; }
.fh-nav { background: #fff; border-bottom: 1px solid #e9eff3; }
.fh-nav-inner { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fh-brand { display: flex; align-items: center; gap: 12px; color: #163b55; }
.fh-brand-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: #e8f4fc; color: #187fc1; font-size: 25px; }
.fh-brand strong { display: block; font-size: 19px; }
.fh-brand small { display: block; color: #728594; font-size: 12px; margin-top: 3px; }
.fh-nav-links { display: flex; align-items: center; gap: 30px; }
.fh-location { display: flex; align-items: center; gap: 9px; color: #34566b; font-weight: 600; }
.fh-location .bi-chevron-down { font-size: 10px; }
.fh-staff { display: flex; gap: 9px; align-items: center; color: #36576d; border: 1px solid #dbe6ec; padding: 11px 17px; border-radius: 11px; }
.fh-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 85% 20%, #205670, transparent 60%), #0c293e; color: white; padding: 48px 0 64px; }
.fh-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(28px, 4vw, 76px); }
.fh-hero-copy { padding: 18px 0; }
.fh-eyebrow { display: flex; gap: 9px; align-items: center; color: #b8d5e5; font-size: 13px; margin-bottom: 22px; }
.fh-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffac74; flex-shrink: 0; box-shadow: 0 0 0 5px #ffac7418; }
.fh-hero h1 { font-size: clamp(32px, 2.9vw, 58px); line-height: 1.45; font-weight: 700; letter-spacing: -.025em; margin: 0 0 20px; }
.fh-hero h1 span { color: #94d8ef; }
.fh-hero-copy > p { font-size: clamp(15px, 1.05vw, 18px); color: #c1d4df; line-height: 1.9; margin: 0 0 28px; }
.fh-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.fh-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px; border-radius: 12px; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.fh-button-orange { color: #162d3d; background: #ff945f; box-shadow: 0 7px 23px #0002; }
.fh-button-orange:hover { background: #ffad82; color: #162d3d; transform: translateY(-3px); }
.fh-button-outline { color: white; border: 1px solid #ffffff50; background: #ffffff05; }
.fh-button-outline:hover { background: #ffffff14; color: white; transform: translateY(-3px); }
.fh-hero-footnote { margin-top: 24px; font-size: 12px; color: #adc5d3; }
.fh-hero-footnote i { color: #8cd7d2; margin-right: 5px; }
.fh-art { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1.55; box-shadow: 0 24px 60px #041b2b50; border: 1px solid #ffffff2b; }
.fh-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; animation: fh-image-in 1.3s ease-out both; }
.fh-art-shade { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #052a438c); pointer-events: none; }
.fh-art-note { position: absolute; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 12px; background: #ffffffed; color: #163c55; padding: 13px 18px; border-radius: 14px; box-shadow: 0 12px 22px #082e4220; animation: fh-float 6s ease-in-out infinite; }
.fh-art-note > span { color: #e87440; background: #fff1e6; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; font-size: 17px; }
.fh-art-note strong { display: block; font-size: 14px; }
.fh-art-note small { display: block; font-size: 11px; color: #6a7c87; margin-top: 2px; }
.fh-art-label { position: absolute; top: 12px; right: 14px; background: #0a2c4566; color: white; font-size: 10px; padding: 3px 8px; border-radius: 20px; }
.fh-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: -1; pointer-events: none; }
.fh-waves span { position: absolute; left: -10%; bottom: -29px; width: 120%; height: 46px; background: #1c5368; border-radius: 50% 50% 0 0; animation: fh-wave 10s ease-in-out infinite alternate; }
.fh-waves span + span { background: #f3f7fa; bottom: -35px; left: -20%; width: 140%; animation-duration: 13s; animation-direction: alternate-reverse; }
.fh-notice { margin-top: 24px; padding: 14px 18px; border: 1px solid #ffffff20; border-radius: 12px; background: #ffffff09; font-size: 14px; }
.fh-main { padding: 38px 0 100px; }
.fh-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 22px; }
.fh-kicker { font-size: 12px; color: #237893; font-weight: 700; letter-spacing: .04em; }
.fh-section-heading h2 { font-size: clamp(19px, 1.6vw, 27px); line-height: 1.55; font-weight: 700; margin: 5px 0 0; }
.fh-section-heading > a { font-size: 13px; white-space: nowrap; color: #3c6b83; }
.fh-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.fh-services > a { display: flex; align-items: center; gap: 14px; background: white; border: 1px solid #e5edf3; border-radius: 16px; padding: 22px 18px; color: #183348; transition: transform .22s, box-shadow .22s, border-color .22s; }
.fh-services > a:hover { transform: translateY(-5px); box-shadow: 0 12px 30px #0a3b5410; border-color: #99c4dc; }
.fh-services strong { display: block; font-size: 17px; }
.fh-services small { display: block; font-size: 12px; color: #798b97; margin-top: 4px; }
.fh-services > a > .bi { margin-left: auto; color: #829eae; font-size: 16px; }
.fh-service-icon { flex-shrink: 0; display: grid; place-items: center; height: 48px; width: 48px; border-radius: 14px; font-size: 24px; }
.fh-service-icon.blue { background: #eaf3fd; color: #2878bf; }
.fh-service-icon.cyan { background: #e8f8fb; color: #119aad; }
.fh-service-icon.green { background: #e7f6ee; color: #2c9270; }
.fh-service-icon.orange { background: #fff1e8; color: #df783f; }
.fh-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; }
.fh-content-grid > .card { margin: 0 !important; border: 1px solid #e3ebf0; border-radius: 18px; box-shadow: 0 3px 8px #0a2b3e04; overflow: hidden; }
.fh-content-grid .card-header { padding: 20px; font-size: 16px; font-weight: 700; border-bottom-color: #edf2f5; }
.fh-content-grid .card-body { padding: 20px; }
.fh-content-grid .card-header > i { margin-right: 6px; }
.fh-content-grid .card-header .ch-actions { font-size: 12px; font-weight: 500; }
.fh-content-grid > .alert-bar, .fh-content-grid > .fh-status-card { grid-column: 1 / -1; }
.fh-content-grid .fh-status-card { background: #ebf2f7; border-color: #dce8f0; }
.fh-content-grid .fh-status-card .card-body { padding: 17px 22px; }
.fh-content-grid .fh-resources-card { grid-column: 1 / -1; }
.fh-resources-card .list-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fh-resources-card .list-group-item { border-bottom: 0; border-right: 1px solid #edf2f5; }
.fh-resources-card .list-group-item:last-child { border-right: 0; }
.fh-content-grid > a.card { min-height: 130px; }
.flood-home .contact-row { padding: 17px 20px; }
.fh-content-grid .contact-row .small { line-height: 1.7; }
.fh-content-grid .contact-row .num { font-size: 22px; color: #db6341; }
.fh-content-grid .list-row { padding: 16px 20px; }
.fh-content-grid .list-group-item { padding-left: 20px; padding-right: 20px; }
.fh-footer { margin-top: 38px; border-top: 1px solid #dbe5ec; padding-top: 24px; font-size: 12px; color: #6e8797; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.flood-home .call-fab { background: #dc5540; border: none; bottom: calc(20px + env(safe-area-inset-bottom)); padding: 14px 22px; font-size: 15px; box-shadow: 0 8px 22px #98321e30; }
.flood-home #emergency-contacts { scroll-margin-top: 24px; }
.flood-home #choose-province { scroll-margin-top: 20px; }
.fh-picker { padding: 36px 0 100px; }
.fh-picker-panel { border: 1px solid #e3ebf0; border-radius: 22px; background: #fff; padding: 30px; }
.fh-search { display: flex; align-items: center; background: #f2f7fa; border: 1px solid #dce7ee; border-radius: 12px; padding: 4px 16px; max-width: 560px; }
.fh-search > i { color: #7591a4; font-size: 19px; }
.fh-search input { background: transparent; border: 0; min-height: 48px; box-shadow: none !important; }
.fh-region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.fh-region { border-top: 1px solid #e5edf3; padding-top: 18px; }
.fh-region h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.fh-province-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-province-link { border: 1px solid #e0e9ef; border-radius: 9px; padding: 9px 13px; color: #416176; font-size: 13px; transition: background .2s, border-color .2s; }
.fh-province-link:hover { background: #edf6fb; border-color: #99c4dc; }
.fh-province-link.is-open { border-color: #a7d4bb; background: #f1faf5; }
.fh-province-link.is-open::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #32956c; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.fh-open-provinces { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.fh-no-results { margin-top: 24px; color: #617b8d; text-align: center; }
.fh-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.fh-motion [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes fh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fh-wave { from { transform: translateX(-2%) scaleY(1); } to { transform: translateX(2%) scaleY(1.35); } }
@keyframes fh-image-in { from { transform: scale(1.05); } to { transform: scale(1); } }
@media (min-width: 1700px) { .fh-hero { padding-top: 64px; padding-bottom: 78px; } }
@media (max-width: 1200px) {
    .flood-home .fh-container { width: calc(100% - 64px); }
    .fh-hero-grid { gap: 28px; }
    .fh-services { gap: 12px; }
    .fh-services > a { padding: 18px 14px; gap: 10px; }
    .fh-service-icon { width: 38px; height: 38px; font-size: 20px; }
    .fh-services small { font-size: 11px; }
    .fh-services > a > .bi { display: none; }
    .fh-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .fh-hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .fh-hero h1 { font-size: 30px; }
    .fh-hero-buttons { gap: 8px; }
    .fh-button { font-size: 13px; padding: 12px 14px; min-height: 46px; }
    .fh-art { aspect-ratio: .95; }
    .fh-art-note { bottom: 14px; left: 14px; right: 14px; padding: 10px; gap: 8px; }
    .fh-art-note small { font-size: 10px; }
    .fh-art-note strong { font-size: 12px; }
    .fh-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh-services > a > .bi { display: block; }
    .fh-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh-desktop-break { display: none; }
}
@media (max-width: 640px) {
    .flood-home .fh-container { width: calc(100% - 36px); }
    .fh-nav-inner { min-height: 72px; gap: 10px; }
    .fh-brand { gap: 9px; }
    .fh-brand-icon { width: 36px; height: 36px; font-size: 21px; border-radius: 11px; }
    .fh-brand strong { font-size: 14px; }
    .fh-brand small { font-size: 9px; }
    .fh-nav-links { gap: 9px; }
    .fh-location { font-size: 11px; gap: 4px; }
    .fh-staff { padding: 8px; font-size: 15px; }
    .fh-staff span { display: none; }
    .fh-hero { padding: 26px 0 30px; }
    .fh-hero-grid { grid-template-columns: 1fr; gap: 22px; }
    .fh-hero-copy { padding: 0; }
    .fh-eyebrow { font-size: 11px; margin-bottom: 14px; }
    .fh-hero h1 { font-size: clamp(28px, 7.8vw, 38px); margin-bottom: 14px; }
    .fh-hero-copy > p { font-size: 13px; line-height: 1.85; margin-bottom: 19px; }
    .fh-hero-buttons { flex-wrap: nowrap; }
    .fh-button { flex: 1; padding: 12px 9px; gap: 7px; font-size: 12px; }
    .fh-button .bi-arrow-up-right { display: none; }
    .fh-hero-footnote { font-size: 10px; margin-top: 14px; }
    .fh-art { aspect-ratio: 1.75; border-radius: 18px; }
    .fh-art-note { left: 12px; right: auto; bottom: 12px; padding: 9px 12px; }
    .fh-art-note > span { width: 30px; height: 30px; font-size: 13px; border-radius: 9px; }
    .fh-art-note small { font-size: 9px; }
    .fh-main, .fh-picker { padding-top: 25px; }
    .fh-section-heading { align-items: flex-start; gap: 12px; margin-bottom: 17px; }
    .fh-section-heading h2 { font-size: 19px; }
    .fh-section-heading > a { font-size: 11px; margin-top: 6px; }
    .fh-services { gap: 10px; margin-bottom: 18px; }
    .fh-services > a { position: relative; padding: 14px 12px; gap: 10px; flex-direction: column; align-items: flex-start; border-radius: 14px; }
    .fh-services strong { font-size: 15px; }
    .fh-services small { font-size: 10px; }
    .fh-services > a > .bi { position: absolute; right: 14px; top: 20px; font-size: 12px; }
    .fh-content-grid { grid-template-columns: 1fr; gap: 16px; }
    .fh-resources-card .list-group { grid-template-columns: 1fr; }
    .fh-resources-card .list-group-item { border-right: 0; border-bottom: 1px solid #edf2f5; }
    .fh-content-grid .card-header { padding: 18px; font-size: 15px; }
    .fh-content-grid .card-body { padding: 18px; }
    .fh-content-grid .fh-status-card .card-body { padding: 16px 18px; }
    .fh-content-grid .contact-row { padding: 15px 18px; }
    .fh-footer { flex-direction: column; line-height: 1.9; margin-top: 25px; gap: 12px; }
    .flood-home .call-fab { left: 18px; right: 18px; bottom: calc(12px + env(safe-area-inset-bottom)); text-align: center; border-radius: 14px; padding: 13px; font-size: 14px; }
    .fh-picker-panel { padding: 20px 16px; border-radius: 16px; }
    .fh-region-grid { grid-template-columns: 1fr; gap: 18px; }
    .fh-province-link { padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .flood-home *, .flood-home *::before, .flood-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .fh-motion [data-reveal] { opacity: 1; transform: none; }
}
