/**
 * TruFind main stylesheet. Mobile first; breakpoints 600 / 768 / 1024 / 1280.
 * Colours, type and radii come from tokens.css.
 */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
	margin: 0;
	font-family: var(--tf-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--tf-text);
	background: var(--tf-surface);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--tf-font-heading); font-weight: 700; color: var(--tf-navy-800); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--tf-navy-600); text-underline-offset: 3px; }
a:hover { color: var(--tf-navy-800); }
ul, ol { padding: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--tf-navy-600); outline-offset: 2px; border-radius: 4px; }
.tf-nav :focus-visible, .tf-hero :focus-visible, .tf-skyline :focus-visible { outline-color: var(--tf-gold-500); }
.tf-main:focus { outline: none; }

.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.tf-skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--tf-gold-500); color: var(--tf-navy-800); font-weight: 600;
	padding: 10px 16px; border-radius: var(--tf-radius-control); text-decoration: none;
}
.tf-skip-link:focus { top: 12px; }

.tf-container { width: 100%; max-width: calc(var(--tf-container) + 2 * var(--tf-gutter)); margin-inline: auto; padding-inline: var(--tf-gutter); }
.tf-muted { color: var(--tf-text-muted); }

.tf-icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.tf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 2px solid transparent; border-radius: var(--tf-radius-control);
	font-family: var(--tf-font-heading); font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tf-btn__icon { width: 18px; height: 18px; }
.tf-btn__chevron { width: 14px; height: 14px; margin-left: 2px; }
.tf-btn--primary { background: var(--tf-navy-800); color: #fff; }
.tf-btn--primary:hover { background: var(--tf-navy-600); color: #fff; }
.tf-btn--cta { background: var(--tf-gold-500); color: var(--tf-navy-800); box-shadow: 0 2px 0 var(--tf-gold-600); }
.tf-btn--cta:hover { background: var(--tf-gold-600); color: var(--tf-navy-800); }
.tf-btn--outline { border-color: var(--tf-gold-500); color: #fff; background: transparent; }
.tf-btn--outline:hover { background: var(--tf-gold-500); color: var(--tf-navy-800); }
.tf-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Section scaffolding ---------- */
.tf-section { padding-block: var(--tf-section-y); }
.tf-section--tint { background: var(--tf-bg); }
.tf-section-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 28px; }
.tf-section-title::after {
	content: ""; display: block; width: 56px; height: 4px; margin-top: 10px;
	background: var(--tf-gold-500); border-radius: 2px;
}
.tf-section-title--center { text-align: center; }
.tf-section-title--center::after { margin-inline: auto; }
.tf-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.tf-section-head .tf-section-title { margin-bottom: 0; }
/* Small gold label above a section title ("Why TruFind") */
.tf-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--tf-font-heading); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-gold-text); }
.tf-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--tf-gold-500); }
/* Reveal on scroll (site.js adds .tf-reveal-on, then .is-in per element; off for reduced motion).
   An animation, not a transition, so hover transitions on the same element keep their own timing. */
.tf-reveal-on [data-tf-reveal]:not(.is-in) { opacity: 0; }
.tf-reveal-on [data-tf-reveal].is-in { animation: tf-reveal .8s cubic-bezier(.2, .7, .2, 1) var(--tf-reveal-delay, 0ms) backwards; }
@keyframes tf-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media print { .tf-reveal-on [data-tf-reveal]:not(.is-in) { opacity: 1; } }
.tf-link-more { display: inline-flex; align-items: center; gap: 4px; font-family: var(--tf-font-heading); font-weight: 600; font-size: 15px; text-decoration: none; }
.tf-link-more .tf-icon { width: 14px; height: 14px; }

/* ---------- Header: top bar ---------- */
.tf-header {
	position: sticky; z-index: 100;
	top: var(--tf-admin-bar); /* mobile: the whole compact bar stays */
	background: var(--tf-surface);
}
body.admin-bar { --tf-admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --tf-admin-bar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --tf-admin-bar: 0px; } }

.tf-topbar { border-bottom: 1px solid var(--tf-border); }
.tf-topbar__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.tf-logo { display: inline-flex; flex: none; color: inherit; }
.tf-logo svg { display: block; width: 168px; height: auto; }
.tf-logo img { max-height: 52px; width: auto; }
.tf-topbar__tagline, .tf-topbar__actions { display: none; }
.tf-topbar__call, .tf-nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: var(--tf-radius-control);
	color: var(--tf-navy-800); background: var(--tf-bg); border: 1px solid var(--tf-border); cursor: pointer;
}
.tf-topbar__call { margin-left: auto; }
.tf-topbar__call .tf-icon, .tf-nav-toggle .tf-icon { width: 22px; height: 22px; }
.no-js .tf-nav-toggle { display: none; }

/* ---------- Header: navigation (mobile drawer first) ---------- */
.tf-nav { background: var(--tf-navy-800); color: #fff; }
.tf-menu, .tf-menu .sub-menu { list-style: none; margin: 0; }
.tf-menu a { color: #fff; text-decoration: none; }
.tf-nav__head, .tf-nav__extra { display: none; }

/* No JS: the menu is a simple stacked list under the top bar. */
.no-js .tf-menu > li > a, .no-js .tf-menu .sub-menu a { display: block; padding: 10px 0; }
.no-js .tf-menu .sub-menu { padding-left: 16px; }
.no-js .tf-submenu-toggle { display: none; }

@media (max-width: 1023.98px) {
	.js .tf-nav {
		position: fixed; inset: 0 0 0 auto; z-index: 200;
		width: min(88vw, 380px); height: 100dvh; overflow-y: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
		box-shadow: var(--tf-shadow-raised);
	}
	.js .tf-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.js .tf-nav__inner { padding: 0 20px 32px; }
	.js .tf-nav__head {
		display: flex; align-items: center; justify-content: space-between;
		min-height: 64px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 8px;
	}
	.tf-nav__title { font-family: var(--tf-font-heading); font-weight: 600; font-size: 18px; }
	.tf-nav-close {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--tf-radius-control); cursor: pointer;
	}
	.tf-nav-close .tf-icon { width: 22px; height: 22px; }
	.js .tf-menu > li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.js .tf-menu > li > a { display: block; padding: 14px 52px 14px 4px; font-weight: 500; font-size: 17px; }
	.js .tf-menu .current-menu-item > a, .js .tf-menu .current-menu-ancestor > a, .js .tf-menu > .current-page-ancestor > a { color: var(--tf-gold-500); }
	.js .tf-submenu-toggle {
		position: absolute; right: 0; top: 4px; width: 44px; height: 44px;
		display: inline-flex; align-items: center; justify-content: center;
		background: transparent; color: #fff; border: 0; border-radius: var(--tf-radius-control); cursor: pointer;
	}
	.js .tf-submenu-toggle .tf-icon { width: 20px; height: 20px; transition: transform .2s ease; }
	.js .tf-submenu-toggle[aria-expanded="true"] .tf-icon { transform: rotate(180deg); }
	.js .tf-menu .sub-menu { display: none; padding: 0 0 10px 12px; }
	.js .tf-menu li.is-open > .sub-menu { display: block; }
	.js .tf-menu .sub-menu a { display: block; padding: 10px 4px; color: rgba(255, 255, 255, .88); }
	.js .tf-nav__extra { display: grid; gap: 14px; margin-top: 24px; }
	.tf-nav__contact { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
	.tf-nav__contact .tf-icon { width: 18px; height: 18px; color: var(--tf-gold-500); }
	.tf-nav-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(7, 31, 69, .55); }
	.tf-nav-overlay[hidden] { display: none; }
	html.tf-nav-open { overflow: hidden; }
}

/* ---------- Header: desktop ---------- */
@media (min-width: 1024px) {
	.tf-header { --tf-topbar-h: 84px; top: calc(var(--tf-admin-bar) - var(--tf-topbar-h)); } /* top bar scrolls away, navy bar stays */
	.tf-topbar { border-bottom: 0; }
	.tf-topbar__inner { height: var(--tf-topbar-h); gap: 32px; }
	.tf-logo svg { width: 220px; }
	.tf-topbar__tagline {
		display: block; margin: 0; flex: 1; padding-left: 8px;
		font-family: var(--tf-font-heading); font-weight: 600; font-size: 17px; color: var(--tf-text);
	}
	.tf-topbar__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
	.tf-topbar__contact { display: flex; gap: 20px; list-style: none; margin: 0; font-size: 13px; font-weight: 500; }
	.tf-topbar__contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--tf-text); text-decoration: none; }
	.tf-topbar__contact a:hover { color: var(--tf-navy-600); text-decoration: underline; }
	.tf-topbar__contact .tf-icon { width: 15px; height: 15px; color: var(--tf-navy-800); }
	.tf-topbar__actions .tf-btn { min-height: 40px; padding: 8px 18px; font-size: 14px; }
	.tf-topbar__call, .tf-nav-toggle { display: none; }

	.tf-nav__inner { display: flex; align-items: stretch; }
	.tf-menu { display: flex; align-items: stretch; gap: 2px; }
	.tf-menu > li { position: relative; display: flex; align-items: center; }
	.tf-menu > li > a {
		display: flex; align-items: center; min-height: 50px; padding: 0 16px;
		font-weight: 500; font-size: 15px;
	}
	.tf-menu > li:hover > a, .tf-menu > li > a:focus-visible { background: var(--tf-navy-600); }
	.tf-menu > .current-menu-item > a, .tf-menu > .current-menu-ancestor > a, .tf-menu > .current_page_parent > a, .tf-menu > .current-page-ancestor > a {
		background: var(--tf-navy-600); box-shadow: inset 0 -3px 0 var(--tf-gold-500);
	}
	.tf-menu > li.menu-item-has-children > a { padding-right: 4px; }
	.tf-submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
		width: 28px; padding: 0 8px 0 0; background: transparent; color: #fff; border: 0; cursor: pointer;
	}
	.tf-menu > li:hover > .tf-submenu-toggle { background: var(--tf-navy-600); }
	.tf-submenu-toggle .tf-icon { width: 16px; height: 16px; }
	.tf-menu .sub-menu {
		position: absolute; top: 100%; left: 0; z-index: 20; min-width: 250px; padding: 8px;
		background: var(--tf-surface); border-radius: 0 0 var(--tf-radius-card) var(--tf-radius-card);
		box-shadow: var(--tf-shadow-raised); display: none;
	}
	.tf-menu li:hover > .sub-menu, .tf-menu li.is-open > .sub-menu { display: block; }
	.no-js .tf-menu li:focus-within > .sub-menu { display: block; } /* with JS the toggle button controls it (Esc closes) */
	.tf-menu .sub-menu a { display: block; padding: 10px 14px; color: var(--tf-navy-800); border-radius: 6px; font-size: 15px; }
	.tf-menu .sub-menu a:hover, .tf-menu .sub-menu .current-menu-item > a { background: var(--tf-bg); color: var(--tf-navy-600); }
	.tf-nav-overlay { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
	.tf-topbar__tagline { font-size: 15px; }
}

/* ---------- Home: hero ---------- */
.tf-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--tf-navy-900); }
.tf-hero__media, .tf-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tf-hero__media img { object-fit: cover; object-position: 72% 78%; }
.tf-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(7, 31, 69, .72) 0%, rgba(7, 31, 69, .62) 55%, rgba(7, 31, 69, .80) 100%);
}
.tf-hero__content { position: relative; padding-top: 44px; padding-bottom: 96px; }
.tf-hero__title { color: #fff; font-size: clamp(34px, 6vw, 58px); line-height: 1.08; max-width: 17ch; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(7, 31, 69, .45); }
.tf-hero__subtitle { font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-gold-500); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.3; margin-bottom: 12px; }
.tf-hero__text { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; color: rgba(255, 255, 255, .94); margin: 0; }

@media (min-width: 768px) {
	.tf-hero__media::after { background: linear-gradient(90deg, rgba(7, 31, 69, .90) 0%, rgba(7, 31, 69, .72) 38%, rgba(7, 31, 69, .18) 68%, rgba(7, 31, 69, .05) 100%); }
	.tf-hero__content { padding-top: 64px; padding-bottom: 168px; }
}

/* ---------- Home: CTA cards (overlap the hero) ---------- */
.tf-cta-cards { position: relative; z-index: 2; margin-top: -64px; }
.tf-cta-cards__grid { display: grid; gap: 16px; }
.tf-cta-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 28px 22px 26px; background: var(--tf-surface);
	border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-raised);
	--tf-icon-accent: var(--tf-gold-500);
}
.tf-cta-card__icon { width: 60px; height: 60px; color: var(--tf-navy-800); margin-bottom: 12px; }
.tf-cta-card .tf-icon--building { color: var(--tf-gold-600); }
.tf-cta-card__title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.tf-cta-card__text { color: var(--tf-text-muted); font-size: 15px; max-width: 30ch; margin-bottom: 20px; }
.tf-cta-card .tf-btn { margin-top: auto; width: 100%; max-width: 280px; } /* One size on all three cards (fits the longest label). */

@media (min-width: 768px) {
	.tf-cta-cards { margin-top: -128px; }
	.tf-cta-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
	.tf-cta-card { padding: 24px 16px 22px; }
	.tf-cta-card__title { font-size: 19px; }
	.tf-cta-card .tf-btn { min-width: 0; width: 100%; min-height: 58px; padding: 10px 12px; font-size: 14px; } /* The longest label takes two lines here: all three match it. */
}
@media (min-width: 1024px) {
	.tf-cta-cards__grid { gap: 28px; padding-inline: 12px; }
}

/* ---------- Home: trust strip ---------- */
.tf-trust { padding-block: 28px 8px; }
.tf-trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.tf-trust__item { display: flex; align-items: center; gap: 12px; }
.tf-trust__item p { margin: 0; line-height: 1.35; }
.tf-trust__item strong { display: block; font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); font-size: 15px; }
.tf-trust__item span { display: block; color: var(--tf-text-muted); font-size: 13px; }
.tf-trust__icon { width: 34px; height: 34px; color: var(--tf-gold-500); --tf-icon-accent: var(--tf-gold-500); }
.tf-trust .tf-icon--sofa { color: var(--tf-navy-800); }

@media (min-width: 1024px) {
	.tf-trust { padding-block: 36px 12px; }
	.tf-trust__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
	.tf-trust__item { padding-inline: 22px; border-left: 1px solid var(--tf-border); }
	.tf-trust__item:first-child { border-left: 0; padding-left: 12px; }
	.tf-trust__item strong { font-size: 16px; }
}

/* ---------- Home: "How we can help" (split heading + numbered feature tiles) ---------- */
.tf-help { position: relative; overflow: hidden; }
.tf-help::before, .tf-help::after { content: ""; position: absolute; pointer-events: none; }
.tf-help::before { /* dot grid, top left */
	top: 0; left: 0; width: 460px; height: 380px;
	background: radial-gradient(circle, rgba(11, 42, 91, .14) 1.4px, transparent 1.6px) 0 0 / 22px 22px;
	-webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.tf-help::after { /* soft gold glow, bottom right */
	right: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 181, 0, .16), transparent 65%);
}
.tf-help .tf-container { position: relative; z-index: 1; }
.tf-help__head { display: grid; gap: 12px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.tf-help__head .tf-section-title { margin-bottom: 0; }
.tf-help__intro p { margin: 0 0 16px; color: var(--tf-text-muted); font-size: 17px; line-height: 1.6; max-width: 52ch; }
@media (min-width: 900px) { .tf-help__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tf-help__intro { padding-bottom: 4px; } }
.tf-help__grid { list-style: none; margin: 0; display: grid; gap: 18px; }
.tf-tile {
	position: relative; overflow: hidden; padding: 28px 26px 26px; background: var(--tf-surface);
	border: 1px solid var(--tf-border); border-radius: 16px; box-shadow: var(--tf-shadow-card);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tf-tile::before { /* gold bar that sweeps in on hover */
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
	background: linear-gradient(90deg, var(--tf-gold-500), var(--tf-gold-600)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.tf-tile:hover { transform: translateY(-4px); box-shadow: var(--tf-shadow-raised); border-color: transparent; }
.tf-tile:hover::before { transform: scaleX(1); }
.tf-tile__num { position: absolute; top: 18px; right: 22px; font-family: var(--tf-font-heading); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.02em; color: #E8EEF8; transition: color .3s ease; }
.tf-tile:hover .tf-tile__num { color: #FFF1C7; }
.tf-tile__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px;
	border-radius: 14px; background: linear-gradient(135deg, var(--tf-navy-800), var(--tf-navy-600)); color: #fff; --tf-icon-accent: var(--tf-gold-500);
	box-shadow: 0 8px 18px rgba(11, 42, 91, .22); transition: background .3s ease, color .3s ease;
}
.tf-tile:hover .tf-tile__icon { background: var(--tf-gold-500); color: var(--tf-navy-800); --tf-icon-accent: var(--tf-navy-800); }
.tf-tile__icon .tf-icon { width: 28px; height: 28px; }
.tf-tile__title { position: relative; font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.tf-tile__text { position: relative; color: var(--tf-text-muted); font-size: 15px; line-height: 1.6; margin: 0; }
@media (min-width: 600px) { .tf-help__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tf-help__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .tf-tile:hover { transform: none; } }

/* ---------- Home: How it works ---------- */
.tf-steps__list { list-style: none; margin: 0; display: grid; gap: 20px; counter-reset: none; }
.tf-step { display: flex; align-items: flex-start; gap: 16px; }
.tf-step__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--tf-border); color: var(--tf-navy-800); background: var(--tf-surface);
}
.tf-step__icon .tf-icon { width: 32px; height: 32px; }
.tf-step__title { font-size: 18px; font-weight: 600; margin: 6px 0 4px; }
.tf-step__num { color: var(--tf-gold-text); }
.tf-step__text { color: var(--tf-text-muted); margin: 0; font-size: 15px; }
.tf-steps__cta { text-align: center; margin: 36px 0 0; }
/* Home gold actions share one size: Start a Request matches Request Another City (coverage). */
.tf-steps__cta .tf-btn--cta, .tf-coverage .tf-btn-row .tf-btn--cta { min-width: 240px; }
.tf-step__icon { transition: background-color .3s ease, color .3s ease; }
@media (min-width: 900px) {
	.tf-steps__list { grid-template-columns: repeat(3, 1fr); gap: 48px; }
	.tf-step { position: relative; }
	.tf-step:not(:last-child)::after {
		content: ""; position: absolute; top: 26px; right: -38px; width: 28px; height: 12px;
		background: var(--tf-gold-500);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h24M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h24M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* How It Works animation (site.js adds .is-in to the list when it scrolls into view).
   1) Steps fade up one by one, slowly; each arrow draws in after its step; the button follows.
   2) Then each circle lights up in turn (3s each, 9s loop) and the arrows drift gently. */
.tf-reveal-on .tf-steps__list[data-tf-reveal]:not(.is-in) { opacity: 1; } /* The list stays; its steps animate. */
.tf-reveal-on .tf-steps__list[data-tf-reveal].is-in { animation: none; }
.tf-reveal-on .tf-steps__list:not(.is-in) .tf-step, .tf-reveal-on .tf-steps__list:not(.is-in) ~ .tf-steps__cta { opacity: 0; }
.tf-steps__list.is-in .tf-step { animation: tf-reveal 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--tf-step, 0) * 550ms) backwards; }
.tf-steps__list.is-in ~ .tf-steps__cta { animation: tf-reveal 1s cubic-bezier(.2, .7, .2, 1) 1.7s backwards; }
.tf-steps__list.is-in .tf-step__icon { animation: tf-step-glow 9s ease-in-out calc(2.4s + var(--tf-step, 0) * 3s) infinite; }
@keyframes tf-step-glow {
	0%, 30%, 100% { background: var(--tf-surface); color: var(--tf-navy-800); border-color: var(--tf-border); box-shadow: 0 0 0 0 rgba(247, 181, 0, 0); }
	7%, 23% { background: var(--tf-navy-800); color: #fff; border-color: var(--tf-gold-500); box-shadow: 0 0 0 7px rgba(247, 181, 0, .2), 0 10px 24px rgba(11, 42, 91, .22); }
}
@media (min-width: 900px) {
	.tf-steps__list.is-in .tf-step:not(:last-child)::after {
		transform-origin: left center;
		animation: tf-arrow-draw .7s ease-out calc(var(--tf-step, 0) * 550ms + .8s) backwards, tf-arrow-drift 3s ease-in-out calc(var(--tf-step, 0) * 550ms + 1.5s) infinite;
	}
	.tf-reveal-on .tf-steps__list:not(.is-in) .tf-step::after { scale: 0 1; }
}
@keyframes tf-arrow-draw { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes tf-arrow-drift { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }

/* ---------- Home: skyline band ---------- */
.tf-skyline { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--tf-navy-900); }
.tf-skyline__media, .tf-skyline__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tf-skyline__media img { object-fit: cover; object-position: center 60%; }
.tf-skyline__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 31, 69, .94) 0%, rgba(7, 31, 69, .78) 55%, rgba(7, 31, 69, .55) 100%); }
.tf-skyline__content { position: relative; padding-block: clamp(48px, 7vw, 76px); }
.tf-skyline__title { color: #fff; font-weight: 600; font-size: clamp(24px, 3vw, 32px); max-width: 22ch; margin-bottom: 22px; }
.tf-skyline__claims { list-style: none; margin: -6px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tf-skyline__claims li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tf-skyline__claims .tf-icon { color: var(--tf-gold-500); }

/* ---------- Home: resources / post cards ---------- */
.tf-post-grid { list-style: none; margin: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .tf-post-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tf-post-card { display: flex; flex-direction: column; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); overflow: hidden; box-shadow: var(--tf-shadow-card); }
.tf-post-card__media { display: block; aspect-ratio: 3 / 2; background: var(--tf-bg); }
.tf-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tf-post-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tf-border); }
.tf-post-card__placeholder .tf-icon { width: 56px; height: 56px; }
.tf-post-card__body { padding: 18px 20px 20px; }
.tf-post-card__cat { margin: 0 0 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--tf-gold-text); }
.tf-post-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.tf-post-card__title a { color: var(--tf-navy-800); text-decoration: none; }
.tf-post-card__title a:hover { text-decoration: underline; }
.tf-post-card__excerpt { color: var(--tf-text-muted); font-size: 15px; margin-bottom: 10px; }
.tf-post-card__date { color: var(--tf-text-muted); font-size: 13px; margin: 0; }

/* ---------- Home: contact (one panel: navy intro + contact cards and quick links) ---------- */
.tf-contact__panel {
	display: grid; overflow: hidden; border-radius: 20px; background: var(--tf-surface);
	border: 1px solid var(--tf-border); box-shadow: var(--tf-shadow-raised, var(--tf-shadow-card));
}
.tf-contact__intro {
	position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); color: #DCE5F4;
	background: radial-gradient(120% 90% at 0% 0%, #1E4A8C 0%, transparent 60%), linear-gradient(160deg, var(--tf-navy-800), var(--tf-navy-900));
}
.tf-eyebrow--light { color: var(--tf-gold-500); }
.tf-contact__title { position: relative; color: #fff; margin-bottom: 18px; }
.tf-contact__text { position: relative; margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.65; color: #DCE5F4; }
.tf-contact__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tf-contact__points { position: relative; list-style: none; margin: 32px 0 0; padding: 24px 0 0; display: grid; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tf-contact__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: #fff; }
.tf-contact__points .tf-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--tf-gold-500); }
.tf-contact__urgent {
	position: relative; display: flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 12px 16px;
	border: 1px solid rgba(247, 181, 0, .45); border-radius: 12px; background: rgba(247, 181, 0, .1); color: #fff; font-weight: 500;
}
.tf-contact__urgent .tf-icon { flex: none; width: 20px; height: 20px; color: var(--tf-gold-500); }
.tf-contact__urgent a { color: #fff; font-weight: 700; }
.tf-contact__mark { position: absolute; right: -36px; bottom: -48px; color: #fff; opacity: .06; pointer-events: none; }
.tf-contact__mark .tf-icon { width: 240px; height: 240px; }

.tf-contact__details { display: grid; gap: 24px; align-content: start; padding: clamp(24px, 3.5vw, 44px); }
.tf-contact__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tf-contact__card {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; height: 100%; padding: 16px 18px;
	border: 1px solid var(--tf-border); border-radius: 14px; background: var(--tf-surface); color: var(--tf-text); text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.tf-contact__card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--tf-shadow-card); }
a.tf-contact__card:focus-visible { outline: 3px solid var(--tf-navy-600); outline-offset: 2px; }
.tf-contact__icon {
	grid-row: 1 / span 4; align-self: start; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
	border-radius: 12px; background: linear-gradient(135deg, var(--tf-navy-800), var(--tf-navy-600)); color: #fff; --tf-icon-accent: var(--tf-gold-500);
	box-shadow: 0 6px 14px rgba(11, 42, 91, .2); transition: background .25s ease, color .25s ease;
}
a.tf-contact__card:hover .tf-contact__icon { background: var(--tf-gold-500); color: var(--tf-navy-800); }
.tf-contact__icon .tf-icon { width: 22px; height: 22px; }
.tf-contact__card > :not(.tf-contact__icon) { grid-column: 2; justify-self: start; }
.tf-contact__label { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--tf-text-muted); }
.tf-contact__value { margin-top: 4px; font-family: var(--tf-font-heading); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--tf-navy-800); overflow-wrap: anywhere; }
.tf-contact__value--text { font-family: inherit; font-size: 16px; font-weight: 500; color: var(--tf-text); text-wrap: balance; }
.tf-contact__note { margin-top: 6px; font-size: 14px; color: var(--tf-text-muted); }
.tf-contact__more { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--tf-navy-600); }

.tf-contact__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-contact__links a {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--tf-bg);
	color: var(--tf-navy-800); font-weight: 600; text-decoration: none; transition: background .2s ease;
}
.tf-contact__links a:hover { background: #E8EEF8; }
.tf-contact__links a > .tf-icon { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--tf-navy-600); transition: transform .2s ease; }
.tf-contact__links a:hover > .tf-icon { transform: translateX(3px); }
.tf-contact__link-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--tf-navy-800); --tf-icon-accent: var(--tf-gold-500); }
.tf-contact__link-icon .tf-icon { width: 20px; height: 20px; }
.tf-contact__link-label { display: block; font-size: 13px; font-weight: 400; color: var(--tf-text-muted); }

@media (max-width: 559px) {
	.tf-contact__details { padding: 20px 16px; }
	.tf-contact__card { padding: 14px; }
	.tf-contact__value { font-size: 16px; }
}
@media (min-width: 560px) {
	.tf-contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tf-contact__card { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
	.tf-contact__icon { margin-bottom: 14px; }
	.tf-contact__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .tf-contact__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (prefers-reduced-motion: reduce) { .tf-contact__card, .tf-contact__links a > .tf-icon { transition: none; } a.tf-contact__card:hover { transform: none; } }

/* ---------- Inner pages ---------- */
.tf-page-hero { background: linear-gradient(90deg, var(--tf-navy-900), var(--tf-navy-800)); color: #fff; padding-block: 28px 32px; }
.tf-page-hero__title { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0; }
.tf-page-hero__subtitle { margin: 8px 0 0; color: rgba(255, 255, 255, .85); }
.tf-breadcrumbs ol { list-style: none; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.tf-breadcrumbs li { color: rgba(255, 255, 255, .8); }
.tf-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--tf-gold-500); }
.tf-breadcrumbs a { color: #fff; }
.tf-page-body { padding-block: clamp(32px, 5vw, 56px); }
.tf-prose { max-width: 780px; }
.tf-prose h2 { font-size: 26px; margin-top: 1.6em; }
.tf-prose h3 { font-size: 20px; margin-top: 1.4em; }
.tf-prose ul, .tf-prose ol { padding-left: 1.4em; }
.tf-prose li { margin-bottom: .4em; }
.tf-prose img { border-radius: var(--tf-radius-card); }
.tf-prose__lead-image { margin: 0 0 24px; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--tf-border); border-radius: var(--tf-radius-control); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--tf-navy-800); border-color: var(--tf-navy-800); color: #fff; }

/* ---------- Footer ---------- */
.tf-footer { border-top: 1px solid var(--tf-border); background: var(--tf-surface); font-size: 14px; }
.tf-footer__grid { display: grid; gap: 28px; padding-block: 44px 32px; }
.tf-footer__blurb { color: var(--tf-text-muted); max-width: 34ch; margin: 14px 0 16px; }
.tf-footer .tf-logo svg { width: 200px; }
.tf-footer__heading { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.tf-footer__links { list-style: none; margin: 0; display: grid; gap: 8px; }
.tf-footer__links a, .tf-footer__links span { display: inline-flex; align-items: center; gap: 8px; color: var(--tf-text-muted); text-decoration: none; }
.tf-footer__links a:hover { color: var(--tf-navy-600); text-decoration: underline; }
.tf-footer__links .tf-icon { width: 16px; height: 16px; color: var(--tf-navy-800); }
.tf-social { list-style: none; margin: 0; display: flex; gap: 10px; }
.tf-social__link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: #fff; }
.tf-social__link .tf-icon { width: 20px; height: 20px; }
.tf-social__link--linkedin { background: #0A66C2; }
.tf-social__link--instagram { background: radial-gradient(circle at 30% 107%, #FDD86C 0%, #F76D3B 35%, #D6249F 60%, #285AEB 95%); }
.tf-social__link--facebook { background: #1877F2; }
.tf-social__link:hover { filter: brightness(1.1); color: #fff; }
.tf-footer__bottom { border-top: 1px solid var(--tf-border); }
.tf-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; font-size: 13px; color: var(--tf-text-muted); }
.tf-footer__copy { margin: 0; }
.tf-footer__ids { margin: 0; font-size: 13px; }
.tf-footer__ids a { color: inherit; text-decoration: none; }
.tf-footer__ids a:hover, .tf-footer__ids a:focus-visible { text-decoration: underline; }
.tf-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.tf-legal-links { list-style: none; margin: 0; display: flex; flex-wrap: wrap; }
.tf-legal-links li + li::before, .tf-footer__rss::before { content: "|"; margin-inline: 10px; color: var(--tf-border); }
.tf-legal-links a, .tf-footer__rss { color: var(--tf-text-muted); text-decoration: none; }
.tf-legal-links a:hover, .tf-footer__rss:hover { color: var(--tf-navy-600); text-decoration: underline; }
.tf-footer__rss { display: inline-flex; align-items: center; gap: 4px; }
.tf-footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: var(--tf-text-muted); cursor: pointer; }
.tf-footer__cookies::before { content: "|"; margin-inline: 10px; color: var(--tf-border); }
.tf-footer__cookies:hover { color: var(--tf-navy-600); text-decoration: underline; }
.tf-footer__rss .tf-icon { width: 14px; height: 14px; }
@media (min-width: 600px) { .tf-footer__grid { grid-template-columns: repeat(2, 1fr); } }
/* Six columns (brand, Quick Links, Services, Company, Support, Contact): two rows of three on small laptops, one row from 1200px */
@media (min-width: 1024px) { .tf-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } }
@media (min-width: 1200px) { .tf-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.3fr; gap: 28px; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Form pages (layout around TruFind Core forms) ---------- */
.tf-form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1024px) { .tf-form-layout { grid-template-columns: minmax(0, 1fr) 340px; } .tf-form-layout__aside { position: sticky; top: 70px; } }
.tf-form-layout__aside { display: grid; gap: 20px; }
.tf-aside-card { padding: 22px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-card); }
.tf-aside-card__title { font-size: 19px; margin-bottom: 14px; }
.tf-aside-card--navy { background: var(--tf-navy-800); border-color: var(--tf-navy-800); color: #fff; }
.tf-aside-card--navy .tf-aside-card__title { color: #fff; }
.tf-aside-card--navy a { color: #fff; }
.tf-benefits { list-style: none; margin: 0; display: grid; gap: 14px; }
.tf-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.tf-benefits .tf-icon { width: 24px; height: 24px; color: var(--tf-green-600); margin-top: 2px; }
.tf-benefits strong { display: block; font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); }
.tf-benefits span { display: block; font-size: 14px; color: var(--tf-text-muted); }
.tf-aside-contact { display: grid; gap: 8px; margin: 0 0 12px; }
.tf-aside-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.tf-aside-contact .tf-icon { width: 18px; height: 18px; color: var(--tf-gold-500); }
.tf-aside-small { font-size: 14px; margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Request / agency / contact / support pages ---------- */
.tf-numbered { list-style: none; counter-reset: tf-step; margin: 0; display: grid; gap: 14px; }
.tf-numbered li { counter-increment: tf-step; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.tf-numbered li::before { content: counter(tf-step); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tf-navy-800); color: #fff; font-weight: 700; font-family: var(--tf-font-heading); }
.tf-numbered strong { font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); }
.tf-numbered span { font-size: 14px; color: var(--tf-text-muted); }
.tf-checklist { list-style: none; margin: 0; display: grid; gap: 10px; }
.tf-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.tf-checklist .tf-icon { width: 20px; height: 20px; color: var(--tf-green-600); margin-top: 3px; }
/* Government & Insurance: intro with checklist, gold CTA and photo (concept "Government & Insurance Portal") */
.tf-portal { background: var(--tf-bg); border-bottom: 1px solid var(--tf-border); padding-block: clamp(32px, 5vw, 56px); }
.tf-portal__grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .tf-portal__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.tf-portal__lead { color: var(--tf-text-muted); font-size: 17px; margin: 0 0 20px; max-width: 54ch; }
.tf-portal__points { margin-bottom: 28px; gap: 12px; font-weight: 500; color: var(--tf-navy-800); }
.tf-portal__points .tf-icon { width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; background: #E3F4E8; color: var(--tf-green-700); }
.tf-portal__also { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; font-size: 15px; color: var(--tf-text-muted); }
.tf-portal__also .tf-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--tf-navy-600); }
.tf-portal__also a { font-weight: 600; }

/* Owner testimonials (List Your Property): shown only when real quotes exist */
.tf-testimonials__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tf-quote { display: flex; flex-direction: column; gap: 16px; height: 100%; margin: 0; padding: 26px 24px 24px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-card); }
.tf-quote::before { content: "\201C"; content: "\201C" / ""; font-family: var(--tf-font-heading); font-size: 56px; font-weight: 700; line-height: .7; margin-bottom: -10px; color: var(--tf-gold-500); }
.tf-quote__text { flex: 1; margin: 0; font-size: 17px; line-height: 1.6; color: var(--tf-text); }
.tf-quote__text p { margin: 0; }
.tf-quote__by { display: grid; gap: 2px; font-size: 15px; }
.tf-quote__by strong { font-family: var(--tf-font-heading); color: var(--tf-navy-800); }
.tf-quote__by span { color: var(--tf-text-muted); }
.tf-portal__media { margin: 0; position: relative; }
.tf-portal__media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--tf-radius-card); background: var(--tf-gold-500); opacity: .9; }
.tf-portal__img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-raised); }
@media (max-width: 899px) { .tf-portal__media::before { inset: 10px -8px -10px 8px; } .tf-portal__media { margin-right: 8px; } }
.tf-link-list { list-style: none; margin: 0; display: grid; gap: 10px; }
.tf-link-list a { font-weight: 500; }
.tf-contact-cards { list-style: none; margin: 0 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tf-contact-card { padding: 20px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-card); }
.tf-contact-card h2 { font-size: 17px; margin: 10px 0 6px; }
.tf-contact-card p { margin: 0; color: var(--tf-text-muted); font-size: 15px; }
.tf-contact-card a:not(.tf-btn) { font-weight: 600; overflow-wrap: anywhere; }
.tf-contact-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #E8EEF8; color: var(--tf-navy-800); --tf-icon-accent: var(--tf-gold-500); }
.tf-contact-card__icon .tf-icon { width: 22px; height: 22px; }
.tf-contact-card--urgent { background: var(--tf-navy-800); border-color: var(--tf-navy-800); }
.tf-contact-card--urgent h2 { color: #fff; }

/* ---------- Content pages (Phase 7) ---------- */
.tf-draft-banner { margin: 0 0 24px; padding: 14px 18px; border: 2px solid var(--tf-red-600); border-radius: var(--tf-radius-control); background: #FDF2F2; color: var(--tf-text); }
.tf-draft-banner strong { color: var(--tf-red-600); }
.tf-prose h2:first-child { margin-top: 0; }
.tf-prose ol { padding-left: 1.4em; }
.tf-prose ol li::marker { font-weight: 700; color: var(--tf-navy-800); }
.tf-prose .tf-answer { margin: 0 0 1.5em; padding: 18px 22px; border-left: 4px solid var(--tf-gold-500); border-radius: 0 var(--tf-radius-card) var(--tf-radius-card) 0; background: var(--tf-bg); }
.tf-prose .tf-answer p { margin: 0; }
.tf-prose--service ul { list-style: none; padding-left: 0; }
.tf-prose--service ul li { position: relative; padding-left: 28px; }
.tf-prose--service ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--tf-green-700); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.3 4.3L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tf-service-actions { margin-bottom: 24px; }
.tf-service-grid { list-style: none; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tf-service-card { position: relative; padding: 22px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-card); }
.tf-service-card:hover { box-shadow: var(--tf-shadow-raised); }
.tf-service-card__title { font-size: 19px; margin: 12px 0 6px; }
.tf-service-card__title a { color: var(--tf-navy-800); text-decoration: none; }
.tf-service-card__title a::after { content: ""; position: absolute; inset: 0; }
.tf-service-card p { color: var(--tf-text-muted); font-size: 15px; }
.tf-link-grid { list-style: none; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tf-link-grid a { display: block; height: 100%; padding: 16px 18px; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); text-decoration: none; }
.tf-link-grid strong { display: block; font-family: var(--tf-font-heading); color: var(--tf-navy-800); margin-bottom: 4px; }
.tf-link-grid span { display: block; font-size: 14px; color: var(--tf-text-muted); }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.tf-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: var(--tf-radius-pill); border: 1px solid var(--tf-border); background: var(--tf-surface); color: var(--tf-navy-800); font-weight: 500; text-decoration: none; }
.tf-chip:hover, .tf-chip.is-current { background: var(--tf-navy-800); border-color: var(--tf-navy-800); color: #fff; }
.tf-faq-group { margin-bottom: 32px; scroll-margin-top: 80px; }
/* "Questions about …" on service and other pages (template-parts/page-faqs.php) */
.tf-page-faqs__inner { max-width: 860px; }
.tf-page-body > .tf-page-faqs { max-width: 780px; margin-top: clamp(32px, 5vw, 48px); }
.tf-page-faqs__more { margin: 16px 0 0; }

/* "On this page" (inc/toc.php) */
.tf-toc { margin: 0 0 28px; padding: 14px 20px; border: 1px solid var(--tf-border); border-left: 4px solid var(--tf-gold-500); border-radius: var(--tf-radius-control); background: var(--tf-bg); }
.tf-toc__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); list-style: none; }
.tf-toc__title::-webkit-details-marker { display: none; }
.tf-toc__title::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.tf-toc[open] .tf-toc__title::after { margin-top: 4px; transform: rotate(-135deg); }
.tf-prose .tf-toc__list { margin: 10px 0 2px; padding-left: 22px; }
.tf-prose .tf-toc__list li { margin: 0; padding: 4px 0; }
.tf-prose .tf-toc__list--plain { padding-left: 0; list-style: none; }
.tf-toc__list a { color: var(--tf-navy-600); text-decoration: none; }
.tf-toc__list a:hover, .tf-toc__list a:focus-visible { text-decoration: underline; }
.tf-toc__list a[aria-current="location"] { color: var(--tf-navy-800); font-weight: 600; }
@media (min-width: 720px) { .tf-toc__list--cols { columns: 2; column-gap: 36px; } .tf-toc__list--cols li { break-inside: avoid; } }
.tf-prose h2[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { .tf-toc__title::after { transition: none; } }
.tf-faq { border: 1px solid var(--tf-border); border-radius: var(--tf-radius-control); background: var(--tf-surface); margin-bottom: 10px; }
.tf-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); list-style: none; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq__icon { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--tf-gold-600); }
.tf-faq[open] .tf-faq__icon { transform: rotate(180deg); }
.tf-faq__answer { padding: 0 18px 16px; color: var(--tf-text); }
.tf-faq__answer p:last-child { margin-bottom: 0; }
.tf-cta-box { margin-top: 40px; padding: clamp(22px, 4vw, 32px); border-radius: var(--tf-radius-card); background: linear-gradient(90deg, var(--tf-navy-900), var(--tf-navy-800)); color: #fff; }
.tf-cta-box h2 { color: #fff; font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 6px; }
.tf-cta-box p { color: rgba(255, 255, 255, .9); }
.tf-cta-box .tf-btn-row { margin: 16px 0 0; }
.tf-team-grid { list-style: none; margin: 24px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tf-team-card { padding: 22px; text-align: center; background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: var(--tf-radius-card); box-shadow: var(--tf-shadow-card); }
.tf-team-card__photo { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--tf-navy-800); display: flex; align-items: center; justify-content: center; border: 4px solid var(--tf-gold-500); }
.tf-team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.tf-team-card__initials { font-family: var(--tf-font-heading); font-weight: 700; font-size: 36px; color: #fff; }
.tf-team-card__name { font-size: 19px; margin-bottom: 2px; }
.tf-team-card__role { color: var(--tf-gold-text); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.tf-team-card__bio { color: var(--tf-text-muted); font-size: 15px; text-align: left; }
.tf-facts { margin: 0 0 16px; }
.tf-facts div { padding: 8px 0; border-bottom: 1px solid #EDF0F5; }
.tf-facts dt { font-size: 13px; color: var(--tf-text-muted); }
.tf-facts dd { margin: 0; font-weight: 600; color: var(--tf-navy-800); overflow-wrap: anywhere; }

/* Government disaster-housing programs block ([tf_disaster_programs]) */
.tf-programs { margin-top: 32px; padding: 24px; border-radius: var(--tf-radius-card); background: var(--tf-bg); border-left: 4px solid var(--tf-gold-500); }
.tf-programs h2 { margin-top: 0; }
.tf-programs .tf-btn-row { margin-bottom: 0; }
.tf-prose .tf-programs .tf-btn { text-decoration: none; }

/* ---------- About page (page-about.php): sections built from the page content ---------- */
.tf-eyebrow--center { display: flex; justify-content: center; }
.tf-about__body p { color: var(--tf-text-muted); font-size: 17px; line-height: 1.7; }
.tf-about__body p:last-child { margin-bottom: 0; }
.tf-about__body a { font-weight: 600; }

/* Facts strip, pulled up over the page heading (which gets extra room for it) */
.tf-page-hero:has(+ .tf-about) { padding-bottom: 68px; }
.tf-about-facts { position: relative; z-index: 2; margin-top: -34px; }
.tf-about-facts__list {
	list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px;
	background: var(--tf-surface); border: 1px solid var(--tf-border); border-radius: 16px; box-shadow: var(--tf-shadow-raised);
}
.tf-about-fact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; }
.tf-about-fact strong { display: block; font-family: var(--tf-font-heading); font-weight: 600; font-size: 16px; color: var(--tf-navy-800); }
.tf-about-fact span:last-child { font-size: 14px; color: var(--tf-text-muted); line-height: 1.45; }
.tf-about-fact__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: #FFF4D6; color: var(--tf-gold-text); }
.tf-about-fact__icon .tf-icon { width: 24px; height: 24px; }
@media (min-width: 640px) { .tf-about-facts__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.tf-about-facts__list { grid-template-columns: repeat(4, 1fr); }
	.tf-about-fact + .tf-about-fact { border-left: 1px solid var(--tf-border); border-radius: 0; }
}

/* Who we are: text beside a photo with a gold offset and a location badge */
.tf-about-split__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .tf-about-split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tf-about-split__media { position: relative; margin: 0 14px 24px 0; }
.tf-about-split__media::before { content: ""; position: absolute; inset: 18px -14px -18px 18px; border-radius: 20px; background: linear-gradient(135deg, var(--tf-gold-500), var(--tf-gold-600)); }
.tf-about-split__img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--tf-shadow-raised); }
.tf-about-badge {
	position: absolute; left: -12px; bottom: -22px; z-index: 1; display: flex; align-items: center; gap: 12px;
	padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--tf-surface); box-shadow: var(--tf-shadow-raised);
}
.tf-about-badge strong { display: block; font-family: var(--tf-font-heading); font-weight: 600; color: var(--tf-navy-800); }
.tf-about-badge span:last-child { font-size: 13px; color: var(--tf-text-muted); }
.tf-about-badge__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tf-navy-800); color: var(--tf-gold-500); }
.tf-about-badge__icon .tf-icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .tf-about-badge { left: 8px; } }

/* How we work: numbered cards */
.tf-about-work__lead { max-width: 680px; margin: -8px auto 28px; text-align: center; }
.tf-about-work__lead p { color: var(--tf-text-muted); font-size: 17px; }
.tf-about-work__list { list-style: none; margin: 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 900px) { .tf-about-work__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tf-about-step {
	position: relative; overflow: hidden; padding: 30px 26px 28px; border: 1px solid var(--tf-border); border-radius: 16px;
	background: var(--tf-surface); box-shadow: var(--tf-shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.tf-about-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--tf-navy-800), var(--tf-navy-600)); }
.tf-about-step:hover { transform: translateY(-4px); box-shadow: var(--tf-shadow-raised); }
.tf-about-step__num { position: absolute; top: 16px; right: 20px; font-family: var(--tf-font-heading); font-weight: 700; font-size: 48px; line-height: 1; color: #E8EEF8; }
.tf-about-step__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px;
	border-radius: 50%; background: var(--tf-navy-800); color: #fff; --tf-icon-accent: var(--tf-gold-500); box-shadow: 0 0 0 6px #E8EEF8;
}
.tf-about-step__icon .tf-icon { width: 28px; height: 28px; }
.tf-about-step__title { position: relative; font-size: 19px; margin-bottom: 8px; }
.tf-about-step__text { position: relative; margin: 0; color: var(--tf-text-muted); font-size: 15px; line-height: 1.65; }

/* Where we help: text beside the coverage map */
.tf-about-where__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 1024px) { .tf-about-where__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* Our partners: navy panel */
.tf-about-partner-wrap { padding-top: 0; }
.tf-about-partner {
	position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px);
	border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(30, 74, 140, .7), transparent 55%), linear-gradient(150deg, var(--tf-navy-800), var(--tf-navy-900));
	box-shadow: var(--tf-shadow-raised);
}
@media (min-width: 900px) { .tf-about-partner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; } }
.tf-about-partner__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(247, 181, 0, .15); color: var(--tf-gold-500); border: 1px solid rgba(247, 181, 0, .35); }
.tf-about-partner__icon .tf-icon { width: 32px; height: 32px; }
.tf-about-partner__title { color: #fff; font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 6px; }
.tf-about-partner .tf-about__body p { color: rgba(255, 255, 255, .85); font-size: 16px; }
.tf-about-partner .tf-about__body a { color: var(--tf-gold-500); }

/* Closing call to action: renters and owners */
.tf-about-cta__grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .tf-about-cta__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.tf-about-cta__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--tf-surface); border: 1px solid var(--tf-border); box-shadow: var(--tf-shadow-card); }
.tf-about-cta__card h2 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 8px; }
.tf-about-cta__card p { color: var(--tf-text-muted); margin: 0 0 20px; }
.tf-about-cta__card .tf-btn { margin-top: auto; }
.tf-about-cta__card--navy { background: linear-gradient(150deg, var(--tf-navy-800), var(--tf-navy-900)); border-color: transparent; }
.tf-about-cta__card--navy h2 { color: #fff; }
.tf-about-cta__card--navy p { color: rgba(255, 255, 255, .85); }
.tf-about-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: #E8EEF8; color: var(--tf-navy-800); --tf-icon-accent: var(--tf-gold-500); }
.tf-about-cta__card--navy .tf-about-cta__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.tf-about-cta__icon .tf-icon { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .tf-about-step:hover { transform: none; } }

/* New replies for the signed-in requester (header "My account") */
.tf-account-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 999px; background: #B42318; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
