/* Tampa Bay With Teresa: Twilight Hour theme styles. Option A, Sticky Story motion (O3). Theme 1.2.1. */

:root {
	--tbwt-paper: #F7F4EE; --tbwt-linen: #ECE7DE; --tbwt-mist: #CFC9BE; --tbwt-line: #E2DCD1;
	--tbwt-night: #0F1C2A; --tbwt-night-2: #0B1622; --tbwt-card: #13202F;
	--tbwt-ink: #171B20; --tbwt-body: #3E434A; --tbwt-muted: #5B6067; --tbwt-on-night: #CFC9BE;
	--tbwt-bronze: #A3885F; --tbwt-bronze-light: #C2A57A; --tbwt-bronze-ink: #7A5F38; --tbwt-rose: #C99098;
	--tbwt-serif: Fraunces, Georgia, 'Times New Roman', serif;
	--tbwt-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tbwt-ease: cubic-bezier(.22, 1, .36, 1);
	--tbwt-gutter: clamp(20px, 4vw, 48px);
}

/* ---------- structure: no stray gaps between WordPress wrappers ---------- */
.wp-site-blocks { position: relative; }
body .wp-site-blocks > * { margin-block: 0; }
.tbwt-main .tbwt-sections > * { margin-block: 0; }
.tbwt-section .wp-block-group > *, .tbwt-header .wp-block-group > *, .tbwt-footer .wp-block-group > *,
.tbwt-section .is-layout-flow > *, .tbwt-header .is-layout-flow > *, .tbwt-footer .is-layout-flow > * { margin-block: 0; }
.tbwt-section figure.wp-block-image, .tbwt-header figure.wp-block-image, .tbwt-footer figure.wp-block-image { margin: 0; }
.tbwt-section .wp-block-image img { display: block; width: 100%; height: auto; }

.tbwt-section { position: relative; box-sizing: border-box; }
.tbwt-paper { background: var(--tbwt-paper); color: var(--tbwt-ink); }
.tbwt-night { background: var(--tbwt-night); color: #F7F4EE; }
.tbwt-section .tbwt-wrap, .tbwt-header .tbwt-wrap, .tbwt-footer .tbwt-wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--tbwt-gutter); box-sizing: border-box; }

/* ---------- type ---------- */
.tbwt-section .tbwt-h2 { font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.tbwt-section .tbwt-h2--sm { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.tbwt-section .tbwt-eyebrow, .tbwt-author-card .tbwt-eyebrow { font-family: var(--tbwt-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--tbwt-bronze-ink); }
.tbwt-night .tbwt-eyebrow, .tbwt-feature .tbwt-eyebrow { color: var(--tbwt-bronze-light); }
.tbwt-section .tbwt-muted { color: var(--tbwt-muted); }
.tbwt-night .tbwt-muted { color: var(--tbwt-on-night); }
.tbwt-section .tbwt-body { color: var(--tbwt-body); max-width: 62ch; }
.tbwt-night .tbwt-body { color: var(--tbwt-on-night); }
.tbwt-section a { color: inherit; text-underline-offset: 4px; }
.tbwt-paper a:hover { color: var(--tbwt-bronze-ink); }
.tbwt-night a:hover { color: var(--tbwt-bronze-light); }
.tbwt-section .tbwt-inline-links, .tbwt-footer .tbwt-inline-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.tbwt-section .tbwt-inline-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
:where(.tbwt-section, .tbwt-header, .tbwt-footer, .tbwt-mobilebar) :focus-visible { outline: 3px solid var(--tbwt-bronze-light); outline-offset: 3px; }
.tbwt-paper :focus-visible { outline-color: var(--tbwt-bronze-ink); }

/* ---------- buttons ---------- */
.wp-block-buttons.tbwt-hero__actions, .wp-block-buttons.tbwt-feature__actions, .wp-block-buttons.tbwt-contact__actions,
.tbwt-section .wp-block-buttons, .tbwt-author-card .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.tbwt-btn .wp-block-button__link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--tbwt-sans); font-size: 16px; font-weight: 600; line-height: 1.1; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.tbwt-btn--bronze .wp-block-button__link { background: var(--tbwt-bronze-light); color: var(--tbwt-night); }
.tbwt-btn--bronze .wp-block-button__link:hover { background: var(--tbwt-bronze); color: var(--tbwt-night); }
.tbwt-btn--ink .wp-block-button__link { background: var(--tbwt-bronze-ink); color: #FFFFFF; }
.tbwt-btn--ink .wp-block-button__link:hover { background: var(--tbwt-ink); color: #FFFFFF; }
.tbwt-btn--outline .wp-block-button__link { background: transparent; color: #F7F4EE; border-color: rgba(247, 244, 238, .55); }
.tbwt-btn--outline .wp-block-button__link:hover { border-color: #F7F4EE; color: #F7F4EE; }
.tbwt-paper .tbwt-btn--outline .wp-block-button__link { color: var(--tbwt-ink); border-color: var(--tbwt-mist); }
.tbwt-btn--text .wp-block-button__link { background: none; min-height: 44px; padding: 0 2px; color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.tbwt-btn--text .wp-block-button__link:hover { background: none; text-decoration-thickness: 2px; color: inherit; }
.tbwt-btn--lg .wp-block-button__link { min-height: 54px; padding: 0 30px; font-size: 17px; }
.tbwt-btn--sm .wp-block-button__link { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- header: one template part, two looks (clear over the hero, paper everywhere else) ---------- */
.wp-block-template-part.tbwt-header-wrap, .wp-block-template-part.tbwt-header-wrap--overlay { position: relative; z-index: 30; }
.wp-block-template-part.tbwt-header-wrap--overlay { position: absolute; top: 0; left: 0; right: 0; }
.tbwt-header { font-family: var(--tbwt-sans); position: relative; z-index: 30; background: var(--tbwt-paper); color: var(--tbwt-ink); border-bottom: 1px solid var(--tbwt-line); }
.tbwt-header-wrap--overlay .tbwt-header { background: transparent; color: #F7F4EE; border-bottom-color: transparent; }
.tbwt-header .tbwt-header__inner { max-width: 1344px; min-height: 71px; margin-inline: auto; padding: 13px var(--tbwt-gutter) 14px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.tbwt-header-wrap--overlay .tbwt-header .tbwt-header__inner { min-height: 87px; padding-block: 21px 22px; }
.tbwt-header .tbwt-brand { display: flex; flex-direction: column; gap: 2px; flex: none; }
.tbwt-header .tbwt-brand a { color: inherit; text-decoration: none; }
.tbwt-header .tbwt-brand__mono { font-size: 15px; font-weight: 600; letter-spacing: .42em; line-height: 1.2; }
.tbwt-header .tbwt-brand__name { font-size: 13px; line-height: 1.3; opacity: .88; }
.tbwt-header .tbwt-nav { color: inherit; }
.tbwt-header .tbwt-nav .wp-block-navigation__container { gap: clamp(14px, 2vw, 30px); }
.tbwt-header .tbwt-nav .wp-block-navigation-item__content { color: inherit; font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 2px; }
.tbwt-header .tbwt-nav .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 6px; }
.tbwt-header .tbwt-header__right { display: flex; align-items: center; gap: 10px 18px; flex: none; }
.tbwt-header .tbwt-header__link a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 14px; font-weight: 500; }
/* The brokerage name sits beside the phone number, with the LPT Realty logo in front of it (added by functions.php). */
.tbwt-header .tbwt-header__broker { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.tbwt-logo { flex: none; line-height: 0; }
.tbwt-logo--header { display: inline-flex; }
.tbwt-logo--header img { display: block; width: 34px; height: 34px; }
/* Black on the paper header, gold over the hero photo. */
.tbwt-logo--header .tbwt-logo__on-night, .tbwt-header-wrap--overlay .tbwt-logo--header .tbwt-logo__on-paper { display: none; }
.tbwt-header-wrap--overlay .tbwt-logo--header .tbwt-logo__on-night { display: block; }
/* A logo placed by hand as an Image block takes the place of the words beside it, so the row keeps the width it was tested at. */
.tbwt-header .tbwt-header__right .wp-block-image ~ .tbwt-header__broker { display: none; }
.tbwt-header .tbwt-header__right .wp-block-image { flex: none; line-height: 0; }
.tbwt-header .tbwt-header__right .wp-block-image img { display: block; height: 28px !important; width: auto !important; max-width: 160px; object-fit: contain; }
/* On a dark background a standard logo sits on a small paper plate. Opt out with the class tbwt-logo-plain (for a white logo) or tbwt-logo-invert (one-color white). */
.tbwt-header-wrap--overlay:not(.is-stuck) .tbwt-header__right .wp-block-image:not(.tbwt-logo-plain):not(.tbwt-logo-invert) { padding: 5px 9px; border-radius: 4px; background: var(--tbwt-paper); }
.tbwt-header-wrap--overlay:not(.is-stuck) .tbwt-header__right .wp-block-image.tbwt-logo-invert img { filter: brightness(0) invert(1); }
.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container-open { width: auto; height: 44px; padding: 0 14px; gap: 8px; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: transparent; align-items: center; }
.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container-open::after { content: "Menu"; font: 600 14px/1 var(--tbwt-sans); }
.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--tbwt-paper) !important; color: var(--tbwt-ink) !important; padding: 20px 24px; }
.tbwt-header .tbwt-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--tbwt-serif); font-weight: 300; font-size: 34px; line-height: 1.2; padding: 8px 0; }
.tbwt-header .tbwt-nav .is-menu-open .wp-block-navigation__container { gap: 6px; }
/* Menu extras: shown only inside the open phone menu (Español, home search, phone with the brokerage name, the home value button). */
.tbwt-header .tbwt-nav .tbwt-nav__extra { display: none; }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__extra { display: flex; }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__extra .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 44px; padding: 4px 0; font-family: var(--tbwt-sans); font-size: 17px; font-weight: 500; line-height: 1.35; }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__extra--first { margin-top: 16px; }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__phone .wp-block-navigation-item__content { font-weight: 600; }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__broker .wp-block-navigation-item__content { min-height: 0; padding: 0 0 6px; font-size: 14px; font-weight: 400; color: var(--tbwt-muted); }
.tbwt-header .tbwt-nav .is-menu-open .tbwt-nav__cta .wp-block-navigation-item__content { justify-content: center; margin-top: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--tbwt-bronze-ink); color: #FFFFFF; font-weight: 600; }
@media (min-width: 900px) {
	/* Inner pages: the paper header stays with the visitor. */
	.wp-block-template-part.tbwt-header-wrap:not(.tbwt-header-wrap--overlay) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
	/* Homepage: the clear header scrolls away with the hero, then comes back as the paper header once the hero has passed. */
	.tbwt-ready .wp-block-template-part.tbwt-header-wrap--overlay.is-stuck { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); }
	.tbwt-ready .tbwt-header-wrap--overlay.is-stuck .tbwt-header { background: var(--tbwt-paper); color: var(--tbwt-ink); border-bottom-color: var(--tbwt-line); }
	.tbwt-ready .tbwt-header-wrap--overlay.is-stuck .tbwt-header .tbwt-header__inner { min-height: 71px; padding-block: 13px 14px; }
	.tbwt-ready .tbwt-header-wrap--overlay.is-stuck .tbwt-logo--header .tbwt-logo__on-paper { display: block; }
	.tbwt-ready .tbwt-header-wrap--overlay.is-stuck .tbwt-logo--header .tbwt-logo__on-night { display: none; }
	.tbwt-main [id] { scroll-margin-top: calc(84px + var(--wp-admin--admin-bar--height, 0px)); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
	.tbwt-ready .wp-block-template-part.tbwt-header-wrap--overlay.is-stuck { animation: tbwt-header-in .32s var(--tbwt-ease) both; }
	.tbwt-ready .wp-block-template-part.tbwt-header-wrap--overlay.is-stuck.is-leaving { animation: tbwt-header-out .22s ease-in both; }
}
/* From 900 to 1199 px the row is tight, so the gaps close up and the menu stays on one line. Below 1100 px the monogram stands alone. */
@media (min-width: 900px) and (max-width: 1199px) {
	.tbwt-header .tbwt-header__inner { gap: 12px 18px; }
	.tbwt-header .tbwt-header__right { gap: 10px 12px; }
	.tbwt-header .tbwt-nav .wp-block-navigation__container { gap: 14px; }
}
@media (min-width: 900px) and (max-width: 1099px) { .tbwt-header .tbwt-brand__name { display: none; } }
/* Where the row has no room to spare, the logo steps aside and the words LPT Realty carry the name. */
@media (min-width: 900px) and (max-width: 999px) { .tbwt-logo--header { display: none; } }
@media (max-width: 389px) { .tbwt-logo--header { display: none; } }
@keyframes tbwt-header-in { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
@keyframes tbwt-header-out { from { transform: none; } to { transform: translate3d(0, -100%, 0); } }
/* Below 900 px the menu is always the Menu button, never a squeezed row of links (WordPress switches at 600 px by default). */
@media (min-width: 600px) and (max-width: 899px) {
	.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 899px) {
	.tbwt-header .tbwt-header__inner, .tbwt-header-wrap--overlay .tbwt-header .tbwt-header__inner { min-height: 0; padding: 12px 16px; gap: 10px; }
	.tbwt-header .tbwt-brand__name, .tbwt-header .tbwt-header__link:not(.tbwt-header__phone), .tbwt-header .tbwt-header__cta { display: none; }
	.tbwt-header .tbwt-brand { margin-right: auto; }
	.tbwt-header .tbwt-header__right { order: 2; gap: 10px; }
	.tbwt-header .tbwt-nav { order: 3; flex: none; }
	.tbwt-header .tbwt-header__broker { gap: 7px; font-size: 13px; }
	.tbwt-logo--header img { width: 28px; height: 28px; }
	.tbwt-header .tbwt-header__right .wp-block-image img { height: 24px !important; max-width: 96px; }
	.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container.is-menu-open { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
	html.has-modal-open .wp-block-buttons.tbwt-mobilebar { display: none; }
	.tbwt-header .tbwt-header__phone a { width: 44px; height: 44px; justify-content: center; border: 1px solid currentColor; border-radius: 999px; font-size: 0; }
	.tbwt-header .tbwt-header__phone a::before { content: ""; width: 18px; height: 18px; background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 3h4l2 5-2.5 1.5a11 11 0 0 0 5 5L16 12l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 4 5a2 2 0 0 1 2-2z'/%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 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 3h4l2 5-2.5 1.5a11 11 0 0 0 5 5L16 12l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 4 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
}
@media (max-width: 359px) {
	.tbwt-header .tbwt-header__inner, .tbwt-header-wrap--overlay .tbwt-header .tbwt-header__inner { padding-inline: 12px; gap: 8px; }
	.tbwt-header .tbwt-header__right { gap: 8px; }
	.tbwt-header .tbwt-brand__mono { letter-spacing: .3em; }
	.tbwt-header .tbwt-header__broker { font-size: 12px; }
	.tbwt-header .tbwt-header__right .wp-block-image img { max-width: 72px; }
	.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container-open { padding: 0 10px; }
	.tbwt-header .tbwt-nav .wp-block-navigation__responsive-container-open::after { content: none; }
}

/* ---------- hero ---------- */
.tbwt-section.tbwt-hero { overflow: hidden; isolation: isolate; min-height: min(820px, 100svh); display: flex; flex-direction: column; justify-content: center; padding: 150px var(--tbwt-gutter) 130px; background: var(--tbwt-night); color: #F7F4EE; }
/* The photo, or a film, always sits behind the shading and the words, whichever block holds it. */
.tbwt-hero .tbwt-hero__media, .tbwt-hero > .wp-block-image, .tbwt-hero .wp-block-video { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; }
.tbwt-hero .tbwt-hero__media img, .tbwt-hero > .wp-block-image img, .tbwt-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tbwt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,28,42,.30) 0%, rgba(15,28,42,.36) 42%, rgba(15,28,42,.60) 72%, rgba(15,28,42,.82) 100%); }
.tbwt-hero .tbwt-hero__content { position: relative; z-index: 1; max-width: 1140px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.tbwt-hero .tbwt-hero__title { max-width: 1040px; font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; color: #F7F4EE; }
.tbwt-hero .tbwt-hero__lede { max-width: 44ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #E6E1D8; }
.tbwt-hero .tbwt-hero__actions { justify-content: center; margin-top: 12px; }
.tbwt-hero .tbwt-hero__pause { position: absolute; left: var(--tbwt-gutter); bottom: 28px; z-index: 2; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(247,244,238,.6); background: rgba(15,28,42,.55); color: #F7F4EE; font: 600 12px/1 var(--tbwt-sans); letter-spacing: .04em; cursor: pointer; }
.tbwt-hero .tbwt-hero__pause:hover { background: rgba(15,28,42,.8); }
@media (prefers-reduced-motion: no-preference) {
	html:not(.tbwt-static) .tbwt-hero .tbwt-hero__media img { animation: tbwt-drift 18s ease-in-out infinite alternate; transform-origin: 50% 60%; }
	.tbwt-hero.is-paused .tbwt-hero__media img { animation-play-state: paused; }
	html:not(.tbwt-static) .tbwt-hero .tbwt-hero__media.tbwt-hero__media--film img { animation: none; }
}
@keyframes tbwt-drift { from { transform: scale(1.03); } to { transform: scale(1.12) translate3d(0, -1.5%, 0); } }
@media (max-width: 899px) {
	.tbwt-section.tbwt-hero { min-height: min(680px, 100svh); padding: 110px 20px 96px; }
	.tbwt-hero .tbwt-hero__actions { flex-direction: column; gap: 10px; }
	.tbwt-hero .tbwt-hero__pause { left: 16px; bottom: 18px; }
}

/* ---------- intro: the full door photo ---------- */
.tbwt-intro .tbwt-intro__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 96px; padding-block: 96px; }
.tbwt-intro .tbwt-intro__photo { flex: 0 1 440px; width: 100%; max-width: 440px; }
.tbwt-intro .tbwt-intro__photo img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center; }
.tbwt-intro .tbwt-intro__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tbwt-intro .tbwt-intro__note { max-width: 30ch; font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.4; color: var(--tbwt-ink); }
.tbwt-intro .tbwt-signature { font-family: var(--tbwt-serif); font-style: italic; font-weight: 300; font-size: 50px; line-height: 1; color: var(--tbwt-bronze-ink); }
@media (max-width: 899px) {
	.tbwt-intro .tbwt-intro__grid { padding-block: 56px 48px; gap: 32px; }
	.tbwt-intro .tbwt-intro__photo { flex-basis: 100%; max-width: 520px; }
}

/* ---------- market ---------- */
.tbwt-market .tbwt-wrap { padding-bottom: 72px; }
.tbwt-market .tbwt-market__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; padding-top: 64px; border-top: 1px solid var(--tbwt-mist); }
.tbwt-market .tbwt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); margin-top: 36px; }
.tbwt-market .tbwt-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding-top: 22px; border-top: 1px solid var(--tbwt-mist); }
.tbwt-market .tbwt-stat__value { font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(30px, 4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--tbwt-ink); }
.tbwt-market .tbwt-stat__label { font-size: clamp(13px, 1.2vw, 15px); color: var(--tbwt-muted); }
.tbwt-market .tbwt-source { margin-top: 20px; font-size: 13px; color: var(--tbwt-muted); }
@media (max-width: 599px) { .tbwt-market .tbwt-stats { grid-template-columns: 1fr; gap: 0; } .tbwt-market .tbwt-stat { padding-block: 18px; } }

/* ---------- steps (pricing) ---------- */
.tbwt-pricing .tbwt-pricing__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 96px; padding-block: 48px 112px; }
.tbwt-pricing .tbwt-pricing__intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tbwt-pricing .tbwt-steps { flex: 1 1 420px; min-width: 0; }
@media (min-width: 900px) { .tbwt-pricing .tbwt-pricing__intro { position: sticky; top: 110px; } }
.tbwt-steps .tbwt-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 26px 0; border-top: 1px solid var(--tbwt-mist); }
.tbwt-steps .tbwt-step:last-child { border-bottom: 1px solid var(--tbwt-mist); }
.tbwt-steps .tbwt-step__num { grid-row: 1 / span 2; font-family: var(--tbwt-serif); font-weight: 300; font-size: 44px; line-height: 1; color: var(--tbwt-bronze-ink); }
.tbwt-steps .tbwt-step__title { font-family: var(--tbwt-sans); font-size: 20px; font-weight: 600; line-height: 1.3; }
.tbwt-steps .tbwt-step__text { margin-top: 8px; color: var(--tbwt-body); }
@media (max-width: 899px) { .tbwt-pricing .tbwt-pricing__grid { padding-block: 32px 72px; } }

/* ---------- areas ---------- */
.tbwt-areas .tbwt-wrap { padding-bottom: 112px; }
.tbwt-areas .tbwt-area__name { color: var(--tbwt-ink); }
.tbwt-areas .tbwt-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: clamp(16px, 3vw, 40px); margin-top: 28px; }
.tbwt-area { position: relative; padding: 20px 0; border-top: 1px solid var(--tbwt-mist); transition: border-color .2s; }
.tbwt-areas .tbwt-area__name { font-family: var(--tbwt-serif); font-weight: 300; font-size: 32px; line-height: 1.15; }
.tbwt-areas .tbwt-area__name a { color: var(--tbwt-ink); text-decoration: none; }
.tbwt-areas .tbwt-area__name a::after { content: ""; position: absolute; inset: 0; }
.tbwt-areas .tbwt-area__county { margin-top: 6px; font-size: 14px; color: var(--tbwt-muted); }
.tbwt-areas .tbwt-area:has(a):hover { border-top-color: var(--tbwt-ink); }
.tbwt-areas .tbwt-area:hover .tbwt-area__name a { color: var(--tbwt-bronze-ink); }
.tbwt-areas .tbwt-area:focus-within { outline: 3px solid var(--tbwt-bronze-ink); outline-offset: 3px; }
.tbwt-areas .tbwt-area__name a:focus-visible { outline: none; }
@media (max-width: 899px) { .tbwt-areas .tbwt-wrap { padding-bottom: 72px; } .tbwt-areas .tbwt-area__name { font-size: 28px; } }

/* ---------- sunset band ---------- */
.wp-block-group.tbwt-band { position: relative; height: clamp(150px, 19vw, 280px); overflow: hidden; background: linear-gradient(180deg, #F7F4EE 0%, #EFDCD6 16%, #C99098 40%, #8E6F80 58%, #3E4155 78%, #0F1C2A 100%); background-size: 100% 100%; }
.tbwt-motion .wp-block-group.tbwt-band { background-size: 100% 240%; }
.tbwt-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 36% at 28% 44%, rgba(247,244,238,.42) 0%, rgba(247,244,238,0) 70%), radial-gradient(54% 30% at 74% 36%, rgba(201,144,152,.6) 0%, rgba(201,144,152,0) 70%), radial-gradient(90% 28% at 50% 74%, rgba(15,28,42,.4) 0%, rgba(15,28,42,0) 72%); }
.tbwt-band::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 1px; background: linear-gradient(90deg, rgba(194,165,122,0) 0%, rgba(194,165,122,.55) 50%, rgba(194,165,122,0) 100%); }

/* ---------- communities ---------- */
.tbwt-communities .tbwt-wrap { padding-block: 72px 112px; }
.tbwt-section .tbwt-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 40px; }
.tbwt-section .tbwt-section-head .tbwt-muted { max-width: 46ch; }
.tbwt-communities .tbwt-feature { margin-top: 40px; }
.tbwt-communities .tbwt-feature__media { position: relative; overflow: hidden; }
.tbwt-communities .tbwt-feature__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.tbwt-communities .tbwt-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,42,0) 46%, rgba(15,28,42,.55) 74%, rgba(15,28,42,.88) 100%); pointer-events: none; }
.tbwt-communities .tbwt-feature__caption { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tbwt-communities .tbwt-feature__name { font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; color: #F7F4EE; }
.tbwt-communities .tbwt-feature__fact { max-width: 44ch; color: #E6E1D8; }
.tbwt-communities .tbwt-feature__actions { margin-top: 22px; }
.tbwt-communities .tbwt-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tbwt-communities .tbwt-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tbwt-communities .tbwt-card__media { aspect-ratio: 3 / 2; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; border: 1px dashed rgba(207,201,190,.45); background: linear-gradient(180deg, #2E3C4C 0%, #1F2C3B 55%, #0F1C2A 100%); }
.tbwt-communities .tbwt-card__media:has(img) { border: 0; }
.tbwt-communities .tbwt-card__media figure, .tbwt-communities .tbwt-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* A card without a photo yet reads as a finished text card. Add an Image block as the card's first item when the photo is ready. */
.tbwt-communities .tbwt-card:not(:has(.tbwt-card__media, .wp-block-image)) { padding-top: 18px; border-top: 1px solid rgba(194,165,122,.6); }
.tbwt-communities .tbwt-card > .wp-block-image { margin: 0 0 8px; }
.tbwt-communities .tbwt-card > .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.tbwt-communities .tbwt-card__ph { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tbwt-on-night); }
.tbwt-communities .tbwt-card__name { font-family: var(--tbwt-serif); font-weight: 300; font-size: 24px; line-height: 1.15; }
.tbwt-communities .tbwt-card__city { font-size: 13px; letter-spacing: .04em; color: var(--tbwt-bronze-light); }
.tbwt-communities .tbwt-card__fact { font-size: 14px; line-height: 1.5; color: var(--tbwt-on-night); }
.tbwt-communities .tbwt-card__links { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 14px; }
.tbwt-communities .tbwt-card__links a { display: inline-flex; align-items: center; min-height: 36px; color: #F7F4EE; }
.tbwt-section .tbwt-fineprint { margin-top: 28px; font-size: 13px; color: #B9B3A8; }
@media (max-width: 1100px) { .tbwt-communities .tbwt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
	.tbwt-communities .tbwt-wrap { padding-block: 56px 72px; }
	.tbwt-communities .tbwt-feature__caption { left: 18px; right: 18px; bottom: 18px; }
	.tbwt-communities .tbwt-feature__media img { aspect-ratio: 4 / 5; }
	.tbwt-communities .tbwt-cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--tbwt-gutter) * -1); padding: 0 var(--tbwt-gutter) 8px; scrollbar-width: thin; }
	.tbwt-communities .tbwt-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- sticky story: How I market a home ---------- */
.tbwt-story .tbwt-story__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 88px; padding-block: 96px 112px; }
.tbwt-story .tbwt-story__media { flex: 1 1 320px; max-width: 440px; }
.tbwt-story .tbwt-story__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.tbwt-story .tbwt-story__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tbwt-steps.tbwt-timeline { position: relative; margin-top: 18px; padding-left: 30px; }
.tbwt-steps.tbwt-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 26px; width: 1px; background: rgba(194,165,122,.65); transform-origin: top center; transform: scaleY(var(--tbwt-line, 1)); }
.tbwt-steps.tbwt-timeline .tbwt-step { display: block; position: relative; padding: 0 0 26px; border: 0; }
.tbwt-steps.tbwt-timeline .tbwt-step::before { content: ""; position: absolute; left: -30px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--tbwt-bronze-light); }
.tbwt-steps.tbwt-timeline .tbwt-step__title { font-size: 18px; color: #F7F4EE; }
.tbwt-steps.tbwt-timeline .tbwt-step__text { margin-top: 4px; font-size: 15px; color: var(--tbwt-on-night); }
@media (min-width: 900px) {
	.tbwt-story .tbwt-story__media { position: sticky; top: 96px; max-width: 420px; }
	.tbwt-steps.tbwt-timeline .tbwt-step { padding-bottom: clamp(72px, 16vh, 150px); }
	.tbwt-steps.tbwt-timeline .tbwt-step:last-child { padding-bottom: 0; }
	.tbwt-steps.tbwt-timeline::before { bottom: 0; }
}
@media (max-width: 899px) { .tbwt-story .tbwt-story__grid { padding-block: 64px 72px; } .tbwt-story .tbwt-story__media { max-width: none; flex-basis: 100%; } }

/* ---------- reviews ---------- */
.tbwt-reviews .tbwt-wrap { padding-bottom: 112px; }
.tbwt-reviews .tbwt-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.tbwt-reviews .wp-block-quote.tbwt-review { margin: 0; padding: 22px 0 0; border: 0; border-top: 1px solid rgba(194,165,122,.6); }
.tbwt-reviews .tbwt-review p { font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; color: #F7F4EE; }
.tbwt-reviews .tbwt-review cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--tbwt-on-night); }
.tbwt-reviews .tbwt-more { margin-top: 30px; }
.tbwt-reviews .tbwt-more a { color: var(--tbwt-bronze-light); font-weight: 600; }
.tbwt-reviews--single .tbwt-wrap { padding-block: clamp(56px, 7vw, 88px); }
.tbwt-reviews--single .tbwt-review-grid { grid-template-columns: minmax(0, 760px); }
@media (max-width: 899px) { .tbwt-reviews .tbwt-wrap { padding-bottom: 72px; } }

/* ---------- guide ---------- */
.tbwt-guide .tbwt-guide__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 96px; padding-bottom: 112px; }
.tbwt-guide .tbwt-guide__cover { position: relative; flex: 0 1 380px; width: 100%; max-width: 380px; overflow: hidden; transform: rotate(-2deg); border: 1px solid rgba(247,244,238,.25); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.tbwt-guide .tbwt-guide__cover img { aspect-ratio: 4 / 5; object-fit: cover; }
.tbwt-guide .tbwt-guide__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,42,.22) 0%, rgba(15,28,42,.08) 36%, rgba(15,28,42,.80) 100%); pointer-events: none; }
.tbwt-guide .tbwt-guide__mono { position: absolute; top: 24px; left: 24px; z-index: 2; font-size: 13px; font-weight: 600; letter-spacing: .42em; color: #F7F4EE; }
.tbwt-guide .tbwt-guide__title { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; color: #F7F4EE; }
.tbwt-guide .tbwt-guide__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 899px) { .tbwt-guide .tbwt-guide__grid { padding-bottom: 72px; } .tbwt-guide .tbwt-guide__cover { max-width: 300px; margin-inline: auto; } }

/* ---------- contact ---------- */
.tbwt-section.tbwt-contact { overflow: hidden; isolation: isolate; background: var(--tbwt-night); color: #F7F4EE; text-align: center; }
.tbwt-contact .tbwt-contact__media { position: absolute; inset: 0; z-index: -2; }
.tbwt-contact .tbwt-contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tbwt-contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,28,42,.62) 0%, rgba(15,28,42,.48) 40%, rgba(15,28,42,.86) 100%); }
.tbwt-contact .tbwt-contact__inner { max-width: 940px; padding-block: 140px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tbwt-contact .tbwt-contact__title { font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; color: #F7F4EE; }
.tbwt-contact .tbwt-contact__lede { font-size: clamp(17px, 1.5vw, 20px); color: #E6E1D8; }
.tbwt-contact .tbwt-contact__lede a { color: #F7F4EE; font-weight: 600; }
.tbwt-contact .tbwt-contact__actions { justify-content: center; margin-top: 10px; }
@media (max-width: 899px) { .tbwt-contact .tbwt-contact__inner { padding-block: 96px; } .tbwt-contact .tbwt-contact__actions { flex-direction: column; gap: 12px; } }

/* ---------- inner pages ---------- */
.tbwt-page-hero .tbwt-page-hero__inner { padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.tbwt-page-hero .tbwt-page-hero__title { max-width: 20ch; font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.tbwt-page-hero .tbwt-page-hero__lede { max-width: 52ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--tbwt-body); }
.tbwt-text .tbwt-text__inner { max-width: 860px; padding-block: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 18px; }
.tbwt-text + .tbwt-text .tbwt-text__inner { padding-top: 0; }
.tbwt-night + .tbwt-text .tbwt-text__inner, .tbwt-text.tbwt-night .tbwt-text__inner { padding-top: clamp(48px, 6vw, 88px); }
.tbwt-cta .tbwt-cta__inner { padding-block: clamp(64px, 8vw, 112px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.tbwt-cta .wp-block-buttons { justify-content: center; }
.tbwt-faq { display: flex; flex-direction: column; }
.tbwt-faq .wp-block-details { margin: 0; padding: 18px 0; border-top: 1px solid var(--tbwt-mist); }
.tbwt-faq .wp-block-details:last-child { border-bottom: 1px solid var(--tbwt-mist); }
.tbwt-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: 18px; }
.tbwt-faq .wp-block-details p { margin-top: 10px; color: var(--tbwt-body); }
.tbwt-split-section .tbwt-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; padding-block: clamp(48px, 6vw, 88px); }
.tbwt-split .tbwt-split__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tbwt-split .tbwt-split__side { flex: 1 1 360px; min-width: 0; }
.tbwt-section .tbwt-slot { min-height: 280px; padding: 28px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 10px; border: 1px dashed var(--tbwt-bronze); background: var(--tbwt-linen); text-align: center; }
.tbwt-section .tbwt-slot__title { font-family: var(--tbwt-sans); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tbwt-bronze-ink); }
.tbwt-section .tbwt-slot__note { font-size: 15px; color: var(--tbwt-body); }
.tbwt-prose-wrap .tbwt-author-card, .tbwt-author-card { margin-top: 56px; padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--tbwt-line); background: #FFFFFF; }
.tbwt-text .tbwt-text__inner.tbwt-text__inner--wide { max-width: 1200px; }
.tbwt-section .tbwt-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 14px; }
.tbwt-points .tbwt-point { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--tbwt-mist); }
.tbwt-points .tbwt-point__title { font-family: var(--tbwt-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--tbwt-bronze-ink); }
.tbwt-points .tbwt-point__text { color: var(--tbwt-body); }
.tbwt-section .tbwt-source { font-size: 13px; color: var(--tbwt-muted); }
.tbwt-section .wp-block-buttons.tbwt-book { margin-top: 10px; }
/* The brokerage name, placed directly beside or under a phone number or email address (Florida rule 61J2-10.025). */
.tbwt-section .tbwt-broker-line, .tbwt-prose-wrap .tbwt-broker-line { font-size: 14px; line-height: 1.5; color: var(--tbwt-muted); }
.tbwt-night .tbwt-broker-line, .tbwt-section.tbwt-contact .tbwt-broker-line { color: var(--tbwt-on-night); }
.tbwt-prose-wrap .tbwt-broker-line { margin-top: 10px; }
.tbwt-intro .tbwt-inline-links + .tbwt-broker-line { margin-top: -18px; }
/* A phone number never breaks across two lines. */
.tbwt-section a[href^="tel:"], .tbwt-prose-wrap a[href^="tel:"] { white-space: nowrap; }
/* Forms: a white card, and calm defaults for whatever form block is placed inside the page. */
.tbwt-section .tbwt-formcard { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--tbwt-line); border-radius: 4px; background: #FFFFFF; color: var(--tbwt-ink); text-align: left; }
.tbwt-section .tbwt-formcard:has(> .tbwt-slot) { padding: 0; border: 0; background: none; }
.tbwt-guide .tbwt-formcard { margin-top: 6px; }
:where(.tbwt-section, .tbwt-prose) :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--tbwt-mist); border-radius: 6px; background: #FFFFFF; color: var(--tbwt-ink); font: 400 16px/1.4 var(--tbwt-sans); }
:where(.tbwt-section, .tbwt-prose) :where(textarea) { min-height: 120px; }
:where(.tbwt-section, .tbwt-prose) :where(label, legend) { font-size: 15px; font-weight: 600; color: var(--tbwt-ink); }
/* The "From the blog" section (optional). */
.tbwt-latest-section .tbwt-wrap { padding-block: clamp(48px, 6vw, 88px); }
.tbwt-latest .wp-block-post-template { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.tbwt-latest .wp-block-post { padding-top: 18px; border-top: 1px solid var(--tbwt-mist); }
.tbwt-latest .tbwt-latest__title { margin: 0 0 6px; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; }
.tbwt-latest .tbwt-latest__title a { color: var(--tbwt-ink); text-decoration: none; }
.tbwt-latest .tbwt-latest__title a:hover { color: var(--tbwt-bronze-ink); }
.tbwt-latest .tbwt-post-date { font-size: 13px; color: var(--tbwt-muted); }
.tbwt-latest .wp-block-post-excerpt { margin-top: 8px; font-size: 15px; color: var(--tbwt-body); }
.tbwt-latest-section .tbwt-more { margin: 0; }
.tbwt-latest-section .tbwt-more a { color: var(--tbwt-bronze-ink); font-weight: 600; }

/* ---------- prose pages and the blog ---------- */
.tbwt-main .tbwt-prose-wrap { max-width: 760px; margin-inline: auto; padding: clamp(48px, 7vw, 96px) 20px; box-sizing: border-box; }
.tbwt-prose-wrap .tbwt-page-title { margin: 0 0 24px; font-family: var(--tbwt-serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; text-wrap: balance; }
.tbwt-prose-wrap .tbwt-post-date { margin-bottom: 24px; font-size: 14px; color: var(--tbwt-muted); }
.tbwt-prose-wrap .tbwt-post-image { margin: 0 0 32px; }
.tbwt-prose.tbwt-prose > * + * { margin-block-start: 1.15em; }
.tbwt-prose.tbwt-prose h2, .tbwt-prose.tbwt-prose h3 { margin-block-start: 1.6em; }
.tbwt-prose h2 { font-size: clamp(28px, 3vw, 40px); }
.tbwt-prose h3 { font-size: clamp(22px, 2.2vw, 28px); }
.tbwt-prose a { color: var(--tbwt-bronze-ink); }
.tbwt-posts .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tbwt-posts .wp-block-post { padding: 28px 0; border-top: 1px solid var(--tbwt-mist); }
.tbwt-posts .tbwt-posts__title { margin: 0 0 6px; font-size: clamp(24px, 2.4vw, 32px); }
.tbwt-posts .tbwt-posts__title a { color: var(--tbwt-ink); text-decoration: none; }
.tbwt-posts .tbwt-posts__title a:hover { color: var(--tbwt-bronze-ink); }

/* ---------- featured homes (optional): sideways only when the visitor swipes or taps ---------- */
.tbwt-featured-homes .tbwt-carousel { padding-block: clamp(56px, 7vw, 96px); }
.tbwt-carousel .tbwt-carousel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.tbwt-carousel .tbwt-carousel__title { display: flex; flex-direction: column; gap: 8px; }
.tbwt-carousel .tbwt-carousel__ctrl { display: flex; align-items: center; gap: 12px; }
.tbwt-carousel .tbwt-carousel__ctrl .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(247,244,238,.5); background: transparent; color: #F7F4EE; font-size: 14px; }
.tbwt-carousel .tbwt-carousel__count { min-width: 60px; text-align: center; font-size: 14px; color: var(--tbwt-on-night); font-variant-numeric: tabular-nums; }
.tbwt-carousel .tbwt-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 28px; padding-bottom: 10px; scrollbar-width: thin; }
.tbwt-carousel .tbwt-home { flex: 0 0 min(78%, 320px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; background: var(--tbwt-card); border: 1px solid rgba(207,201,190,.18); }
.tbwt-carousel .tbwt-home > :not(.tbwt-home__media) { padding-inline: 16px; }
.tbwt-carousel .tbwt-home__media { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 10px; background: linear-gradient(180deg, #2E3C4C, #0F1C2A); }
.tbwt-carousel .tbwt-home__ph { font-size: 13px; letter-spacing: .08em; color: var(--tbwt-on-night); }
.tbwt-carousel .tbwt-home__price { font-family: var(--tbwt-serif); font-size: 24px; }
.tbwt-carousel .tbwt-home__meta { font-size: 14px; color: var(--tbwt-on-night); }
.tbwt-carousel .tbwt-home__broker { margin-top: 8px; font-size: 12px; color: #B9B3A8; }

/* ---------- footer and phone bar ---------- */
.tbwt-footer { background: var(--tbwt-night-2); color: var(--tbwt-on-night); font-size: 14px; line-height: 1.6; }
.tbwt-footer a { color: var(--tbwt-on-night); }
.tbwt-footer a:hover { color: #F7F4EE; }
.tbwt-footer .tbwt-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 48px; padding-block: 72px 32px; }
.tbwt-footer .tbwt-footer__brand, .tbwt-footer .tbwt-footer__contact { display: flex; flex-direction: column; gap: 8px; }
.tbwt-footer .tbwt-footer__mono { color: #F7F4EE; font-weight: 600; letter-spacing: .42em; }
.tbwt-footer .tbwt-footer__name { color: #F7F4EE; font-family: var(--tbwt-serif); font-size: 22px; font-weight: 300; }
.tbwt-footer .tbwt-footer__bio { max-width: 34ch; }
.tbwt-footer .tbwt-footer__brokered { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; color: #F7F4EE; }
.tbwt-footer .tbwt-footer__who { max-width: 26ch; color: #F7F4EE; }
/* The theme's own logos (added by functions.php): the gold LPT Realty logo and the Equal Housing Opportunity mark. */
.tbwt-footer img.tbwt-logo--footer { display: block; width: 44px; height: 44px; }
.tbwt-footer img.tbwt-logo--eho { display: block; width: 39px; height: 36px; }
/* A logo placed by hand is an Image block. A standard logo sits on a small paper plate; tbwt-logo-plain shows a white logo as it is; tbwt-logo-invert turns a dark one-color logo white. */
.tbwt-footer .tbwt-footer__brokered .wp-block-image, .tbwt-footer .tbwt-footer__eho .wp-block-image { flex: none; line-height: 0; }
.tbwt-footer .tbwt-footer__brokered .wp-block-image img { display: block; height: 34px !important; width: auto !important; max-width: 180px; object-fit: contain; }
.tbwt-footer .tbwt-footer__eho .wp-block-image img { display: block; height: 40px !important; width: auto !important; max-width: 120px; object-fit: contain; }
.tbwt-footer .wp-block-image:not(.tbwt-logo-plain):not(.tbwt-logo-invert) { padding: 5px 9px; border-radius: 4px; background: var(--tbwt-paper); }
.tbwt-footer .wp-block-image.tbwt-logo-invert img { filter: brightness(0) invert(1); }
/* Only for a header or footer that was edited in the Site Editor under theme 1.0.0 (the dashed logo boxes are gone from 1.1.0). */
.tbwt-logo-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; height: 30px; padding: 0 8px; box-sizing: border-box; border: 1px dashed currentColor; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.tbwt-footer .tbwt-logo-slot { color: #F7F4EE; }
.tbwt-footer .tbwt-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; align-content: start; }
.tbwt-footer .tbwt-footer__links a, .tbwt-footer .tbwt-footer__contact a { display: inline-flex; align-items: center; min-height: 36px; }
.tbwt-footer .tbwt-footer__social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tbwt-footer .tbwt-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 20px 32px; border-top: 1px solid rgba(207,201,190,.25); font-size: 13px; }
.tbwt-footer .tbwt-footer__eho { display: flex; align-items: center; gap: 10px; }
.tbwt-footer .tbwt-logo-slot--eho { min-width: 132px; }
.wp-block-buttons.tbwt-mobilebar { display: none; }
@media (max-width: 899px) {
	.wp-block-buttons.tbwt-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(11,22,34,.96); border-top: 1px solid rgba(207,201,190,.25); }
	.tbwt-mobilebar .wp-block-button:first-child { flex: 1; }
	.tbwt-mobilebar .wp-block-button:first-child .wp-block-button__link { width: 100%; }
	.tbwt-mobilebar .tbwt-btn .wp-block-button__link { min-height: 52px; }
	.tbwt-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
	.tbwt-footer .tbwt-footer__grid { padding-block: 56px 24px; }
	/* No phone bar on the Privacy Policy page. */
	.tbwt-no-mobilebar .wp-block-buttons.tbwt-mobilebar { display: none; }
	.tbwt-no-mobilebar .tbwt-footer { padding-bottom: 0; }
}

/* ---------- Sticky Story motion (O3). Hidden states only while JavaScript runs; never with reduced motion. ---------- */
@media (prefers-reduced-motion: no-preference) {
	.tbwt-js .tbwt-reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--tbwt-ease) var(--tbwt-d, 0s), transform .9s var(--tbwt-ease) var(--tbwt-d, 0s); animation: tbwt-failsafe .01s linear 3s forwards; }
	.tbwt-js.tbwt-ready .tbwt-reveal { animation: none; }
	.tbwt-js .tbwt-reveal.is-in { opacity: 1; transform: none; }
	.tbwt-js.tbwt-static .tbwt-reveal { opacity: 1; transform: none; transition: none; }
}
@keyframes tbwt-failsafe { to { opacity: 1; transform: none; } }
.tbwt-depth-box { overflow: hidden; }

/* Steps light up with a bronze accent as they reach the middle of the screen. Text keeps full contrast. */
.tbwt-motion .tbwt-steps .tbwt-step { transition: border-color .35s; }
.tbwt-motion .tbwt-steps .tbwt-step__num { color: var(--tbwt-muted); transition: color .35s; }
.tbwt-motion .tbwt-steps .tbwt-step.is-active { border-top-color: var(--tbwt-bronze-ink); }
.tbwt-motion .tbwt-steps .tbwt-step.is-active .tbwt-step__num { color: var(--tbwt-bronze-ink); }
.tbwt-motion .tbwt-steps .tbwt-step__title { transition: color .35s; }
.tbwt-motion .tbwt-paper .tbwt-steps .tbwt-step:not(.is-active) .tbwt-step__title { color: var(--tbwt-body); }
.tbwt-motion .tbwt-steps.tbwt-timeline .tbwt-step::before { box-sizing: border-box; background: var(--tbwt-night); border: 1px solid var(--tbwt-bronze-light); transition: background-color .35s, transform .35s; }
.tbwt-motion .tbwt-steps.tbwt-timeline .tbwt-step.is-active::before { background: var(--tbwt-bronze-light); transform: scale(1.4); }
.tbwt-motion .tbwt-steps.tbwt-timeline .tbwt-step:not(.is-active) .tbwt-step__title { color: var(--tbwt-on-night); }
.tbwt-motion .tbwt-steps.tbwt-timeline .tbwt-step.is-active .tbwt-step__title { color: var(--tbwt-bronze-light); }

/* ---------- print and "Save as PDF": every word shows, nothing floats over the page ---------- */
@media print {
	.tbwt-js .tbwt-reveal, .tbwt-js.tbwt-ready .tbwt-reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
	.tbwt-section, .tbwt-header, .tbwt-footer, .tbwt-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.wp-block-buttons.tbwt-mobilebar, .tbwt-check, .tbwt-hero .tbwt-hero__pause { display: none !important; }
	.wp-block-template-part.tbwt-header-wrap:not(.tbwt-header-wrap--overlay) { position: static !important; }
	.tbwt-ready .wp-block-template-part.tbwt-header-wrap--overlay.is-stuck { position: absolute !important; animation: none !important; }
	.tbwt-hero .tbwt-hero__content { transform: none !important; }
	.tbwt-footer { padding-bottom: 0 !important; }
	/* Rows that swipe sideways on a phone print as a grid, so every card is on the paper. */
	.tbwt-communities .tbwt-cards, .tbwt-carousel .tbwt-carousel__track { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; overflow: visible !important; margin-inline: 0 !important; padding-inline: 0 !important; }
}

/* ---------- forms inside the form card (theme 1.2.1) ----------
   The forms are Jetpack Form blocks. Element selectors carry the look, so it holds if Jetpack renames its classes. */
.tbwt-formcard form { margin: 0; }
.tbwt-formcard .wp-block-jetpack-contact-form, .tbwt-formcard form.contact-form { display: flex; flex-direction: column; gap: 18px; padding: 0; }
.tbwt-formcard .grunion-field-wrap { width: 100%; margin: 0; padding: 0; }
.tbwt-formcard label, .tbwt-formcard legend { display: block; float: none; margin: 0 0 6px; padding: 0; font-family: var(--tbwt-sans); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--tbwt-ink); }
.tbwt-formcard .grunion-label-required { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--tbwt-muted); }
.tbwt-formcard input[type="text"], .tbwt-formcard input[type="email"], .tbwt-formcard input[type="tel"], .tbwt-formcard input[type="url"], .tbwt-formcard input[type="number"], .tbwt-formcard textarea, .tbwt-formcard select {
	box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 11px 14px; border: 1px solid var(--tbwt-mist); border-radius: 3px; background: #FFFFFF; color: var(--tbwt-ink); font-family: var(--tbwt-sans); font-size: 16px; line-height: 1.4; box-shadow: none; }
.tbwt-formcard textarea { height: 132px; min-height: 96px; resize: vertical; }
.tbwt-formcard input:focus-visible, .tbwt-formcard textarea:focus-visible, .tbwt-formcard select:focus-visible { outline: 2px solid var(--tbwt-bronze-ink); outline-offset: 2px; border-color: var(--tbwt-bronze-ink); }
.tbwt-formcard fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tbwt-formcard fieldset p, .tbwt-formcard p.contact-form-field { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 5px 0; }
.tbwt-formcard input[type="radio"], .tbwt-formcard input[type="checkbox"] { flex: none; width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--tbwt-night); }
.tbwt-formcard fieldset label, .tbwt-formcard label.grunion-radio-label, .tbwt-formcard label.grunion-checkbox-multiple-label, .tbwt-formcard label.grunion-checkbox-label { display: block; min-width: 0; margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--tbwt-body); }
.tbwt-formcard .wp-block-jetpack-button { width: 100%; margin: 4px 0 0; }
.tbwt-formcard button[type="submit"], .tbwt-formcard .wp-block-jetpack-button .wp-block-button__link { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 0; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; background: var(--tbwt-bronze-ink); color: #FFFFFF; font-family: var(--tbwt-sans); font-size: 17px; font-weight: 600; line-height: 1.1; text-align: center; cursor: pointer; transition: background-color .2s ease; }
.tbwt-formcard button[type="submit"]:hover, .tbwt-formcard .wp-block-jetpack-button .wp-block-button__link:hover { background: var(--tbwt-ink); color: #FFFFFF; }
.tbwt-formcard button[type="submit"]:focus-visible { outline: 2px solid var(--tbwt-ink); outline-offset: 3px; }
.tbwt-formcard .contact-form-submission, .tbwt-formcard .contact-form__error { font-family: var(--tbwt-sans); color: var(--tbwt-ink); }
.tbwt-formcard a { color: var(--tbwt-bronze-ink); }
@media (prefers-reduced-motion: reduce) { .tbwt-formcard button[type="submit"], .tbwt-formcard .wp-block-jetpack-button .wp-block-button__link { transition: none; } }
