:root {
  --cb-bg: #f7f4ee;
  --cb-surface: #fffdf9;
  --cb-surface-soft: #f1eee7;
  --cb-text: #17231f;
  --cb-text-muted: #68736d;
  --cb-text-faint: #87908b;
  --cb-green: #145b46;
  --cb-green-dark: #0d4938;
  --cb-green-soft: #e6efe9;
  --cb-border: #e3ded5;
  --cb-shadow-card: 0 2px 12px rgba(34, 48, 43, .06);
}
* { box-sizing: border-box; }
html { background: var(--cb-bg); }
body { margin: 0; padding-top: env(safe-area-inset-top); color: var(--cb-text); background: var(--cb-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #d89b23; outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.page { width: min(100% - 40px, 1120px); margin-inline: auto; }
.app-shell { min-height: 100vh; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.card { background: var(--cb-surface); border: 1px solid rgba(227, 222, 213, .76); border-radius: 15px; box-shadow: var(--cb-shadow-card); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin: 2px 0 12px; color: #5b6b7a; font-size: 13px; flex-wrap: wrap; }
.breadcrumb a { color: var(--cb-green-dark); font-weight: 650; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--cb-text); font-weight: 650; }
.breadcrumb .crumb-sep { width: 14px; height: 14px; color: #98a3ab; }
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--cb-green-dark); font-size: clamp(18px, 5.2vw, 26px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand strong { font-weight: 760; }
.community-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 6px 9px; background: #edf2ed; border: 1px solid #d8e1d9; border-radius: 11px; font-weight: 600; font-size: 12px; white-space: nowrap; margin-left: auto; }
.community-pill .icon { color: var(--cb-green); width: 18px; height: 18px; }
.community-pill .pill-chevron { width: 14px; height: 14px; transform: rotate(90deg); margin-left: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 2px; min-width: 44px; min-height: 44px; color: var(--cb-green-dark); font-weight: 600; }
.back-icon { transform: rotate(180deg); width: 25px; height: 25px; }
.header-title { font-size: clamp(18px, 5vw, 25px); line-height: 1.15; margin: 0; font-weight: 740; letter-spacing: -.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-form { display: flex; align-items: center; width: 100%; height: 50px; padding: 0 11px 0 13px; border: 1px solid #cfd6d5; border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.02); container-type: inline-size; }
.search-form:focus-within { outline: 3px solid #d89b23; outline-offset: 2px; }
.search-form input { border: 0; outline: 0; background: transparent; color: var(--cb-text); width: 100%; min-width: 0; padding: 10px 7px; font-size: 16px; }
.search-form input::placeholder { color: #89929e; opacity: 1; }
.search-form button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 9px; background: transparent; color: #798593; }
.search-form button .icon { width: 22px; height: 22px; }
.intro { display: flex; align-items: center; gap: 8px; margin: 13px 0 17px; color: var(--cb-text-muted); font-size: 13px; }
.intro .icon { width: 22px; height: 22px; color: #798a84; }
.community-banner { display: flex; flex-direction: column; justify-content: flex-end; min-height: 146px; padding: 22px; border-radius: 18px; background-image: linear-gradient(90deg,rgba(8,31,25,.62),rgba(8,31,25,.07)), url('/neighbourhood-banner.png'); background-size: cover; background-position: center 57%; color: white; overflow: hidden; }
.community-banner h1 { font-size: clamp(24px, 7vw, 34px); line-height: 1; margin: 0 0 5px; letter-spacing: -.03em; }
.community-banner p { margin: 0; font-size: 14px; font-weight: 500; }
.home-section { margin-top: 22px; }
.section-head, .results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.section-head h2, .results-head h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; line-height: 1.2; }
.section-head a { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; color: var(--cb-green-dark); font-weight: 650; white-space: nowrap; font-size: 13px; }
.section-head a .icon { width: 16px; height: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.category-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 91px; padding: 10px 4px; background: var(--cb-surface); border: 1px solid #eeeae4; border-radius: 13px; box-shadow: var(--cb-shadow-card); text-align: center; font-size: 11px; font-weight: 600; line-height: 1.1; }
.category-tile:hover, .info-card:hover, .featured-card:hover, .service-card:hover { border-color: #cbdad0; }
.category-tile[aria-current="true"] { border-color: var(--cb-green); background: var(--cb-green-soft); }
.category-icon { width: 32px; height: 32px; }
.tone-plumbing { color: #788698; }
.tone-electrical { color: #d49a25; }
.tone-roofing { color: #667c77; }
.tone-geysers { color: #356584; }
.tone-gardening { color: #558144; }
.tone-security { color: #2d6249; }
.featured-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.featured-card { min-width: 0; padding: 12px; }
.featured-identity { display: flex; align-items: center; gap: 9px; min-width: 0; margin-bottom: 10px; }
.featured-identity span { display: flex; flex-direction: column; min-width: 0; }
.featured-identity strong { overflow-wrap: anywhere; font-size: 13px; }
.featured-identity small { color: var(--cb-text-muted); font-size: 12px; }
.provider-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #e6edf2; }
.provider-mark .icon { width: 25px; height: 25px; }
.provider-mark.tone-electrical { background: #1c2936; color: #f7bc3e; }
.provider-mark.tone-roofing { background: #e5eeea; }
.provider-mark.tone-geysers { background: #e4eef2; }
.provider-mark.tone-gardening { background: #dfe9dc; }
.provider-mark.large { width: 90px; height: 90px; }
.provider-mark.large .icon { width: 52px; height: 52px; }
.trust-line, .freshness { display: flex; align-items: center; gap: 6px; color: #52616d; font-size: 14px; line-height: 1.4; }
.trust-line span, .freshness span { min-width: 0; overflow-wrap: anywhere; }
.trust-line .icon { width: 17px; height: 17px; color: #dda128; }
.freshness { margin-top: 7px; }
.freshness .icon { width: 17px; height: 17px; color: #687e76; }
.stale-note { display: flex; align-items: flex-start; gap: 7px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid #e6d3a8; border-radius: 11px; background: #f6eeda; color: #6d5312; font-size: 13px; line-height: 1.4; }
.stale-note .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #9a6a12; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.contact-actions .button { min-width: max-content; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.button .icon { width: 17px; height: 17px; }
.button-call { flex: 1; background: #dcebe2; color: var(--cb-green-dark); }
.button-wa { flex: 1.1; background: var(--cb-green); color: #fff; }
.button-save { flex: 1; background: #fafaf9; border-color: var(--cb-border); color: #263d48; }
.info-grid, .notice-grid { display: grid; gap: 8px; }
.info-card { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 12px 13px; }
.info-icon, .detail-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 50%; color: #245b53; background: #e7eeea; }
.info-icon .icon { width: 22px; height: 22px; }
.info-copy { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.info-copy strong, .notice-card strong { font-size: 17px; line-height: 1.25; }
.info-copy small { color: #52616d; font-size: 16px; line-height: 1.4; }
.notice-card small { color: #52616d; font-size: 14px; line-height: 1.4; }
.chevron { margin-left: auto; width: 17px; height: 17px; color: #748090; }
.notice-card { display: flex; align-items: flex-start; gap: 11px; padding: 13px; }
.notice-card > .icon:first-child { width: 27px; height: 27px; color: #275d79; }
.notice-card > span { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.notice-card p { margin: 7px 0 0; color: #52616d; font-size: 16px; line-height: 1.45; }
.notice-card .freshness { align-items: flex-start; margin-top: 10px; }
.home-page .intro { font-size: 15px; line-height: 1.45; }
.home-page .section-head h2 { font-size: 19px; }
.home-page .section-head a { font-size: 14px; }
.home-page .category-tile { font-size: 13px; line-height: 1.2; }
.home-page .featured-identity strong, .home-page .info-copy strong, .home-page .notice-card strong { font-size: 17px; line-height: 1.25; }
.home-page .featured-identity small, .home-page .notice-card small { font-size: 14px; line-height: 1.4; }
.home-page .info-copy small { font-size: 16px; line-height: 1.4; }
.home-page .trust-line, .home-page .freshness { font-size: 14px; line-height: 1.4; }
.home-page .contact-actions { flex-wrap: wrap; }
.home-page .button { font-size: 14px; }
.home-page .button-call { flex: 1 1 80px; }
.home-page .button-wa { flex: 1 1 120px; }
.home-page .info-card { min-height: 78px; padding: 12px 13px; gap: 12px; }
.home-page .notice-card { padding: 15px; }
.home-page .notice-card p { font-size: 16px; line-height: 1.45; }
.bottom-nav { position: fixed; z-index: 5; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(70px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fffdf9f5; border-top: 1px solid #e1ded7; backdrop-filter: blur(8px); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 52px; color: #566476; font-size: 13px; }
.bottom-nav a.active { color: var(--cb-green-dark); font-weight: 700; }
.bottom-nav .icon { width: 22px; height: 22px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 18px 0 8px; border-top: 1px solid #e6e2da; color: #6d7883; font-size: 12px; }
.site-footer-brand { display: inline-flex; align-items: center; gap: 6px; color: #566476; font-weight: 600; }
.site-footer-brand .icon { width: 17px; height: 17px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #52616d; font-weight: 600; }
.site-footer a:hover { color: var(--cb-green-dark); text-decoration: underline; }
.services-page .search-form { margin-bottom: 12px; }
.filter-row { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding: 1px 0 4px; scrollbar-width: none; }
.filter-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-height: 44px; padding: 6px 10px; background: #fff; border: 1px solid #ece8e0; border-radius: 999px; box-shadow: var(--cb-shadow-card); font-size: 14px; font-weight: 600; }
.filter-pill .icon { width: 16px; height: 16px; color: var(--cb-green); }
.filter-pill.selected { color: #fff; background: var(--cb-green); border-color: var(--cb-green); }
.service-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-categories .category-tile { min-height: 78px; padding: 7px 1px; font-size: 14px; }
.service-categories .category-icon { width: 27px; height: 27px; }
.results-head { margin-top: 22px; margin-bottom: 11px; }
.results-head { flex-wrap: wrap; }
.results-head span { color: #52616d; font-size: 14px; }
.service-list { display: grid; gap: 10px; }
.search-articles { margin-top: 22px; }
.service-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 13px; }
.service-card > .provider-mark { width: 46px; height: 46px; }
.service-main { min-width: 0; }
.service-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.service-title-row a strong { font-size: 17px; overflow-wrap: anywhere; }
.service-category { display: block; color: #52616d; font-size: 14px; }
.service-main p { margin: 3px 0 8px; color: #52616d; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.verified-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 999px; background: #e9f1eb; color: #0d4938; font-size: 14px; font-weight: 650; white-space: nowrap; }
.verified-badge .icon { width: 14px; height: 14px; }
.service-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.status-pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; background: #f7ece8; color: #a13d34; border-radius: 999px; font-size: 14px; font-weight: 650; }
.status-pill .icon { width: 14px; height: 14px; }
.card-chevron { display: none; }
.service-side .contact-actions { flex: 1 1 100%; margin: 0; }
.service-side .button { flex: 1; }
.provider-hero { padding: 15px; }
.provider-hero-top { display: flex; align-items: center; gap: 15px; }
.provider-hero h1 { margin: 0; font-size: clamp(20px, 5.6vw, 28px); line-height: 1.1; letter-spacing: -.035em; }
.provider-hero-top > div { min-width: 0; }
.provider-hero h1 { overflow-wrap: anywhere; }
.provider-hero p { margin: 4px 0 7px; color: #52616d; font-size: 16px; }
.provider-hero .trust-line { margin-top: 7px; }
.provider-hero .contact-actions { flex-wrap: wrap; margin-top: 16px; }
.provider-hero .button { min-height: 47px; }
.provider-hero .button-call { flex: 1 1 80px; }
.provider-hero .button-wa { flex: 1 1 125px; }
.provider-hero .button-save { flex: 1 1 85px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 9px; margin-top: 10px; }
.detail-tile { display: flex; align-items: flex-start; gap: 10px; padding: 13px; min-height: 72px; }
.detail-icon { width: 38px; height: 38px; background: #e7eef2; color: #275b75; }
.detail-icon.green { color: var(--cb-green); background: #e7efe8; }
.detail-icon.red { color: #c0433b; background: #f8e9e7; }
.detail-tile > span:last-child { display: flex; flex-direction: column; }
.detail-tile strong { font-size: 16px; }
.detail-tile small { margin-top: 2px; color: #52616d; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.useful-section { margin-top: 22px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags span { padding: 6px 10px; border-radius: 999px; background: #e4eee6; color: var(--cb-green-dark); font-size: 14px; }
.update-card { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 22px; padding: 13px; text-align: left; }
.provider-page .update-card + .update-card { margin-top: 8px; }
.update-card > .icon:first-child { width: 31px; height: 31px; color: #5b717a; }
.update-card span { display: flex; flex-direction: column; }
.update-card strong { font-size: 16px; }
.update-card small { color: #52616d; font-size: 14px; line-height: 1.4; }
.verification-note { display: flex; gap: 8px; margin: 14px 2px; color: #52616d; font-size: 14px; line-height: 1.4; }
.verification-note .icon { color: #54716b; }
.simple-page { padding-top: 12px; }
.simple-page .info-grid, .simple-page .notice-grid { margin-top: 16px; }
.article-card { max-width: 750px; padding: 24px; font-size: 16px; }
.article-card .info-icon { margin-bottom: 16px; }
.article-card h1 { margin: 0 0 4px; font-size: 28px; overflow-wrap: anywhere; }
.article-summary { color: #52616d; font-weight: 600; }
.article-card p { line-height: 1.65; }
.article-card .freshness { margin-top: 25px; }
.article-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
.article-facts div { display: grid; gap: 3px; padding: 12px; background: var(--cb-green-soft); border-radius: 11px; }
.article-facts strong { font-size: 14px; color: var(--cb-green-dark); }
.article-facts span { font-size: 16px; overflow-wrap: anywhere; }
.article-body { max-width: 72ch; white-space: pre-line; }
.article-section { margin-top: 20px; max-width: 72ch; }
.article-section h2 { margin-bottom: 5px; font-size: 18px; }
.article-section p { margin-top: 0; white-space: pre-line; }
.article-source { color: #52616d; font-size: 14px; }
.article-share { max-width: 100%; margin-top: 20px; white-space: normal; overflow-wrap: anywhere; }
.article-related { margin-top: 28px; }
.article-related .info-grid { grid-template-columns: 1fr; }
.notice-grid { grid-template-columns: 1fr; }
@media (max-width: 359px) { .article-facts { grid-template-columns: 1fr; } }
.empty, .empty-state { color: #657486; }
.empty-state { text-align: center; padding: 32px 16px; }
.empty-state > .icon { width: 32px; height: 32px; }
.empty-state h3 { color: var(--cb-text); }
.text-link { color: var(--cb-green); font-weight: 700; }
.loading-state, .error-state { padding-top: 90px; text-align: center; }
.error-state h1 { font-size: 22px; }
.error-state p { color: var(--cb-text-muted); }
.error-state .button { margin-top: 15px; }
.update-dialog { width: min(calc(100% - 32px), 460px); padding: 22px; border: 1px solid var(--cb-border); border-radius: 18px; background: var(--cb-surface); box-shadow: 0 12px 40px rgba(20,30,28,.2); }
.update-dialog::backdrop { background: rgba(15,31,28,.4); }
.update-dialog h2 { margin: 0 0 8px; }
.update-dialog p { color: #657486; }
.update-dialog label { display: block; margin: 14px 0 5px; font-weight: 650; }
.update-dialog textarea, .update-dialog input { display: block; width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--cb-border); border-radius: 9px; background: white; font-size: 16px; }
.update-dialog select { display: block; width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--cb-border); border-radius: 9px; background: white; font-size: 16px; }
.update-dialog textarea { min-height: 110px; resize: vertical; }
.update-dialog .button { width: 100%; margin-top: 16px; }
.dialog-close { float: right; width: 44px; height: 44px; border: 0; background: transparent; }
.form-feedback { min-height: 20px; }
@media (max-width: 649px) {
  .home-page .info-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
}
@media (max-width: 359px) {
  .page { width: min(100% - 28px, 1120px); }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .community-pill { padding-inline: 6px; font-size: 11px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .search-form { display: grid; grid-template-columns: 44px minmax(0, 1fr); height: auto; min-height: 80px; padding-block: 6px; }
  .home-page .search-label { position: static; grid-column: 1 / -1; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: 16px; font-weight: 650; line-height: 1.3; }
  .home-page .search-form input::placeholder { color: transparent; }
}
@media (max-width: 480px) {
  .back-link span { display: none; }
  .header-title { flex: 1; min-width: 0; }
}
@media (min-width: 650px) {
  .site-header { min-height: 82px; }
  .community-pill { font-size: 14px; padding: 7px 12px; }
  .home-section { margin-top: 30px; }
  .community-banner { min-height: 176px; padding: 28px; }
  .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .category-tile { font-size: 13px; min-height: 95px; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .info-grid, .notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-tile:last-child { grid-column: 1 / -1; }
  .service-card { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 13px; align-items: center; }
  .service-card > .provider-mark { width: 54px; height: 54px; }
  .service-side { grid-column: auto; align-self: stretch; align-items: flex-end; flex-direction: column; justify-content: space-between; }
  .service-side .contact-actions { flex: 0 0 auto; margin: auto 0 0; }
  .service-side .button { flex: none; min-width: 105px; }
  .card-chevron { display: none; }
  .provider-hero { padding: 20px; }
  .provider-hero .contact-actions { max-width: 680px; }
  .section-head h2, .results-head h2 { font-size: 21px; }
  .featured-identity strong { font-size: 15px; }
  .featured-identity small { font-size: 14px; }
}
@media (min-width: 901px) {
  .app-shell { padding-bottom: 32px; }
  .bottom-nav { position: static; width: min(100% - 40px, 1120px); height: auto; margin: 26px auto 0; padding: 0; border: 0; background: transparent; grid-template-columns: repeat(5, max-content); gap: 24px; }
  .bottom-nav a { min-height: 44px; flex-direction: row; font-size: 13px; }
  .bottom-nav .icon { width: 18px; height: 18px; }
  .home-page { padding-top: 8px; }
  .home-page .search-form { max-width: 750px; }
  .category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .service-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 810px; }
  .service-list { max-width: 900px; }
  .provider-page { max-width: 900px; }
  .simple-page { max-width: 900px; }
}
@media (prefers-reduced-motion: no-preference) { a, button { transition: background-color .15s, border-color .15s; } }

/* ============================ Root homepage ============================ */
.home-shell { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; }
.home-header-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.home-header-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #42524c; font-weight: 650; font-size: 13px; }
.home-header-nav a:last-child { color: var(--cb-green-dark); }
.home-header-nav a:hover { text-decoration: underline; }

.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 34px 0 12px; }
.home-hero-copy { min-width: 0; }
.home-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--cb-green-soft); color: var(--cb-green-dark); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.home-eyebrow .icon { width: 16px; height: 16px; }
.home-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 5.4vw, 54px); line-height: 1.02; letter-spacing: -.035em; font-weight: 760; }
.home-lede { margin: 0 0 22px; max-width: 54ch; color: #46544e; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.55; }
.home-search { position: relative; display: flex; align-items: center; max-width: 560px; height: 58px; padding: 0 16px; border: 1px solid #cfd6d5; border-radius: 14px; background: #fff; box-shadow: var(--cb-shadow-raised); }
.home-search:focus-within { outline: 3px solid #d89b23; outline-offset: 2px; }
.home-search-icon { display: grid; place-items: center; color: #798593; }
.home-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 10px; font-size: 16px; color: var(--cb-text); }
.home-search input::placeholder { color: #89929e; }
.home-search-results { position: absolute; z-index: 20; width: min(560px, 100%); margin: 8px 0 0; padding: 6px; list-style: none; border: 1px solid var(--cb-border); border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(20,30,28,.16); }
.home-search-results a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; }
.home-search-results a:hover { background: var(--cb-green-soft); }
.home-search-results strong { font-size: 14px; }
.home-search-results small { margin-left: auto; color: #68736d; font-size: 12px; }
.home-search-results .icon { width: 16px; height: 16px; color: #98a3ab; }
.home-search-empty { padding: 12px; color: #68736d; font-size: 13px; }
.home-hero-note { margin: 16px 0 0; color: #68736d; font-size: 13px; }

.home-hero-art { min-width: 0; }
.home-hero-banner { position: relative; display: flex; align-items: flex-end; min-height: 320px; padding: 26px; border-radius: 22px; color: #fff; overflow: hidden;
  background-image: linear-gradient(160deg, rgba(8,31,25,.12), rgba(8,31,25,.62)), url('/neighbourhood-banner.png');
  background-size: cover; background-position: center 60%; box-shadow: var(--cb-shadow-raised); }
.home-hero-banner span { font-size: 22px; font-weight: 760; letter-spacing: -.02em; }

.home-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-value { padding: 20px; }
.home-value-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: var(--cb-green-soft); color: var(--cb-green-dark); }
.home-value-icon .icon { width: 24px; height: 24px; }
.home-value h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.home-value p { margin: 0; color: #56645e; font-size: 14px; line-height: 1.5; }

.home-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-featured { display: flex; align-items: center; gap: 12px; padding: 14px; }
.home-featured:hover { border-color: #cbdad0; }
.home-featured-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #e6edf2; color: #356584; }
.home-featured-mark .icon { width: 24px; height: 24px; }
.home-featured-copy { display: flex; flex-direction: column; min-width: 0; }
.home-featured-copy strong { font-size: 15px; }
.home-featured-copy small { color: #68736d; font-size: 12px; }
.home-featured-trust { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; color: #8a6210; }
.home-featured-trust .icon { width: 14px; height: 14px; color: #dda128; }

.home-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.home-city { padding: 18px; }
.home-city header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--cb-border); }
.home-city h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.home-city header small { color: #68736d; font-size: 12px; }
.home-suburb + .home-suburb { margin-top: 12px; }
.home-suburb-name { display: inline-flex; align-items: center; gap: 6px; color: var(--cb-green-dark); font-weight: 700; font-size: 14px; }
.home-suburb-name .icon { width: 16px; height: 16px; }
.home-suburb-name:hover { text-decoration: underline; }
.home-community-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.home-community-links a { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; padding: 5px 12px; border: 1px solid var(--cb-border); border-radius: 999px; background: var(--cb-surface); font-size: 13px; font-weight: 600; }
.home-community-links a:hover { border-color: #cbdad0; background: var(--cb-green-soft); }
.home-community-links .icon { width: 14px; height: 14px; color: #98a3ab; }
.home-empty { color: #87908b; font-size: 13px; }

.home-admin-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; margin-bottom: 8px; background: var(--cb-green-dark); border: 0; color: #fff; }
.home-admin-cta h2 { margin: 6px 0 6px; font-size: 22px; letter-spacing: -.025em; }
.home-admin-cta p { margin: 0; max-width: 62ch; color: #d6e4dc; font-size: 14px; line-height: 1.5; }
.home-admin-cta .home-eyebrow { background: rgba(255,255,255,.14); color: #eaf4ee; margin-bottom: 0; }
.home-admin-cta .button { flex: none; background: #fff; color: var(--cb-green-dark); }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .home-hero-art { order: -1; }
  .home-hero-banner { min-height: 190px; }
  .home-value-grid, .home-featured-grid { grid-template-columns: 1fr; }
  .home-admin-cta { flex-direction: column; align-items: flex-start; }
  .home-admin-cta .button { width: 100%; }
  .home-header-nav a:first-child { display: none; }
}
