/* Brian Hofer | REMAX Lake of the Ozarks — lakearealistings.com */
:root{
  --ink:#16202a; --ink-soft:#4a5560; --navy:#0e2438; --navy-2:#13314b;
  --sand:#f6f3ee; --line:#dcd6cc; --gold:#c8a96a; --white:#fff;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --container:1240px; --gutter:clamp(20px,4vw,48px);
  --ease:cubic-bezier(.2,.7,.2,1);
  --header-h:128px;
  /* Theme tokens (light values are the original hard-coded colors; [data-theme=dark] overrides below) */
  --surface:#fff; --hdr-solid:rgba(255,255,255,.97); --navy-ink:#0e2438;
  --muted-7a838c:#7a838c; --muted-9aa3ad:#9aa3ad; --soft-41505f:#41505f; --ink-1c2b3a:#1c2b3a;
  --danger-b3261e:#b3261e; --danger-b3402f:#b3402f; --danger-8a3a3a:#8a3a3a; --danger-8a1f1f:#8a1f1f;
  --ok-1d6b3a:#1d6b3a; --goldink-8a6a24:#8a6a24; --goldink-8a6d33:#8a6d33; --warm-9a5a1a:#9a5a1a;
  --bg-fbf8f1:#fbf8f1; --bg-fbf6ea:#fbf6ea; --bg-f0f0f0:#f0f0f0; --bg-f5efe2:#f5efe2; --bg-f1ede6:#f1ede6;
  --bg-f1ebdf:#f1ebdf; --bg-e9e5de:#e9e5de; --bg-e8e3da:#e8e3da; --bg-e7e1d6:#e7e1d6; --bg-e9e1cf:#e9e1cf;
  --bg-e4dcc8:#e4dcc8; --bg-d9e2ea:#d9e2ea;
  --plate:#fff; --logo-hdr-dk:none;
}
html{color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-weight:400;font-size:16px;line-height:1.75;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0 0 .5em;letter-spacing:.01em}
h1{font-size:clamp(2.6rem,6.2vw,5.4rem)}
h2{font-size:clamp(2.2rem,4.2vw,3.6rem)}
h3{font-size:1.65rem}
p{margin:0 0 1.2em}
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.center{text-align:center}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--navy);color:#fff;padding:10px 16px;z-index:1000}
.skip-link:focus{left:8px}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.eyebrow{font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.32em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.65rem}
.section-head h2,.split-text h2{margin-bottom:.3em}
.lede{color:var(--ink-soft);max-width:640px;margin:0 auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase;text-decoration:none;padding:1.05em 2.2em;border:1px solid currentColor;border-radius:999px;background:transparent;color:var(--ink);cursor:pointer;transition:background .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease)}
.btn--ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--light{color:#fff;border-color:rgba(255,255,255,.85)}
.btn--light:hover{background:var(--surface);color:var(--ink);border-color:#fff}
.btn--solid{background:var(--navy);color:#fff;border-color:var(--navy-ink)}
.btn--solid:hover{background:var(--navy-2)}
.btn--solid[disabled]{opacity:.6;cursor:wait}
.btn--link{border:0;padding-left:0;padding-right:0}
.btn--link:hover{color:var(--navy-ink);text-decoration:underline;text-underline-offset:6px}
.btn-row{display:flex;flex-wrap:wrap;gap:1.2rem 2rem;align-items:center;margin-top:2rem}

/* Header */
.site-header{position:fixed;inset:0 0 auto;z-index:100;color:#fff;transition:background .4s var(--ease),box-shadow .4s var(--ease),color .4s var(--ease)}
.header-inner{display:flex;align-items:center;justify-content:flex-start;gap:24px;height:var(--header-h);max-width:1440px;margin:0 auto;padding:0 var(--gutter);transition:height .4s var(--ease)}
.brand{display:block;flex:0 0 auto;position:relative;background:#fff;padding:9px 18px;border-radius:3px;box-shadow:0 6px 24px -10px rgba(0,0,0,.45)}
.brand-logo{display:block;height:92px;width:auto;transition:height .4s var(--ease)}
.site-header.is-solid{background:var(--hdr-solid);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.site-header.is-solid .header-inner{height:88px}
.site-header.is-solid .brand-logo{height:64px}
.site-header.is-solid .brand{box-shadow:none;padding-left:0}
.primary-nav{display:flex;align-items:center;margin-left:auto;gap:clamp(18px,2.4vw,36px)}
.primary-nav ul{display:flex;gap:clamp(16px,2vw,30px);list-style:none;margin:0;padding:0}
.primary-nav ul a{font-size:.7rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;text-decoration:none;padding:6px 0;position:relative}
.primary-nav ul a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:1px;background:currentColor;transition:right .35s var(--ease)}
.primary-nav ul a:hover::after{right:0}
.nav-cta{color:inherit;padding:.85em 1.6em}
.site-header:not(.is-solid) .nav-cta:hover{background:var(--surface);color:var(--ink);border-color:#fff}
.menu-toggle{display:none;background:none;border:0;width:44px;height:44px;padding:10px;cursor:pointer;color:inherit;position:relative;z-index:2}
.menu-toggle span{display:block;height:1.5px;background:currentColor;margin:6px 0;transition:transform .3s var(--ease),opacity .3s}
.menu-open .menu-toggle span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.menu-open .menu-toggle span:nth-child(2){opacity:0}
.menu-open .menu-toggle span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* Hero */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;overflow:hidden;background:var(--navy)}
.hero-media,.hero-overlay{position:absolute;inset:0}
.hero-video,.hero-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-poster{display:none}
.hero-overlay{background:linear-gradient(180deg,rgba(8,18,28,.55) 0%,rgba(8,18,28,.42) 45%,rgba(8,18,28,.6) 100%)}
.hero-content{position:relative;z-index:1;max-width:980px;padding:120px var(--gutter) 90px}
.hero .eyebrow{color:rgba(255,255,255,.85)}
.hero h1{text-shadow:0 2px 30px rgba(0,0,0,.25);margin-bottom:.4em}
.hero-sub{font-size:clamp(1rem,1.4vw,1.15rem);font-weight:300;max-width:620px;margin:0 auto 2.4rem;color:rgba(255,255,255,.92)}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
.scroll-cue{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);width:1px;height:56px;background:rgba(255,255,255,.35);overflow:hidden}
.scroll-cue span{position:absolute;left:0;top:-50%;width:1px;height:50%;background:var(--surface);animation:cue 2.2s var(--ease) infinite}
@keyframes cue{to{top:100%}}
.no-video .hero-video{display:none}
.no-video .hero-poster{display:block}

/* Sections */
.section{padding:clamp(14px,1.8vw,24px) 0}
.section-head{text-align:center;margin-bottom:clamp(14px,1.8vw,22px)}
.section--search{background:var(--white)}
.section--quicksearch{background:var(--sand)}
.wide-embed{display:flex;justify-content:center;margin:0 auto clamp(40px,5vw,64px);max-width:100%;overflow:hidden}
.wide-embed iframe{display:block;max-width:none;flex:none}
@media (max-width:1039px){.wide-embed{display:none}}
.section--homevalue{background:var(--white)}
.sell-embed{max-width:960px;margin:0 auto;background:var(--surface);padding:24px 24px 0;box-shadow:0 30px 60px -30px rgba(14,36,56,.35);border-top:3px solid var(--navy-ink)}
.sell-embed iframe{display:block;max-width:100%}
@media (max-width:560px){.sell-embed{padding:16px 12px 0}}
.section--listings{background:var(--white)}
.section--communities{background:var(--sand)}
.section--about{background:var(--sand)}

/* Tiles */
.tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;color:#fff;text-decoration:none;background-color:var(--navy);background-size:cover;background-repeat:no-repeat;isolation:isolate}
.tile::before{content:"";position:absolute;inset:0;background:inherit;background-size:inherit;background-position:inherit;transform:scale(1);transition:transform 1.2s var(--ease);z-index:-2}
.tile::after{content:"";position:absolute;inset:0;z-index:-1;background:transparent;transition:background .5s var(--ease)}
.tile:hover::before,.tile:focus-visible::before{transform:scale(1.07)}
.tile-label{font-family:var(--serif);font-weight:700;font-size:clamp(1.7rem,2.4vw,2.3rem);line-height:1.1}
.tile-sub{font-size:.82rem;font-weight:300;opacity:.9;margin-top:.4rem}
.tile-more{font-size:.68rem;letter-spacing:.3em;text-transform:uppercase;margin-top:.9rem;display:inline-flex;align-items:center;gap:.8em}
.tile-more::after{content:"";width:34px;height:1px;background:currentColor;transition:width .4s var(--ease)}
.tile:hover .tile-more::after{width:60px}

.search-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tile--search{aspect-ratio:3/4;padding:clamp(22px,2.4vw,34px)}

/* Search tiles: brighter, more vivid photos; darkening only behind the text at the bottom */
.tile--search::before{filter:none}
.tile--search::after{background:transparent}
.tile--search .tile-label,.tile--search .tile-more{text-shadow:0 2px 12px rgba(0,0,0,.7),0 0 3px rgba(0,0,0,.5)}
.tile--green{--tint:24,56,40}
.tile--warm{--tint:70,48,28}
.search-tiles{align-items:start}
.tile-col{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0}
.tile-slices{display:grid;grid-template-columns:repeat(4,1fr);aspect-ratio:4/1.45;background-color:var(--navy);background-size:cover;background-repeat:no-repeat}
.tile-slices a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;padding:8px 2px;color:#fff;text-decoration:none;background:transparent;transition:background .35s var(--ease)}
.tile-slices a+a{border-left:2px solid #fff}
.tile-slices a:hover,.tile-slices a:focus-visible{background:transparent}
.tile-slices b{font-family:var(--serif);font-weight:400;font-size:clamp(1.05rem,1.45vw,1.4rem);line-height:1}
.tile-slices span{font-size:.6rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;margin-top:.4rem;white-space:nowrap}
.tile-new{display:block;text-align:center;padding:12px 8px;border:1px solid var(--navy-ink);color:var(--navy-ink);text-decoration:none;font-size:.66rem;font-weight:700;letter-spacing:.26em;text-transform:uppercase;transition:background .3s,color .3s}
.tile-new:hover,.tile-new:focus-visible{background:var(--navy);color:#fff}
@media (max-width:560px){
  .tile-slices{grid-template-columns:1fr 1fr;aspect-ratio:2/1.35}
  .tile-slices a:nth-child(3){border-left:0}
  .tile-slices a:nth-child(n+3){border-top:2px solid #fff}
  .tile-slices span{letter-spacing:.14em}
  .tile-new{letter-spacing:.16em;padding:11px 4px}
}

.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tile--community{aspect-ratio:4/3;padding:28px 30px}

/* Split layout */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,110px);align-items:center}
.split-text p{color:var(--ink-soft)}
.split--embed{grid-template-columns:1.1fr .9fr}
.embed-panel{justify-self:center;background:var(--surface);padding:28px;box-shadow:0 30px 60px -30px rgba(14,36,56,.35);border-top:3px solid var(--navy-ink);min-width:336px;display:flex;justify-content:center}

/* Listings */
.listing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 20px}
.listing-card{display:block;text-decoration:none;color:var(--ink)}
.listing-photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--bg-e8e3da)}
.listing-photo img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.listing-card:hover .listing-photo img{transform:scale(1.06)}
.listing-badge{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.94);color:var(--ink);font-size:.62rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;padding:6px 10px}
.listing-body{padding:16px 2px 0}
.listing-price{font-family:var(--serif);font-size:1.8rem;line-height:1.1;margin:0 0 .2em}
.listing-addr{font-size:.86rem;margin:0}
.listing-city{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft);margin:.2em 0 .6em}
.listing-facts{display:flex;gap:14px;font-size:.78rem;color:var(--ink-soft);margin:0;padding:10px 0 0;border-top:1px solid var(--line);list-style:none}
.listing-office{font-size:.68rem;color:var(--muted-7a838c);margin:.6em 0 0}
.listing-meta{font-size:.72rem;color:var(--muted-7a838c);text-align:center;margin:36px auto 28px;max-width:760px;line-height:1.6}
.listing-empty{grid-column:1/-1;text-align:center;color:var(--ink-soft)}

/* About */
.split--about{grid-template-columns:.9fr 1.1fr}
.about-photo{position:relative;padding:0 0 0 0}
.about-photo::before{content:"";position:absolute;left:8%;right:0;top:12%;bottom:0;background:linear-gradient(160deg,#dfe7ec,#c7d4dd);z-index:0}
.about-photo picture{position:relative;z-index:1;display:block}
.about-photo img{width:100%;height:auto}

/* Pillars */
.section--pillars{background:var(--navy);color:#fff}
.section-head--light .eyebrow{color:rgba(255,255,255,.7)}
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.pillar{padding:10px clamp(18px,2.4vw,36px);border-left:1px solid rgba(255,255,255,.18)}
.pillar:first-child{border-left:0}
.pillar-num{display:block;font-family:var(--serif);font-size:1rem;color:var(--gold);letter-spacing:.2em;margin-bottom:1.2rem}
.pillar h3{margin-bottom:.6em}
.pillar p{font-size:.92rem;font-weight:300;color:rgba(255,255,255,.8);margin:0}

/* Buy / Sell */
.section--sell .container{max-width:1080px}
.panel{position:relative;min-height:620px;display:flex;align-items:flex-end;color:#fff;background-size:cover;background-position:center;isolation:isolate}
.panel::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,18,28,.25),rgba(8,18,28,.78))}
.panel--sell::after{background:linear-gradient(90deg,rgba(20,14,8,.62) 0%,rgba(20,14,8,.18) 70%),linear-gradient(180deg,rgba(40,28,16,.2),rgba(20,14,8,.7))}
.panel-inner{padding:clamp(36px,5vw,72px);max-width:560px}
.panel .eyebrow{color:rgba(255,255,255,.8)}
.panel p:not(.eyebrow){font-weight:300;color:rgba(255,255,255,.88);margin-bottom:2rem}
.panel--sell{min-height:400px;overflow:hidden}
.panel--sell .panel-inner{padding:clamp(26px,4vw,48px);max-width:720px}
.panel--sell h2{font-size:clamp(2rem,3.6vw,3.1rem);margin-bottom:.6rem}
.panel--sell p:not(.eyebrow){margin-bottom:1.5rem}

/* Contact */
.section--contact{background:var(--white)}
.split--contact{align-items:start}
.small-note{font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ink);margin-top:2rem}
.contact-form{background:var(--surface);padding:clamp(28px,4vw,52px);box-shadow:0 30px 60px -36px rgba(14,36,56,.35)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.field{display:block;margin-bottom:22px}
.field span{display:block;font-size:.66rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:1rem;color:var(--ink);border:0;border-bottom:1px solid var(--line);background:transparent;padding:10px 0;border-radius:0;transition:border-color .3s}
.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink-soft) 50%),linear-gradient(135deg,var(--ink-soft) 50%,transparent 50%);background-position:calc(100% - 12px) 55%,calc(100% - 7px) 55%;background-size:5px 5px;background-repeat:no-repeat}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-bottom-color:var(--navy-ink)}
.field.is-invalid input{border-bottom-color:var(--danger-b3261e)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.consent{font-size:.72rem;color:var(--muted-7a838c);line-height:1.6;margin:4px 0 24px}
.form-status{margin:18px 0 0;font-size:.9rem}
.form-status.is-error{color:var(--danger-b3261e)}
.form-status.is-ok{color:var(--ok-1d6b3a)}
.form-success{text-align:center;padding:40px 10px}
.form-success h3{font-size:2.2rem}

/* Footer */
.site-footer{background:#0a1a29;color:rgba(255,255,255,.78);padding:clamp(64px,8vw,100px) 0 40px;font-size:.88rem}
.footer-top{display:grid;grid-template-columns:minmax(180px,300px) max-content max-content minmax(229px,1fr) 170px;gap:32px 40px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-brand{min-width:0}
.footer-logo{height:auto;width:auto;max-width:100%;max-height:78px;object-fit:contain;object-position:left center;margin-bottom:18px;background:#fff;padding:6px 10px;border-radius:2px}
.site-footer h3{font-family:var(--sans);font-size:.7rem;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:#fff;margin-bottom:1.2rem}
.footer-nav ul{list-style:none;margin:0;padding:0}
.footer-nav li{margin-bottom:.6rem}
.footer-nav a{text-decoration:none}
.footer-nav a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
/* LW-81 homepage browse links — photo pills matching community-map chips (2026-11-27). Footer Browse stays text columns. */
.footer-nav--browse ul{columns:2;column-gap:18px;font-size:.8rem}
.footer-nav--browse li{margin-bottom:.4rem;break-inside:avoid}
.section--browse{background:var(--white);padding:clamp(36px,5vw,64px) 0;scroll-margin-top:calc(var(--hdr, 66px) + 16px)}
.browse-groups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);max-width:1100px;margin:0 auto;align-items:start}
.browse-group:last-child{grid-column:1/-1}
.browse-group h3{font-family:var(--sans);font-size:.7rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--navy-ink);margin:0 0 1rem}
.browse-group h3 a{color:inherit;text-decoration:none}
.browse-group h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.browse-group ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;align-content:start}
.browse-group li{margin:0}
.browse-group li a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;
  padding:7px 14px;
  border:0;
  border-radius:999px;
  background:var(--surface);
  color:var(--navy-ink);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.01em;
  text-transform:none;
  line-height:1.08;
  white-space:normal;
  text-align:left;
  max-width:100%;
  box-shadow:0 0 0 1px rgba(14,36,56,.16),0 6px 14px -6px rgba(14,36,56,.5);
  transition:transform .22s var(--ease,ease),box-shadow .22s;
}
.browse-group li a:has(.browse-ph){padding:3px 13px 3px 3px}
.browse-ph{
  display:block;width:34px;height:34px;flex:none;border-radius:50%;
  background-color:#0e2438;background-size:cover;background-repeat:no-repeat;margin-right:7px;
}
.browse-group li a:hover,.browse-group li a:focus-visible{
  transform:scale(1.06);
  box-shadow:0 0 0 2px #c8a96a,0 14px 26px -10px rgba(14,36,56,.6);
  background:var(--surface);color:var(--navy-ink);text-decoration:none;z-index:1;outline:none;
}
@media (max-width:760px){
  .browse-groups{grid-template-columns:1fr;gap:28px;text-align:center}
  .browse-group:last-child{grid-column:auto}
  .browse-group ul{justify-content:center}
  .browse-group li a{min-height:26px;padding:6px 11px;font-size:9.6px;letter-spacing:.01em}
  .browse-group li a:has(.browse-ph){padding:2px 8px 2px 2px}
  .browse-ph{width:22px;height:22px;margin-right:4px}
  .footer-nav--browse ul{columns:1}
}

.footer-remax img{width:170px;height:auto;margin-left:auto}
.footer-legal{padding-top:32px;font-size:.74rem;color:rgba(255,255,255,.6);line-height:1.7}
.footer-legal p{margin:0 0 .6em}
.ehd{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.8)}
.eho{width:22px;height:22px;flex:0 0 auto}
/* 2026-11-19: official EHO + BDAR logos above IDX statements (item 19). White pills on navy. */
.idx-logos{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.idx-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;padding:5px 7px;line-height:0}
.idx-logo img{display:block;height:32px;width:auto}

/* Reveal */
.js .reveal{opacity:0;transform:translateY(28px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.js .reveal.is-visible{opacity:1;transform:none}

/* Responsive */
@media (max-width:1180px){
  .primary-nav ul{gap:18px}
  .primary-nav ul a{letter-spacing:.16em}
}
@media (max-width:1040px){
  :root{--header-h:104px}
  .brand-logo{height:76px}
  .site-header.is-solid .brand-logo{height:56px}
  .site-header.is-solid .header-inner{height:78px}
  .menu-toggle{display:block}
  .primary-nav{position:fixed;inset:0;background:var(--navy);color:#fff;flex-direction:column;justify-content:center;gap:40px;opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s}
  .primary-nav ul{flex-direction:column;align-items:center;gap:22px}
  .primary-nav ul a{font-size:.86rem;letter-spacing:.3em}
  .menu-open .primary-nav{opacity:1;visibility:visible}
  .menu-open .site-header{color:#fff}
  .menu-open .site-header .brand{position:relative;z-index:2}
  .menu-open .site-header.is-solid .brand{padding-left:16px;margin-left:-16px}
  .menu-open{overflow:hidden}
  .site-header.is-solid .nav-cta:hover{background:var(--surface);color:var(--ink)}
  .search-tiles{grid-template-columns:repeat(2,1fr)}
  .tile--search{aspect-ratio:4/3}
  .listing-grid{grid-template-columns:repeat(2,1fr)}
  .community-grid{grid-template-columns:repeat(2,1fr)}
  .pillars{grid-template-columns:repeat(2,1fr);gap:40px 0}
  .pillar:nth-child(3){border-left:0}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px 28px}
  .footer-remax img{margin-left:0}
}
@media (max-width:820px){
  .split,.split--embed,.split--about{grid-template-columns:1fr}
  .about-photo{max-width:440px;margin:0 auto}
  .panel--sell{min-height:320px}
  .embed-panel{min-width:0;width:100%}
}
@media (max-width:560px){
  .brand{padding:5px 10px}
  .brand-logo{height:62px}
  .site-header.is-solid .brand-logo{height:46px}
  .site-header.is-solid .header-inner{height:66px}
  .menu-open .site-header.is-solid .brand{padding-left:10px;margin-left:-10px}
  .hero-actions .btn{width:100%;max-width:300px}
  .search-tiles{grid-template-columns:1fr 1fr;gap:10px}
  .tile--search{aspect-ratio:1/1.1;padding:18px}
  .tile--search .tile-label{font-size:1.45rem}
  .listing-grid{grid-template-columns:1fr}
  .community-grid{grid-template-columns:1fr}
  .tile--community{aspect-ratio:16/9}
  .pillars{grid-template-columns:1fr}
  .pillar{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:28px 0 0}
  .pillar:first-child{border-top:0;padding-top:0}
  .field-row{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr;gap:32px 28px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .hero-video{display:none}
  .hero-poster{display:block}
  .js .reveal{opacity:1;transform:none}
}

/* Tile crops: zoom so background-position yields varied crops */
.tile--community{background-size:175% auto}
@media (max-width:560px){.tile--community{background-size:150% auto}}
@media (max-width:560px){
  .listing-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) 12px;scroll-padding:0 var(--gutter);-webkit-overflow-scrolling:touch}
  .listing-card{scroll-snap-align:start}
  .tile--community{aspect-ratio:2.1/1;padding:20px 22px}
  .hero-content{padding-top:100px}
}
/* Communities: no orphan tile in the 2-column layout */
@media (min-width:561px) and (max-width:1040px){
  .community-grid .community-col:last-child:nth-child(odd){grid-column:1/-1}
}

/* Slice strips: vivid photo behind, lighter tint */
.tile-slices{filter:none}
.tile-slices a{background:transparent}

/* Communities: one distinct photo per town; vivid, bright photos (filter on the photo layer only); darkening only at the bottom behind the text */
.tile--community,.community-grid .tile--community{background-size:cover}
.tile--community::before{filter:none}
.tile--community::after{background:transparent}
.tile--community .tile-label,.tile--community .tile-sub{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.7),0 0 3px rgba(0,0,0,.55)}
.tile--community .tile-sub{opacity:1}
.photo-credits{font-size:.66rem;color:rgba(255,255,255,.55)}
.photo-credits a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* Lakefront photo is already very saturated: gentler boost so the sky stays blue, not cyan */
.tile--search[style*="search-lakefront"]::before{filter:none}
.tile-slices[style*="search-lakefront"]{filter:none}
.field span em{font-style:normal;font-weight:400;opacity:.65;text-transform:none;letter-spacing:0}
.contact-form--value{background:var(--sand)}

/* ============================================================
   STAGING BUILD-OUT (2026-10-28): hero search, category pages,
   sticky category/quantity bars, shared nav
   ============================================================ */
/* Header: Listings + Communities dropdowns (open DOWN, not sideways) */
.primary-nav .has-sub{position:relative}
/* Nested .sub-nav must NOT inherit horizontal flex from .primary-nav ul */
.primary-nav .sub-nav{
  display:block;
  list-style:none;
  margin:0;
  padding:10px 0;
  position:absolute;
  top:100%;
  left:0;
  z-index:120;
  min-width:220px;
  background:var(--surface);
  color:var(--ink);
  box-shadow:0 18px 40px -18px rgba(14,36,56,.45);
  border-top:2px solid var(--gold);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .25s,transform .25s,visibility .25s;
  pointer-events:none;
}
.primary-nav .sub-nav--communities{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  min-width:520px;
  padding:12px 8px;
  column-gap:0;
}
.has-sub:hover > .sub-nav,
.has-sub:focus-within > .sub-nav,
.has-sub.is-open > .sub-nav{
  opacity:1;
  visibility:visible;
  transform:none;
  pointer-events:auto;
}
/* When communities uses display:grid, hover still needs grid not block */
.has-sub:hover > .sub-nav--communities,
.has-sub:focus-within > .sub-nav--communities,
.has-sub.is-open > .sub-nav--communities{
  display:grid;
}
.primary-nav .sub-nav > li{display:block;margin:0;padding:0}
.primary-nav .sub-nav a{
  display:block;
  padding:8px 18px;
  font-size:.66rem;
  letter-spacing:.18em;
  color:var(--ink);
  white-space:nowrap;
}
.primary-nav .sub-nav a::after{display:none}
.primary-nav .sub-nav a:hover,
.primary-nav .sub-nav a:focus-visible,
.primary-nav .sub-nav a[aria-current]{
  background:var(--navy);
  color:#fff;
}
.primary-nav ul a[aria-current]{font-weight:600}
.nav-phone{font-size:.74rem;font-weight:600;letter-spacing:.08em;text-decoration:none;white-space:nowrap}
.nav-phone:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:1240px) and (min-width:1041px){.nav-phone{display:none}}
@media (max-width:1040px){
  /* Mobile hamburger: expandable vertical lists (not sideways chips) */
  .primary-nav .has-sub{width:min(100%,360px);text-align:center}
  .primary-nav .has-sub > a{display:inline-block}
  .primary-nav .sub-nav,
  .primary-nav .sub-nav--communities{
    display:none;
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    background:rgba(255,255,255,.06);
    color:#fff;
    box-shadow:none;
    border:0;
    border-top:1px solid rgba(200,169,106,.45);
    margin:10px auto 0;
    padding:8px 0;
    min-width:0;
    width:100%;
    max-width:320px;
  }
  .primary-nav .has-sub.is-open > .sub-nav{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    flex-wrap:nowrap;
    gap:0;
  }
  .primary-nav .has-sub.is-open > .sub-nav--communities{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .primary-nav .sub-nav a{
    font-size:.72rem;
    letter-spacing:.14em;
    padding:10px 12px;
    opacity:.9;
    color:#fff;
    text-align:center;
    white-space:normal;
  }
  .primary-nav .sub-nav a:hover,
  .primary-nav .sub-nav a:focus-visible,
  .primary-nav .sub-nav a[aria-current]{
    background:rgba(200,169,106,.2);
    color:#fff;
    opacity:1;
  }
  .nav-phone{font-size:.95rem}
}

/* Hero additions */
.hero-content{max-width:1040px}
.btn--onhero{background:var(--surface);color:var(--navy-ink);border-color:#fff;font-weight:600}
.btn--onhero:hover{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.hero-search{display:grid;grid-template-columns:2.2fr 1.3fr .8fr auto;gap:0;align-items:end;max-width:880px;margin:0 auto 22px;background:var(--surface);color:var(--ink);text-align:left;box-shadow:0 24px 60px -24px rgba(0,0,0,.6)}
.hs-field{display:block;padding:10px 16px 8px;border-right:1px solid var(--line);min-width:0}
.hs-field span{display:block;font-size:.6rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft)}
.hs-field input,.hs-field select{width:100%;border:0;background:transparent;font:inherit;font-size:1rem;color:var(--ink);padding:4px 0;border-radius:0;outline:none}
.hs-field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink-soft) 50%),linear-gradient(135deg,var(--ink-soft) 50%,transparent 50%);background-position:calc(100% - 10px) 55%,calc(100% - 5px) 55%;background-size:5px 5px;background-repeat:no-repeat;padding-right:18px}
.hs-field:focus-within{box-shadow:inset 0 -2px 0 var(--navy-ink)}
.hs-go{height:100%;min-height:60px;padding:0 2.2em}
.hs-note{grid-column:1/-1;margin:0;padding:6px 16px;font-size:.66rem;color:var(--muted-7a838c);background:var(--sand);letter-spacing:.04em}
.hero-mini{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:880px;margin:24px auto 0;text-align:left}
.mini-form{background:rgba(8,18,28,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);padding:12px 14px;border:1px solid rgba(255,255,255,.25)}
.mini-form label{display:block;font-size:.62rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#fff;margin-bottom:6px}
.mini-row{display:flex;gap:0;margin:0}
.mini-row input{flex:1;min-width:0;border:0;padding:10px 12px;font:inherit;font-size:.95rem;border-radius:0}
.mini-row.is-invalid input{box-shadow:inset 0 0 0 2px #e5736b}
.btn--mini{padding:.8em 1.2em;background:var(--gold);border-color:var(--gold);color:var(--navy);font-weight:600;letter-spacing:.16em;white-space:nowrap}
.btn--mini:hover{background:var(--surface);border-color:#fff}
.mini-form .form-status{margin:6px 0 0;font-size:.78rem;color:#fff}
.mini-form .form-status.is-error{color:#ffd2cc}
.mini-form .form-success{padding:6px 0;text-align:left}
.mini-form .form-success h3{font-size:1.4rem;margin:0 0 .2em;color:#fff}
.mini-form .form-success p{margin:0;font-size:.85rem;color:rgba(255,255,255,.9)}
.mini-form .form-success .eyebrow{display:none}
.hero-contact{margin:20px 0 0}
.hero-phone{display:inline-block;font-size:1.05rem;font-weight:500;letter-spacing:.08em;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.6);padding-bottom:2px}
.hero-phone:hover{border-bottom-color:#fff}
.hero-proof{margin:12px 0 0;font-size:.78rem;letter-spacing:.12em;color:rgba(255,255,255,.85)}
@media (max-width:820px){
  .hero-search{grid-template-columns:1fr 1fr}
  .hs-loc{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line)}
  .hs-field:nth-child(3){border-right:1px solid var(--line)}
  .hs-field:nth-child(4){border-right:0}
  .hs-go{grid-column:1/-1;min-height:52px}
  .hero-mini{grid-template-columns:1fr}
}
@media (max-width:560px){
  .hero-content{padding-top:96px;padding-bottom:70px}
  .hero h1{font-size:2.35rem}
  .hero-sub{margin-bottom:1.4rem;font-size:.95rem}
  .hero-actions .btn{max-width:none;flex:1 1 140px;padding-left:1em;padding-right:1em}
  .btn--mini{padding:.8em .9em;letter-spacing:.1em}
}

/* Search tiles: six categories */
.search-tiles--six{grid-template-columns:repeat(3,1fr);gap:44px 32px}
.search-tiles--six .tile--search{aspect-ratio:4/3}
.tile--slate{--tint:30,44,60}
.tile--plum{--tint:46,32,52}
.tile-count{font-style:normal;opacity:.85;letter-spacing:.1em}
@media (max-width:1040px){.search-tiles--six{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.search-tiles--six .tile--search{aspect-ratio:1/1.05}}

/* Chip row (homepage Just Listed) */
.chip-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:-6px 0 30px}
.chip{display:inline-block;padding:8px 18px;border:1px solid var(--navy-ink);border-radius:999px;color:var(--navy-ink);text-decoration:none;font-size:.66rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;transition:background .3s,color .3s}
.chip em,.btn em{font-style:normal;opacity:.75}
.chip:hover,.chip:focus-visible{background:var(--navy);color:#fff}

/* Category pages */
.page-sub .site-header{position:fixed}
/* --hdr becomes 0 when the header hides, which would zero .sub-main padding-top
   and shrink the document, nudging scrollY and retriggering hide/unhide.
   Keep the fixed-header spacer stable (--hdr-space). Sticky .catbars still
   uses --hdr for its top offset. Opaque navy on the wrapper so chips cannot
   show through when the header is hidden. */
.sub-main{padding-top:var(--hdr-space, 88px);overflow-anchor:none}
@media (max-width:1040px){.sub-main{padding-top:var(--hdr-space, 78px)}}
@media (max-width:560px){.sub-main{padding-top:var(--hdr-space, 66px)}}
.catbars{position:sticky;top:var(--hdr,88px);z-index:90;transition:transform .3s var(--ease);will-change:transform;background:var(--navy);overflow-anchor:none}
@media (max-width:1040px){.catbars{top:var(--hdr,78px)}}
@media (max-width:560px){.catbars{top:var(--hdr,66px)}}
.catbars.bars-hidden{transform:translateY(calc(-100% - 2px))}
.catbar,.qtybar{border-bottom:1px solid var(--line)}
.catbar{background:var(--navy)}
.qtybar{background:var(--hdr-solid);box-shadow:0 6px 16px -12px rgba(14,36,56,.5);min-height:45px}
.bar-scroll{display:flex;gap:4px;max-width:1440px;margin:0 auto;padding:0 var(--gutter);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.bar-scroll::-webkit-scrollbar{display:none}
.catbar a{flex:0 0 auto;display:block;padding:9px 14px;color:rgba(255,255,255,.82);text-decoration:none;font-size:.64rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;border-bottom:2px solid transparent}
.catbar a:hover{color:#fff}
.catbar a.is-current{color:#fff;border-bottom-color:var(--gold)}
.qtybar .bar-scroll{padding-top:7px;padding-bottom:7px;gap:8px}
.qchip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:.64rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;border-radius:999px;transition:background .2s,color .2s,border-color .2s}
.qchip em{font-style:normal;color:var(--ink-soft);font-weight:400}
.qchip:hover{border-color:var(--navy-ink)}
.qchip.is-current{background:var(--navy);border-color:var(--navy-ink);color:#fff}
.qchip.is-current em{color:rgba(255,255,255,.8)}
.page-intro{text-align:center;padding-top:clamp(28px,4vw,52px);padding-bottom:8px}
.page-intro h1{font-size:clamp(2.4rem,4.6vw,3.8rem);margin-bottom:.3em}
.page-count{margin:14px auto 0;font-size:.8rem;letter-spacing:.06em;color:var(--ink-soft);max-width:760px}
.page-note{display:block;font-size:.72rem;color:var(--muted-7a838c);margin-top:4px}
.cat-section{padding:clamp(16px,2vw,26px) 0 6px;border-top:1px solid var(--line);margin-top:10px}
.cat-section:first-child{border-top:0;margin-top:0}
.cat-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}
.cat-head h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:0}
.cat-count{font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft);white-space:nowrap}
@media (max-width:560px){
  .listing-grid.listing-grid--page{grid-template-columns:1fr 1fr;grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;margin:0;padding:0;gap:22px 12px}
  .listing-grid--page .listing-price{font-size:1.35rem}
  .listing-grid--page .listing-facts{flex-wrap:wrap;gap:2px 10px;font-size:.7rem}
  .listing-grid--page .listing-badge{top:8px;left:8px;font-size:.54rem;padding:4px 7px;letter-spacing:.16em}
  .listing-grid--page .listing-addr{font-size:.78rem}
  .listing-grid--page .listing-city{font-size:.62rem;letter-spacing:.14em}
  .listing-grid--page .listing-office{font-size:.6rem}
}
.sub-cta{text-align:center;background:var(--sand);padding:clamp(32px,5vw,56px) var(--gutter);margin:10px 0 clamp(40px,6vw,80px)}
.sub-cta h2{font-size:clamp(1.9rem,3.4vw,2.8rem)}
.sub-cta p{color:var(--ink-soft)}
.sub-cta .btn-row{justify-content:center;margin-top:1.2rem}
.footer-phone{color:#fff;font-weight:600;letter-spacing:.06em;text-decoration:none}
.footer-phone:hover{text-decoration:underline}
.listing-empty a{color:var(--navy-ink)}
.page-sub .site-header.is-solid{background:var(--surface)}
.catbars.bars-hidden{transform:translateY(calc(-100% - var(--hdr,66px) - 4px))}
@media (min-width:561px){.hero-content{padding-top:150px}}
@media (max-width:560px){.hero-actions .btn{letter-spacing:.14em}.hero-content{padding-top:104px}}

/* Search by price */
.section--price{background:var(--sand);padding-block:32px}
.section--price .section-head{margin-bottom:14px}
.price-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:880px;margin:0 auto}
.price-tile{display:flex;align-items:center;justify-content:center;min-height:84px;border:1px solid var(--navy-ink);background:var(--surface);color:var(--navy-ink);text-decoration:none;font-family:var(--serif);font-size:1.5rem;text-align:center;padding:10px;transition:background .3s,color .3s}
.price-tile b{font-weight:400}
.price-tile:hover,.price-tile:focus-visible{background:var(--navy);color:#fff}
@media (max-width:640px){.price-tiles{grid-template-columns:repeat(2,1fr)}}

/* Search the Lake tiles over the hero video */
.hero--tiles{min-height:100vh;min-height:100svh;height:auto;align-items:flex-start}
.hero-content--tiles{max-width:1100px;width:100%;padding:128px var(--gutter) 56px}
.hero-content--tiles .section-head{margin-bottom:14px}
.hero-content--tiles .section-head h2{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.hero-content--tiles .section-head .lede{color:rgba(255,255,255,.9)}
.hero-content--tiles .search-tiles--six{gap:16px 14px}
.hero-content--tiles .search-tiles--six .tile--search{aspect-ratio:16/9}
@media (max-width:560px){.hero-content--tiles{padding-top:96px}.hero-content--tiles .search-tiles--six .tile--search{aspect-ratio:1/.8}}

/* Search first, lake video below, then white space */
.section--first{padding-top:clamp(132px,13vw,170px)}
.hero--band{min-height:0;height:clamp(260px,46vw,560px)}
.video-gap{height:clamp(72px,9vw,140px);background:var(--surface)}
.tile-new--white{background:var(--surface);box-shadow:0 2px 10px rgba(14,36,56,.12)}
.tile-new--white:hover{background:var(--navy);color:#fff}
.tile-col--wide{grid-column:span 2}
.search-tiles--six .tile--wide{aspect-ratio:8/3}
@media (max-width:560px){.search-tiles--six .tile--wide{aspect-ratio:2/1}}
.tile-slices b.jl{font-size:clamp(.78rem,1vw,.98rem);line-height:1.05;white-space:nowrap}

.community-col{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0}
.community-col .tile-slices{aspect-ratio:4/1.1}
@media (max-width:820px){.community-col .tile-slices{aspect-ratio:4/1.1;grid-template-columns:repeat(4,1fr)}.community-col .tile-slices a:nth-child(3){border-left:2px solid #fff}.community-col .tile-slices a:nth-child(n+3){border-top:0}}
@media (max-width:420px){.community-col .tile-slices b.jl{font-size:.7rem}}
.community-col .tile-slices a{background:transparent}
/* Subdivision community tiles with only Off-Water + Comm. & Land chips */
.community-col .tile-slices:has(> a:nth-child(2):last-child){grid-template-columns:1fr 1fr}
@media (max-width:820px){
  .community-col .tile-slices:has(> a:nth-child(2):last-child){grid-template-columns:1fr 1fr}
}
/* 3 chips: Just Listed or Lakefront plus the two standing chips */
.community-col .tile-slices:has(> a:nth-child(3):last-child){grid-template-columns:repeat(3,1fr)}
@media (max-width:820px){
  .community-col .tile-slices:has(> a:nth-child(3):last-child){grid-template-columns:repeat(3,1fr)}
}

.community-col .tile-slices b.jl{font-size:clamp(.9rem,1.25vw,1.15rem);font-weight:600}

.catbar a{margin:9px 2px;padding:6px 16px;border-radius:999px;border-bottom:0}
/* 2026-11-23: when the fall header is visible, the gold line sits 7px
   below the header and the vine hangs to ~16–20px (SVG box bottom: -20px).
   Extra navy padding-top (bar stays flush — no white gap) drops the pills
   to 29px so the gold line and leaves clear the LAKEFRONT chip.
   2026-11-27: keep that 20px padding when the header hides. Collapsing it
   (and .sub-main padding via --hdr:0) shrank the document and retriggered
   hide/unhide. Sticky .catbars still moves to top:0 via --hdr. */
body.season-fall .catbar,
body.season-fall.hdr-scroll-hidden .catbar{padding-top:20px}
body.lal-hdr-anim.season-fall .catbar{transition:none}
.catbar a:hover{background:rgba(255,255,255,.12)}
.catbar a.is-current{background:var(--gold);color:var(--navy);font-weight:700;border-bottom:0}
.qchip{background:var(--bg-f1ede6)}
.qchip.is-current{background:var(--navy);border-color:var(--navy-ink);color:#fff;box-shadow:inset 0 -3px 0 var(--gold);font-weight:700}
.qtown{flex:0 0 auto;display:inline-flex;align-items:center;margin-left:6px;padding:5px 12px;background:var(--gold);color:var(--navy);font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;border-radius:999px}

/* Lake video behind the header, running down into the first block */
.section--search{position:relative}
.section--search>.container{position:relative;z-index:1}
.search-video{position:absolute;inset:0 0 auto;height:calc(clamp(132px,13vw,170px) + 190px);overflow:hidden;background:var(--navy);z-index:0}
.search-video::after{content:"";position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
.section--search .section-head h2{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.4)}
.section--search .section-head .lede{color:rgba(255,255,255,.95);text-shadow:0 1px 14px rgba(0,0,0,.45)}
@media (max-width:560px){.search-video{height:calc(clamp(132px,13vw,170px) + 170px)}}

/* mini tile text: bold numbers (half the earlier size), larger labels */
.tile-slices b:not(.jl){font-family:var(--sans,inherit);font-weight:800;font-size:clamp(1.3rem,1.9vw,1.75rem);line-height:1;text-shadow:0 2px 10px rgba(0,0,0,.65)}
.tile-slices b:not(.jl)+span{font-weight:700;font-size:.74rem;letter-spacing:.14em;margin-top:.4rem}
.tile-slices b.jl{font-size:clamp(.92rem,1.2vw,1.12rem);font-weight:600}
.community-col .tile-slices b.jl{font-size:clamp(.98rem,1.3vw,1.2rem)}
.tile-slices a:not(:has(b:not(.jl))) span{font-size:.72rem;font-weight:700}
@media (max-width:560px){.tile-slices b:not(.jl){font-size:1.35rem}.tile-slices b:not(.jl)+span{font-size:.7rem}.tile-slices b.jl{font-size:.8rem}.community-col .tile-slices b.jl{font-size:.78rem}}
@media (max-width:380px){.community-col .tile-slices b.jl{font-size:.7rem}}
.tile-slices b.jl+span{font-size:.64rem;font-weight:700;letter-spacing:.05em;margin-top:.3rem}
@media (max-width:560px){.tile-slices b.jl+span{font-size:.62rem;letter-spacing:.03em}}
@media (max-width:560px){.tile-slices b.jl+span{font-size:.56rem;letter-spacing:0}.tile-slices a{padding-left:1px;padding-right:1px}}
/* first block Just Listed slices: bolder, larger */
.tile-slices b.jl{font-weight:700}
.tile-col .tile-slices b.jl{font-size:clamp(.95rem,1.25vw,1.15rem);font-weight:700}
.tile-col .tile-slices b.jl+span{font-size:.7rem;font-weight:800;letter-spacing:.04em}
@media (max-width:560px){.tile-col .tile-slices b.jl{font-size:.88rem}.tile-col .tile-slices b.jl+span{font-size:.6rem;letter-spacing:0}}

/* Let's Talk call-to-action tile at the end of each results category */
.listing-cta{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;padding:28px 22px;min-height:300px;background:linear-gradient(160deg,var(--navy),var(--navy-2));color:#fff;text-decoration:none;border-bottom:3px solid var(--gold);transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.listing-cta:hover{transform:translateY(-4px);box-shadow:0 24px 40px -24px rgba(14,36,56,.6)}
.listing-cta .cta-eyebrow{font-size:.64rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.listing-cta .cta-title{font-family:var(--serif);font-weight:700;font-size:2.3rem;line-height:1.05}
.listing-cta .cta-text{font-size:.88rem;line-height:1.55;color:rgba(255,255,255,.88);max-width:26ch}
.listing-cta .cta-btn{margin-top:6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gold);border-radius:999px;color:#fff;font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;padding:11px 20px}
.listing-cta .cta-btn:hover,.listing-cta .cta-btn:focus-visible{background:var(--gold);color:var(--navy)}
@media (max-width:760px){.listing-cta{min-height:0;padding:22px 12px}.listing-cta .cta-title{font-size:1.7rem}.listing-cta .cta-text{font-size:.76rem}.listing-cta .cta-btn{font-size:.58rem;padding:9px 14px;letter-spacing:.14em}}

/* Price sort on results pages */
.sort-bar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 auto 26px;padding:0 var(--gutter)}
.sort-bar .sort-label{font-size:.66rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft);margin-right:4px}
.sort-bar button{font:inherit;font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:10px 18px;background:var(--surface);color:var(--navy-ink);border:1px solid var(--navy-ink);border-radius:999px;cursor:pointer;transition:background .25s,color .25s}
.sort-bar button:hover{background:var(--sand)}
.sort-bar button[aria-pressed="true"]{background:var(--navy);color:#fff;box-shadow:inset 0 -3px 0 var(--gold)}
@media (max-width:760px){.sort-bar{gap:6px}.sort-bar .sort-label{width:100%;text-align:center;margin:0}.sort-bar button{font-size:.62rem;padding:9px 14px;letter-spacing:.08em}}

/* ===== Add to Notebook ===== */
.nb-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:12px 0 0;padding:10px 16px;font:inherit;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--navy-ink);background:var(--bg-fbf8f1);border:2px solid var(--gold);border-radius:999px;cursor:pointer;transition:background .25s,color .25s}
.nb-add:hover{background:var(--sand)}
.nb-add .nb-add-ico{display:inline-flex}
.nb-add.is-in{background:var(--navy);color:#fff;border-color:var(--gold)}
.nb-nav{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 0 0 8px;padding:0;background:none;border:0;color:inherit;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent}
.nb-nav svg{display:block;width:32px;height:32px}
.nb-nav:hover{color:var(--gold)}
.nb-nav:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}
.nb-nav .nb-count{position:absolute;top:4px;right:2px;min-width:22px;height:22px;padding:0 6px;display:none;align-items:center;justify-content:center;border-radius:11px;background:var(--gold);color:var(--navy);font-size:.7rem;font-weight:700;letter-spacing:0;line-height:1;box-shadow:0 0 0 2px currentColor}
.nb-nav.has-items .nb-count{display:inline-flex}
.site-header.is-solid .nb-nav .nb-count{box-shadow:0 0 0 2px #fff}
.share-nav{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 0 0 8px;padding:0;background:none;border:0;color:inherit;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent}
.share-nav svg{display:block;width:32px;height:32px}
.share-nav:hover{color:var(--gold)}
.share-nav:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}
.share-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom, 0px));transform:translateX(-50%) translateY(8px);z-index:5000;padding:10px 16px;background:var(--navy);color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.06em;border-left:3px solid var(--gold);box-shadow:0 10px 24px -10px rgba(14,36,56,.55);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.share-toast.is-on{opacity:1;transform:translateX(-50%) translateY(0)}
@media (max-width:1040px){
  /* Keep room for icon + hamburger; don't let the logo shove them off-screen. */
  .brand{min-width:0}
  .brand picture,.brand-logo{max-width:100%}
  .nb-nav{width:52px;height:52px;margin-left:auto;margin-right:-8px}
  .nb-nav svg{width:30px;height:30px}
  .nb-nav .nb-count{top:3px;right:1px;min-width:20px;height:20px;font-size:.66rem;border-radius:10px}
  .share-nav{width:52px;height:52px;margin-left:auto;margin-right:0}
  .share-nav svg{width:30px;height:30px}
  .header-inner:has(.share-nav) .nb-nav{margin-left:0}
}
@media (max-width:560px){
  .nb-nav{width:48px;height:48px}
  .nb-nav svg{width:28px;height:28px}
  .nb-nav .nb-count{top:2px;right:0;min-width:20px;height:20px}
  .share-nav{width:48px;height:48px}
  .share-nav svg{width:28px;height:28px}
}
@media (max-width:760px){
  /* Phone: notebook is the rightmost header item, ~8px from the edge; share then hamburger sit to its left. */
  .site-header .header-inner{padding-right:max(8px, env(safe-area-inset-right, 0px))}
  .site-header .menu-toggle{order:2;margin-left:auto;margin-right:0}
  .site-header .share-nav{order:3;margin-left:0;margin-right:0}
  .site-header .nb-nav{order:4;margin-left:0;margin-right:0}
}
.nb-overlay{position:fixed;inset:0;z-index:4000}
.nb-overlay[hidden]{display:none}
.nb-backdrop{position:absolute;inset:0;background:rgba(14,36,56,.55)}
.nb-panel{position:absolute;top:0;right:0;bottom:0;width:min(520px,100%);display:flex;background:var(--bg-f5efe2);box-shadow:-24px 0 50px -20px rgba(0,0,0,.5)}
.nb-rings{flex:0 0 38px;background:var(--bg-e9e1cf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38'%3E%3Ccircle cx='24' cy='19' r='6' fill='%23b9ae95'/%3E%3Crect x='3' y='14.5' width='28' height='9' rx='4.5' fill='%230e2438'/%3E%3Crect x='6' y='16.6' width='22' height='2.2' rx='1.1' fill='%2397b3cc' opacity='.7'/%3E%3C/svg%3E") repeat-y left top;border-right:1px solid #d6cbb2}
.nb-sheet{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;background-image:linear-gradient(90deg,transparent 33px,rgba(200,70,70,.35) 33px,rgba(200,70,70,.35) 34px,transparent 34px)}
.nb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 20px 12px 46px;border-bottom:2px solid var(--gold)}
.nb-eyebrow{margin:0 0 2px;font-size:.6rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft)}
.nb-head h2{margin:0;font-family:var(--serif);font-size:2.1rem;line-height:1.05;font-style:italic;color:var(--navy-ink)}
.nb-x{font:inherit;font-size:2rem;line-height:1;background:none;border:0;color:var(--navy-ink);cursor:pointer;padding:0 4px}
.nb-body{flex:1;overflow-y:auto;padding:6px 18px 10px 46px;-webkit-overflow-scrolling:touch}
.nb-list{list-style:none;margin:0;padding:0}
.nb-item{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(110,150,190,.45)}
.nb-thumb{flex:0 0 104px;display:block}
.nb-thumb img{width:104px;height:78px;object-fit:cover;display:block;border:3px solid #fff;box-shadow:0 3px 8px -3px rgba(0,0,0,.4);transform:rotate(-1.5deg)}
.nb-info{flex:1;min-width:0}
.nb-info p{margin:0}
.nb-price{font-family:var(--serif);font-size:1.5rem;line-height:1.1;color:var(--navy-ink)}
.nb-addr{font-size:.84rem}
.nb-city{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.nb-facts{font-size:.72rem;color:var(--ink-soft);margin-top:2px!important}
.nb-links{margin-top:4px!important;font-size:.72rem}
.nb-links a{color:var(--navy-ink);text-decoration:underline}
.nb-rm{font:inherit;font-size:.6rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--danger-8a3a3a);background:none;border:0;cursor:pointer;padding:4px 0;text-decoration:underline}
.nb-empty{margin:28px 0;font-size:.92rem;color:var(--ink-soft);line-height:1.6}
.nb-empty[hidden]{display:none}
.nb-form{padding:14px 20px 20px 46px;border-top:2px solid var(--gold);background:rgba(255,255,255,.55)}
.nb-form[hidden]{display:none}
.nb-formtitle{margin:0 0 8px;font-weight:700;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--navy-ink)}
.nb-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nb-field{display:block;margin-bottom:8px}
.nb-field span{display:block;font-size:.62rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.nb-field input{width:100%;font:inherit;font-size:.9rem;padding:6px 2px;background:transparent;border:0;border-bottom:1px solid var(--navy-ink);border-radius:0;outline:none}
.nb-field input:focus{border-bottom-color:var(--gold);box-shadow:0 1px 0 var(--gold)}
.nb-field.is-invalid input{border-bottom-color:var(--danger-b3402f)}
.nb-status{min-height:1.2em;margin:2px 0 6px;font-size:.8rem}
.nb-status.is-error{color:var(--danger-b3402f)}
.nb-send{width:100%;font:inherit;font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:14px 18px;color:#fff;background:var(--navy);border:2px solid var(--gold);border-radius:999px;cursor:pointer}
.nb-send:disabled{opacity:.6;cursor:default}
.nb-success h3{margin:0 0 6px;font-family:var(--serif);font-size:1.8rem;text-transform:none;letter-spacing:0;font-weight:500}
.nb-success p:last-child{font-weight:400;font-size:.9rem;letter-spacing:0;text-transform:none;color:var(--ink-soft)}
html.nb-lock,html.nb-lock body{overflow:hidden}
@media (max-width:640px){
  .nb-rings{flex-basis:28px;background-size:28px 28px}
  .nb-head{padding:16px 12px 10px 36px}.nb-body{padding:4px 12px 8px 36px}.nb-form{padding:12px 14px 16px 36px}
  .nb-sheet{background-image:linear-gradient(90deg,transparent 25px,rgba(200,70,70,.35) 25px,rgba(200,70,70,.35) 26px,transparent 26px)}
  .nb-row{grid-template-columns:1fr}
  .nb-thumb{flex-basis:84px}.nb-thumb img{width:84px;height:64px}
  .nb-add{font-size:.58rem;letter-spacing:.08em;padding:9px 12px;gap:5px}
}
@media (max-width:640px){.nb-sheet{overflow-y:auto}.nb-body{flex:0 0 auto;overflow:visible;min-height:120px}.nb-form{flex:0 0 auto}}

/* Just Listed + Comm. & Land mini tiles: same weight and size as the number tiles */
.tile-slices b.jl{font-family:var(--sans,inherit);font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.65)}
.tile-col .tile-slices b.jl{font-size:clamp(1.05rem,1.5vw,1.4rem);line-height:1.02}
.tile-col .tile-slices b.jl.jlw{width:min-content;max-width:100%;white-space:normal;text-align:center;font-size:clamp(1.15rem,1.75vw,1.6rem);line-height:1.02}
.tile-col .tile-slices b.jl+span{font-size:.74rem;font-weight:800;letter-spacing:.1em;margin-top:.45rem}
.community-col .tile-slices b.jl{font-size:clamp(.82rem,1.7vw,1.4rem);line-height:1.05}
.community-col .tile-slices b.jl.jlw{width:auto;white-space:nowrap}
@media (max-width:560px){
  .tile-col .tile-slices b.jl{font-size:.92rem}
  .tile-col .tile-slices b.jl.jlw{font-size:1.02rem}
  .tile-col .tile-slices b.jl+span{font-size:.58rem;letter-spacing:.02em}
  .community-col .tile-slices b.jl{font-size:.78rem}
}
@media (max-width:380px){
  .tile-col .tile-slices b.jl{font-size:.8rem}.tile-col .tile-slices b.jl.jlw{font-size:.9rem}.tile-col .tile-slices b.jl+span{font-size:.5rem}
  .community-col .tile-slices b.jl{font-size:.68rem}
}
.tile-col .tile-slices b.jl{font-size:clamp(1rem,1.25vw,1.2rem)}
.tile-col .tile-slices b.jl.jlw{font-size:clamp(1.1rem,1.5vw,1.4rem)}
.tile-col .tile-slices b.jl+span{letter-spacing:.04em}
.community-col .tile-slices b.jl{font-size:clamp(.82rem,1.35vw,1.15rem)}
@media (max-width:560px){
  .tile-col .tile-slices b.jl{font-size:.92rem}.tile-col .tile-slices b.jl.jlw{font-size:1.02rem}.tile-col .tile-slices b.jl+span{letter-spacing:.02em}
  .community-col .tile-slices b.jl{font-size:.78rem}
}
@media (max-width:380px){
  .tile-col .tile-slices b.jl{font-size:.8rem}.tile-col .tile-slices b.jl.jlw{font-size:.9rem}.tile-col .tile-slices b.jl+span{font-size:.5rem}
  .community-col .tile-slices b.jl{font-size:.68rem}
}
.community-col .tile-slices b.jl,.community-col .tile-slices b.jl.jlw{width:min-content;max-width:100%;white-space:normal;text-align:center;font-size:clamp(.8rem,1.28vw,1.1rem);line-height:1.05;margin-inline:auto}
@media (max-width:560px){.community-col .tile-slices b.jl,.community-col .tile-slices b.jl.jlw{font-size:.78rem}}
@media (max-width:380px){.community-col .tile-slices b.jl,.community-col .tile-slices b.jl.jlw{font-size:.66rem}}
/* No-lake town chips: two-line Farms (5+ Acres) / Homes <5 Acres labels */
.community-col .tile-slices b.jl.jl-acres{
  white-space:normal;
  width:auto;
  max-width:100%;
  line-height:1.12;
  text-align:center;
  font-size:clamp(.68rem,1.08vw,.92rem);
}
@media (max-width:560px){
  .community-col .tile-slices b.jl.jl-acres{font-size:.62rem}
}
@media (max-width:380px){
  .community-col .tile-slices b.jl.jl-acres{font-size:.56rem}
}
@media (max-width:560px){
  .tile-col .tile-slices{aspect-ratio:auto;grid-template-rows:repeat(2,4.6rem)}
  .tile-col .tile-slices a{min-height:0;height:4.6rem;overflow:hidden;box-sizing:border-box;justify-content:center}
}
@media (max-width:560px){
  .tile-col .tile-new{display:flex;align-items:center;justify-content:center;text-align:center;min-height:3.4rem;box-sizing:border-box;padding-top:.4rem;padding-bottom:.4rem}
}
.nb-promise{margin:.2rem 0 .6rem;font-size:.82rem;line-height:1.4;color:var(--soft-41505f);font-style:italic}
.nb-copy{display:flex;align-items:center;gap:.5rem;margin:.2rem 0 .7rem;font-size:.9rem;color:var(--ink-1c2b3a);cursor:pointer}
.nb-copy input{width:1.1rem;height:1.1rem;margin:0;accent-color:#0e2438;flex:0 0 auto}
.nb-field textarea{width:100%;font:inherit;font-size:.9rem;line-height:1.4;padding:6px 2px;background:transparent;border:0;border-bottom:1px solid var(--navy-ink);border-radius:0;outline:none;resize:none;display:block}
.nb-field textarea:focus{border-bottom-color:var(--gold);box-shadow:0 1px 0 var(--gold)}
.nb-x{font-size:6rem;line-height:.8;padding:0 8px;font-weight:300}
@media (max-width:640px){.nb-x{font-size:4.5rem}}
.nb-rm{font-size:1.2rem;padding:8px 0}
@media (max-width:640px){.nb-rm{font-size:1.05rem}}
.nb-rm{font-size:.9rem;padding:6px 0}
@media (max-width:640px){.nb-rm{font-size:.79rem}}
.listing-facts.facts-compact,.listing-grid--page .listing-facts.facts-compact{flex-wrap:nowrap;white-space:nowrap;gap:2px 9px;font-size:.74rem;overflow:hidden}
@media (max-width:700px){.listing-facts.facts-compact,.listing-grid--page .listing-facts.facts-compact{gap:2px 6px;font-size:.66rem}}
@media (max-width:380px){.listing-facts.facts-compact,.listing-grid--page .listing-facts.facts-compact{gap:2px 5px;font-size:.6rem}}
.listing-city:has(.city-ac){white-space:nowrap}
.listing-city .city-ac{letter-spacing:.06em}
@media (max-width:700px){.listing-city:has(.city-ac){letter-spacing:.05em}}
@media (max-width:380px){.listing-city:has(.city-ac){letter-spacing:.02em;font-size:.56rem}}

/* Lake Area Listings header logo (dark on hero, light once header turns white) */
.brand{background:transparent;padding:0;box-shadow:none;overflow:visible}
.brand-logo{
  /* 2026-11-15: +24% over prior heights. Vertical margin trims the master
     file's transparent pad (227/1404) so the title bar does not grow. */
  --lal-logo-h:119.04px;
  height:var(--lal-logo-h);width:auto;max-width:none;object-fit:contain;
  margin-top:calc(-1 * var(--lal-logo-h) * 227 / 1404);
  margin-bottom:calc(-1 * var(--lal-logo-h) * 227 / 1404);
  margin-left:calc(-1 * var(--lal-logo-h) * 227 / 1404);
  margin-right:calc(-1 * var(--lal-logo-h) * 227 / 1404);
}
.brand-logo--light{display:none}
.site-header.is-solid .brand-logo--dark{display:none}
.site-header.is-solid .brand-logo--light{display:block}
.site-header:not(.is-solid) .brand-logo--dark{filter:drop-shadow(0 2px 10px rgba(0,0,0,.45))}
.site-header.is-solid .brand-logo{--lal-logo-h:89.28px;height:var(--lal-logo-h)}
.site-header.is-solid .brand{padding-left:0}
.site-header,.header-inner{overflow:visible}
.menu-open .site-header .brand-logo--dark{display:block}
.menu-open .site-header .brand-logo--light{display:none}
@media (max-width:1040px){
  .brand-logo{--lal-logo-h:96.72px;height:var(--lal-logo-h);max-width:none}
  .site-header.is-solid .brand-logo{--lal-logo-h:74.4px;height:var(--lal-logo-h)}
}
@media (max-width:560px){
  /* Phone +24% (75->93, 62.5->77.5); header box stays 104 / solid 66. */
  .header-inner{gap:8px;padding-left:8px;overflow:visible}
  .brand{padding:0;margin:0;overflow:visible;min-width:0}
  .brand-logo{--lal-logo-h:93px;height:var(--lal-logo-h);max-width:none}
  .site-header.is-solid .brand-logo{--lal-logo-h:77.5px;height:var(--lal-logo-h)}
  .site-header.is-solid .header-inner{height:66px}
  /* Keep hamburger and notebook from being flex-squeezed by the wider H lockup. */
  body:not(.page-map) .menu-toggle,body:not(.page-map) .share-nav,body:not(.page-map) .nb-nav{flex-shrink:0}
}
/* H lockup is ~23% wider than v2. At the +24% phone heights it collides with
   the hamburger + notebook below ~424px. Shrink the logo just enough to clear
   them (4px art gap). Header bar heights stay unchanged. The map page uses
   the full header, so it shares this shrink. */
@media (max-width:427px){
  /* Reserved: gutters + hamburger 44 + share 48 + notebook 48 + gaps, plus 4px art gap.
     Map uses the full header (mini/hidden retired), so it needs the same shrink. */
  .brand-logo{
    --lal-logo-h:calc((100vw - 8px - 8px - 8px - 8px - 44px - 48px - 48px - 8px - 4px) * 1404 / 4579);
    height:var(--lal-logo-h);
  }
  .site-header.is-solid .brand-logo{
    --lal-logo-h:min(77.5px, calc((100vw - 8px - 8px - 8px - 8px - 44px - 48px - 48px - 8px - 4px) * 1404 / 4579));
    height:var(--lal-logo-h);
  }
}
.brand picture{display:contents}

/* Hero video removed: calm still photo only */
.hero-poster{display:block}
.hero-video{display:none}

/* Quiet hero background: no photo, soft navy gradient */
.hero-poster,.hero-video{display:none !important}
.search-video{background:linear-gradient(180deg,#0e2438 0%,#17324b 100%)}

/* Plain white hero area: no image, no color; headline text turns dark */
.search-video{display:none !important}
.section--search .section-head h2{color:var(--ink);text-shadow:none}
.section--search .section-head .lede{color:var(--ink-soft);text-shadow:none}

/* Redfin-style hero: full-width lake photo with a soft dark scrim, white text on top */
.search-video{display:block !important;background:linear-gradient(180deg,#0e2438 0%,#17324b 100%)}
.search-video .hero-overlay{background:linear-gradient(180deg,rgba(8,18,28,.50) 0%,rgba(8,18,28,.42) 55%,rgba(8,18,28,.58) 100%)}
.search-video::after{height:60px}
.section--search .section-head h2{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.section--search .section-head .lede{color:rgba(255,255,255,.96);text-shadow:0 1px 14px rgba(0,0,0,.5)}

/* Hero: photo banner with a narrow, separate bar of curated tiles on top of it */
.section--search--first,.section--search.section--first{padding-top:clamp(150px,15vw,200px);padding-bottom:clamp(36px,4vw,56px);border-bottom:5px solid var(--gold)}
.search-video{inset:0 !important;height:auto !important}
.search-video::after{display:none !important}
.search-video .hero-overlay{background:linear-gradient(180deg,rgba(8,18,28,.30) 0%,rgba(8,18,28,.18) 45%,rgba(8,18,28,.40) 100%)}
.hero-bar{background:rgba(14,36,56,.90);border-top:3px solid var(--gold);padding:clamp(18px,2.2vw,28px) clamp(16px,2.4vw,32px) clamp(20px,2.4vw,30px);box-shadow:0 24px 60px -24px rgba(0,0,0,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hero-intro{margin:0 auto clamp(16px,1.8vw,22px);max-width:760px;text-align:center;color:#fff;font-size:clamp(.95rem,1.25vw,1.12rem);font-weight:400;line-height:1.55;letter-spacing:.01em;text-shadow:none}
@media (max-width:560px){
  .section--search.section--first{padding-top:112px;padding-bottom:18px}
  .hero-bar{padding:16px 12px 18px}
  .hero-intro{font-size:.9rem;text-align:left}
}
.hero-bar .tile-new{color:#fff;border-color:rgba(255,255,255,.65);background:rgba(255,255,255,.06)}
.hero-bar .tile-new:hover,.hero-bar .tile-new:focus-visible{background:var(--surface);color:var(--navy-ink)}
.hero-bar .tile-new--white{background:var(--surface);color:var(--navy-ink);border-color:#fff}
.hero-presented{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,22px);flex-wrap:wrap;margin:0 auto 12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.22);color:rgba(255,255,255,.9);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;text-align:center}
.hero-presented img{display:block;height:clamp(34px,3.4vw,46px);width:auto}
@media (max-width:560px){.hero-presented{flex-direction:column;gap:8px;font-size:.66rem;letter-spacing:.14em}.hero-presented img{height:36px}}

/* First block back to plain white: no background photo */
.search-video{display:none !important}
.section--search.section--first{background:var(--surface);padding-top:clamp(120px,11vw,150px)}
@media (max-width:560px){.section--search.section--first{padding-top:96px}}

/* Navy hero bar runs edge to edge; its contents stay lined up with the page column */
.section--search.section--first{overflow-x:clip}
.hero-bar{width:100vw;margin-left:calc(50% - 50vw);margin-right:0;
  padding-left:max(calc(var(--gutter) + clamp(16px,2.4vw,32px)),calc(50vw - var(--container)/2 + var(--gutter) + clamp(16px,2.4vw,32px)));
  padding-right:max(calc(var(--gutter) + clamp(16px,2.4vw,32px)),calc(50vw - var(--container)/2 + var(--gutter) + clamp(16px,2.4vw,32px)))}
@media (max-width:560px){.hero-bar{padding-left:calc(var(--gutter) + 12px);padding-right:calc(var(--gutter) + 12px)}}

/* AI search bar (home hero bar + search page) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ai-search{max-width:760px;margin:0 auto clamp(18px,2vw,26px)}
.ai-search-label{display:block;text-align:center;color:var(--gold);font-size:.66rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;margin-bottom:10px}
.ai-search-row,.ai-search--page{display:flex;gap:0;align-items:stretch}
.ai-search input[type=text]{flex:1 1 auto;min-width:0;font:inherit;font-size:1rem;padding:15px 18px;border:1px solid rgba(255,255,255,.55);border-right:0;border-radius:0;background:var(--surface);color:var(--ink);outline:none}
.ai-search input[type=text]:focus{box-shadow:inset 0 0 0 2px var(--gold)}
.ai-search button{flex:0 0 auto;font:inherit;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;padding:0 26px;border:1px solid var(--gold);border-radius:0;background:var(--gold);color:var(--navy);cursor:pointer;transition:background .25s,color .25s}
.ai-search button:hover,.ai-search button:focus-visible{background:var(--surface);color:var(--navy-ink)}
.ai-search--page{margin:22px auto 8px;max-width:760px}
.ai-search--page input[type=text]{border-color:var(--navy-ink);border-right:0}
.ai-search--page button{background:var(--navy);border-color:var(--navy-ink);color:#fff}
.ai-search--page button:hover,.ai-search--page button:focus-visible{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.ai-note{max-width:760px;margin:6px auto 0;font-size:.86rem;line-height:1.55;color:var(--ink-soft)}
.ai-spell{max-width:760px;margin:10px auto 0;font-size:.92rem;line-height:1.55;color:var(--ink-soft)}
.ai-spell strong{color:var(--navy-ink);font-weight:700}
.ai-spell a{color:var(--navy-ink);text-decoration:underline}
.ai-spell a:hover,.ai-spell a:focus-visible{color:var(--gold)}
.ai-sort{display:flex;justify-content:center;align-items:center;gap:10px;margin:14px auto 0}
.ai-sort label{font-size:.66rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft)}
.ai-sort select{font:inherit;font-size:.86rem;padding:8px 12px;border:1px solid var(--navy-ink);background:var(--surface);color:var(--navy-ink)}
.ai-empty{text-align:center;max-width:560px;margin:30px auto;color:var(--ink-soft);line-height:1.6}
.ai-more{margin:26px 0 8px}
@media (max-width:560px){.ai-search input[type=text]{font-size:.92rem;padding:13px 12px}.ai-search button{padding:0 16px;font-size:.66rem;letter-spacing:.14em}}

/* Presented-by: Brian Hofer REMAX photo logo (bigger so the name and phone read) */
.hero-presented img{height:clamp(96px,9vw,132px);width:auto}
@media (max-width:560px){.hero-presented img{height:104px}}

/* Search page: count and sort on one line */
.ai-sort{justify-content:space-between;max-width:none;margin:18px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.ai-count{font-size:.95rem;font-weight:600;color:var(--navy-ink)}
.ai-sort-pick{display:flex;align-items:center;gap:10px}

/* Presented-by: Brian Hofer REMAX logo on a white card (black artwork) */
.hero-presented img{height:clamp(58px,5.2vw,72px);background:#fff;padding:8px 14px;border-radius:2px;box-sizing:content-box}
@media (max-width:560px){.hero-presented img{height:46px;max-width:calc(100% - 28px);object-fit:contain}}

/* Presented-by: white-text logo on clear background (no card) */
.hero-presented img{background:none;padding:0;border-radius:0;height:clamp(66px,6vw,84px)}
@media (max-width:560px){.hero-presented img{height:56px;max-width:100%}}

/* Top block: one single line above the search bar */
.ai-search-label{white-space:nowrap;letter-spacing:.16em;font-size:.7rem;margin-bottom:12px}
@media (max-width:760px){.ai-search-label{letter-spacing:.06em;font-size:.6rem}}
@media (max-width:400px){.ai-search-label{letter-spacing:.02em;font-size:.54rem}}
@media (max-width:560px){.ai-long{display:none}.ai-search-label{font-size:.64rem;letter-spacing:.06em}}
@media (max-width:360px){.ai-search-label{font-size:.58rem;letter-spacing:.03em}}

/* Presented-by: all-white logo version 2 */
.hero-presented img{height:clamp(62px,5.6vw,80px)}
@media (max-width:560px){.hero-presented img{height:54px}}

/* Home: no white gap between header and navy bar; gold line under header.
   2026-11-21: line + fall vine moved down 4px together. The 3px gold line is a
   ::before bar 4px below the header edge; the 4px slot is filled with the
   header's own color so no gap shows between header and line. Vine follows
   (bottom: -16px -> -20px) so it still weaves along the line. */
body.page-home .site-header,
body.page-home .site-header.is-solid,
body.season-fall .site-header,
body.season-fall .site-header.is-solid,
body.page-home.season-fall .site-header,
body.page-home.season-fall .site-header.is-solid{box-shadow:none}
body.page-home .site-header::before,
body.season-fall .site-header::before{
  content:"";
  position:absolute;
  left:0;right:0;
  top:100%;
  height:7px;
  background:linear-gradient(to bottom, var(--navy) 0 4px, var(--gold) 4px 7px);
  pointer-events:none;
  z-index:0;
}
body.page-home .site-header.is-solid::before,
body.season-fall .site-header.is-solid::before{
  background:linear-gradient(to bottom, rgba(255,255,255,.97) 0 4px, var(--gold) 4px 7px);
}
body.page-sub .site-header.is-solid::before{
  background:linear-gradient(to bottom, #fff 0 4px, var(--gold) 4px 7px);
}
/* Fall season: thin 3px gold line + repeating vine weaving over/under it. Toggle via body.season-fall / SEASON in main.js. */
body.season-fall .site-header{overflow:visible}
body.season-fall .site-header::after{
  content:"";
  position:absolute;left:0;right:0;bottom:-20px;
  height:28px;
  background:url("../assets/img/fall-vine.svg?v=20261111-thinline") repeat-x center;
  background-size:240px 28px;
  pointer-events:none;
  z-index:0;
}
body.season-fall .site-header .header-inner,
body.season-fall .site-header .brand,
body.season-fall .site-header .menu-toggle,
body.season-fall .site-header .share-nav,
body.season-fall .site-header .nb-nav{position:relative;z-index:1}
/* Keep z-index above the vine, but do not override mobile position:fixed
   (that would put the closed menu back in the header flex and shove the
   notebook/hamburger off-screen). */
body.season-fall .site-header .primary-nav{z-index:1}
@media (min-width:1041px){
  body.season-fall .site-header .primary-nav{position:relative}
}
/* Map hidden header: no vine. Mobile mini navy bar keeps the vine along the gold line.
   Mini/hidden headers keep their own gold line (map.html pill shadow); hide the rectangular ::before. */
body.season-fall.page-map.map-header-hidden .site-header::after,
body.season-fall.page-map.map-header-hidden .site-header::before{display:none}
body.season-fall.page-map.map-header-mini .site-header::before{display:none}
@media (min-width:901px){
  body.season-fall.page-map.map-header-mini .site-header::after{display:none}
}

/* Site-wide scroll-hide header (not the map page). Sticky offsets follow --hdr. */
body:not(.page-map) .site-header{transition:background .4s var(--ease),box-shadow .4s var(--ease),color .4s var(--ease),transform .3s var(--ease)}
/* 2026-11-23: -110% of an 88px/66px header left the 20px hanging vine peeking into the catbar. Clear the full vine box. */
body:not(.page-map) .site-header.is-scroll-hidden{transform:translateY(calc(-100% - 24px))}
body.hdr-scroll-hidden:not(.page-map){--hdr:0px}

/* Mini landscape / short-viewport bar on non-map pages. 1440x900 (height 900) keeps the full bar.
   Covers phone landscape and short desktop (~844x390, 915x412, 1280x650). */
@media (orientation:landscape) and (max-height:700px){
  body:not(.page-map) .site-header.is-solid .header-inner{height:44px}
  body:not(.page-map) .site-header.is-solid .brand-logo{--lal-logo-h:39.68px;height:var(--lal-logo-h)}
  body:not(.page-map) .header-inner{padding-top:0;padding-bottom:0;gap:12px}
  body:not(.page-map) .primary-nav ul a{padding:4px 0}
  body:not(.page-map) .nav-cta{padding:.55em 1.1em}
  body:not(.page-map) .menu-toggle{width:44px;height:44px}
  body:not(.page-map) .nb-nav{width:40px;height:40px}
  body:not(.page-map) .nb-nav svg{width:24px;height:24px}
  body:not(.page-map) .nb-nav .nb-count{top:0;right:0;min-width:18px;height:18px;font-size:.62rem}
  body:not(.page-map) .share-nav{width:40px;height:40px}
  body:not(.page-map) .share-nav svg{width:24px;height:24px}
}
@media (orientation:landscape) and (max-height:700px) and (max-width:1040px){
  body:not(.page-map) .menu-toggle{display:block}
}

.section--search.section--first{padding-top:96px} /* +8px below header so the search bar sits a bit lower; bar layout/size unchanged */
@media (max-width:820px){.section--search.section--first{padding-top:86px}}
@media (max-width:560px){.section--search.section--first{padding-top:74px}}

/* Navy moved: thin presented-by strip on top, Search the Lake on white, navy behind My Listings */
.hero-presented{margin:0 auto;padding-bottom:0;border-bottom:0}
.hero-bar{padding-top:clamp(12px,1.4vw,18px);padding-bottom:clamp(12px,1.4vw,18px)}
.section--search.section--first{padding-bottom:clamp(14px,1.8vw,24px);border-bottom:0}
.section--search.section--first .ai-search{margin-top:clamp(24px,2.6vw,34px)}
.section--search.section--first .ai-search-label{color:var(--goldink-8a6a24)}
.section--search.section--first .ai-search input[type=text]{border:1px solid var(--navy-ink);border-right:0}
.section--mine{background:var(--navy);border-top:5px solid var(--gold)}
.section--mine .section-head h2{color:#fff}
.section--mine .listing-card{color:#fff}
.section--mine .listing-city{color:rgba(255,255,255,.72)}
.section--mine .listing-facts{color:rgba(255,255,255,.82);border-top-color:rgba(255,255,255,.25)}
.section--mine .listing-cta{border:1px solid rgba(255,255,255,.28);border-bottom:3px solid var(--gold)}
.hero-bar{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--navy)}

/* Footer Brian logo = same file as the top presented-by logo (keep in sync) */
/* LW-100: keep the presented-by balloon at its native aspect (img also has
   max-width:100%). max-height caps size when the brand column is wide enough;
   width/height auto + object-fit:contain prevent horizontal squash.
   ft2: desktop .footer-top uses max-content Listings/Explore tracks, a 300px cap
   on the brand column, 40px column-gap, and minmax(229px,1fr) for Browse so
   prices/towns wrap no more than pre-LW-100 (1 line for "Homes Under $300K" at
   1280+). Tablet/mobile footer grids are unchanged. */
.footer-logo{width:auto;height:auto;max-width:100%;max-height:clamp(66px,6vw,80px);object-fit:contain;object-position:left center;background:none;padding:0;border-radius:0}
.footer-presented{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 18px;max-width:100%}
.footer-lal-logo{display:block;height:clamp(56px,5.2vw,68px);width:auto;max-width:100%;object-fit:contain}
.footer-presented-by{margin:10px 0 8px;font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.08em;line-height:1.45;color:rgba(255,255,255,.82)}
.footer-presented .footer-logo{margin-bottom:0}


/* Phones: My Listings as a two-column grid, scroll down to see all; map tile first (full width), List With Me last (full width) */
@media (max-width:560px){
  #my-grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;scroll-snap-type:none;margin:0;padding:0;gap:18px 10px}
  #my-grid .listing-price{font-size:1.15rem}
  #my-grid .listing-addr{font-size:.74rem}
  #my-grid .listing-city{font-size:.56rem;letter-spacing:.1em}
  #my-grid .listing-facts{font-size:.62rem;flex-wrap:wrap;gap:2px 8px}
  #my-grid .listing-cta{grid-column:1/-1;min-height:0;padding:26px 16px}
  #my-grid .listing-map-tile{grid-column:1/-1}
  #my-grid .listing-map-tile-photo{aspect-ratio:16/7}
  #my-grid .listing-map-tile-body{min-height:4.25rem;padding:10px 8px 12px}
}

/* Property detail page */
.ld{padding-top:calc(88px + 22px);padding-bottom:56px}
@media (max-width:820px){.ld{padding-top:calc(78px + 16px)}}
@media (max-width:560px){.ld{padding-top:calc(66px + 14px)}}

/* Listing detail: Back to Results navy pill (same 122×66 chip as Back to Map). Always visible, top-left above the listing heading. */
.ld-back{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;margin:0 0 16px;min-height:66px}
.ld-back .map-back-btn{flex:0 0 122px}
.ld-loading,.ld-notfound{padding:48px 0;text-align:center;color:var(--ink-soft)}
.ld-wrap{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:36px;align-items:start}
.ld-main{position:relative;background:var(--bg-e9e5de);aspect-ratio:3/2;overflow:hidden}
.ld-main img{width:100%;height:100%;object-fit:cover;display:block}
.ld-badge{position:absolute;top:14px;left:14px;background:var(--surface);color:var(--navy-ink);font-size:.62rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;padding:7px 12px}
.ld-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--navy-ink);font-size:1.7rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 4px}
.ld-nav:hover{background:var(--gold)}
.ld-prev{left:12px}.ld-next{right:12px}
.ld-count{position:absolute;right:12px;bottom:12px;background:rgba(14,36,56,.8);color:#fff;font-size:.7rem;letter-spacing:.12em;padding:5px 10px}
.ld-thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding-bottom:6px;scroll-behavior:smooth}
.ld-thumbs button{flex:0 0 96px;aspect-ratio:3/2;padding:0;border:2px solid transparent;background:var(--bg-e9e5de);cursor:pointer;opacity:.75}
.ld-thumbs button.is-on{border-color:var(--gold);opacity:1}
.ld-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.ld-info .eyebrow{margin-bottom:6px}
.ld-price{font-family:var(--serif);font-size:clamp(2.2rem,4vw,3rem);line-height:1.05;margin:0 0 .25em;font-weight:500;color:var(--navy-ink)}
.ld-addr{font-size:1.15rem;margin:0}
.ld-city{font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft);margin:.3em 0 1.4rem}
.ld-facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 1.6rem;border-top:1px solid var(--line)}
.ld-facts div{padding:12px 4px;border-bottom:1px solid var(--line)}
.ld-facts dt{font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft)}
.ld-facts dd{margin:3px 0 0;font-size:1.02rem;color:var(--ink)}
.ld-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:1rem}
.ld-actions .btn{text-align:center}
.ld-office{font-size:.78rem;color:var(--ink-soft);margin:0}
.ld-map{margin-top:40px}
.ld-map h2{font-family:var(--serif);font-size:1.7rem;margin:0 0 14px;font-weight:500}
.ld-map iframe{width:100%;height:380px;border:0;display:block;background:var(--bg-e9e5de)}
@media (max-width:900px){.ld-wrap{grid-template-columns:1fr;gap:22px}.ld-map iframe{height:300px}.ld-thumbs button{flex-basis:80px}}
.ld-wrap>*{min-width:0}
.ld-gallery{min-width:0;max-width:100%}
.ld-thumbs{max-width:100%}
@media (max-width:900px){.ld-wrap{grid-template-columns:minmax(0,1fr)}}
.listing-type{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--goldink-8a6a24);margin:0 0 .35em;font-weight:600}
.section--mine .listing-type{color:var(--gold)}
@media (max-width:560px){.listing-type{font-size:.54rem;letter-spacing:.12em}}
.qchip.is-current{background:var(--gold);border-color:var(--gold);color:var(--navy);box-shadow:inset 0 -3px 0 var(--navy-ink);font-weight:700}
.sort-bar button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--navy);box-shadow:inset 0 -3px 0 var(--navy-ink)}
.sort-bar .page-count{margin:0 0 0 16px;max-width:none;white-space:nowrap;font-size:.8rem;color:var(--ink-soft);display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 10px}
@media (max-width:760px){.sort-bar .page-count{margin:4px 0 0;width:100%;justify-content:center;white-space:normal;font-size:.76rem}}

/* ===== Notebook tabs + keep/clear ===== */
.nb-tabs{display:flex;align-items:flex-end;gap:4px;padding:10px 12px 0 46px;overflow-x:auto;border-bottom:2px solid var(--gold);background:rgba(233,225,207,.55);-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.nb-tab{display:inline-flex;align-items:center;flex:0 0 auto;background:var(--bg-e4dcc8);border:1px solid #cdc3a8;border-bottom:0;border-radius:6px 6px 0 0;margin-bottom:-2px}
.nb-tab.is-active{background:var(--bg-f5efe2);border-color:var(--gold);border-bottom:2px solid var(--bg-f5efe2);position:relative}
.nb-tab-btn{font:inherit;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);background:none;border:0;padding:9px 12px;cursor:pointer;white-space:nowrap}
.nb-tab.is-active .nb-tab-btn{color:var(--navy-ink)}
.nb-tab-n{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:var(--gold);color:var(--navy);font-size:.62rem;letter-spacing:0;text-align:center}
.nb-tab-act{font:inherit;font-size:.9rem;line-height:1;color:var(--ink-soft);background:none;border:0;padding:9px 6px;cursor:pointer}
.nb-tab-act:hover{color:var(--navy-ink)}
.nb-tab-add{flex:0 0 auto;font:inherit;font-size:1.2rem;line-height:1;color:var(--navy-ink);background:none;border:1px dashed var(--navy-ink);border-radius:6px 6px 0 0;border-bottom:0;padding:6px 12px;margin-left:4px;cursor:pointer}
.nb-tab-add:hover{background:var(--bg-fbf8f1)}
.nb-after{margin:10px 0 8px!important;font-size:.9rem!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:var(--navy-ink)!important}
.nb-after-btns{display:flex;gap:10px;flex-wrap:wrap}
.nb-keep,.nb-clear{font:inherit;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:12px 18px;cursor:pointer;flex:1 1 auto;border-radius:999px}
.nb-keep{color:#fff;background:var(--navy);border:2px solid var(--gold)}
.nb-clear{color:var(--danger-8a3a3a);background:transparent;border:1px solid var(--danger-8a3a3a)}
.nb-clear:hover{background:rgba(138,58,58,.08)}
@media (max-width:640px){.nb-tabs{padding-left:36px;padding-right:8px}.nb-tab-btn{padding:8px 9px;font-size:.64rem}}
.nb-success>p:nth-of-type(2){font-weight:400!important;font-size:.9rem!important;letter-spacing:0!important;text-transform:none!important;color:var(--ink-soft)!important;margin:0 0 4px!important}

/* collapsed send form: only the Send it bar peeks out */
.nb-form{padding-top:10px;padding-bottom:14px}
.nb-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 8px;padding:0;font:inherit;text-align:left;background:none;border:0;cursor:pointer}
.nb-toggle .nb-formtitle{margin:0}
.nb-chev{flex:0 0 auto;width:9px;height:9px;border-right:2px solid var(--navy-ink);border-bottom:2px solid var(--navy-ink);transform:rotate(-135deg);margin:4px 4px 0 0;transition:transform .2s}
.nb-form.is-open .nb-chev{transform:rotate(45deg);margin-top:0}
.nb-fields{display:none}
.nb-form.is-open .nb-fields{display:block}
.nb-form:not(.is-open) .nb-toggle{margin-bottom:10px}
.nb-form.is-open{max-height:62vh;overflow-y:auto}
@media (max-width:640px){.nb-form.is-open{max-height:none;overflow:visible}.nb-form{position:sticky;bottom:0;z-index:2}}
@media (max-width:640px){.nb-body{flex:1 0 auto}.nb-form{margin-top:auto}}

.nb-add--ld{margin:0;padding:14px 18px;font-size:.74rem;letter-spacing:.16em}
.nb-add--ld.is-in{background:var(--navy);color:#fff}

/* Just Listed bars (2026-11-17): share the column's one photo (spread in main.js).
   Navy overlay keeps the label readable. Do not use the background shorthand on
   hover — that would wipe the spread image (see .tile-new:hover earlier). */
.tile-new.tile-new--photo,.hero-bar .tile-new.tile-new--photo{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  border-color:transparent;
  text-shadow:0 1px 6px rgba(0,0,0,.65);
  font-weight:700;
  background-color:var(--navy);
  background-image:var(--photo);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:50% 50%;
}
.tile-new.tile-new--photo::before,.hero-bar .tile-new.tile-new--photo::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:transparent;
  transition:background .3s var(--ease,ease);
}
.tile-new.tile-new--photo:hover,.tile-new.tile-new--photo:focus-visible,
.hero-bar .tile-new.tile-new--photo:hover,.hero-bar .tile-new.tile-new--photo:focus-visible{
  background-color:var(--navy);
  color:#fff;
  border-color:transparent;
}
.tile-new.tile-new--photo:hover::before,.tile-new.tile-new--photo:focus-visible::before,
.hero-bar .tile-new.tile-new--photo:hover::before,.hero-bar .tile-new.tile-new--photo:focus-visible::before{
  background:transparent;
}


/* Homepage "Let's Talk" card in the sixth search-grid spot (2026-11-08): same .listing-cta card as the listing pages,
   stretched to the full height of its row (category tile + slices + Just Listed bar). Scoped to the homepage grid only. */
.search-tiles .tile-col--talk,.community-grid .community-col--talk{align-self:stretch}
.search-tiles .tile-col--talk .listing-cta,.community-grid .community-col--talk .listing-cta{flex:1 1 auto;min-height:0;height:100%;box-sizing:border-box}
/* Keep Let's Talk one column in the 2-col communities layout (don't apply orphan full-width) */
@media (min-width:561px) and (max-width:1040px){.community-grid .community-col--talk{grid-column:auto}}

/* More lake towns as one cell, then Let's Talk last. With the leading map tile this
   keeps the community grid even: 24 cells on 3-col desktop and 2-col tablet. */
.community-col--more{grid-column:auto;min-width:0}
@media (max-width:560px){.community-col--more{grid-column:1/-1}}
@media (min-width:561px) and (max-width:1040px){
  .community-grid .community-col:nth-child(odd):has(+ .community-col--more){grid-column:auto}
}
.more-towns{background:var(--navy);color:#fff;padding:22px 26px;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;border-radius:0}
.more-towns-label{font-family:var(--sans,inherit);font-size:.7rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold,#c8a96a);margin:0 0 12px}
.more-towns ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 18px}
.more-towns a{color:#fff;text-decoration:none;font-family:var(--serif);font-size:clamp(1.15rem,1.6vw,1.4rem);line-height:1.2}
.more-towns a:hover,.more-towns a:focus-visible{color:var(--gold,#c8a96a)}

/* Let's Talk card sign-off (2026-11-08) */
.listing-cta .cta-sign{font-family:var(--serif);font-style:italic;font-size:1.05rem;color:rgba(255,255,255,.9);margin-top:-4px}
@media (max-width:760px){.listing-cta .cta-sign{font-size:.9rem}}

/* Notebook panel + "Send it" form on phones (<=640px): lighter so the page shows through, like the desktop look (2026-11-08).
   Desktop unchanged: panel #f5efe2 solid (page visible beside it), form rgba(255,255,255,.55). */
@media (max-width:640px){
  .nb-panel{background:rgba(245,239,226,.9);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .nb-form{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
}

/* ===== Map Search page (2026-11-08) ===== */
.page-map{background:var(--sand)}
.page-map .site-header{position:fixed}
.map-main{padding-top:var(--header-h,78px);height:100vh;height:100dvh;box-sizing:border-box}
.map-shell{display:grid;grid-template-columns:minmax(320px,400px) 1fr;height:100%;min-height:0}
.map-side{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--line);z-index:2}
.map-side-head{padding:18px 18px 12px;border-bottom:1px solid var(--line);flex:0 0 auto}
.map-side-head h1{margin:0;font-family:var(--serif);font-size:1.85rem;font-weight:500;color:var(--navy-ink)}
.map-side-note{margin:6px 0 12px;font-size:.78rem;color:var(--ink-soft)}
.map-cats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.map-cats button,.map-view-toggle button{font:inherit;font-size:.62rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;padding:8px 12px;background:var(--bg-f1ede6);color:var(--ink);border:1px solid var(--line);border-radius:999px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.map-cats button.is-2line{
  white-space:normal;
  text-align:center;
  line-height:1.2;
  letter-spacing:.06em;
  border-radius:14px;
  padding:5px 10px;
}
.map-cats button:hover,.map-view-toggle button:hover{border-color:var(--navy-ink)}
.map-cats button.is-on,.map-view-toggle button.is-on{background:var(--gold);border-color:var(--gold);color:var(--navy);box-shadow:inset 0 -3px 0 var(--navy-ink);font-weight:700}
.map-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.map-filter-row label{display:flex;flex-direction:column;gap:4px;font-size:.58rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}
.map-filter-row select,.sort-filters select,.ai-filters select{font:inherit;font-size:.82rem;letter-spacing:0;text-transform:none;font-weight:500;padding:7px 8px;border:1px solid var(--navy-ink);background:var(--surface);color:var(--navy-ink);width:100%}
.map-view-toggle{display:none;gap:6px;margin-top:10px}
.map-list{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:14px;-webkit-overflow-scrolling:touch}
.map-list .listing-card{display:grid;grid-template-columns:112px 1fr;gap:0;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);min-height:0}
.map-list .listing-card .listing-photo{aspect-ratio:1/1;margin:0}
.map-list .listing-card .listing-photo img{width:100%;height:100%;object-fit:cover}
.map-list .listing-card .listing-body{padding:10px 12px}
.map-list .listing-card.is-active{border-color:var(--gold);box-shadow:0 0 0 2px rgba(201,162,39,.35)}
.map-list .listing-cta{min-height:0;padding:22px 16px}
.map-empty{margin:8px 4px;font-size:.86rem;color:var(--ink-soft);text-align:center}
.map-canvas-wrap{min-height:0;position:relative}
#map{position:absolute;inset:0;background:var(--bg-d9e2ea)}
.map-pin{background:transparent;border:0}
.map-pin-label{display:inline-block;background:var(--navy);color:#fff;font-size:.68rem;font-weight:700;padding:5px 8px;border-radius:14px;border:2px solid #fff;box-shadow:0 4px 10px rgba(14,36,56,.35);white-space:nowrap}
.map-pin-label::after{content:"";position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);border:5px solid transparent;border-top-color:var(--navy-ink)}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(14,36,56,.18)}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:var(--navy);color:#fff;font-family:var(--sans,inherit);font-weight:700}
.map-pop{font-family:var(--sans,inherit);width:220px}
.map-pop img{width:100%;height:120px;object-fit:cover;display:block;border-radius:2px}
.map-pop-body{padding:8px 2px 2px}
.map-pop-body strong{font-size:1rem;color:var(--navy-ink)}
.map-pop-body p{margin:2px 0;font-size:.78rem;color:var(--ink-soft)}
.map-pop-link{display:inline-block;margin-top:6px;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--navy-ink)}
.leaflet-popup-content-wrapper{border-radius:4px;border-bottom:3px solid var(--gold)}
@media (max-width:900px){
  .map-shell{grid-template-columns:1fr;grid-template-rows:1fr}
  .map-view-toggle{display:flex}
  .map-mode-list .map-canvas-wrap{display:none}
  .map-mode-map .map-side{display:none}
  .map-mode-map .map-canvas-wrap{display:block;height:calc(100dvh - var(--header-h,78px))}
  .map-side{border-right:0}
  .map-filter-row{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .map-list .listing-card{grid-template-columns:96px 1fr}
  .map-side-head{padding:14px 12px 10px}
  .map-filter-row{grid-template-columns:1fr 1fr}
}

/* Homepage Map Search as wide tile #1 */
.search-tiles--six{grid-template-columns:repeat(3,1fr);gap:44px 32px}
.search-tiles--six .tile-col--map{grid-column:auto;align-self:stretch}
.search-tiles--six .tile--search{aspect-ratio:4/3}
@media (max-width:1040px){.search-tiles--six{grid-template-columns:repeat(2,1fr)}.search-tiles--six .tile-col--map{grid-column:auto}}
@media (max-width:560px){.search-tiles--six{grid-template-columns:1fr 1fr}.search-tiles--six .tile-col--map{grid-column:auto}.search-tiles--six .tile--search{aspect-ratio:1/1.05}}
.tile--map{--tint:14,36,56}
/* Single-column homepage map preview — same slot as Let's Talk (2026-11-08) */
.search-tiles .tile-col--map .tile--map-preview{flex:1 1 auto;min-height:0;height:100%;box-sizing:border-box}
.tile--map-preview{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:2px;text-decoration:none;color:#fff;
  background:#0e2438 url("../assets/img/map-preview-v8.webp") center/cover no-repeat;box-shadow:0 8px 28px rgba(14,36,56,.18);isolation:isolate;min-height:100%;align-self:stretch}
/* Lakefront-only text outline replaced by the global chip-title outline at the end of this file. */
/* 2026-11-23 (staging): homepage navy tile glow removed at Brian's request.
   Removed the LW-34 / LW-15 block that set a navy box-shadow
   (0 0 22px 3px, 70% #0e2438) on homepage property columns
   (.search-tiles--six > .tile-col) and Lake Communities columns
   (.community-grid > .community-col). Live approved-snapshot is unchanged. */
.tile--map-preview picture{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;overflow:hidden;z-index:0}
.tile--map-preview .map-preview-img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center center;transform:scale(1.001);transition:transform .55s ease;z-index:0}
.tile--map-preview:hover .map-preview-img,.tile--map-preview:focus-visible .map-preview-img{transform:scale(1.04)}
.tile--map-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,36,56,.25) 0%,rgba(14,36,56,.15) 40%,rgba(14,36,56,.55) 100%);pointer-events:none}
.map-preview-cta{position:relative;z-index:2;
  display:inline-flex;align-items:center;gap:.45rem;padding:12px 16px;border-radius:999px;
  background:rgba(14,36,56,.92);border:1px solid var(--gold);color:#fff;
  font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  box-shadow:0 10px 30px rgba(0,0,0,.28);transition:background .25s ease, transform .25s ease, box-shadow .25s ease;max-width:calc(100% - 20px)}
.map-preview-cta-arrow{color:var(--gold);font-size:1.05em;transform:translateY(-1px)}
.tile--map-preview:hover .map-preview-cta,.tile--map-preview:focus-visible .map-preview-cta{background:var(--navy);transform:scale(1.03);box-shadow:0 12px 34px rgba(0,0,0,.35)}
@media (max-width:560px){
  .map-preview-cta{padding:9px 10px;font-size:.52rem;letter-spacing:.08em;max-width:calc(100% - 12px);white-space:normal;text-align:center;line-height:1.25}
  .map-preview-cta-text{overflow:visible;text-overflow:clip}
}

/* Beds/baths filters inline with sort */
.sort-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:8px}
.sort-filters label{display:inline-flex;align-items:center;gap:6px;font-size:.62rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft)}
.sort-filters select{width:auto;min-width:4.5rem;padding:8px 8px}
.ai-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
@media (max-width:760px){
  .sort-filters{width:100%;justify-content:center;margin:6px 0 0}
  .sort-filters label{font-size:.58rem}
  .ai-filters{width:100%;justify-content:center;margin-top:8px}
}

/* Full-screen map + collapsible list drawer (2026-11-08) */
.map-shell--full{display:block;height:100%;position:relative}
.map-shell--full .map-canvas-wrap{position:absolute;inset:0}
.map-float{position:absolute;z-index:500;top:12px;left:12px;right:12px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none;max-height:calc(100% - 24px)}
.map-float > *{pointer-events:auto}
.map-float-toggle{font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:12px 18px;background:var(--navy);color:#fff;border:2px solid var(--gold);border-radius:999px;box-shadow:0 10px 28px -12px rgba(14,36,56,.55);cursor:pointer}
.map-side--drawer{width:min(400px,100%);max-height:calc(100dvh - var(--header-h,78px) - 72px);background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid var(--line);border-bottom:3px solid var(--gold);box-shadow:0 18px 40px -18px rgba(14,36,56,.5);display:flex;flex-direction:column;min-height:0}
.map-side-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}
.map-side-top h1{flex:1 1 auto;min-width:0;white-space:nowrap;font-size:1.45rem}
.map-side-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto;flex-wrap:nowrap}
.map-side-close{font:inherit;font-size:1.8rem;line-height:1;background:none;border:0;color:var(--navy-ink);cursor:pointer;padding:0 4px}
.map-filter-row--4{grid-template-columns:1fr 1fr}
.map-town-tip{font-family:var(--sans,inherit);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--navy)!important;color:#fff!important;border:0!important;border-bottom:2px solid var(--gold);padding:6px 10px!important;box-shadow:none!important}
@media (max-width:900px){
  .map-shell--full .map-view-toggle{display:none}
  .map-mode-map .map-canvas-wrap{display:block;height:100%}
  .map-side--drawer{width:100%;max-height:min(70dvh,560px)}
  .map-float{left:8px;right:8px;top:auto;bottom:12px}
  .map-drawer-open .map-float{top:8px;bottom:8px}
}


/* Bed/bath filters inside second sticky bar (.qtybar) — no third bar (2026-11-08) */
.qtybar{display:flex;align-items:center;gap:10px;padding-right:10px}
.qtybar .bar-scroll{flex:1 1 auto;min-width:0}
.qty-filters{display:flex;align-items:center;flex:0 0 auto;gap:8px;padding:6px 4px 6px 8px;border-left:1px solid var(--line)}
.qty-filters label{display:inline-flex;align-items:center;gap:4px;font-size:.56rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);white-space:nowrap}
.qty-filters select{font:inherit;font-size:.74rem;letter-spacing:0;text-transform:none;font-weight:500;padding:5px 6px;border:1px solid var(--navy-ink);background:var(--surface);color:var(--navy-ink);min-width:3.2rem}
@media (max-width:760px){
  .qtybar{gap:6px;padding-right:6px}
  .qty-filters{gap:5px;padding:5px 2px 5px 6px}
  .qty-filters label{font-size:.5rem;letter-spacing:.04em;gap:2px}
  .qty-filters select{font-size:.68rem;padding:4px 4px;min-width:2.8rem}
}

.map-type-toggle{position:absolute;z-index:400;right:12px;top:12px;display:flex;gap:0;box-shadow:0 8px 20px -12px rgba(14,36,56,.5);border-radius:999px;overflow:hidden}
.map-type-toggle button{font:inherit;font-size:.62rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;padding:10px 12px;background:var(--bg-f1ede6);color:var(--ink);border:1px solid var(--line);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.map-type-toggle button:hover{border-color:var(--navy-ink)}
.map-type-toggle button.is-on{background:var(--gold);border-color:var(--gold);color:var(--navy);box-shadow:inset 0 -3px 0 var(--navy-ink);font-weight:700}
.map-type-toggle button + button{border-left:0}
@media (max-width:900px){.map-type-toggle{top:auto;bottom:calc(6px + env(safe-area-inset-bottom, 0px));right:10px}}

/* Active min/max selects match gold chip styling (2026-11-08) */
.qty-filters select.is-active,
.map-filters select.is-active{
  background:var(--gold);border-color:var(--gold);color:var(--navy);font-weight:700;
  box-shadow:inset 0 -2px 0 var(--navy-ink)
}
.qtybar.filters-on .qchip.is-current{
  background:var(--bg-f1ede6);border-color:var(--line);color:var(--ink);font-weight:500;box-shadow:none
}
.qtybar.filters-on .qchip.is-current em{color:var(--ink-soft)}

/* Decluttered category page headers: title only (2026-11-08) */
.page-intro{padding-top:calc(clamp(16px,2.4vw,28px) + 8px);padding-bottom:4px} /* +8px so the first section / search bar sits a bit lower at every width */
.page-intro h1{margin-bottom:0}
.page-count--hidden,.page-intro .page-count[hidden]{display:none!important}
.page-intro-back{display:inline-block;margin-top:8px;font-size:.72rem;letter-spacing:.06em;color:var(--ink-soft);text-decoration:underline}
.page-intro-back:hover{color:var(--navy-ink)}

/* Grey out bed/bath options that would yield zero homes (2026-11-08) */
.qty-filters select option:disabled,
.map-filters select option:disabled,
.ai-filters select option:disabled{
  color:var(--muted-9aa3ad);background:var(--bg-f0f0f0)
}
.qty-filters select:has(option:checked:disabled),
.map-filters select:has(option:checked:disabled){
  /* keep selected visible even if theoretically zero */
}

/* Map town labels — never clip (2026-11-08) */
.map-town-label{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;width:max-content;max-width:none;overflow:visible;pointer-events:none;
  font-family:Georgia,"Times New Roman",serif;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--navy-ink);
  padding:3px 8px;line-height:1.15;
  text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 0 4px #fff,0 0 8px #fff}

/* Map town chips + scrollable drawer body (2026-11-08) */
.map-towns{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 10px}
.map-towns button{font:inherit;font-size:.55rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:6px 9px;background:var(--bg-f1ede6);color:var(--ink);border:1px solid var(--line);border-radius:999px;cursor:pointer;transition:background .2s,color .2s,border-color .2s;line-height:1.1}
.map-towns button:hover{border-color:var(--navy-ink)}
.map-towns button.is-on{background:var(--gold);border-color:var(--gold);color:var(--navy);box-shadow:inset 0 -2px 0 var(--navy-ink);font-weight:700}
.map-side--drawer{overflow:hidden}
.map-side-head{display:flex;flex-direction:column;min-height:0;overflow:hidden;flex:1 1 auto}
.map-side-body{overflow:auto;-webkit-overflow-scrolling:touch;min-height:0;flex:1 1 auto;padding-bottom:4px}
@media (max-width:900px){
  .map-side--drawer{max-height:min(70dvh,560px)}
  .map-towns button{font-size:.52rem;padding:5px 8px}
}


/* Map Filters drawer — site navy menu (2026-11-08) */
/* 2026-11-19: 12px corners to echo the oval search bars; overflow clips inner edges. */
.map-side--drawer{
  background:var(--navy);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-bottom:3px solid var(--gold);
  border-radius:12px;
  overflow:hidden;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.map-side--drawer .map-side-head{
  border-bottom:1px solid rgba(255,255,255,.14);
  padding:16px 16px 12px;
}
.map-side--drawer .map-side-head h1{color:#fff}
.map-side--drawer .map-side-note{color:rgba(255,255,255,.72)}
.map-side--drawer .map-side-close{color:#fff}
.map-side--drawer .map-side-close:hover{color:var(--gold)}
.map-side-reset{
  flex:0 0 auto;margin:0;padding:6px 10px;font:inherit;font-size:0.64rem;font-weight:600;
  letter-spacing:0.05em;text-transform:uppercase;line-height:1.2;cursor:pointer;white-space:nowrap;
  border-radius:999px;background:transparent;border:1px solid rgba(201,162,39,0.55);
  color:rgba(255,248,230,0.92);transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.map-side-reset:hover{
  background:rgba(201,162,39,0.14);border-color:var(--gold);color:#fff;
}
.map-side-reset:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.map-side--drawer .map-side-reset{
  border-color:rgba(201,162,39,0.6);color:rgba(255,248,230,0.95);
}
.map-side--drawer .map-side-reset:hover{
  background:rgba(201,162,39,0.16);border-color:#e2c56a;color:#fff;
}
.map-side--drawer .map-cats button,
.map-side--drawer .map-towns button{
  background:transparent;
  color:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.35);
}
.map-side--drawer .map-cats button:hover,
.map-side--drawer .map-towns button:hover{
  border-color:rgba(255,255,255,.7);
  background:rgba(255,255,255,.06);
  color:#fff;
}
.map-side--drawer .map-cats button.is-on,
.map-side--drawer .map-towns button.is-on{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
  box-shadow:inset 0 -2px 0 rgba(14,36,56,.55);
  font-weight:700;
}
.map-side--drawer .map-filter-row label{color:rgba(255,255,255,.78)}
.map-side--drawer .map-filter-row select{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}
.map-side--drawer .map-filter-row select:focus{
  outline:none;
  border-color:var(--gold);
  background:rgba(255,255,255,.12);
}
.map-side--drawer .map-filter-row select option{
  background:var(--navy);
  color:#fff;
}
.map-side--drawer .map-filters select.is-active{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
  font-weight:700;
  box-shadow:inset 0 -2px 0 rgba(14,36,56,.55);
}
.map-side--drawer .map-filters select option:disabled{
  color:rgba(255,255,255,.35);
  background:var(--navy-2);
}
/* Map/Satellite toggle — match navy menu language */
.map-type-toggle button{
  background:var(--navy);
  color:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.28);
}
.map-type-toggle button:hover{
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.map-type-toggle button.is-on{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
  box-shadow:inset 0 -3px 0 rgba(14,36,56,.55);
  font-weight:700;
}


/* Presented-by banner between Search tiles and My Listings (2026-11-09) */
.section--search.section--first{padding-bottom:clamp(14px,1.8vw,24px);border-bottom:0}
.hero-bar--between{
  position:relative;
  z-index:2;
  margin:0 0 clamp(4px,.9vw,10px);
  border-bottom:5px solid var(--gold);
}
@media (max-width:560px){
  .hero-bar--between{padding-top:16px;padding-bottom:16px;margin-bottom:6px}
}


/* Satellite marker/label contrast helpers (2026-11-09) */
html.map-sat .map-town-label, body.map-sat .map-town-label{
  color:#fff;
  text-shadow:-1px -1px 0 #0e2438,1px -1px 0 #0e2438,-1px 1px 0 #0e2438,1px 1px 0 #0e2438,0 0 5px #0e2438,0 0 10px rgba(0,0,0,.85);
}

/* Property InfoWindow above town name labels */
.gm-style .gm-style-iw-a,
.gm-style .gm-style-iw-t,
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-d{z-index:1000001 !important;}


/* Community switcher + compact empty groups (2026-11-09; tighter chips 2026-11-10) */
.bar-scroll.bar-scroll--communities{
  overflow-x:hidden;
  overflow-y:hidden;
  flex-wrap:nowrap;
  gap:5px;
  padding-right:8px;
}
.cchip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border:1px solid var(--line);
  background:var(--bg-f1ede6);
  color:var(--ink);
  text-decoration:none;
  font-size:.58rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  border-radius:999px;
  transition:background .2s,color .2s,border-color .2s;
}
.cchip:hover{border-color:var(--navy-ink)}
.cchip.is-current{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
  font-weight:700;
  box-shadow:inset 0 -2px 0 var(--navy-ink);
}
.cchip[hidden]{display:none!important}
@media (max-width:1040px){
  .bar-scroll.bar-scroll--communities{gap:4px}
  .cchip{padding:4px 7px;font-size:.54rem;letter-spacing:.06em}
}
@media (max-width:760px){
  .bar-scroll.bar-scroll--communities{gap:4px;padding-left:8px;padding-right:4px}
  .cchip{padding:4px 6px;font-size:.52rem;letter-spacing:.05em}
  /* Shrink label text only — selects stay usable (label wraps the select). */
  .qtybar:has(.bar-scroll--communities) .qty-filters label{font-size:0;letter-spacing:0;gap:0}
  .qtybar:has(.bar-scroll--communities) .qty-filters select{font-size:.68rem;padding:4px 3px;min-width:2.6rem}
  .qtybar:has(.bar-scroll--communities) .qty-filters{gap:4px;padding-left:4px}
}
@media (max-width:420px){
  .cchip{padding:3px 6px;font-size:.5rem;letter-spacing:.04em}
}
.cat-empty-stack{
  padding:10px 0 6px;
  margin-top:14px;
  border-top:1px solid var(--line);
}
.cat-empty-stack:first-child{
  border-top:0;
  margin-top:0;
  padding-top:4px;
}
.cat-empty-line{
  margin:0;
  padding:2px 0;
  font-size:.72rem;
  line-height:1.35;
  letter-spacing:.03em;
  color:var(--ink-soft);
}

/* ---- IDX compliance (BDAR MLS Rules 18.2.12, 18.3.7, 18.3.8) ---- */
.listing-office{font-size:.86rem;line-height:1.35;color:var(--navy-ink);margin:.65em 0 0}
.listing-office .lo-name{font-weight:600}
.listing-office .lo-sep{color:var(--gold)}
.listing-mls{font-size:.66rem;letter-spacing:.04em;color:var(--muted-7a838c);margin:.3em 0 0}
@media (max-width:700px){.listing-grid--page .listing-office{font-size:.78rem}.listing-grid--page .listing-mls{font-size:.6rem}}
#my-grid .listing-office{font-size:.86rem}
@media (max-width:700px){#my-grid .listing-office{font-size:.74rem}}
.section--mine .listing-office{color:#fff}
.section--mine .listing-mls{color:rgba(255,255,255,.6)}
.ld-office{font-size:1.02rem;line-height:1.45;color:var(--navy-ink);margin:0}
.ld-office .lo-name{font-weight:600}
.ld-office .lo-sep{color:var(--gold)}
.ld-office a.lo-contact{color:var(--navy-ink);text-decoration:none;border-bottom:1px solid var(--gold);white-space:nowrap}
.map-pop-body .map-pop-office{color:var(--navy-ink);font-size:.78rem;line-height:1.35;margin-top:4px}
.map-pop-office .lo-name{font-weight:600}
.map-pop-office .lo-sep{color:var(--gold)}
.idx-disclaimer p{margin:0 0 .5em}
.footer-legal .idx-disclaimer,
.footer-legal .idx-disclaimer p,
.footer-legal .idx-disclaimer .idx-src{color:rgba(255,255,255,.88)}
.idx-disclaimer .idx-src{color:rgba(255,255,255,.78)}
.map-idx{position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:1000;width:max-content;max-width:min(560px,calc(100% - 300px));background:rgba(255,255,255,.95);color:var(--ink);font-size:.7rem;line-height:1.45;padding:6px 12px;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.map-idx summary{cursor:pointer;color:var(--navy-ink);font-weight:600}
.map-idx .idx-disclaimer{margin-top:6px;max-height:40vh;overflow:auto}
.map-idx .idx-disclaimer .idx-src{color:var(--ink)}
@media (max-width:820px){.map-idx{top:8px;max-width:calc(100% - 24px);font-size:.64rem;padding:5px 9px}}
.map-idx[open]{width:min(560px,calc(100% - 24px))}

/* Turnstile on notebook Send it */
.nb-turnstile{margin:8px 0 10px;min-height:65px;display:flex;justify-content:flex-start}
.nb-turnstile iframe{max-width:100%}
@media (max-width:390px){.nb-turnstile{transform-origin:left top;transform:scale(.92);margin-bottom:4px}}
/* Brokerage identification (BDAR MLS Rule 18.2.7) */
.footer-office{font-size:.86rem;margin:.2em 0 0;opacity:.9}
.footer-office a,.footer-broker a,.small-note a,.idx-broker a{color:inherit;text-decoration:none;border-bottom:1px solid var(--gold);white-space:nowrap}
.footer-broker strong{font-weight:600}
/* Placeholder when a listing photo is not available */
img[data-ph]{object-fit:cover;background:#0e2438}
/* Brian's own listings: gold rounded-star badge */
.brian-badge{display:inline-flex;align-items:center;gap:.4em;margin:0 0 .35em;font-family:var(--sans);font-size:.68rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--goldink-8a6d33);line-height:1.2}
.brian-badge img{display:block;flex:none}
.brian-badge--ld{font-size:.74rem;padding:.35em .8em .35em .5em;border:1px solid var(--gold);border-radius:999px;background:var(--bg-fbf6ea);margin:.1em 0 .6em}
.brian-badge--pop{font-size:.6rem;letter-spacing:.12em;margin:0 0 3px}
.section--mine .section-head h2 .ml-star{display:inline-block;width:.9em;height:.9em;vertical-align:-.06em;margin-right:.35em}
.map-pop .brian-badge img,.map-pop img.brian-star{width:16px!important;height:16px!important;max-width:none!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:0!important;margin:0!important;display:block}
.map-pop .map-pop-body .brian-badge{color:var(--goldink-8a6d33);font-weight:600}
/* Room under the last listing-office credit line (BDAR 18.2.12) */
.page-listing main,.page-sub:not(.page-map) main{padding-bottom:84px}
.brian-badge--card{font-size:.58rem;letter-spacing:.14em;margin:.1em 0 .3em}
.brian-badge--card img{width:14px;height:14px}
/* Featured listing cards (me flag): thin gold frame, no layout shift */
.listing-card--featured{box-shadow:0 0 0 2px var(--gold,#c8a96a)}
.map-list .listing-card.listing-card--featured{border-color:var(--gold,#c8a96a)}
.section--mine .brian-badge{color:var(--gold)}
.site-copyright{font-size:.68rem;line-height:1.5;letter-spacing:.02em;opacity:.72;margin-top:.4em}
/* Homepage: Map tile first on desktop and mobile (2026-11-19). DOM order is Map, then type tiles. */

/* Community results: map tile as the first property-card-sized cell in the first grid (2026-11-10) */
.listing-map-tile{position:relative;display:flex;flex-direction:column;align-self:stretch;height:100%;overflow:hidden;text-decoration:none;color:#fff;background:var(--navy);border-radius:2px}
.listing-map-tile-bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.listing-map-tile-bg picture,.listing-map-tile-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.listing-map-tile-bg img{transform:scale(1.001);transition:transform .55s ease}
.listing-map-tile:hover .listing-map-tile-bg img,.listing-map-tile:focus-visible .listing-map-tile-bg img{transform:scale(1.04)}
.listing-map-tile::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(14,36,56,.25) 0%,rgba(14,36,56,.15) 40%,rgba(14,36,56,.55) 100%);pointer-events:none}
.listing-map-tile-photo{display:block;aspect-ratio:4/3;width:100%;flex:0 0 auto;position:relative;z-index:0}
.listing-map-tile-body{position:relative;z-index:2;flex:1 1 auto;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px 18px;min-height:8.75rem;box-sizing:border-box}
.listing-map-tile .map-preview-cta,.listing-map-tile-cta{max-width:calc(100% - 8px);white-space:normal;text-align:center;line-height:1.25;font-size:.62rem;letter-spacing:.1em}
@media (max-width:560px){
  .listing-map-tile-body{min-height:7.5rem;padding:12px 8px 14px}
  .listing-map-tile .map-preview-cta{font-size:.52rem;letter-spacing:.06em;padding:9px 10px}
}

/* Homepage My Listings + Lake Communities map tiles (2026-11-10) */
.section--mine .listing-map-tile{border:1px solid rgba(255,255,255,.28);border-bottom:3px solid var(--gold);box-sizing:border-box}
.community-col--map{align-self:stretch;min-width:0;display:flex}
.community-col--map .community-map-tile{flex:1 1 auto;min-height:0;height:100%;width:100%;box-sizing:border-box;align-items:flex-end;justify-content:center;padding:0}
.community-col--map .community-map-tile .map-preview-cta{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:3;max-width:calc(100% - 20px)}
.community-col--map .community-map-tile:hover .map-preview-cta,
.community-col--map .community-map-tile:focus-visible .map-preview-cta{transform:translateX(-50%) scale(1.03)}
.community-map-canvas{position:absolute;inset:0;z-index:0;overflow:hidden;background:#0e2438}
.community-map-canvas .community-map-fallback,.community-map-canvas picture,.community-map-canvas img{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0}
.community-map-canvas img{object-fit:cover;object-position:center}
.community-map-svg{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:1;pointer-events:none}
.community-map-canvas.has-svg .community-map-fallback{opacity:0;transition:opacity .5s ease}
.cmap-water{fill:#0a1c2c}
.cmap-town{fill:rgba(198,186,164,.22);stroke:rgba(246,243,238,.45);stroke-width:1.2;vector-effect:non-scaling-stroke;transition:fill 2s ease,stroke 2s ease,stroke-width 2s ease}
.cmap-town.is-on{fill:rgba(210,70,30,.78);stroke:var(--gold,#c8a96a);stroke-width:2.6}
.cmap-dot{fill:transparent;stroke:transparent;transition:fill 2s ease,stroke 2s ease}
.cmap-dot.is-on{fill:#D2461E;stroke:var(--gold,#c8a96a);stroke-width:2;vector-effect:non-scaling-stroke}
.cmap-label{fill:#fff;font-family:Montserrat,system-ui,sans-serif;font-size:36px;font-weight:600;letter-spacing:.04em;opacity:0;paint-order:stroke;stroke:#0e2438;stroke-width:6px;stroke-linejoin:round;pointer-events:none;transition:opacity 2s ease}
.cmap-label.is-on{opacity:1}
@media (prefers-reduced-motion:reduce){
  .cmap-town,.cmap-dot,.cmap-label,.community-map-canvas.has-svg .community-map-fallback{transition:none}
}
.community-col.is-map-focus .tile--community,
.community-col.is-map-focus .tile-slices{box-shadow:0 0 0 3px var(--gold);position:relative;z-index:1}
.more-towns a.is-map-focus{color:var(--gold,#c8a96a)}
@media (max-width:560px){
  .community-col--map .community-map-tile{min-height:280px;padding-bottom:14px}
  .cmap-label{font-size:42px}
}


/* Tighter vertical space between homepage (and shared) sections, 2026-11-10: section padding ~40% smaller, heading/intro margins tightened. Header-clearance padding-top on .section--first left unchanged. */
/* 2026-11-11: phone portrait listing pages use more width (side gap 20px -> 10px). */
@media (max-width:560px) and (orientation:portrait){
  #listing-sections.container{padding-left:4px;padding-right:4px}
}
/* 2026-11-11: phone landscape listing pages. Each card photo is as large as one screen allows
   (full viewport height, photo left, details right). */

/* 2026-11-11: vine hidden after Thanksgiving week (main.js adds body.no-vine from 2026-11-29 CT); gold line stays */
body.no-vine .site-header::after{display:none!important}

/* 2026-11-11: desktop town bar scrolls sideways (all towns shown, same height, no visible scrollbar) */
@media (min-width:761px){
  .bar-scroll.bar-scroll--communities{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .bar-scroll.bar-scroll--communities::-webkit-scrollbar{display:none}
}

/* 2026-11-11: big town-bar arrows (desktop), full bar height, inside the bar */
.qtybar{position:relative}
.town-arrow{position:absolute;top:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:0;border:0;cursor:pointer;color:var(--navy-ink)}
.town-arrow[hidden]{display:none!important}
.town-arrow svg{width:88%;height:88%}
.town-arrow--l{background:linear-gradient(90deg,#fff 60%,rgba(255,255,255,0))}
.town-arrow--r{background:linear-gradient(270deg,#fff 60%,rgba(255,255,255,0))}
.town-arrow:hover{color:var(--gold)}
@media (max-width:760px){.town-arrow{display:none!important}}

/* 2026-11-11 / 2026-11-24: single selected community chip + "More Communities" pill + drop-down (desktop + mobile) */
.cchip-more{cursor:pointer;font-family:inherit;gap:4px;line-height:1.4}
.cchip-more .cchip-caret{font-size:.9em;display:inline-block;transition:transform .2s}
.cchip-more.is-open .cchip-caret{transform:rotate(180deg)}
.cchip-more.is-open{border-color:var(--navy-ink);background:var(--bg-e7e1d6);color:var(--navy-ink)}
.town-drop{position:absolute;left:0;right:0;top:100%;z-index:200;display:flex;flex-wrap:wrap;gap:6px;padding:10px 10px 12px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 10px 18px -12px rgba(14,36,56,.5);max-height:60vh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.town-drop[hidden]{display:none!important}
.town-drop .cchip{font-size:.62rem;padding:6px 10px}
@media (min-width:761px){
  .qtybar > .bar-scroll.bar-scroll--communities{flex:0 1 auto;margin:0;padding-left:var(--gutter);padding-right:0;overflow:visible}
  .qtybar > .cchip-more{flex:0 0 auto;margin:0 8px 0 0}
  .town-drop{left:var(--gutter);right:auto;width:min(680px,calc(100vw - 2 * var(--gutter)));max-width:calc(100vw - 2 * var(--gutter));padding:12px 14px 14px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 14px 28px -10px rgba(14,36,56,.28)}
}
@media (max-width:760px){
  .bar-scroll--communities .cchip.is-current{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.45}
  .bar-scroll--communities .cchip-more{flex:0 0 auto}
}
@media (max-width:760px){
  .bar-scroll--communities .cchip.is-current,.bar-scroll--communities .cchip-more{letter-spacing:.02em;padding-left:6px;padding-right:6px}
  .bar-scroll.bar-scroll--communities{gap:4px;padding-left:6px;padding-right:2px}
}

/* 2026-11-12: phone town bar = swipeable town ovals + pinned Other communities button */
@media (max-width:760px){
  .bar-scroll.bar-scroll--communities{overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
  .bar-scroll.bar-scroll--communities::-webkit-scrollbar{display:none}
  .bar-scroll--communities .cchip.is-current{overflow:visible;text-overflow:clip;display:inline-flex;flex:0 0 auto}
  .qtybar > .cchip-more{flex:0 0 auto;align-self:center;margin-left:-2px}
  /* community search pages: search bar is the first thing under the bars */
  body.page-search.comm-search .page-intro > .eyebrow,
  body.page-search.comm-search .page-intro > h1,
  body.page-search.comm-search .page-intro > .lede{display:none!important}
  body.page-search.comm-search .page-intro{padding-top:22px}
}
@media (max-width:760px){
  .bar-scroll.bar-scroll--communities{overflow:hidden}
  .qtybar > .cchip-more{margin-left:6px;position:relative;z-index:2}
}
/* narrow phones: stack the button label on two lines so the current town oval shows whole */
@media (max-width:420px){
  .qtybar > .cchip-more{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;line-height:1.05}
  .qtybar > .cchip-more .ocm-t{display:inline-flex;flex-direction:column;align-items:flex-start;text-align:left}
}
/* 2026-11-12 / 2026-11-24: phone: current town oval + More Communities sit side-by-side cleanly */
@media (max-width:760px){
  .qtybar > .bar-scroll.bar-scroll--communities{flex:0 1 auto;padding-right:0}
  .qtybar > .cchip-more{margin-left:0;margin-right:6px}
  .qtybar > .qty-filters{margin-left:auto}
}
@media (max-width:760px){ .qtybar > .bar-scroll.bar-scroll--communities{margin:0!important} }
/* 2026-11-12: new lakefront map tile image (v8): no darkening overlay, vivid color */
.tile--map-preview::after,.listing-map-tile::after{content:none!important;background:none!important}
.tile--map-preview .map-preview-img,.listing-map-tile-bg img{filter:saturate(1.35) contrast(1.06) brightness(1.02)}
.listing-map-tile{background:#9fd3e6}

/* 2026-11-12 phone only: Other-communities town links were sitting under the page intro
   and overflowing a sticky/will-change bar, so the first row of links did not receive taps. */
@media (max-width:760px){
  body.town-drop-open .catbars{will-change:auto}
  .town-drop{z-index:200}
  body.town-drop-open .page-intro,
  body.town-drop-open main > section:not(.catbars){pointer-events:none}
}


/* 2026-11-12: map "Show visible properties" lands on the regular search results page.
   Hide the AI prompt so the page is just a heading, count, and tiles. */
body.map-visible-results .page-intro .eyebrow,
body.map-visible-results .page-intro .lede,
body.map-visible-results .page-intro .ai-search{display:none}


/* 2026-11-12: Back to map on the Properties from map results page.
   Same 122×66 navy pill and gold-to-white wave as the phone Filters button. */
@property --wave-angle{
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
@keyframes lal-chip-wave{to{--wave-angle:360deg}}
/* Back to Map sits in the same top-left slot as listing .ld-back (above the heading, same section padding and chip margin), never beside the h1. */
body.map-visible-results .page-intro{text-align:left;padding-top:30px}
@media (max-width:560px){body.map-visible-results .page-intro{padding-top:22px}}
body.map-visible-results .page-intro h1{margin:0;text-align:left}
.map-back-btn{
  --wave-angle:0deg;
  box-sizing:border-box;
  flex:0 0 122px;width:122px;min-width:122px;max-width:122px;
  height:66px;min-height:66px;padding:0 10px;margin:0;
  display:inline-flex;align-items:center;justify-content:center;
  position:relative;overflow:visible;
  border:2px solid #fff;border-radius:999px;
  background:var(--navy,#0e2438);color:#fff;
  font:inherit;font-size:.95rem;font-weight:700;letter-spacing:.02em;
  text-transform:none;line-height:1.15;cursor:pointer;
  box-shadow:inset 0 -5px 0 var(--gold,#C4A46A),0 10px 22px -10px rgba(14,36,56,.55);
  touch-action:manipulation;-webkit-tap-highlight-color:rgba(201,162,39,.25);
}
a.map-back-btn{color:#fff;text-decoration:none;-webkit-appearance:none;appearance:none}
.map-back-btn-label{
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  line-height:1.15;text-align:center;position:relative;z-index:1;
}
.map-back-btn::after{
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:inherit;
  padding:5px;
  background:conic-gradient(from var(--wave-angle),
    transparent 0deg,
    transparent 200deg,
    #fff6d6 230deg,
    #ffe08a 260deg,
    #ffffff 300deg,
    #ffe08a 335deg,
    var(--gold,#c8a96a) 348deg,
    transparent 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  pointer-events:none;
  opacity:1;
  z-index:0;
  filter:drop-shadow(0 0 3px rgba(255,224,138,.75));
  animation:lal-chip-wave 2.5s linear infinite;
}
@media (prefers-reduced-motion:reduce){
  .map-back-btn::after{animation:none!important;opacity:.85}
}

/* 2026-11-20: phone homepage — no gap under search; all six search tiles fade in together on load (no scroll needed). Desktop unchanged. */
@keyframes lal-tiles-in{from{opacity:0}to{opacity:1}}
@media (max-width:760px){
  body.page-home .section--search.section--first .search-tiles--six{padding-top:0}
  .js body.page-home .search-tiles--six > .reveal,
  .js body.page-home .search-tiles--six > .reveal.is-visible{
    opacity:1;
    transform:none;
    transition:none;
    animation:lal-tiles-in 1s var(--ease) both;
  }
}
@media (max-width:760px) and (prefers-reduced-motion:reduce){
  .js body.page-home .search-tiles--six > .reveal{opacity:1;transform:none;transition:none;animation:none}
}


/* Homepage only: large type + community tiles 40% shorter (60% of previous height).
   Chips/bars keep their aspect ratios. Let's Talk and the map tile still stretch to the row. */
body.page-home .search-tiles--six .tile--search,
body.page-home .hero-content--tiles .search-tiles--six .tile--search{
  aspect-ratio:20/9;
  padding:16px 22px;
}
@media (max-width:560px){
  body.page-home .search-tiles--six .tile--search,
  body.page-home .hero-content--tiles .search-tiles--six .tile--search{
    aspect-ratio:1/0.63;
    padding:12px 14px;
  }
}
body.page-home .community-grid .tile--community{
  aspect-ratio:20/9;
  padding:14px 22px;
}
@media (max-width:560px){
  body.page-home .community-grid .tile--community{
    aspect-ratio:3.5/1;
    padding:8px 14px;
  }
}

/* Homepage Let's Talk: match the (now shorter) community row, don't expand it. */
body.page-home .community-grid .community-col--talk{
  align-self:stretch;
  min-height:0;
  overflow:hidden;
}
body.page-home .community-grid .community-col--talk .listing-cta{
  flex:1 1 auto;
  min-height:0;
  height:100%;
  box-sizing:border-box;
  padding:16px 18px;
  gap:8px;
}
body.page-home .community-grid .community-col--talk .listing-cta .cta-title{font-size:1.9rem}
@media (max-width:560px){
  body.page-home .community-grid .community-col--talk{overflow:visible}
  body.page-home .community-grid .community-col--talk .listing-cta{
    height:auto;
    padding:22px 12px;
    gap:12px;
  }
  body.page-home .community-grid .community-col--talk .listing-cta .cta-title{font-size:1.7rem}
}

/* Homepage first-block type chips: ~35% shorter on desktop only (2026-11-19).
   Scoped to .search-tiles--six so community chips stay at 4/1.1.
   min-width 821px leaves all <=820px / <=560px rules untouched. */
@media (min-width: 821px) {
  body.page-home .search-tiles--six .tile-col .tile-slices {
    aspect-ratio: 4 / 0.9425;
  }
}

/* 2026-11-19: pill-shaped site search bars (homepage hero + search.html).
   Before: border-radius 0 on the row, input, and Search button.
   After: the bar is one oval (999px). Search is attached on the right,
   with its outer end following the same curve. No mic icon. */
.ai-search-row,
.ai-search.ai-search--page{
  border-radius:999px;
  overflow:hidden;
  background:var(--surface);
  box-sizing:border-box;
}
.ai-search-row{
  border:1px solid var(--navy-ink);
}
.ai-search.ai-search--page{
  border:1px solid var(--navy-ink);
}
.ai-search input[type=text]{
  border:0;
  border-radius:0;
  padding:15px 18px 15px 26px;
  box-shadow:none;
}
.ai-search input[type=text]:focus,
.ai-search input[type=text]:focus-visible{
  outline:none;
  box-shadow:none;
}
.ai-search-row:focus-within,
.ai-search.ai-search--page:focus-within{
  box-shadow:0 0 0 2px var(--gold);
}
.ai-search button{
  border:0;
  border-radius:0 999px 999px 0;
  padding:0 26px 0 22px;
}
.ai-search.ai-search--page button{
  border:0;
}
.section--search.section--first .ai-search input[type=text]{
  border:0;
}
@media (max-width:560px){
  .ai-search input[type=text]{padding:13px 16px 13px 22px}
  .ai-search button{padding:0 20px 0 16px}
}


/* 2026-11-21: search-bar wave matches the map menu chip edge wave
   (gold-to-pale-blue conic band, 2.5s linear, two passes like town chips).
   Triggered when header "Search Homes" is selected, or arriving at #search. */
@keyframes lal-search-wave-fade{
  0%,55%{opacity:1}
  100%{opacity:0}
}
.lal-search-wave{
  position:fixed;
  box-sizing:border-box;
  border-radius:999px;
  pointer-events:none;
  z-index:90;
  --wave-angle:0deg;
  padding:2px;
  background:conic-gradient(from var(--wave-angle),
    transparent 0deg,
    transparent 255deg,
    var(--gold,#c8a96a) 290deg,
    #b9d6ea 325deg,
    var(--gold,#c8a96a) 348deg,
    transparent 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  opacity:.9;
  animation:lal-chip-wave 2.5s linear 2;
}
.lal-search-wave--static{
  position:fixed;
  box-sizing:border-box;
  border-radius:999px;
  pointer-events:none;
  z-index:90;
  border:2px solid #c8a96a;
  box-shadow:0 0 0 1px rgba(14,36,56,.28),0 0 8px rgba(200,169,106,.4);
  animation:lal-search-wave-fade .8s ease-out forwards;
}


/* Subtle credit on Osage National community tile and community-page hero */
.tile-photo-credit{position:absolute;top:10px;right:12px;z-index:3;font-size:.62rem;font-weight:500;letter-spacing:.03em;color:rgba(255,255,255,.8);text-decoration:none;text-shadow:0 1px 4px rgba(0,0,0,.75);border-bottom:1px solid rgba(255,255,255,.4);line-height:1.2;padding:0 0 1px;background:none}
.tile-photo-credit:hover,.tile-photo-credit:focus-visible{color:#fff;border-bottom-color:#fff;outline:none}
.community-page-hero{position:relative;height:min(28vw,220px);min-height:120px;background-color:rgb(14,36,56);background-size:cover;background-repeat:no-repeat;background-position:50% 42%}
.community-page-hero .tile-photo-credit{top:auto;bottom:10px;right:14px}
@media (max-width:560px){
  .tile-photo-credit{top:8px;right:10px;font-size:.58rem}
  .community-page-hero{min-height:100px;height:28vw}
  .community-page-hero .tile-photo-credit{top:auto;bottom:8px}
}

/* 2026-11-21: Seasonal greeting mini popup (Thanksgiving, Black Friday, Christmas),
   directly below the header logo (left). */
.lal-greet{position:fixed;left:8px;right:auto;z-index:95;display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:16px 30px 12px 22px;background:var(--sand);border:2px solid var(--gold);border-radius:10px;
  box-shadow:0 8px 22px rgba(14,36,56,.22);color:var(--navy-ink);cursor:pointer;text-align:center;
  max-width:calc(100vw - 16px);
  transform-origin:50% 0;transform:translateY(-140%);opacity:0;
  transition:transform .9s cubic-bezier(.34,1.45,.5,1),opacity .4s ease}
.lal-greet.is-in{transform:none;opacity:1;animation:lal-greet-sway 3.2s ease-in-out 1s 2}
.lal-greet.is-out{transform:translateY(-140%);opacity:0;transition:transform .6s ease-in,opacity .5s ease-in}
@keyframes lal-greet-sway{0%,100%{transform:rotate(0)}30%{transform:rotate(1.6deg)}70%{transform:rotate(-1.6deg)}}
.lal-greet-motif{position:absolute;top:-12px;left:50%;transform:translateX(-50%);display:flex;gap:0;align-items:center}
.lal-greet-motif svg{display:block;margin:0 -2px}
.lal-greet-motif-bottom{top:auto;bottom:-12px}
.lal-greet-title{font-family:var(--serif);font-size:1.45rem;font-weight:600;line-height:1.1;white-space:nowrap}
.lal-greet-sub{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--warm-9a5a1a)}
.lal-greet-x{position:absolute;top:4px;right:6px;border:0;background:none;color:var(--navy-ink);font-size:1.15rem;line-height:1;padding:2px 4px;cursor:pointer;opacity:.7}
.lal-greet--bf,.lal-greet--xmas{box-shadow:0 8px 22px rgba(14,36,56,.28)}
.lal-greet--bf{background:#111111;border:2px solid var(--gold);color:#f6f3ee}
.lal-greet--bf::before,.lal-greet--bf::after,
.lal-greet--xmas::before,.lal-greet--xmas::after{content:"";position:absolute;top:-17px;width:1.3px;height:17px;background:var(--gold)}
.lal-greet--bf::before,.lal-greet--xmas::before{left:26%}
.lal-greet--bf::after,.lal-greet--xmas::after{right:26%}
.lal-greet--bf .lal-greet-title{color:var(--gold)}
.lal-greet--bf .lal-greet-sub{color:#c8a96a}
.lal-greet--bf .lal-greet-x{color:var(--gold)}
.lal-greet--xmas{background:var(--navy);border:2px solid var(--gold);color:#f6f3ee}
.lal-greet--xmas .lal-greet-title{color:#f6f3ee}
.lal-greet--xmas .lal-greet-sub{color:#c8a96a}
.lal-greet--xmas .lal-greet-x{color:#f6f3ee}
@media (max-width:560px){.lal-greet{padding:14px 26px 10px 18px}.lal-greet-title{font-size:1.2rem}}
@media (max-width:360px){.lal-greet{padding:12px 22px 8px 14px}.lal-greet-title{font-size:1.08rem}}
@media (prefers-reduced-motion:reduce){.lal-greet,.lal-greet.is-in,.lal-greet.is-out{transition:opacity .3s;animation:none;transform:none}}
html.lal-photo-fs-open .lal-greet{display:none}

/* 2026-11-20: Privacy policy page + footer Privacy link */
.footer-privacy{margin:0 0 .6em}
.footer-privacy a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.footer-privacy a:hover{color:#fff}
.page-privacy .privacy-doc{max-width:38rem;margin:0 auto;padding:8px 0 clamp(40px,6vw,72px);color:var(--ink);font-size:1.02rem;line-height:1.75}
.page-privacy .privacy-doc h2{font-family:var(--serif);font-size:1.35rem;font-weight:500;color:var(--navy-ink);margin:1.7em 0 .45em;letter-spacing:.02em}
.page-privacy .privacy-doc h3{font-family:var(--sans,inherit);font-size:.82rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--navy-ink);margin:1.3em 0 .35em}
.page-privacy .privacy-doc p{margin:0 0 .9em}
.page-privacy .privacy-doc a{color:var(--navy-ink);text-decoration:underline;text-underline-offset:3px}
.page-privacy .privacy-sign{margin:1.2em 0 0;line-height:1.7}
.page-privacy .privacy-updated{margin-top:2em;font-size:.85rem;color:var(--ink-soft)}


/* 2026-11-20: navy/gold fallback when a tile has no verified real photo of that place */
.tile.tile--no-photo{
  background-image:none !important;
  background-color:var(--navy);
  background:linear-gradient(165deg,#0e2438 0%,#17324b 52%,#0e2438 100%);
  box-shadow:inset 0 0 0 1px rgba(201,168,76,.35), inset 0 -4px 0 var(--gold);
}
.tile.tile--no-photo::before{background:none;filter:none;transform:none}
.tile.tile--no-photo .tile-label,
.tile.tile--no-photo .tile-sub,
.tile.tile--no-photo .tile-more{text-shadow:none}
.tile-slices.tile-slices--no-photo{
  background-image:none !important;
  background-color:var(--navy);
  background:linear-gradient(165deg,#0e2438 0%,#17324b 52%,#0e2438 100%);
  box-shadow:inset 0 -3px 0 var(--gold);
}
.tile-new.tile-new--no-photo,
.hero-bar .tile-new.tile-new--no-photo{
  background-image:none !important;
  color:#fff;
  border-color:rgba(201,168,76,.55);
  background:linear-gradient(165deg,#0e2438 0%,#17324b 100%);
  text-shadow:none;
}
.tile-new.tile-new--no-photo::before,
.hero-bar .tile-new.tile-new--no-photo::before{display:none}

/* 2026-11-20: community search town hero banner (full-width photo + town name).
   Separate from .community-page-hero so Osage National stays unchanged. */
.comm-town-hero{
  position:relative;
  width:100%;
  height:310px;
  margin:0;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background-color:var(--navy);
  background-size:cover;
  background-repeat:no-repeat;
  background-position:50% 45%;
}

.comm-town-hero-name{
  position:relative;
  z-index:1;
  margin:0;
  padding:0 24px 28px;
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.4rem,4.6vw,3.8rem);
  line-height:1.1;
  letter-spacing:.01em;
  color:#fff;
  text-align:center;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
}
@media (max-width:760px){
  .comm-town-hero{height:136px}
  .comm-town-hero-name{font-size:clamp(1.7rem,7vw,2.4rem);padding:0 16px 14px}
}

/* 2026-11-20: community search pages hide eyebrow/h1/lede on every viewport
   (not only phones). Search bar stays; general search (no town) is unchanged. */
body.page-search.comm-search .page-intro > .eyebrow,
body.page-search.comm-search .page-intro > h1,
body.page-search.comm-search .page-intro > .lede{display:none!important}
body.page-search.comm-search .page-intro{padding-top:20px}

/* 2026-11-21: property-type landing pages use the same hero + search bar
   treatment as community search pages. h1 stays in the DOM for city-title
   updates; the visible title is the hero overlay (kept in sync). */
body.type-hero .page-intro > h1{display:none!important}
body.type-hero .page-intro{padding-top:20px}

/* 2026-11-21: soft navy glow on photo-tile / chip titles. Replaces the hard
   black -webkit-text-stroke + 8-direction 0-blur outline. Site navy #0e2438.
   Same selectors as before — map CTA, header, and hero banners stay untargeted. */
.tile .tile-label,
.tile .tile-more,
.tile .tile-sub,
.tile-new.tile-new--photo,
.hero-bar .tile-new.tile-new--photo,
.tile-slices b,
.tile-slices b.jl,
.tile-slices b:not(.jl),
.tile-slices span{
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 1.5px rgba(14,36,56,.98),
    0 0 3px rgba(14,36,56,.9),
    0 1px 3px rgba(14,36,56,.88),
    0 0 8px rgba(14,36,56,.75),
    0 0 14px rgba(14,36,56,.55),
    0 2px 10px rgba(14,36,56,.6);
}

/* Solid navy fallback tiles don't need a glow. Restores the earlier
   text-shadow:none exception that the outline block had been overriding. */
.tile.tile--no-photo .tile-label,
.tile.tile--no-photo .tile-sub,
.tile.tile--no-photo .tile-more,
.tile-new.tile-new--no-photo,
.hero-bar .tile-new.tile-new--no-photo,
.tile-slices.tile-slices--no-photo b,
.tile-slices.tile-slices--no-photo span{
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* 2026-11-21 (Brian): header Search Homes button rounded like the search bar (pill). */
.nav-cta{border-radius:999px}


/* 2026-11-21: first results-group heading sits with the listing tiles, not above the map tile.
   Desktop/tablet (2+ columns): map top-left spanning the heading + first listing row;
   heading lines up with the listing columns. Mobile (<=560px): heading full width, then the map as the first tile in the 2-column grid, same size as a listing card. Other groups and empty-group one-liners are unchanged. */
.listing-grid--map-lead > .listing-map-tile{
  grid-column:1;
  grid-row:1 / span 2;
}
.listing-grid--map-lead > .cat-head{
  grid-column:2 / -1;
  margin-bottom:0;
  align-self:end;
  min-width:0;
}
@media (max-width:560px){
  /* 2026-11-24: Map is a normal first cell in the 2-column grid (same width
     as a listing card), not a full-width banner. Heading stays full width
     on the row above so it stays readable on a phone. */
  .listing-grid--map-lead > .cat-head{
    grid-column:1 / -1;
    grid-row:1;
    align-self:stretch;
    margin-bottom:0;
  }
  .listing-grid--map-lead > .listing-map-tile{
    grid-column:1;
    grid-row:2;
  }
}

/* 2026-11-23 (staging): remaining squared action buttons and chips use the oval
   pill (border-radius:999px), including .btn, .chip, category/sort chips,
   Add to Notebook, notebook send/keep/clear, listing CTA buttons, and the
   Map/Satellite toggle group. Button-only hover on Let's Talk / Reach Out Now
   tiles is unchanged (.listing-cta .cta-btn:hover, not .listing-cta:hover .cta-btn).
   Photo tiles, listing cards, form fields, drawers, and circular icon buttons stay as they were. */


/* 2026-11-24: after a typed search, hide intro copy above the results
   (eyebrow, heading, lede, and the interpretation / "Mentioning…" note).
   Leave the search bar, spell banner, sort bar, map tile, and listings.
   Tighten top spacing so removing the heading does not leave a gap. */
html.has-search-q .page-intro > .eyebrow,
html.has-search-q .page-intro > h1,
html.has-search-q .page-intro > .lede,
html.has-search-q .page-intro > .ai-note,
html.has-search-q .page-intro > .page-count,
html.has-search-q #ai-note,
html.has-search-q #ai-status{
  display:none!important;
}
html.has-search-q .page-intro{
  padding-top:12px!important;
  padding-bottom:0!important;
}
html.has-search-q .ai-search.ai-search--page{
  margin-top:0;
  margin-bottom:10px;
}
@media (max-width:560px){
  html.has-search-q .page-intro{padding-top:8px!important}
}


/* 2026-11-24: auto-growing site search bars (homepage, search, property-type pages).
   textarea.lal-q starts one line tall, grows up to 3 lines while editing.
   After submit/blur, .is-resting centers the query and caps the box at two lines
   (further lines are clipped). Oval 999px radius while one line; 22px when two
   or more so a taller bar stays pill-like. */
.ai-search textarea.lal-q{
  flex:1 1 auto;
  min-width:0;
  display:block;
  font:inherit;
  font-size:1rem;
  line-height:1.25;
  padding:15px 18px 15px 26px;
  border:0;
  border-radius:0;
  background:var(--surface);
  color:var(--ink);
  outline:none;
  box-shadow:none;
  resize:none;
  margin:0;
  white-space:pre-wrap;
  word-wrap:break-word;
  overflow-wrap:anywhere;
  overflow-x:hidden;
  overflow-y:hidden;
  -webkit-appearance:none;
  appearance:none;
  field-sizing:fixed;
  text-align:left;
}
.ai-search textarea.lal-q.is-resting{
  text-align:center;
  overflow:hidden;
  padding-left:22px;
  padding-right:22px;
}
.ai-search textarea.lal-q:focus,
.ai-search textarea.lal-q:focus-visible{
  outline:none;
  box-shadow:none;
}
.section--search.section--first .ai-search textarea.lal-q{
  border:0;
}
.ai-search-row.is-multiline,
.ai-search.ai-search--page.is-multiline{
  border-radius:22px;
}
.ai-search-row.is-multiline button,
.ai-search.ai-search--page.is-multiline button{
  border-radius:0 22px 22px 0;
}
.lal-search-wave.is-multiline{
  border-radius:22px;
}
@media (max-width:560px){
  .ai-search textarea.lal-q{font-size:.92rem;padding:13px 16px 13px 22px}
  .ai-search textarea.lal-q.is-resting{padding-left:18px;padding-right:18px}
}


/* 2026-11-24: prevent sticky bar height jump on load, CTA container CLS, and scroll-anchor jitter on chip jumps */
@media (max-width:760px){.qtybar{min-height:45px}}
body[data-cat]:not([data-rendered="1"]) #listing-sections,
html.has-search-q #listing-sections:empty{min-height:100vh}
#listing-sections{overflow-anchor:none}

/* 2026-11-24: Refine Search on category pages and All (search). Desktop keeps
   the filters on the right of the chip bar. Mobile moves them into a third
   sticky bar, flush under the existing bars, compact and horizontally
   scrollable if needed. */
body[data-cat] #catbars,
body.page-search #catbars{
  display:flex;
  flex-direction:column;
}
@media (min-width:761px){
  body[data-cat] #catbars,
  body.page-search #catbars{
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto;
  }
  body[data-cat] #catbars > .catbar,
  body.page-search #catbars > .catbar{
    grid-column:1 / -1;
  }
  body[data-cat] #catbars > .qtybar,
  body.page-search #catbars > .qtybar{
    grid-column:1;
    grid-row:2;
    min-width:0;
    padding-right:0;
  }
  body[data-cat] #catbars > .qty-filters,
  body.page-search #catbars > .qty-filters{
    grid-column:2;
    grid-row:2;
    align-self:stretch;
    margin:0;
    border-left:1px solid var(--line);
    background:var(--hdr-solid);
    box-shadow:0 6px 16px -12px rgba(14,36,56,.5);
  }
  /* Desktop refine-results: keep filters right-aligned in column 2.
     Bedroom chips stay hidden, but qtybar remains so the left space is preserved. */
}
body[data-cat] .qty-refine-label,
body.page-search .qty-refine-label{
  font-size:.56rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-soft);
  white-space:nowrap;
  flex:0 0 auto;
}
body[data-cat] .qty-submit,
body.page-search .qty-submit{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:5px 14px;
  border:1px solid var(--gold);
  border-radius:999px;
  background:var(--gold);
  color:var(--navy);
  font:inherit;
  font-size:.64rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:inset 0 -3px 0 var(--navy-ink);
  white-space:nowrap;
}
body[data-cat] .qty-submit:hover,
body.page-search .qty-submit:hover{
  filter:brightness(0.97);
}
@media (max-width:760px){
  body[data-cat] #catbars > .qtybar,
  body.page-search #catbars > .qtybar{
    box-shadow:none;
  }
  body[data-cat] #catbars > .qty-filters,
  body.page-search #catbars > .qty-filters{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    width:100%;
    box-sizing:border-box;
    flex:0 0 auto;
    margin:0;
    padding:4px 8px;
    gap:6px;
    border-left:0;
    border-top:0;
    border-bottom:1px solid var(--line);
    background:var(--hdr-solid);
    box-shadow:0 6px 16px -12px rgba(14,36,56,.5);
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  body[data-cat] #catbars > .qty-filters::-webkit-scrollbar,
  body.page-search #catbars > .qty-filters::-webkit-scrollbar{display:none}
  /* 2026-11-25: hide the Refine Search label on mobile so the Submit chip
     can show. Desktop keeps the label. Dropdown sizes are unchanged. */
  body[data-cat] .qty-refine-label,
  body.page-search .qty-refine-label{
    display:none;
  }
  body[data-cat] #catbars > .qty-filters label,
  body.page-search #catbars > .qty-filters label{
    font-size:.5rem;
    letter-spacing:.04em;
    gap:2px;
    flex:0 0 auto;
  }
  body[data-cat] #catbars > .qty-filters select,
  body.page-search #catbars > .qty-filters select{
    font-size:.68rem;
    padding:4px 4px;
    min-width:2.8rem;
  }
  body[data-cat] .qty-submit,
  body.page-search .qty-submit{
    font-size:.58rem;
    padding:4px 12px;
    letter-spacing:.1em;
  }
  body[data-cat].refine-results:not(.comm-page) #catbars > .qtybar,
  body.page-search.refine-results:not(.comm-search) #catbars > .qtybar{
    display:none;
  }
}

/* 2026-11-24: disable page pinch-zoom on phones (accidental pinch was sticking
   at a zoomed scale and not snapping back). Map and photo-viewer keep their
   own pinch-zoom via touch-action overrides.
   2026-11-24: page pan is vertical only. pan-x was letting a sideways swipe
   leave the header and sticky bars stuck off-screen whenever anything
   overflowed. Maps, the photo viewer, chip rows, and the refine bar keep
   their own sideways gestures. */
@media (hover:none), (pointer:coarse){
  html, body{touch-action:pan-y}
  #map, #map-canvas-wrap, .map-canvas-wrap, .gm-style,
  #ld-map, #ld-map-canvas, #ld-map-canvas-wrap,
  #ld-img, .lal-photo-fs{touch-action:pan-x pan-y pinch-zoom}
  .bar-scroll, .qty-filters, .ld-thumbs, .nb-tabs,
  .listing-grid:not(.listing-grid--page){touch-action:pan-x pan-y}
}

/* 2026-11-24: stop the page from scrolling sideways on phones.
   Two-column listing tiles (.listing-grid--page uses 1fr 1fr, which is
   minmax(auto,1fr)) and some section headings were wider than the screen.
   On pages where the Min/Max/Baths/Slips row still sits in the chip bar,
   that row (flex:0 0 auto; overflow visible) also ran past the right edge.
   Fix the overflowing elements; clip on html is a safety net that keeps
   position:sticky working (overflow:hidden on body can break sticky). */
html, body{overflow-x:clip}
@supports not (overflow-x: clip){
  html, body{overflow-x:hidden}
}
.site-header, .header-inner, .primary-nav, .catbars, .qtybar, .container{
  max-width:100%;
}
.listing-grid > *,
.listing-grid--page > *,
.cat-head,
.cat-head h2{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
@media (max-width:560px){
  .listing-grid.listing-grid--page{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
}
/* In-bar filters (when they are not the third sticky bar) must shrink and
   scroll inside the chip bar instead of widening the page. The third-bar
   rule (#catbars > .qty-filters) already sets width:100% and overflow-x:auto
   and is more specific, so it stays in charge on mobile Lakefront Refine Search. */
.qtybar > .qty-filters{
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.qtybar > .qty-filters::-webkit-scrollbar{display:none}

/* 2026-11-25: homepage first-block Just Listed bars — larger label only.
   Targets "Just Listed Lakefront" / Off-Water / Condo / Commercial / Land in
   .search-tiles--six. Does not change community chips or other pages. */
.search-tiles--six > .tile-col > a.tile-new{
  font-size:.8rem;
}

/* 2026-11-25 (LW-77 live): iOS Safari mobile centering & horizontal-bleed hardening.
   1) Keep .site-header overflow:visible so iOS Safari does not clip ::before gold line
      or ::after fall-vine hang (html/body overflow-x:clip already prevents page bleed).
   2) Replace 100vw on .hero-bar--between with width:100% inside <main>.
   3) Use minmax(0, 1fr) tracks on mobile/tablet homepage & community grids and
      constrain .tile-slices so 1fr 1fr cannot push columns toward/past the edge. */
.hero-bar--between{width:100%;margin-left:0;margin-right:0}
@media (max-width:1040px){
  .search-tiles--six{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .community-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:560px){
  .search-tiles--six{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .community-grid{grid-template-columns:minmax(0,1fr)}
  .search-tiles--six .tile-slices,
  .community-grid .tile-slices{min-width:0;max-width:100%;overflow:hidden}
}

/* 2026-11-26 (Brian, opt. 1): Black Friday price-tag vine. Shown only while
   the Black Friday sign is active (Nov 27, America/Chicago, or ?bf=on).
   Other dates and ?thanks=on / ?xmas=on keep the current fall-vine.svg.
   Does not change LW-85 overflow:visible or the LW-77 centering rules. */
body.season-fall.bf-vine .site-header::after{
  bottom:-32px;
  height:40px;
  background:url("../assets/img/bf-vine-price-tags.svg?v=20261126-bf1") repeat-x center;
  background-size:240px 40px;
}
@media (max-width:560px){
  body.season-fall.bf-vine .section--search.section--first{padding-top:112px}
}

/* 2026-11-27 (Brian, opt. 4): Christmas navy/gold lights + snowflakes vine.
   Shown Nov 28–Dec 26, 2026 (America/Chicago), or ?xmas=on.
   Other dates and ?thanks=on / ?bf=on keep the fall or Black Friday vine.
   Same header slot and gold-line weave as the fall vine.
   Does not change sticky hide/unhide header behavior.
   The vine is a static SVG background (no animation). The greeting already
   honors prefers-reduced-motion in the .lal-greet rules above. */
body.season-fall.xmas-vine .site-header::after{
  bottom:-32px;
  height:40px;
  background:url("../assets/img/xmas-vine-navy-gold.svg?v=20261127-xmas4") repeat-x center;
  background-size:240px 40px;
}
@media (max-width:560px){
  body.season-fall.xmas-vine .section--search.section--first{padding-top:112px}
}
/* Vine easter egg star hangs in the vine slot; pointer-events stay on the
   button only. The ::after vine itself remains pointer-events:none. */

/* ==========================================================================
   Light/Dark switch controls (new)
   ========================================================================== */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.theme-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:999px}
.theme-toggle__icon{display:inline-flex;line-height:0}
.theme-toggle--nav{height:40px;min-width:40px;padding:0 6px;gap:6px;border-radius:999px;margin-left:0;flex:0 0 auto;font-size:.7rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}
.theme-toggle--nav .theme-toggle__label{line-height:1}
.theme-toggle--nav:hover{color:var(--gold)}
.theme-toggle--foot{padding:6px 14px 6px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.theme-toggle--foot:hover{color:#fff;border-color:rgba(255,255,255,.6)}
.theme-toggle--foot svg{width:16px;height:16px}
.footer-theme{margin:14px 0 0}
@media (max-width:1040px){.theme-toggle--nav{margin:0;min-width:48px;height:48px;padding:0 12px}}

/* ==========================================================================
   DARK THEME. Manual switch only: <html data-theme="dark"> is set by the
   inline <head> script / main.js from localStorage "lal-theme". The OS
   setting is intentionally NOT followed. Palette + contrast ratios:
   /workspace/dark-mode/research.md
   ========================================================================== */
html[data-theme="dark"]{
  color-scheme:dark;
  --white:#0b1520; --sand:#0e1a26; --ink:#edf0f3; --ink-soft:#aab7c4; --line:#2b3f54;
  --surface:#111f2e; --hdr-solid:rgba(7,15,23,.97); --navy-ink:#e0c690; --plate:#fff;
  --muted-7a838c:#8c9aa8; --muted-9aa3ad:#8c9aa8; --soft-41505f:#aab7c4; --ink-1c2b3a:#edf0f3;
  --danger-b3261e:#ff9a8f; --danger-b3402f:#ff9a8f; --danger-8a3a3a:#ff9a8f; --danger-8a1f1f:#ff9a8f;
  --ok-1d6b3a:#6fcf97; --goldink-8a6a24:#e0c690; --goldink-8a6d33:#e0c690; --warm-9a5a1a:#f0a066;
  --bg-fbf8f1:#111f2e; --bg-fbf6ea:#111f2e; --bg-f0f0f0:#111f2e; --bg-f5efe2:#111f2e; --bg-f1ede6:#17293a;
  --bg-f1ebdf:#17293a; --bg-e9e5de:#17293a; --bg-e8e3da:#17293a; --bg-e7e1d6:#17293a; --bg-e9e1cf:#17293a;
  --bg-e4dcc8:#17293a; --bg-d9e2ea:#17293a;
}
html[data-theme="dark"] body{background:var(--white)}
html[data-theme="dark"] .site-footer{background:#070f17;border-top:1px solid var(--line)}
html[data-theme="dark"] .page-sub .site-header.is-solid{background:#070f17}
/* Primary buttons: gold with navy text (navy fill would vanish on a dark page) */
html[data-theme="dark"] .btn--solid{background:var(--gold);border-color:var(--gold);color:#0e2438}
html[data-theme="dark"] .btn--solid:hover{background:#e0c690;border-color:#e0c690}
/* Header logo: white-text art (made from the existing header art). Shown in both header states. */
html[data-theme="dark"] .brand-logo{
  background:center/100% 100% no-repeat image-set(url("../assets/img/lal-hdr-v4-h119-dk.png") 1x,url("../assets/img/lal-hdr-v4-h238-dk.png") 2x,url("../assets/img/lal-hdr-v4-h358-dk.png") 3x);
  object-fit:none;object-position:-9999px 0}
@media (max-width:560px){
  html[data-theme="dark"] .brand-logo{background-image:image-set(url("../assets/img/lal-hdr-v4-h93-dk.png") 1x,url("../assets/img/lal-hdr-v4-h186-dk.png") 2x,url("../assets/img/lal-hdr-v4-h279-dk.png") 3x)}
}
html[data-theme="dark"] .site-header.is-solid .brand-logo--dark{display:none}
html[data-theme="dark"] .about-photo::before{background:linear-gradient(160deg,#1e3349,#17293a)}
html[data-theme="dark"] .listing-badge{background:rgba(11,21,32,.88);color:#edf0f3}
html[data-theme="dark"] .ld-nav{background:rgba(11,21,32,.82);color:#edf0f3}
html[data-theme="dark"] .ld-map-status{background:rgba(11,21,32,.88)}

/* --- dark: surfaces that used translucent light fills --- */
html[data-theme="dark"] .nb-tabs{background:rgba(7,15,23,.55)}
html[data-theme="dark"] .nb-tab{border-color:var(--line)}
html[data-theme="dark"] .nb-form,
html[data-theme="dark"] .nb-form{background:rgba(7,15,23,.6)}
@media (max-width:640px){html[data-theme="dark"] .nb-form{background:rgba(7,15,23,.92)}}
html[data-theme="dark"] .nb-rings{border-right-color:var(--line)}
html[data-theme="dark"] .nb-backdrop{background:rgba(2,6,10,.7)}
html[data-theme="dark"] .nb-panel{border-left:1px solid var(--line)}
html[data-theme="dark"] .nb-thumb img{border-color:#e9e1cf}
html[data-theme="dark"] .map-side--drawer{background:rgba(14,36,56,.97);border-color:#2b3f54}
html[data-theme="dark"] .map-idx{background:rgba(11,21,32,.92);color:#edf0f3}
html[data-theme="dark"] .map-idx a{color:#e0c690}
/* map labels: light text + dark halo on the dark road map (satellite keeps its own rules) */
html[data-theme="dark"]:not(.map-sat) body:not(.map-sat) .map-town-label{color:#edf0f3;text-shadow:-1px -1px 0 #0b1520,1px -1px 0 #0b1520,-1px 1px 0 #0b1520,1px 1px 0 #0b1520,0 0 4px #0b1520,0 0 8px #0b1520}
html[data-theme="dark"]:not(.map-sat) body:not(.map-sat) .map-district-label{color:#f3d98f !important;text-shadow:-1px -1px 0 #070f17,1px -1px 0 #070f17,-1px 1px 0 #070f17,1px 1px 0 #070f17,-2px 0 0 #070f17,2px 0 0 #070f17,0 -2px 0 #070f17,0 2px 0 #070f17,0 0 6px #070f17,0 0 10px #070f17 !important}
/* Google Maps info window (white by default) */
html[data-theme="dark"] .gm-style .gm-style-iw-c,
html[data-theme="dark"] .gm-style .gm-style-iw-d{background-color:#111f2e !important;color:#edf0f3}
html[data-theme="dark"] .gm-style .gm-style-iw-tc::after{background:#111f2e !important}
html[data-theme="dark"] .gm-style .gm-ui-hover-effect>span{background-color:#edf0f3 !important}
html[data-theme="dark"] .map-pop-body strong,html[data-theme="dark"] .map-pop-link{color:#e0c690}
html[data-theme="dark"] #map,html[data-theme="dark"] #map-canvas,html[data-theme="dark"] #ld-map-canvas,html[data-theme="dark"] .map-canvas-wrap{background-color:#0b1520}
/* Google map controls (zoom, pegman, camera) */
html[data-theme="dark"] .gm-style .gm-bundled-control>div,
html[data-theme="dark"] .gm-style button.gm-control-active,
html[data-theme="dark"] .gm-style .gm-svpc{background-color:#111f2e !important}
html[data-theme="dark"] .gm-style button.gm-control-active img,
html[data-theme="dark"] .gm-style .gm-svpc img{filter:invert(1) brightness(1.1)}
html[data-theme="dark"] .gm-style .gm-style-cc div{background-color:rgba(11,21,32,.75) !important}
html[data-theme="dark"] .gm-style .gm-style-cc a,html[data-theme="dark"] .gm-style .gm-style-cc button,html[data-theme="dark"] .gm-style .gm-style-cc span{color:#c8d2dc !important}

/* --- dark: builder-generated pages (about, market report, mile markers, community guides, school districts, feature pages).
   Their inline <style> blocks use var(--navy) as a TEXT colour; navy stays a fill colour, so remap the text here. */
html[data-theme="dark"] .page-about .about-doc h2,
html[data-theme="dark"] .page-about .about-name,
html[data-theme="dark"] .page-about .about-sign,
html[data-theme="dark"] .mr-asof,html[data-theme="dark"] .mr-card b,html[data-theme="dark"] .mr-faq summary,
html[data-theme="dark"] .mm-facts b,html[data-theme="dark"] .mm-wrap h1,html[data-theme="dark"] .mm-wrap h2.mm-h2,
html[data-theme="dark"] .comm-guide-intro p:first-child,html[data-theme="dark"] .comm-guide-section h2,
html[data-theme="dark"] .comm-search-box h2,html[data-theme="dark"] .lw81-facts strong{color:var(--ink)}
html[data-theme="dark"] .page-about .about-doc a,
html[data-theme="dark"] .mm-crumbs a,html[data-theme="dark"] .mm-table td a,
html[data-theme="dark"] .comm-guide-body a,html[data-theme="dark"] .comm-search-box p a,
html[data-theme="dark"] .page-feature .lw81-reset{color:var(--navy-ink)}
html[data-theme="dark"] .page-about .about-doc a.btn--solid{color:#0e2438}
html[data-theme="dark"] .comm-guide-body a:hover{color:#fff}
html[data-theme="dark"] .mr-card,html[data-theme="dark"] .comm-search-box{background:var(--bg-f1ede6);border-color:var(--line)}
html[data-theme="dark"] .comm-search-box{border-top-color:var(--gold)}
html[data-theme="dark"] .mr-t thead th{background:#070f17;color:#edf0f3;border-bottom:2px solid var(--gold)}
html[data-theme="dark"] .mr-t tbody tr:nth-child(even){background:#111f2e}
html[data-theme="dark"] .mr-bar i{background:linear-gradient(90deg,#6b87a6,#9db6cf);border-right-color:var(--gold)}
html[data-theme="dark"] .mr-ph,html[data-theme="dark"] .mm-ph{background:#2a2410;color:#ecdca8;border-color:#C9A227}
html[data-theme="dark"] .mm-svg{background:#0e1a26;border-color:var(--line)}
html[data-theme="dark"] .mm-svg a:hover polyline{stroke:#f3d98f}
html[data-theme="dark"] .comm-search-links a,
html[data-theme="dark"] .lw81-hub a{background:#111f2e;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .comm-search-links a:hover,html[data-theme="dark"] .comm-search-links a:focus-visible,
html[data-theme="dark"] .lw81-hub a:hover{background:#17293a;border-color:var(--gold);color:#fff}
html[data-theme="dark"] .lw81-note{color:var(--muted-7a838c)}
html[data-theme="dark"] .comm-brian-box{border:1px solid var(--line);border-bottom:3px solid var(--gold)}
html[data-theme="dark"] .listing-body .listing-mm{color:var(--ink-soft)}
