/*
Theme Name: 828 Design Native
Theme URI: https://828design.ca/
Author: 828 Design Inc.
Description: Portable native WordPress block theme for 828 Design Inc. No Elementor/Divi/WPBakery dependency.
Version: 0.9.51
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: 828design-native
*/

:root{--ink:#111;--muted:#666;--line:#dedbd4;--paper:#fff;--cream:#fcfbf7;--gold:#9f6900;--gold2:#d09a27;--green:#083023;--shadow:0 18px 55px rgba(21,18,12,.08);--max:1260px}*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}img,svg{max-width:100%;display:block}button,summary,a{touch-action:manipulation}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.skip{position:absolute;left:-999px;top:8px;background:#000;color:#fff;padding:10px 14px;z-index:999}.skip:focus{left:8px}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid #ece9e1;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}.header-inner{height:88px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center}.brand-logo{width:122px;height:78px;object-fit:contain;background:#fff}.desktop-nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:720}.desktop-nav>a{padding:32px 0;position:relative}.desktop-nav>a:not(.nav-cta)::after{content:"";position:absolute;left:0;right:100%;bottom:22px;height:2px;background:var(--gold2);transition:right .22s}.desktop-nav>a:hover::after,.desktop-nav>a:focus-visible::after{right:0}.nav-cta{border:1px solid #191919;padding:12px 17px!important;border-radius:999px;background:#171717;color:#fff}.mobile-nav{display:none}.mobile-nav summary{list-style:none;border:1px solid #242424;border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-panel{position:absolute;top:78px;left:14px;right:14px;background:#fff;border:1px solid #ddd9ce;border-radius:18px;padding:9px;box-shadow:var(--shadow)}.mobile-panel a{display:block;padding:14px;border-bottom:1px solid #eee9df;font-weight:750}.mobile-panel a:last-child{border-bottom:0;color:var(--gold)}.hero{padding:72px 0 56px;background:#fff}.hero-grid{display:grid;grid-template-columns:.96fr 1.04fr;gap:62px;align-items:center}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:900;color:var(--gold)}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:500}.hero h1{font-size:clamp(52px,6vw,88px);line-height:.96;letter-spacing:-.05em;margin:18px 0 24px}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{font-size:18px;line-height:1.72;color:#525252}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:49px;padding:0 20px;border-radius:999px;border:1px solid #1f1f1f;font-size:13px;font-weight:850}.btn.primary{background:#151515;color:#fff}.btn.gold{border-color:var(--gold2);color:#5e3d00;background:#fff9ea}.hero-visual{position:relative;min-height:570px}.project-photo{position:absolute;right:0;top:0;width:84%;height:77%;border-radius:30px;overflow:hidden;background:#eee;border:1px solid #e1ddd3;box-shadow:var(--shadow)}.project-photo img{width:100%;height:100%;object-fit:cover}.permit-sheet{position:absolute;left:0;bottom:0;width:66%;height:61%;background:#fff;border:1px solid #cfcac0;border-radius:20px;box-shadow:0 22px 58px rgba(0,0,0,.13);overflow:hidden}.permit-sheet .sheet-head{height:37px;border-bottom:1px solid #222;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:7px;font-weight:800;letter-spacing:.08em}.permit-sheet svg{width:100%;height:calc(100% - 37px);background:#fff}.photo-label{position:absolute;right:18px;top:18px;background:#fff;border:1px solid #e3dfd7;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:800}.brand-rule{height:3px;width:74px;background:var(--gold2);margin:28px 0}.stat-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:34px}.stat{font-size:12px;color:#626262;border-left:2px solid var(--gold2);padding-left:12px}.stat b{display:block;color:#121212;font-size:13px;margin-bottom:4px}.ticker{overflow:hidden;border-top:1px solid #ded9ce;border-bottom:1px solid #ded9ce;background:#fff}.ticker-track{display:flex;width:max-content;animation:marquee 44s linear infinite;will-change:transform}.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}.ticker-set{display:flex}.service-chip,.city-chip{display:flex;align-items:center;gap:12px;min-width:max-content;padding:13px 22px;border-right:1px solid #e9e5dc;font-size:11px;font-weight:850}.service-chip svg{width:34px;height:34px;color:#151515}.service-chip:hover,.city-chip:hover{background:#fff9ea}.service-chip span,.city-chip span{color:var(--gold)}.city-logo{width:58px;height:38px;object-fit:contain}.city-fallback{width:42px;height:34px;border:1px solid #d8d3c7;display:grid;place-items:center;font-family:Georgia,serif;color:var(--gold);font-weight:800;background:#fff}@keyframes marquee{to{transform:translateX(-50%)}}.section{padding:90px 0}.soft{background:var(--cream)}.section-head{display:grid;grid-template-columns:.82fr 1.18fr;gap:55px;align-items:end;margin-bottom:38px}.section-head h2{font-size:clamp(38px,4vw,62px);line-height:1.03;letter-spacing:-.038em;margin:9px 0 0}.section-head p{margin:0;color:#656565;line-height:1.72;font-size:16px}.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.card{border:1px solid #dedbd4;border-radius:20px;padding:23px;background:#fff;min-height:215px;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#caa250}.card .icon{width:44px;height:44px;color:#151515;margin-bottom:30px}.card .cat{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.card h3{font-size:24px;line-height:1.08;margin:8px 0 10px}.card p{font-size:13px;color:#6a6a6a;line-height:1.55;margin:0}.card .more{display:block;margin-top:17px;color:var(--gold);font-size:12px;font-weight:850}.service-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.group{border:1px solid #dedbd4;border-radius:21px;background:#fff;overflow:hidden}.group summary{list-style:none;cursor:pointer;padding:22px;min-height:142px;display:flex;flex-direction:column;justify-content:space-between}.group summary::-webkit-details-marker{display:none}.group summary span{font-size:10px;color:var(--gold);text-transform:uppercase;letter-spacing:.16em;font-weight:900}.group summary strong{font:500 24px/1.05 Georgia,serif}.group[open]{border-color:#caa250}.group-links{padding:0 20px 20px}.group-links a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eeeae2;font-size:12px;font-weight:750}.group-links a::after{content:"→";color:var(--gold)}.faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.faq-card{border:1px solid #dedbd4;border-radius:20px;padding:25px;background:#fff;min-height:270px}.faq-card .tag{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.faq-card h3{font-size:23px;line-height:1.2;margin:17px 0 14px}.faq-card p{font-size:13px;line-height:1.68;color:#666;margin:0}.faq-card a{display:inline-block;margin-top:18px;color:var(--gold);font-weight:850;font-size:12px}.project-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:14px}.project{min-height:420px;position:relative;border-radius:24px;overflow:hidden;background:#eee;border:1px solid #ddd}.project img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}.project:hover img{transform:scale(1.025)}.project::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.76),transparent 70%)}.project-copy{position:absolute;left:22px;right:22px;bottom:20px;color:#fff;z-index:2}.project-copy small{color:#f1c35c;font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:900}.project-copy h3{font-size:27px;margin:7px 0 5px}.project-copy p{font-size:12px;color:#e7e7e7;margin:0}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid #dcd8cf}.process-step{padding:28px 23px;border-right:1px solid #dcd8cf}.process-step:last-child{border-right:0}.process-step .n{font:500 42px Georgia,serif;color:var(--gold2)}.process-step h3{font-size:17px;margin:28px 0 8px}.process-step p{font-size:13px;line-height:1.58;color:#666;margin:0}.cta-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;padding:37px;border:1px solid #d7d2c7;border-radius:25px;background:#fff;box-shadow:var(--shadow)}.cta-panel h2{font-size:42px;line-height:1.05;margin:8px 0 15px}.cta-panel p{color:#666;line-height:1.65}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1px solid #ddd8cd;border-radius:14px;padding:15px;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:800}.choice:hover{border-color:#bc8a2e;background:#fff9ea}.choice span:last-child{color:var(--gold)}.page-hero{padding:62px 0 42px;border-bottom:1px solid #e5e1d8}.breadcrumbs{font-size:11px;color:#797979;margin-bottom:18px}.breadcrumbs a{color:var(--gold)}.page-hero h1{font-size:clamp(44px,5vw,72px);line-height:1;letter-spacing:-.04em;margin:0 0 18px}.page-hero p{font-size:17px;line-height:1.72;color:#606060;max-width:850px}.content-layout{display:grid;grid-template-columns:1.1fr .46fr;gap:55px;align-items:start}.article h2{font-size:34px;margin:48px 0 12px}.article h2:first-child{margin-top:0}.article p,.article li{font-size:15px;line-height:1.75;color:#505050}.article ul,.article ol{padding-left:22px}.quick-answer{border-left:4px solid var(--gold2);background:#fffbf2;padding:22px 24px;border-radius:0 15px 15px 0;font-size:16px;line-height:1.7}.sidebar{position:sticky;top:112px}.side-card{border:1px solid #dedbd4;border-radius:18px;padding:20px;margin-bottom:13px}.side-card h3{font:500 22px Georgia,serif;margin:0 0 12px}.side-card a{display:block;padding:9px 0;border-top:1px solid #eeeae2;font-size:12px;font-weight:750}.side-card a:first-of-type{border-top:0}.source-box{margin-top:36px;padding:18px;border:1px solid #dedbd4;border-radius:15px;background:#fbfaf6}.source-box strong{display:block;margin-bottom:8px}.source-box a{display:block;color:var(--gold);font-size:13px;font-weight:750;padding:5px 0}.city-hero{display:grid;grid-template-columns:1fr 240px;gap:35px;align-items:center}.city-mark{height:150px;border:1px solid #e0dcd3;border-radius:20px;background:#fff;display:grid;place-items:center;padding:22px}.city-mark img{max-height:98px;max-width:180px}.notice{border:1px solid #e2d8bd;background:#fffaf0;border-radius:15px;padding:17px 19px;color:#5c4a25;font-size:13px;line-height:1.6}.footer{background:#151515;color:#fff;padding:58px 0 25px}.footer-grid{display:grid;grid-template-columns:1.2fr .75fr .75fr 1fr;gap:34px}.footer-logo{width:145px;height:115px;object-fit:contain;background:#fff;border-radius:14px;padding:8px;margin-bottom:15px}.footer h4,.footer-heading{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:#d7a438;margin:0 0 8px}.footer a,.footer p{display:block;color:#cecece;font-size:12px;line-height:1.9;margin:0}.footer-bottom{margin-top:40px;padding-top:18px;border-top:1px solid #323232;color:#8c8c8c;font-size:10px;display:flex;justify-content:space-between;gap:20px}:focus-visible{outline:3px solid #8a5a00;outline-offset:3px}@media(max-width:1080px){.desktop-nav{display:none}.mobile-nav{display:block}.hero-grid{grid-template-columns:1fr;gap:40px}.hero-visual{min-height:500px}.section-head{grid-template-columns:1fr;gap:15px}.card-grid,.service-groups,.faq-grid{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr 1fr}.project-grid .project:first-child{grid-column:1/-1}.process-grid{grid-template-columns:1fr 1fr}.process-step:nth-child(2){border-right:0}.process-step:nth-child(-n+2){border-bottom:1px solid #dcd8cf}.content-layout{grid-template-columns:1fr}.sidebar{position:static}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.wrap{width:min(var(--max),calc(100% - 28px))}.header-inner{height:76px}.brand-logo{width:94px;height:64px}.hero{padding:43px 0 38px}.hero h1{font-size:47px}.hero p{font-size:15px}.hero-visual{min-height:385px}.project-photo{width:93%;height:72%;border-radius:21px}.permit-sheet{width:73%;height:59%;border-radius:15px}.photo-label{display:none}.stat{width:calc(50% - 10px)}.service-chip,.city-chip{padding:11px 18px}.service-chip svg{width:29px;height:29px}.city-logo{width:44px;height:30px}.section{padding:68px 0}.section-head{margin-bottom:29px}.section-head h2{font-size:41px}.section-head p{font-size:14px}.card-grid,.service-groups,.faq-grid,.project-grid,.process-grid,.choices{grid-template-columns:1fr}.card{min-height:0}.project-grid .project:first-child{grid-column:auto}.project{min-height:330px}.process-step{border-right:0!important;border-bottom:1px solid #dcd8cf!important}.process-step:last-child{border-bottom:0!important}.cta-panel{grid-template-columns:1fr;padding:24px 18px}.cta-panel h2{font-size:36px}.page-hero{padding:45px 0 34px}.page-hero h1{font-size:44px}.page-hero p{font-size:15px}.city-hero{grid-template-columns:1fr}.city-mark{height:125px}.article h2{font-size:30px}.article p,.article li{font-size:14px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}input,select,textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker-track{animation:none;transform:none}.card,.project img,.desktop-nav>a::after{transition:none}}


/* WordPress integration */
:root{--wp--style--global--content-size:1260px;--wp--style--global--wide-size:1440px}
.wp-site-blocks{padding:0!important}.wp-block-post-content{margin-block-start:0!important}.wp-block-post-content>main{margin:0!important}.wp-block-post-content>.section,.wp-block-post-content>.hero,.wp-block-post-content>.page-hero,.wp-block-post-content>.ticker{max-width:none!important}
.site-header .custom-logo-link{display:block}.site-header img.custom-logo{max-width:118px;height:76px;object-fit:contain}
body.admin-bar .site-header{top:32px}@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:680px){.site-header img.custom-logo{max-width:90px;height:61px}}



/* v0.9.2 navigation, active-state and interaction system */
.desktop-nav{gap:18px}
.nav-item{position:relative;display:flex;align-items:center}
.nav-link{transition:color .2s ease}
.desktop-nav .nav-link.is-current{color:var(--gold)}
.desktop-nav .nav-link.is-current::after{right:0!important;background:var(--gold2)}
.nav-cta{transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}
.nav-cta:hover,.nav-cta:focus-visible{transform:translateY(-2px);background:#242424;border-color:var(--gold2);box-shadow:0 8px 22px rgba(0,0,0,.12)}
.nav-cta.is-current{background:var(--gold2);border-color:var(--gold2);color:#17130a}
.mega-toggle{appearance:none;border:0;background:transparent;color:#595959;font-size:17px;line-height:1;padding:6px 3px 6px 1px;cursor:pointer;transition:transform .2s ease,color .2s ease}
.nav-has-mega:hover .mega-toggle,.nav-has-mega:focus-within .mega-toggle,.nav-has-mega.is-open .mega-toggle{color:var(--gold);transform:rotate(180deg)}
.mega-menu{position:absolute;top:72px;left:50%;width:min(860px,calc(100vw - 48px));transform:translate(-32%,-8px);background:#fff;border:1px solid #dedbd4;border-radius:20px;padding:22px;box-shadow:0 24px 70px rgba(21,18,12,.14);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:120}
.nav-has-mega:hover .mega-menu,.nav-has-mega:focus-within .mega-menu,.nav-has-mega.is-open .mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-32%,0)}
.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.mega-title{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:900;margin-bottom:8px}
.mega-col a{display:block;padding:8px 7px;border-radius:8px;font-size:12px;font-weight:720;line-height:1.25;color:#2c2c2c;transition:background-color .18s ease,color .18s ease,transform .18s ease}
.mega-col a:hover,.mega-col a:focus-visible{background:#fff7e7;color:#6e4800;transform:translateX(2px)}
.mega-col .mega-all{margin-top:7px;color:var(--gold);border-top:1px solid #eee6d6;border-radius:0;padding-top:11px}

.mobile-panel>a,.mobile-service-row>a{transition:background-color .18s ease,color .18s ease,transform .18s ease}
.mobile-panel>a:hover,.mobile-panel>a:focus-visible,.mobile-service-row>a:hover,.mobile-service-row>a:focus-visible{background:#fff8e8;color:#744d00}
.mobile-panel [data-section].is-current,.mobile-service-row [data-section].is-current{color:var(--gold);background:#fff8e8;border-left:3px solid var(--gold2)}
.mobile-service-row{display:grid;grid-template-columns:1fr 48px;align-items:stretch;border-bottom:1px solid #eee9df}
.mobile-service-row>a{display:flex;align-items:center;padding:14px;font-weight:750}
.mobile-services-toggle{border:0;border-left:1px solid #eee9df;background:#fff;color:#775000;font-size:22px;font-weight:500;cursor:pointer}
.mobile-services-toggle:hover,.mobile-services-toggle:focus-visible{background:#fff8e8}
.mobile-services-submenu{padding:4px 8px 9px 22px;background:#fbfaf6;border-bottom:1px solid #eee9df}
.mobile-services-submenu[hidden]{display:none!important}
.mobile-services-submenu a{display:block;padding:10px 11px;color:#4e4e4e;font-size:12px;font-weight:700;border-left:1px solid #dfd7c7}
.mobile-services-submenu a:hover,.mobile-services-submenu a:focus-visible{color:var(--gold);background:#fff}
.mobile-panel .mobile-quote{margin:7px;border:1px solid #1c1c1c;border-radius:12px;background:#171717;color:#fff;text-align:center}
.mobile-panel .mobile-quote:hover,.mobile-panel .mobile-quote:focus-visible{background:var(--gold2);border-color:var(--gold2);color:#181309}
.mobile-panel .mobile-quote.is-current{background:var(--gold2);border-color:var(--gold2);color:#181309}

.btn,.choice,.card,.service-chip,.city-chip,.group-links a,.side-card a,.faq-card a{transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.btn:hover,.btn:focus-visible{transform:translateY(-2px);box-shadow:0 9px 22px rgba(0,0,0,.10)}
.btn.primary:hover,.btn.primary:focus-visible{background:#292929;border-color:var(--gold2)}
.btn.gold:hover,.btn.gold:focus-visible{background:var(--gold2);border-color:var(--gold2);color:#1c1609}
.choice:hover,.choice:focus-visible{transform:translateY(-2px);border-color:var(--gold2);background:#fff7e7;box-shadow:0 8px 20px rgba(21,18,12,.07)}
.card:hover,.card:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#caa250}
.card:hover .more,.card:focus-visible .more{color:#704900}
.service-chip:hover,.service-chip:focus-visible,.city-chip:hover,.city-chip:focus-visible{background:#fff7e7;color:#704900}
.service-chip:hover svg,.service-chip:focus-visible svg{color:var(--gold);transform:translateY(-1px)}
.service-chip svg{transition:color .18s ease,transform .18s ease}
.group-links a:hover,.group-links a:focus-visible,.side-card a:hover,.side-card a:focus-visible{color:var(--gold);transform:translateX(3px)}
.faq-card a:hover,.faq-card a:focus-visible{color:#4f3500;text-decoration:underline;text-underline-offset:4px}

@media(max-width:1180px){.desktop-nav{gap:14px;font-size:12px}.nav-cta{padding-inline:13px!important}}
@media(max-width:1080px){.mega-menu{display:none}}
@media(max-width:680px){
 .mobile-panel{top:70px}
 .mobile-panel>a{padding:13px 14px}
 .mobile-service-row>a{padding:13px 14px}
 .btn,.choice,.card,.service-chip,.city-chip{transform:none}
 .btn:active,.choice:active,.card:active,.service-chip:active,.city-chip:active{transform:scale(.985)}
}
@media(prefers-reduced-motion:reduce){
 .nav-link,.nav-cta,.mega-toggle,.mega-menu,.mega-col a,.mobile-panel>a,.mobile-service-row>a,.btn,.choice,.card,.service-chip,.city-chip,.group-links a,.side-card a,.faq-card a,.service-chip svg{transition:none!important}
}


/* v0.9.4 — forgiving desktop Services mega-menu */
@media(min-width:1081px){
  /* Invisible bridge removes the small dead zone between the Services item and its panel. */
  .nav-has-mega::after{
    content:"";
    position:absolute;
    left:-14px;
    right:-14px;
    top:100%;
    height:22px;
    background:transparent;
    pointer-events:auto;
  }

  /*
   * Hover still opens immediately through CSS.
   * JavaScript keeps .is-open present briefly after pointer exit,
   * giving slower/less precise mouse movement time to reach the menu.
   */
  .nav-has-mega:hover .mega-menu,
  .nav-has-mega:focus-within .mega-menu,
  .nav-has-mega.is-open .mega-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-32%,0);
  }

  .nav-has-mega.is-grace-closing .mega-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .mega-menu{
    /* keep the panel visually connected to the trigger */
    top:70px;
  }
}


/* v0.9.5 — service-discovery clarity */
@media(min-width:1081px){
  .mega-col{
    display:flex;
    flex-direction:column;
    min-height:292px;
  }
  .mega-category-all{
    margin-top:auto!important;
    padding-top:12px!important;
    border-top:1px solid #eadfc9;
    border-radius:0!important;
    color:var(--gold)!important;
    font-weight:850!important;
  }
  .mega-category-all:hover,
  .mega-category-all:focus-visible{
    background:transparent!important;
    color:#5f3e00!important;
    transform:translateX(3px)!important;
  }
  .mega-directory-bar{
    margin-top:17px;
    border-top:1px solid #e4dfd4;
    background:#fbfaf6;
    border-radius:12px;
    min-height:52px;
    padding:12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    font-size:11px;
    line-height:1.35;
    color:#5d5d5d;
    transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
  }
  .mega-directory-bar strong{color:#171717}
  .mega-directory-bar b{
    flex:0 0 auto;
    color:var(--gold);
    font-size:12px;
  }
  .mega-directory-bar:hover,
  .mega-directory-bar:focus-visible{
    background:#fff6e3;
    border-color:#d2a94f;
    transform:translateY(-1px);
  }
}

.mobile-service-directory{
  display:block;
  margin:5px 7px 10px;
  border:1px solid #d8c18d!important;
  border-radius:10px;
  background:#fff8e8;
  color:#6d4700!important;
  font-weight:850!important;
}
.mobile-service-group{
  padding:5px 8px 10px 13px;
  border-top:1px solid #eee9df;
}
.mobile-service-title{
  padding:9px 10px 5px;
  color:var(--gold);
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.mobile-service-group a{
  display:block;
  padding:9px 10px;
  color:#4d4d4d;
  font-size:12px;
  font-weight:700;
  border-left:1px solid #e2dac9;
}
.mobile-service-group a:hover,
.mobile-service-group a:focus-visible{
  color:#6c4700;
  background:#fff8e8;
}
.mobile-service-group .mobile-category-all{
  margin-top:3px;
  border-left:2px solid var(--gold2);
  color:var(--gold);
  font-weight:850;
}

@media(max-width:680px){
  .mobile-services-submenu{
    max-height:min(68vh,560px);
    overflow:auto;
    overscroll-behavior:contain;
  }
}


/* v0.9.6 — permit-help conversion CTA in Services menu */
@media(min-width:1081px){
  .mega-help-bar{
    margin-top:17px;
    border-top:1px solid #e4dfd4;
    background:#fbfaf6;
    border-radius:12px;
    min-height:54px;
    padding:12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    color:#5a5a5a;
    font-size:11px;
    line-height:1.35;
  }
  .mega-help-copy{
    min-width:0;
    white-space:nowrap;
  }
  .mega-help-copy strong{
    color:#171717;
    font-weight:900;
  }
  .mega-help-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
    font-size:12px;
    font-weight:850;
  }
  .mega-help-phone,
  .mega-help-text{
    color:var(--gold);
    border-radius:7px;
    padding:6px 8px;
    transition:background-color .18s ease,color .18s ease,transform .18s ease;
  }
  .mega-help-phone:hover,
  .mega-help-phone:focus-visible,
  .mega-help-text:hover,
  .mega-help-text:focus-visible{
    background:#fff1cf;
    color:#4f3300;
    transform:translateY(-1px);
  }
  .mega-help-divider{color:#b8b1a4}
}

.mobile-permit-help{
  margin:10px 7px 7px;
  padding:14px 13px;
  border:1px solid #d8c18d;
  border-radius:12px;
  background:#fff8e8;
}
.mobile-permit-help strong{
  display:block;
  color:#171717;
  font-size:13px;
  line-height:1.3;
}
.mobile-permit-help>span{
  display:block;
  margin-top:3px;
  color:#666;
  font-size:11px;
}
.mobile-permit-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:11px;
}
.mobile-permit-actions a{
  border:1px solid #c89a3b!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#6e4800!important;
  padding:10px 8px!important;
  text-align:center;
  font-weight:850!important;
  line-height:1.2;
}
.mobile-permit-actions a:hover,
.mobile-permit-actions a:focus-visible{
  background:var(--gold2)!important;
  border-color:var(--gold2)!important;
  color:#17130a!important;
}

@media(max-width:1280px) and (min-width:1081px){
  .mega-help-bar{
    gap:14px;
    padding-inline:13px;
  }
  .mega-help-copy{
    white-space:normal;
    max-width:575px;
  }
}

@media(max-width:680px){
  .mobile-permit-actions{
    grid-template-columns:1fr;
  }
}


/* v0.9.7 — cleaner two-line Services help CTA */
@media(min-width:1081px){
  .mega-help-bar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:24px;
    min-height:66px;
    padding:12px 16px;
  }

  .mega-help-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
    white-space:normal;
    line-height:1.28;
  }

  .mega-help-copy strong{
    display:block;
    color:#171717;
    font-size:12px;
    font-weight:900;
    margin-bottom:4px;
  }

  .mega-help-copy>span{
    display:block;
    color:#666;
    font-size:11px;
    font-weight:650;
  }

  .mega-help-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    white-space:nowrap;
    min-width:max-content;
  }

  .mega-help-phone,
  .mega-help-text{
    padding:7px 9px;
  }
}

@media(max-width:1210px) and (min-width:1081px){
  .mega-help-bar{
    grid-template-columns:1fr;
    gap:7px;
    align-items:start;
  }

  .mega-help-actions{
    justify-content:flex-start;
  }
}


/* v0.9.8 — seven featured services per category */
@media(min-width:1081px){
  .mega-menu{
    width:min(1000px,calc(100vw - 32px));
  }
  .mega-grid{
    gap:15px;
  }
  .mega-col{
    min-height:342px;
  }
  .mega-col a{
    padding:7px 6px;
    font-size:11.5px;
  }
  .mega-category-all{
    line-height:1.25;
  }
}

@media(max-width:1180px) and (min-width:1081px){
  .mega-menu{
    width:calc(100vw - 24px);
  }
  .mega-col a{
    font-size:10.8px;
  }
}


/* v0.9.9 — preferred contact order: Text, Email, Call */
@media(min-width:1081px){
  .mega-help-email{
    color:var(--gold);
    border-radius:7px;
    padding:7px 9px;
    transition:background-color .18s ease,color .18s ease,transform .18s ease;
  }
  .mega-help-email:hover,
  .mega-help-email:focus-visible{
    background:#fff1cf;
    color:#4f3300;
    transform:translateY(-1px);
  }
}

.mobile-permit-actions{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

@media(max-width:520px){
  .mobile-permit-actions{
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce){
  .mega-help-email{transition:none!important}
}


/* v0.9.10 — align View All links and reduce unused gap */
@media(min-width:1081px){
  .mega-menu{
    padding:20px 20px 16px;
  }

  .mega-grid{
    align-items:stretch;
    gap:14px;
  }

  .mega-col{
    min-height:316px;
  }

  .mega-col > a:not(.mega-category-all){
    display:flex;
    align-items:center;
    min-height:31px;
  }

  .mega-category-all{
    display:flex!important;
    align-items:flex-start;
    min-height:46px;
    margin-top:8px!important;
    padding-top:10px!important;
  }
}

@media(max-width:1180px) and (min-width:1081px){
  .mega-col{
    min-height:322px;
  }

  .mega-col > a:not(.mega-category-all){
    min-height:32px;
  }
}


/* v0.9.11 — uniform two-line View All links + tighter gap above contact strip */
@media(min-width:1081px){
  .mega-grid{
    gap:12px;
  }

  .mega-col{
    min-height:304px;
  }

  .mega-category-all{
    min-height:42px!important;
    line-height:1.12!important;
    margin-top:6px!important;
    padding-top:8px!important;
    justify-content:flex-start!important;
  }

  .mega-help-bar{
    margin-top:10px;
    min-height:60px;
    padding:11px 16px;
  }

  .mega-help-copy strong{
    margin-bottom:3px;
  }
}

@media(max-width:1180px) and (min-width:1081px){
  .mega-col{
    min-height:310px;
  }
}


/* v0.9.12 — complete Services directory */
.services-directory-intro{
  padding:24px 0 8px;
  background:#fff;
}
.services-directory-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid #dedbd4;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.services-directory-summary>div{
  padding:16px 18px;
  border-right:1px solid #e6e2d9;
}
.services-directory-summary>div:last-child{border-right:0}
.services-directory-summary strong{
  display:block;
  font-size:12px;
  color:#1c1c1c;
}
.services-directory-summary span{
  display:block;
  margin-top:3px;
  color:var(--gold);
  font-size:11px;
  font-weight:850;
}
.service-directory-section{
  padding:66px 0 72px;
  scroll-margin-top:105px;
}
.service-directory-alt{background:var(--cream)}
.service-directory-heading{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  align-items:end;
  gap:44px;
  margin-bottom:28px;
}
.service-directory-heading h2{
  margin:8px 0 0;
  font-size:clamp(35px,3.6vw,54px);
  line-height:1.03;
  letter-spacing:-.035em;
}
.service-directory-heading p{
  margin:0;
  color:#666;
  font-size:14px;
  line-height:1.7;
  max-width:680px;
}
.service-directory-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.service-directory-card{
  display:flex;
  flex-direction:column;
  min-height:250px;
  padding:21px;
  border:1px solid #dedbd4;
  border-radius:18px;
  background:#fff;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.service-directory-card:hover,
.service-directory-card:focus-within{
  transform:translateY(-3px);
  border-color:#c99c41;
  box-shadow:0 16px 38px rgba(21,18,12,.08);
}
.service-directory-icon{
  width:78px;
  height:58px;
  margin-bottom:18px;
  color:var(--gold);
}
.service-directory-icon svg{width:100%;height:100%}
.service-directory-card h3{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.13;
}
.service-directory-card p{
  margin:0;
  color:#666;
  font-size:12.5px;
  line-height:1.62;
}
.service-directory-card>a{
  margin-top:auto;
  padding-top:18px;
  color:var(--gold);
  font-size:11.5px;
  font-weight:900;
  transition:color .18s ease,transform .18s ease;
}
.service-directory-card>a:hover,
.service-directory-card>a:focus-visible{
  color:#5d3d00;
  transform:translateX(3px);
}
.service-directory-contact{
  padding:72px 0;
  background:#fff;
}
@media(max-width:1080px){
  .services-directory-summary{grid-template-columns:1fr 1fr}
  .services-directory-summary>div:nth-child(2){border-right:0}
  .services-directory-summary>div:nth-child(-n+2){border-bottom:1px solid #e6e2d9}
  .service-directory-heading{grid-template-columns:1fr;gap:12px}
  .service-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .services-directory-intro{padding-top:16px}
  .services-directory-summary{grid-template-columns:1fr}
  .services-directory-summary>div{border-right:0!important;border-bottom:1px solid #e6e2d9!important;padding:13px 15px}
  .services-directory-summary>div:last-child{border-bottom:0!important}
  .service-directory-section{padding:52px 0 58px;scroll-margin-top:82px}
  .service-directory-heading h2{font-size:38px}
  .service-directory-heading p{font-size:13px}
  .service-directory-grid{grid-template-columns:1fr;gap:10px}
  .service-directory-card{min-height:0;padding:19px}
  .service-directory-icon{width:72px;height:54px;margin-bottom:14px}
  .service-directory-card h3{font-size:23px}
  .service-directory-card p{font-size:13px}
  .service-directory-contact{padding:58px 0}
}
@media(prefers-reduced-motion:reduce){
  .service-directory-card,
  .service-directory-card>a{transition:none!important}
}


/* v0.9.13 — clickable Services category navigator */
.services-directory-summary > a{
  display:block;
  position:relative;
  padding:16px 18px;
  border-right:1px solid #e6e2d9;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.services-directory-summary > a:last-child{border-right:0}
.services-directory-summary > a strong{
  display:block;
  color:#1c1c1c;
  font-size:12px;
  transition:color .18s ease;
}
.services-directory-summary > a span{
  display:block;
  margin-top:3px;
  color:var(--gold);
  font-size:11px;
  font-weight:850;
}
.services-directory-summary > a::after{
  content:"→";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  color:var(--gold);
  font-weight:900;
  opacity:0;
  transition:opacity .18s ease,transform .18s ease;
}
.services-directory-summary > a:hover,
.services-directory-summary > a:focus-visible{
  background:#fff8e8;
  outline:none;
  box-shadow:inset 0 -2px 0 var(--gold2);
}
.services-directory-summary > a:hover strong,
.services-directory-summary > a:focus-visible strong{
  color:#6b4700;
}
.services-directory-summary > a:hover::after,
.services-directory-summary > a:focus-visible::after{
  opacity:1;
  transform:translate(3px,-50%);
}

@media(max-width:1080px){
  .services-directory-summary > a:nth-child(2){border-right:0}
  .services-directory-summary > a:nth-child(-n+2){border-bottom:1px solid #e6e2d9}
}
@media(max-width:680px){
  .services-directory-summary > a{
    border-right:0!important;
    border-bottom:1px solid #e6e2d9!important;
    padding:13px 42px 13px 15px;
  }
  .services-directory-summary > a:last-child{border-bottom:0!important}
  .services-directory-summary > a::after{
    opacity:1;
    right:15px;
  }
}
@media(prefers-reduced-motion:reduce){
  .services-directory-summary > a,
  .services-directory-summary > a strong,
  .services-directory-summary > a::after{transition:none!important}
}


/* v0.9.14 — 828 architectural service icon master system */
.service-directory-icon.has-specific-icon{
  width:96px;
  height:72px;
  margin-bottom:18px;
  color:inherit;
}
.service-card-icon-img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Wider, slower, easier-to-read homepage service ticker */
.service-ticker .ticker-track{
  animation-duration:58s;
}
.service-ticker .service-chip{
  width:240px;
  min-width:240px;
  min-height:142px;
  padding:16px 20px 14px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:9px;
  text-align:center;
  white-space:normal;
  line-height:1.2;
  font-size:14px;
}
.service-ticker .service-chip span{
  color:#333;
  font-weight:800;
}
.service-ticker .service-chip:hover span,
.service-ticker .service-chip:focus-visible span{
  color:var(--gold);
}
.service-ticker-icon-img{
  width:104px!important;
  height:78px!important;
  object-fit:contain;
  flex:0 0 auto;
  transition:transform .18s ease;
}
.service-ticker .service-chip:hover .service-ticker-icon-img,
.service-ticker .service-chip:focus-visible .service-ticker-icon-img{
  transform:translateY(-3px) scale(1.025);
}

/* Individual service page icon */
.service-page-icon{
  width:156px;
  height:116px;
  margin:8px 0 16px;
}
.service-page-icon-img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* 12 master icons are line drawings; don't let generic svg rules recolor them. */
.service-card-icon-img,
.service-ticker-icon-img,
.service-page-icon-img{
  display:block;
  max-width:100%;
}

@media(max-width:1080px){
  .service-ticker .service-chip{
    width:210px;
    min-width:210px;
    min-height:132px;
  }
  .service-ticker-icon-img{
    width:92px!important;
    height:70px!important;
  }
  .service-page-icon{
    width:138px;
    height:103px;
  }
}

@media(max-width:680px){
  .service-directory-icon.has-specific-icon{
    width:90px;
    height:68px;
  }
  .service-ticker .service-chip{
    width:188px;
    min-width:188px;
    min-height:126px;
    padding:14px 14px 12px;
    font-size:13px;
    gap:7px;
  }
  .service-ticker-icon-img{
    width:82px!important;
    height:64px!important;
  }
  .service-page-icon{
    width:122px;
    height:92px;
    margin-bottom:12px;
  }
}

@media(prefers-reduced-motion:reduce){
  .service-ticker-icon-img{transition:none!important}
}


/* v0.9.17 — homepage featured card icon sync */
.card .icon img.home-card-icon-img{width:100%;height:100%;object-fit:contain;}
.card .icon.has-specific-icon svg{display:none;}


/* v0.9.18 — clickable homepage service-scope boxes */
.stat-row .stat.is-clickable{
  padding-left:0;
  border-left:0;
}

.home-scope-link{
  position:relative;
  display:block;
  height:100%;
  min-height:54px;
  padding:7px 30px 7px 12px;
  border-left:2px solid var(--gold2);
  border-radius:0 8px 8px 0;
  color:#626262;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}

.home-scope-link b{
  display:block;
  color:#121212;
  font-size:13px;
  margin-bottom:4px;
  transition:color .18s ease;
}

.home-scope-link::after{
  content:"→";
  position:absolute;
  right:10px;
  top:50%;
  transform:translate(-3px,-50%);
  color:var(--gold);
  font-weight:900;
  opacity:0;
  transition:opacity .18s ease,transform .18s ease;
}

.home-scope-link:hover,
.home-scope-link:focus-visible{
  background:#fff8e8;
  color:#4f4f4f;
  border-left-color:var(--gold);
  transform:translateY(-1px);
  outline:none;
}

.home-scope-link:hover b,
.home-scope-link:focus-visible b{
  color:#6b4700;
}

.home-scope-link:hover::after,
.home-scope-link:focus-visible::after{
  opacity:1;
  transform:translate(0,-50%);
}

@media(max-width:680px){
  .home-scope-link{
    min-height:58px;
    padding-right:34px;
  }

  .home-scope-link::after{
    opacity:1;
    transform:translate(0,-50%);
  }
}

@media(prefers-reduced-motion:reduce){
  .home-scope-link,
  .home-scope-link b,
  .home-scope-link::after{
    transition:none!important;
  }
}


/* v0.9.19 — production About page */
.about-live-hero{padding:74px 0 66px;background:#fff;border-bottom:1px solid #e8e3da}
.about-hero-grid{display:grid;grid-template-columns:1.08fr .72fr;gap:72px;align-items:center}
.about-hero-copy h1{font-size:clamp(52px,6vw,82px);line-height:.98;letter-spacing:-.05em;margin:16px 0 23px;max-width:830px}
.about-lead{font-size:18px;line-height:1.72;color:#565656;max-width:820px;margin:0}
.about-written-contact{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px;font-size:11px;color:#777}
.about-written-contact strong{color:#242424}.about-written-contact a{color:var(--gold);font-weight:850}.about-written-contact a:hover,.about-written-contact a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.about-hero-brief{border:1px solid #dcd6ca;border-radius:24px;background:#fcfbf7;padding:20px;box-shadow:var(--shadow)}
.about-brief-kicker{padding:6px 7px 14px;color:var(--gold);font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:900}
.about-hero-brief>a{position:relative;display:grid;grid-template-columns:1fr 28px;gap:3px 14px;padding:16px 14px;border-top:1px solid #e5e0d6;border-radius:12px;transition:background-color .18s ease,transform .18s ease}
.about-hero-brief>a:first-of-type{border-top:0}.about-hero-brief>a:hover,.about-hero-brief>a:focus-visible{background:#fff7e7;transform:translateX(2px)}
.about-hero-brief span{font-weight:900;font-size:13px;color:#1a1a1a}.about-hero-brief small{grid-column:1;color:#666;line-height:1.45;font-size:10.5px}.about-hero-brief b{grid-column:2;grid-row:1/3;align-self:center;color:var(--gold);font-size:18px}
.about-proof-strip{border-bottom:1px solid #e4ded3;background:#161616;color:#fff}
.about-proof-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.about-proof-grid>div{padding:22px 22px;border-right:1px solid #343434}.about-proof-grid>div:last-child{border-right:0}
.about-proof-grid strong{display:block;color:#e1b14a;font-size:12px;margin-bottom:5px}.about-proof-grid span{display:block;color:#c9c9c9;font-size:11px;line-height:1.5}
.about-story-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:72px;align-items:start}
.about-story-heading h2{font-size:clamp(40px,4.6vw,64px);line-height:1.03;letter-spacing:-.04em;margin:10px 0 0}
.about-story-copy{border-left:1px solid #e2ddd3;padding-left:42px}.about-story-copy p{font-size:16px;line-height:1.8;color:#545454;margin:0 0 18px}.about-story-copy p:last-child{margin-bottom:0}
.about-section-head{align-items:start}
.about-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.about-service-card{position:relative;border:1px solid #ddd8cd;border-radius:22px;background:#fff;padding:26px;min-height:315px;display:flex;flex-direction:column;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.about-service-card:hover{transform:translateY(-3px);border-color:#c99d47;box-shadow:var(--shadow)}
.about-card-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}.about-card-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d9c18f;border-radius:12px;color:#7a4d00;background:#fff8e8;font:800 11px/1 Inter,sans-serif;flex:0 0 42px}
.about-card-head small{display:block;color:var(--gold);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;margin:2px 0 5px}.about-card-head h3{font-size:25px;line-height:1.06;margin:0}
.about-service-card p{font-size:13px;line-height:1.7;color:#626262;margin:0}.about-service-card>a{margin-top:auto;padding-top:22px;color:var(--gold);font-size:12px;font-weight:900}.about-service-card>a:hover,.about-service-card>a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.about-process-grid{display:grid;grid-template-columns:repeat(5,1fr);border-block:1px solid #ddd8cd}
.about-process-grid article{padding:28px 21px;border-right:1px solid #ddd8cd}.about-process-grid article:last-child{border-right:0}
.about-process-grid span{font:500 38px/1 Georgia,serif;color:var(--gold2)}.about-process-grid h3{font:800 14px/1.25 Inter,sans-serif;margin:25px 0 8px}.about-process-grid p{font-size:12px;line-height:1.62;color:#666;margin:0}
.about-operations-grid{display:grid;grid-template-columns:1.08fr .72fr;gap:70px;align-items:start}
.about-operations-main h2{font-size:clamp(40px,4.6vw,62px);line-height:1.03;letter-spacing:-.04em;margin:10px 0 20px}.about-operations-main p{font-size:15px;line-height:1.78;color:#555;max-width:760px}
.about-operations-side{border:1px solid #ddd8cd;border-radius:22px;background:#fff;padding:8px 22px}.about-operations-side>div{padding:18px 2px;border-top:1px solid #e8e2d8}.about-operations-side>div:first-child{border-top:0}.about-operations-side strong{display:block;font-size:12px;color:#1e1e1e;margin-bottom:5px}.about-operations-side span{display:block;color:#666;font-size:11px;line-height:1.55}
.about-boundary-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:54px;border-radius:28px;background:#171717;color:#fff;padding:42px}
.about-boundary-title h2{font-size:clamp(38px,4.2vw,56px);line-height:1.04;letter-spacing:-.04em;margin:10px 0 0}.about-boundary-copy{border-left:1px solid #3b3b3b;padding-left:38px}.about-boundary-copy p{font-size:14px;line-height:1.76;color:#d3d3d3;margin:0 0 15px}.about-boundary-copy p:last-child{margin-bottom:0}
.about-standards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.about-standards-grid article{border-top:2px solid var(--gold2);background:#fff;border-radius:0 0 16px 16px;padding:20px 18px;min-height:180px}.about-standards-grid strong{display:block;font:500 21px/1.1 Georgia,serif;margin-bottom:12px}.about-standards-grid p{font-size:12px;line-height:1.65;color:#666;margin:0}
.about-final-section{padding-top:76px}.about-final-cta{display:grid;grid-template-columns:1.05fr .65fr;gap:60px;align-items:center;border:1px solid #d9d2c4;border-radius:28px;padding:38px;background:#fff;box-shadow:var(--shadow)}
.about-final-cta h2{font-size:clamp(36px,4vw,54px);line-height:1.04;letter-spacing:-.04em;margin:9px 0 14px}.about-final-cta p{color:#666;line-height:1.65;margin:0}.about-final-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.about-final-actions .btn{width:100%}.about-final-actions small{color:#777;font-size:10px;line-height:1.5;text-align:center;margin-top:2px}
@media(max-width:1080px){.about-hero-grid,.about-story-grid,.about-operations-grid,.about-boundary-panel,.about-final-cta{grid-template-columns:1fr;gap:36px}.about-process-grid{grid-template-columns:repeat(3,1fr)}.about-process-grid article:nth-child(3){border-right:0}.about-process-grid article:nth-child(n+4){border-top:1px solid #ddd8cd}.about-story-copy,.about-boundary-copy{border-left:0;padding-left:0}.about-service-grid{grid-template-columns:1fr 1fr}.about-standards-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.about-live-hero{padding:44px 0 42px}.about-hero-grid{gap:30px}.about-hero-copy h1{font-size:46px}.about-lead{font-size:15px}.about-proof-grid{grid-template-columns:1fr 1fr}.about-proof-grid>div{border-bottom:1px solid #343434}.about-proof-grid>div:nth-child(2n){border-right:0}.about-proof-grid>div:nth-last-child(-n+2){border-bottom:0}.about-story-copy p{font-size:14px}.about-service-grid,.about-standards-grid{grid-template-columns:1fr}.about-service-card{min-height:0}.about-process-grid{grid-template-columns:1fr}.about-process-grid article{border-right:0;border-top:1px solid #ddd8cd}.about-process-grid article:first-child{border-top:0}.about-boundary-panel{padding:28px 20px}.about-final-cta{padding:28px 20px}.about-written-contact{gap:8px}.about-operations-main p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.about-hero-brief>a,.about-service-card{transition:none!important}}


/* v0.9.20 — live homepage permit-document hero */
.home-live-hero{
  position:relative;
  overflow:hidden;
  padding:70px 0 54px;
  background:#fff;
  border-bottom:1px solid #ebe7df;
}
.home-live-hero::before{
  content:"";
  position:absolute;
  inset:auto -8% -38% 42%;
  width:72%;
  height:92%;
  background:
    linear-gradient(rgba(166,110,8,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(166,110,8,.035) 1px,transparent 1px);
  background-size:32px 32px;
  transform:rotate(-2deg);
  pointer-events:none;
}
.home-live-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:58px;
  align-items:center;
}
.home-live-copy{animation:d828-copy-in .65s ease-out both}
.home-live-copy .eyebrow{margin-bottom:16px}
.home-live-copy h1{
  max-width:690px;
  margin:0;
  font-size:clamp(54px,5.5vw,79px);
  line-height:.96;
  letter-spacing:-.052em;
}
.home-live-subhead{
  max-width:690px;
  margin:22px 0 0!important;
  color:#8a5c05!important;
  font-size:17px!important;
  line-height:1.45!important;
  font-weight:850;
  letter-spacing:-.012em;
}
.home-live-lead{
  max-width:720px;
  margin:13px 0 0!important;
  color:#565656!important;
  font-size:15px!important;
  line-height:1.72!important;
}
.home-live-actions{margin-top:25px}
.home-live-actions .btn{transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.home-live-actions .btn:hover,.home-live-actions .btn:focus-visible{transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.1)}
.home-live-contact{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin-top:16px;
  color:#6b6b6b;
  font-size:11px;
  font-weight:800;
}
.home-live-contact a{position:relative;padding:5px 13px;color:#775000}
.home-live-contact a:first-child{padding-left:0}
.home-live-contact a+a::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:1px;background:#d8d2c6}
.home-live-contact a:hover,.home-live-contact a:focus-visible{color:#111}
.home-live-hero .brand-rule{margin:23px 0 19px}
.home-live-hero .stat-row{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;margin-top:0}
.home-live-hero .stat{min-width:0;background:#fff;border:1px solid #e4ded2;border-left:2px solid var(--gold2);border-radius:0 11px 11px 0;padding:10px 12px;color:#666;line-height:1.4}
.home-live-hero .stat b{font-size:11.5px;margin-bottom:2px}
.home-live-hero .home-scope-link{min-height:0;padding:0;border-left:0;background:transparent;border-radius:0}
.home-live-hero .home-scope-link:hover,.home-live-hero .home-scope-link:focus-visible{background:transparent;transform:none}
.home-live-hero .home-scope-link::after{right:0}

.home-permit-visual{
  position:relative;
  min-height:525px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.home-plan-watermark{
  position:absolute;
  inset:2% -8% 4% 7%;
  width:101%;
  height:94%;
  object-fit:cover;
  object-position:center;
  opacity:.055;
  filter:grayscale(1) contrast(1.35);
  transform:rotate(-3deg) scale(1.03);
  pointer-events:none;
}
.home-plan-frame{
  position:relative;
  width:min(100%,700px);
  background:#fff;
  border:1px solid #d7d1c5;
  border-radius:22px;
  padding:14px;
  box-shadow:0 25px 70px rgba(26,22,14,.14);
  animation:d828-plan-reveal .9s cubic-bezier(.2,.75,.25,1) both;
}
.home-plan-frame::before{
  content:"";
  position:absolute;
  left:-12px;
  top:42px;
  bottom:42px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(var(--gold2),#7b5100);
}
.home-plan-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:37px;
  padding:0 5px 11px;
  border-bottom:1px solid #e6e0d5;
  color:#6a6a6a;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-plan-topline span:first-child{color:#111}
.home-plan-sheet{
  margin:12px 0 0;
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #ece8e0;
  border-radius:12px;
}
.home-plan-sheet img{
  width:100%;
  height:auto;
  aspect-ratio:1070/600;
  object-fit:contain;
  background:#fff;
}
.home-plan-sheet::after{
  content:"";
  position:absolute;
  left:55%;
  bottom:9%;
  width:26%;
  height:22%;
  border:1.5px solid rgba(183,123,15,.75);
  border-radius:5px;
  box-shadow:0 0 0 6px rgba(208,154,39,.055);
  pointer-events:none;
  animation:d828-highlight-in .7s .72s ease-out both;
}
.home-plan-caption{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:11px 5px 1px;
  color:#6c6c6c;
  font-size:9.5px;
}
.home-plan-caption strong{color:#111;font-size:10px}
.home-permit-path{
  position:absolute;
  left:1%;
  bottom:2px;
  display:flex;
  align-items:center;
  gap:7px;
  max-width:95%;
  padding:9px 12px;
  border:1px solid #d9bc78;
  border-radius:999px;
  background:rgba(255,251,241,.96);
  color:#795000;
  box-shadow:0 8px 24px rgba(100,75,20,.08);
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.home-permit-path i{font-style:normal;color:#c18b23}
@keyframes d828-copy-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes d828-plan-reveal{from{opacity:0;clip-path:inset(0 100% 0 0);transform:translateY(8px)}to{opacity:1;clip-path:inset(0 0 0 0);transform:none}}
@keyframes d828-highlight-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}

@media(max-width:1080px){
  .home-live-hero{padding-top:52px}
  .home-live-hero-grid{grid-template-columns:1fr;gap:33px}
  .home-live-copy h1{max-width:880px}
  .home-live-lead,.home-live-subhead{max-width:850px}
  .home-permit-visual{min-height:0;padding:12px 0 32px}
  .home-plan-frame{width:min(100%,830px)}
  .home-plan-watermark{inset:-1% -3% 1% 10%;width:93%;height:99%}
}
@media(max-width:680px){
  .home-live-hero{padding:38px 0 34px}
  .home-live-hero::before{inset:auto -40% -15% 18%;width:120%;height:66%}
  .home-live-hero-grid{gap:25px}
  .home-live-copy h1{font-size:46px;line-height:.98}
  .home-live-subhead{font-size:14px!important;margin-top:17px!important}
  .home-live-lead{font-size:13px!important;line-height:1.65!important}
  .home-live-actions{display:grid;grid-template-columns:1fr;margin-top:20px}
  .home-live-actions .btn{width:100%}
  .home-live-contact{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%;font-size:10px;text-align:center}
  .home-live-contact a{padding:6px 5px!important}
  .home-live-hero .brand-rule{margin:19px 0 15px}
  .home-live-hero .stat-row{grid-template-columns:1fr 1fr;gap:7px}
  .home-live-hero .stat{font-size:10px;padding:9px 8px}
  .home-live-hero .stat b{font-size:10.5px}
  .home-permit-visual{padding:6px 0 28px}
  .home-plan-watermark{display:none}
  .home-plan-frame{border-radius:16px;padding:9px;box-shadow:0 16px 40px rgba(26,22,14,.12)}
  .home-plan-frame::before{left:-7px;top:32px;bottom:32px;width:2px}
  .home-plan-topline{min-height:29px;padding:0 3px 7px;font-size:7.4px}
  .home-plan-sheet{margin-top:8px;border-radius:8px}
  .home-plan-sheet::after{left:54%;bottom:8%;width:27%;height:24%;border-width:1px}
  .home-plan-caption{display:block;padding:8px 3px 0;font-size:8.5px;line-height:1.45}
  .home-plan-caption strong{display:block;margin-bottom:2px;font-size:9px}
  .home-permit-path{left:50%;bottom:-2px;transform:translateX(-50%);width:max-content;max-width:96%;justify-content:center;font-size:7.5px;padding:7px 9px;white-space:nowrap}
}
@media(max-width:410px){
  .home-live-copy h1{font-size:41px}
  .home-live-hero .stat-row{grid-template-columns:1fr}
  .home-live-contact{grid-template-columns:1fr;gap:1px}
  .home-live-contact a+a::before{display:none}
  .home-permit-path{font-size:6.8px}
}
@media(prefers-reduced-motion:reduce){
  .home-live-copy,.home-plan-frame,.home-plan-sheet::after{animation:none!important}
  .home-live-actions .btn{transition:none!important}
}


/* v0.9.21 — live homepage/process content polish */
.live-section-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:26px;
}
.live-process-note{
  margin-top:20px;
  padding:16px 18px;
  border:1px solid #e2d8bd;
  border-radius:14px;
  background:#fffaf0;
  color:#65502a;
  font-size:12px;
  line-height:1.6;
}
.live-intake-panel .choice{
  min-height:58px;
}
.live-intake-panel .choice small{
  display:block;
  margin-top:3px;
  color:#777;
  font-weight:600;
  font-size:10px;
}
.live-process-page .process-grid + .process-grid{
  border-top:0;
}
.live-process-page .process-grid + .process-grid .process-step{
  border-top:0;
}
.live-process-page .process-support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:28px;
}
.live-process-page .process-support-card{
  border:1px solid #dedbd4;
  border-radius:18px;
  padding:22px;
  background:#fff;
}
.live-process-page .process-support-card h3{
  margin:0 0 10px;
  font-size:23px;
}
.live-process-page .process-support-card p,
.live-process-page .process-support-card li{
  color:#626262;
  line-height:1.65;
  font-size:13px;
}
.live-process-page .process-support-card ul{
  padding-left:18px;
  margin-bottom:0;
}
.live-process-cta{
  margin-top:30px;
}
@media(max-width:680px){
  .live-process-page .process-support-grid{grid-template-columns:1fr}
  .live-section-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .live-section-actions .btn{transition:none!important}
}


/* v0.9.22 — Service Area heading + larger municipality ticker */
.d828-service-area-heading{
  padding:44px 0 22px;
  background:#fff;
  border-top:1px solid #ece7dc;
}
.d828-service-area-heading .d828-service-area-heading-grid{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:48px;
  align-items:end;
}
.d828-service-area-heading h2{
  margin:7px 0 0;
  font:500 clamp(36px,4vw,52px)/1.02 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}
.d828-service-area-copy{
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:end;
}
.d828-service-area-copy p{
  margin:0;
  color:#626262;
  font-size:14px;
  line-height:1.68;
  max-width:690px;
}
.d828-service-area-copy p strong{
  color:#171717;
  font-weight:850;
}
.d828-service-area-copy a{
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  padding-bottom:2px;
}
.d828-service-area-copy a:hover,
.d828-service-area-copy a:focus-visible{
  color:#6f4800;
}

/* Larger, slower city ticker so logos and names are actually readable. */
.city-ticker{
  border-top:1px solid #ded9ce;
  border-bottom:1px solid #ded9ce;
  background:#fff;
}
.city-ticker .ticker-track{
  animation-duration:62s;
}
.city-ticker .city-chip{
  min-width:205px;
  min-height:84px;
  padding:16px 26px;
  gap:14px;
  font-size:13px;
  font-weight:850;
}
.city-ticker .city-chip strong{
  font-size:13px;
  line-height:1.2;
  white-space:nowrap;
}
.city-ticker .city-logo{
  width:76px;
  height:50px;
  flex:0 0 76px;
  object-fit:contain;
}
.city-ticker .city-fallback{
  width:58px;
  height:46px;
  flex:0 0 58px;
  border-radius:10px;
  font-size:15px;
}
.city-ticker .city-chip>span:last-child{
  margin-left:auto;
  color:var(--gold);
  font-size:14px;
}
.city-chip-ontario{
  min-width:255px!important;
  background:#fff9ea;
}
.city-chip-ontario:hover,
.city-chip-ontario:focus-visible{
  background:#fff1c9!important;
}
.ontario-service-mark{
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border:1px solid #d9b45e;
  border-radius:14px;
  background:#fff;
  color:#7f5300;
}
.ontario-service-mark svg{
  width:31px;
  height:31px;
}
.ontario-service-copy{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.ontario-service-copy strong{
  color:#171717;
  font-size:13px!important;
}
.ontario-service-copy small{
  color:#8a641a;
  font-size:9px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

@media(max-width:900px){
  .d828-service-area-heading{
    padding:36px 0 19px;
  }
  .d828-service-area-heading .d828-service-area-heading-grid{
    grid-template-columns:1fr;
    gap:13px;
  }
  .d828-service-area-copy{
    grid-template-columns:1fr;
    gap:10px;
  }
}

@media(max-width:680px){
  .d828-service-area-heading{
    padding:31px 0 17px;
  }
  .d828-service-area-heading h2{
    font-size:36px;
  }
  .d828-service-area-copy p{
    font-size:12.5px;
  }
  .city-ticker .ticker-track{
    animation-duration:54s;
  }
  .city-ticker .city-chip{
    min-width:178px;
    min-height:76px;
    padding:13px 18px;
    gap:11px;
    font-size:12px;
  }
  .city-ticker .city-logo{
    width:66px;
    height:44px;
    flex-basis:66px;
  }
  .city-ticker .city-fallback{
    width:50px;
    height:42px;
    flex-basis:50px;
  }
  .city-chip-ontario{
    min-width:225px!important;
  }
  .ontario-service-mark{
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .ontario-service-copy strong{
    font-size:12.5px!important;
  }
  .ontario-service-copy small{
    font-size:8.5px;
  }
}

@media(prefers-reduced-motion:reduce){
  .city-ticker .ticker-track{
    animation:none!important;
    transform:none!important;
  }
}


/* v0.9.23 — proper Ontario icon in service-area ticker */
.city-ticker .city-chip-ontario{background:#fff9ea;}
.ontario-service-mark{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 54px;border:none;border-radius:0;background:transparent;color:inherit;}
.ontario-service-mark img{display:block;width:54px;height:54px;object-fit:contain;}
@media(max-width:680px){.ontario-service-mark,.ontario-service-mark img{width:48px;height:48px;flex-basis:48px;}}


/* v0.9.24 — permanent Ontario service-area icon */
.city-ticker .ontario-service-mark{display:flex;align-items:center;justify-content:center;width:58px;height:58px;flex:0 0 58px;border:0;background:transparent;border-radius:0;box-shadow:none;}
.city-ticker .ontario-service-mark img{display:block;width:58px;height:58px;object-fit:contain;}
@media(max-width:680px){.city-ticker .ontario-service-mark,.city-ticker .ontario-service-mark img{width:50px;height:50px;flex-basis:50px;}}


/* v0.9.25 — homepage lower-layout containment repair */
.wp-block-post-content,
.home-lower-live,
.home-lower-live > *{
  min-width:0;
  max-width:100%;
}

/* Direct page children may intentionally have their own max-width (forms,
   receipts, focused tools, etc.). Do not overwrite those component widths. */
.wp-block-post-content > *{
  min-width:0;
}
.home-lower-live{
  width:100%;
  overflow:clip;
}
.home-lower-live .section,
.home-lower-live .d828-service-area-heading{
  width:100%;
  max-width:100%;
}
.home-lower-live .wrap{
  width:min(var(--max),calc(100% - 48px));
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
}
.home-lower-live .ticker.city-ticker{
  display:block;
  width:100%;
  max-width:100vw;
  min-width:0;
  overflow:hidden;
  contain:layout paint;
}
.home-lower-live .ticker-track{
  display:flex;
  width:max-content;
  max-width:none;
  min-width:0;
}
.home-lower-live .ticker-set{
  display:flex;
  flex:0 0 auto;
  min-width:0;
}
.home-lower-live .process-grid,
.home-lower-live .faq-grid,
.home-lower-live .cta-panel{
  min-width:0;
  max-width:100%;
}
@media(max-width:680px){
  .home-lower-live .wrap{
    width:min(var(--max),calc(100% - 28px));
  }
}


/* v0.9.26 — Home Permit Answers: balanced live-site heading */
.home-permit-answers{
  padding-top:76px;
}
.home-permit-answers .home-permit-answers-head{
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:72px;
  align-items:center;
  margin-bottom:34px;
}
.home-permit-answers .home-permit-answers-head h2{
  max-width:560px;
  font-size:clamp(38px,3.5vw,52px);
  line-height:1.02;
  letter-spacing:-.036em;
}
.home-permit-answers-copy{
  max-width:650px;
}
.home-permit-answers-copy p{
  margin:0;
  color:#626262;
  font-size:15px;
  line-height:1.7;
}
.home-permit-answers-link{
  display:inline-flex;
  margin-top:14px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  border-bottom:1px solid transparent;
  transition:color .18s ease,border-color .18s ease,transform .18s ease;
}
.home-permit-answers-link:hover,
.home-permit-answers-link:focus-visible{
  color:#5d3c00;
  border-color:#b47b12;
  transform:translateX(2px);
}

@media(max-width:1080px){
  .home-permit-answers .home-permit-answers-head{
    grid-template-columns:1fr;
    gap:14px;
  }
  .home-permit-answers-copy{
    max-width:760px;
  }
}

@media(max-width:680px){
  .home-permit-answers{
    padding-top:58px;
  }
  .home-permit-answers .home-permit-answers-head{
    margin-bottom:25px;
  }
  .home-permit-answers .home-permit-answers-head h2{
    font-size:34px;
    max-width:360px;
  }
  .home-permit-answers-copy p{
    font-size:13px;
  }
  .home-permit-answers-link{
    margin-top:12px;
    font-size:11.5px;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-permit-answers-link{
    transition:none!important;
  }
}


/* v0.9.28 — website-wide container audit / focused-form alignment */
.wp-site-blocks,
.wp-block-post-content{
  width:100%;
  min-width:0;
}

/* Full-bleed page sections own the viewport width; their .wrap owns content width. */
.wp-block-post-content > .section,
.wp-block-post-content > .hero,
.wp-block-post-content > .page-hero,
.wp-block-post-content > .ticker,
.wp-block-post-content > .home-live-hero,
.wp-block-post-content > .about-live-hero,
.wp-block-post-content > .about-proof-strip,
.wp-block-post-content > .d828-service-area-heading,
.wp-block-post-content > .home-lower-live{
  width:100%;
}

/* Standard inner content alignment. */
.wrap{
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
}

/* WordPress/global-style protection for focused 828 forms.
   Component CSS still controls internal padding/typography. */
.wp-block-post-content > .d828-quote-shell,
.wp-block-post-content > .d828-booking-shell{
  width:min(var(--max),calc(100% - 48px));
  max-width:var(--max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.wp-block-post-content > .d828-receipt{
  width:min(950px,calc(100% - 48px));
  max-width:950px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Grid children are allowed to shrink instead of widening their parent. */
.card-grid > *,
.service-groups > *,
.faq-grid > *,
.project-grid > *,
.process-grid > *,
.choices > *,
.content-layout > *,
.services-directory-summary > *,
.service-directory-grid > *,
.d828p-grid > *{
  min-width:0;
}

@media(max-width:680px){
  .wp-block-post-content > .d828-quote-shell,
  .wp-block-post-content > .d828-booking-shell{
    width:min(var(--max),calc(100% - 28px));
  }
  .wp-block-post-content > .d828-receipt{
    width:calc(100% - 28px);
  }
}


/* v0.9.29 — registry-rendered directories and SEO foundation */
.service-directory-icon img{display:block;width:100%;height:100%;object-fit:contain}
.service-ticker .service-chip>img{width:96px;height:70px;object-fit:contain;flex:0 0 70px}
.services-directory-summary>a[aria-current="location"],
.services-directory-summary>a.is-active{background:#171717!important;color:#fff!important;border-color:#171717!important}
.services-directory-summary>a[aria-current="location"] strong,
.services-directory-summary>a.is-active strong{color:#d8a52f!important}
.service-directory-section:target{scroll-margin-top:110px}
.service-directory-section:target>.service-directory-heading{border-left:3px solid #c58b1d;padding-left:18px}
.municipality-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.municipality-card{border:1px solid #dedbd4;border-radius:20px;background:#fff;overflow:hidden;min-width:0;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.municipality-card:hover{transform:translateY(-2px);border-color:#caa250;box-shadow:0 16px 36px rgba(20,18,12,.07)}
.municipality-card>a{display:block;padding:20px;height:100%}
.municipality-card img{width:92px;height:56px;object-fit:contain;margin-bottom:13px}
.municipality-card h3{font:500 28px/1.05 Georgia,"Times New Roman",serif;margin:6px 0 10px}
.municipality-card p{font-size:12px;line-height:1.65;color:#656565;margin:0 0 16px}
.municipality-card strong{font-size:11px;color:var(--gold)}
.related-location-links{margin-top:28px;padding-top:22px;border-top:1px solid #dedbd4}
.related-location-links>div:last-child{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.related-location-links a{border:1px solid #ddd7ca;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:800;background:#fff}
.service-page-icon{margin-bottom:14px}.service-page-icon img{width:112px;height:82px;object-fit:contain}
@media(max-width:1050px){.municipality-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.municipality-directory-grid{grid-template-columns:1fr 1fr}.service-ticker .service-chip>img{width:82px;height:60px;flex-basis:60px}}
@media(max-width:480px){.municipality-directory-grid{grid-template-columns:1fr}.municipality-card>a{padding:18px}}


/* v0.9.30 — featured hot services + scope note */
.service-directory-scope-note{margin:18px auto 34px;max-width:var(--max);border:1px solid #dfd3b8;background:#fffaf0;border-radius:16px;padding:16px 18px;color:#59534a;font-size:12px;line-height:1.65}.service-directory-scope-note strong{color:#171717;margin-right:4px}.service-directory-scope-note a{color:var(--gold);font-weight:900;white-space:nowrap}.service-directory-card.is-featured{border-color:#d7b05d}.service-card-kicker{margin:-2px 0 10px;color:var(--gold);text-transform:uppercase;letter-spacing:.13em;font-size:8.5px;font-weight:900}.service-directory-section:target .service-directory-heading{scroll-margin-top:110px}.service-directory-section:target .service-directory-heading h2{color:#7d5200}@media(max-width:680px){.service-directory-scope-note{margin:14px 14px 28px;padding:14px 15px}}


/* v0.9.31 — ticker/icon dedupe + municipality-brand cleanup */
.service-ticker .service-chip{
  min-height:154px;
}
.service-ticker .service-chip>img{
  display:block;
  margin:0 auto;
}
.service-ticker .service-chip>img + img{
  display:none!important;
}

/* Municipality ticker: readable, branded, but not oversized. */
.city-ticker .ticker-track{
  animation-duration:66s;
}
.city-ticker .city-chip{
  min-width:190px;
  min-height:78px;
  padding:12px 20px;
  gap:13px;
}
.city-ticker .city-logo{
  width:68px;
  height:42px;
  flex:0 0 68px;
  object-fit:contain;
}
.city-ticker .city-chip strong{
  font-size:12px;
  line-height:1.15;
}
.city-ticker .city-chip>span:last-child{
  margin-left:auto;
}

/* Local fallback wordmarks are intentionally neutral and must not resemble
   a fabricated municipal crest or imply municipal endorsement. */
.municipality-card img,
.city-ticker .city-logo{
  background:transparent;
}
.municipality-card img{
  width:110px;
  height:60px;
}

/* Toronto districts use the Toronto municipal brand asset while the visible
   card/ticker name continues to say Scarborough, North York or Etobicoke. */
.municipality-card .eyebrow{
  margin-top:2px;
}

@media(max-width:680px){
  .service-ticker .service-chip{
    width:210px;
    min-width:210px;
    min-height:136px;
  }
  .city-ticker .city-chip{
    min-width:168px;
    min-height:70px;
    padding:10px 15px;
  }
  .city-ticker .city-logo{
    width:58px;
    height:36px;
    flex-basis:58px;
  }
  .city-ticker .city-chip strong{
    font-size:11.5px;
  }
}


/* v0.9.32 — municipality visibility fix */
.city-ticker .city-chip{
  min-width: 212px;
  min-height: 88px;
  padding: 14px 22px;
  gap: 14px;
}
.city-ticker .city-logo{
  width: 88px;
  height: 52px;
  flex: 0 0 88px;
  object-fit: contain;
  object-position: center;
}
.city-ticker .city-chip strong{
  font-size: 13px;
  line-height: 1.15;
}
.municipality-card img{
  width: 128px;
  height: 68px;
  object-fit: contain;
  object-position: center;
}
.municipality-card .eyebrow{margin-top:4px}
.city-ticker .city-chip .city-logo.city-logo-municipal-wordmark,
.municipality-card .municipality-logo.municipality-logo-municipal-wordmark{
  border: 1px solid #ded8ca;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}
@media(max-width:760px){
  .city-ticker .city-chip{min-width:184px; min-height:80px; padding:12px 16px;}
  .city-ticker .city-logo{width:76px; height:46px; flex-basis:76px;}
  .municipality-card img{width:116px; height:62px;}
}


/* v0.9.33 — real municipality logo set */
.city-ticker .city-logo.city-logo-municipal-brand-user{
  width:104px;
  height:62px;
  flex-basis:104px;
  object-fit:contain;
}
.municipality-card .municipality-logo.municipality-logo-municipal-brand-user{
  width:150px;
  height:82px;
  object-fit:contain;
}
.city-ticker .city-chip{
  min-width:232px;
}
@media(max-width:680px){
  .city-ticker .city-logo.city-logo-municipal-brand-user{
    width:88px;
    height:54px;
    flex-basis:88px;
  }
  .municipality-card .municipality-logo.municipality-logo-municipal-brand-user{
    width:132px;
    height:74px;
  }
  .city-ticker .city-chip{
    min-width:204px;
  }
}


/* v0.9.36 — Services page container synchronization
   Scoped only to Services-directory components. Home is intentionally untouched. */
.services-directory-summary,
.service-directory-scope-note,
.service-directory-section{
  width:min(var(--max),calc(100% - 48px));
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

.services-directory-summary{
  margin-top:0;
  margin-bottom:0;
}

.service-directory-scope-note{
  margin-top:18px;
  margin-bottom:34px;
}

.service-directory-section{
  padding-left:0;
  padding-right:0;
}

.service-directory-heading,
.service-directory-grid{
  width:100%;
  max-width:100%;
  min-width:0;
}

@media(max-width:680px){
  .services-directory-summary,
  .service-directory-scope-note,
  .service-directory-section{
    width:calc(100% - 28px);
  }

  .service-directory-scope-note{
    margin-left:auto;
    margin-right:auto;
  }
}

/* v0.9.40 — municipality guide cleanup only.
   On individual /service-areas/{city}/ pages, remove the municipality logo/badge
   and the municipality ticker. The Service Areas directory, Home ticker, menus,
   service pages and all other site components remain untouched. */
body.d828-municipality-guide .city-mark,
body.d828-municipality-guide .city-ticker{
  display:none!important;
}

/* If a legacy city page stores the municipality badge as a direct image rather
   than inside .city-mark, hide that badge on municipality-guide pages only. */
body.d828-municipality-guide img[src*="/assets/municipalities/"],
body.d828-municipality-guide img[src*="/828design-native/assets/municipalities/"]{
  display:none!important;
}

/* Avoid leaving the old logo column empty when a legacy city hero uses the
   two-column city-hero layout. */
body.d828-municipality-guide .city-hero{
  grid-template-columns:1fr!important;
}


/* v0.9.44 — Drawing Samples page only.
   Preview-only gallery: no full drawing assets, no clickable image elements. */
.drawing-samples-hero{
  padding:64px 0 28px;
  background:#fff;
}
.drawing-samples-hero h1{
  margin:0;
  font-size:clamp(46px,5vw,72px);
  line-height:1;
  letter-spacing:-.04em;
}
.drawing-samples-section{
  padding:18px 0 84px;
  background:#fff;
}
.drawing-samples-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  -webkit-user-select:none;
  user-select:none;
}
.drawing-sample-card{
  margin:0;
  border:1px solid #ddd9d0;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.drawing-sample-preview{
  width:calc(100% - 32px);
  margin:16px 16px 10px;
  aspect-ratio:640 / 426;
  border:1px solid #e7e2d7;
  background-color:#fff;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  pointer-events:none;
  -webkit-touch-callout:none;
}
.drawing-sample-card figcaption{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 16px 16px;
  border-top:1px solid #e6e2d9;
}
.drawing-sample-kicker{
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9b6a14;
}
.drawing-sample-title{
  font-size:16px;
  line-height:1.3;
  font-weight:800;
  color:#191919;
}
.drawing-sample-byline{
  font-size:12px;
  line-height:1.4;
  color:#616161;
}
@media(max-width:1080px){
  .drawing-samples-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .drawing-samples-hero{padding:46px 0 22px}
  .drawing-samples-grid{grid-template-columns:1fr;gap:14px}
  .drawing-samples-section{padding:12px 0 64px}
}

/* v0.9.45 — footer social links only. */
.footer-social{display:flex;align-items:center;gap:9px;margin-top:14px}
.footer .footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #3b3b3b;border-radius:999px;color:#d7a438;line-height:1;transition:border-color .18s ease,background .18s ease,color .18s ease}
.footer .footer-social-link svg{width:19px;height:19px}
.footer .footer-social-link:hover,.footer .footer-social-link:focus-visible{border-color:#d7a438;background:#201d17;color:#f1c35c}

/* v0.9.46 — pre-launch hardening; hidden/system pages only. */
.d828-listing-page{padding:62px 24px 84px;max-width:1260px;margin:0 auto}.d828-listing-page .wp-block-query-title{font:500 clamp(38px,4vw,58px)/1.05 Georgia,serif;margin:0 0 28px}.d828-listing-page .wp-block-post{padding:22px 0;border-top:1px solid #dedbd4}.d828-listing-page .wp-block-post-title{font-size:26px;margin:0 0 8px}.d828-listing-page .wp-block-post-excerpt{color:#5c5c5c}.d828-listing-page .wp-block-query-pagination{margin-top:28px}.footer-nav{display:block}.footer-nav a{display:block}
/* Preserve the approved gold palette. Only small functional text that needs AA contrast uses a slightly darker gold. */
.eyebrow,.mobile-panel a:last-child,.card .cat,.card .more,.group summary span,.group-links a::after,.faq-card .tag,.faq-card a,.service-chip span,.city-chip span,.city-fallback,.choice span:last-child,.breadcrumbs a,.source-box a{color:#9f6900}
.hero h1 em{color:#a66e08}

/* v0.9.46 — print-only cleanup; does not affect screen design. */
@media print{
  .site-header,.footer,.ticker,.actions,.btn,.mobile-nav,.desktop-nav,.mega-panel,.service-directory-summary,.drawing-samples-note{display:none!important}
  body{background:#fff!important;color:#000!important;overflow:visible!important}
  .wrap{width:100%!important;max-width:none!important}
  .section,.page-hero{padding:18pt 0!important}
  .sidebar{position:static!important}
  a{text-decoration:none!important;color:#000!important}
}


/* v0.9.49 — Service Areas directory visual parity only.
   Keep the municipality directory on the same approved content width as the page hero.
   Normalize apparent logo scale only inside municipality cards; Home/city ticker assets are untouched. */
.municipality-directory-grid{
  width:min(var(--max),calc(100% - 48px));
  max-width:var(--max);
  margin:32px auto 72px;
  box-sizing:border-box;
}
.municipality-card .municipality-logo{
  transform-origin:center center;
}
.municipality-card img[src*="toronto-official.webp"]{transform:scale(1.29)}
.municipality-card img[src*="mississauga-official.webp"]{transform:scale(1.29)}
.municipality-card img[src*="brampton-official.webp"]{transform:scale(.93)}
.municipality-card img[src*="caledon-official.webp"]{transform:scale(.90)}
.municipality-card img[src*="vaughan-official.webp"]{transform:scale(1.28)}
.municipality-card img[src*="markham-official.webp"]{transform:scale(.94)}
.municipality-card img[src*="richmond-hill-official.webp"]{transform:scale(.93)}
.municipality-card img[src*="newmarket-official.webp"]{transform:scale(1.37)}
.municipality-card img[src*="aurora-official.webp"]{transform:scale(.94)}
.municipality-card img[src*="stouffville-official.webp"]{transform:scale(.91)}
.municipality-card img[src*="east-gwillimbury-official.webp"]{transform:scale(1.26)}
.municipality-card img[src*="georgina-official.webp"]{transform:scale(1.26)}
.municipality-card img[src*="king-official.webp"]{transform:scale(1.07)}
.municipality-card img[src*="oshawa-official.webp"]{transform:scale(1.33)}
.municipality-card img[src*="pickering.webp"]{transform:scale(.83)}
.municipality-card img[src*="ajax-official.webp"]{transform:scale(1.33)}
.municipality-card img[src*="whitby-official.webp"]{transform:scale(1.26)}
.municipality-card img[src*="clarington-official.webp"]{transform:scale(.90)}
.municipality-card img[src*="uxbridge-official.webp"]{transform:scale(1.34)}
.municipality-card img[src*="brock-official.webp"]{transform:scale(1.32)}
.municipality-card img[src*="scugog-official.webp"]{transform:scale(.93)}
.municipality-card img[src*="burlington-official.webp"]{transform:scale(.90)}
.municipality-card img[src*="oakville-official.webp"]{transform:scale(1.35)}
.municipality-card img[src*="milton-official.webp"]{transform:scale(1.26)}
.municipality-card img[src*="halton-hills-official.webp"]{transform:scale(1.40)}
@media(max-width:680px){
  .municipality-directory-grid{
    width:min(var(--max),calc(100% - 28px));
    margin-top:24px;
    margin-bottom:56px;
  }
}


/* v0.9.50 — spacing compaction only.
   Keep the approved design, but remove excess empty space between stacked sections
   on internal pages and tighten the overall vertical rhythm across the site. */
.section{padding:74px 0}
.page-hero{padding:54px 0 28px}
.page-hero + .section{padding-top:56px}
.content-layout{gap:42px}
.article h2{margin:38px 0 12px}
.city-hero{gap:24px}
.drawing-samples-hero{padding:54px 0 22px}
.drawing-samples-section{padding:12px 0 72px}
.d828-service-area-heading{padding:38px 0 18px}
@media(max-width:900px){
  .section{padding:62px 0}
  .page-hero{padding:46px 0 24px}
  .page-hero + .section{padding-top:46px}
  .content-layout{gap:34px}
  .d828-service-area-heading{padding:34px 0 16px}
}
@media(max-width:680px){
  .section{padding:52px 0}
  .page-hero{padding:40px 0 22px}
  .page-hero + .section{padding-top:38px}
  .content-layout{gap:28px}
  .article h2{margin:32px 0 10px}
  .drawing-samples-hero{padding:42px 0 18px}
  .drawing-samples-section{padding:10px 0 54px}
  .d828-service-area-heading{padding:28px 0 14px}
}


/* v0.9.51 — HOME MOBILE HOTFIX ONLY.
   Fix conflicting global .stat width rules that created half-width cards,
   wasted right-side space and excessive word wrapping on phones. */
.home-scope-description{display:inline;color:inherit;font-size:inherit;line-height:inherit}
@media(max-width:680px){
  .home-live-hero .stat-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
  }
  .home-live-hero .stat{
    width:100%!important;
    min-width:0!important;
    min-height:92px;
    padding:0!important;
    overflow:hidden;
  }
  .home-live-hero .home-scope-link{
    width:100%;
    min-width:0;
    min-height:92px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:11px 28px 11px 11px;
  }
  .home-live-hero .home-scope-link b{
    margin:0 0 4px;
    font-size:11px;
    line-height:1.2;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .home-live-hero .home-scope-description{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    font-size:9.5px;
    line-height:1.35;
    color:#666;
  }
  .home-live-hero .home-scope-link::after{
    right:9px;
  }
}
@media(max-width:350px){
  .home-live-hero .stat-row{gap:7px}
  .home-live-hero .stat,
  .home-live-hero .home-scope-link{min-height:86px}
  .home-live-hero .home-scope-link{padding:9px 24px 9px 9px}
  .home-live-hero .home-scope-link b{font-size:10.3px}
  .home-live-hero .home-scope-description{-webkit-line-clamp:2;font-size:9px}
}
