/* Site theme matching the scroll-story homepage (2026-10-08): sticky header, scene page-heads,
   frosted navy title cards, light content cards with navy/gold line art. Loaded on every page. */
/* sticky header that collapses on scroll (all pages) */
body .site-header{position:sticky;top:0;z-index:60;transition:padding .28s ease,margin .28s ease,box-shadow .28s ease}
body .site-header .brand img{transition:width .28s ease}
body.is-scrolled .site-header{padding-top:8px;padding-bottom:8px;margin-bottom:var(--hdr-gap,0px);box-shadow:0 4px 18px rgba(6,31,68,.14)}
body.is-scrolled .site-header .brand img{width:118px}
body.hdr-measuring .site-header,body.hdr-measuring .site-header .brand img{transition:none!important}
@media (max-width:700px){body.is-scrolled .site-header .brand img{width:104px}}

/* ---- page hero: a band of the homepage scene behind a frosted navy title card ---- */
.phero{position:relative;min-height:clamp(440px,62vh,640px);display:flex;align-items:center;justify-content:center;padding:56px 24px;overflow:hidden;background:linear-gradient(135deg,#061f44,var(--slate-x) 60%,#14427a);isolation:isolate}
.phero__scene{position:absolute;left:0;right:0;bottom:0;height:calc(100% / 0.64);z-index:-1}
.phero__canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 1s ease}
.phero__canvas.is-live{opacity:1}
.phero__card{max-width:720px;width:100%;text-align:center;background:rgba(10,42,87,.68);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:20px;padding:28px 40px 32px;box-shadow:0 18px 50px rgba(6,31,68,.22);color:#fff}
.phero__card .story__art{width:clamp(150px,22vh,220px);margin:0 auto 14px}
.phero__h{color:#fff;font-family:var(--display);font-size:clamp(32px,4.2vw,52px);line-height:1.08;margin:0 0 .4em;text-wrap:balance}
.phero__p{color:#d3dff0;font-size:clamp(16px,1.3vw,19px);line-height:1.6;max-width:580px;margin:0 auto 18px}
.phero .story__ctas{justify-content:center}
@media (max-width:700px){.phero{min-height:420px;padding:36px 16px}.phero__card{padding:20px 18px 24px;border-radius:16px}}
@media (prefers-reduced-motion:reduce){.phero__canvas{transition:none;opacity:1}}

/* ---- content sections + cards ---- */
.tsec{padding:72px 24px;background:var(--grey)}
.tsec--white{background:#fff}
.tsec__inner{max-width:var(--wrap);margin:0 auto}
.tsec__head{text-align:center;max-width:720px;margin:0 auto 40px}
.tsec__head h2{font-size:clamp(28px,3vw,40px);margin-bottom:.3em}
.tsec__head p{color:#3a4147;margin:0}
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tgrid--2{grid-template-columns:repeat(2,1fr)}
.tcard{background:#fff;border-radius:18px;padding:30px 30px 32px;box-shadow:0 10px 30px rgba(10,42,87,.08);border:1px solid #e3e9f1;display:flex;flex-direction:column}
.tsec--white .tcard{background:var(--grey);box-shadow:none}
.tcard h3{font-size:24px;margin:0 0 .35em}
.tcard p{color:#3a4147;margin:0 0 14px}
.tcard .tart{width:150px;margin:0 0 14px}
.tcard--center{text-align:center;align-items:center}
.tcard--center .tart{margin:0 auto 14px}
.tcard__link{margin-top:auto;font-weight:600;color:var(--primary);text-decoration:none}
.tcard__link:hover{text-decoration:underline}
a.tcard{text-decoration:none;color:inherit;transition:transform .2s ease,box-shadow .2s ease}
a.tcard:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(10,42,87,.14)}
@media (max-width:980px){.tgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tgrid,.tgrid--2{grid-template-columns:1fr}.tsec{padding:52px 16px}}

/* ---- line art on light backgrounds (same drawings as the homepage story, navy + gold) ---- */
.tart svg{display:block;width:100%;height:auto;overflow:visible}
.tart .ln{fill:none;stroke:var(--slate-x);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tart .dim{stroke:rgba(10,42,87,.35);stroke-width:2.5}
.tart .gd{fill:none;stroke:#c99a45;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.tart .gdf{fill:#d9b26f}
.tart .lnf{fill:var(--primary)}
.tart .dimf{fill:rgba(29,114,184,.35)}
.tart .hl{opacity:.35}
.tart .tick{fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.tart .count{font-family:var(--display);font-weight:700;font-size:20px;fill:var(--slate-x)}
.tart .lbl{font-family:var(--font);font-weight:700;font-size:9px;letter-spacing:1.4px;fill:var(--primary)}
/* dark variant inside the frosted hero card reuses the homepage story colours */
.tart--dark .ln{stroke:#cfe3f7}.tart--dark .dim{stroke:rgba(207,227,247,.45)}.tart--dark .gd{stroke:var(--accent)}.tart--dark .lnf{fill:#9cc8f0}.tart--dark .dimf{fill:rgba(156,200,240,.45)}.tart--dark .tick{stroke:var(--slate-x)}.tart--dark .count{fill:#fff}.tart--dark .lbl{fill:#9cc8f0}
.tart--dark.story__art .sweep-hand{transform:none}

/* about */
.about2{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
.about2__photo img{width:100%;max-width:420px;aspect-ratio:1;object-fit:cover;border-radius:50%;border:6px solid var(--accent);box-shadow:0 24px 50px rgba(10,42,87,.18);display:block;margin:0 auto}
.about2__text h2{font-size:clamp(28px,3vw,38px);color:var(--secondary)}
.about2__text p{color:#3a4147}
.tcard__eyebrow{display:block;margin-bottom:8px}
.tsec .story__eyebrow{color:#8a6424}   /* small gold text on the light sections: 5.3:1 (the bright accent is 1.8:1 there) */
.tcard__title{font-size:26px;margin:0 0 16px}
.episode2 img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:0 0 16px}
.tgrid--contact{grid-template-columns:.8fr 1.2fr;align-items:start}
.tgrid--contact a{color:var(--primary)}
@media (max-width:860px){.about2,.tgrid--contact{grid-template-columns:1fr}}

/* services */
.tabs2{padding:0;max-width:none}
.tabs2 .tabs__list button{border-radius:999px}
.svc2-head{flex-direction:row;gap:28px;align-items:center;margin-bottom:24px}
.svc2-head .tart{flex:0 0 180px;margin:0}
.svc2-head h2{font-size:clamp(26px,2.6vw,34px);margin:0 0 .3em}
.svc2-head p{margin:0}
@media (max-width:700px){.svc2-head{flex-direction:column;text-align:center}}
/* legal */
.legal2{max-width:820px;margin:0 auto;padding:40px 48px}
@media (max-width:640px){.legal2{padding:26px 20px}}
/* quote forms */
.tgrid--quote{grid-template-columns:.7fr 1.3fr}
.tgrid--quote a{color:var(--primary)}
@media (max-width:860px){.tgrid--quote{grid-template-columns:1fr}}
.phero__scene--fit{top:0;height:auto}

/* about: portrait rises halfway up into the scene banner */
.about2-sec{position:relative;z-index:2;padding-top:40px}
.about2{align-items:start}
.about2__photo{margin-top:calc(-1 * (clamp(440px,62vh,640px) / 4 + 40px))}   /* portrait overlaps the bottom quarter of the banner */
.about2__photo img{animation:about-rise 1.3s cubic-bezier(.2,.7,.2,1) .25s both;background:#fff}
@keyframes about-rise{from{transform:translateY(140px);opacity:0}to{transform:none;opacity:1}}
.about2__text{padding-top:16px}
.about2__h1{font-size:clamp(36px,4vw,52px);margin:0 0 .15em;color:var(--secondary)}
.about2__text h2{font-size:clamp(22px,2.2vw,28px);color:var(--primary);margin-bottom:.8em}
.about2-sec .story__eyebrow{color:#8a6424}
@media (max-width:860px){.about2__photo{margin-top:-140px}.about2__photo img{max-width:280px}.about2__text{text-align:center}}
@media (prefers-reduced-motion:reduce){.about2__photo img{animation:none}}
/* about: label + heading rise in just after the portrait */
.about2__text>.story__eyebrow,.about2__h1{animation:about-rise-text .9s cubic-bezier(.2,.7,.2,1) both}
.about2__text>.story__eyebrow{animation-delay:.6s}
.about2__h1{animation-delay:.8s}
@keyframes about-rise-text{from{transform:translateY(28px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.about2__text>.story__eyebrow,.about2__h1{animation:none}}
/* reveal on scroll ([data-reveal] grids) */
.reveal--armed>*{opacity:0;transform:translateY(36px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal--armed>.is-in{opacity:1;transform:none}
.legal2__h1{font-size:clamp(32px,3.6vw,44px);margin:0 0 .15em}
.legal2__date{color:#6a7480;margin:0 0 24px!important}

/* services: category cards as tabs */
.cattabs__list{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0 0 36px}
.catcard{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:2px solid #e3e9f1;border-radius:18px;padding:22px 16px 18px;cursor:pointer;font:inherit;color:var(--secondary);box-shadow:0 10px 30px rgba(10,42,87,.06);transition:transform .2s ease,box-shadow .2s ease,background .25s ease,border-color .25s ease}
.catcard:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(10,42,87,.12)}
.catcard .tart{width:clamp(96px,10vw,140px);margin:0}
.catcard__label{font-family:var(--display);font-weight:600;font-size:22px}
.catcard[aria-selected=true]{background:var(--slate-x);border-color:var(--accent);color:#fff;box-shadow:0 18px 40px rgba(10,42,87,.25)}
.catcard[aria-selected=true] .ln{stroke:#cfe3f7}.catcard[aria-selected=true] .dim{stroke:rgba(207,227,247,.45)}
.catcard[aria-selected=true] .gd{stroke:var(--accent)}.catcard[aria-selected=true] .lnf{fill:#9cc8f0}.catcard[aria-selected=true] .dimf{fill:rgba(156,200,240,.45)}
.catcard[aria-selected=true] .tick{stroke:var(--slate-x)}
.catcard:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.catpanel__head{text-align:center;max-width:760px;margin:0 auto 28px}
.catpanel__head h2{font-size:clamp(28px,3vw,38px);margin:0 0 .3em}
.catpanel__head p{color:#3a4147;margin:0}
.catpanel__grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:980px){.catpanel__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.cattabs__list{grid-template-columns:repeat(2,1fr);gap:12px}.catcard__label{font-size:18px}.catpanel__grid{grid-template-columns:1fr}}

/* ---- blog (public/blog.php, blog-post.php) ---- */
.blog-sec{padding-top:56px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 36px}
.chip{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--slate-x);font-weight:600;font-size:14px;text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.chip:hover{border-color:var(--primary);color:var(--primary)}
.chip.is-active{background:var(--slate-x);border-color:var(--accent);color:#fff}
.chip__n{font-size:12px;font-weight:600;min-width:22px;padding:1px 7px;border-radius:999px;background:var(--grey);color:var(--slate-d);text-align:center}
.chip.is-active .chip__n{background:rgba(255,255,255,.16);color:#fff}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.bcard{position:relative;background:#fff;border-radius:18px;padding:28px 28px 24px;box-shadow:0 10px 30px rgba(10,42,87,.08);border:1px solid #e3e9f1;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.bcard:hover,.bcard:focus-within{transform:translateY(-4px);box-shadow:0 18px 40px rgba(10,42,87,.14)}
.bcard:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.bcard__art{width:120px;margin:0 0 14px}
.bcard__img{margin:-28px -28px 18px;width:calc(100% + 56px);max-width:none;aspect-ratio:16/9;object-fit:cover;border-radius:18px 18px 0 0}
.bcard__cat{color:#8a6424;margin:0 0 8px;font-size:12px}
.bcard__h{font-size:clamp(21px,1.9vw,24px);line-height:1.2;margin:0 0 .45em}
.bcard__h a{color:var(--slate-x);text-decoration:none}
.bcard__h a::after{content:"";position:absolute;inset:0;border-radius:18px}   /* whole card is the link */
.bcard__h a:focus{outline:none}
.bcard p{color:#3a4147;margin:0 0 14px;font-size:16px}
.bcard .bcard__meta{margin:auto 0 0;padding-top:6px;font-size:14px;color:#6a7480}
.blog-related .tsec__head{margin-bottom:28px}
.blog-related__all{text-align:center;margin:36px 0 0}
.pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:44px 0 0}
.pager a,.pager span{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--slate-x);font-weight:600;text-decoration:none}
.pager a:hover{border-color:var(--primary);color:var(--primary)}
.pager .is-active{background:var(--slate-x);border-color:var(--accent);color:#fff}
.blog-empty{max-width:640px;margin:0 auto}
.blog-empty .btn-row{justify-content:center}
.blog-preview{background:#fff8ea;border:2px dashed var(--accent);border-radius:16px;padding:20px 24px;margin:0 0 36px}
.blog-preview__h{font-size:22px;margin:0 0 10px}
.blog-preview__h span{display:block;font-family:var(--font);font-size:13px;font-weight:500;color:#6a7480;margin-top:4px}
.blog-preview__list{margin:0;padding-left:1.2em}
.blog-preview__list li{margin:6px 0}
.blog-preview__list span{font-size:14px;color:#6a7480}
.blog-preview--bar{border-radius:0;border-width:0 0 2px;margin:0;padding:12px 24px;text-align:center;font-size:15px}

/* post */
.post-head{background:linear-gradient(135deg,#061f44,var(--slate-x) 60%,#14427a);color:#fff;padding:56px 24px 60px}
.post-head__inner{max-width:820px;margin:0 auto}
.crumbs ol{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:14px}
.crumbs li+li::before{content:"/";margin-right:6px;color:rgba(207,227,247,.5)}
.crumbs a{color:#cfe3f7;text-decoration:none}
.crumbs a:hover{color:var(--accent);text-decoration:underline}
.crumbs li:last-child a{color:var(--accent);font-weight:600}
.phero__card .crumbs ol{justify-content:center;margin:0 0 10px;font-size:13px}
.crumbs--light li+li::before{color:#8c99a6}.crumbs--light a{color:var(--primary)}.crumbs--light li:last-child a{color:var(--slate-x)}
.glossary__az{margin:0;display:flex;flex-wrap:wrap;gap:4px}
.prose .glossary__az a{display:inline-block;min-width:34px;padding:6px 8px;text-align:center;border-radius:8px;background:#fff;border:1px solid #e3e9f1;text-decoration:none;font-weight:600}
.glossary__letter{border-bottom:2px solid var(--accent);padding-bottom:4px}
.glossary__term h3{margin-bottom:.3em}
.glossary__term{scroll-margin-top:90px}
.post-head__h{color:#fff;font-size:clamp(32px,4.4vw,52px);line-height:1.1;margin:0 0 .4em}
.post-head__sum{color:#d3dff0;font-size:clamp(17px,1.5vw,20px);line-height:1.6;margin:0 0 22px;max-width:720px}
.post-meta{display:flex;flex-wrap:wrap;gap:6px 0;margin:0;font-size:14px;color:#b9c8dc}
.post-meta span+span::before{content:"·";margin:0 10px;color:rgba(207,227,247,.5)}
.post-meta a{color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid var(--accent)}
.post-hero{max-width:1000px;margin:-24px auto 0;padding:0 24px}
.post-hero img{width:100%;border-radius:16px;box-shadow:0 18px 40px rgba(10,42,87,.18)}
.prose{max-width:720px;margin:48px auto 0;padding:0 24px;font-size:18.5px;line-height:1.75;color:#1f2a33}
.prose>:first-child{margin-top:0}
.prose p,.prose ul,.prose ol,.prose blockquote,.prose .prose__table{margin:0 0 1.15em}
.prose h2{font-size:clamp(26px,2.6vw,32px);margin:1.7em 0 .5em;color:var(--slate-x);scroll-margin-top:110px}
.prose h3{font-size:clamp(21px,2vw,24px);margin:1.4em 0 .4em;color:var(--slate-x);scroll-margin-top:110px}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin:.35em 0}
.prose li::marker{color:var(--primary);font-weight:600}
.prose a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.prose strong{color:var(--secondary)}
.prose blockquote{border-left:4px solid var(--accent);background:var(--grey);padding:16px 22px;border-radius:0 12px 12px 0;color:#2f3a44}
.prose blockquote>:last-child{margin-bottom:0}
.prose img{border-radius:12px;margin:8px 0}
.prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.prose code{font-size:.9em;background:var(--grey);padding:2px 6px;border-radius:4px}
.prose__table{overflow-x:auto}
.prose table{border-collapse:collapse;width:100%;font-size:16px}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{font-weight:600;color:var(--slate-x)}
.post-cta{max-width:820px;margin:48px auto 0;padding:34px 36px;border-radius:20px;background:linear-gradient(135deg,#061f44,var(--slate-x) 60%,#14427a);color:#fff;display:grid;grid-template-columns:150px 1fr;gap:28px;align-items:center;box-shadow:0 18px 50px rgba(6,31,68,.22);border-bottom:4px solid var(--accent)}
.post-cta .tart .ln{stroke:#cfe3f7}.post-cta .tart .dim{stroke:rgba(207,227,247,.45)}.post-cta .tart .gd{stroke:var(--accent)}.post-cta .tart .lnf{fill:#9cc8f0}.post-cta .tart .dimf{fill:rgba(156,200,240,.45)}.post-cta .tart .tick{stroke:var(--slate-x)}.post-cta .tart .count{fill:#fff}.post-cta .tart .lbl{fill:#9cc8f0}
.post-cta__art{width:150px;margin:0}
.post-cta__h{color:#fff;font-size:clamp(24px,2.4vw,30px);margin:0 0 .35em}
.post-cta p{color:#d3dff0;margin:0 0 18px}
.post-cta .post-cta__fine{font-size:12.5px;color:#9fb1c8;margin:18px 0 0;letter-spacing:.01em}
.post-disclaimer{max-width:720px;margin:22px auto 0;padding:0 24px;font-size:14px;color:#6a7480;font-style:italic}
.post-nav{max-width:820px;margin:40px auto 72px;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.post-nav__link{display:block;padding:18px 20px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;text-decoration:none;color:var(--slate-x);font-family:var(--display);font-weight:600;font-size:18px;line-height:1.3;transition:border-color .2s,box-shadow .2s}
.post-nav__link span{display:block;font-family:var(--font);font-size:13px;font-weight:600;color:var(--primary);margin-bottom:6px}
.post-nav__link:hover{border-color:var(--primary);box-shadow:0 10px 24px rgba(10,42,87,.1)}
.post-nav__link--next{text-align:right;grid-column:2}
.page-post .blog-related{padding-top:64px}
.page-post article.post+.blog-related{border-top:1px solid #e3e9f1}
@media (max-width:980px){.bgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){
  .bgrid{grid-template-columns:1fr}
  .bcard{padding:24px 20px 20px}.bcard__img{margin:-24px -20px 16px;width:calc(100% + 40px)}
  .post-head{padding:36px 16px 44px}
  .post-meta{gap:4px 16px}.post-meta span+span::before{content:none}
  .post-hero{padding:0 16px}
  .prose{padding:0 16px;font-size:17.5px;margin-top:36px}
  .post-cta{grid-template-columns:1fr;text-align:center;margin:40px 16px 0;padding:28px 20px}
  .post-cta__art{width:120px;margin:0 auto}
  .post-cta .btn-row{justify-content:center}
  .post-disclaimer{padding:0 16px}
  .post-nav{grid-template-columns:1fr;padding:0 16px;margin-bottom:56px}
  .post-nav__link--next{grid-column:auto}
  .chips{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){.bcard,.bcard:hover,.bcard:focus-within{transition:none;transform:none}}

/* ---- header phone (SEO fixes 2026-10): full number on wide screens, a round call button below that ---- */
.site-header .nav{order:2}
@media (min-width:821px){.site-header .nav{margin-left:auto}}
.hdr-call{order:3;display:inline-flex;align-items:center;gap:8px;flex:none;color:var(--slate-x);font-weight:600;font-size:16px;text-decoration:none;white-space:nowrap;border-radius:999px}
.hdr-call svg{flex:none;color:var(--primary)}
.hdr-call:hover{color:var(--primary)}
.hdr-call:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (max-width:1199px){
  .hdr-call{width:44px;height:44px;justify-content:center;border:2px solid var(--primary)}
  .hdr-call__num{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (max-width:820px){.site-header{gap:10px}.hdr-call{order:1;margin-left:auto}.nav-toggle{order:2;height:44px}}
@media (max-width:480px){.site-header{padding-left:16px;padding-right:16px}}

/* ---- mobile contact bar: Call / Text / Get a Quote, fixed to the bottom on phones and small tablets.
   The body keeps a matching bottom padding (static CSS, so nothing shifts when the bar appears). ---- */
.mbar{display:none}
@media (max-width:820px){
  .mbar{position:fixed;left:0;right:0;bottom:0;z-index:70;display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:var(--slate-x);border-top:3px solid var(--accent);box-shadow:0 -6px 20px rgba(6,31,68,.22)}
  .mbar__btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 10px;border-radius:var(--radius);border:2px solid rgba(255,255,255,.6);color:#fff;font-family:var(--font);font-weight:600;font-size:15px;line-height:1;text-decoration:none;white-space:nowrap}
  .mbar__btn:active{background:rgba(255,255,255,.12)}
  .mbar__btn--quote{background:var(--accent);border-color:var(--accent);color:var(--secondary)}
  .mbar__btn--quote:active{background:#c9a15d}
  .mbar__btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
  body{padding-bottom:calc(67px + env(safe-area-inset-bottom,0px))}
  .cookie{bottom:calc(79px + env(safe-area-inset-bottom,0px))}
  /* the pinned homepage story ends above the bar, so its buttons are never covered */
  body .story--anim .story__stage{height:calc(100vh - var(--hdrc,0px) - 67px);height:calc(100svh - var(--hdrc,0px) - 67px - env(safe-area-inset-bottom,0px));min-height:520px}
}
@media print{.mbar,.hdr-call{display:none}}

/* ---- footer additions ---- */
.site-footer .footer__area{font-size:14px;line-height:1.55;color:#c9d4e3;margin:12px 0 0;max-width:300px}
.site-footer .footer__lic{font-size:14px;color:#aab6bd}
.site-footer .social{margin-top:14px}
.footer__grid .footer__links--1{grid-template-columns:1fr}

/* ---- headings that read as card titles (keeps h1 → h2 order on quote/contact pages) ---- */
.tcard .tcard__h,.quote-help .tcard__h{font-size:24px;margin:0 0 .35em}
.quote-help p{color:#3a4147;margin:0}
.tcard__links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:auto}
.tcard__links .tcard__link{margin-top:0}
.tcard__link--alt{color:var(--slate-d)}
.about2__more{margin-top:18px;font-size:16px;color:#3a4147}
.about2__more--center{text-align:center;max-width:760px;margin:28px auto 0}

/* ---- homepage: coverage lines ---- */
.lines{background:#fff}
.lines .tsec__head .story__eyebrow{color:#8a6424}
.lines .tsec__head a{color:var(--primary)}
.tgrid--4{grid-template-columns:repeat(4,1fr)}
.lines__card{padding:26px 24px 24px}
.lines__card .tart{width:120px}
.lines__card h3{font-size:22px}
.lines__link{color:var(--slate-x);text-decoration:none}
.lines__link:hover{color:var(--primary);text-decoration:underline}
.lines__all{text-align:center;margin:36px 0 0}
.lines__all .btn{white-space:normal;line-height:1.3}
@media (max-width:1100px){.tgrid--4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tgrid--4{grid-template-columns:1fr}}
.story__h .story__eyebrow{font-family:var(--font);line-height:1.4;letter-spacing:.18em}

/* ---- guide pages (/fair-plan/, /home-insurance/ …) and city pages: blog post layout + a few extras ---- */
.guide .post-head .story__eyebrow{margin-bottom:12px}
.guide__ctas{margin-top:24px}
.guide__lede{font-size:1.06em}
.guide-toc{background:var(--grey);border:1px solid #e3e9f1;border-radius:14px;padding:18px 22px;margin:8px 0 1.6em}
.guide-toc__h{font-family:var(--font);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8a6424;margin:0 0 8px}
.prose .guide-toc ol{margin:0;padding-left:1.2em;font-size:16px}
.prose .guide-toc li{margin:.25em 0}
.guide-answer{background:var(--grey);border:1px solid #e3e9f1;border-left:4px solid var(--accent);border-radius:0 14px 14px 0;padding:16px 22px;margin:4px 0 1.6em}
.guide-answer__h{font-family:var(--font);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8a6424;margin:0 0 8px}
.prose .guide-answer ul{margin:0;padding-left:1.2em}
.prose .guide-answer li{margin:.3em 0}
.guide-related{margin-top:64px;border-top:1px solid #e3e9f1}
.page-guide .post-cta{margin-top:56px}
.page-guide .post-disclaimer{margin-bottom:8px}

/* ---- contact page: where I work + FAQ ---- */
.contact-more{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact-more h2{font-size:clamp(26px,2.6vw,32px)}
.contact-more h3{font-size:20px;margin:1.1em 0 .3em}
.contact-more p{color:#3a4147}
@media (max-width:860px){.contact-more{grid-template-columns:1fr;gap:24px}}
.contact-more--single{grid-template-columns:1fr;max-width:820px;margin:0 auto}
/* visually hidden, still read by screen readers and search engines */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* cookie banner (only rendered when a cookie-setting analytics tool is configured): a slim strip on phones */
@media (max-width:820px){
  .cookie{left:8px;right:8px;padding:10px 12px;font-size:13px;line-height:1.45;display:flex;align-items:center;gap:10px;border-radius:10px}
  .cookie p{margin:0;flex:1}
  .cookie div{flex-direction:column;gap:6px}
  .cookie .btn{padding:9px 14px;font-size:13px}
}
/* blog: lite video embeds */
.lite-video{margin:1.6em 0}
.lite-video__btn,.lite-video__frame{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#061f44,var(--slate-x) 60%,#14427a);cursor:pointer}
.lite-video--short .lite-video__btn,.lite-video--short .lite-video__frame{aspect-ratio:9/16;max-width:360px;margin:0 auto}
.lite-video__btn img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.lite-video__play{position:absolute;left:50%;top:50%;width:76px;height:54px;transform:translate(-50%,-50%);border-radius:14px;background:rgba(10,42,87,.82);box-shadow:0 8px 24px rgba(0,0,0,.3);transition:background .2s}
.lite-video__play::after{content:"";position:absolute;left:31px;top:15px;border-style:solid;border-width:12px 0 12px 20px;border-color:transparent transparent transparent #fff}
.lite-video__btn:hover .lite-video__play,.lite-video__btn:focus-visible .lite-video__play{background:var(--accent)}
.lite-video__btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.prose .lite-video figcaption{font-size:14px;color:#6a7480;margin-top:8px;text-align:center}
/* page hero with four buttons (the 404): one row of equal buttons, or an even 2×2 grid on phones — never 3 + 1 */
.phero .story__ctas--4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:600px;margin:0 auto}
.phero .story__ctas--4 .btn{min-width:0;padding:15px 12px;white-space:nowrap}
@media (max-width:640px){.phero .story__ctas--4{grid-template-columns:1fr 1fr;max-width:400px}}

/* Get a Quote: 7 cards, centred rows so no card sits alone on the left (4 + 3 on desktop) */
.tgrid--quotes{display:flex;flex-wrap:wrap;justify-content:center}
.tgrid--quotes>.tcard{flex:0 1 calc(25% - 18px)}
@media (max-width:1100px){.tgrid--quotes>.tcard{flex-basis:calc(33.333% - 16px)}}
@media (max-width:980px){.tgrid--quotes>.tcard{flex-basis:calc(50% - 12px)}}
@media (max-width:640px){.tgrid--quotes>.tcard{flex-basis:100%}}
