/* Site-wide visual refinement (December 2026).
   Loaded on every page by the SITE NAV ASSETS block (site-tools/sync-nav.py), after each page's own
   <style>, so these rules refine the existing page styles without rewriting them.
   Direction: warm white and soft stone surfaces, charcoal text, natural-color photography,
   garnet and gold used as accents. No colored photo overlays. */

:root {
  --cr-warm: #FAF9F6;
  --cr-ivory: #F4EFE6;
  --cr-stone: #E6DED1;
  --cr-stone-line: #DDD3C4;
  --cr-charcoal: #252525;
  --cr-ink: #3A3632;
  --cr-muted: #5C5650;
  --cr-garnet: #782F40;
  --cr-garnet-dark: #3D1520;
  --cr-gold: #CEB888;
  --cr-gold-deep: #7A5C2E;
  --cr-radius: 4px;
}

body { background: var(--cr-warm); color: var(--cr-charcoal); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Photography: natural color, no tint ----------
   Homepage video: a light, localized neutral shade on the text side only.
   Photo heroes on inner pages: the photo stays untouched and the text sits on a light panel. */
.hero-video-overlay {
  background:
    linear-gradient(90deg, rgba(20,20,20,0.50) 0%, rgba(20,20,20,0.26) 40%, rgba(20,20,20,0) 70%),
    linear-gradient(0deg, rgba(20,20,20,0.28) 0%, rgba(20,20,20,0) 38%) !important;
}
#home .hero-content h1, #home .hero-content p { text-shadow: 0 1px 12px rgba(0,0,0,0.28); }
#home .hero-cross-bg { display: none; }

.hero-photo::before { content: none !important; }
.hero-photo .hero-cross-bg, .hero-photo .hero-watermark { display: none; }
.hero-photo .page-hero-inner, .hero-photo .area-hero-inner {
  max-width: 700px; margin-left: 0; margin-right: auto; padding: 2rem 2.25rem 2.25rem;
  background: rgba(250,249,246,0.95); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.hero-photo h1 { color: var(--cr-charcoal) !important; text-shadow: none; }
.hero-photo h1 em { color: var(--cr-garnet) !important; }
.hero-photo p, .hero-photo li { color: var(--cr-ink) !important; text-shadow: none; }
.hero-photo p a { color: var(--cr-garnet) !important; }
.hero-photo .hero-eyebrow span, .hero-photo .hero-kicker, .hero-photo .breadcrumb li { color: var(--cr-gold-deep) !important; }
.hero-photo .breadcrumb a { color: var(--cr-muted) !important; }
.hero-photo .hero-eyebrow .line { background: var(--cr-gold); }
.hero-photo .btn-outline-white, .hero-photo .btn-outline, .hero-photo .btn-ghost { color: var(--cr-charcoal) !important; border-color: var(--cr-stone-line) !important; background: #fff; }
.hero-photo .btn-outline-white:hover, .hero-photo .btn-outline:hover { color: var(--cr-garnet) !important; border-color: var(--cr-garnet) !important; }
.hero-photo .trust-item, .hero-photo .hero-trust span { color: var(--cr-ink) !important; }
@media (max-width: 900px) {
  .hero-photo .page-hero-inner, .hero-photo .area-hero-inner { padding: 1.4rem 1.25rem 1.5rem; }
}

/* Pages whose hero has no photograph: bright ivory band instead of a solid garnet block */
#page-hero:not(.hero-photo), #area-hero:not(.hero-photo), #search-header, #sign-hero {
  background: var(--cr-ivory) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--cr-stone);
}
#page-hero:not(.hero-photo)::before, #area-hero:not(.hero-photo)::before { content: none !important; }
#page-hero:not(.hero-photo) h1, #area-hero:not(.hero-photo) h1, #search-header h1, #sign-hero h1 { color: var(--cr-charcoal); text-shadow: none; }
#page-hero:not(.hero-photo) h1 em, #area-hero:not(.hero-photo) h1 em, #search-header h1 em, #sign-hero h1 em { color: var(--cr-garnet); }
#page-hero:not(.hero-photo) p, #area-hero:not(.hero-photo) p, #search-header p, #sign-hero p,
#page-hero:not(.hero-photo) li, #area-hero:not(.hero-photo) li { color: var(--cr-ink); }
#page-hero:not(.hero-photo) p a, #area-hero:not(.hero-photo) p a, #search-header p a, #sign-hero p a { color: var(--cr-garnet); }
#page-hero:not(.hero-photo) .hero-eyebrow span, #area-hero:not(.hero-photo) .hero-eyebrow span, #search-header .hero-eyebrow span, #sign-hero .hero-eyebrow span,
#page-hero:not(.hero-photo) .hero-kicker, #area-hero:not(.hero-photo) .hero-kicker,
#page-hero:not(.hero-photo) .eyebrow, #area-hero:not(.hero-photo) .eyebrow { color: var(--cr-gold-deep); }
#page-hero:not(.hero-photo) .hero-eyebrow .line, #area-hero:not(.hero-photo) .hero-eyebrow .line, #search-header .hero-eyebrow .line { background: var(--cr-gold); }
#page-hero:not(.hero-photo) .breadcrumb li, #area-hero:not(.hero-photo) .breadcrumb li { color: var(--cr-gold-deep); }
#page-hero:not(.hero-photo) .breadcrumb a, #area-hero:not(.hero-photo) .breadcrumb a { color: var(--cr-muted); }
#page-hero:not(.hero-photo) .breadcrumb a:hover, #area-hero:not(.hero-photo) .breadcrumb a:hover { color: var(--cr-garnet); }
#page-hero:not(.hero-photo) .breadcrumb li + li::before, #area-hero:not(.hero-photo) .breadcrumb li + li::before { color: var(--cr-stone-line); }
/* Keep the cross as a quiet watermark on light heroes */
#page-hero:not(.hero-photo) .hero-cross-bg::before, #page-hero:not(.hero-photo) .hero-cross-bg::after { background: var(--cr-garnet); }
#page-hero:not(.hero-photo) .hero-watermark { color: rgba(120,47,64,0.04); }
#page-hero:not(.hero-photo) .btn-outline-white, #area-hero:not(.hero-photo) .btn-outline-white,
#page-hero:not(.hero-photo) .btn-outline, #page-hero:not(.hero-photo) .btn-ghost,
#sign-hero .act-outline, #search-header .act-outline {
  color: var(--cr-charcoal); border-color: var(--cr-stone-line); background: #fff;
}
#page-hero:not(.hero-photo) .btn-outline-white:hover, #area-hero:not(.hero-photo) .btn-outline-white:hover,
#sign-hero .act-outline:hover { color: var(--cr-garnet); border-color: var(--cr-garnet); }
#page-hero:not(.hero-photo) .trust-item, #page-hero:not(.hero-photo) .hero-trust span { color: var(--cr-ink); }

/* ---------- Typography ---------- */
.section-title, .cta-band h2, #faq h2, .ba-title { color: var(--cr-charcoal); letter-spacing: -0.005em; }
.section-title em, .cta-band h2 em, .ba-title em { color: var(--cr-garnet); }
.section-eyebrow span, .ba-eyebrow span { color: var(--cr-gold-deep); }
.section-subtitle, .ba-lede { color: var(--cr-ink); }
.why-card h3, .hood-card h3, .ba-card h3, .compare-card h3, .faq-question button { color: var(--cr-charcoal); }
.why-card p, .hood-card p, .ba-card p, .faq-answer p, .widget-note { color: var(--cr-ink); }
.text-link { color: var(--cr-garnet); text-decoration-color: rgba(120,47,64,0.35); text-underline-offset: 3px; }
.text-link:hover { color: var(--cr-garnet-dark); text-decoration-color: currentColor; }

/* ---------- Buttons: garnet primary, quiet outline secondary ---------- */
.btn-primary, .form-submit, .btn-gold {
  background: var(--cr-garnet); color: #fff; border: 1px solid var(--cr-garnet); border-radius: 3px;
}
.btn-primary:hover, .form-submit:hover, .btn-gold:hover { background: var(--cr-garnet-dark); border-color: var(--cr-garnet-dark); color: #fff; }
.btn-garnet { border-radius: 3px; }
.btn-garnet:hover { background: var(--cr-garnet-dark); }
.ba-btn { border-radius: 3px; }

/* ---------- Surfaces ---------- */
.alt, .band-cream { background: var(--cr-ivory); }
.why-card { background: #fff; border: 1px solid var(--cr-stone); border-top: 2px solid var(--cr-gold); border-radius: var(--cr-radius); }
.hood-card { border-color: var(--cr-stone); border-left-color: var(--cr-gold); border-radius: var(--cr-radius); }
a.hood-card:hover { border-left-color: var(--cr-garnet); }
.ba-section { background: var(--cr-ivory); }
.ba-card { border-color: var(--cr-stone); border-top-color: var(--cr-gold); border-radius: var(--cr-radius); }
.cta-band { background: var(--cr-stone); }
.cta-band p a { color: var(--cr-garnet); }

/* ---------- Forms ---------- */
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--cr-stone-line); border-radius: var(--cr-radius); background: #fff; color: var(--cr-charcoal); min-height: 46px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cr-garnet); box-shadow: 0 0 0 3px rgba(120,47,64,0.12); }
.form-group label { color: var(--cr-ink); }

/* ---------- Scripture band and footer ---------- */
.scripture-band { background: var(--cr-ivory); border-top: 1px solid var(--cr-stone); }
.scripture-band blockquote { color: var(--cr-ink); }
.scripture-band cite { color: var(--cr-garnet); }
footer { background: var(--cr-charcoal); }
.footer-brand .cross { color: var(--cr-gold); }
.footer-tagline { color: rgba(255,255,255,0.62); }
.footer-links a { color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: var(--cr-gold); }
.footer-copy { color: rgba(255,255,255,0.6); }

/* ---------- Shared helpers for refined page sections ---------- */
.cr-account-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; margin: 1.25rem 0 0; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--cr-stone); border-radius: var(--cr-radius); font-size: 0.95rem; color: var(--cr-ink); }
.cr-account-links strong { color: var(--cr-charcoal); margin-right: 0.25rem; }
.cr-account-links a { color: var(--cr-garnet); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(120,47,64,0.3); text-underline-offset: 3px; }
.cr-account-links a:hover { text-decoration-color: currentColor; }

/* ---------- Area pages: compact hero, then live listings ---------- */
#area-hero { padding: 6.25rem 4rem 2.25rem; }
#area-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.75rem; }
#area-hero p { font-size: 1rem; line-height: 1.75; max-width: 720px; margin-bottom: 1.25rem; }
#area-hero .hero-kicker { margin-bottom: 0.35rem !important; }
#page-hero:not(.hero-photo) .hero-kicker, #area-hero:not(.hero-photo) .hero-kicker { color: var(--cr-garnet) !important; }
#area-hero .breadcrumb ol { margin-bottom: 0.85rem; }
#area-hero.hero-photo { padding-top: 7rem; padding-bottom: 3rem; }
.area-listings { padding: 2.25rem 2rem 2.75rem; background: #fff; border-bottom: 1px solid var(--cr-stone); scroll-margin-top: 4.5rem; }
.area-listings-inner { max-width: 1400px; margin: 0 auto; }
.area-listings-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.25rem 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.area-listings-head .section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0; }
.area-listings-head p { color: var(--cr-muted); font-size: 0.95rem; }
.area-listings .widget-wrap { min-height: 560px; }
.market-intel { padding: 4rem 4rem; background: var(--cr-ivory); }
@media (max-width: 900px) {
  #area-hero { padding: 5.25rem 1.25rem 1.75rem; }
  #area-hero.hero-photo { padding-top: 5.5rem; padding-bottom: 2rem; }
  .area-listings { padding: 1.5rem 0.75rem 2rem; }
  .area-listings .widget-wrap { min-height: 480px; }
  .market-intel { padding: 3rem 1.25rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero-video-bg video { display: none; }
  .hero-video-bg { background: url("/images/bayshore-blvd-drone-poster.jpg") center / cover no-repeat; }
}

/* Blog post heroes: light ivory band instead of solid garnet */
.post-hero, .blog-hero { background: var(--cr-ivory) !important; border-bottom: 1px solid var(--cr-stone-line); }
.post-hero::before { content: none !important; }
.blog-hero .hero-cross-bg::before, .blog-hero .hero-cross-bg::after { background: var(--cr-garnet); }
.post-hero h1, .blog-hero h1 { color: var(--cr-charcoal); }
.blog-hero h1 em { color: var(--cr-garnet); }
.post-eyebrow span, .blog-eyebrow span { color: var(--cr-gold-deep); }
.post-meta, .blog-meta span { color: var(--cr-muted) !important; }
.post-meta a { color: var(--cr-garnet) !important; }

/* Renters hero sets white text on the section itself */
#page-hero:not(.hero-photo) { color: var(--cr-ink); }

/* In-page jump links inside light heroes */
#area-hero:not(.hero-photo) .page-jumps { border-top-color: var(--cr-stone-line); }
#area-hero:not(.hero-photo) .page-jumps a { color: var(--cr-ink); }
#area-hero:not(.hero-photo) .page-jumps a:hover { color: var(--cr-garnet); }

/* ==========================================================================
   Color accents (Dec 2026): the light scheme stays; deep garnet is used as
   a solid band in a few deliberate places, never as a tint over photos.
   ========================================================================== */
:root { --cr-garnet-deep: #3D1520; --cr-on-deep: #FAF7F0; --cr-on-deep-soft: rgba(250,247,240,0.8); --cr-gold-line: rgba(206,184,136,0.35); }

/* Scripture band (every page): a deep garnet close before the charcoal footer */
.scripture-band {
  background: linear-gradient(160deg, #4A1A28 0%, var(--cr-garnet-deep) 55%, #31101A 100%) !important;
  border-top: 0; border-bottom: 1px solid var(--cr-gold-line);
  padding-top: 3rem; padding-bottom: 3rem;
}
.scripture-band::before { content: ""; display: block; width: 36px; height: 2px; background: var(--cr-gold); margin: 0 auto 1.25rem; }
.scripture-band blockquote { color: var(--cr-on-deep) !important; }
.scripture-band cite { color: var(--cr-gold) !important; }

/* Homepage "Holland Difference" section as the page's central deep band */
#faith.hp-section { background: linear-gradient(160deg, #4A1A28 0%, var(--cr-garnet-deep) 55%, #31101A 100%); }
#faith .hp-eyebrow { color: var(--cr-gold); }
#faith .hp-title { color: var(--cr-on-deep); }
#faith .hp-title em { color: var(--cr-gold); }
#faith .hp-lede { color: var(--cr-on-deep-soft); }
#faith .hp-lede a, #faith .hp-promises a { color: var(--cr-gold); }
#faith .hp-promises { border-top-color: var(--cr-gold-line); }
#faith .hp-promises h3 { color: var(--cr-on-deep); }
#faith .hp-promises p { color: var(--cr-on-deep-soft); }
#faith .hp-fair { background: rgba(255,255,255,0.05); border-color: var(--cr-gold-line); color: var(--cr-on-deep-soft); }
#faith .hp-fair strong { color: var(--cr-gold); }
#faith .hp-link { color: var(--cr-gold); border-bottom-color: rgba(206,184,136,0.45); }
#faith .hp-link:hover { border-bottom-color: var(--cr-gold); }
#faith a:focus-visible { outline-color: var(--cr-gold); }

/* Light hero bands get a thin gold base line */
#page-hero:not(.hero-photo), #area-hero:not(.hero-photo), #search-header, .post-hero, .blog-hero { border-bottom: 1px solid var(--cr-stone-line); box-shadow: inset 0 -3px 0 var(--cr-gold); }

/* Cards: a garnet edge so brand color shows without heavy fills */
.hp-area-grid a { border-left: 3px solid var(--cr-gold); }
.hp-area-grid a:hover { border-left-color: var(--cr-garnet); }
.hp-checks li, .hp-list-links a { border-left: 3px solid var(--cr-garnet); }
.ba-card { border-top: 3px solid var(--cr-garnet); }
.hp-insight-grid a { border-top: 3px solid var(--cr-garnet); }
.hp-insight-grid a:hover { border-top-color: var(--cr-gold); }

/* Closing call-to-action band: a garnet rule on top */
.cta-band { border-top: 3px solid var(--cr-garnet); }

/* Section titles on deep garnet backgrounds: gold emphasis, never garnet-on-garnet */
#promises .section-title em, #better-together .section-title em { color: var(--cr-gold) !important; }
#promises .section-eyebrow span, #better-together .section-eyebrow span { color: var(--cr-gold) !important; }

/* Area page "On this page" menu (Dec 2026) */
.area-jump { background: #fff; border-bottom: 1px solid var(--cr-stone, #E6DED1); }
.area-jump ul { list-style: none; margin: 0 auto; padding: 0.7rem 1.25rem; max-width: 1200px; display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.area-jump a { display: inline-block; padding: 0.42rem 0.95rem; border: 1px solid #E6DED1; border-radius: 999px; color: #782F40; font: 700 0.74rem/1.2 "Lato", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.area-jump a:hover, .area-jump a:focus-visible { background: #782F40; border-color: #782F40; color: #fff; }
.area-jump a:focus-visible { outline: 2px solid #CEB888; outline-offset: 2px; }
#main > section[id] { scroll-margin-top: 4.5rem; }
@media (max-width: 760px) {
  .area-jump ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0.6rem 1rem; }
  .area-jump ul::-webkit-scrollbar { display: none; }
}

/* RamseyTrusted callout (Dec 2026). Copy follows Ramsey's naming rules: one word, never next to "Realtor". */
.rt-callout { margin: 2rem 0 0; padding: 1.4rem 1.6rem; background: #FAF7F0; border: 1px solid #E6DED1; border-left: 3px solid #CEB888; border-radius: 2px; text-align: left; }
.rt-callout h3 { font-family: "Playfair Display", serif; font-size: 1.15rem; color: #782F40; font-weight: 700; margin: 0 0 0.45rem; line-height: 1.35; }
.rt-callout p { color: #4A5568; font-size: 0.95rem; line-height: 1.75; margin: 0 0 0.6rem; }
.rt-callout p:last-child { margin-bottom: 0; }
.rt-callout a { color: #782F40; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rt-note { font-size: 0.82rem !important; color: #718096 !important; }
#ramseytrusted { scroll-margin-top: 90px; }
