/* Styles for the per-home, per-plan and neighborhood pages. Same tokens and type as the main page. */
:root{--brand:#007696;--brand-deep:#005c75;--brand-tint:#e0f3f7;--brand-soft:#b3dfe9;--ink:#10242b;--muted:#5a6d74;--faint:#5a6d74;--bg:#f3f6f7;--card:#fff;--line:#dce5e8;--line-strong:#c1cfd4;--like:#e24a6c;--like-deep:#c53256;--like-tint:#fdebf0;--display:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif; --logo:"Shrikhand",Georgia,serif;--sans:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}
h1,h2,h3{margin:0;line-height:1.1;text-wrap:balance}
h1{font-family:var(--display);font-weight:800;font-size:clamp(32px,4.6vw,52px);letter-spacing:-.035em}
h2{font-family:var(--display);font-weight:800;font-size:clamp(26px,3vw,34px);letter-spacing:-.03em}
h3{font-size:18px;font-weight:700}
p{margin:0 0 1em}
.muted{color:var(--muted)}
.skip{position:absolute;left:16px;top:-60px;z-index:50;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;font-weight:700}
.skip:focus{top:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:999px;border:1.5px solid var(--brand);background:var(--brand);color:#fff;font-weight:700;font-size:16px;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--brand-deep);border-color:var(--brand-deep)}
.btn.ghost{background:#fff;color:var(--brand)}
.btn.ghost:hover{background:var(--brand-tint)}
.btn.like{background:var(--like-deep);border-color:var(--like-deep)}
.btn.like:hover{background:#a62646;border-color:#a62646}
.btn.small{min-height:38px;padding:0 14px;font-size:15px}
.bar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:12px}
.logo img{height:44px;width:auto}
@media (max-width:640px){.bar .wrap{height:60px}}
@media (max-width:380px){.bar .btn.small{padding:0 10px;font-size:14px}}
.crumbs{font-size:14px;color:var(--muted);padding:18px 0 0}
.crumbs ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.crumbs li+li::before{content:"›";margin-right:6px}
.crumbs a{color:var(--muted)}
.head{padding:14px 0 18px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:flex-end}
.head .sub{color:var(--muted);margin-top:8px;font-size:16px}
.pricerow{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.price{font-size:30px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.was{color:var(--muted);text-decoration:line-through;font-size:16px}
.pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;font-size:13px;font-weight:700;background:var(--brand-tint);color:var(--brand-deep)}
.pill.drop{background:var(--like-tint);color:var(--like-deep)}
.pill.new{background:var(--like-deep);color:#fff}
.pill.match{background:var(--brand);color:#fff}
.pills{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 18px}
.gal{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:6px;border-radius:18px;overflow:hidden;aspect-ratio:16/7;background:var(--brand-tint)}
.gal img{width:100%;height:100%;min-height:0;min-width:0;object-fit:cover}
.gal img:first-child{grid-row:1/3}
.gal.few{grid-template-columns:1fr;grid-template-rows:1fr;aspect-ratio:16/9}
@media (max-width:700px){.gal{grid-template-columns:1fr 1fr;grid-template-rows:auto;aspect-ratio:auto}.gal img{aspect-ratio:4/3;height:auto}.gal img:first-child{grid-row:auto;grid-column:1/3}}
.cols{display:grid;grid-template-columns:1.4fr 1fr;gap:36px;padding:24px 0 48px}
@media (max-width:860px){.cols{grid-template-columns:1fr;gap:24px}}
.intro{font-size:18px;color:var(--ink)}
.prompts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}
@media (max-width:560px){.prompts{grid-template-columns:1fr}}
.prompt{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.prompt .q{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.02em;margin-bottom:4px}
.prompt .a{font-family:var(--display);letter-spacing:-.01em;font-size:19px;line-height:1.3;font-weight:600}
h2.sec{margin:26px 0 10px;font-size:24px}
.fpimg{border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff}
.fpimg img{max-height:560px;margin:0 auto;object-fit:contain}
.side{display:flex;flex-direction:column;gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 18px 20px}
.card h2.h3{font-family:var(--sans);font-variation-settings:normal;font-size:18px;font-weight:700;margin-bottom:8px}
.facts{list-style:none;padding:0;margin:4px 0 0;font-size:14px;border-top:1px solid var(--line)}
.facts li{display:grid;grid-template-columns:86px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid var(--line)}
.facts li span:first-child{color:var(--muted)}
.facts li[hidden]{display:none}
.ctas{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.field{margin-bottom:12px}
.field label{display:block;font-weight:600;font-size:14px;margin-bottom:5px}
input[type=text],input[type=email],input[type=tel],textarea{width:100%;font:inherit;font-size:16px;padding:11px 12px;border:1.5px solid var(--line-strong);border-radius:10px;background:#fff;color:var(--ink)}
textarea{min-height:80px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.status{margin-top:8px;font-weight:600;min-height:1.4em}
.status.err{color:#b4253e}
.tel{font-size:22px;font-weight:800;text-decoration:none;border-bottom:3px solid var(--brand-soft)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.tile{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(16,36,43,.06);border:1px solid var(--line);display:flex;flex-direction:column;position:relative}
.tile .ph{position:relative;aspect-ratio:4/3;background:var(--brand-tint)}
.tile .ph img{width:100%;height:100%;object-fit:cover}
.tile .ph .pill{position:absolute;top:10px;left:10px}
.tile .ph .pill.drop{left:auto;right:10px}
.tile .ph .pill.new{left:auto;right:10px}
.tile .ph .pill.new+.pill.drop{top:44px}
.tile .ph .pill.match+.pill.new{left:auto}
.tile .heartbtn{display:none}
.tile .tb{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}
.tile .nm{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.tile .nm b{font-family:var(--display);font-weight:800;font-size:21px}
.tile .nm a{color:inherit;text-decoration:none}
.tile .nm a:hover{text-decoration:underline;text-underline-offset:3px}
.tile .nm .price{font-size:17px}
.tile .sub{font-size:13.5px;color:var(--muted)}
.specs{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:3px 10px}
.specs b{color:var(--ink);font-weight:600}
.tile .open{margin-top:auto;align-self:flex-start;padding:4px 0 0;font-weight:700;color:var(--brand);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
section.more{padding:8px 0 48px}
section.more h2{margin-bottom:14px}
.hero-pics{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:6px;aspect-ratio:16/7;border-radius:18px;overflow:hidden}
.hero-pics img{width:100%;height:100%;min-height:0;min-width:0;object-fit:cover}
.hero-pics img:first-child{grid-row:1/3}
.hero-pics.one{grid-template-columns:1fr;grid-template-rows:1fr}
@media (max-width:700px){.hero-pics{aspect-ratio:16/9;grid-template-columns:1fr;grid-template-rows:1fr}.hero-pics img:not(:first-child){display:none}}
footer{padding:36px 0 48px;font-size:13.5px;color:var(--muted);border-top:1px solid var(--line)}
footer .wrap{display:grid;gap:10px}
footer p{margin:0;max-width:72em}
footer img{height:30px;width:auto}
.fine{font-size:13px;color:var(--faint)}

.btn.quiet{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.btn.quiet:hover{background:#fff}
dialog{border:0;border-radius:22px;padding:0;background:#fff;color:var(--ink);max-width:520px;width:calc(100% - 28px);box-shadow:0 30px 80px rgba(0,0,0,.35)}
dialog::backdrop{background:rgba(8,20,25,.62)}
dialog .x{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:24px;line-height:1;cursor:pointer;z-index:3;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.sharedlg .pb{padding:22px 24px 24px}
.sharedlg .t{font-family:var(--display);font-weight:800;font-size:28px;margin-bottom:4px}
.sharedlg .what{color:var(--muted);margin:0 0 14px;font-size:15px}
.linkrow{display:flex;gap:8px}
.linkrow input{flex:1;min-width:0}
.ways{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

/* Smitten wordmark (type, not an image) */
.wordmark{font-family:var(--logo);font-weight:400;letter-spacing:0;color:var(--brand);text-decoration:none;font-size:26px;line-height:1;display:inline-flex;gap:2px}
.wordmark .hm{font-family:var(--sans);font-weight:700;color:var(--like);font-size:18px;transform:translateY(-6px)}
footer .wordmark{font-size:22px}
.tile .nm b,.sharedlg .t{letter-spacing:-.025em}
@media (max-width:640px){.bar .wordmark{font-size:23px}}
.h1share{display:flex;align-items:center;gap:10px}
.sharebtn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;color:var(--brand,#007696);cursor:pointer}
.sharebtn svg{width:26px;height:26px}
.sharebtn:hover{background:rgba(0,118,150,.08)}
.sharebtn:focus-visible{outline:2px solid var(--brand,#007696);outline-offset:2px}
