/* carmelvalleyhomesforsale.com theme layer (chosen Nov 30, 2026): the clean store look of
   pacifichighlandsranchhomes.com — white pages, one sans-serif, translucent header, pill buttons
   (solid blue primary, soft gray secondary), big bold headings, soft gray panels instead of borders,
   big rounded photo cards with the title on the photo.
   Every page keeps its own inline styles; tools/theme.py links this file after them on every page,
   so these rules win. Change colors here only (tokens below). */
:root{
  color-scheme:light;
  --ink:#1c2b33;          /* headings, strong text */
  --body:#344854;         /* body copy */
  --label:#5f707c;        /* captions (5:1 on white) */
  --lake:#0064e0;         /* links, primary buttons (5.3:1 on white) */
  --lake-dark:#0050b5;
  --gold:#0064e0;
  --paper:#f1f4f7;        /* soft gray panels */
  --panel-2:#e7ecf0;
  --mist:#eef1f4;
  --line:#e2e7eb;
  --white:#ffffff;
  --radius:24px;
  --radius-s:16px;
  --serif:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --mono:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
html,body{background:#fff}
body{color:var(--body);letter-spacing:-.006em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
[style*="--mono"],.num,.v,.gr-val,.ts-p{font-variant-numeric:tabular-nums}
a{text-underline-offset:3px}
strong{color:var(--ink)}
:focus-visible{outline:2px solid var(--lake);outline-offset:3px}

/* ---- header: translucent bar, name over "Sez Sezer · Keller Williams" ---- */
.masthead{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid transparent!important;transition:border-color .2s ease,background-color .2s ease}
.masthead.scrolled{background:rgba(255,255,255,.92)!important;border-bottom-color:var(--line)!important}
.masthead .wrap{padding-top:12px;padding-bottom:12px}
.brand .b-mark{display:none!important}
.brand .b-name{font-size:1.12rem;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.brand .b-sub{font-size:.76rem!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important;color:var(--label)!important;margin-top:5px}
.primary-nav a{font-weight:500;color:var(--ink)}
.primary-nav a:hover,.primary-nav a[aria-current=page]{color:var(--lake)}
.nav-cta{background:var(--lake)!important;color:#fff!important;border-radius:999px!important;padding:9px 18px!important}
.nav-cta:hover{background:var(--lake-dark)!important}
.dd-panel{border:0!important;border-radius:18px!important;box-shadow:0 0 0 1px rgba(28,43,51,.06),0 24px 48px -16px rgba(28,43,51,.28)!important;padding:8px!important}
.primary-nav .dd-panel a{border-radius:10px}
.menu-toggle{width:44px;height:44px;border-radius:999px;font-size:22px!important}
.menu-toggle:active{background:rgba(28,43,51,.08)}

/* ---- breadcrumb: quiet line, no bars ---- */
.breadcrumb{background:none!important;border:0!important}
.breadcrumb .wrap{padding-top:18px!important;padding-bottom:0!important}

/* ---- buttons: pills ---- */
.btn,.contact-btn,.quick a,.mc-go,.sh-btn{border-radius:999px!important}
.btn{font-weight:600;padding:13px 26px;border:0!important;transition:background-color .15s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
.btn:not(.btn-outline):not(.ghost):not(.btn-solid){background:var(--lake);color:#fff!important}
.btn:not(.btn-outline):not(.ghost):not(.btn-solid):hover{background:var(--lake-dark)}
.btn:active,.contact-btn:active,.nav-cta:active{transform:scale(.97)}
.btn-solid,.page-hero .btn-solid,.btn.primary{background:var(--lake)!important;color:#fff!important}
.btn-solid:hover,.page-hero .btn-solid:hover{background:var(--lake-dark)!important}
.btn-outline,.page-hero .btn-outline,.btn.ghost{background:var(--panel-2)!important;color:var(--ink)!important;border:0!important}
.btn-outline:hover,.page-hero .btn-outline:hover,.btn.ghost:hover{background:#d8e0e6!important}
.contact-btn{border:0!important;background:var(--lake)!important}
.contact-btn.outline{background:var(--panel-2)!important;color:var(--ink)!important}
.contact-btn.outline:hover{background:#d8e0e6!important}
.quick a{background:var(--panel-2);border:0;color:var(--ink)}
.quick a:hover{background:#d8e0e6;color:var(--ink)}
.quick a.primary{background:var(--lake);color:#fff}

/* ---- headings and eyebrows: big and bold, plain gray eyebrow (no colored chip) ---- */
h1{letter-spacing:-.035em!important;color:var(--ink)}
.page-hero h1,.ar-hero h1,.home-hero h1{font-size:clamp(2.3rem,5vw,3.9rem)!important;line-height:1.06!important;font-weight:700!important;max-width:18ch;text-wrap:balance}
.page-hero p,.ar-hero p,.home-hero .lead{font-size:clamp(1.05rem,1.8vw,1.2rem)!important;line-height:1.55;color:#4f606c!important;text-wrap:pretty}
.hub-bar h1{font-size:clamp(1.7rem,3.4vw,2.5rem)!important;font-weight:700!important;letter-spacing:-.03em!important}
.eyebrow,.page-hero .eyebrow,.ar-hero .eyebrow,.sec-head .eyebrow,.home-hero .eyebrow{background:none!important;padding:0!important;border-radius:0!important;color:var(--label)!important;font-size:.9rem!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}
.sec-head{margin-bottom:34px}
.sec-head h2,.contact h2{font-size:clamp(1.8rem,3.3vw,2.6rem)!important;line-height:1.12!important;letter-spacing:-.03em!important;font-weight:700!important;color:var(--ink);text-wrap:balance}
.sec-head p{font-size:1.05rem;color:#4f606c}
h2,h3{color:var(--ink)}
.listings-title{font-size:clamp(1.5rem,2.6vw,2rem)!important;font-weight:700!important;letter-spacing:-.03em!important}
.listings-tag{background:var(--panel-2)!important;color:var(--ink)!important}

/* ---- community/area page top: like the Canterra page — breadcrumb, eyebrow, big headline, two buttons ---- */
.page-hero .wrap{padding-top:22px!important;padding-bottom:40px!important}
.page-hero .eyebrow{margin-bottom:12px!important}
.page-hero h1{max-width:20ch}
.page-hero p{margin-top:18px!important;max-width:44rem}
.hero-ctas{margin-top:28px!important}
.page-hero-img{border-radius:var(--radius)!important}
.ar-hero{padding-top:36px!important}
.ar-hero .eyebrow i{display:none}

/* ---- cards and panels: soft gray, no borders, bigger corners ---- */
.fact,.bc,.pb,.net,.kpi-card,.glance-card,.map-card,.contact-cta,.cmp-card,.stat-box,.trend-card,.seller-tile{border:0!important;border-radius:var(--radius-s)!important;box-shadow:none!important}
.fact,.bc,.pb,.net,.glance-card,.stat-box,.trend-card{background:var(--paper)!important}
.kpi-card{background:var(--paper)!important}
.contact-cta{background:#fff!important}
.net:hover,.bc:hover{background:var(--panel-2)!important}
.bc-bar,.pb-bar{background:#dde4ea!important}
.glance-grid{gap:14px!important;background:none!important;border:0!important}
.home-hero,.network{background:#fff!important;border:0!important}
.contact{background:var(--paper)!important;border:0!important}
.agent-photo{border:0!important}
.footer{background:#fff!important}
.rs-embed{border-radius:var(--radius)!important;overflow:hidden}
.faq-list details,.faq details{border-radius:var(--radius-s)}

/* map widgets keep their own layers below the header and its menu */
.xp,.map-sec,.loc-map,.ar-map{isolation:isolate}

/* ---- phone ---- */
@media(max-width:1080px){.primary-nav .nav-cta{display:block;width:auto!important;margin:16px 20px!important;text-align:center}}
@media(max-width:640px){
  .page-hero h1,.ar-hero h1,.home-hero h1{font-size:clamp(2rem,9vw,2.6rem)!important}
  .sec-head h2,.contact h2{font-size:clamp(1.6rem,7vw,2rem)!important}
  .page-hero .wrap{padding-bottom:28px!important}
  .brand .b-sub{font-size:.72rem!important}
}

/* =================== home page: film-style top section (assets/chapters.js) =================== */
.chapters{--ch-top:66px;--ch-h:calc(100svh - var(--ch-top));--k:0;--ix:28px;--iy:14px;position:relative}
.ch-stage{position:sticky;top:var(--ch-top);height:var(--ch-h);min-height:480px;max-height:1400px;overflow:hidden;clip-path:inset(calc(var(--k) * var(--iy)) calc(var(--k) * var(--ix)) round calc(var(--k) * var(--radius)));background:#1c2b33;isolation:isolate}
.ch-media{position:absolute;inset:0;opacity:0;transition:opacity 1.6s cubic-bezier(.4,0,.2,1);filter:saturate(1.1) contrast(1.04)}
.ch-media.on{opacity:1}
.ch-media img,.ch-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.005);transition:transform 14s cubic-bezier(.2,.6,.2,1)}
.ch-media.on img{transform:scale(1.07)}
.ch-media video{opacity:0;transition:opacity 1.2s ease}
.ch-media.playing video{opacity:1}
.ch-stage::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(255,196,140,.2) 0%,rgba(255,196,140,.05) 50%,rgba(0,0,0,0) 100%);mix-blend-mode:soft-light}
.ch-stage::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 70% 45% at center,rgba(12,18,28,.52) 0%,rgba(12,18,28,.32) 50%,rgba(12,18,28,.14) 100%)}
.ch-panels{position:relative;margin-top:calc(-1 * max(480px, min(1400px, var(--ch-h))));pointer-events:none;visibility:hidden}
.chapter{height:max(480px, min(1400px, var(--ch-h)))}
.ch-texts{position:absolute;inset:0;z-index:2}
.ch-slide{position:absolute;left:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;will-change:transform}
.ch-text{text-align:center;padding:40px 28px;max-width:860px;display:flex;flex-direction:column;align-items:center;color:#fff}
.ch-text h1,.ch-text h2{color:#fff!important;font-size:clamp(2.3rem,5.4vw,4.4rem)!important;line-height:1.08;letter-spacing:-.03em!important;font-weight:600!important;max-width:16ch;text-wrap:balance;margin:0 auto;text-shadow:0 1px 24px rgba(0,0,0,.3)}
.ch-text .ctas{display:flex;justify-content:center;margin-top:28px}
.ch-text .btn{background:var(--lake);color:#fff!important}
.ch-dots{position:absolute;right:calc(22px + var(--k) * var(--ix));top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:4px;z-index:3}
.ch-dot{width:24px;height:24px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}
.ch-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(0,0,0,.25);transition:background-color .2s ease,transform .2s ease}
.ch-dot.on::before{background:#fff;transform:scale(1.15)}
.ch-dot:focus-visible{outline:2px solid #fff;outline-offset:1px;border-radius:50%}
.ch-pause{position:absolute;right:calc(20px + var(--k) * var(--ix));bottom:calc(20px + var(--k) * var(--iy));z-index:3;width:48px;height:48px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);background:rgba(28,43,51,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;display:grid;place-items:center}
.ch-pause:focus-visible{outline:2px solid #fff;outline-offset:2px}
.ch-pause[hidden]{display:none}
.i-pause{width:14px;height:16px;border-left:4px solid #fff;border-right:4px solid #fff}
.ch-pause.is-paused .i-pause{width:0;height:0;border:0;border-left:14px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
@media(max-width:900px){.chapters{--ix:12px;--iy:8px}.ch-dots{right:calc(10px + var(--k) * var(--ix))}.ch-pause{right:calc(14px + var(--k) * var(--ix));bottom:calc(14px + var(--k) * var(--iy));width:44px;height:44px}.ch-text{padding:32px 44px 32px 24px}}
@media(max-width:600px){.ch-text{padding:28px 36px 28px 20px}}
@media (prefers-reduced-motion: reduce){.ch-media video{display:none}.ch-media{transition-duration:.2s}.ch-media img,.ch-media.on img{transform:none;transition:none}}

/* home: Sez right after the film */
.sez-hello{text-align:center;padding:76px 0 28px}
.sez-hello img{width:112px;height:112px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 22px}
.sez-hello .hello-line{font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1.15;letter-spacing:-.025em;font-weight:600;color:var(--ink);max-width:20ch;margin:0 auto;text-wrap:balance}
.sez-hello .hello-who{color:#4f606c;margin:14px 0 0;font-size:.98rem}
.sez-hello .ctas{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:26px}
@media(max-width:600px){.sez-hello{padding:56px 0 16px}.sez-hello img{width:96px;height:96px}}

/* home: big photo cards, title on the photo (swipe row on phones) */
.tiles-sec h2.center{text-align:center;margin:0 auto;font-size:clamp(1.8rem,3.3vw,2.6rem);line-height:1.12;letter-spacing:-.03em;font-weight:700;max-width:22ch;text-wrap:balance}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 20px;margin-top:34px}
.tile{display:block;text-decoration:none;color:inherit}
.tile-img{position:relative;display:block;aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;background:var(--panel-2);isolation:isolate}
.tile-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.tile-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,18,28,0) 45%,rgba(12,18,28,.62) 100%)}
.tile-title{position:absolute;left:22px;right:22px;bottom:18px;z-index:1;color:#fff;font-size:1.45rem;line-height:1.15;font-weight:600;letter-spacing:-.02em;text-wrap:balance}
.tile-title::after{content:" \203A"}
.tile-line{display:block;margin:12px 4px 0;color:#4f606c;font-size:.96rem;line-height:1.45}
.tile:hover .tile-img img{transform:scale(1.04)}
.tile:focus-visible{outline:none}.tile:focus-visible .tile-img{outline:3px solid var(--lake);outline-offset:3px}
@media(max-width:900px){.tiles{grid-template-columns:1fr 1fr}}
@media(max-width:600px){
  .tiles{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:26px -16px 0;padding:0 16px 6px;scroll-padding:0 16px;scrollbar-width:none;overscroll-behavior-x:contain}
  .tiles::-webkit-scrollbar{display:none}
  .tile{flex:0 0 80%;scroll-snap-align:start}
  .tile-img{aspect-ratio:4/5;border-radius:20px}
  .tile-title{left:18px;right:18px;bottom:16px;font-size:1.5rem}
}
@media (prefers-reduced-motion: reduce){.tile-img img,.tile:hover .tile-img img{transition:none;transform:none}}
