/* Tommy & Jodi — theme styles. Tokens from STYLE-GUIDE.md */
:root {
	--paper: #fbf8f1;
	--sand: #f2ede3;
	--white: #fff;
	--ink: #1c2430;
	--navy: #012549;
	--brick: #882b18;
	--green: #26472b;
	--muted: #6b6858;
	--rule: #d8d4cc;
	--tape: rgba(214, 196, 160, .72);
	--display: "Caveat", "Segoe Print", cursive;
	--body: "Quicksand", system-ui, -apple-system, sans-serif;
	--wrap: 1200px;
	--pad: clamp(56px, 8vw, 96px);
	--shadow: 0 6px 18px rgba(28, 36, 48, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-weight: 500;
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(3.4rem, 7vw, 6rem); color: var(--navy); }
h2 { font-size: clamp(2.6rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: 10px 26px;
	font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1;
	text-decoration: none; border-radius: 2px; border: 2px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-sm { min-height: 42px; font-size: 1.35rem; padding: 6px 18px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-brick { background: var(--brick); color: #fff; }
.btn-navy:hover, .btn-brick:hover { color: #fff; }
.btn-outline-green { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-ghost-light { border-color: #fff; color: #fff; flex-direction: column; gap: 2px; padding: 10px 28px; }
.btn-ghost-light:hover { background: #fff; color: var(--brick); }
.btn-num { font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.site-cta-hover:hover, .site-cta-hover:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(1, 37, 73, .18); }
.tj-text-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .96); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: .9; text-transform: uppercase; letter-spacing: .02em; }
.brand-sub { font-size: .72rem; font-weight: 600; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.tj-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.tj-menu a { font-family: var(--display); font-weight: 600; font-size: 1.55rem; color: var(--navy); text-decoration: none; }
.tj-menu a:hover, .tj-menu .current-menu-item a { color: var(--brick); }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }

/* Taped photos */
.taped { position: relative; margin: 0; background: #fff; padding: 10px; box-shadow: var(--shadow); }
.taped::before {
	content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px;
	transform: translateX(-50%) rotate(-3deg); background: var(--tape); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.taped img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tilt-l { rotate: -2deg; }
.tilt-r { rotate: 1.8deg; }
.tilt-r2 { rotate: 1.2deg; }

/* Sketches */
.tj-sketch { position: absolute; pointer-events: none; opacity: .75; mix-blend-mode: multiply; height: auto; }
.on-dark { filter: brightness(0) invert(1); mix-blend-mode: normal; opacity: .55; }
.tj-underline { display: block; width: min(240px, 80%); height: 14px; margin: -.2em 0 .7em; color: var(--brick); }
.u-white { color: #fff; }

/* Section heads */
.section-head { position: relative; }
.h-brick { color: var(--brick); }
.h-navy { color: var(--navy); }
.h-green { color: var(--green); }
.kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--brick); margin-bottom: 14px; }

/* Hero */
.hero { padding: 32px 0 56px; position: relative; outline: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.hero-copy { position: relative; padding-top: 28px; }
.hero h1 { max-width: 9.5ch; position: relative; z-index: 1; }
.hero h1 .hl { color: var(--brick); }
.lede { font-size: 1.15rem; max-width: 30ch; color: var(--ink); }
.hero .tj-text-btns { margin: 22px 0 14px; }
.hero .tj-text-btns .btn { min-width: 150px; }
.btn-wide { min-width: 314px; }
.hero-lighthouse { width: 150px; right: 0; top: 50px; z-index: 0; opacity: .6; }
.hero-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 6px 30px 0 0; }
.hero-head { max-width: 230px; justify-self: end; }
.hero-head-2 { justify-self: start; }
.hero-head img { aspect-ratio: 4 / 5; }
.hero-house { grid-column: 1 / -1; margin-top: -10px; margin-left: 40px; }
.hero-house img { aspect-ratio: 3 / 2; }
.hero-fence { width: 130px; right: -30px; top: 110px; }
.hero-grass { width: 110px; left: 0; bottom: -20px; }

/* Listings */
.listings { border-top: 1px solid var(--rule); padding: var(--pad) 0; }
.listings-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.listings-stand { position: static; width: 200px; margin-top: 28px; }
.listing-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.listing-card { padding: 10px 10px 16px; }
.listing-card img { aspect-ratio: 4 / 3; }
.listing-card a { text-decoration: none; color: inherit; }
.listing-title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--navy); margin: 12px 6px 0; line-height: 1; }
.listing-town { display: block; margin: 4px 6px 0; font-weight: 600; }

/* Meet */
.meet { border-top: 1px solid var(--rule); padding: var(--pad) 0; }
.meet-grid { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 36px; align-items: start; }
.meet-fence { position: static; width: 190px; margin-top: 20px; }
.meet-agent { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; }
.meet-agent + .meet-agent { border-left: 1px solid var(--rule); padding-left: 36px; }
.meet-agent h3 { color: var(--navy); margin-bottom: 4px; }
.agent-title { font-size: .9rem; font-weight: 600; color: var(--muted); }
.meet-agent blockquote { margin: 10px 0 0; font-family: var(--display); font-size: 1.7rem; line-height: 1.15; color: var(--ink); }

/* Bands */
.band { position: relative; color: #fff; overflow: hidden; }
.band a { color: #fff; }
.band-green { background: var(--green); }
.band-brick { background: var(--brick); }
.band-navy { background: var(--navy); }

.record { padding: 40px 0 26px; }
.record-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; }
.record-grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 12px; text-align: center; }
.record-grid li + li { border-left: 1px solid rgba(255,255,255,.35); }
.record-num { font-family: var(--display); font-size: 2.6rem; line-height: .8; }
.record-label { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.record-note { text-align: center; font-family: var(--display); font-size: 1.5rem; margin: 14px 0 0; }
.record-lighthouse { width: 120px; left: 2%; bottom: -8px; }
.record-grass { width: 120px; right: 2%; bottom: -10px; }

/* Help */
.help { padding: var(--pad) 0; position: relative; }
.help-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.help-grid li { text-align: center; padding: 0 22px; display: flex; flex-direction: column; align-items: center; }
.help-grid li + li { border-left: 1px solid var(--rule); }
.help-icon { color: var(--navy); margin-bottom: 14px; }
.help-grid h3 { color: var(--green); max-width: 9ch; }
.help-grid h3 a { color: inherit; text-decoration: none; }
.help-grid h3 a::after { content: ""; position: absolute; inset: 0; }
.help-grid li { position: relative; }
.help-grid li:hover h3 { color: var(--brick); }
.help-grid p { max-width: 22ch; }
.arrow { font-size: 1.6rem; color: var(--navy); margin-top: auto; }
.help-grass { width: 120px; right: 3%; bottom: 10px; }

/* Steps */
.steps { padding: 52px 0; }
.steps-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.steps h2 { color: #fff; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps-list li { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 0 26px; border-left: 1px solid rgba(255,255,255,.35); }
.step-num { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: .9; }
.steps-list h3 { font-size: 1.7rem; color: #fff; margin: 6px 0 4px; }
.steps-list p { margin: 0; font-size: .98rem; }

/* Towns */
.towns { padding: var(--pad) 0; }
.towns-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.towns-train { position: static; width: 250px; margin-top: 18px; }
.town-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.town-list li { border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.town-list li:nth-child(4n+1) { border-left: 0; }
.town-list li:nth-last-child(-n+4) { border-bottom: 0; }
.town-list a { display: block; padding: 14px 8px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--navy); text-decoration: none; }
.town-list a:hover { color: var(--brick); }
.towns-more { text-align: center; margin-top: 16px; }
.towns-more a { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--green); }

/* Review */
.review { padding: 30px 0; }
.review-inner { display: flex; align-items: center; gap: 28px; position: relative; min-height: 90px; }
.quote-mark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.4); height: 60px; }
.review figure { margin: 0; }
.review blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
.review blockquote p { margin: 0; }
.review figcaption { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin-top: 6px; }
.review-fence { width: 220px; right: 0; top: 50%; transform: translateY(-50%); }

/* CTA */
.cta { padding: 34px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(2.4rem, 4.4vw, 3.6rem); }

/* Footer */
.site-footer { padding: 36px 0 20px; background: var(--paper); border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 28px; position: relative; font-size: .9rem; }
.footer-col + .footer-col { border-left: 1px solid var(--rule); padding-left: 28px; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 2.2rem; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; line-height: 1; }
.eho { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.footer-chair { position: absolute; right: -10px; bottom: -6px; width: 110px; filter: sepia(1) hue-rotate(-30deg) saturate(3); opacity: .55; }
.footer-fine { font-size: .75rem; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.footer-fine p { margin: 0 0 4px; }

.mobile-textbar { display: none; }

/* Inner pages (blocks) */
.page-main { padding: 48px 0 var(--pad); }
.entry-content > * { width: min(100% - 32px, 820px); margin-inline: auto; }
.entry-content > .alignwide, .entry-content > .wp-block-group.tj-wide { width: min(100% - 32px, var(--wrap)); }
.entry-content > .alignfull, .entry-content > .tj-band { width: 100%; }
.entry-content h1 { margin-top: 0; }
.entry-content h2 { color: var(--navy); margin-top: 1.4em; }
.entry-content h3 { color: var(--green); margin-top: 1.2em; }
.entry-content li { margin-bottom: .4em; }

@media (max-width: 1080px) {
	.tj-menu { gap: 18px; }
	.tj-menu a { font-size: 1.35rem; }
	.brand-sub { display: none; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 12px; border-bottom: 1px solid var(--rule); display: none; }
	.site-nav.is-open { display: flex; }
	.tj-menu { flex-direction: column; gap: 0; }
	.tj-menu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
	.brand-sub { display: block; }
	.hero-grid, .listings-grid, .meet-grid, .steps-grid, .towns-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.hero-lighthouse { width: 90px; top: 0; }
	.hero-photos { padding: 10px 0 0; }
	.hero-house { margin-left: 0; }
	.hero-fence { display: none; }
	.listing-cards { grid-template-columns: 1fr 1fr; }
	.listings-stand, .meet-fence, .towns-train { width: 140px; }
	.meet-agent + .meet-agent { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
	.record-grid, .help-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.record-grid li:nth-child(3), .help-grid li:nth-child(3) { border-left: 0; }
	.record-lighthouse, .record-grass { display: none; }
	.steps-list { grid-template-columns: 1fr; gap: 20px; }
	.steps-list li { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding: 18px 0 0; }
	.town-list { grid-template-columns: 1fr 1fr; }
	.town-list li { border-left: 0; }
	.town-list li:nth-child(odd) { border-right: 1px solid var(--rule); }
	.town-list li:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
	.town-list li:nth-last-child(-n+2) { border-bottom: 0; }
	.review-fence { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-col + .footer-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
	.mobile-textbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
	.mobile-textbar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; text-decoration: none; background: var(--navy); }
	.mobile-textbar a + a { background: var(--brick); }
	body { padding-bottom: 54px; }
}
@media (max-width: 560px) {
	.listing-cards { grid-template-columns: 1fr; }
	.meet-agent { grid-template-columns: 110px 1fr; }
	.help-grid { grid-template-columns: 1fr; }
	.help-grid li + li { border-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; }
	.record-grid li { border-left: 0 !important; }
	.btn-wide { min-width: 0; width: 100%; }
	.hero .tj-text-btns .btn { flex: 1; }
	.brand-name { font-size: 2rem; }
	.brand-sub { font-size: .62rem; }
	.cta .tj-text-btns { width: 100%; }
	.cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.site-cta-hover:hover { transform: none; }
}

/* ---- Fidelity pass 1 ---- */
.tj-menu a, .btn, .town-list a, .steps-list h3, .footer-brand, .link-arrow, .towns-more a, .mobile-textbar a { font-family: var(--body); }
.tj-menu a { font-size: 1.02rem; font-weight: 700; }
.btn { font-size: 1.12rem; font-weight: 700; min-height: 58px; padding: 12px 30px; }
.btn-sm { font-size: .95rem; min-height: 44px; }
.btn-num { white-space: nowrap; font-size: .95rem; font-weight: 600; }
.link-arrow, .towns-more a { font-size: 1.05rem; font-weight: 700; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
.hero h1 { max-width: 11.5ch; font-size: clamp(3.6rem, 7.2vw, 6.6rem); }
.hero .tj-text-btns .btn { min-width: 170px; }
.btn-wide { min-width: 354px; }
.hero-lighthouse { width: 190px; right: -20px; top: 40px; }
.hero-gulls { width: 110px; right: 0; top: -10px; }
.hero-grass { width: 120px; left: -10px; bottom: -30px; }
.listings-grid h2, .meet-grid h2, .towns-grid h2 { font-size: clamp(3rem, 5vw, 4.2rem); }
.listing-title { color: var(--green); font-size: 2rem; }
.listings-stand { width: 220px; }
.meet-agent { grid-template-columns: 200px 1fr; }
.meet-agent figure img { aspect-ratio: 4 / 5; }
.meet-fence { width: 150px; }
.record { padding: 76px 0 48px; }
.record-num { font-size: 0; display: block; width: 48px; height: 4px; background: #fff; margin-bottom: 14px; }
.record-label { font-size: 1rem; }
.record-note { font-size: 1.9rem; margin-top: 24px; }
.record-lighthouse { width: 170px; bottom: 0; }
.record-grass { width: 150px; }
.help-icon { width: 72px; height: 72px; }
.help-grid h3 { font-size: clamp(2.1rem, 3vw, 2.6rem); max-width: 11ch; }
.steps { padding: 92px 0; }
.steps h2 { font-size: clamp(3.2rem, 5vw, 4.4rem); }
.step-num { font-size: 5.2rem; }
.steps-list h3 { font-size: 1.35rem; font-weight: 700; margin-top: 12px; }
.steps-list p { font-size: 1.08rem; }
.town-list a { font-size: 1.12rem; font-weight: 700; padding: 18px 8px; }
.towns-train { width: 300px; }
.towns-grass { position: static; width: 70px; float: right; margin-top: 8px; }
.review { padding: 76px 0; }
.review blockquote { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 22ch; }
.review-inner { padding-right: 260px; }
.review-fence { width: 150px; right: 20px; }
.review-gulls { width: 120px; right: 150px; top: 18%; }
.quote-mark { font-size: 7rem; height: 90px; }
.cta { padding: 76px 0; }
.cta h2 { font-size: clamp(3rem, 5.4vw, 4.6rem); }
.cta .tj-underline { margin-top: 4px; width: 320px; }
.cta-inner { padding-right: 160px; }
.cta-chair { width: 150px; right: 2%; bottom: 0; }
.footer-brand { font-weight: 700; font-size: 1.5rem; letter-spacing: .14em; }
.footer-grid { padding-right: 130px; }
.footer-chair { right: 0; width: 110px; filter: none; opacity: .5; }
@media (max-width: 900px) {
	.btn-wide { min-width: 0; }
	.review-inner, .cta-inner, .footer-grid { padding-right: 0; }
	.cta-chair, .review-gulls, .help-grass, .towns-grass, .footer-chair, .hero-gulls { display: none; }
	.listings-stand, .meet-fence, .towns-train { width: 160px; margin: 8px 0 0; }
	.hero h1 { font-size: clamp(3.2rem, 13vw, 4.6rem); }
	.meet-agent { grid-template-columns: 140px 1fr; }
	.step-num { font-size: 3.8rem; }
}
@media (max-width: 560px) {
	.cta .tj-text-btns { flex-direction: column; }
	.listings-stand, .towns-train { display: none; }
}
.tj-hero-wrap, main, .site-footer { overflow-x: clip; }
@media (max-width: 900px) { .hero-lighthouse { right: 0; } }

/* ---- Fidelity pass 2 ---- */
.hero-grid { grid-template-columns: 1.2fr 1fr; }
.hero h1 { max-width: 12.5ch; font-size: clamp(3.6rem, 6.6vw, 6.2rem); }
.hero .tj-text-btns .btn { min-width: 196px; min-height: 66px; font-size: 1.3rem; }
.btn-wide { min-width: 406px; min-height: 66px; font-size: 1.3rem; }
.listings-grid { grid-template-columns: 300px 1fr; }
.meet-grid { grid-template-columns: 300px 1fr 1fr; }
.meet-agent { grid-template-columns: 230px 1fr; }
.meet-agent h3 { color: var(--green); }
.record { padding: 116px 0 76px; }
.record-num { width: 64px; height: 5px; }
.record-label { font-size: 1.12rem; }
.help-icon { stroke-width: 2.1; }
.steps { padding: 118px 0; }
.step-num { font-size: 6.4rem; }
.steps-list p { font-size: 1.15rem; }
.town-list a { font-size: 1.6rem; }
.towns-grass { width: 110px; opacity: .8; }
.review { padding: 104px 0; }
.quote-mark { font-size: 10rem; height: 120px; line-height: .75; }
.on-dark { opacity: .85; }
.review-fence { width: 190px; }
.review-gulls { width: 150px; }
.cta { padding: 96px 0; }
.cta-inner { flex-wrap: nowrap; }
.cta-inner > div:first-child { flex: 1 1 auto; }
.cta h2 { max-width: 11ch; }
.cta .tj-text-btns { flex-wrap: nowrap; flex: 0 0 auto; }
.cta-chair { width: 170px; opacity: .9; }
.footer-brand { font-family: var(--display); font-size: 3rem; letter-spacing: .03em; }
.footer-chair { width: 130px; opacity: .85; }
.mobile-textbar { transition: transform .25s ease; }
body.tb-hidden .mobile-textbar { transform: translateY(110%); }
@media (max-width: 900px) {
	.hero-grid, .listings-grid, .meet-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; font-size: clamp(3.2rem, 13vw, 4.6rem); }
	.hero .tj-text-btns .btn { min-width: 0; flex: 1; }
	.btn-wide { min-width: 0; width: 100%; }
	.hero-lighthouse { width: 80px; top: -6px; opacity: .35; }
	.meet-agent { grid-template-columns: 140px 1fr; }
	.record { padding: 64px 0 48px; }
	.steps { padding: 64px 0; }
	.step-num { font-size: 4rem; }
	.review { padding: 64px 0; }
	.quote-mark { font-size: 6rem; height: 70px; }
	.cta { padding: 60px 0; }
	.cta-inner { flex-wrap: wrap; }
	.cta .tj-text-btns { flex-wrap: wrap; width: 100%; }
	.town-list a { font-size: 1.25rem; }
}
@media (max-width: 560px) {
	.cta .tj-text-btns { flex-direction: column; }
}

/* ---- Fidelity pass 3 ---- */
.lede { font-size: 1.38rem; max-width: 32ch; }
.btn { white-space: nowrap; text-align: center; }
.listing-title { font-size: 2.4rem; }
.listing-town { font-size: 1.2rem; }
.meet-agent { grid-template-columns: 190px minmax(220px, 1fr); }
.meet-grid { grid-template-columns: 260px 1fr 1fr; gap: 30px; }
.record { padding: 160px 0 120px; }
.help-icon { width: 92px; height: 92px; stroke-width: 1.8; }
.steps-list h3 { font-size: 1.75rem; }
.steps-list p { font-size: 1.4rem; line-height: 1.45; }
.towns-more a { font-family: var(--display); font-size: 2.4rem; }
.review { padding: 140px 0; }
.quote-mark { font-size: 16rem; height: 150px; line-height: .8; }
.cta-inner { justify-content: flex-start; gap: 56px; padding-right: 200px; }
.cta-inner > div:first-child { flex: 0 1 auto; }
.cta h2 { max-width: 13ch; }
.cta .btn { min-height: 92px; padding: 16px 40px; font-size: 1.5rem; }
.cta .btn-num { font-size: 1.15rem; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; font-size: 1.12rem; }
.footer-agents { font-size: .95rem; }
.footer-agents span { display: block; }
.footer-brand { font-size: 3.6rem; }
@media (max-width: 900px) {
	.meet-grid { grid-template-columns: 1fr; }
	.meet-agent { grid-template-columns: 140px 1fr; }
	.record { padding: 64px 0 48px; }
	.review { padding: 64px 0; }
	.quote-mark { font-size: 6rem; height: 70px; }
	.help-icon { width: 72px; height: 72px; }
	.cta-inner { padding-right: 0; gap: 24px; }
	.cta .btn { min-height: 70px; font-size: 1.25rem; }
	.steps-list p { font-size: 1.15rem; }
	.towns-more a { font-size: 1.9rem; }
}
@media (max-width: 560px) { .lede { font-size: 1.2rem; } .hero .tj-text-btns .btn { padding: 12px 14px; } }
.eho { white-space: nowrap; }
.footer-agents a { white-space: nowrap; }
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr; padding-right: 0; }
	.footer-col + .footer-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
	.footer-brand { font-size: 2.6rem; }
	.hero h1 br { display: none; }
}

/* ---- Member changes: stronger sketches, tighter gaps ---- */
.tj-sketch { opacity: 1; }
.on-dark { opacity: 1; }
.hero-lighthouse { width: 230px; opacity: .9; top: 20px; right: -40px; }
.hero-gulls { width: 140px; }
.hero-grass { width: 150px; }
.listings-stand { width: 250px; margin-top: 18px; }
.meet-fence { width: 130px; margin-top: 6px; }
.record-lighthouse { width: 200px; }
.record-grass { width: 180px; }
.help-grass { width: 150px; }
.towns-train { width: 320px; }
.towns-grass { width: 130px; }
.review-fence { width: 220px; }
.review-gulls { width: 170px; }
.cta-chair { width: 200px; }
.footer-chair { width: 150px; opacity: 1; }
.listings, .meet, .help, .towns { padding: 64px 0; }
.listings-grid, .meet-grid { align-items: center; }
.meet-grid .section-head h2 { font-size: clamp(2.8rem, 4.2vw, 3.8rem); }
.record { padding: 84px 0 60px; }
.steps { padding: 80px 0; }
.review { padding: 84px 0; }
.quote-mark { font-size: 12rem; height: 120px; }
.cta { padding: 72px 0; }
.hero { padding-bottom: 40px; }
@media (max-width: 900px) {
	.listings, .meet, .help, .towns { padding: 48px 0; }
	.hero-lighthouse { width: 90px; right: 0; top: -6px; opacity: .45; }
	.record, .review { padding: 56px 0; }
	.steps { padding: 56px 0; }
	.cta { padding: 52px 0; }
}

/* ---- Member changes: rolling hero landscape + bigger hero text ---- */
.hero { overflow: hidden; padding: 24px 0 64px; }
.hero-landscape { position: absolute; z-index: 0; pointer-events: none; left: 50%; bottom: 0; width: 1500px; max-width: none; transform: translateX(-46%); opacity: .95; }
.hero-grid { position: relative; z-index: 1; }
.hero-photos { z-index: 1; }
.hero h1 { font-size: clamp(4rem, 7.6vw, 7.4rem); max-width: 10ch; }
.lede { font-size: 1.55rem; max-width: 26ch; line-height: 1.45; }
.kicker { font-size: 1rem; }
@media (max-width: 900px) {
	.hero-landscape { width: 900px; transform: translateX(-38%); opacity: .35; }
	.hero h1 { font-size: clamp(3.4rem, 14vw, 4.8rem); max-width: none; }
	.lede { font-size: 1.25rem; }
}
.hero h1 { max-width: none; white-space: nowrap; font-size: clamp(4rem, 6.3vw, 6.8rem); line-height: .95; }
.lede { max-width: 30ch; text-shadow: 0 0 6px var(--paper), 0 0 12px var(--paper); }
@media (max-width: 900px) { .hero h1 { white-space: normal; font-size: clamp(3.4rem, 14vw, 4.8rem); } }
@media (max-width: 900px) { .hero h1 br { display: inline; } .hero h1 { font-size: clamp(3.2rem, 14.5vw, 4.6rem); } }

/* ---- Member change: bigger header ---- */
.header-inner { padding: 18px 0; }
.brand-mark { width: 60px; }
.brand-name { font-size: 3.1rem; }
.brand-sub { font-size: .85rem; }
.tj-menu a { font-size: 1.18rem; }
.site-nav, .tj-menu { gap: 32px; }
.site-header .btn-sm { font-size: 1.1rem; min-height: 52px; padding: 10px 24px; }
@media (max-width: 1180px) { .tj-menu, .site-nav { gap: 20px; } .tj-menu a { font-size: 1.05rem; } .brand-name { font-size: 2.6rem; } }
@media (max-width: 900px) { .brand-mark { width: 46px; } .brand-name { font-size: 2.3rem; } .brand-sub { font-size: .7rem; } .header-inner { padding: 12px 0; } }

/* ---- Hero landscape anchored to the photo column ---- */
.hero-copy { z-index: 2; }
.hero-photos { position: relative; z-index: 1; }
.hero-photos > figure { position: relative; z-index: 1; }
.hero-landscape { position: absolute; z-index: 0; left: auto; right: -16%; bottom: -64px; width: 232%; max-width: none; transform: none; opacity: .95; }
@media (max-width: 900px) { .hero-landscape { right: -30%; bottom: -40px; width: 170%; transform: none; opacity: .35; } }

/* ---- Tablet / preview-panel widths ---- */
@media (max-width: 1023px) {
	.hero-grid { grid-template-columns: 1fr; gap: 28px; }
	.hero h1 { white-space: normal; font-size: clamp(3.2rem, 9vw, 5.4rem); }
	.lede { max-width: 36ch; }
	.hero-photos { width: 100%; max-width: 620px; margin: 0 auto; padding: 10px 0 0; }
	.hero-head { max-width: 240px; }
	.hero-house { margin-left: 0; }
	.hero-landscape { right: -40%; bottom: -50px; width: 190%; opacity: .5; }
	.hero .tj-text-btns { max-width: 520px; }
	.btn-wide { min-width: 0; width: 100%; max-width: 520px; }
	.hero .tj-text-btns .btn { flex: 1; min-width: 0; }
}
@media (max-width: 560px) { .hero-head { max-width: none; } }

/* ---- Keep hero side by side down to 760px ---- */
@media (min-width: 760px) and (max-width: 1023px) {
	.hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
	.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4rem); white-space: nowrap; }
	.hero h1 br { display: inline; }
	.lede { font-size: 1.1rem; max-width: 28ch; }
	.hero .tj-text-btns { gap: 10px; }
	.hero .tj-text-btns .btn { font-size: 1.05rem; min-height: 54px; padding: 10px 12px; }
	.btn-wide { font-size: 1.05rem; min-height: 54px; }
	.hero-photos { max-width: none; margin: 0; padding: 14px 0 0; gap: 12px 14px; }
	.hero-head { max-width: none; }
	.hero-landscape { right: -12%; bottom: -60px; width: 215%; opacity: .7; }
}
@media (min-width: 760px) and (max-width: 900px) {
	.mobile-textbar { display: none; }
	body { padding-bottom: 0; }
	.site-nav { display: none; }
	.nav-toggle { display: block; }
}

.trust-row { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; font-weight: 700; color: var(--green); }
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--brick); border-bottom: 2.5px solid var(--brick); transform: rotate(-45deg) translateY(-2px); }
.problem { background: var(--sand); padding: 56px 0; border-top: 1px solid var(--rule); }
.problem-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px 48px; align-items: start; }
.problem h2 { font-size: clamp(2.4rem, 3.8vw, 3.4rem); margin: 0; }
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.problem-list li { position: relative; padding-left: 30px; font-size: 1.08rem; }
.problem-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 16px; height: 16px; border: 2px solid var(--brick); border-radius: 50%; }
.problem-list li::after { content: ""; position: absolute; left: 7px; top: calc(.5em + 4px); width: 6px; height: 10px; border-right: 2px solid var(--brick); transform: rotate(45deg); }
.problem-close { grid-column: 2; margin: 6px 0 0; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--brick); }

.home-value { padding: 72px 0; border-top: 1px solid var(--rule); }
.hv-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.home-value h2 { font-size: clamp(2.8rem, 4.4vw, 3.8rem); }
.hv-lede { font-size: 1.2rem; max-width: 30ch; }
.hv-sketch { position: static; width: 220px; margin-top: 20px; }
.hv-card { background: #fff; padding: 28px 30px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.hv-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.hv-form legend { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.hv-form label { font-weight: 700; font-size: .95rem; margin-top: 8px; }
.hv-form input[type=text], .hv-form input[type=tel], .hv-form input[type=email], .hv-form select {
	width: 100%; min-height: 50px; padding: 10px 12px; font: 500 1.05rem var(--body); color: var(--ink);
	background: var(--paper); border: 1.5px solid #b9b4a8; border-radius: 2px;
}
.hv-form input:focus, .hv-form select:focus { outline: 3px solid rgba(1,37,73,.25); border-color: var(--navy); }
.hv-form .btn { margin-top: 16px; }
.hv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hv-row > div { display: grid; gap: 6px; }
.hv-nav { display: flex; gap: 12px; }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.hv-progress { margin: 0 0 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hv-bar { height: 4px; background: var(--sand); margin-bottom: 18px; }
.hv-bar span { display: block; height: 100%; width: 33%; background: var(--brick); transition: width .3s ease; }
.hv-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .82rem !important; line-height: 1.45; color: var(--muted); }
.hv-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.hv-opt { font-weight: 500; color: var(--muted); }
.hv-hp { position: absolute; left: -9999px; }
.hv-thanks-title { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--green); margin: 0 0 6px; }
@media (max-width: 900px) {
	.problem-grid, .hv-grid { grid-template-columns: 1fr; }
	.problem-list { grid-template-columns: 1fr; }
	.problem-close { grid-column: 1; }
	.hv-sketch { display: none; }
	.home-value { padding: 52px 0; }
	.hv-card { padding: 22px 18px; }
}
.hv-step[hidden] { display: none !important; }
.steps-grid { grid-template-columns: 300px 1fr; }
.steps h2 { font-size: clamp(2.8rem, 4.2vw, 3.8rem); }
.steps-list h3 { white-space: nowrap; }
@media (max-width: 1180px) { .steps-grid { grid-template-columns: 1fr; } .steps-list h3 { white-space: normal; } }

/* ---- Boom review fixes ---- */
.steps-list h3 { white-space: normal; }
.steps-list li { grid-template-columns: 1fr; gap: 4px; padding: 0 28px; }
.steps-list { min-width: 0; }
.steps-grid { grid-template-columns: minmax(240px, 300px) 1fr; gap: 40px; }
.step-num { font-size: 4.6rem; }
.trust-row li { white-space: nowrap; }
.problem-grid { align-items: center; }
.hv-grid { align-items: start; }
.home-value .section-head h2 { margin-top: 0; }
.hv-form input[type=text], .hv-form input[type=tel], .hv-form input[type=email], .hv-form select { border-color: #a39d8f; background: #fff; }
@media (max-width: 1180px) { .steps-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .steps-list li { padding: 18px 0 0; } }

/* ===== Service + town pages (block content) ===== */
.page-main:has(.svc) { padding: 0; }
.entry-content > .svc { width: 100%; max-width: none; margin: 0; }
.svc { position: relative; padding: 64px max(16px, calc((100% - var(--wrap)) / 2)); }
.svc .wp-block-columns { margin: 0; gap: 40px; }
.svc h2 { margin-top: 0; }
.svc h2::after { content: ""; display: block; width: min(220px, 70%); height: 12px; margin-top: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 60 4, 120 14, 180 8 S 270 6, 297 9' fill='none' stroke='%23882b18' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left / 100% 100%; }
.tj-band h2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 60 4, 120 14, 180 8 S 270 6, 297 9' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.svc .hv-card-title::after, .svc-problem h2::after, .svc-faq h2::after { display: none; }
.breadcrumb { font-size: .92rem; font-weight: 600; margin-bottom: 18px; }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { color: var(--brick); text-decoration: underline; }

/* hero */
.svc-hero { padding-top: 28px; padding-bottom: 72px; overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; right: -6%; bottom: -10px; width: 74%; aspect-ratio: 2 / 1; background: url("../images/hero-landscape.webp") no-repeat right bottom / contain; opacity: .85; pointer-events: none; }
.svc-hero-cols { align-items: center !important; position: relative; }
.svc-hero-cols > .wp-block-column:first-child { flex: 0 0 44% !important; }
.svc-hero h1 { font-size: clamp(3.4rem, 6vw, 5.6rem); color: var(--navy); max-width: 11ch; }
.svc-hero .lede { font-size: 1.35rem; max-width: 28ch; }
.svc-hero .tj-text-btns { margin: 20px 0 12px; }
.btn-value .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; min-width: 330px; padding: 12px 26px; background: transparent; color: var(--green); border: 2px solid var(--green); border-radius: 2px; font: 700 1.12rem var(--body); }
.btn-value .wp-block-button__link:hover { background: var(--green); color: #fff; }
.svc-hero-photo { margin: 0; }
.svc-hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* problem */
.svc-problem { background: var(--sand); text-align: center; padding-top: 52px; padding-bottom: 48px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.svc-problem h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.pain-list { list-style: none; padding: 0; margin: 26px 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); text-align: left; }
.pain-list li { position: relative; padding: 0 22px 0 52px; font-size: 1.08rem; }
.pain-list li + li { border-left: 1px solid var(--rule); }
.pain-list li::before { content: "!"; position: absolute; left: 14px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brick); color: #fff; font: 700 1rem/28px var(--body); text-align: center; }
.problem-close { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--brick); margin: 0; }

/* why */
.svc-why-cols { align-items: center !important; }
.svc-why-cols > .wp-block-column:first-child { flex: 0 0 24% !important; }
.svc-why-cols > .wp-block-column:last-child { flex: 0 0 26% !important; }
.svc-why h2 { font-size: clamp(2.6rem, 4vw, 3.4rem); }
.tj-agent-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.agent-card { padding: 10px 10px 14px; }
.agent-card img { aspect-ratio: 1 / 1; }
.agent-card figcaption { text-align: center; margin-top: 10px; }
.agent-card-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--green); line-height: 1; }
.agent-card-title { display: block; font-size: .85rem; font-weight: 600; margin-top: 4px; }
.review-card { padding: 26px 26px 22px; position: relative; }
.review-card::after { content: ""; position: absolute; right: -10px; bottom: -6px; width: 120px; aspect-ratio: 1; background: url("../images/icon-sketch-grass.webp") no-repeat center / contain; opacity: .8; }
.review-quote { font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--navy); margin-bottom: 14px; }
.review-quote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.6rem; line-height: .7; color: var(--navy); }
.review-cite { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--green); margin: 0; }

/* process band */
.svc-process { background: var(--brick); color: #fff; padding-top: 56px; padding-bottom: 56px; }
.svc-process h2, .svc-process h3 { color: #fff; }
.svc-steps-cols { align-items: flex-start !important; }
.svc-steps-cols > .wp-block-column:first-child { flex: 0 0 22% !important; }
.svc-steps-cols > .wp-block-column + .wp-block-column { border-left: 1px solid rgba(255,255,255,.35); padding-left: 28px; }
.svc-process h2 { font-size: clamp(2.6rem, 4vw, 3.6rem); }
.step-num { font-family: var(--display); font-weight: 700; font-size: 4.6rem; line-height: .8; margin: 0 0 8px; }
.svc-process h3 { font-family: var(--display); font-size: 2rem; margin: 0 0 6px; }
.svc-process p:not(.step-num) { font-size: 1.12rem; margin: 0; }

/* local */
.svc-local-cols { align-items: flex-start !important; }
.svc-local .wp-block-column:first-child { position: relative; padding-bottom: 150px; }
.svc-local .wp-block-column:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 360px; max-width: 100%; aspect-ratio: 532 / 207; background: url("../images/icon-sketch-train.webp") no-repeat left bottom / contain; }
.svc-local h2 { font-size: clamp(2.6rem, 4vw, 3.4rem); }
.svc-local p { font-size: 1.12rem; max-width: 40ch; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1.5px solid var(--green); color: var(--green); padding: 6px 14px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.hv-card { background: #fff; padding: 30px; box-shadow: var(--shadow); position: relative; scroll-margin-top: 110px; }
.svc .hv-card { border-top: 0; }
.svc .hv-card::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-2deg); background: var(--tape); }
.hv-card-title { text-align: center; color: var(--green); font-size: clamp(2.2rem, 3vw, 2.8rem); }

/* faq */
.svc-faq { padding-top: 40px; padding-bottom: 48px; }
.svc-faq h2 { font-size: clamp(2.4rem, 3.6vw, 3rem); }
.svc-faq .wp-block-details { border: 1px solid var(--rule); border-top: 0; background: #fff; padding: 0; margin: 0; }
.svc-faq h2 + .wp-block-details { border-top: 1px solid var(--rule); }
.svc-faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 20px; font-weight: 600; font-size: 1.05rem; position: relative; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; border: 7px solid transparent; border-top-color: var(--navy); transform: translateY(-25%); }
.svc-faq details[open] summary::after { transform: translateY(-75%) rotate(180deg); }
.svc-faq details p { padding: 0 20px 16px; margin: 0; }

/* cta band */
.svc-cta { background: var(--brick); color: #fff; padding-top: 40px; padding-bottom: 40px; overflow: hidden; }
.svc-cta::after { content: ""; position: absolute; right: 2%; bottom: 0; width: 150px; aspect-ratio: 390 / 399; background: url("../images/icon-sketch-chair.webp") no-repeat center / contain; filter: brightness(0) invert(1); }
.svc-cta-cols { align-items: center !important; padding-right: 160px; }
.svc-cta h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 0; }
.svc-cta h2::after { width: 300px; }
.svc-cta .tj-text-btns { flex-wrap: nowrap; justify-content: flex-end; }

@media (max-width: 900px) {
	.svc { padding-top: 44px; padding-bottom: 44px; }
	.svc-hero::before { width: 140%; right: -40%; opacity: .35; }
	.svc .wp-block-columns { flex-wrap: wrap !important; gap: 28px; }
	.svc .wp-block-column { flex-basis: 100% !important; }
	.svc-hero h1 { max-width: none; }
	.btn-value .wp-block-button__link { min-width: 0; width: 100%; }
	.pain-list { grid-template-columns: 1fr 1fr; row-gap: 22px; }
	.pain-list li:nth-child(3) { border-left: 0; }
	.svc-steps-cols > .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 18px; }
	.svc-cta-cols { padding-right: 0; }
	.svc-cta::after { display: none; }
	.svc-cta .tj-text-btns { flex-wrap: wrap; justify-content: flex-start; }
	.svc-local .wp-block-column:first-child { padding-bottom: 110px; }
	.svc-local .wp-block-column:first-child::after { width: 260px; }
}
@media (max-width: 560px) {
	.pain-list { grid-template-columns: 1fr; }
	.pain-list li + li { border-left: 0; }
	.tj-agent-cards { gap: 14px; }
	.agent-card-name { font-size: 1.5rem; }
	.svc-cta .tj-text-btns { flex-direction: column; width: 100%; }
}
.svc .hv-card-title { color: var(--green); }
.svc h2.h-navy { color: var(--navy); }
.svc h2.h-green { color: var(--green); }

/* ---- Page template fix pass 1 ---- */
.svc h1, .svc h2, .svc h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.svc-hero-cols > .wp-block-column:first-child { flex: 0 0 47% !important; }
.svc-hero h1 { max-width: 13ch; }
.svc-problem { padding-top: 68px; padding-bottom: 64px; }
.svc-problem h2 { font-size: clamp(2.8rem, 4.6vw, 4.2rem); }
.problem-close { font-size: clamp(2.8rem, 4.6vw, 4.2rem); }
.pain-list li { font-size: 1.2rem; }
.svc-why-cols > .wp-block-column:first-child { flex: 0 0 28% !important; }
.svc-process { padding-top: 76px; padding-bottom: 76px; }
.svc-steps-cols > .wp-block-column + .wp-block-column { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end; }
.svc-steps-cols > .wp-block-column + .wp-block-column > p:not(.step-num) { grid-column: 1 / -1; margin-top: 12px; }
.svc-steps-cols .step-num { margin: 0; }
.svc-steps-cols h3 { margin: 0 0 4px; }
.svc-process p:not(.step-num) { font-size: 1.32rem; line-height: 1.4; }
.svc-faq h2::after { display: block; }
.svc-faq summary { font-size: 1.25rem; padding: 18px 52px 18px 22px; }
.svc-faq details p { font-size: 1.1rem; }
.svc-cta { padding-top: 56px; padding-bottom: 56px; }
.svc-cta-cols > .wp-block-column:first-child { flex: 0 0 58% !important; }
.svc-cta .btn { min-height: 78px; font-size: 1.35rem; padding: 14px 34px; }
@media (min-width: 1200px) { .svc-cta h2 { white-space: nowrap; font-size: clamp(2.6rem, 3.4vw, 3.4rem); } }
@media (max-width: 900px) {
	.svc .wp-block-columns > .wp-block-column.wp-block-column { flex: 0 0 100% !important; max-width: 100%; }
	.svc-hero h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
	.svc-steps-cols > .wp-block-column + .wp-block-column { padding-top: 18px; }
	.svc-cta .btn { min-height: 64px; font-size: 1.15rem; }
	.svc-cta h2 { white-space: normal; }
	.svc-problem h2, .problem-close { font-size: clamp(2.4rem, 9vw, 3.2rem); }
}

/* ===== Bulk pages: town guides, hubs, guides, legal ===== */
.svc-hero-solo h1 { max-width: 16ch; }
.svc-hero-solo .lede { max-width: 40ch; }
.svc-hero-solo { padding-bottom: 96px; }
.svc-life { border-top: 1px solid var(--rule); }
.svc-life h3, .svc-paths h3, .svc-prose h3 { font-family: var(--display); font-size: 2rem; color: var(--green); margin: 24px 0 6px; }
.svc-listings { background: var(--sand); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.svc-listings p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.related-links { font-size: .98rem; color: var(--muted); }
.related-links a { color: var(--navy); font-weight: 600; }
.svc-paths-cols { align-items: start !important; }
.svc-paths-cols > .wp-block-column:last-child { flex: 0 0 40% !important; }
.svc-paths-cols h3 { margin-top: 0; }
.svc-paths-cols a { font-weight: 700; color: var(--brick); }
.svc .town-list { margin: 24px 0 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.svc .town-list li { padding: 0; }
.svc .town-list a { font-size: 1.7rem; }
.svc-prose { max-width: none; }
.svc-prose > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.svc-prose h2 { color: var(--navy); }
.svc-prose ul, .svc-prose ol { padding-left: 1.2em; }
.svc-prose li + li { margin-top: 6px; }
.svc-prose.svc-alt { background: var(--sand); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.listing-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: none !important; }
.listing-cards a { display: block; text-decoration: none; color: var(--ink); }
.listing-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; box-shadow: 0 6px 18px rgba(28,36,48,.12); }
.listing-cards span { display: block; margin-top: 10px; font-weight: 700; color: var(--navy); }
.listing-empty { text-align: center; color: var(--muted); }
@media (max-width: 1023px) {
  .svc-paths-cols > .wp-block-column:last-child { flex: 0 0 100% !important; }
  .listing-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
  .svc .town-list { grid-template-columns: 1fr 1fr; }
  .svc .town-list li { border-left: 0; border-bottom: 1px solid var(--rule) !important; }
  .svc .town-list li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .svc .town-list a { font-size: 1.4rem; }
  .listing-cards { grid-template-columns: 1fr; }
}

/* Bulk pages: review fixes */
.tj-agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 900px; margin: 24px auto 0; }
.tj-agent { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
.tj-agent figure { margin: 0; }
.tj-agent img { width: 180px; height: 180px; object-fit: cover; border: 10px solid #fff; box-shadow: 0 6px 18px rgba(28,36,48,.12); }
.tj-agent h3 { font-family: var(--display); font-size: 2.2rem; color: var(--navy); margin: 0; }
.tj-agent-title { color: var(--muted); margin: 2px 0 10px; font-size: .98rem; }
.tj-agent-contact { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.tj-agent-contact a { color: var(--brick); font-weight: 600; }
.svc-meet h2 { text-align: center; }
.svc-meet h2::after, .svc-listings h2::after, .svc-hub h2::after { margin-left: auto; margin-right: auto; }
.svc-hub { text-align: center; }
.svc-paths-cols .wp-block-column:first-child::after { display: none; }
.svc-paths .wp-block-column:first-child, .svc-local .svc-paths-cols .wp-block-column:first-child { padding-bottom: 0; }
@media (max-width: 759px) {
  .tj-agents { grid-template-columns: 1fr; gap: 28px; }
  .tj-agent { grid-template-columns: 120px 1fr; gap: 16px; }
  .tj-agent img { width: 120px; height: 120px; border-width: 6px; }
  .tj-agent h3 { font-size: 1.8rem; }
  .svc-hero::before { opacity: .25; }
}
@media (max-width: 479px) {
  .svc .town-list { grid-template-columns: 1fr; }
  .svc .town-list li:nth-child(odd) { border-right: 0; }
}
.tj-agent-contact { overflow-wrap: normal; word-break: normal; }
.svc-listings-hub { text-align: center; }
.svc-listings-hub h2::after { margin-left: auto; margin-right: auto; }
.tj-band :focus-visible, .svc-process :focus-visible, .svc-cta :focus-visible { outline-color: #fff; }

/* Key To Dreams Team logo + Meet Our Team page */
.brand-logo { width: 200px; height: auto; display: block; }
.brand-text { max-width: 170px; line-height: 1.25; }
.footer-logo { width: 240px; height: auto; display: block; }
.meet-team-link { margin: 14px 0 0; }
.tj-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tj-team .tj-agent figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
@media (max-width: 1180px) { .brand-logo { width: 170px; } }
@media (max-width: 900px) { .brand-logo { width: 150px; } .tj-team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .brand-logo { width: 132px; } .footer-logo { width: 200px; } }
.tj-team .tj-agent img { height: auto; }
.footer-logo { margin-bottom: 14px; }
.tj-agent a, .tj-agent p { overflow-wrap: anywhere; }
@media (min-width: 1181px) { .brand-logo { width: 225px; } }

.footer-tagline { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; color: var(--navy); margin: 0 0 14px; }
.footer-tagline span { display: block; font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); margin-top: 4px; }

/* Real deal cards (text only, no MLS photos) */
.closing-card { padding: 20px 20px 22px; background: #fffdf7; display: flex; flex-direction: column; gap: 2px; }
.listing-cards .closing-stamp { align-self: flex-start; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; padding: 4px 10px; border: 2px solid currentColor; border-radius: 4px; rotate: -3deg; margin-bottom: 10px; }
.listing-cards .closing-stamp small { font-weight: 600; letter-spacing: .02em; text-transform: none; }
.listing-cards .closing-sold { color: var(--brick, #a33a2a); }
.listing-cards .closing-pending { color: var(--green, #2f6b3a); }
.listing-cards .closing-price { font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: var(--ink, #1c2430); line-height: 1.05; }
.closing-card .listing-title { margin: 6px 0 0; }
.closing-card .listing-town { margin: 2px 0 0; overflow-wrap: anywhere; }
.listing-cards .closing-facts { font-size: .95rem; color: var(--muted, #5a6472); margin-top: 6px; }
.listing-cards .closing-note { margin-top: 8px; font-weight: 700; color: var(--green, #2f6b3a); font-size: .95rem; }
.listing-cards .closing-card span { margin-top: 0; }
.closing-source { text-align: center; color: var(--muted, #5a6472); font-size: .95rem; margin-top: 22px; }
.footer-social a { white-space: nowrap; }
.listing-cards .closing-card { align-self: stretch; height: 100%; box-sizing: border-box; }
.listing-cards .closing-facts { font-size: .9rem; }
@media (max-width: 480px) { .listing-cards .closing-card { rotate: 0deg; } }
.listing-cards .closing-card img { width: calc(100% + 20px); margin: -10px -10px 12px; aspect-ratio: 4 / 3; object-fit: cover; border: 0; box-shadow: none; }
.listing-cards .closing-card { padding-top: 10px; }
.listing-cards .closing-card .closing-stamp { position: relative; }
.listing-cards .closing-by { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brick, #a33a2a); margin-top: 6px; }
.tj-idx { max-width: none !important; border: 10px solid #fff; box-shadow: 0 6px 18px rgba(28,36,48,.12); background: #fff; }
.tj-idx iframe { display: block; width: 100%; height: 900px; border: 0; }
.tj-idx-open { text-align: center; margin-top: 14px; }
@media (max-width: 700px) { .tj-idx iframe { height: 760px; } }

/* Homepage team: all 4, each links to their MLS search */
.meet-team .meet-head { margin-bottom: 30px; }
.meet-team .meet-head .meet-team-link { margin-top: 8px; }
.team-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { display: flex; flex-direction: column; align-items: flex-start; }
.team-card .team-photo { display: block; width: 100%; margin-bottom: 14px; }
.team-card figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; height: auto; }
.team-card .team-photo:hover figure { translate: 0 -4px; transition: translate .2s; }
.team-card h3 { color: var(--green); margin: 4px 0 2px; font-size: 1.5rem; }
.team-card .agent-title { margin: 0 0 6px; font-weight: 600; }
.team-card .team-contact { margin: 0 0 8px; }
.team-card .team-listings { margin-top: auto; }
@media (max-width: 1000px) { .team-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-cards { gap: 22px 16px; } .team-card h3 { font-size: 1.2rem; } .team-card figure { rotate: 0deg; } }

.team-card .agent-title { color: var(--navy); }

/* Team cards: always one row of 4 (2x2 only on small phones) */
.meet-team .team-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 980px; }
.meet-team .team-card .team-photo { margin-bottom: 10px; }
.meet-team .team-card figure { padding: 6px; }
.meet-team .team-card h3 { font-size: 1.15rem; }
.meet-team .team-card .agent-title, .meet-team .team-card .team-contact, .meet-team .team-card .team-listings { font-size: .9rem; }
@media (max-width: 1000px) { .meet-team .team-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .meet-team .team-card h3 { font-size: 1rem; } .meet-team .team-card .agent-title, .meet-team .team-card .team-contact, .meet-team .team-card .team-listings { font-size: .8rem; } }
@media (max-width: 560px) { .meet-team .team-cards { grid-template-columns: 1fr 1fr; gap: 20px 14px; } }

/* Team bio pages */
.tj-bio { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; max-width: 820px !important; margin-top: 24px; }
.tj-bio figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; height: auto; }
.tj-bio .tj-agent-title { font-weight: 700; color: var(--navy); font-size: 1.2rem; margin: 0 0 4px; }
.tj-bio-office { margin: 0 0 14px; color: var(--muted, #5a6472); }
.tj-bio-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0; }
.tj-bio-contact a { overflow-wrap: anywhere; }
@media (max-width: 600px) { .tj-bio { grid-template-columns: 1fr; } .tj-bio figure { max-width: 220px; } }
