/*
Theme Name: Betts Team
Theme URI: https://bettsteam.com
Author: Betts Team
Description: Custom luxury theme for bettsteam.com. No page builder. Works with Showcase IDX and Rank Math.
Version: 2.5.6
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: betts-team
*/

:root {
  --ink: #0b1322; --ink-2: #111c31; --navy: #18335f; --blue: #2e5aaa; --red: #b02a30; --red-dark: #8f2026;
  --text: #1d2430; --muted: #6a7180; --line: #dcd8cf; --bone: #f6f4ef; --white: #fff;
  --serif: "Playfair Display", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px; --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.75; color: var(--text); background: var(--white); counter-reset: sec; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid #e0a100; outline-offset: 3px; }
strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
.lead { font-size: 1.08rem; max-width: 70ch; }
.fine { font-size: .8rem; color: var(--muted); }
.center { justify-content: center; }
.caps { font: 500 .72rem var(--sans); letter-spacing: .28em; text-transform: uppercase; }

/* Section heading: numbered label, thin rule, large serif title */
.sh { position: relative; margin: 0 0 clamp(28px, 4vw, 48px); padding-left: 22px; }
.sh::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 6px; width: 1px; background: currentColor; opacity: .25; }
.sh-eyebrow { margin: 0 0 6px -22px; font: 400 .74rem var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.sh-eyebrow::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); color: var(--red); font-weight: 600; letter-spacing: .1em; margin-right: 14px; }
.sh h2 { margin: 0; }
.sh.center { text-align: center; padding-left: 0; }
.sh.center::before { display: none; }
.sh.center .sh-eyebrow { margin-left: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 30px; border: 1px solid transparent; border-radius: 0; font: 500 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bone); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 16px; font: 500 .74rem var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: inherit; }
.text-link::after, .arrow-link i { content: ""; position: relative; display: inline-block; width: 34px; height: 1px; background: currentColor; transition: width .2s; }
.text-link::before { content: none; }
.arrow-link i::after, .text-link::after { }
.arrow-link i::before { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.arrow-link i::after { content: ""; position: absolute; right: -14px; top: -15px; width: 30px; height: 30px; border: 1px solid var(--red); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(20deg); transition: transform .3s; }
.arrow-link:hover i::after { transform: rotate(110deg); }
.arrow-link:hover, .text-link:hover { color: var(--red); }
.text-link:hover::after { width: 48px; }

/* Header: sits over the dark top of every page, turns solid on scroll */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(11,19,34,.94); color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.at-top { background: linear-gradient(180deg, rgba(11,19,34,.6), rgba(11,19,34,0)); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; color: #fff; }
.brand:hover { color: #fff; }
.brand img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 1.1rem var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.brand-sub { font: 400 .58rem var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 5px; white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 12px 11px; color: #fff; text-decoration: none; font: 400 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.site-nav > ul > li > a { position: relative; }
.site-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 14px; bottom: 6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav > ul > li:hover > a::after, .site-nav > ul > li:focus-within > a::after { transform: scaleX(1); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--ink); border-top: 1px solid var(--red); padding: 10px 6px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: 9px 14px; font-size: .68rem; opacity: .85; }
.sub a:hover { opacity: 1; color: #fff; background: rgba(255,255,255,.07); }
.nav-toggle { display: none; min-height: 44px; padding: 8px 18px; border: 1px solid rgba(255,255,255,.6); background: none; color: #fff; font: 500 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
.header-call { min-height: 44px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.6); color: #fff; white-space: nowrap; background: none; }
.header-call:hover { background: #fff; color: var(--ink); }

/* Home hero */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; text-align: center; color: #fff; padding: calc(var(--header-h) + 50px) 0 150px;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(11,19,34,.62), rgba(11,19,34,.38) 45%, rgba(11,19,34,.82)), var(--hero-image, url(assets/photos/hero.jpg));
  background-size: cover; background-position: center; }
.hero .wrap { width: 100%; }
.hero-mark { width: 74px; height: 74px; margin: 0 auto 26px; display: block; }
.eyebrow { font: 400 .74rem var(--sans); letter-spacing: .42em; text-transform: uppercase; margin-bottom: 22px; opacity: .9; }
.hero h1 { color: #fff; max-width: 17ch; margin: 0 auto .4em; }
.hero h1 em { font-style: italic; }
.hero-sub { font-size: 1.05rem; max-width: 58ch; margin: 0 auto; opacity: .88; }
.search-card { max-width: 760px; margin: 38px auto 0; text-align: left; }
.tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.tabs button { padding: 8px 16px; border: 0; border-bottom: 1px solid transparent; background: none; color: #fff; font: 400 .72rem var(--sans); letter-spacing: .26em; text-transform: uppercase; cursor: pointer; opacity: .7; }
.tabs button[aria-selected="true"] { opacity: 1; border-bottom-color: var(--red); }
.tab-panel { display: flex; align-items: stretch; background: rgba(255,255,255,.96); color: var(--text); }
.tab-panel[hidden] { display: none; }
.tab-panel p { margin: 0; flex: 1 1 240px; padding: 14px 22px; align-self: center; }
.tab-panel input { flex: 1 1 260px; min-width: 0; min-height: 60px; padding: 10px 22px; border: 0; background: transparent; font: 300 1rem var(--sans); color: var(--text); }
.tab-panel .btn { min-height: 60px; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 44px; }
.hero-links a { font: 400 1.7rem var(--serif); letter-spacing: 0; text-transform: none; color: #fff; }
.hero-links a:hover { color: #fff; }
.hero-links-label { margin: 46px 0 -26px; font: 400 1.15rem var(--serif); opacity: .9; }

/* Framed tiles under the hero */
.tiles-band { position: relative; z-index: 2; margin-top: -110px; padding-bottom: clamp(40px, 6vw, 80px); }
.frame-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3.4vw, 52px); }
.frame-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4.4; padding: 26px; color: #fff; text-decoration: none;
  background-color: var(--ink-2); background-image: linear-gradient(180deg, rgba(11,19,34,.1) 35%, rgba(11,19,34,.9)), var(--tile-image, linear-gradient(160deg, #1f3a68, #0e1830)); background-size: cover; background-position: center;
  box-shadow: 0 24px 50px rgba(11,19,34,.28); transition: transform .35s; }
.frame-tile::before { content: ""; position: absolute; inset: -14px 26px 26px -14px; border: 1px solid #cfcabd; z-index: -1; transition: inset .35s; }
.frame-tile:nth-child(even)::before { inset: 26px -14px -14px 26px; }
.frame-tiles { counter-reset: tile; }
.frame-tile-1 { --tile-image: url(assets/photos/tile-1.jpg); }
.frame-tile-2 { --tile-image: url(assets/photos/tile-2.jpg); }
.frame-tile-3 { --tile-image: url(assets/photos/tile-3.jpg); }
.frame-tile-4 { --tile-image: url(assets/photos/tile-4.jpg); }
.frame-tile::after { counter-increment: tile; content: counter(tile, decimal-leading-zero); position: absolute; top: 18px; right: 22px; font: 400 3.2rem var(--serif); color: rgba(255,255,255,.55); }
.frame-tile:hover { transform: translateY(-6px); color: #fff; }
.frame-tile span { font: 500 .8rem var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.frame-tile small { display: block; font: 300 .82rem var(--sans); letter-spacing: 0; text-transform: none; opacity: .85; margin-top: 6px; }

/* Sections */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.section-soft { background: var(--bone); }
.section-navy { background: var(--ink); color: #d5dbe6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .sh-eyebrow { color: #aab3c4; }
.page-hero { background: var(--ink); background-image: linear-gradient(90deg, rgba(11,19,34,.94) 0%, rgba(11,19,34,.8) 50%, rgba(11,19,34,.5) 100%), var(--page-image, url(assets/photos/page.jpg)); background-size: cover; background-position: center 35%; color: #d5dbe6; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 7vw, 90px); }
.ph-des-moines { --page-image: url(assets/photos/city-des-moines.jpg); background-position: center 60%; }
.ph-windsor-heights { --page-image: url(assets/photos/city-windsor-heights.jpg); background-position: center 70%; }
.ph-grimes { --page-image: url(assets/photos/page.jpg); }
.ph-default { --page-image: url(assets/photos/city-default.jpg); background-position: center 45%; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 20ch; }
.page-hero .lead { color: #d5dbe6; }
.page-hero a { color: #fff; }
.page-hero .btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.page-hero .btn-outline:hover { background: #fff; color: var(--ink); }
.crumbs { font: 400 .68rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #aab3c4; margin-bottom: 22px; }
.crumbs a { color: #aab3c4; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); padding: 30px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.service { position: relative; padding-top: 38px; }
.service::before { content: ""; position: absolute; left: 30px; top: 0; width: 46px; height: 2px; background: var(--red); }
.town-card h3 { margin: 0; font-size: 1.3rem; }
.town-card p { margin: 2px 0 0; font: 400 .66rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.town-card .stat-line { color: var(--red); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .tile-links a { display: inline-block; padding: 12px 22px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font: 400 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.tile-links a { padding: 8px 14px; margin: 0 6px 6px 0; font-size: .64rem; }
.chip:hover, .tile-links a:hover { border-color: var(--red); color: var(--red); }
.tiles { margin-top: 40px; }
.person { text-align: center; padding: 40px 30px; }
.person .avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 400 2rem var(--serif); margin: 0 auto 20px; background-size: cover; background-position: center; }
.person .role { font: 400 .66rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.quote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.5rem, 3vw, 2.3rem)/1.4 var(--serif); color: #fff; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: 22px; font: 400 .7rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #aab3c4; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; position: relative; padding-left: 78px; min-height: 52px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -8px; font: 400 2.4rem var(--serif); color: var(--red); }
.steps strong { display: block; font: 500 .78rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.steps-light { max-width: 780px; }
.steps-light strong { color: var(--ink); }
.byline { margin-top: 34px; font-size: .8rem; color: var(--muted); }
.cta-band { background: var(--ink); background-image: linear-gradient(180deg, rgba(11,19,34,.88), rgba(11,19,34,.8)), url(assets/photos/band.jpg); background-size: cover; background-position: center 70%; color: #d5dbe6; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Framed photo (team) */
.frame-photo { position: relative; margin: 0 0 0 18px; }
.frame-photo::before { content: ""; position: absolute; inset: 22px 22px -18px -18px; border: 1px solid #cfcabd; }
.frame-photo img { position: relative; display: block; width: 100%; height: auto; box-shadow: 0 24px 50px rgba(11,19,34,.22); }

/* Proof numbers */
.proof { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.proof dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px clamp(30px, 6vw, 90px); margin: 0; }
.proof dl div { display: flex; align-items: center; gap: 16px; }
.proof dd { margin: 0; font: 400 clamp(2.2rem, 4vw, 3.2rem) var(--serif); color: var(--ink); order: -1; }
.proof dt { font: 500 .7rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; max-width: 15ch; }
.proof .fine { text-align: center; margin: 18px 0 0; }

/* Prose, stats, tables, FAQ */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 16px; border: 1px solid var(--line); }
.stats div { padding: 26px; border-left: 1px solid var(--line); background: #fff; }
.stats div:first-child { border-left: 0; }
.stats dt { font: 400 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 8px 0 0; font: 400 1.9rem var(--serif); color: var(--ink); }
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; min-width: 520px; }
.data th, .data td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.data thead th { font: 500 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.data tbody th { font: 400 1.15rem var(--serif); }
.data tbody th a { text-decoration: none; color: var(--ink); }
.data tbody th a:hover { color: var(--red); }
.data td { font-variant-numeric: tabular-nums; }
.faq { max-width: 860px; }
.faq-item { border-top: 1px solid var(--line); padding: 26px 0 8px; }
.faq-item h3 { font-size: 1.3rem; }
.idx-soon { border: 1px solid var(--line); padding: clamp(30px, 5vw, 60px); text-align: center; background: #fff; }
.idx-soon p { max-width: 56ch; margin-inline: auto; }

/* Areas We Serve map */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.map-list { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 20px; }
.map-figure { margin: 0; }
.map-figure figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }
.area-map { display: block; width: 100%; height: auto; }
.area-map .m-base path { fill: #eef2fa; }
.area-map .m-lines path { fill: none; stroke: #9db4e0; stroke-width: .7; }
.area-map .m-water path { fill: #7d9cd9; }
.area-map .m-roads path { fill: none; stroke: #e6c44a; stroke-width: 1; }
.area-map .m-signs rect { fill: #fff; stroke: #9aa3b5; stroke-width: .5; }
.area-map .m-signs text { font: 600 6px var(--sans); fill: #4a5468; text-anchor: middle; }
.area-map .m-areas a path { stroke: #fff; stroke-width: .8; transition: fill .2s; cursor: pointer; }
.area-map .m-areas a:hover path, .area-map .m-areas a:focus path, .area-map .m-areas a.is-hot path { fill: var(--blue); }
.area-map .m-areas a:focus { outline: none; }
.area-map .m-poi { cursor: pointer; }
.area-map .m-poi path, .area-map .m-poi circle { transition: transform .18s; transform-box: fill-box; transform-origin: center; }
.area-map .m-poi:hover path, .area-map .m-poi:focus path, .area-map .m-poi.is-on path { transform: scale(1.12); }
.area-map .m-poi:focus { outline: none; }
.area-map .m-poi:focus-visible circle { stroke: var(--red); stroke-width: 3; }
.area-map .m-mini-bg { fill: #fff; stroke: #0f193a; stroke-width: 1; }
.area-map .m-mini-in { fill: #264a8a; }
.area-map .m-mini-ic { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.area-map .m-mini path, .area-map .m-mini circle { transform: none !important; }
.area-map .m-mini-in { transition: fill .18s; }
.area-map .m-mini:hover .m-mini-in, .area-map .m-mini:focus .m-mini-in, .area-map .m-mini.is-on .m-mini-in { fill: var(--red); }
.map-figure { position: relative; }
.map-tip { position: absolute; z-index: 5; max-width: 250px; background: #fff; border: 1px solid var(--line, #dcd8cf); box-shadow: 0 6px 20px rgba(11,19,34,.18); padding: 10px 12px; font-size: .82rem; line-height: 1.4; color: var(--ink); pointer-events: auto; transform: translate(-50%, calc(-100% - 14px)); }
.map-tip[hidden] { display: none; }
.map-tip strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.map-tip a { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--red); text-decoration: none; }
.area-map .m-labels a { text-decoration: none; }
.area-map .m-labels text { font-family: var(--sans); font-weight: 600; text-anchor: middle; text-transform: uppercase; letter-spacing: .06em; fill: #1c3669; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; stroke-linejoin: round; transition: fill .2s, stroke .2s; cursor: pointer; }
.area-map .m-l text { font-size: 23px; font-weight: 700; }
.area-map .m-m text { font-size: 17px; }
.area-map .m-s text { font-size: 12.5px; fill: #4b5f8c; }
.area-map .m-xs text { font-size: 10.5px; fill: #4b5f8c; }
.area-map .m-labels a:hover text, .area-map .m-labels a.is-hot text { fill: #fff; stroke: var(--blue); }
.area-map .m-dot { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.map-list h3 { font-size: 1.5rem; margin-bottom: 18px; }
.town-links { list-style: none; margin: 0 0 26px; padding: 0; columns: 3; column-gap: 24px; }
.town-links li { break-inside: avoid; }
.town-links a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 400 1.02rem var(--serif); transition: color .2s, padding .2s; }
.town-links a:hover, .town-links a.is-hot { color: var(--red); padding-left: 8px; }

/* Forms */
.form-card { padding: clamp(26px, 4vw, 44px); }
.lead-form label { display: block; font: 500 .66rem var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form select, .lead-form textarea { display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 12px 16px; border: 1px solid #bdb8ac; border-radius: 0; font: 300 1rem var(--sans); letter-spacing: 0; text-transform: none; background: #fff; color: var(--text); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--ink); outline: 2px solid #e0a100; outline-offset: 1px; }
.lead-form .consent { display: flex; gap: 12px; align-items: flex-start; font: 300 .78rem/1.6 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.lead-form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.lead-form .hp { position: absolute; left: -5000px; }
.lead-form .fine { margin: 14px 0 0; }
.form-error { background: #fdecec; border: 1px solid var(--red); padding: 12px 16px; }

/* Blog and plain pages */
.entry { padding: clamp(50px, 7vw, 90px) 0; }
.entry .wrap { max-width: 840px; }
.entry-meta { font: 400 .66rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.page-hero .entry-meta { color: #aab3c4; }
.post-list { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); list-style: none; padding: 0; margin: 0; }
.post-list a { text-decoration: none; }
.idx-full { padding-top: var(--header-h); }
.page-hero.slim { padding: calc(var(--header-h) + 34px) 0 30px; }
.page-hero.slim h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: none; margin: 0; }
.page-hero.slim .lead { margin: 8px 0 0; font-size: 1rem; }
.idx-page { padding: 28px 0 70px; }
.idx-page .wrap { max-width: 1440px; }

/* Footer */
.site-footer { background: var(--ink); color: #aab3c4; padding: clamp(60px, 7vw, 100px) 0 110px; font-size: .9rem; }
.site-footer a { color: #e6eaf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; }
.footer-name { font: 400 1.25rem var(--serif); color: #fff; margin-top: 16px; }
.footer-col h2 { font: 500 .68rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 46px; padding-top: 28px; font-size: .78rem; }
.footer-legal .eho { vertical-align: -7px; margin-right: 6px; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.mobile-bar { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 20px 28px 120px; overflow: auto; }
  .admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .site-nav a { font-size: .82rem; padding: 14px 0; }
  .sub { display: block; position: static; border: 0; padding: 0 0 8px 16px; background: none; }
  .header-call { display: none; }
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .frame-tiles { grid-template-columns: 1fr 1fr; gap: 40px 34px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .map-layout, .split { grid-template-columns: 1fr; }
  .map-list { position: static; padding-top: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand-name { font-size: .95rem; letter-spacing: .22em; }
  .tabs button { padding: 8px 8px; letter-spacing: .16em; }
  .tab-panel { flex-wrap: wrap; }
  .tab-panel .btn { flex: 1 1 100%; }
  .hero-links a { font-size: 1.35rem; }
  .frame-tile { padding: 18px; }
  .frame-tile span { font-size: .68rem; letter-spacing: .2em; }
  .frame-tile small { display: none; }
  .town-links { columns: 2; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); border-top: 1px solid rgba(255,255,255,.15); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { color: #fff; text-align: center; padding: 16px 6px; font: 500 .7rem var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border-left: 1px solid rgba(255,255,255,.15); }
  .mobile-bar a:first-child { border-left: 0; background: var(--red); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Landmark guides */
.lm-facts { padding: 12px 16px; background: var(--bone); border-left: 3px solid var(--red); }
.lm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px 28px; }
.lm-list li { border-bottom: 1px solid var(--line); padding: 0 0 12px; }
.lm-list a { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); text-decoration: none; display: block; }
.lm-list a:hover { color: var(--red); }
.lm-list span { font-size: .86rem; color: var(--muted); }
