/* Tokens come from site.json via Base.astro (:root inline). Keep this file structural.
   Design-seed rules (wiki/framework/design-seed.md): no eyebrow labels, no colored card
   borders, AA contrast on every button and link, cards show data. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--body-font); line-height: 1.55; font-size: 17px; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: var(--heading-weight); line-height: 1.2; margin: 0 0 .5em; color: var(--heading); }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 3rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.site-header { background: var(--header-bg); color: var(--header-text); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; min-height: 76px; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.logo { font-family: var(--heading-font); font-size: 1.3rem; font-weight: var(--heading-weight); color: var(--header-text); text-decoration: none; }
.nav { display: flex; gap: .4rem 1.4rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--header-text); text-decoration: none; font-weight: 500; }
.nav a.nav-cta { background: var(--action); color: var(--action-text); padding: .5rem 1rem; border-radius: var(--button-radius); font-weight: 800; font-size: 1.02rem; }
.nav a:hover { text-decoration: underline; }
/* main is also .wrap, so the vertical padding has to be set with the same weight or .wrap wins. */
main.wrap { padding-top: 2.75rem; padding-bottom: 4.5rem; }
main.wrap > :first-child, main.wrap > section:first-child > h2:first-child { margin-top: 0; }
/* On the home page the tinted band starts right under the hero, so the count cards sit across the join of two colors, with no white strip. */
main.wrap:has(> .after-hero) { padding-top: 0; }
.results { padding-top: 2.5rem; margin-top: 0; }
.results .grid { margin-top: 1rem; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.results-head h2 { margin: 0; }
.results .btn.ghost { color: var(--heading); box-shadow: inset 0 0 0 2px var(--heading); }
.btn.small { padding: .5rem 1rem; font-size: .95rem; }
/* City page: the listings past the card cap, as a compact list under the grid. */
.more-head { margin: 3rem 0 .25rem; font-size: 1.15rem; }
.more-head + .meta { margin: 0 0 .75rem; }
.more-list { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 2.5rem; }
.more-list li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid var(--surface); font-size: .95rem; }
.more-list a { color: var(--heading); text-decoration: none; }
.more-list a:hover { color: var(--link); text-decoration: underline; }
.more-list .rt { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.more-list .rt i { font-style: normal; color: #b7791f; }
@media (max-width: 900px) { .more-list { columns: 2; } }
@media (max-width: 560px) { .more-list { columns: 1; } }
/* Browse-everything page: every listing by city in a dense, four-column list. */
.all-listings { columns: 4; column-gap: 2.5rem; margin-top: 1rem; }
.all-city { break-inside: avoid; padding-bottom: 1.4rem; }
.all-city h3 { font-size: 1.05rem; margin: 0 0 .3rem; padding-bottom: .2rem; border-bottom: 2px solid var(--accent); }
.all-city h3 a { color: var(--heading); text-decoration: none; }
.all-city h3 .n { color: var(--muted); font-size: .82rem; font-weight: 400; }
.all-city ul { list-style: none; padding: 0; margin: 0; }
.all-city li { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid var(--surface); font-size: .92rem; line-height: 1.3; }
.all-city li a { color: var(--text); text-decoration: none; }
.all-city li a:hover { color: var(--link); text-decoration: underline; }
.all-city .rt { color: var(--muted); font-size: .8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.all-city .rt i { font-style: normal; color: #b7791f; }
@media (max-width: 1000px) { .all-listings { columns: 3; } }
@media (max-width: 800px) { .all-listings { columns: 2; } }
@media (max-width: 560px) { .all-listings { columns: 1; } }
/* Search page: the results sit in main, under the band with the form. */
[data-page=search] { padding-top: .5rem; }
.results { margin-bottom: 0; }
/* flow-root keeps the cards' negative margin inside the band. Without it the margin collapses
   into the band and the whole band slides up over the hero. */
.tinted.after-hero { padding-top: 0; padding-bottom: 5.5rem; margin-top: 0; display: flow-root; }
.tinted.after-hero > h2 { margin-top: 4rem; text-align: center; }
.page-head { background: var(--tint); padding: 2.25rem 0 2.5rem; }
.page-head.band { background: var(--band); color: var(--band-text); padding: 5rem 0 5rem; }
.page-head.band:has(+ main .stat-cards) { padding-bottom: 1.5rem; }
.page-head.has-image { background-size: cover; background-position: center; }
.page-head h1 { margin-bottom: .4em; }
.page-head.band h1 { color: var(--band-text); font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.08; letter-spacing: -.01em; }
.page-head.band h1 .hl { color: var(--action); }
.page-head .crumbs { margin-bottom: 1.5rem; }
.page-head .lede { margin-bottom: 0; }
.page-head.band:has(.hero.compact) { padding: 3.5rem 0 6rem; }
.page-head.band .hero.compact h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.page-head.band .hero.compact .lede { max-width: 640px; margin-inline: auto; }
.page-head.band .lede { color: var(--band-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 46ch; margin-inline: auto; }
.hero { text-align: center; max-width: 900px; margin: 0 auto; }
.page-head .rating, .page-head .meta { margin: 0; }
.keyfacts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.keyfacts li { background: var(--bg); border-radius: 999px; padding: .4rem 1rem; font-size: .95rem; }
.keyfacts b { font-family: var(--heading-font); font-weight: var(--heading-weight); color: var(--heading); margin-right: .3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.5rem 0 0; }
/* The search bar: two boxes and a button in one white pill. */
.dir-search { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: .5rem; background: var(--bg); border-radius: 999px; padding: .5rem; margin: 2.25rem auto 0; max-width: 860px; text-align: left; position: relative; }
.dir-search .field { position: relative; min-width: 0; }
.dir-search .field + .field::before { content: ""; position: absolute; left: -.25rem; top: 20%; height: 60%; border-left: 1px solid #c9d3d8; }
.dir-search input { width: 100%; font: inherit; font-size: 1.05rem; padding: .8rem 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--text); }
.dir-search input::placeholder { color: var(--muted); }
.dir-search input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.dir-search .btn.action { border-radius: 999px; padding: .8rem 1.6rem; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + .35rem); z-index: 20; list-style: none; margin: 0; padding: .4rem; background: var(--bg); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(11, 37, 69, .22); max-height: 22rem; overflow: auto; }
.suggest a, .suggest button { display: flex; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; font: inherit; padding: .6rem .8rem; border: 0; border-radius: calc(var(--radius) / 1.5); background: none; color: var(--text); text-decoration: none; cursor: pointer; }
.suggest a:hover, .suggest a:focus, .suggest button:hover { background: var(--tint); }
.suggest b { color: var(--heading); font-weight: 600; }
.suggest span { color: var(--muted); font-size: .9rem; white-space: nowrap; display: flex; gap: .6rem; align-items: baseline; }
.suggest .rt { color: var(--heading); font-weight: 600; }
.suggest .rt i { font-style: normal; color: #b7791f; }
.suggest .rt small { color: var(--muted); font-weight: 400; font-size: .9em; }
.suggest .use-location { color: var(--link); font-weight: 600; }
/* Service filters under the search bar: checkboxes styled as pills, all visible, no dropdown. */
/* Service filters live inside the first search box as chips; the suggestion list offers them first. */
.dir-search .field.what { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; padding-left: .5rem; }
.dir-search .field.what input { flex: 1 1 8rem; min-width: 8rem; padding-left: .6rem; }
.picked { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.picked:empty { display: none; }
.picked li { display: inline-flex; align-items: center; gap: .3rem; background: var(--heading); color: #fff; border-radius: 999px; padding: .25rem .35rem .25rem .8rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.picked button { font: inherit; line-height: 1; border: 0; background: rgba(255, 255, 255, .2); color: inherit; border-radius: 999px; width: 1.3rem; height: 1.3rem; cursor: pointer; }
.picked button:hover { background: rgba(255, 255, 255, .4); }
.suggest .group { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .55rem .8rem .2rem; }
.suggest .group + li { margin-top: 0; }
.suggest [data-pick] span { color: var(--link); }
.btn.action { background: var(--action); color: var(--action-text); padding: .95rem 1.75rem; font-size: 1.1rem; font-weight: 800; letter-spacing: .01em; }
.btn.ghost { background: transparent; color: var(--band-text); box-shadow: inset 0 0 0 2px var(--band-text); padding: .95rem 1.75rem; font-size: 1.1rem; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; list-style: none; padding: 0; margin: 1.5rem 0 0; color: var(--band-text); opacity: .85; font-size: .95rem; font-weight: 500; }
.hero-link { margin: 3rem 0 0; font-size: .95rem; }
.hero-link a { color: rgba(255, 255, 255, .85); text-decoration: underline; }
.hero-link a:hover { color: #fff; }
.hero-points li { white-space: nowrap; }
.hero-points li::before { content: "\2713"; color: var(--action); font-weight: 700; margin-right: .5rem; }
/* The counts sit half on the hero and half on the page. */
.stat-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 3.5rem; margin: 0 calc(50% - 50vw); padding: 4rem calc(50vw - 50%) 2.5rem; position: relative; background: var(--band); color: var(--band-text); }
.stat-cards div { padding: 0; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .5rem; align-items: center; text-align: left; }
.stat-cards svg { grid-row: 1; align-self: end; margin-bottom: .12rem; width: 1.15rem; height: 1.15rem; fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-cards dd { margin: 0; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.3rem; line-height: 1.05; color: rgba(255, 255, 255, .5); }
.stat-cards dt { grid-column: 2; color: rgba(255, 255, 255, .38); font-size: .78rem; margin-top: .1rem; }
.tinted.after-hero > .stat-cards + h2 { margin-top: 5.5rem; }
/* A section that runs the full width of the window while its content stays in the column. */
.bleed { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.tinted { background: var(--tint); padding-block: 3rem 3.25rem; margin-block: 3rem; }
.tinted > h2:first-child { margin-top: 0; }
.city-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 0; margin: 2.25rem 0 0; list-style: none; }
.city-cards a { display: block; height: 100%; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; text-decoration: none; color: var(--text); }
.city-cards a:hover .name { text-decoration: underline; }
.city-cards .name { display: block; margin: 0; font-size: 1.25rem; font-family: var(--heading-font); font-weight: var(--heading-weight); color: var(--heading); }
.city-cards.nearby { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* City page: air between the listing grid and the second half of the city copy. */
.city-more { margin-top: 3.25rem; }
.city-cards .big { display: block; margin: .35rem 0 .2rem; font-size: 1rem; }
.city-cards .big b { font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.6rem; color: var(--link); margin-right: .3rem; }
.city-cards .small { display: block; color: var(--muted); font-size: .9rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; align-items: start; margin-top: 3rem; }
.split h2 { margin-top: 0; }
.callout { background: var(--tint); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.callout > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.9rem; font-size: 1.25rem; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 3rem; }
.section-head h2 { margin: 0; }
.city-filter { position: relative; display: block; width: min(100%, 360px); color: var(--muted); }
.city-filter svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.city-filter input { font: inherit; padding: .7rem 1rem .7rem 2.7rem; border: 2px solid var(--tint); border-radius: 999px; background: var(--surface); color: var(--text); width: 100%; }
.city-filter input:focus { outline: 0; border-color: var(--accent); background: var(--bg); }
.city-groups { columns: 4; column-gap: 2.5rem; margin-top: .5rem; }
.city-group { break-inside: avoid; padding-bottom: 1.5rem; }
.city-group .letter { font-family: var(--heading-font); font-size: 1.2rem; color: var(--accent); margin: 0 0 .25rem; padding-bottom: .2rem; border-bottom: 2px solid var(--accent); }
.city-pills { list-style: none; padding: 0; margin: 0; }
.city-pills a { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--surface); color: var(--heading); text-decoration: none; font-weight: 500; line-height: 1.3; }
.city-pills .n { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.city-pills a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 1000px) { .city-groups { columns: 3; } }
@media (max-width: 800px) { .city-groups { columns: 2; } }
@media (max-width: 560px) { .city-groups { columns: 1; } }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; }
.crumbs li { display: inline-flex; align-items: center; }
/* A small chevron between crumbs, drawn in CSS so it matches the text color and weight. */
.crumbs li + li::before { content: ""; display: inline-block; width: .38em; height: .38em; margin: 0 .55em 0 .4em; border-right: 1.5px solid var(--muted); border-top: 1.5px solid var(--muted); transform: rotate(45deg); opacity: .8; position: relative; top: -.02em; }
.crumbs a { color: var(--link); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .45rem; }
.card h3 { margin: 0; }
.card h3 a { color: var(--heading); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .meta { color: var(--muted); font-size: .95rem; }
.card .mark { align-self: flex-start; font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0; padding: 0; list-style: none; }
.chips li { background: var(--tint); border-radius: 999px; padding: .2rem .75rem; font-size: .85rem; color: var(--heading); }
.card .phone { margin-top: auto; padding-top: .6rem; font-weight: 600; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: .45rem; }
.card .phone svg { color: var(--link); flex: none; }
.city-grid { display: grid; gap: .5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding: 0; list-style: none; }
.city-grid a { text-decoration: none; color: var(--text); }
.city-grid a:hover { text-decoration: underline; }
.city-grid .n { color: var(--muted); font-size: .9rem; }
.faq > h2 { text-align: center; }
.faq-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 1.5rem; }
.faq .qa { background: var(--tint); border-radius: var(--radius); padding: 1.4rem 1.6rem 1.5rem; }
.faq .qa h3 { display: flex; align-items: flex-start; gap: .65rem; }
.faq .qa h3::before { content: "?"; flex: none; width: 1.5rem; height: 1.5rem; margin-top: .05rem; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.faq h3 { font-family: var(--heading-font); font-size: 1.08rem; margin: 0 0 .4rem; color: var(--heading); }
.faq h3 + p { margin: 0; }
/* Vetting band: centered heading, four numbered steps, then the text in a narrow measure. */
.vetting-band { margin-top: 3.5rem; }
.vetting-band > h2 { text-align: center; margin-top: 0; }
.vetting-band .steps { margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.vetting-band .steps li b { background: var(--accent); color: var(--accent-text); }
.vetting-text { max-width: 760px; margin: 2.25rem auto 0; }
/* The buyer's guide reads as an article: narrow measure, a lead paragraph, numbered sections. */
.article { max-width: 760px; margin: 3.5rem auto 0; counter-reset: guide; }
.article > h2 { text-align: center; font-size: 2rem; margin: 0 0 1.25rem; }
.article > h2 + p { font-size: 1.12rem; line-height: 1.65; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; padding-left: 2.6rem; position: relative; }
.article h3::before { counter-increment: guide; content: counter(guide); position: absolute; left: 0; top: .05rem; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.article p { line-height: 1.65; }
.cta-band { background: var(--action); color: var(--action-text); border-radius: calc(var(--radius) * 1.5); padding: 2rem 2.25rem; margin: 3.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cta-band h2 { color: var(--action-text); margin: 0; font-size: 1.3rem; }
.cta-band p { margin: 0; }
.cta-band a.btn { background: var(--action-text); color: var(--action); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); padding: .65rem 1.1rem; border-radius: var(--button-radius); text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { filter: brightness(.92); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2.5rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 2rem; }
.facts li { padding: .15rem 0; }
.facts h2 { margin-top: 0; font-size: 1.1rem; }
.facts ul, .facts dl { margin: 0; padding: 0; }
.facts li { list-style: none; }
.hours dt { display: inline-block; min-width: 6.5em; font-weight: 500; }
.hours dd { display: inline; margin: 0; }
.hours div { margin: .1rem 0; }
.attr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; padding: 0; list-style: none; }
.attr-grid li { background: var(--surface); border-radius: var(--radius); padding: .9rem 1.25rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.attr-grid li.yes h3 { color: var(--heading); font-weight: 500; font-family: inherit; font-size: 1rem; margin: 0; }
.attr-grid li.yes { background: var(--tint); }
.attr-grid .v { white-space: nowrap; }
.attr-grid .v { color: var(--muted); font-size: .9rem; }
.attr-grid .v.true { color: var(--link); font-weight: 700; line-height: 0; align-self: center; }
.attr-grid .check { display: block; }
.attr-grid .check path { stroke: var(--bg); }
.attr-grid li.no span:first-child { color: var(--heading); font-weight: 500; }
.attr-grid .v.false { color: var(--muted); line-height: 0; align-self: center; }
.attr-grid .cross { display: block; }
.attr-grid .cross path { stroke: var(--bg); }
.attr-unknown { color: var(--muted); font-size: .92rem; margin: 1rem 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* A fieldset's default min-inline-size is min-content, so the hidden services fieldset in the search form
   grew to the width of its labels and pushed the document's scrollWidth to 2,429px at a 1,440 viewport
   (dry run, 2026-09-30). Zero the minimum and contain the box; screen readers still read it. */
fieldset.sr-only { min-inline-size: 0; min-width: 0; max-width: 1px; contain: strict; }
.rating { font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; }
.rating .meta { font-weight: 400; }
.rating .stars { color: #b7791f; letter-spacing: .05em; }
.disclaimer { color: var(--muted); font-size: .9rem; margin-top: 2rem; }
/* Social profile icons on a listing. */
.socials { display: inline-flex; gap: .55rem; align-items: center; vertical-align: middle; }
.socials a { color: var(--link); display: inline-flex; padding: .15rem; border-radius: 4px; }
.socials a:hover { color: var(--heading); }
/* Listing page: content on the left, a sidebar with location, claim and disclaimer on the right. */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
/* Source order is About, Services, Contact and Hours (the outline search engines read); on screen the contact box comes first. */
.listing-main { display: flex; flex-direction: column; }
.listing-main > .photos { order: 0; }
.listing-main > .facts { order: 1; margin-top: 0; }
.listing-main > .services { order: 2; }
.listing-main > .about { order: 3; }
.listing-main > .related { order: 4; margin-top: 0; }
.listing-main > .disclaimer { order: 5; }
.listing-main > :first-child { margin-top: 0; }
.listing-side { display: grid; gap: 1.25rem; position: sticky; top: 1.25rem; }
/* The map keeps its height before the iframe loads, on a light grey, so nothing below it moves. */
.side-map { border-radius: var(--radius); overflow: hidden; line-height: 0; height: 240px; background: #e6ebee; }
.side-map iframe { display: block; width: 100%; height: 240px; }
.side-card { background: var(--surface); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.side-card h2 { font-size: 1.05rem; margin: 0 0 .7rem; }
.side-card p { margin: 0 0 .8rem; }
.side-card p:last-child { margin-bottom: 0; }
.side-btn { display: block; text-align: center; margin: .25rem 0 .9rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { padding: .3rem 0; border-top: 1px solid var(--bg); }
.side-card.claim { background: var(--tint); }
.disclaimer-card { font-size: .85rem; color: var(--muted); }
.disclaimer-card h2 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .listing-layout { grid-template-columns: minmax(0, 1fr); } .listing-side { position: static; } }
/* Home: the most reviewed businesses as cards with a short excerpt. */
.biz-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-top: 1.25rem; }
.biz-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.biz-card .top { background: var(--tint); padding: .7rem 1.35rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--heading); font-weight: 500; }
.biz-card .top .rt i { font-style: normal; color: #b7791f; }
.biz-card .body { padding: 1.1rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.biz-card h3 { margin: 0; font-size: 1.15rem; }
.biz-card h3 a { color: var(--heading); text-decoration: none; }
.biz-card h3 a:hover { text-decoration: underline; }
.biz-card p { margin: 0; color: var(--text); font-size: .95rem; }
.biz-card .more { margin-top: auto; font-weight: 600; }
/* Featured band: full-bleed navy section, orange-framed cards, an open-slot card when nothing is sold. */
.featured-band { background: var(--heading); color: #fff; padding-block: 4.25rem 4.5rem; margin-top: 2.5rem; text-align: center; }
.tinted.after-hero + .featured-band { margin-top: -3rem; }
.featured-band + section { margin-top: 2.5rem; }
.featured-band h2 { color: var(--gold); font-size: 2rem; margin: 0; }
.featured-band .meta { color: #fff; opacity: .85; margin: .4rem 0 0; }
.featured-band .biz-cards { margin-top: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; }
.featured-band .biz-card { color: var(--text); text-align: left; }
.featured-band .band-foot { margin: 2.25rem 0 0; color: #fff; opacity: .9; }
.featured-band .band-foot a { color: var(--gold); font-weight: 400; }

/* A sold featured slot: warm frame, badge, its own top band. Pushes nothing around, the grid stays the same. */
.biz-card.featured { position: relative; overflow: visible; box-shadow: 0 0 0 3px var(--gold), 0 10px 30px rgba(0, 0, 0, .25); }
.biz-card.featured .top { background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-light) 100%); color: var(--heading); padding: .7rem 1.35rem .7rem 6.6rem; min-height: 2.9rem; align-items: center; border-radius: var(--radius) var(--radius) 0 0; }
.biz-card.featured .top .rt i { color: var(--heading); }
/* Wraparound ribbon: one navy tab that overhangs the card's left edge by a few pixels, with a small
   fold tucked under the overhang. Vertically centered on the band, same baseline as the place and rating. */
.biz-card.featured .badge { position: absolute; top: 50%; transform: translateY(-50%); left: -.55rem; background: var(--heading); color: var(--gold-light); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .85rem .32rem .95rem; border-radius: 0 3px 3px 0; line-height: 1; }
.biz-card.featured .badge::after { content: ""; position: absolute; left: 0; top: 100%; border-style: solid; border-width: .35rem .55rem 0 0; border-color: #061630 transparent transparent transparent; }
.biz-card.featured .top { position: relative; }
.biz-card.featured .chips li { background: rgba(245, 185, 64, .22); color: var(--heading); }
.biz-card.featured .more { color: var(--gold-deep); }
/* The open position: identical anatomy, outlined and dimmed on the navy band. */
.biz-card.featured.open-slot { display: flex; text-decoration: none; background: transparent; box-shadow: none; border: 2px dashed rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .82); }
.biz-card.featured.open-slot .top { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); border-bottom: 1px dashed rgba(255, 255, 255, .35); }
.biz-card.featured.open-slot .top .rt i { color: rgba(255, 255, 255, .6); }
.biz-card.featured.open-slot .badge { background: var(--heading); color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .5); }
.biz-card.featured.open-slot .badge::after { display: none; }
.biz-card.featured.open-slot .body { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.biz-card.featured.open-slot strong { font-family: var(--heading-font); font-size: 1.15rem; color: #fff; }
.biz-card.featured.open-slot .more { color: var(--gold); margin-top: auto; font-weight: 600; }
.biz-card.featured.open-slot:hover { border-color: var(--gold); }
.byline { color: var(--muted); font-size: .9rem; margin: -.5rem 0 1.5rem; }
.prose { max-width: 70ch; }
/* Pricing tiers: equal-height cards, buttons on one line, the top tier framed in gold. */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: -3.5rem; position: relative; z-index: 1; }
.tiers .tier { box-shadow: 0 10px 30px rgba(11, 37, 69, .12); }
.tiers .tier.top { box-shadow: 0 0 0 2px var(--gold), 0 10px 30px rgba(11, 37, 69, .12); }
.tiers .tier { display: flex; flex-direction: column; gap: .8rem; padding: 0 0 1.5rem; overflow: hidden; }
.tiers .tier-head { background: var(--tint); padding: 1.25rem 1.5rem 1rem; margin: 0 0 .2rem; }
.tiers .tier > p, .tiers .tier > a { margin-left: 1.5rem; margin-right: 1.5rem; }
.tiers .tier h3 { margin: 0 0 .3rem; }
.tiers .tier .price { font-size: 1.7rem; font-family: var(--heading-font); font-weight: var(--heading-weight); color: var(--accent); margin: 0; }
.tiers .tier > .btn { margin-top: auto; text-align: center; }
.tiers .tier.top { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.tiers .tier.top .tier-head { background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-light) 100%); }
.tiers .tier.top .tier-head h3, .tiers .tier.top .price { color: var(--heading); }
main.wrap:has(> .tiers) { padding-top: 0; }
main.wrap > .tiers:first-child { margin-top: -3.5rem; }
/* How it works: three numbered steps on a tinted band. */
.steps-band { margin-top: 3rem; margin-bottom: 0; }
.steps-band + .cta-band { margin-top: 3rem; }
.steps-band h2 { text-align: center; margin-top: 0; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; }
.steps li b { display: inline-flex; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--action); color: var(--action-text); font-family: var(--heading-font); font-weight: var(--heading-weight); margin-bottom: .6rem; }
.steps li h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.steps li p { margin: 0; }
form.claim-form { display: grid; gap: .9rem; max-width: 560px; }
form.claim-form label { display: grid; gap: .3rem; font-weight: 500; }
form.claim-form input, form.claim-form textarea { font: inherit; padding: .6rem .7rem; border: 1px solid #c9c6bf; border-radius: var(--radius); background: var(--surface); color: var(--text); width: 100%; }
form.claim-form .check { grid-template-columns: auto 1fr; align-items: center; gap: .6rem; font-weight: 400; }
form.claim-form .check input { width: auto; }
pre.snippet { background: var(--surface); box-shadow: var(--shadow); border-radius: var(--radius); padding: 1rem; overflow: auto; font-size: .85rem; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; margin: 1rem 0; }
.photos img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.publisher { display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; }
.publisher img { width: 160px; border-radius: var(--radius); }
.site-footer { background: var(--band); margin-top: 0; padding: 3.5rem 0 0; color: var(--band-text); font-size: .95rem; }
.site-footer .cols { display: grid; gap: 2rem 2.5rem; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); padding-bottom: 3rem; }
.site-footer h2 { color: var(--band-text); font-size: 1.1rem; margin: 0 0 .9rem; }
.site-footer h2 + ul, .site-footer p { margin-top: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer .about p { color: var(--band-soft); max-width: 42ch; }
.site-footer .about a, .site-footer .legal a { color: var(--band-text); text-decoration: underline; }
.social { display: flex; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--band-text); }
.social a:hover { background: var(--action); color: var(--action-text); }
.site-footer .legal { background: rgba(0, 0, 0, .25); padding: 1.1rem 0; font-size: .9rem; color: var(--band-soft); }
.site-footer .legal p { margin: 0; text-align: center; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--band-text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } .page-head.band { padding: 3.25rem 0 4rem; } .page-head.band:has(+ main .stat-cards) { padding-bottom: 1rem; } .stat-cards { gap: 1rem 2rem; padding-top: 2.5rem; } .stat-cards div { padding: 1.1rem 1.1rem 1rem; } }
@media (max-width: 640px) { body { font-size: 16px; } .cta-band { padding: 1.4rem; } .wrap { padding: 0 1.1rem; } .btn.action, .btn.ghost { width: 100%; text-align: center; } .dir-search { grid-template-columns: 1fr; border-radius: calc(var(--radius) * 1.5); } .dir-search .field + .field::before { display: none; } .dir-search input { background: var(--surface); } }
/* The link under the eight largest cities, the service links and the related listings on a listing page. */
.see-all { text-align: center; margin: 1.75rem 0 0; }
.svc-lead { margin: 1.1rem 0 .3rem; }
.svc-links a { color: var(--heading); text-decoration: none; }
.svc-links a:hover { text-decoration: underline; }
.related .more-list { columns: 2; }
@media (max-width: 560px) { .related .more-list { columns: 1; } }

/* The claim page after the form was sent (the mail worker redirects to /claim/?sent=1). */
.claim-sent { background: var(--tint); border-radius: var(--radius); padding: 1.4rem 1.6rem; max-width: 560px; }
.claim-sent h2 { margin-top: 0; }
form.claim-form[hidden] { display: none; }
