/*
 * Jacob Blackford final brand system
 * Centralized colors, typography, controls, and responsive safeguards.
 */
:root {
  --jb-blush: #F6D2D4;
  --jb-ink: #1F2D3A;
  --jb-ivory: #FAF7F2;
  --jb-slate: #61737B;
  --jb-bronze: #AD8B56;
  --jb-graphite: #292827;
  --jb-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --jb-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --jb-font-accent: "Marcellus", Georgia, serif;
}

html:root {
  --jb-forest: var(--jb-ink);
  --jb-warm: var(--jb-ivory);
  --jb-charcoal: var(--jb-graphite);
  --jb-sage: var(--jb-slate);
  --jb-gold: var(--jb-bronze);
}
html { background: var(--jb-ivory); }
body,
button,
input,
select,
textarea,
.wp-site-blocks,
.jb-page {
  color: var(--jb-graphite) !important;
  background-color: var(--jb-ivory) !important;
  font-family: var(--jb-font-body) !important;
}

body,
p,
li,
label,
input,
select,
textarea {
  line-height: 1.65;
}

h1,
h2,
h3,
.jb-property-price,
.jb-proof strong,
.jb-stat strong,
.wp-block-heading {
  color: var(--jb-ink) !important;
  font-family: var(--jb-font-display) !important;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2.15rem, 4vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }

h1 em,
h2 em,
h3 em,
.jb-accent {
  font-family: var(--jb-font-accent);
  font-style: italic;
  font-weight: 500;
}

p,
li,
.jb-lead,
.jb-lead-sm,
.jb-card,
.jb-tab,
.jb-area-tab,
.jb-market-tab,
.wp-block-navigation,
.wp-block-button,
.wpforms-container,
footer {
  font-family: var(--jb-font-body);
}

a {
  color: var(--jb-ink);
  text-decoration-color: var(--jb-bronze);
  text-underline-offset: .18em;
}
a:hover { color: var(--jb-slate); }

.jb-eyebrow,
.jb-kicker,
.jb-label {
  color: var(--jb-slate);
  font-family: var(--jb-font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jb-section,
.wp-site-blocks {
  background-color: var(--jb-ivory);
}

.jb-section-dark,
.jb-footer,
footer,
.wp-block-template-part footer {
  background-color: var(--jb-ink) !important;
  color: var(--jb-ivory);
}

.jb-section-dark h1,
.jb-section-dark h2,
.jb-section-dark h3,
.jb-section-dark p,
.jb-section-dark li,
.jb-footer a,
footer a,
.wp-block-template-part footer a {
  color: var(--jb-ivory);
}

.jb-section-blush,
.jb-proof,
.jb-quote,
.jb-featured-card,
[aria-selected="true"],
.is-selected {
  background-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}

.jb-section-blush h1,
.jb-section-blush h2,
.jb-section-blush h3,
.jb-section-blush p,
.jb-section-blush a,
.jb-proof strong,
.jb-proof span,
.jb-quote,
.jb-featured-card {
  color: var(--jb-ink) !important;
}

.jb-card,
.jb-service-card,
.jb-property-card,
.jb-neighborhood-card,
.jb-area-card,
.wpforms-container form {
  background: #fff;
  color: var(--jb-graphite);
  border-color: color-mix(in srgb, var(--jb-ink) 18%, transparent);
}

.jb-card h1,
.jb-card h2,
.jb-card h3,
.jb-service-card h3,
.jb-property-card h2,
.jb-neighborhood-card h3,
.jb-area-card h3,
.wpforms-container label {
  color: var(--jb-ink) !important;
}

/* Preserve WPForms anti-spam fields while keeping them out of the visible layout. */
#wpforms-101-field_10-container,
#wpforms-105-field_9-container {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.jb-btn,
.wp-block-button__link,
button,
input[type="submit"],
.wpforms-submit {
  border-radius: 999px;
  font-family: var(--jb-font-body) !important;
  font-weight: 700;
  letter-spacing: .015em;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.jb-btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wpforms-submit,
input[type="submit"] {
  background: var(--jb-blush) !important;
  border-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}

.jb-btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wpforms-submit:hover,
input[type="submit"]:hover {
  background: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

.jb-btn-dark,
.jb-btn-secondary {
  background: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

.jb-btn-outline,
.jb-btn-outline-light,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ink) !important;
}

.jb-section-dark .jb-btn-outline-light {
  border-color: var(--jb-ivory) !important;
  color: var(--jb-ivory) !important;
}

:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid var(--jb-bronze) !important;
  outline-offset: 3px !important;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--jb-slate);
  color: var(--jb-graphite);
}

.jb-page :is(input, select, textarea, button) {
  font-size: max(16px, 1rem);
}

.jb-page,
.jb-container,
.jb-card,
.jb-form-card {
  overflow-wrap: anywhere;
}

.jb-page .jb-card-number,
.jb-page .jb-value-grid span,
.jb-page .jb-process-grid span,
.jb-page .jb-check-list li::before {
  color: #80651f !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--jb-slate);
  opacity: 1;
}

.jb-market-data,
.jb-data-card,
.jb-secondary,
.jb-listing-disclosure {
  color: var(--jb-slate);
}

.jb-property-grid {
  align-items: start;
}

.jb-property-entry {
  min-width: 0;
}

.jb-property-entry .jb-listing-disclosure {
  margin: 1rem 0 0;
}

.jb-divider,
hr {
  border-color: var(--jb-bronze);
}

header,
.wp-block-template-part header {
  font-family: var(--jb-font-body);
}

header .custom-logo,
header .wp-block-site-logo img,
footer .custom-logo,
footer .wp-block-site-logo img,
.jb-owned-logo {
  height: auto;
  max-width: 100%;
}

.jb-header-logo .jb-owned-logo {
  display: block;
  width: min(100%, 560px);
}

.jb-footer-logo,
footer .jb-owned-logo {
  display: block;
  width: min(100%, 420px);
}

/* Keep every permanent area-guide photograph consistent on desktop without changing mobile behavior. */
@media (min-width: 783px) {
  html body .jb-page .jb-community-hero-media {
    width: 100%;
    height: clamp(420px, 42vw, 560px);
    aspect-ratio: auto;
    overflow: hidden;
  }

  html body .jb-page .jb-community-hero-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: var(--jb-area-hero-position, 50% 50%);
  }
}

@media (max-width: 782px) {
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .jb-proof-grid,
  .jb-property-grid {
    grid-template-columns: 1fr !important;
  }
  .jb-btn,
  .wp-block-button__link {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jb-page *,
  .jb-site-header *,
  .jb-footer * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Final specificity layer for legacy page-level styles. */
html body,
html body .wp-site-blocks,
html body .jb-page {
  background-color: var(--jb-ivory) !important;
  color: var(--jb-graphite) !important;
  font-family: var(--jb-font-body) !important;
}

html body .jb-page h1,
html body .jb-page h2,
html body .jb-page h3,
html body .wp-block-heading {
  color: var(--jb-ink) !important;
  font-family: var(--jb-font-display) !important;
}

html body .jb-page .jb-section-dark,
html body .jb-page .jb-subhero,
html body .jb-page .jb-hero {
  background-color: var(--jb-ink);
}

html body .jb-page .jb-section-dark h1,
html body .jb-page .jb-section-dark h2,
html body .jb-page .jb-section-dark h3,
html body .jb-page .jb-subhero h1,
html body .jb-page .jb-subhero h2,
html body .jb-page .jb-hero h1,
html body .jb-page .jb-hero h2 {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-btn-primary,
html body .jb-page .wpforms-submit,
html body .jb-page input[type="submit"] {
  background-color: var(--jb-blush) !important;
  border-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-btn-primary:hover,
html body .jb-page .jb-btn-primary:focus-visible,
html body .jb-page .wpforms-submit:hover,
html body .jb-page .wpforms-submit:focus-visible {
  background-color: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

/* Remove the retired green palette from all owned interface elements. */
html body .jb-site-header,
html body header .wp-block-navigation__responsive-container.is-menu-open,
html body footer,
html body .jb-footer {
  background-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-site-header a,
html body .jb-site-header button,
html body .jb-site-header .wp-block-navigation-item__content,
html body footer a,
html body footer p,
html body footer li,
html body .jb-footer a,
html body .jb-footer p,
html body .jb-footer li {
  color: var(--jb-ivory) !important;
  border-color: transparent !important;
}

html body .jb-footer h3 {
  color: var(--jb-ivory) !important;
}

html body .jb-footer .jb-social-monogram {
  color: var(--jb-ink) !important;
}

html body .jb-site-header .jb-header-utility {
  background-color: var(--jb-blush) !important;
  border-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}

html body .jb-site-header .wp-block-navigation__submenu-container {
  background-color: var(--jb-ivory) !important;
  border-color: color-mix(in srgb, var(--jb-ink) 20%, transparent) !important;
}

html body .jb-site-header .wp-block-navigation__submenu-container a,
html body .jb-site-header .wp-block-navigation__submenu-container span,
html body .jb-site-header .wp-block-navigation__submenu-container button {
  color: var(--jb-ink) !important;
}

html body .jb-page p,
html body .jb-page li,
html body .jb-page dd,
html body .jb-page dt,
html body .jb-page span,
html body .jb-page td,
html body .jb-page th {
  color: var(--jb-graphite) !important;
}

html body .jb-page a,
html body .jb-page .jb-text-link {
  color: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark,
html body .jb-page .jb-hero,
html body .jb-page .jb-subhero,
html body .jb-page .jb-cta {
  background-color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark p,
html body .jb-page .jb-section-dark li,
html body .jb-page .jb-section-dark span,
html body .jb-page .jb-section-dark a,
html body .jb-page .jb-hero p,
html body .jb-page .jb-hero span,
html body .jb-page .jb-subhero p,
html body .jb-page .jb-subhero span,
html body .jb-page .jb-cta p,
html body .jb-page .jb-cta span {
  color: var(--jb-ivory) !important;
  border-color: color-mix(in srgb, var(--jb-ivory) 35%, transparent) !important;
}

html body .jb-page .jb-card,
html body .jb-page .jb-service-card,
html body .jb-page .jb-property-card,
html body .jb-page .jb-neighborhood-card,
html body .jb-page .jb-area-card,
html body .jb-page .jb-section-dark .jb-card,
html body .jb-page .jb-section-dark .jb-service-card {
  background-color: #fff !important;
  border-color: color-mix(in srgb, var(--jb-ink) 18%, transparent) !important;
  color: var(--jb-graphite) !important;
}

html body .jb-page .jb-card p,
html body .jb-page .jb-card li,
html body .jb-page .jb-card span,
html body .jb-page .jb-service-card p,
html body .jb-page .jb-service-card li,
html body .jb-page .jb-service-card span,
html body .jb-page .jb-property-card p,
html body .jb-page .jb-property-card span,
html body .jb-page .jb-neighborhood-card p,
html body .jb-page .jb-area-card p {
  color: var(--jb-graphite) !important;
}

html body .jb-page .jb-section-blush,
html body .jb-page .jb-proof,
html body .jb-page [aria-selected="true"],
html body .jb-page .is-selected {
  background-color: var(--jb-blush) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-blush p,
html body .jb-page .jb-section-blush li,
html body .jb-page .jb-section-blush span,
html body .jb-page .jb-section-blush a,
html body .jb-page .jb-proof p,
html body .jb-page .jb-proof span,
html body .jb-page .jb-proof a {
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-btn-light {
  background-color: var(--jb-ivory) !important;
  border-color: var(--jb-ivory) !important;
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-btn-outline {
  background-color: transparent !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark .jb-btn-outline,
html body .jb-page .jb-hero .jb-btn-outline-light,
html body .jb-page .jb-subhero .jb-btn-outline-light {
  border-color: var(--jb-ivory) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-page input,
html body .jb-page select,
html body .jb-page textarea {
  border-color: var(--jb-slate) !important;
  color: var(--jb-graphite) !important;
}

html body .jb-page .jb-market-data,
html body .jb-page .jb-data-card,
html body .jb-page .jb-listing-disclosure,
html body .jb-page .jb-eyebrow {
  color: var(--jb-slate) !important;
}

html body .jb-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
html body .jb-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label,
html body .jb-site-header .jb-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
html body .jb-site-header .jb-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label,
html body .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
html body .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark .jb-eyebrow,
html body .jb-page .jb-hero .jb-eyebrow,
html body .jb-page .jb-subhero .jb-eyebrow,
html body .jb-page .jb-cta .jb-eyebrow,
html body .jb-page .jb-contact-hero .jb-eyebrow,
html body .jb-page .jb-contact-hero > .jb-container.jb-split > div:first-child > .jb-eyebrow,
html body .jb-page .jb-contact-hero .jb-form-card > .jb-eyebrow,
html body .jb-page .jb-contact-hero .jb-contact-list span,
html body .jb-page .jb-contact-hero h1 em {
  color: var(--jb-blush) !important;
}

html body .jb-page .jb-social-panel {
  background-color: var(--jb-ink) !important;
  border-color: color-mix(in srgb, var(--jb-ivory) 35%, transparent) !important;
}

html body .jb-page .jb-social-panel :where(h2, h3, p, a, span, strong, small, em) {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-property-card .jb-text-link,
html body .jb-page .jb-card .jb-text-link,
html body .jb-page .jb-service-card .jb-text-link {
  color: var(--jb-ink) !important;
}

/* Final legacy-color remap for deeply nested page modules. */
html body .jb-page :where(section, article, div, p, li, span, strong, small, em, h4, td, th, label) {
  border-color: color-mix(in srgb, var(--jb-ink) 18%, transparent) !important;
  color: var(--jb-graphite) !important;
}

html body .jb-page :where(a, button, [role="tab"]) {
  color: var(--jb-ink) !important;
}

html body .jb-page :is(.jb-section-dark, .jb-hero, .jb-subhero, .jb-cta) :where(div, p, li, span, strong, small, em, h4, label) {
  border-color: color-mix(in srgb, var(--jb-ivory) 35%, transparent) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-page :is(.jb-section-dark, .jb-hero, .jb-subhero, .jb-cta) :where(.jb-card, .jb-service-card, .jb-property-card, .jb-neighborhood-card, .jb-area-card) :where(div, p, li, span, strong, small, em, h4, label) {
  border-color: color-mix(in srgb, var(--jb-ink) 18%, transparent) !important;
  color: var(--jb-graphite) !important;
}

html body .jb-page :is(.jb-section-blush, .jb-proof, [aria-selected="true"], .is-selected) :where(div, p, li, span, strong, small, em, h4, label) {
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-eyebrow {
  color: var(--jb-slate) !important;
}

html body .jb-page :is(.jb-section-dark, .jb-hero, .jb-subhero, .jb-cta) .jb-eyebrow {
  color: var(--jb-blush) !important;
}

html body .jb-page .jb-btn-primary,
html body .jb-page .wpforms-submit,
html body .jb-page input[type="submit"] {
  background-color: var(--jb-blush) !important;
  border-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}

/* Final component corrections. Keep these scoped while legacy rules are consolidated. */
body:has(.jb-community-hero) main#wp--skip-link--target > .wp-block-group:has(> .wp-block-post-featured-image) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body:has(.jb-community-hero) main#wp--skip-link--target > .wp-block-group > .wp-block-post-featured-image {
  display: none !important;
}

/* Use clean photography without color overlays. */
html body .jb-page .jb-home-hero {
  background-image: url("https://jacobblackford.com/wp-content/uploads/2026/09/71146880-Seattle-skyline-at-dawn-on-a-winter-day-in-February-edited.jpg") !important;
}

html body .jb-page .jb-sell-hero {
  background-image: url("https://jacobblackford.com/wp-content/uploads/2026/09/seattle-at-sunset-1.webp") !important;
}

html body .jb-page .jb-buy-hero {
  background-image: url("https://jacobblackford.com/wp-content/uploads/2026/09/71146880-Seattle-skyline-at-dawn-on-a-winter-day-in-February.jpg") !important;
}

html body .jb-page .jb-areas-hero {
  background-image: url("https://jacobblackford.com/wp-content/uploads/2026/09/seattle-at-sunset.webp") !important;
}

/* Keep copy and untinted photography in separate areas for readable contrast. */
html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) {
  background-image: none !important;
  background-color: var(--jb-ink) !important;
  position: relative;
  min-height: 640px;
  padding: 76px 0;
}
html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero)::before {
  content: "";
  position: absolute;
  inset: 0 0 0 54%;
  background: var(--jb-hero-photo) center / cover no-repeat;
}
html body .jb-page .jb-home-hero { --jb-hero-photo: url("https://jacobblackford.com/wp-content/uploads/2026/09/71146880-Seattle-skyline-at-dawn-on-a-winter-day-in-February-edited.jpg"); }
html body .jb-page .jb-sell-hero { --jb-hero-photo: url("https://jacobblackford.com/wp-content/uploads/2026/09/seattle-at-sunset-1.webp"); }
html body .jb-page .jb-buy-hero { --jb-hero-photo: url("https://jacobblackford.com/wp-content/uploads/2026/09/71146880-Seattle-skyline-at-dawn-on-a-winter-day-in-February.jpg"); }
html body .jb-page .jb-areas-hero { --jb-hero-photo: url("https://jacobblackford.com/wp-content/uploads/2026/09/seattle-at-sunset.webp"); }
html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) .jb-hero-copy {
  position: relative;
  width: 49%;
  max-width: 630px;
}
html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) h1 {
  font-size: clamp(2.8rem,4.3vw,4.9rem);
  text-shadow: none;
}
@media(max-width:780px) {
  html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) {
    padding: 310px 0 56px;
    min-height: 0;
  }
  html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero)::before {
    inset: 0 0 auto;
    height: 270px;
  }
  html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) .jb-hero-copy { width: 100%; max-width: none; }
}

html body .jb-page :is(.jb-community-hero-media, .jb-area-card-image, .jb-property-card) img {
  filter: brightness(1.04) contrast(1.06) saturate(1.03);
  image-rendering: auto;
}

html body .jb-page :is(.jb-section-dark, .jb-hero, .jb-subhero, .jb-cta) :is(h1, h2, h3),
html body .jb-page .jb-cta h2 {
  color: var(--jb-ivory) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

html body .jb-page :is(.jb-section-dark, .jb-hero, .jb-subhero, .jb-cta) :is(.jb-card, .jb-service-card, .jb-property-card, .jb-neighborhood-card, .jb-area-card) :is(h1, h2, h3, a),
html body .jb-page .jb-property-card :is(h2, h3, a, .jb-listing-broker-email) {
  color: var(--jb-ink) !important;
  text-shadow: none;
}

/* Restore every dark button label after the broad legacy link rule. */
html body .jb-page :is(.jb-btn-dark, .jb-btn-secondary),
html body .jb-page .jb-section-blush a.jb-btn-dark,
html body .jb-page .jb-section-blush :is(.jb-btn-outline, .jb-btn-secondary),
html body .jb-page .jb-proof :is(.jb-btn-outline, .jb-btn-secondary) {
  background-color: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-page :is(.jb-btn-dark, .jb-btn-secondary):hover,
html body .jb-page :is(.jb-btn-dark, .jb-btn-secondary):focus-visible,
html body .jb-page .jb-section-blush :is(.jb-btn-outline, .jb-btn-secondary):hover,
html body .jb-page .jb-section-blush :is(.jb-btn-outline, .jb-btn-secondary):focus-visible,
html body .jb-page .jb-proof :is(.jb-btn-outline, .jb-btn-secondary):hover,
html body .jb-page .jb-proof :is(.jb-btn-outline, .jb-btn-secondary):focus-visible {
  background-color: var(--jb-ivory) !important;
  color: var(--jb-ink) !important;
}

/* Homepage area cards are real links with a complete hover and focus state. */
html body .jb-page .jb-area-grid a,
html body .jb-page .jb-section-blush .jb-area-grid a.jb-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 22px 16px;
  border: 1px solid color-mix(in srgb, var(--jb-ink) 20%, transparent) !important;
  background: color-mix(in srgb, var(--jb-ivory) 82%, white) !important;
  color: var(--jb-ink) !important;
  font-family: var(--jb-font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

html body .jb-page .jb-area-grid a:hover,
html body .jb-page .jb-area-grid a:focus-visible,
html body .jb-page .jb-section-blush .jb-area-grid a.jb-btn-outline:hover,
html body .jb-page .jb-section-blush .jb-area-grid a.jb-btn-outline:focus-visible {
  background: var(--jb-blush) !important;
  border-color: var(--jb-ink) !important;
  transform: translateY(-2px);
}

/* Give long local guides an editorial reading rhythm. */
html body .jb-page .jb-richtext > p {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  white-space: pre-line;
}

html body .jb-page .jb-richtext :is(p, li) a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

html body .jb-page .jb-richtext > :is(h2, h3) {
  margin: 2.6rem 0 0.9rem;
  line-height: 1.12;
}

html body .jb-page .jb-richtext > table + :is(h2, h3),
html body .jb-page .jb-richtext > p + :is(h2, h3),
html body .jb-page .jb-richtext > ul + :is(h2, h3),
html body .jb-page .jb-richtext > ol + :is(h2, h3) {
  margin-top: 3rem;
}

html body .jb-page .jb-richtext > table {
  width: 100%;
  margin: 1rem 0 2.5rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

html body .jb-page .jb-richtext > table :is(th, td) {
  padding: 16px 18px;
  vertical-align: top;
  word-break: normal;
  overflow-wrap: break-word;
}

/* The consultation band is a single brand color, never a green gradient. */
html body .jb-page .jb-cta {
  background: var(--jb-ink) !important;
  background-image: none !important;
}

/* Reduce footer height while retaining navigation and required information. */
html body .jb-footer {
  padding-top: 48px;
  padding-bottom: 20px;
}

html body .jb-footer .jb-footer-grid {
  gap: 38px;
}

html body .jb-footer .jb-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
}

html body .jb-footer .jb-owned-logo {
  width: min(100%, 320px);
}

html body .jb-footer .jb-social-links {
  gap: 0.4rem;
  margin-top: 0.8rem;
}

html body .jb-footer .jb-social-links a {
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.42rem 0.58rem;
  font-size: 0.78rem;
}

html body .jb-footer .jb-social-monogram {
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.7rem;
}

@media (max-width: 680px) {
  html body .jb-page :is(.jb-home-hero, .jb-sell-hero, .jb-buy-hero, .jb-areas-hero) {
    background-position: center center;
  }

  html body .jb-page .jb-richtext > p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  html body .jb-page .jb-richtext > :is(h2, h3) {
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;
  }

  html body .jb-page .jb-richtext > table {
    display: block;
    margin-bottom: 2.25rem;
  }

  html body .jb-page .jb-richtext > table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  html body .jb-page .jb-richtext > table :is(tbody, tr, td) {
    display: block;
    width: 100%;
  }

  html body .jb-page .jb-richtext > table tr {
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--jb-ink) 18%, transparent);
    background: #fff;
  }

  html body .jb-page .jb-richtext > table td {
    padding: 0;
    font-size: 1rem;
    line-height: 1.55;
  }

  html body .jb-page .jb-richtext > table td:first-child {
    margin-bottom: 8px;
    color: var(--jb-ink) !important;
    font-family: var(--jb-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  html body .jb-page .jb-area-grid a {
    min-height: 74px;
    padding: 18px 10px;
    font-size: 1.18rem;
  }

  html body .jb-footer {
    padding-top: 36px;
    padding-bottom: 18px;
  }

  html body .jb-footer .jb-footer-grid {
    gap: 24px;
  }

  html body .jb-footer .jb-footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
  }

  html body .jb-footer .jb-owned-logo {
    width: min(100%, 270px);
  }

  html body .jb-footer .jb-social-links a {
    min-height: 36px;
    padding: 0.38rem 0.52rem;
    font-size: 0.74rem;
  }
}

/* Component source corrections identified during cross-page QA. */
html body .jb-page .jb-section-dark [role="tab"] {
  background: #fffdfa !important;
  border-color: color-mix(in srgb, var(--jb-ink) 24%, transparent) !important;
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark [role="tab"] * {
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark [role="tab"][aria-selected="true"] {
  background: var(--jb-blush) !important;
  border-color: var(--jb-blush) !important;
}

html body .jb-page .jb-section-dark [role="tabpanel"] {
  background: #fffdfa !important;
  color: var(--jb-graphite) !important;
}

html body .jb-page .jb-section-dark [role="tabpanel"] :is(h2, h3, h4, strong, .jb-market-kicker) {
  color: var(--jb-ink) !important;
}

html body .jb-page .jb-section-dark [role="tabpanel"] :is(p, span, small, em, li) {
  color: var(--jb-graphite) !important;
}
html body.page-id-292 .jb-page .jb-market-panel .jb-market-links a {
  color: var(--jb-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em;
}
html body .jb-page .jb-contact-hero .jb-form-card :is(h2,h3,p,label,span,small,li,a,.jb-eyebrow,.wpforms-field-description) {
  color: var(--jb-ink) !important;
  text-shadow: none !important;
}
html body .jb-page .jb-contact-hero .jb-contact-list a {
  color: var(--jb-ivory) !important;
}
html body .jb-page .jb-social-panel .jb-social-monogram {
  color: var(--jb-ink) !important;
}
html body .jb-page .jb-social-panel .jb-eyebrow {
  color: var(--jb-blush) !important;
}
html body .jb-page .jb-section-dark .jb-review:not(.jb-review-dark) :is(p,cite,a,span) {
  color: var(--jb-ink) !important;
  text-shadow: none;
}
html body .entry-content :is(p,li,td) a:not(.jb-btn):not(.jb-cash-btn),
html body .jb-page .jb-breadcrumb a,
html body .jb-page .jb-dining-card > a {
  text-decoration: underline !important;
  text-underline-offset: .18em;
}

html body .jb-page .jb-section-dark .jb-property-card .jb-actions a.jb-btn.jb-btn-dark,
html body .jb-page .jb-property-card .jb-actions a.jb-btn.jb-btn-dark {
  background: var(--jb-ink) !important;
  border-color: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-property-card > .jb-eyebrow {
  color: var(--jb-ink) !important;
}

html body.page-id-375 main > .wp-block-group,
html body.page-id-31 main > .wp-block-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html body.page-id-375 .wp-block-post-featured-image,
html body.page-id-31 .wp-block-post-featured-image {
  display: none !important;
}

html body .jb-page .jb-about-hero :is(p, strong, span) {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-events-hero :is(h1, h2, h3, p, em, strong, span) {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-events-hero .jb-eyebrow {
  color: var(--jb-blush) !important;
}

html body .jb-page .jb-event-date,
html body .jb-page .jb-event-date * {
  background: var(--jb-ink) !important;
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-insight-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 62vw, 760px);
  overflow: hidden;
  background: var(--jb-ink);
}

html body .jb-page .jb-insight-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

html body .jb-page .jb-insight-hero img {
  display: block;
  width: 100%;
  height: 100%;
  filter: none !important;
  object-fit: cover;
  object-position: center 48%;
}

html body .jb-page .jb-insight-hero-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 8px;
  background: rgba(31, 45, 58, 0.88);
  color: var(--jb-ivory) !important;
  font-size: 0.68rem;
  line-height: 1.3;
}

html body .jb-page .jb-insight-hero-media figcaption a {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-insight-hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, calc(100% - 64px)) !important;
  margin: 0 auto 46px;
  padding: 30px 34px;
  background: rgba(31, 45, 58, 0.96);
  box-shadow: 16px 16px 0 var(--jb-blush);
}

html body .jb-page .jb-insight-hero-content :is(h1, p, span, a) {
  color: var(--jb-ivory) !important;
}

html body .jb-page .jb-insight-hero-content .jb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin: 0.8rem 0 1rem;
}

html body .jb-page .jb-insight-hero-content .jb-article-meta span {
  color: var(--jb-blush) !important;
}

html body .jb-page .jb-insight-hero-content h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.9rem, 5vw, 4.5rem);
}

html body .jb-page .jb-insight-hero-content .jb-lead p {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.55;
}

html body.postid-196 main#wp--skip-link--target {
  margin-top: 0 !important;
}

html body.postid-196 main#wp--skip-link--target > .wp-block-group:has(> .wp-block-post-title) {
  padding-top: 0 !important;
}

html body.postid-196 main#wp--skip-link--target > .wp-block-group:has(> .wp-block-post-title) > .wp-block-post-title,
html body.postid-196 main#wp--skip-link--target > .wp-block-group:has(> .wp-block-post-title) > .has-small-font-size.is-layout-flex {
  display: none !important;
}

html body .jb-page .jb-properties-hero {
  background-color: var(--jb-ink) !important;
  background-image: none !important;
}

html body.page-id-382 .jb-cta {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

@media (max-width: 680px) {
  html body.postid-196 main#wp--skip-link--target,
  html body.postid-196 main#wp--skip-link--target > .wp-block-group,
  html body.postid-196 .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body.postid-196 .jb-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow-x: clip !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero {
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: var(--jb-ivory) !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 54% !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-media figcaption {
    position: absolute !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    max-width: calc(100% - 16px) !important;
    padding: 4px 7px !important;
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content {
    position: relative !important;
    width: calc(100% - 32px) !important;
    margin: -24px auto 38px !important;
    padding: 24px 20px 26px !important;
    background: var(--jb-ink) !important;
    box-shadow: 8px 8px 0 var(--jb-blush) !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content .jb-breadcrumb {
    display: block !important;
    margin: 0 0 12px !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content .jb-article-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    margin: 0 0 14px !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content .jb-article-meta span {
    display: block !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content h1 {
    margin: 0 0 16px !important;
    font-size: clamp(2.15rem, 10.5vw, 2.85rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.postid-196 .jb-page .jb-insight-hero-content .jb-lead p {
    margin: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  html body.page-id-382 .jb-cta {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

html body .jb-local-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin: clamp(52px, 8vw, 88px) 0;
  padding: clamp(24px, 4vw, 42px);
  background: var(--jb-blush);
  color: var(--jb-ink);
}

html body .jb-local-feature figure {
  margin: 0;
}

html body .jb-local-feature figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1374 / 752;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  opacity: 1 !important;
}

html body .jb-local-feature figcaption {
  margin-top: 8px;
  color: var(--jb-graphite);
  font-size: 0.75rem;
}

html body .jb-local-feature-copy h2 {
  margin-top: 8px;
  color: var(--jb-ink) !important;
}

html body .jb-local-feature-copy p,
html body .jb-local-feature-copy a {
  color: var(--jb-graphite);
}

@media (max-width: 760px) {
  html body.postid-196 .jb-local-feature {
    display: block !important;
    width: 100% !important;
    margin: 48px 0 !important;
    padding: 0 0 24px !important;
    overflow: hidden !important;
    background: var(--jb-blush) !important;
  }

  html body.postid-196 .jb-local-feature figure {
    width: 100% !important;
    margin: 0 0 22px !important;
  }

  html body.postid-196 .jb-local-feature figure img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.postid-196 .jb-local-feature figcaption {
    margin: 7px 18px 0 !important;
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
  }

  html body.postid-196 .jb-local-feature-copy {
    padding: 0 20px !important;
  }

  html body.postid-196 .jb-local-feature-copy h2 {
    margin: 8px 0 14px !important;
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 1.02 !important;
  }

  html body.postid-196 .jb-local-feature-copy p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

html body .jb-page .jb-testimonials-hero {
  background-color: var(--jb-ink) !important;
  background-image: none !important;
}

/* Match the width of the padded content parent, excluding the scrollbar. */
html body .entry-content.has-global-padding > .jb-page {
  width: calc(100% + (2 * clamp(30px, 5vw, 50px))) !important;
}

/* Navigation controls must not inherit the global ivory button background. */
html body .jb-site-header .wp-block-navigation button {
  background-color: transparent !important;
  border-radius: 0;
}
html body .jb-site-header .wp-block-navigation__responsive-container-open,
html body .jb-site-header .wp-block-navigation__responsive-container-close {
  min-width: 44px;
  min-height: 44px;
}

/* Legacy mobile rules otherwise paint slate links on the slate overlay. */
html body .jb-site-header .jb-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
html body .jb-site-header .jb-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label,
html body .jb-site-header .jb-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
html body .jb-site-header .jb-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
  color: var(--jb-ivory) !important;
}
html body .jb-site-header .jb-primary-nav .wp-block-navigation__responsive-container.is-menu-open .jb-mobile-contact-link .wp-block-navigation-item__content {
  background-color: var(--jb-blush) !important;
  color: var(--jb-ink) !important;
}


/* Keep case-study labels in the approved body typeface. */
html body .jb-page .jb-case-study h3 {
  font-family: var(--jb-font-body) !important;
}

/* Contact hero uses the dark surface expected by its light text. */
html body .jb-page .jb-contact-hero {
  background: var(--jb-ink) !important;
}
html body .jb-page .jb-contact-hero h1 {
  text-shadow: none !important;
}

/* About-page editorial pull quotes echo the portrait's offset blush frame. */
html body.page-id-31 .jb-pullquote {
  margin-right: 18px;
  margin-bottom: 18px;
  background: var(--jb-ink) !important;
  border: 1px solid color-mix(in srgb, var(--jb-ivory) 28%, transparent) !important;
  box-shadow: 18px 18px 0 var(--jb-blush);
  color: var(--jb-ivory) !important;
}

html body.page-id-31 .jb-pullquote p {
  color: var(--jb-ivory) !important;
  font-family: var(--jb-font-display) !important;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 680px) {
  html body.page-id-31 .jb-pullquote {
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 10px 10px 0 var(--jb-blush);
  }
}