/* communities.css — the communities hub and the neighbourhood guides (t-173, Oct 10, 2026: "the same level from the Rohit
   page … to the guides and communities page"). The Rohit Homes pages' design (scripts/new-homes/vision.css) carried over:
   the same tokens, type, buttons, rows, sheets and "Jump to"; phone first; one column on a computer; dark is the site
   default (html.sar-dark), light follows the visitor's toggle. Generated pages: scripts/gen-guides.mjs +
   scripts/communities/pages.mjs; the moving parts: communities.js. */

/* stand-in fonts sized to the brand fonts, so text wraps the same before and after they arrive (no layout shift) */
@font-face{font-family:'Spectral Fallback';font-style:normal;font-weight:100 400;src:local('Georgia');size-adjust:96.9%;}
@font-face{font-family:'Spectral Fallback';font-style:normal;font-weight:500 900;src:local('Georgia');size-adjust:98.6%;}
@font-face{font-family:'Spectral Fallback';font-style:italic;font-weight:100 900;src:local('Georgia Italic'),local('Georgia-Italic'),local('Georgia');size-adjust:88.2%;}
@font-face{font-family:'Jost Fallback';font-style:normal;font-weight:100 350;src:local('Arial'),local('ArialMT');size-adjust:93.1%;}
@font-face{font-family:'Jost Fallback';font-style:normal;font-weight:351 900;src:local('Arial'),local('ArialMT');size-adjust:95.2%;}
/* the italic of the first screen (a guide's opening line, the hub's 'Edmonton') may arrive after the page has drawn on a slow
   phone; swapping then re-wraps the line and pushes the page down (layout shift 0.14 measured, Oct 10). 'Spectral Lede' is that
   italic used only if it is already there (font-display: optional) — otherwise the sized stand-in stays for that view, and the
   next page has it. It is the Spectral italic 300 files under their own name, whose names change when the files do:
   scripts/self-host-fonts.mjs writes the two rules below, and the same two into /assets/fonts/fonts.css (since Oct 12, 2026).
   They are here as well so that a guide or the hub still carrying the font line of before Oct 12 draws this line in Spectral
   for a visitor whose browser holds the old fonts.css, which has no 'Spectral Lede'. Both name the same files: one download. */
@font-face{font-family:'Spectral Lede';font-style:italic;font-weight:300;font-display:optional;src:url(/v/assets/fonts/spectral-italic-300-rest-0c81faea.0c81faeab3.woff2) format('woff2');unicode-range:U+A1-A8,U+AA-AC,U+AF,U+B3-B6,U+B8-BB,U+BF,U+C1,U+C3-C6,U+CB-CD,U+CF-D3,U+D5-D6,U+D8-DF,U+E1,U+E3-E6,U+EB-ED,U+EF-F3,U+F5-F6,U+F8-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+300-301,U+303-304,U+308-309,U+323,U+2009,U+200B,U+201A,U+201E,U+2044,U+20AC,U+2215;}
@font-face{font-family:'Spectral Lede';font-style:italic;font-weight:300;font-display:optional;src:url(/v/assets/fonts/spectral-italic-300-core-0b94891a.0b94891aa0.woff2) format('woff2');unicode-range:U+0,U+D,U+20-7E,U+A0,U+A9,U+AE,U+B0-B2,U+B7,U+BC-BE,U+C0,U+C2,U+C7-CA,U+CE,U+D4,U+D7,U+E0,U+E2,U+E7-EA,U+EE,U+F4,U+F7,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2032-2033,U+2039-203A,U+2122,U+2191,U+2193,U+2212;}
:root{
  --bg:#EFEDE5; --bg2:#E6E3D7; --card:#FBFAF4; --ink:#26231A; --ink2:#4A4536; --ink3:#67614B;
  --line:rgba(52,47,28,.13); --line2:rgba(52,47,28,.24); --gold:#6B6142; --olive:#544E2E; --fill:#544E2E; --fill-ink:#F7F5EE;
  --chip:#E6E2D5; --ok:#476951; --veil:rgba(239,237,229,.9);
  --shadow:0 1px 2px rgba(40,36,20,.06),0 14px 34px -20px rgba(40,36,20,.38);
  --map-bg:#E8E5DA; --map-land:#F4F2EB; --map-line:rgba(52,47,28,.16); --map-valley:#C9D3BC; --map-town:#EEEBE0; --map-hl:#544E2E; --dot:#A3402E;
  --map-edge:#6B6142; --map-road:#B0873A; --map-hover:#E3DCC4;
  /* the land beyond the drawn outlines (another municipality, the county) in a small map: a shade of the land, never the
     page-dark ground (Oct 12 phone review: thumbnails at the city's edge had black bands and corners) */
  --map-out:color-mix(in srgb,var(--map-land) 62%,var(--map-bg));
  --r:18px; --r2:14px; --serif:Spectral,'Spectral Fallback',Georgia,'Times New Roman',serif; --sans:Jost,'Jost Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pad:var(--col-pad); --ease:cubic-bezier(.2,.8,.2,1); --navh:57px;
  --maxw:var(--col-max); /* the page's one column — the site's (assets/theme.css --col-pad / --col-max, Oct 25): every title, row, grid, table and map shares its edges with the header's logo and the footer */
}
html.sar-dark{
  --bg:#0B0A07; --bg2:#121109; --card:#17160F; --ink:#EFECE3; --ink2:rgba(239,236,227,.78); --ink3:rgba(239,236,227,.6);
  --line:rgba(232,228,214,.10); --line2:rgba(232,228,214,.20); --gold:#CFC4A0; --olive:#B3AA8D; --fill:#C9BE9A; --fill-ink:#0B0A07;
  --chip:#1F1E15; --ok:#A9C79E; --veil:rgba(11,10,7,.86); --shadow:none;
  --map-bg:#0D0C08; --map-land:#1A1912; --map-line:rgba(232,228,214,.13); --map-valley:#1C2619; --map-town:#14130D; --map-hl:#CFC4A0; --dot:#F08A6E;
  --map-edge:#B3AA8D; --map-road:#C9A35A; --map-hover:#2A281C;
}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;}
::view-transition-group(cm-map),::view-transition-group(cm-name){animation-duration:.42s;animation-timing-function:var(--ease);}
@media (prefers-reduced-motion:reduce){*{animation-duration:.001s!important;transition-duration:.001s!important;scroll-behavior:auto!important;}}

*,*::before,*::after{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html{scroll-padding-top:calc(var(--navh) + 64px);}
body.cm{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.55 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
:where(body.cm) img{display:block;max-width:100%;height:auto;}
:where(body.cm) a{color:inherit;}
:where(body.cm) button{font:inherit;color:inherit;}
body.cm :focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px;}
.skip{position:absolute;left:-999px;top:8px;z-index:9999;background:var(--fill);color:var(--fill-ink);padding:10px 14px;border-radius:10px;}
.skip:focus{left:12px;}
body.cm main{display:block;overflow-x:clip;}
body.cm h1,body.cm h2,body.cm h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;margin:0;}
body.cm .eyebrow{font:500 10.5px/1.4 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin:0 0 12px;}
body.cm :where(svg:not(.cm-loc,.cm-map,.mm-svg,.cm-defs)){width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.cm-defs{position:absolute;width:0;height:0;overflow:hidden;}

/* ---- buttons ---- */
body.cm .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 22px;border-radius:999px;border:1px solid transparent;text-decoration:none;cursor:pointer;
  font:500 12px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;transition:transform .3s var(--ease),background .25s,border-color .25s,color .25s;}
body.cm .btn:active{transform:scale(.97);}
body.cm .btn-fill{background:var(--fill);color:var(--fill-ink);}
body.cm .btn-ghost{background:transparent;border-color:var(--line2);color:var(--ink);}
body.cm .btn-ghost:hover{border-color:var(--gold);}
.cm-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}

/* ---- the hub's first screen + plain-words search (the Rohit search, for neighbourhoods) ---- */
.cm-hero{max-width:var(--maxw);margin:0 auto;padding:clamp(26px,5vh,64px) var(--pad) 10px;}
.cm-hero h1{font-weight:300;font-size:clamp(40px,10.5vw,88px);line-height:.98;letter-spacing:-.025em;}
.cm-hero h1 em{font-family:'Spectral Lede','Spectral Fallback',Georgia,serif;font-style:italic;color:var(--gold);}
/* the title's lines are set, not left to the font: the same three lines on a phone (two on a computer) before and after the brand font arrives */
.cm-hero h1 .l{display:block;}
@media (max-width:640px){.cm-hero h1 .l1,.cm-hero h1 em{display:block;}}
.cm-live{display:flex;align-items:flex-start;gap:10px;margin:16px 0 20px;font-size:13.5px;line-height:1.5;color:var(--ink2);}
.cm-live b{color:var(--ink);font-weight:500;}
.pulse{width:8px;height:8px;margin-top:6px;border-radius:50%;background:var(--ok);flex:none;animation:pulse 2.4s infinite;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(120,170,120,.55);}70%{box-shadow:0 0 0 10px rgba(120,170,120,0);}100%{box-shadow:0 0 0 0 rgba(120,170,120,0);}}
/* old data (the page found it at load): the pulse stops; the lead figures say they are not current */
html.cm-stale-data .pulse{background:var(--ink3);animation:none;}
.cm-stale{font-weight:500;color:var(--ink);}
.ask-box{max-width:760px;display:flex;align-items:center;gap:12px;min-height:60px;padding:0 7px 0 18px;border-radius:20px;background:var(--card);border:1px solid var(--line2);box-shadow:var(--shadow);transition:border-color .25s,box-shadow .25s;cursor:text;}
.ask-box:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--gold) 18%,transparent),var(--shadow);}
body.cm .ask-box>svg{color:var(--gold);width:20px;height:20px;}
.ask-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:400 16.5px/1.3 var(--sans);padding:12px 0;-webkit-appearance:none;appearance:none;}
.ask-box input:focus-visible{outline:none;}
.ask-box input::placeholder{color:var(--ink3);opacity:1;}
.ask-box input::-webkit-search-cancel-button{display:none;}
.ask-go{flex:none;width:46px;height:46px;border-radius:14px;border:0;background:var(--fill);color:var(--fill-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;}
.ask-out{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0;max-width:760px;}
.ask-out:empty{display:none;}
.ask-out .got{font-size:12.5px;color:var(--ink3);margin-right:2px;}
.ask-out .res{font-size:13.5px;color:var(--ink2);margin-left:4px;}
.ask-out .res b{color:var(--ink);font-weight:500;}
.ask-out .res a{color:var(--gold);}
.ask-out .note{flex:1 0 100%;font-size:12.5px;color:var(--ink3);margin:2px 0 0;}
.vpill{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 8px 0 13px;border-radius:999px;background:var(--chip);border:1px solid var(--line);font-size:13px;color:var(--ink);cursor:pointer;}
.vpill i{font-style:normal;opacity:.55;font-size:15px;line-height:1;padding:0 3px;}
.vpill.unk{background:transparent;border-style:dashed;color:var(--ink3);}
.ask-try{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;}
@media (max-width:640px){.ask-try .try:nth-child(n+5){display:none;}}
.try{flex:none;min-height:44px;padding:0 15px;border-radius:999px;border:1px solid var(--line2);background:transparent;font-size:13px;color:var(--ink2);cursor:pointer;transition:border-color .2s,color .2s;}
.try:hover{border-color:var(--gold);color:var(--ink);}

/* ---- section headers and rows you swipe ---- */
.sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px;}
.sec-h h2{font-size:clamp(23px,5.6vw,32px);line-height:1.12;}
.sec-h p{margin:5px 0 0;font-size:13px;color:var(--ink3);}
.see{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:44px;border:0;background:transparent;padding:0;color:var(--gold);font:500 12px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;text-decoration:none;}
.see .n{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 6px;border-radius:999px;background:var(--chip);color:var(--ink);letter-spacing:0;}
body.cm .see svg{width:15px;height:15px;}
.cm-map-s,.cm-picks,.cm-all,.cm-rank,.cm-faq,.cm-about,.gs{max-width:var(--maxw);margin:clamp(30px,5.5vh,56px) auto 0;padding:0 var(--pad);}
.rail-wrap{position:relative;margin:0 calc(-1*var(--pad));}
.rail{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);padding:4px var(--pad) 12px;scrollbar-width:none;}
.rail::-webkit-scrollbar{display:none;}
.rail>*{flex:0 0 auto;scroll-snap-align:start;}
/* where a row holds both groups: Edmonton first, then this divider, then the cities and towns (never one list) */
.rail-sep{display:flex;align-items:center;justify-content:center;width:112px;padding:0 10px;border-inline-start:1px solid var(--line2);text-align:center;font:400 17px/1.25 var(--serif);color:var(--ink2);}
/* a computer with a mouse: the row sits inside the column, shows whole cards, arrows on the column's edges (Fadi, Oct 10) */
@media (min-width:1100px) and (hover:hover) and (pointer:fine){
  .rail-wrap{margin:0;}
  .rail{gap:24px;padding-inline:0;scroll-padding-inline:0;}
  .rail>.cm-card--compact,.rail>.lc{width:auto;flex:0 0 calc((100% - 3*24px)/4);}
}
@media (min-width:1680px) and (hover:hover) and (pointer:fine){.rail>.cm-card--compact,.rail>.lc{flex-basis:calc((100% - 4*24px)/5);}}
.rail-nav{display:none;}
@media (hover:hover) and (pointer:fine){
  .rail-nav{position:absolute;top:50%;z-index:5;display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-top:-23px;border-radius:50%;border:1px solid var(--line2);background:var(--veil);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ink);cursor:pointer;box-shadow:0 10px 26px -12px rgba(0,0,0,.5);transition:transform .25s var(--ease);}
  .rail-nav:hover{transform:scale(1.06);}
  .rail-nav.prev{left:-23px;} .rail-nav.next{right:-23px;}
  .rail-nav[hidden]{display:none;}
}
@media (hover:hover) and (pointer:fine) and (max-width:1099px){.rail-nav.prev{left:8px;} .rail-nav.next{right:8px;}}

/* ---- the community card: where (its outline on the region's map), how much, what it is like ---- */
.cm-card{position:relative;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);transition:transform .35s var(--ease),border-color .3s;}
.cm-grid>.cm-card{content-visibility:auto;contain-intrinsic-size:auto 380px;}
@media (hover:hover){.cm-card:hover{transform:translateY(-3px);border-color:var(--line2);}}
.cm-media{position:relative;display:block;aspect-ratio:16/10;background:var(--map-out);overflow:hidden;}
.cm-loc{display:block;width:100%;height:100%;}
#cm-yeg .mh{fill:var(--map-land);stroke:var(--map-line);stroke-width:.8px;vector-effect:non-scaling-stroke;}
#cm-yeg .mv,.cm-map .mv{fill:var(--map-valley);stroke:none;}
#cm-yeg .mt{fill:var(--map-town);stroke:var(--map-line);stroke-width:1.2px;vector-effect:non-scaling-stroke;}
.cm-loc .hl{fill:var(--map-hl);fill-opacity:.82;stroke:var(--map-hl);stroke-width:1.5px;vector-effect:non-scaling-stroke;}
.cm-loc .hl--part{fill-opacity:.35;stroke-dasharray:3 3;}
.cm-loc .pin{fill:var(--map-hl);stroke:var(--card);stroke-width:2px;vector-effect:non-scaling-stroke;}
.cm-area{position:absolute;left:10px;top:10px;font:500 10px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;padding:7px 10px;border-radius:999px;background:var(--veil);color:var(--ink);border:1px solid var(--line);}
.cm-flag{position:absolute;right:10px;top:10px;font:500 10px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;padding:7px 10px;border-radius:999px;background:var(--fill);color:var(--fill-ink);}
.cm-body{flex:1;display:flex;flex-direction:column;gap:5px;padding:14px 16px 16px;}
.cm-name{font:400 25px/1.1 var(--serif);}
.cm-name a{text-decoration:none;}
.cm-name a::after{content:"";position:absolute;inset:0;z-index:1;}
.cm-sub{margin:0;font-size:12.5px;color:var(--ink3);}
.cm-stat{margin:6px 0 0;padding-top:9px;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink2);}
.cm-stat b{font:400 19px/1 var(--serif);color:var(--ink);}
.cm-stat .nw{white-space:nowrap;}
.cm-tags{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:4px 0 0;padding:0;}
.cm-tags li{font-size:12px;line-height:1.3;padding:5px 9px;border-radius:8px;background:var(--chip);color:var(--ink);}
.cm-why{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cm-card--compact{width:min(78vw,300px);}
.cm-card--compact .cm-media{aspect-ratio:16/9;}
.cm-card--compact .cm-why{display:none;}
.cm-card--compact .cm-name{font-size:22px;}
.cm-card.hit .cm-stat{color:var(--ink);}
/* a city card names its own communities (Fadi, Oct 11: they are communities, not cities) */
.cm-cn{margin:6px 0 0;font-size:13px;color:var(--ink2);}
.cm-cn a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px;}
.cm-cn a:hover{color:var(--gold);}
.cm-card--compact .cm-cn{font-size:12.5px;}
/* ---- all communities ---- */
.all-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin-bottom:10px;}
.all-h .count{white-space:nowrap;}
.all-h h2{font-size:clamp(26px,6vw,38px);}
.count{margin:0;font-size:13px;color:var(--ink3);}
.count b{color:var(--ink);font-weight:500;}
.sbar{position:sticky;top:var(--navh);z-index:30;display:flex;align-items:center;gap:8px;margin:0 calc(-1*var(--pad));padding:10px var(--pad);background:var(--veil);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);}
.sb-btn,.sb-sort{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 15px;border-radius:999px;border:1px solid var(--line2);background:var(--card);font-size:13.5px;cursor:pointer;color:var(--ink);}
.sb-sort{flex:1;min-width:0;max-width:300px;}
.sb-sort select{flex:1;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;outline:0;-webkit-appearance:none;appearance:none;cursor:pointer;}
.sb-view{margin-left:auto;padding:0 13px;}
.sb-view span{display:inline-flex;}
.sb-view .v-cards,html.cm-list .sb-view .v-list{display:none;}
html.cm-list .sb-view .v-cards{display:inline-flex;}
.active{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;}
.active:empty{display:none;}
.cm-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px;}
@media (min-width:680px){.cm-grid{grid-template-columns:repeat(2,1fr);gap:20px;}}
@media (min-width:1100px){.cm-grid{grid-template-columns:repeat(3,1fr);gap:24px;}}
@media (min-width:1680px){.cm-grid{grid-template-columns:repeat(4,1fr);}}
.cm-grid.clamp>.cm-card:nth-child(n+25){display:none;}
@media (max-width:640px){.cm-grid.clamp>.cm-card:nth-child(n+13){display:none;}}
.cm-card[hidden]{display:none!important;}
.grid-more{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 0 0;}
.grid-more .btn[hidden]{display:none;}
.cm-empty{margin:26px 0 0;text-align:center;color:var(--ink2);}
.cm-empty a{color:var(--gold);}
/* communities as a compact list (phones start here; the button in the bar switches, and the choice is kept) */
html.cm-list .cm-grid{grid-template-columns:1fr;gap:10px;}
@media (min-width:900px){html.cm-list .cm-grid{grid-template-columns:1fr 1fr;gap:12px 20px;}}
html.cm-list .cm-grid>.cm-card{display:grid;grid-template-columns:clamp(104px,28vw,150px) minmax(0,1fr);border-radius:14px;contain-intrinsic-size:auto 128px;}
html.cm-list .cm-grid .cm-media{aspect-ratio:auto;height:100%;min-height:118px;}
html.cm-list .cm-grid .cm-area,html.cm-list .cm-grid .cm-why,html.cm-list .cm-grid .cm-flag{display:none;}
html.cm-list .cm-grid .cm-body{gap:2px;padding:10px 12px;}
html.cm-list .cm-grid .cm-name{font-size:20px;}
html.cm-list .cm-grid .cm-stat{margin-top:3px;padding-top:5px;font-size:12.5px;}
html.cm-list .cm-grid .cm-stat b{font-size:16px;}
html.cm-list .cm-grid .cm-tags li:nth-child(n+3){display:none;}
html.cm-list .cm-grid .cm-tags li{font-size:11px;padding:3px 7px;}
@media (hover:hover){html.cm-list .cm-grid .cm-card:hover{transform:none;}}

/* ---- Quick picks: one row, tabs that wrap (nothing cut off, nothing dragged) ---- */
.picks-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;}
.picks-tabs [role="tab"]{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 8px 0 14px;border-radius:999px;border:1px solid var(--line2);background:transparent;font-size:13px;color:var(--ink2);cursor:pointer;transition:background .2s,border-color .2s,color .2s;}
.picks-tabs [role="tab"]:hover{border-color:var(--gold);color:var(--ink);}
.picks-tabs [role="tab"] .n{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--chip);color:var(--ink);font-size:11px;}
.picks-tabs [role="tab"][aria-selected="true"]{background:var(--fill);border-color:var(--fill);color:var(--fill-ink);}
.picks-tabs [role="tab"][aria-selected="true"] .n{background:color-mix(in srgb,var(--fill-ink) 20%,transparent);color:var(--fill-ink);}
.pick-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 10px;}
.pick-h h3{font-size:clamp(19px,4.6vw,24px);line-height:1.15;}
.pick-h p{margin:4px 0 0;font-size:13px;color:var(--ink3);}
.cm-pick .rail{min-height:300px;}

/* ---- the map: the metro first (Edmonton's districts and the towns), a district or a town next, a community last (Fadi,
   Oct 10 evening: "drill down instead of one crowded map"). Zooming moves one group (transform) and fades layers (opacity) —
   nothing else is animated, so the phone's compositor does the work; reduced motion jumps. ---- */
.mm{display:grid;gap:16px;}
@media (min-width:900px){.mm{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:28px;align-items:start;}}
.mm-stage{position:relative;border-radius:var(--r);background:var(--map-bg);border:1px solid var(--line);overflow:hidden;}
.mm-bar{position:absolute;left:10px;right:10px;top:10px;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;pointer-events:none;}
.mm-bar>*{pointer-events:auto;}
.mm-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;min-height:44px;padding:0 14px;border-radius:22px;background:var(--veil);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);font-size:13px;color:var(--ink2);}
.mm-crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none;}
.mm-crumbs a:hover{color:var(--gold);}
.mm-cur{font-weight:500;color:var(--ink);}
.mm-sep[hidden],.mm-cur[hidden]{display:none;}
.mm-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px 0 12px;border-radius:999px;border:1px solid var(--line2);background:var(--veil);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--ink);font-size:13px;cursor:pointer;}
.mm-back[hidden]{display:none;}
.mm-fig{margin:0;}
.mm-svg{display:block;width:100%;height:auto;aspect-ratio:63.3/66.4;max-height:min(74vh,720px);margin:0 auto;touch-action:manipulation;}
@media (max-width:640px){.mm-svg{max-height:62vh;}}
.mm-zoom{transform-origin:0 0;transition:transform .75s var(--ease);will-change:transform;}
.mm-detail{opacity:0;transition:opacity .5s ease;pointer-events:none;}
.lv-region .mm-detail,.lv-search .mm-detail{opacity:.9;}
.mm-valley{fill:var(--map-valley);stroke:none;pointer-events:none;}
.mm-edm{fill:none;stroke:var(--map-edge);stroke-width:1.6px;vector-effect:non-scaling-stroke;pointer-events:none;}
.mm-henday{fill:none;stroke:var(--map-road);stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none;opacity:.75;}
.mm-r path{fill:var(--map-land);fill-opacity:.92;stroke:var(--map-edge);stroke-opacity:.45;stroke-width:1px;vector-effect:non-scaling-stroke;fill-rule:evenodd;transition:fill .25s,fill-opacity .4s,stroke-opacity .4s;}
.mm-r{cursor:pointer;transition:opacity .45s ease;}
.mm-r--city path{fill:var(--map-town);stroke-opacity:.7;}
.mm-r:hover path,.mm-r.hi path,.mm-r:focus-visible path{fill:var(--map-hover);}
.mm-r:focus{outline:none;}
.mm-r:focus-visible path{stroke:var(--gold);stroke-opacity:1;stroke-width:2.5px;}
.lv-region .mm-r,.lv-search .mm-r{opacity:.32;}
.lv-region .mm-r.on{opacity:1;}
.lv-region .mm-r.on path{fill-opacity:0;stroke-opacity:.9;stroke-width:2px;}
.mm-c{opacity:0;pointer-events:none;transition:opacity .45s ease;cursor:pointer;}
.mm-c path{fill:var(--map-hl);fill-opacity:.42;stroke:var(--map-hl);stroke-width:1.4px;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill-opacity .2s;}
.mm-c circle{fill:var(--map-hl);stroke:var(--map-bg);stroke-width:2px;vector-effect:non-scaling-stroke;}
.mm-c circle.hit{fill:transparent;stroke:none;pointer-events:all;}   /* a transparent 24 px circle over each pin: the touch target (Batch 3, Oct 25) */
.mm-c--city path{fill-opacity:.12;stroke-dasharray:5 4;}
.mm-c--hood path{fill-opacity:.24;stroke-width:1px;}
.mm-c.in{opacity:1;pointer-events:auto;}
.mm-c:hover path,.mm-c.hi path,.mm-c:focus-visible path{fill-opacity:.75;}
.mm-c.on path{fill-opacity:.9;stroke-width:2.4px;}
.mm-c:focus{outline:none;}
.mm-labels{transition:opacity .25s ease;pointer-events:none;}
.mm-labels.out{opacity:0;}
.mm-labels text{font-family:var(--sans);text-anchor:middle;fill:var(--ink);font-weight:500;paint-order:stroke;stroke:var(--map-bg);stroke-linejoin:round;}
.mm-labels text .s{fill:var(--ink2);font-weight:400;}
.mm-labels text.c{fill:var(--ink);}
.mm-tip{position:absolute;z-index:4;pointer-events:none;max-width:240px;padding:8px 12px;border-radius:12px;background:var(--bg);border:1px solid var(--line2);box-shadow:0 12px 28px -14px rgba(0,0,0,.55);font-size:13px;line-height:1.4;color:var(--ink2);}
.mm-tip b{display:block;color:var(--ink);font:400 16px/1.2 var(--serif);}
.mm-tip[hidden]{display:none;}
/* a community, tapped: a card (a sheet on a phone) with its outline, its numbers and the way into its guide */
.mm-card{position:absolute;left:12px;right:12px;bottom:12px;z-index:5;display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:start;padding:12px;border-radius:18px;background:var(--bg);border:1px solid var(--line2);box-shadow:0 22px 50px -20px rgba(0,0,0,.6);animation:mmUp .35s var(--ease);}
.mm-card[hidden]{display:none;}
@keyframes mmUp{from{transform:translateY(16px);opacity:0;}to{transform:none;opacity:1;}}
@media (min-width:900px){.mm-card{left:auto;width:380px;}}
@media (max-width:640px){.mm-card{position:fixed;left:0;right:0;bottom:0;border-radius:22px 22px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));z-index:70;}}
.mm-card .mm-pic{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--map-out);border:1px solid var(--line);}
.mm-card .mm-pic svg{display:block;width:100%;height:100%;}
.mm-card h3{font:400 24px/1.1 var(--serif);margin:0 36px 2px 0;}
.mm-card .sub{margin:0;font-size:12.5px;color:var(--ink3);}
.mm-card .fig{margin:8px 0 0;font-size:14px;color:var(--ink2);}
.mm-card .fig b{font:400 20px/1 var(--serif);color:var(--ink);}
.mm-card .tg{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:8px 0 0;padding:0;}
.mm-card .tg li{font-size:12px;padding:4px 8px;border-radius:8px;background:var(--chip);}
.mm-card .go{grid-column:1/-1;display:flex;gap:8px;}
.mm-card .go .btn{flex:1;}
.mm-card .x{position:absolute;right:8px;top:8px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line2);background:transparent;color:var(--ink);cursor:pointer;}
/* the same places as a plain list, beside the map (and the map follows it) */
.mm-list{display:grid;gap:18px;align-content:start;}
.mm-gh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin:0 0 8px;font-size:13px;color:var(--ink3);}
.mm-gh b{font:400 20px/1.2 var(--serif);color:var(--ink);}
.mm-items,.mm-sub{list-style:none;margin:0;padding:0;}
.mm-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
@media (min-width:900px){.mm-items{grid-template-columns:1fr;gap:2px;}}
.mm-li{display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:6px 12px;border-radius:12px;border:1px solid var(--line);background:var(--card);text-decoration:none;color:var(--ink);transition:border-color .2s,background .2s;}
@media (min-width:900px){.mm-li{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;border-color:transparent;background:transparent;}}
.mm-li b{font-weight:500;font-size:14px;}
.mm-li span{font-size:12px;color:var(--ink3);white-space:nowrap;}
.mm-li:hover,.mm-li.hi{border-color:var(--gold);background:var(--chip);}
.mm-sub{display:none;}
.mm-d.open{grid-column:1/-1;}
.mm-d.open>.mm-li{border-color:var(--gold);background:var(--chip);}
.mm-d.open>.mm-sub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0 4px;}
@media (min-width:900px){.mm-d.open>.mm-sub{grid-template-columns:1fr;gap:2px;margin:2px 0 6px 12px;}}
.mm-list.focus .mm-d:not(.open){display:none;}
.mm-list.focus .mm-grp:not(:has(.mm-d.open)){display:none;}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.cm-rank-h3{font-size:clamp(19px,4.6vw,23px);margin:34px 0 10px;}
.cm-all--towns .cm-grid{margin-top:10px;}
@media (prefers-reduced-motion:reduce){.mm-zoom,.mm-c,.mm-r,.mm-detail,.mm-labels,.mm-r path{transition:none!important;} .mm-card{animation:none;}}
.mm-fig figcaption,.gh-map figcaption{padding:8px 12px 10px;font-size:11.5px;color:var(--ink3);border-top:1px solid var(--line);}


/* ---- tables (the hub's numbers; a guide's neighbours) ---- */
.tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r2);background:var(--card);}
.cm-tbl{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums;}
.cm-tbl th,.cm-tbl td{padding:11px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:baseline;}
.cm-tbl thead th{font:500 11px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--ink3);background:var(--bg2);white-space:nowrap;}
.cm-tbl thead th button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:4px;min-height:44px;min-width:44px;}
.cm-tbl thead th.num button{justify-content:flex-end;}
#rank thead th{padding-top:0;padding-bottom:0;}
.cm-tbl thead th[aria-sort="ascending"] button::after{content:"↑";}
.cm-tbl thead th[aria-sort="descending"] button::after{content:"↓";}
.cm-tbl .num{text-align:right;white-space:nowrap;}
.cm-tbl th .d a{text-decoration:underline;text-underline-offset:2px;}   /* links inside a sentence are told apart by more than colour (axe link-in-text-block; Oct 25, 2026) */
.cm-tbl tbody th{font-weight:500;}
.cm-tbl tbody th a,.cm-tbl tbody td a{display:inline-flex;align-items:center;min-height:44px;margin:-11px 0;text-decoration:none;color:var(--ink);}
.cm-tbl tbody th,.cm-tbl tbody td{vertical-align:middle;}
.cm-tbl tbody th a:hover,.cm-tbl tbody td a:hover{color:var(--gold);}
.cm-tbl tbody th .d{display:block;font-size:11.5px;font-weight:400;color:var(--ink3);}
@media (max-width:640px){.cm-tbl--near th,.cm-tbl--near td{padding:10px 8px;font-size:13px;} .cm-tbl--near .c-dist{display:none;}}
@media (min-width:641px){.cm-tbl--near tbody th .d{display:none;}}
.cm-tbl tr.me th,.cm-tbl tr.me td{background:var(--chip);}
.cm-tbl tbody tr:last-child th,.cm-tbl tbody tr:last-child td{border-bottom:0;}
#rank tr.more{display:none;}
#rank-wrap.all #rank tr.more{display:table-row;}
@media (max-width:760px){#rank-wrap:not(.cols) .c-area,#rank-wrap:not(.cols) .c-days,#rank-wrap:not(.cols) .c-perm,#rank-wrap:not(.cols) .c-assess,.cm-tbl--near .c-perm{display:none;}}
@media (min-width:761px){#rank-cols{display:none;}}
.tbl-more{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0 0;}
.cm-src{margin:12px 0 0;font-size:11.5px;line-height:1.6;color:var(--ink3);}

/* ---- a guide's header: the name, a dated line of numbers, two actions, and the map ---- */
.gh{max-width:var(--maxw);margin:0 auto;padding:clamp(18px,4vh,46px) var(--pad) 0;display:grid;gap:22px;}
@media (min-width:900px){.gh{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:center;}}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;font-size:12.5px;color:var(--ink3);margin:-10px 0 6px;}
.crumbs a{text-decoration:none;color:inherit;display:inline-flex;align-items:center;min-height:44px;}
.crumbs a:hover{color:var(--gold);}
.gh-h{font-weight:300!important;font-size:clamp(46px,12vw,96px);line-height:.98;letter-spacing:-.025em;view-transition-name:cm-name;}
.gh-h .dot{color:var(--gold);}
.gh-lede{margin:16px 0 0;font:300 italic clamp(18px,4.6vw,22px)/1.5 'Spectral Lede','Spectral Fallback',Georgia,serif;color:var(--ink2);max-width:52ch;}
/* three figures in columns of set widths: the brand font arriving late can never re-wrap them (layout shift, Oct 10) */
.gh-facts{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.32fr) minmax(0,1fr);gap:0 14px;list-style:none;margin:22px 0 0;padding:0;max-width:520px;}
.gh-facts--2{grid-template-columns:minmax(0,.78fr) minmax(0,1.32fr);max-width:360px;}
.gh-facts--1{grid-template-columns:1fr;}
.gh-facts li{display:flex;flex-direction:column;min-width:0;}
.gh-facts b{font:400 clamp(23px,6.6vw,36px)/1.1 var(--serif);white-space:nowrap;}
.gh-facts b.sm{font-size:clamp(20px,5.4vw,30px);}
.gh-facts span{font-size:10px;letter-spacing:.06em;line-height:1.3;text-transform:uppercase;color:var(--ink3);margin-top:3px;}
.gh-sub{margin:12px 0 0;font-size:13px;color:var(--ink3);}
.gh-cta{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;}
.gh-cta .btn{flex:1 1 0;min-width:0;padding:0 16px;white-space:normal;text-align:center;letter-spacing:.1em;}
.gh-cta .btn-fill{flex-grow:1.45;}
@media (min-width:900px){.gh-cta .btn{flex:0 0 auto;}}
.gh-map{margin:0;border-radius:var(--r);background:var(--map-bg);border:1px solid var(--line);overflow:hidden;view-transition-name:cm-map;}
.cm-map{display:block;width:100%;height:auto;aspect-ratio:4/3;background:var(--map-out);}
.cm-map .mh{fill:var(--map-land);stroke:var(--map-line);stroke-width:1px;vector-effect:non-scaling-stroke;}
.cm-map .mt{fill:var(--map-town);stroke:var(--map-line);stroke-width:1.5px;vector-effect:non-scaling-stroke;}
.cm-map .hl{fill:var(--map-hl);fill-opacity:.2;stroke:var(--map-hl);stroke-width:2.5px;vector-effect:non-scaling-stroke;stroke-linejoin:round;}
.cm-map .hl--part{fill-opacity:.1;stroke-dasharray:6 4;}
/* a city guide's own neighbourhoods inside its boundary (St. Albert, Sherwood Park — as the hub's map opens the city, Oct 11) */
.cm-map .hn{fill:var(--map-hl);fill-opacity:.2;stroke:var(--map-hl);stroke-opacity:.6;stroke-width:1px;vector-effect:non-scaling-stroke;stroke-linejoin:round;}
.cm-map .hl--hoods{fill-opacity:0;}
.cm-map .lb text{fill:var(--ink3);text-anchor:middle;font-family:var(--sans);font-weight:500;letter-spacing:.02em;paint-order:stroke;stroke:var(--map-bg);stroke-linejoin:round;}
.cm-map .lb text.lo{fill:var(--ink);font-style:italic;}
/* a home on the map is a <g class="dot"> button: the dot (.pt) and a transparent 24 px hit circle over it (.hit) — Batch 3, Oct 25 */
.cm-map .dots .dot{cursor:pointer;}
.cm-map .dots .pt{fill:var(--dot);stroke:var(--map-land);stroke-width:1.5px;vector-effect:non-scaling-stroke;transition:r .2s;}
.cm-map .dots .hit{fill:transparent;stroke:none;pointer-events:all;}
.cm-map .dots .dot.on .pt{fill:var(--map-hl);}
.cm-map .dots .dot:focus{outline:none;}
.cm-map .dots .dot:focus-visible .pt{fill:var(--map-hl);stroke:currentColor;stroke-width:3px;}   /* keyboard focus on a dot (Oct 11) */
.cm-map .dots .dot.dim{opacity:.25;}

/* sticky section tabs under the header (a long page, quickly) */
.htabs{position:sticky;top:var(--navh);z-index:30;margin:clamp(20px,3.5vh,32px) 0 0;background:var(--veil);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border-bottom:1px solid var(--line);}
.htabs-in{display:flex;flex-wrap:wrap;gap:2px;max-width:var(--maxw);margin:0 auto;padding:0 calc(var(--pad) - 10px);}
/* the tab bar holds still while the page scrolls (Fadi, Oct 12, on his iPhone: "wobbles weirdly and is not smooth"): on a
   touch screen it is solid — a see-through bar with a live blur re-paints on every frame of the scroll and lagged it — and
   its row is a sideways scroller only while its tabs don't fit (.scrolls, measured by the page's script) */
@media (hover:none),(pointer:coarse){.htabs{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;} .htabs:not(.scrolls) .htabs-in{overflow-x:visible;touch-action:pan-y;}}

.htabs a{flex:none;display:inline-flex;align-items:center;min-height:46px;padding:0 10px;border-bottom:2px solid transparent;font-size:13.5px;color:var(--ink3);text-decoration:none;white-space:nowrap;transition:color .2s,border-color .2s;}
.htabs a:hover{color:var(--ink);}
.htabs a[aria-current]{color:var(--ink);border-bottom-color:var(--gold);}
/* a phone: the first tab's word on the page's column and the last one's on its other edge (they sat 8 and 2 px from the
   screen's edges — Oct 12 phone review); where the seven do not fit (under ~420 px) the row scrolls, a fade on its cut edge
   says so and the lit tab is kept in view (communities.js); each tab at least 44 px wide */
@media (max-width:640px){
  .htabs-in{gap:0;padding:0 calc(var(--pad) - 7px);flex-wrap:nowrap;justify-content:space-between;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;}
  .htabs-in::-webkit-scrollbar{display:none;}
  .htabs a{position:relative;min-width:44px;justify-content:center;padding:0 7px;font-size:12.5px;border-bottom:0;}
  .htabs a::after{content:"";position:absolute;left:7px;right:7px;bottom:0;height:2px;border-radius:2px;background:transparent;transition:background .2s;}   /* the lit tab's line under its word, so it too starts on the column */
  .htabs a[aria-current]::after{background:var(--gold);}
  .htabs.more-r .htabs-in{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);}
  .htabs.more-l .htabs-in{-webkit-mask-image:linear-gradient(90deg,transparent,#000 44px);mask-image:linear-gradient(90deg,transparent,#000 44px);}
  .htabs.more-l.more-r .htabs-in{-webkit-mask-image:linear-gradient(90deg,transparent,#000 44px,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,transparent,#000 44px,#000 calc(100% - 44px),transparent);}
}

/* ---- a guide's sections ---- */
.gs .sec-h{border-top:1px solid var(--line);padding-top:clamp(22px,4vh,34px);}
.gs-note{margin:0 0 12px;font-size:13px;color:var(--ink3);max-width:70ch;}
.gs-none{margin:6px 0 0;color:var(--ink2);max-width:60ch;}
.rail>.gs-none{flex:0 1 calc(100vw - 2*var(--pad));white-space:normal;}
.gs-none a{color:var(--gold);}
.gs-more{margin:12px 0 0;font-size:13.5px;}
.gs-more a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--gold);text-decoration:none;font-weight:500;}
.gs-small{font-size:12.5px;color:var(--ink3);}
.gs-scope{margin:0 0 12px;font-size:13px;color:var(--ink3);}
.gs h3{font-size:clamp(19px,4.6vw,23px);margin:34px 0 8px;}
.hf{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;}
.chip{min-height:44px;padding:0 15px;border-radius:999px;border:1px solid var(--line2);background:var(--card);font-size:13.5px;cursor:pointer;color:var(--ink);transition:background .2s,border-color .2s,color .2s;}
.chip[aria-pressed="true"]{background:var(--fill);border-color:var(--fill);color:var(--fill-ink);}
.chip .c{opacity:.65;margin-left:6px;font-size:12px;}
.chip[aria-pressed="true"] .c{opacity:.85;}   /* on the filled chip .65 read 4.3:1 (light); .85 gives 6:1 (Oct 26 contrast gate) */
/* a listing card (MLS® data: the courtesy line on every one) */
.lc{position:relative;display:flex;flex-direction:column;width:min(78vw,300px);background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);}
.rail--homes{min-height:410px;}
.lc-media{position:relative;display:block;aspect-ratio:4/3;background:var(--bg2);}
.lc-media img{width:100%;height:100%;object-fit:cover;}
.lc-badge{position:absolute;left:10px;top:10px;font:500 10px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;padding:7px 10px;border-radius:999px;background:rgba(63,97,70,.92);color:#F4F2EB;}
.lc-badge.ours{background:#F4F2EB;color:#1B1912;}
.lc-body{flex:1;display:flex;flex-direction:column;gap:4px;padding:13px 15px 14px;}
.lc-price{font:400 23px/1 var(--serif);}
.lc-addr{font:500 14.5px/1.3 var(--sans);margin:2px 0 0;}
.lc-addr a{text-decoration:none;}
.lc-addr a::after{content:"";position:absolute;inset:0;z-index:1;}
.lc-sub{margin:0;font-size:12.5px;color:var(--ink3);}
.lc-facts{display:flex;flex-wrap:wrap;gap:3px 11px;margin:4px 0 0;padding-top:8px;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink2);}
.lc-court{margin:auto 0 0;padding-top:8px;font-size:11.5px;line-height:1.4;color:var(--ink3);}
.lc.flash{border-color:var(--gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 35%,transparent);}
.lc--ph{min-height:395px;background:linear-gradient(100deg,var(--card) 40%,var(--bg2) 50%,var(--card) 60%) 0 0/300% 100%;animation:shimmer 1.4s linear infinite;}
@keyframes shimmer{to{background-position:-150% 0;}}
.lc[hidden]{display:none;}
/* the RAE statements wherever MLS® data shows */
.cm-rae{margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--line);}
.cm-rae p{margin:0 0 6px;font-size:10.5px;line-height:1.6;color:var(--ink3);max-width:110ch;}
/* the numbers */
.nums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0;}
@media (min-width:760px){.nums{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (min-width:1100px){.nums{grid-template-columns:repeat(5,minmax(0,1fr));} .nums--city{grid-template-columns:repeat(4,minmax(0,1fr));}}
.nums li{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:var(--r2);background:var(--card);border:1px solid var(--line);}
.nums .l{font:500 10.5px/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3);}
.nums b{font:400 clamp(22px,5.6vw,28px)/1.1 var(--serif);word-break:break-word;}
.nums .s{font-size:12px;line-height:1.4;color:var(--ink3);}
.mix{margin:18px 0 0;}
.mix-bar{display:flex;height:12px;border-radius:999px;overflow:hidden;gap:2px;}
.mix-bar i,.mix-key i{display:block;background:var(--c);}
.mix-key{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;margin:10px 0 0;padding:0;font-size:13px;color:var(--ink2);}
.mix-key li{display:flex;align-items:center;gap:7px;}
.mix-key i{width:10px;height:10px;border-radius:3px;}
.t-H{--c:var(--olive);} .t-T{--c:#7F9474;} .t-C{--c:#C2A46A;} .t-D{--c:#A86E54;} .t-O{--c:#8A8571;}
.hist{margin:22px 0 0;}
.hist-bars{display:flex;align-items:flex-end;gap:4px;height:110px;}
.hist-bars span{flex:1;position:relative;height:100%;display:flex;align-items:flex-end;}
.hist-bars i{display:block;width:100%;height:max(var(--h),2px);border-radius:6px 6px 2px 2px;background:color-mix(in srgb,var(--gold) 70%,transparent);}
.hist-bars em{position:absolute;left:0;right:0;bottom:calc(var(--h) + 4px);text-align:center;font:500 11px/1 var(--sans);font-style:normal;color:var(--ink2);}
.hist-ax{display:flex;gap:4px;margin-top:6px;}
.hist-ax span{flex:1;min-width:0;text-align:center;font-size:10.5px;color:var(--ink3);white-space:nowrap;}
.hist figcaption{margin-top:8px;font-size:12px;color:var(--ink3);}
@media (max-width:480px){.hist-ax span:nth-child(even){visibility:hidden;}}
/* life here */
.prose p{margin:0 0 14px;font:300 17px/1.75 var(--serif);color:var(--ink2);max-width:66ch;}
.prose.clamp{max-height:15.5em;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent);mask-image:linear-gradient(180deg,#000 62%,transparent);}
.more-btn{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--gold);font:500 12px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;}
.more-btn[hidden]{display:none;}
.kv{display:grid;gap:0;margin:18px 0 0;border-top:1px solid var(--line);}
@media (min-width:900px){.kv{grid-template-columns:1fr 1fr;column-gap:32px;}}
.kv>div{padding:12px 0;border-bottom:1px solid var(--line);}
.kv dt{font:500 10.5px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink3);margin-bottom:5px;}
.kv dd{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink);}
.cm-tags--lg{margin-top:16px;}
.cm-tags--lg li{font-size:13px;padding:7px 11px;}
.nvr,.cm-faq details{border-bottom:1px solid var(--line);}
.nvr{margin-top:14px;border-top:1px solid var(--line);}
.nvr summary,.cm-faq summary{cursor:pointer;list-style:none;padding:15px 34px 15px 0;position:relative;font:400 18px/1.35 var(--serif);color:var(--ink);min-height:44px;}
.nvr summary::-webkit-details-marker,.cm-faq summary::-webkit-details-marker{display:none;}
.nvr summary::after,.cm-faq summary::after{content:"+";position:absolute;right:4px;top:12px;font:300 24px/1 var(--sans);color:var(--gold);transition:transform .3s var(--ease);}
.nvr[open] summary::after,.cm-faq details[open] summary::after{transform:rotate(45deg);}
.nvr p,.cm-faq details p{margin:0 0 16px;color:var(--ink2);max-width:70ch;line-height:1.65;}
.cm-faq h2{font-size:clamp(23px,5.6vw,32px);margin-bottom:10px;}
.gs.cm-faq h2{border-top:1px solid var(--line);padding-top:clamp(22px,4vh,34px);}
/* schools */
.sch{list-style:none;margin:0;padding:0;display:grid;gap:0;}
@media (min-width:900px){.sch{grid-template-columns:1fr 1fr;column-gap:32px;}}
.sch li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line);font-size:14.5px;line-height:1.55;}
body.cm .sch li svg{color:var(--gold);margin-top:2px;}
.sch-links{margin:14px 0 0;font-size:13px;color:var(--ink3);}
.sch-links a{color:var(--gold);}
/* builders: Rohit's own rendering, captioned */
.gs-in>p{max-width:70ch;line-height:1.65;}
.rh-card{position:relative;display:block;max-width:640px;margin:16px 0 0;border-radius:var(--r);overflow:hidden;background:#15140E;isolation:isolate;text-decoration:none;aspect-ratio:16/9;}
.rh-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease);}
.rh-card:hover img{transform:scale(1.03);}
.rh-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.82));}
.rh-in{position:absolute;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;gap:3px;padding:18px;color:#F4F2EB;}
.rh-in .rh-e{font:500 10px/1.3 var(--sans);letter-spacing:.2em;text-transform:uppercase;opacity:.85;}
.rh-in b{font:400 26px/1.1 var(--serif);}
.rh-in>span{font-size:13px;opacity:.9;}   /* (not "span": the count inside the title is a dated span too — "17 Rohit homes" was 13 px beside a 26 px "in Keswick", Oct 12) */
.rh-in .rh-go{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font:500 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:#E9DFC0;opacity:1;}
.rh-cap{margin:6px 0 0;font-size:11.5px;color:var(--ink3);}
/* Fadi */
.cm-fadi{display:flex;gap:18px;align-items:center;max-width:var(--maxw);margin:clamp(34px,6vh,64px) auto 0;padding:22px var(--pad);}
.cm-fadi img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none;}
.cm-fadi h2{font-size:26px;}
.cm-fadi p{margin:6px 0 0;color:var(--ink2);max-width:56ch;}
@media (max-width:560px){.cm-fadi{flex-direction:column;align-items:flex-start;}}
.cm-fadi .byline{margin:10px 0 0;font-size:12.5px;letter-spacing:.02em;color:var(--ink3);}   /* "Reviewed by Fadi Georgi, REALTOR® · <date>" (Oct 25, 2026) */
.cm-fadi .byline a{color:inherit;text-decoration:underline;text-underline-offset:3px;}
.datanote{margin:0;padding:18px 0 0;font-size:11.5px;line-height:1.7;color:var(--ink3);border-top:1px solid var(--line);}
.datanote b{color:var(--ink2);font-weight:500;}
.cm-about{margin-bottom:clamp(30px,5vh,50px);}

/* "Jump to": one small button — a ring shows how far down you are; a tap lists the sections (from the Rohit pages) */
.jump{position:fixed;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:55;display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border-radius:50%;border:1px solid var(--line2);
  background:var(--veil);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:var(--ink);cursor:pointer;box-shadow:0 12px 28px -14px rgba(0,0,0,.55);opacity:0;transform:translateY(12px) scale(.92);pointer-events:none;transition:opacity .25s,transform .3s var(--ease);}
body.cm-guide .jump{bottom:calc(66px + env(safe-area-inset-bottom));} /* clear of the site's quick-contact bar on phones */
.jump.on{opacity:1;transform:none;pointer-events:auto;}
body.cm .jump .ring{position:absolute;inset:-1px;width:52px;height:52px;transform:rotate(-90deg);}
.jump .ring circle{fill:none;stroke-width:2.5;}
.jump .ring .track{stroke:var(--line);}
.jump .ring .prog{stroke:var(--gold);stroke-linecap:round;}
body.cm .jump .ico{width:20px;height:20px;}
.jump-menu{position:fixed;right:14px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:56;min-width:220px;max-width:calc(100vw - 28px);max-height:62vh;overflow-y:auto;padding:8px;border-radius:18px;background:var(--bg);border:1px solid var(--line2);box-shadow:0 24px 60px -20px rgba(0,0,0,.6);}
body.cm-guide .jump-menu{bottom:calc(128px + env(safe-area-inset-bottom));}
.jump-menu[hidden]{display:none;}
.jump-menu p{margin:6px 12px 4px;font:500 10.5px/1.3 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--ink3);}
.jump-menu a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 12px;border-radius:12px;color:var(--ink);font-size:15px;text-decoration:none;}
.jump-menu a:hover,.jump-menu a:focus-visible{background:var(--chip);}
.jump-menu a[aria-current]{color:var(--gold);}
@media (min-width:901px){.jump,body.cm-guide .jump{right:28px;bottom:28px;} .jump-menu,body.cm-guide .jump-menu{right:28px;bottom:90px;}}
.cm-toast{position:fixed;left:50%;bottom:calc(140px + env(safe-area-inset-bottom));transform:translate(-50%,20px);z-index:3000;padding:12px 18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13.5px;opacity:0;pointer-events:none;transition:opacity .25s,transform .35s var(--ease);white-space:nowrap;}
.cm-toast.on{opacity:1;transform:translate(-50%,0);}
@media (min-width:901px){.cm-toast{bottom:30px;}}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal.in{opacity:1;transform:none;}

/* the site's light theme (theme.css) paints every field beige, every paragraph and heading one ink, and the old guide cards;
   on these pages the fields, the text on photos and the cards follow our tokens */
html:not(.sar-dark) body.cm{background:var(--bg)!important;color:var(--ink)!important;}
html:not(.sar-dark) body.cm .ask-box input,html:not(.sar-dark) body.cm .sb-sort select{background-color:transparent!important;color:var(--ink)!important;border-color:transparent!important;}
html:not(.sar-dark) body.cm .lc{background:var(--card)!important;border-color:var(--line)!important;}
html:not(.sar-dark) body.cm .rh-in,html:not(.sar-dark) body.cm .rh-in b,html:not(.sar-dark) body.cm .rh-in span{color:#F4F2EB!important;}
html:not(.sar-dark) body.cm .rh-in .rh-go{color:#E9DFC0!important;}
html:not(.sar-dark) body.cm .gh-lede{color:var(--ink2)!important;}
html:not(.sar-dark) body.cm .ghost{color:var(--ink)!important;border-color:var(--line2)!important;}

/* the site header (assets/site-nav.js, deferred) takes the .nh-slot's place: the page keeps its room from the first paint —
   the slot's height is theme.css's (the header's own measured step: 57 / 58 px, t-222; it was a fixed 63 here) */

/* ===== the phone review (Oct 12, 2026: iPhone screenshots of the live pages, measured in Chromium and WebKit at 375, 390 and
   440 px). Phone rules stay on phones: the computer view is as it was, but for two things that look the same there — the
   small maps' ground (--map-out, above) and "Cambrian" / "Chérot" on a city's card, which could not be tapped or clicked
   (the card's own link lay over them). ===== */
.eb i{font-style:normal;}
body.cm .nw{white-space:nowrap;}   /* a grade range ("K–9") never splits at its dash (pages.mjs keep) */
.cm-cn a{position:relative;z-index:2;}
.cm-cn a::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%);}   /* a 44 px touch ring; the words don't move */
.tbl-cue{display:none;margin:6px 2px 0;text-align:right;font-size:12px;line-height:1.4;color:var(--ink3);}
.tbl-wrap.scrolls+.tbl-cue{display:block;}
.tbl-wrap.more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),rgba(0,0,0,.18));mask-image:linear-gradient(90deg,#000 calc(100% - 44px),rgba(0,0,0,.18));}
/* one rule where two met: under the section tabs, after "New build or resale here?", after the questions (guides and hub) —
   on a computer too (Fadi, Oct 12: "Yes to all" — the computer view gets the same fix as the phone) */
.htabs+.gs{margin-top:6px;} .htabs+.gs>.sec-h{border-top:0;}
.gs:has(>.gs-in>.nvr:last-child)+.gs,.gs.cm-faq+.gs{margin-top:0;}
.gs:has(>.gs-in>.nvr:last-child)+.gs>.sec-h,.gs.cm-faq+.gs>.sec-h{border-top:0;}
.cm-faq+.cm-about .datanote{border-top:0;}
@media (max-width:899px){
  /* a line of parts with dots between them (a guide's eyebrow, its date-and-tags line): each part wraps as one piece, and a
     dot that would start a line falls in a clipped strip left of the column — no line ends or starts on a lone "·" (the
     eyebrow ended "SW EDMONTON ·" over a lone "WINDERMERE") */
  body.cm .eb{margin-left:-1.3em;clip-path:inset(-1em -1em -1em 1.3em);text-wrap:balance;}
  .eb>span{display:inline-block;max-width:calc(100% - 1.3em);margin-left:1.3em;position:relative;}
  .eb i{position:absolute;right:100%;top:0;width:1.3em;text-align:center;letter-spacing:0;}
  /* the sort menu answers a tap anywhere on its 44 px pill (the menu itself was 21 px tall inside it) */
  .sb-sort select{align-self:stretch;}
  /* Quick picks and the search's ideas: each row of pills fills the column (a lone "Builder partners" or "French
     immersion" sat at the start of a row of its own) */
  .picks-tabs [role="tab"],.ask-try .try{flex:1 1 auto;justify-content:center;}
  /* a guide's filter chips: one row that moves under the finger like the homes below it, its cut edge fading (a lone
     "New builds 10" sat on a second row) */
  .hf{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 calc(-1*var(--pad)) 12px;padding:0 var(--pad);}
  .hf::-webkit-scrollbar{display:none;}
  .hf>.chip{flex:none;}
  .hf.more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);}
  .hf.more-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 48px);mask-image:linear-gradient(90deg,transparent,#000 48px);}
  .hf.more-l.more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent);}
  /* one rule between sections: the tab bar's own border is the first section's; a section after a list closed by its own
     line ("New build or resale here?", the questions) starts under that line — no second rule ~50 px below the first */
}
@media (max-width:759px){
  /* the figures: an odd last tile takes the whole row (a lone "Newest listing" sat in half a row) */
  .nums>li:last-child:nth-child(odd){grid-column:1/-1;}
}
@media (max-width:640px){
  /* a builder's card: a taller photo, so its words sit on the shaded lower part, not over a bright house front */
  .rh-card{aspect-ratio:4/3;}
  .rh-card::after{background:linear-gradient(180deg,rgba(0,0,0,0) 22%,rgba(0,0,0,.5) 48%,rgba(0,0,0,.86));}
  .rh-in time{white-space:nowrap;}   /* "Oct 10" stays together */
}
@media (max-width:640px){
  /* the tables fit a phone: their headings wrap ("New builds / for sale") instead of pushing the last column off the
     screen ("NEW BUI…"); a community in a nearby city names its city under its own name. Wider than the screen all the
     same (more columns, a narrow phone): the fade and "Swipe →" above */
  .cm-tbl thead th,.cm-tbl thead th.num{white-space:normal;vertical-align:bottom;}
  .cm-tbl:not(.cm-tbl--near) th,.cm-tbl:not(.cm-tbl--near) td{padding-left:10px;padding-right:10px;}
  .cm-tbl .c-city{display:none;}
}
@media (min-width:641px){.cm-tbl tbody th .c-city-d{display:none;}}
@media (max-width:599px){
  /* a guide's sticky section tabs already jump around the page, so its round "Jump to" stays off a phone there — it sat
     over the text, the tables' headings and the bottom bar (as on the Rohit home pages). The hub keeps it. */
  body.cm-guide .jump,body.cm-guide .jump-menu{display:none!important;}
}
