/* ADU Builder Select theme. Tokens sampled from the approved mockup PNG (Nov 18, 2026). */
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url(../fonts/source-serif-4-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url(../fonts/source-serif-4-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --bg:#ffffff;
  --surface:#f7f7f5;          /* trust strip, footer */
  --tile:#f2f3ee;             /* category tiles */
  --ink:#212626;              /* headings */
  --body:#59605c;             /* body copy */
  --muted:#656b67;            /* 1.0.14: darker for 4.5:1 text contrast (was #7b817d) */
  --line:#e3e8e3;
  --accent:#3a5445;           /* buttons, pins (sampled) */
  --accent-hover:#2e4537;
  --accent-deep:#36483f;      /* CTA band (sampled) */
  --sage:#e2e9da;             /* step circles (sampled) */
  --pill:#eeefed;
  --star:#eba223;
  --shadow:0 8px 24px rgba(25,40,35,.08);
  --shadow-sm:0 2px 10px rgba(25,40,35,.06);
  --radius:12px;
  --radius-btn:8px;
  --serif:"Source Serif 4","Libre Baskerville",Georgia,serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --wrap:1272px;
  --gutter:48px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--body);font-family:var(--sans);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
h1,h2,h3{color:var(--ink);margin:0}
.serif{font-family:var(--serif)}
.wrap{max-width:calc(var(--wrap) + var(--gutter)*2);margin:0 auto;padding:0 var(--gutter)}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:12px;top:-60px;background:var(--accent);color:#fff;padding:10px 14px;border-radius:8px;z-index:100}
.skip:focus{top:12px}

.eyebrow{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin:0 0 10px}
.h2{font-family:var(--serif);font-weight:600;font-size:30px;line-height:1.12;letter-spacing:-.005em}
.lede{font-size:14px;color:var(--body);margin:10px 0 0;max-width:34ch}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:var(--radius-btn);font-size:14px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;white-space:nowrap}
.btn .icon{width:16px;height:16px;stroke-width:2}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover)}
.btn-outline{background:#fff;color:var(--ink);border-color:#cfd5cf}
.btn-outline:hover{border-color:var(--ink)}
.btn-white{background:#fff;color:var(--ink)}
.btn-white:hover{background:#f1f3ef}
.btn-sm{min-height:36px;padding:0 16px;font-size:13px}
.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed}

/* A. Header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}
.site-header .wrap{display:flex;align-items:center;height:68px;max-width:1260px}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-family:var(--serif);font-weight:600;font-size:27px;color:var(--ink);letter-spacing:-.01em}
.brand svg{width:42px;height:32px;stroke:var(--ink);stroke-width:1.6;fill:none;stroke-linejoin:round;stroke-linecap:round}
.nav{display:flex;gap:44px;margin:0 auto;padding-left:24px}
.nav a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--ink);min-height:44px}
.nav a .icon{width:14px;height:14px;stroke-width:2}
.nav a:hover{color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:22px}
.login{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:500;color:var(--ink);min-height:44px}
.login .icon{width:18px;height:18px}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer}

/* B. Hero */
.hero{position:relative;background:#f7f5f2;overflow:hidden}
.hero-photo{position:absolute;inset:0 0 0 auto;width:62%;background:url(/wp-content/uploads/2026/11/adu-hero-white-unit-glass-doors-1536x1024.jpg) 56% 18%/cover no-repeat}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7f5f2 0%,rgba(247,245,242,.85) 14%,rgba(247,245,242,0) 42%)}
.hero .wrap{position:relative;padding-top:38px;padding-bottom:40px;min-height:430px;display:flex;flex-direction:column}
.hero-copy{padding-left:48px;max-width:760px}
.hero h1{font-family:var(--serif);font-weight:600;font-size:54px;line-height:1.04;letter-spacing:-.012em;margin:4px 0 14px}
.hero p.sub{font-size:16.5px;line-height:1.5;color:#4d5450;margin:0;max-width:46ch}
.search{margin:32px 0 0 48px;display:flex;align-items:center;gap:0;background:#fff;border-radius:10px;box-shadow:0 10px 30px rgba(25,40,35,.12);padding:10px 10px 10px 8px;max-width:690px}
.field{flex:1;display:flex;align-items:center;gap:12px;padding:4px 14px;position:relative;min-width:0}
.field + .field{border-left:1px solid var(--line)}
.field .icon{color:var(--ink);width:19px;height:19px}
.field label{display:block;font-size:12.5px;font-weight:600;color:var(--ink);line-height:1.2}
.field input,.field select{display:block;width:100%;border:0;padding:2px 0 0;background:transparent;font-size:12px;color:var(--muted);outline:none;appearance:none;-webkit-appearance:none;line-height:1.3}
.field input::placeholder{color:var(--muted)}
.field .chev{color:var(--ink);width:16px;height:16px;stroke-width:2}
.field:focus-within{box-shadow:inset 0 0 0 2px var(--accent);border-radius:8px}
.search .btn{min-height:46px;padding:0 22px;font-size:13.5px;margin-left:8px}

/* C. Trust strip */
.trust{background:var(--surface);border-top:1px solid #efefec;border-bottom:1px solid #efefec}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding-top:16px;padding-bottom:16px}
.trust-item{display:flex;align-items:center;gap:14px;justify-content:center;padding:4px 16px}
.trust-item + .trust-item{border-left:1px solid #dfe3df}
.trust-item .icon{width:30px;height:30px;stroke-width:1.5;color:var(--ink)}
.trust-item strong{display:block;font-size:15px;font-weight:700;color:var(--ink);line-height:1.25}
.trust-item span{font-size:12px;color:var(--body)}

/* D. Categories */
.section{padding:36px 0}
.cats .wrap{display:grid;grid-template-columns:330px 1fr;gap:36px;align-items:center}
.cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px}
.cat{background:var(--tile);border-radius:var(--radius);padding:20px 12px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;min-height:142px;transition:box-shadow .15s,transform .15s;border:1px solid transparent}
.cat:hover{box-shadow:var(--shadow);border-color:var(--line)}
.cat .icon{width:30px;height:30px;stroke-width:1.5;color:var(--ink);margin-bottom:8px}
.cat h3{font-family:var(--sans);font-size:14.5px;font-weight:700;margin-bottom:4px}
.cat p{font-size:12px;line-height:1.35;color:var(--body);margin:0 0 10px}
.cat .arrow{margin-top:auto;width:15px;height:15px;flex:none;stroke-width:2;color:var(--ink)}

/* E. Featured */
.featured .wrap{display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:center}
.featured .lede{max-width:24ch}
.featured .btn{margin-top:18px}
.card-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);display:grid;grid-template-columns:41% 1fr;gap:16px;padding:8px}
.lcard .ph{position:relative}.lcard .ph .sample{position:absolute;left:8px;top:8px}.lcard img{width:100%;height:100%;min-height:150px;object-fit:cover;border-radius:6px}
.lcard .body{padding:6px 4px 6px 0;display:flex;flex-direction:column;gap:7px}
.lcard h3{font-family:var(--sans);font-size:14.5px;font-weight:700;line-height:1.25;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sample{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a5a12;background:#fbf1dc;border-radius:4px;padding:2px 6px}
.meta{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--body)}
.meta .icon{width:14px;height:14px;color:var(--ink)}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{background:var(--pill);border-radius:6px;font-size:10.5px;font-weight:500;color:#5b605d;padding:4px 7px;white-space:nowrap}
.tags{flex-wrap:nowrap}
.lcard .btn{align-self:flex-start;margin-top:2px}

/* F. Map + steps */
.discover .wrap{display:grid;grid-template-columns:275px minmax(0,1fr) 360px;gap:30px;align-items:start}
.map-combo{display:grid;grid-template-columns:1fr 210px;gap:10px}
.map{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);min-height:186px;background:#eef0ea}
.map svg.streets{position:absolute;inset:0;width:100%;height:100%}
.pin{position:absolute;width:20px;height:26px;transform:translate(-50%,-100%);color:var(--accent)}
.pin svg{width:100%;height:100%;fill:currentColor;stroke:#fff;stroke-width:1.2}
.callout{position:absolute;left:41%;top:12%;background:#fff;border-radius:9px;box-shadow:var(--shadow);padding:7px 12px 7px 7px;display:flex;gap:9px;align-items:center;font-size:11.5px;max-width:200px}
.callout img{width:36px;height:30px;object-fit:cover;border-radius:5px}
.callout strong{display:block;color:var(--ink);font-size:11.5px}
.zoom{position:absolute;right:10px;bottom:10px;display:flex;flex-direction:column;background:#fff;border-radius:8px;box-shadow:var(--shadow-sm);overflow:hidden}
.zoom button{width:30px;height:30px;border:0;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.zoom button + button{border-top:1px solid var(--line)}
.zoom .icon{width:15px;height:15px;stroke-width:2}
.nearby{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px 10px 6px}
.nearby h3{font-family:var(--sans);font-size:13px;font-weight:700;margin:0 4px 8px}
.nearby a{display:grid;grid-template-columns:44px 1fr 14px;gap:10px;align-items:center;padding:7px 4px;border-top:1px solid #f0f2ef;min-height:44px}
.nearby a:hover{background:#fafbf9}
.nearby img{width:44px;height:30px;object-fit:cover;border-radius:4px}
.nearby strong{display:block;font-size:11.5px;color:var(--ink);line-height:1.2}
.nearby span{font-size:10.5px;color:var(--muted)}
.nearby .icon{width:14px;height:14px;stroke-width:2;color:var(--ink)}
.steps{border-left:1px solid var(--line);padding-left:30px}
.steps .h2{font-size:24px;margin-bottom:18px}
.discover .h2#map-title{font-size:28px}
.step-row{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr;gap:6px;align-items:start}
.step{text-align:left}
.step .circle{width:42px;height:42px;border-radius:50%;background:var(--sage);display:flex;align-items:center;justify-content:center;margin:0 0 10px 18px}
.step .circle .icon{width:20px;height:20px;color:var(--accent);stroke-width:1.9}
.step h3{font-family:var(--sans);font-size:13px;font-weight:700;margin-bottom:3px}
.step p{font-size:11.5px;line-height:1.4;margin:0}
.step-arrow{margin-top:12px;width:16px;height:16px;color:var(--ink);stroke-width:2}

/* G. Before you hire (replaces testimonials) */
.proof .wrap{display:grid;grid-template-columns:265px 1fr;gap:28px;align-items:center}
.proof-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:16px 20px 18px}
.pcard header{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.pcard .avatar{width:40px;height:40px;border-radius:50%;background:var(--sage);display:flex;align-items:center;justify-content:center;flex:none}
.pcard .avatar .icon{width:20px;height:20px;color:var(--accent)}
.pcard strong{display:block;font-size:13px;color:var(--ink)}
.pcard header span{font-size:11.5px;color:var(--muted)}
.pcard p{font-size:12.5px;line-height:1.5;margin:0;color:#4d5450}

/* H. CTA */
.cta-wrap{padding:22px 0 14px}
.cta{position:relative;overflow:hidden;background:var(--accent-deep);border-radius:14px;min-height:96px;display:flex;align-items:center;max-width:1356px;margin:0 auto}
.cta-photo{position:absolute;inset:0 0 0 auto;width:34%;background:url(/wp-content/uploads/2026/11/adu-cta-patio.jpg) center 60%/cover no-repeat}
.cta-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--accent-deep) 0%,rgba(54,72,63,.55) 22%,rgba(54,72,63,0) 50%)}
.cta-inner{position:relative;display:flex;align-items:center;gap:56px;padding:20px 60px}
.cta h2{color:#fff;font-family:var(--serif);font-weight:600;font-size:30px;line-height:1.1}
.cta p{color:#e7ece8;font-size:13.5px;margin:6px 0 0}

/* I. Footer */
.site-footer{background:var(--surface);border-top:1px solid #efefec;padding:22px 0 26px;margin-top:12px}
.site-footer .wrap{display:grid;grid-template-columns:auto 1fr 1fr 1fr;gap:28px;align-items:start;max-width:1330px}
.foot-brand{display:flex;align-items:center;gap:22px}
.foot-brand .brand{font-size:24px}
.foot-brand p{font-size:12px;line-height:1.45;margin:0;padding-left:20px;border-left:1px solid #d9ddd9;max-width:19ch;color:var(--body)}
.foot-col h3{font-family:var(--sans);font-size:13px;font-weight:700;margin-bottom:6px}
.foot-col ul{list-style:none;margin:0;padding:0}
.foot-col a{font-size:12px;color:var(--body);display:inline-block;padding:2px 0}
.foot-col a:hover{color:var(--accent)}
.news p{font-size:12px;margin:0 0 10px;color:var(--body)}
.news form{display:flex;gap:8px}
.news input{flex:1;min-width:0;height:40px;border:1px solid #d6dbd6;border-radius:6px;padding:0 12px;font-size:12.5px;background:#fff}
.news .btn{min-height:40px}
.news small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}


/* Responsive */
@media (max-width:1199px){
  :root{--gutter:32px}
  .nav{gap:26px}
  .cats .wrap,.featured .wrap,.proof .wrap{grid-template-columns:1fr;gap:20px}
  .lede,.featured .lede{max-width:60ch}
  .discover .wrap{grid-template-columns:1fr;gap:24px}
  .steps{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:22px}
  .map-combo{grid-template-columns:1fr 260px}
  .map{min-height:240px}
}
@media (max-width:991px){
  :root{--gutter:24px}
  .nav,.login{display:none}
  .menu-btn{display:inline-flex}
  .site-header.open .nav{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:8px var(--gutter) 14px;box-shadow:var(--shadow)}
  .site-header.open .nav a{border-bottom:1px solid #f0f2ef}
  .header-actions{margin-left:auto}
  .hero-photo{width:100%;opacity:.35}
  .hero-photo::after{background:linear-gradient(90deg,#f7f5f2 0%,rgba(247,245,242,.6) 60%)}
  .hero-copy,.search{padding-left:0;margin-left:0}
  .trust .wrap{grid-template-columns:repeat(2,1fr);row-gap:12px}
  .trust-item:nth-child(3){border-left:0}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .card-row{grid-template-columns:repeat(2,1fr)}
  .proof-cards{grid-template-columns:1fr}
  .site-footer .wrap{grid-template-columns:1fr 1fr 1fr}
  .foot-brand,.news{grid-column:1/-1}
  .cta-photo{width:45%;opacity:.5}
}
@media (max-width:767px){
  .tags{flex-wrap:wrap}
  :root{--gutter:18px}
  .site-header .wrap{height:64px}
  .brand{font-size:20px}
  .header-actions{gap:10px}
  .brand svg{width:34px;height:26px}
  .header-actions .btn{padding:0 12px;font-size:12.5px}
  .header-actions .btn .icon{display:none}
  .hero .wrap{min-height:0;padding-top:0;padding-bottom:24px}
  .hero-photo{position:relative;width:auto;height:220px;opacity:1;margin:0 calc(var(--gutter)*-1)}
  .hero-photo::after{background:linear-gradient(0deg,#f7f5f2 0%,rgba(247,245,242,0) 45%)}
  .hero .wrap{display:block}
  .hero h1{font-size:38px}
  .hero p.sub{font-size:15px}
  .search{flex-direction:column;align-items:stretch;padding:10px;gap:6px}
  .field{padding:10px 8px}
  .field + .field{border-left:0;border-top:1px solid var(--line)}
  .search .btn{margin:4px 0 0}
  .trust .wrap{grid-template-columns:1fr}
  .trust-item{justify-content:flex-start;border-left:0!important}
  .h2{font-size:27px}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .card-row{grid-template-columns:1fr}
  .map-combo{grid-template-columns:1fr}
  .step-row{grid-template-columns:1fr;gap:12px}
  .step{display:grid;grid-template-columns:52px 1fr;column-gap:12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:12px}
  .step .circle{margin:0;grid-row:span 2}
  .step-arrow{display:none}
  .cta{border-radius:0}
  .cta-inner{flex-direction:column;align-items:flex-start;gap:16px;padding:24px var(--gutter)}
  .cta-photo{width:100%;opacity:.25}
  .site-footer .wrap{grid-template-columns:1fr 1fr}
  .foot-brand{flex-direction:column;align-items:flex-start;gap:8px}
  .foot-brand p{border-left:0;padding-left:0}
  .news form{flex-direction:column}
}
@media (max-width:420px){.cat-grid{grid-template-columns:1fr 1fr}.site-footer .wrap{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- WordPress additions (Nov 19, 2026) ---------- */
.brand{font-size:25px}
.nav{gap:38px}
.site-header .wrap{max-width:1300px}
@media (max-width:1280px){.nav{gap:26px}.brand{font-size:23px}}

/* Inner page header */
.page-head{background:#f7f5f2;border-bottom:1px solid #efefec}
.page-head .wrap{padding-top:44px;padding-bottom:40px;max-width:1080px}
.page-head h1{font-family:var(--serif);font-weight:600;font-size:44px;line-height:1.08;letter-spacing:-.01em;margin:2px 0 12px}
.page-head .sub{font-size:16.5px;color:#4d5450;max-width:62ch;margin:0}
.page-head .updated{font-size:12.5px;color:var(--muted);margin-top:14px}

/* Article body */
.prose-wrap{max-width:1080px;margin:0 auto;padding:40px var(--gutter) 56px}
.prose{max-width:780px;color:#3f4642;font-size:16px;line-height:1.7}
.prose h2{font-family:var(--serif);font-weight:600;font-size:29px;line-height:1.15;margin:44px 0 12px;color:var(--ink)}
.prose h3{font-family:var(--sans);font-weight:700;font-size:17px;margin:28px 0 8px;color:var(--ink)}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px}
.prose li{margin-bottom:6px}
.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.prose a.btn{text-decoration:none;color:#fff}
.prose a.btn-outline{color:var(--ink)}
.prose strong{color:var(--ink)}
.prose small,.prose .note{font-size:13.5px;color:var(--muted)}
.prose > :first-child{margin-top:0}
.prose figure{margin:0 0 22px}
.prose table{width:100%;border-collapse:collapse;font-size:14.5px;margin:0;background:#fff}
.prose .table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);margin:6px 0 10px;box-shadow:var(--shadow-sm)}
.prose th,.prose td{text-align:left;padding:11px 14px;border-bottom:1px solid #edf0ed;vertical-align:top}
.prose th{background:var(--surface);font-weight:600;color:var(--ink);font-size:13px;white-space:nowrap}
.prose td.num,.prose th.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.prose tr:last-child td{border-bottom:0}
.prose figcaption{font-size:12.5px;color:var(--muted);margin-top:6px}
.answer{background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 24px;margin:0 0 30px}
.answer .eyebrow{color:var(--accent)}
.answer p{margin:0 0 10px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0 14px}
.stat{background:var(--tile);border-radius:10px;padding:14px 16px}
.stat b{display:block;font-family:var(--serif);font-size:28px;font-weight:600;color:var(--ink);line-height:1.1}
.stat span{display:block;font-size:13px;color:var(--body);line-height:1.4;margin-top:4px}
.stat em{display:block;font-style:normal;font-size:12px;color:var(--muted);margin-top:6px}
.callout-box{background:#fbf6ea;border:1px solid #f0e3c4;border-radius:var(--radius);padding:16px 20px;margin:18px 0 24px;font-size:15px}
.callout-box p:last-child{margin:0}
.source-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;font-size:14px;margin:28px 0 0}
.source-box p:last-child{margin:0}
.toc{background:var(--surface);border-radius:var(--radius);padding:16px 20px;margin:0 0 26px;font-size:14.5px}
.toc ol{margin:6px 0 0}
.faq h3{margin-top:22px}

/* Two column layout for content + side card */
.with-aside{display:grid;grid-template-columns:minmax(0,780px) 1fr;gap:48px;align-items:start}
.aside-card{position:sticky;top:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px}
.aside-card h3{font-family:var(--serif);font-weight:600;font-size:20px;margin:0 0 8px}
.aside-card p{font-size:14px;margin:0 0 14px}
.aside-card .btn{width:100%}

/* Forms */
.form{display:grid;gap:14px;max-width:640px;margin:8px 0 24px}
.form .row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form label{display:block;font-size:13.5px;font-weight:600;color:var(--ink);margin-bottom:5px}
.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=url],.form textarea,.form select{width:100%;border:1px solid #cfd5cf;border-radius:8px;padding:11px 12px;font-size:15px;background:#fff;color:var(--ink)}
.form textarea{min-height:130px;resize:vertical}
.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.form .hint{font-size:12.5px;color:var(--muted);margin-top:4px}
.form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form .btn{justify-self:start;min-width:160px}
.notice{border-radius:10px;padding:12px 16px;font-size:14.5px;margin:0 0 18px}
.notice.ok{background:#e8f1e8;color:#244a2f;border:1px solid #cfe2cf}
.notice.err{background:#fbeaea;color:#7a2424;border:1px solid #efcfcf}
.notice.sample{background:#fbf1dc;color:#6b4f10;font-size:12.5px;padding:10px 14px;border-radius:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.chip{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid #d6dbd6;font-size:13px;font-weight:500;color:var(--ink);background:#fff}
.chip[aria-current=true],.chip:hover{border-color:var(--accent);background:var(--tile)}
.res-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.find-search{margin:20px 0 22px!important;max-width:820px}
.resource-list{list-style:none;padding:0!important}
.resource-list li{border:1px solid var(--line);border-radius:var(--radius);padding:14px 18px;margin-bottom:10px;background:#fff}
.resource-list li strong{display:block}

@media (max-width:991px){
  .with-aside{grid-template-columns:1fr}
  .aside-card{position:static}
  .stat-grid{grid-template-columns:1fr}
}
@media (max-width:767px){
  .page-head h1{font-size:34px}
  .page-head .wrap{padding-top:30px;padding-bottom:28px}
  .prose h2{font-size:25px}
  .form .row2{grid-template-columns:1fr}
  .prose-wrap{padding-top:28px}
}
/* 1.0.1: keep wide tables inside the column, tighter header on small phones */
.with-aside>*,.prose-wrap>*,.prose{min-width:0}
.table-scroll{max-width:100%}
@media (max-width:480px){
  .brand{font-size:18px;gap:8px}
  .brand svg{width:28px;height:22px}
  .header-actions .btn-primary{display:none}
  .site-header .wrap{gap:10px}
}
@media (min-width:992px){.with-aside{grid-template-columns:minmax(0,1fr) 280px}}

/* 1.0.3: heading face closer to the mockup (Libre Baskerville, scaled to the old cap height) */
@font-face{font-family:"Libre Baskerville ABS";src:url(../fonts/libre-baskerville-latin-700-normal.woff2) format("woff2");font-weight:600 700;font-display:swap;size-adjust:87%}
:root{--serif:"Libre Baskerville ABS","Source Serif 4",Georgia,serif}
.hero h1,.page-head h1,.brand{letter-spacing:0}

/* 1.0.5: real builder cards, records notice, live map */
.lcard-real .ph-mono{background:var(--accent);border-radius:6px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;text-align:center}
.lcard-real .ph-mono span{font-size:11px;font-weight:600;letter-spacing:.06em;line-height:1.35;opacity:.92}
.lcard-real .tags{flex-wrap:wrap}
.lcard-real .meta{align-items:flex-start;line-height:1.35}
.lcard-real .meta .icon{flex:0 0 14px;margin-top:1px}
.lcard-real .checked{font-size:11px;color:var(--muted);margin:0}
.notice.records{background:#eef3ee;color:#2c4234;border:1px solid #d6e3d8;font-size:13px;padding:10px 14px;border-radius:8px}
.nearby .nico{width:44px;height:30px;border-radius:4px;background:var(--accent);display:flex;align-items:center;justify-content:center}
.nearby .nico .icon{width:16px;height:16px;color:#fff;stroke-width:1.8}
.abs-map{position:absolute;inset:0;z-index:1;background:transparent}
.map .leaflet-container{font:12px/1.4 var(--sans)}
.abs-pin{color:var(--accent);background:none;border:0}
.abs-pin svg{width:22px;height:28px;fill:currentColor;stroke:#fff;stroke-width:1.2;display:block}
.map .leaflet-popup-content{margin:10px 12px;font-size:12px;line-height:1.45}
.map .leaflet-popup-content a{color:var(--accent);text-decoration:underline}
.lcard-real{grid-template-columns:32% minmax(0,1fr)}
.lcard-real .body{min-width:0}
.lcard-real h3,.lcard-real .meta{overflow-wrap:anywhere}
.lcard-real .ph-mono{gap:4px;padding:10px 6px}
.lcard-real .ph-mono strong{font-family:var(--serif);font-size:38px;line-height:1;font-weight:700}
.lcard-real .ph-mono span{font-weight:500;letter-spacing:.02em;max-width:11ch}
/* 1.0.12: listing tiers, permit badge, more builders */
.tier-head{font-family:var(--serif);font-size:22px;line-height:1.25;margin:32px 0 6px;color:var(--ink)}
#results>.tier-head:first-child{margin-top:8px}
.tier-intro{font-size:14px;color:#4d5350;max-width:72ch;margin:0 0 16px}
.tier-badge{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--accent);background:#eef3ee;border:1px solid #d6e3d8;border-radius:999px;padding:3px 9px;margin:0 0 6px}
.lcard-t2 .tier-badge,.lcard-t3 .tier-badge{color:#5b605d;background:#f4f5f4;border-color:var(--line)}
.tier-badge-head{margin:0 0 10px}
.lcard-t2 .ph-mono{background:#5d7466}
.lcard-real .ph-none{background:#f4f5f4;color:#4d5350;border:1px dashed #c9cfcb}
.lcard-real .ph-none span{max-width:14ch;font-size:12px}
.tag-permits{background:#e3eee6;color:#2c4234}
.more-cards{margin-top:16px}
.more-cards>summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:8px;font-weight:600;font-size:14px;color:var(--accent);background:#fff;list-style:none}
.more-cards>summary::-webkit-details-marker{display:none}
.more-cards[open]>summary{margin-bottom:16px}

/* 1.0.14: homeowner quote buttons, mobile quote bar, profile sidebar, hiring checklist */
.aside-stack{position:sticky;top:24px;display:flex;flex-direction:column;gap:16px;align-self:start}
.aside-stack .aside-card{position:static}
.aside-card .aside-fine{font-size:13px;margin:12px 0 0;color:var(--body)}
.aside-card .aside-fine a{color:var(--accent);text-decoration:underline}
.aside-quote{border-color:var(--accent)}
.prose .checklist{list-style:none;padding-left:0}
.prose .checklist li{position:relative;padding-left:28px;margin-bottom:10px}
.prose .checklist li::before{content:"";position:absolute;left:4px;top:.55em;width:12px;height:7px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.prose .review-links{font-size:14.5px}
.mcta{display:none}
@media (max-width:767px){
  .mcta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(25,40,35,.08)}
  .mcta .btn{width:100%;justify-content:center}
  body{padding-bottom:72px}
}
@media (max-width:991px){.aside-stack{position:static}}
