/*
Theme Name: Stephen Armstrong
Description: Custom theme for stephenarmstrong.ca. Strategy, creatively.
Version: 1.0
Author: Stephen Armstrong
*/
html,body{margin:0;padding:0;background:#F3F0E8}
body{-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}a:hover{opacity:.7}
#wpadminbar{position:fixed}
.fluentform .ff-el-form-control{border:1.5px solid #121212;border-radius:0;min-height:48px}
.fluentform .ff-btn-submit{background:#2F3CFF!important;color:#fff!important;border-radius:0!important;padding:16px 32px!important;font-weight:500}
@media(max-width:820px){
 h1{font-size:52px!important;line-height:1!important}
 h2{font-size:36px!important}
 img{height:auto!important;max-height:460px}
}
summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}details[open] .pl{transform:rotate(45deg)}
.sa-article h2{font-family:'Space Grotesk',sans-serif;font-size:32px;letter-spacing:-.02em;line-height:1.1;margin:48px 0 12px}
.sa-article p{margin:0 0 18px}.sa-article a{color:#2F3CFF;text-decoration:underline}
.sa-article ul{padding-left:22px;margin:0 0 16px}.sa-article li{margin:0 0 8px}
.sa-article img{max-width:100%;height:auto!important;max-height:none!important;display:block}
.sa-article figure{margin:32px 0}
.sa-article figcaption{font-size:14px;opacity:.7;margin-top:8px}
.sa-article .wp-block-image,.sa-article .wp-block-gallery{margin:32px 0}
.sa-article .alignwide,.sa-article .alignfull{max-width:100%}
.sa-nav-t{position:absolute;opacity:0;pointer-events:none}.sa-burger{display:none;border:1.5px solid #121212;padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer}.sa-nav-t:focus-visible+.sa-burger{outline:2px solid #2F3CFF;outline-offset:2px}@media(max-width:820px){.sa-burger{display:block}.sa-links{display:none!important;flex-direction:column;width:100%;gap:0!important}.sa-nav-t:checked~.sa-links{display:flex!important}.sa-links a{padding:14px 0;border-top:1px solid rgba(18,18,18,.15)}}
.sa-tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;margin-left:16px;padding-left:16px;border-left:1.5px solid #121212;line-height:1.3;max-width:170px}.sa-dd{position:relative;display:inline-block}.sa-dd-menu{display:none;position:absolute;top:100%;left:-18px;min-width:230px;background:#fff;border:1.5px solid #121212;padding:8px 0;z-index:60}.sa-dd:hover .sa-dd-menu,.sa-dd:focus-within .sa-dd-menu{display:block}.sa-dd-menu a{display:block;padding:10px 18px;white-space:nowrap}html{scroll-padding-top:84px}.admin-bar .sa-header{top:32px}@media(max-width:1060px){.sa-tag{display:none}}@media(max-width:820px){.sa-dd{display:block}.sa-dd-menu{display:block;position:static;border:0;padding:0 0 0 16px;min-width:0}.sa-dd-menu a{padding:10px 0;border-top:1px solid rgba(18,18,18,.1);font-size:14px}}
body{overflow-x:clip}

.cc{max-width:820px;margin:0 auto;padding:56px 32px 112px}.cc h1{font-family:'Space Grotesk',sans-serif;font-size:72px;line-height:.98;letter-spacing:-.04em;margin:0 0 20px}.cc h2{font-family:'Space Grotesk',sans-serif;font-size:36px;letter-spacing:-.03em;line-height:1.1;margin:0 0 20px}.cc h3{font-family:'Space Grotesk',sans-serif;font-size:24px;margin:36px 0 10px}.cc h1:focus,.cc h2:focus{outline:none}
.cc-eye{margin:0 0 12px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:#2F3CFF}.cc-lead{font-size:21px;max-width:640px}.cc-note{font-size:14px;opacity:.85}.cc-list{padding-left:22px;margin:16px 0}.cc-list li{margin:0 0 8px}
.cc-bar{height:6px;background:rgba(18,18,18,.12);margin:0 0 28px}.cc-bar span{display:block;height:100%;background:#2F3CFF}.cc-opts{margin:24px 0}
.cc-opt{display:block;width:100%;text-align:left;font:inherit;font-size:17px;border:1.5px solid #121212;background:#fff;color:#121212;padding:16px 18px;margin:0 0 10px;cursor:pointer;min-height:52px}.cc-opt:hover{background:#ECE8DD}.cc-opt[aria-pressed=true]{background:#121212;color:#F3F0E8}
.cc-opt:focus-visible,.cc-btn:focus-visible,.cc-ta:focus-visible{outline:3px solid #2F3CFF;outline-offset:2px}.cc-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 0}
.cc-btn{font:inherit;font-weight:500;padding:14px 26px;border:1.5px solid #121212;cursor:pointer;text-decoration:none;display:inline-block;background:transparent;color:#121212;min-height:48px;box-sizing:border-box}.cc-btn.pri{background:#2F3CFF;border-color:#2F3CFF;color:#fff}.cc-btn[disabled]{opacity:.4;cursor:not-allowed}.cc-btn.sm{padding:8px 14px;min-height:0;font-size:14px}
.cc-ta{width:100%;box-sizing:border-box;font:inherit;border:1.5px solid #121212;padding:14px;background:#fff;color:#121212}.cc-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1.5px solid #121212;padding:14px 0}.cc-rq{font-size:13px;opacity:.7}
.cc-card{background:#fff;padding:28px;margin:28px 0}.cc-card.dark{background:#121212;color:#F3F0E8}.cc-card.dark .cc-eye{color:#F3F0E8;opacity:.75}.cc-card h2{margin:0 0 6px}.cc-tag{font-family:'Space Grotesk',sans-serif;font-size:22px;margin:0 0 14px}.cc-two{display:flex;gap:32px;flex-wrap:wrap}.cc-two>div{flex:1 1 300px}.cc-q{margin:0;padding-left:16px;border-left:3px solid #2F3CFF;font-size:18px}
@media(max-width:820px){.cc h1{font-size:48px}.cc h2{font-size:30px}.cc{padding:40px 20px 80px}}
@media print{.sa-header,.sa-footer,.cc-noprint{display:none!important}.cc{padding:0}.cc-card.dark{background:#fff;color:#121212;border:1.5px solid #121212}body{background:#fff}}

@media(max-width:820px){.sa-trail-line{display:none}}

.mc-q{padding:20px 0;border-top:1.5px solid #121212}.cc-rate{display:flex;gap:8px;flex-wrap:wrap}.cc-r{font:inherit;font-size:15px;border:1.5px solid #121212;background:#fff;color:#121212;padding:10px 16px;cursor:pointer;min-height:44px;flex:1 1 90px}.cc-r:hover{background:#ECE8DD}.cc-r[aria-pressed=true]{background:#121212;color:#F3F0E8}.cc-r:focus-visible{outline:3px solid #2F3CFF;outline-offset:2px}

/* ---- Mobile tightening (desktop unchanged) ---- */
@media(max-width:820px){
 .sa-swipe{flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;margin-left:-32px;margin-right:-32px;padding:0 32px 14px;-webkit-overflow-scrolling:touch;scroll-padding-left:32px}
 .sa-swipe>a{flex:0 0 76%!important;scroll-snap-align:start;min-height:0!important}
 .sa-swipe img{height:170px!important;max-height:170px;object-fit:cover}
 [style*="min-height:340px"],[style*="min-height:200px"]{min-height:0!important}
 [style*="padding:112px 32px"],[style*="padding:96px 32px"],[style*="padding:88px 32px"],[style*="padding:80px 32px"],[style*="padding:72px 32px"]{padding-top:48px!important}
 [style*="padding:112px 32px;"],[style*="padding:96px 32px;"],[style*="padding:88px 32px;"],[style*="padding:80px 32px;"],[style*="padding:72px 32px;"],[style*="px 32px 112px"],[style*="px 32px 128px"],[style*="px 32px 96px"]{padding-bottom:48px!important}
 [style*="height:520px;min-width:300px"]{height:340px!important}
 [style*="width:340px;height:340px;border-radius:50%"]{width:230px!important;height:230px!important}
 [style*="width:170px;height:170px;border:2px solid"]{width:110px!important;height:110px!important}
 [src*="headshot.jpg"]{max-height:300px!important;object-fit:cover}
 [style*="font-size:36px;line-height:1.25"]{font-size:23px!important;overflow-wrap:anywhere}
 [style*="font-size:64px;line-height:1.05"]{font-size:34px!important}
 [style*="font-size:220px"]{font-size:120px!important;height:60px!important}
 [style*="font-size:80px;line-height:.95"]{font-size:46px!important}
}

@media(max-width:820px){.sa-deco{display:none!important}}

/* ---- Homepage mobile compact pass (desktop unchanged) ---- */
.sa-hint{display:none}
@media(max-width:820px){
 .sa-hero{padding:22px 20px 28px!important;gap:0!important;position:relative}
 .sa-hero-txt{flex:1 1 100%!important}
 .sa-kick{font-size:10px!important;letter-spacing:.12em!important;margin:0 0 14px!important;max-width:calc(100% - 140px);min-height:150px;line-height:1.5}
 .sa-hero-vis{position:absolute!important;top:22px;right:20px;width:128px!important;min-width:0!important;height:150px!important;flex:none!important}
 .sa-hero-vis>div:first-child{width:96px!important;height:96px!important;right:0!important;top:0!important}
 .sa-hero-vis img{width:104px!important;height:136px!important;max-height:none!important;left:0!important;bottom:0!important}
 .sa-hero-vis>div:last-child{width:48px!important;height:48px!important;right:6px!important;bottom:10px!important;border-width:1.5px!important}
 .sa-h1{font-size:40px!important;line-height:.98!important}
 .sa-lede{font-size:16px!important;margin:16px 0 0!important}
 .sa-lede2{font-size:14px!important;margin:10px 0 0!important}
 .sa-hero-btns{margin-top:18px!important;gap:10px!important;flex-wrap:nowrap!important}
 .sa-hero-btns a{padding:11px 14px!important;font-size:13px!important;white-space:nowrap}
 .sa-stats>div{padding:12px 16px!important;gap:6px!important;flex-wrap:nowrap!important;justify-content:space-between!important}
 .sa-stats>div>div{min-width:0;text-align:center;flex:1 1 0}
 .sa-stats>div>div>div:first-child{font-size:15px!important;line-height:1.1;white-space:nowrap}
 .sa-stats>div>div>div:last-child{font-size:8px!important;line-height:1.2;margin-top:2px;opacity:.85}
 .sa-sec-work{padding:32px 20px 0!important}
 .sa-h2{font-size:26px!important;line-height:1.1!important;margin-bottom:14px!important}
 .sa-h2-nw{white-space:nowrap;display:flex;justify-content:space-between;align-items:baseline}
 .sa-hint{display:inline;color:#2F3CFF;font-size:24px;font-weight:400}
 .sa-sec-work .sa-swipe{margin-left:-20px!important;margin-right:-20px!important;padding:0 20px 8px!important;scroll-padding-left:20px!important}
 .sa-sec-work .sa-swipe>a{flex:0 0 66%!important}
 .sa-sec-work .sa-swipe img{height:120px!important;max-height:120px!important}
 .sa-sec-work .sa-swipe h3{font-size:18px!important;margin:2px 0 4px!important}
 .sa-sec-work .sa-swipe p{font-size:13px!important}
 .sa-sec-work .sa-swipe>a>div{margin-top:8px!important}
 .sa-seeall{margin:8px 0 0!important;font-size:13px}
 .sa-sec-svc{padding:24px 20px 8px!important}
 .sa-sec-svc>p{margin-bottom:10px!important;font-size:14px}
 .sa-flow{flex-wrap:nowrap!important;gap:6px!important;margin:0 0 14px!important;font-size:13px!important}
 .sa-flow span{padding:6px 10px!important;white-space:nowrap}
 .sa-flow span:nth-child(even){padding:0!important}
 .sa-three{gap:0!important}
 .sa-three>div{flex:1 1 100%!important;padding-top:8px!important;border-top-width:2px!important;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding-bottom:8px}
 .sa-three>div>div:first-child{font-size:11px!important}
 .sa-three h3{font-size:18px!important;margin:0!important}
 .sa-three>div>div:nth-child(3){font-size:10px!important;margin:0!important}
 .sa-three p{display:none}
 .sa-about{padding:16px 20px 24px!important;gap:14px!important}
 .sa-about img{height:170px!important;flex:1 1 100%!important;max-width:none!important}
 .sa-about p{font-size:14px!important;margin-bottom:10px!important}
 .sa-about a{font-size:14px}
 .sa-ways{padding:24px 20px!important}
 .sa-ways-p{font-size:14px!important;margin-bottom:16px!important}
 .sa-ways .sa-swipe{margin-left:-20px!important;margin-right:-20px!important;padding:0 20px 8px!important;scroll-padding-left:20px!important}
 .sa-ways .sa-swipe>a{flex:0 0 62%!important;padding:18px!important}
 .sa-ways .sa-swipe svg{width:36px!important;height:36px!important}
 .sa-ways .sa-swipe h3{font-size:22px!important}
 .sa-ways .sa-swipe p{font-size:13px!important}
 .sa-coach-wrap{padding:24px 20px 40px!important}
 .sa-coach{padding:22px 18px!important;gap:14px!important;flex-wrap:nowrap!important;align-items:flex-start!important}
 .sa-coach-txt{flex:1 1 auto!important;min-width:0}
 .sa-coach-txt>p:first-child{font-size:10px!important;margin-bottom:8px!important}
 .sa-coach-h{font-size:26px!important;margin-bottom:8px!important}
 .sa-coach-p{font-size:12.5px!important;line-height:1.45;margin-bottom:14px!important}
 .sa-coach-txt>div{gap:8px!important}
 .sa-coach-txt>div a{padding:10px 12px!important;font-size:12.5px!important}
 .sa-coach-b2{display:none!important}
 .sa-coach-tags{flex:0 0 112px!important;gap:8px!important;font-size:13px!important;line-height:1.2}
 .sa-coach-tags a{padding:10px 10px!important}
}
@media(max-width:820px){
 .sa-stats>div>div:nth-child(2){flex:1.7 1 0}
 .sa-stats>div>div>div:first-child{font-size:14px!important}
 .sa-sec-svc{padding-bottom:0!important}
}

/* ---- Sitewide mobile compact pass (desktop unchanged) ---- */
@media(max-width:820px){
 h1[style]{font-size:42px!important;line-height:1!important;margin-bottom:12px!important}
 h2[style]{font-size:27px!important;line-height:1.1!important;margin-bottom:14px!important}
 h3[style]{font-size:20px!important;line-height:1.15!important}
 [style*="font-size:21px"],[style*="font-size:20px;max-width"],[style*="font-size:19px"]{font-size:16px!important}
 [style*="font-size:18px"]{font-size:15px!important}
 [style*="font-size:17px"]{font-size:15px!important}
 [style*="font-size:30px;line-height:1.2"],[style*="font-size:28px;line-height"]{font-size:20px!important}
 [style*="font-size:48px;font-weight:700"],[style*="font-size:44px;font-weight:700"],[style*="font-size:56px;font-weight:700"]{font-size:30px!important}
 [style*="font-size:64px;font-weight:700"],[style*="font-size:64px;line-height:.9"]{font-size:36px!important}
 [style*="padding:112px 32px"],[style*="padding:96px 32px"],[style*="padding:88px 32px"],[style*="padding:80px 32px"],[style*="padding:72px 32px"],[style*="padding:64px 32px"]{padding-top:32px!important}
 [style*="px 32px 112px"],[style*="px 32px 128px"],[style*="px 32px 96px"],[style*="px 32px 88px"],[style*="px 32px 72px"],[style*="px 32px 56px"],[style*="padding:88px 32px;"],[style*="padding:80px 32px;"],[style*="padding:72px 32px;"],[style*="padding:96px 32px;"]{padding-bottom:32px!important}
 [style*="px 32px 40px;display:flex;justify-content:space-between"]{padding:28px 20px 24px!important;gap:20px!important}
 [style*="padding:0 32px"],[style*="px 32px"]{padding-left:20px!important;padding-right:20px!important}
 [style*="gap:48px"],[style*="gap:56px"],[style*="gap:64px"],[style*="gap:40px"]{gap:18px!important}
 [style*="margin:0 0 48px"],[style*="margin:0 0 56px"],[style*="margin:0 0 40px"],[style*="margin:0 0 36px"]{margin-bottom:20px!important}
 [style*="margin:48px 0 0"],[style*="margin:56px 0 0"],[style*="margin-top:56px"],[style*="margin-top:48px"],[style*="margin:40px 0 0"]{margin-top:20px!important}
 [style*="padding:28px"],[style*="padding:32px;"],[style*="padding:36px"],[style*="padding:40px;"],[style*="padding:56px 40px"]{padding:18px!important}
 [style*="object-fit:cover"]{max-height:230px}
 .sa-swipe>div{flex:0 0 76%!important;scroll-snap-align:start;min-height:0!important}
 [style*="min-height:3"],[style*="min-height:4"]{min-height:0!important}
}
@media(max-width:820px){
 [style*="font-size:34px"],[style*="font-size:32px"],[style*="font-size:36px;letter"],[style*="font-size:38px"],[style*="font-size:40px"]{font-size:23px!important;line-height:1.15!important}
}

/* ---- Mobile: stacked compact rows instead of swipe, tap-to-open sections ---- */
.sa-morebtn{display:none}
@media(max-width:820px){
 .sa-swipe{flex-direction:column!important;flex-wrap:nowrap!important;overflow:visible!important;margin-left:0!important;margin-right:0!important;padding:0!important;gap:10px!important;scroll-snap-type:none!important}
 .sa-swipe>*{flex:none!important;width:100%!important;min-height:0!important;box-sizing:border-box}
 .sa-hint{display:none!important}
 .sa-sec-work .sa-swipe>a{display:grid!important;grid-template-columns:84px 1fr;column-gap:14px;align-items:start;padding:0!important}
 .sa-sec-work .sa-swipe>a img{grid-row:1/4;width:84px!important;height:84px!important;max-height:84px!important}
 .sa-sec-work .sa-swipe>a>div{margin:0!important;font-size:11px!important}
 .sa-sec-work .sa-swipe>a h3{font-size:16px!important;margin:1px 0 3px!important}
 .sa-sec-work .sa-swipe>a p{font-size:12.5px!important;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .sa-ways .sa-swipe>a{padding:14px 16px!important}
 .sa-ways .sa-swipe>a>div:first-child>svg{width:26px!important;height:26px!important}
 .sa-ways .sa-swipe>a h3{font-size:19px!important;margin:4px 0 6px!important}
 .sa-ways .sa-swipe>a p{font-size:13px!important}
 .sa-ways .sa-swipe>a>div:last-child{margin-top:8px!important;font-size:13px!important}
 .sa-swipe>div{padding:14px 16px!important}
 .sa-more[hidden]{display:none!important}
 .sa-morebtn{display:inline-flex;align-items:center;gap:10px;margin:14px 0 0;padding:9px 16px;border:1.5px solid currentColor;background:transparent;color:inherit;font:600 13px 'Inter',sans-serif;letter-spacing:.02em;cursor:pointer;border-radius:0}
 .sa-morebtn b{font-size:17px;line-height:1;font-weight:500}
 .sa-more{margin-top:8px}
}
@media(min-width:821px){.sa-more[hidden]{display:block!important}.sa-morebtn{display:none!important}}
@media(max-width:820px){
 .sa-foldinner{padding-bottom:26px!important}
 .sa-ways .sa-swipe>a>div:first-child>svg,.sa-ways .sa-swipe>a>div:first-child>div:nth-of-type(2),.sa-ways .sa-swipe>a>div:last-child{display:none!important}
 .sa-ways .sa-swipe>a{padding:12px 14px!important}
 .sa-ways .sa-swipe>a>div:first-child>div:first-of-type{margin-top:0!important}
}
@media(max-width:820px){
 .sa-swipe>a:has(>div>svg)>div:first-child>svg,.sa-swipe>a:has(>div>svg)>div:first-child>div:nth-of-type(2),.sa-swipe>a:has(>div>svg)>div:last-child{display:none!important}
 .sa-swipe>a:has(>div>svg){padding:12px 14px!important;min-height:0!important}
 .sa-swipe>a:has(>div>svg) h3{font-size:19px!important;margin:4px 0 6px!important}
 .sa-swipe>a:has(>div>svg) p{font-size:13px!important}
 .sa-swipe>a:has(>div>svg)>div:first-child>div:first-of-type{margin-top:0!important}
}

/* ---- Two-tier mobile nav ---- */
.sa-ddt{display:none}
@media(max-width:820px){
 .sa-links{align-items:stretch!important;text-align:left;max-height:calc(100vh - 80px);overflow-y:auto;padding-bottom:8px}
 .sa-links>a{padding:14px 0!important;font-size:17px;font-weight:500;border-top:1px solid rgba(18,18,18,.15)}
 .sa-dd{display:flex!important;flex-wrap:wrap;align-items:stretch;justify-content:space-between;border-top:1px solid rgba(18,18,18,.15)}
 .sa-dd>a:first-child{flex:1;padding:14px 0!important;font-size:17px;font-weight:500;border-top:0!important}
 .sa-ddt{display:block;width:52px;border:0;border-left:1px solid rgba(18,18,18,.15);background:transparent;font:400 22px 'Inter',sans-serif;color:inherit;cursor:pointer}
 .sa-dd .sa-dd-menu{display:none!important;flex:0 0 100%;padding:0 0 10px 14px!important;background:transparent!important;border:0!important;position:static!important}
 .sa-dd.is-open .sa-dd-menu{display:block!important}
 .sa-dd-menu a{padding:9px 0!important;font-size:14px!important;font-weight:400;border-top:1px solid rgba(18,18,18,.08)!important}
 .sa-links>a[href="/contact/"]{color:#2F3CFF}
}
@media(max-width:820px){.sa-peek{max-height:190px;overflow:hidden;margin-top:14px!important}.sa-peek>div:first-child{height:190px!important}}
@media(max-width:820px){.sa-svc-photo{flex:1 1 100%!important}.sa-svc-photo img{height:230px!important;object-position:50% 20%!important}}
@media(max-width:820px){.sa-peek.sa-peekfull{max-height:none!important;overflow:visible}.sa-peekfull svg,.sa-peekfull img{max-width:100%;height:auto}}
@media(max-width:820px){.sa-peekclone{margin:14px 0 0}.sa-peekclone svg,.sa-peekclone img{display:block;max-width:100%;height:auto;max-height:none!important;margin:0 auto}}
@media(max-width:820px){
 img[src*="wg-logo.png"][style*="position:absolute"]{top:auto!important;bottom:8px!important;right:8px!important;width:56px!important;height:56px!important;transform:rotate(-8deg)!important}
 [style*="position:absolute;left:0;bottom:0;background:#121212;color:#fff;padding:16px 22px"]{padding:7px 10px!important;max-width:62%!important}
 [style*="position:absolute;left:0;bottom:0;background:#121212;color:#fff;padding:16px 22px"]>div:first-child{font-size:22px!important}
 [style*="position:absolute;left:0;bottom:0;background:#121212;color:#fff;padding:16px 22px"]>div:last-child{font-size:9px!important;margin-top:2px!important;line-height:1.25}
}
/* desktop: no +/- toggle, hover menus only */
@media(min-width:821px){.sa-ddt{display:none!important}}
/* skills fold */
.sa-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;background:#2F3CFF;color:#fff;padding:14px 20px;max-width:460px;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:19px}
.sa-fold>summary::-webkit-details-marker{display:none}
.sa-fold>summary span{flex:1}
.sa-fold>summary b{font-size:26px;line-height:1;transition:transform .2s}
.sa-fold[open]>summary b{transform:rotate(45deg)}
.sa-fold>summary:hover{background:#121212}
