/**
 * location.css - bespoke styling for single-stk_location.php (Ontario city pages).
 *
 * Project-owned (NOT canonical). Loaded only on stk_location singulars via the
 * conditional enqueue in functions.php. Everything is scoped under
 * body.single-stk_location so it can never leak into other templates. The four
 * canonical CSS files are never touched.
 *
 * Most of the city template reuses existing components (hero, section-head,
 * industries, process, hire-by-role, service-card, accordion, hire-form). This
 * file only adds the two genuinely new pieces: the per-city testimonial
 * pull-quote, and the office "visit us" map + pin block (office cities only).
 */

/* #contact anchor offset so the sticky header doesn't cover the form heading */
body.single-stk_location .stk-loc-anchor{ display:block; height:0; scroll-margin-top:96px; }

/* ---- Local testimonial pull-quote (per-city trust) -------------------- */
body.single-stk_location .stk-loc-quote-wrap{ text-align:center; }
body.single-stk_location .stk-loc-quote__eyebrow{
	font-family:var(--stk-mono); font-size:var(--stk-pt-micro);
	letter-spacing:.08em; text-transform:uppercase; color:var(--stk-blue);
	margin:0 0 18px;
}
body.single-stk_location .stk-loc-quote{
	max-width:780px; margin:0 auto; padding:0; position:relative;
}
body.single-stk_location .stk-loc-quote__text{
	font-family:var(--stk-display); font-weight:600;
	font-size:clamp(1.35rem, 2.6vw, 2rem); line-height:1.34;
	color:var(--stk-ink); margin:0; quotes:"\201C" "\201D";
}
body.single-stk_location .stk-loc-quote__text::before{ content:open-quote; color:var(--stk-blue); margin-right:.04em; }
body.single-stk_location .stk-loc-quote__text::after{ content:close-quote; color:var(--stk-blue); }
body.single-stk_location .stk-loc-quote__by{
	margin-top:22px; font-size:var(--stk-pt-small); color:var(--stk-ink-2); font-weight:600;
}

/* ---- Office "visit us" map + pin (office cities only) ----------------- */
body.single-stk_location .stk-loc-office{
	display:grid; grid-template-columns:1.5fr 1fr; gap:28px; align-items:stretch;
}
body.single-stk_location .stk-loc-office__map{
	position:relative; min-height:340px; overflow:hidden;
	border:1px solid var(--stk-border); border-radius:var(--stk-r-card);
	background:var(--stk-surface-2);
}
body.single-stk_location .stk-loc-office__map iframe{
	position:absolute; inset:0; width:100%; height:100%; border:0; display:block;
}
body.single-stk_location .stk-loc-office__card{
	display:flex; flex-direction:column; align-items:flex-start; gap:16px;
	padding:32px; background:var(--stk-surface-1);
	border:1px solid var(--stk-border); border-radius:var(--stk-r-card);
}
body.single-stk_location .stk-loc-office__pin{
	display:inline-flex; align-items:center; justify-content:center;
	width:48px; height:48px; border-radius:var(--stk-r-pill);
	background:var(--stk-blue-50); color:var(--stk-blue);
}
body.single-stk_location .stk-loc-office__pin svg{ width:24px; height:24px; }
body.single-stk_location .stk-loc-office__addr{
	font-style:normal; line-height:1.6; color:var(--stk-ink-2); margin:0;
}
body.single-stk_location .stk-loc-office__addr strong{
	display:block; font-family:var(--stk-display); color:var(--stk-ink);
	font-size:var(--stk-pt-h3); margin-bottom:4px;
}
body.single-stk_location .stk-loc-office__tel{
	display:inline-flex; align-items:center; gap:8px; font-weight:600;
	color:var(--stk-ink); text-decoration:none;
}
body.single-stk_location .stk-loc-office__tel svg{ width:18px; height:18px; color:var(--stk-blue); }
body.single-stk_location .stk-loc-office__tel:hover{ color:var(--stk-blue); }
body.single-stk_location .stk-loc-office__card .stk-btn{ margin-top:auto; }

@media (max-width:860px){
	body.single-stk_location .stk-loc-office{ grid-template-columns:1fr; }
	body.single-stk_location .stk-loc-office__map{ min-height:280px; }
}

/* ===================================================================
   v0.45.0 - content-rich location template (ported from approved preview)
   Reuses role.css components; these are the location-only additions.
   =================================================================== */

/* Local trust band */
/* Trust band - street-map watermark (office + served); full-bleed, gradual edge fade */
body.single-stk_location .stk-locmap{position:relative;overflow:hidden;background:#fff;}
body.single-stk_location .stk-locmap__bg{position:absolute;inset:0;z-index:0;background-position:center;background-size:cover;background-repeat:no-repeat;}
body.single-stk_location .stk-locmap__bg .stk-locmap__svg{position:absolute;inset:0;width:100%;height:100%;display:block;}
body.single-stk_location .stk-locmap__fade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,#fff 0%,rgba(255,255,255,0) 22%,rgba(255,255,255,0) 80%,#fff 100%),linear-gradient(to right,#fff 0%,rgba(255,255,255,0) 8%,rgba(255,255,255,0) 92%,#fff 100%);}
body.single-stk_location .stk-locmap__inner{position:relative;z-index:2;min-height:440px;display:flex;align-items:center;justify-content:center;}
body.single-stk_location .stk-locmap__credit{position:absolute;right:14px;bottom:10px;z-index:3;font-size:10px;color:var(--stk-ink-3);opacity:.72;}
body.single-stk_location .stk-locmap__pulse{transform-box:fill-box;transform-origin:center;animation:stk-locpulse 2.2s ease-out infinite;}
@keyframes stk-locpulse{0%{transform:scale(.5);opacity:.55}100%{transform:scale(4);opacity:0}}
@media(prefers-reduced-motion:reduce){body.single-stk_location .stk-locmap__pulse{animation:none;opacity:.4}}
@media(max-width:860px){body.single-stk_location .stk-locmap__inner{min-height:380px;}body.single-stk_location .stk-locmap__quote{padding:28px 22px;}body.single-stk_location .stk-locmap__fade{background:linear-gradient(to bottom,#fff 0%,rgba(255,255,255,0) 16%,rgba(255,255,255,0) 84%,#fff 100%),linear-gradient(to right,#fff 0%,rgba(255,255,255,0) 4%,rgba(255,255,255,0) 96%,#fff 100%);}}

/* Stat strip (4-up) */
body.single-stk_location .stk-loc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px;}
body.single-stk_location .stk-loc-stat{padding:22px 24px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-card);display:flex;flex-direction:column;gap:9px;}
body.single-stk_location .stk-loc-stat__fig{font-family:var(--stk-display);font-weight:800;font-size:1.9rem;line-height:1;color:var(--stk-blue);}
body.single-stk_location .stk-loc-stat__lbl{color:var(--stk-ink-2);font-size:var(--stk-pt-small);line-height:1.45;}
body.single-stk_location .stk-loc-stat__bar{height:4px;background:var(--stk-border);border-radius:3px;overflow:hidden;}
body.single-stk_location .stk-loc-stat__bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--stk-blue),var(--stk-blue-400,#60a5fa));border-radius:3px;transition:width 1.1s cubic-bezier(.22,1,.36,1);}
body.single-stk_location .stk-loc-stats.is-counted .stk-loc-stat__bar i{width:var(--fill,100%);}
@media(max-width:860px){body.single-stk_location .stk-loc-stats{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){body.single-stk_location .stk-loc-stats{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){body.single-stk_location .stk-loc-stat__bar i{transition:none;}}

/* In-demand chips */
body.single-stk_location .stk-loc-demand{margin-top:28px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
body.single-stk_location .stk-loc-demand__label{font-family:var(--stk-mono);font-size:var(--stk-pt-micro);letter-spacing:.1em;text-transform:uppercase;color:var(--stk-ink-3);flex:0 0 auto;}
body.single-stk_location .stk-loc-chips{display:flex;flex-wrap:wrap;gap:9px;}

/* Salary bands + info-tip */
body.single-stk_location .stk-loc-salhead{display:flex;align-items:center;gap:10px;margin:88px 0 6px;}
body.single-stk_location .stk-filled-card__loc::before{content:"\00B7";margin-right:7px;color:var(--stk-ink-3);}
body.single-stk_location .stk-loc-salhead h3{font-family:var(--stk-display);font-weight:700;font-size:var(--stk-pt-h3,1.4rem);color:var(--stk-ink);margin:0;}
body.single-stk_location .stk-loc-salary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:16px;}
body.single-stk_location .stk-loc-salcard{padding:20px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-card);transition:transform .2s,border-color .2s,box-shadow .2s;}
body.single-stk_location .stk-loc-salcard:hover{transform:translateY(-3px);border-color:var(--stk-blue);box-shadow:0 12px 30px rgba(37,99,235,.1);}
body.single-stk_location .stk-loc-salcard__role{font-size:var(--stk-pt-small);color:var(--stk-ink-2);font-weight:600;}
body.single-stk_location .stk-loc-salcard__band{font-family:var(--stk-display);font-weight:800;font-size:1.3rem;color:var(--stk-ink);margin-top:6px;letter-spacing:-.01em;}
body.single-stk_location .stk-loc-salcard__note{font-size:var(--stk-pt-micro);color:var(--stk-ink-3);margin-top:4px;}
@media(max-width:860px){body.single-stk_location .stk-loc-salary{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){body.single-stk_location .stk-loc-salary{grid-template-columns:1fr;}}
body.single-stk_location .stk-infotip{position:relative;display:inline-flex;}
body.single-stk_location .stk-infotip__btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--stk-border);background:var(--stk-surface-1);color:var(--stk-ink-3);cursor:help;padding:0;}
body.single-stk_location .stk-infotip__btn svg{width:13px;height:13px;}
body.single-stk_location .stk-infotip__btn:hover,body.single-stk_location .stk-infotip__btn:focus-visible{color:var(--stk-blue);border-color:var(--stk-blue);outline:none;}
body.single-stk_location .stk-infotip__pop{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(4px);width:260px;background:var(--stk-ink,#0b1220);color:#fff;padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.5;font-family:var(--stk-sans,Inter);opacity:0;visibility:hidden;transition:opacity .16s,transform .16s;z-index:20;box-shadow:0 10px 30px rgba(0,0,0,.25);}
body.single-stk_location .stk-infotip__pop::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--stk-ink,#0b1220);}
body.single-stk_location .stk-infotip:hover .stk-infotip__pop,body.single-stk_location .stk-infotip__btn:focus-visible + .stk-infotip__pop{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}

/* Permanent vs contract CTA row */
body.single-stk_location .stk-loc-ctarow{margin-top:34px;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;}
body.single-stk_location .stk-loc-spectrum{margin-top:26px;color:var(--stk-ink-3);text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;}
body.single-stk_location .stk-loc-nearby__all{margin-top:18px;}
body.single-stk_location .stk-loc-leadaccent{color:var(--stk-blue);font-weight:600;}

/* Screening trio with hover-reveal */
body.single-stk_location .stk-loc-screen{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px;}
body.single-stk_location .stk-loc-screen__card{position:relative;padding:28px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-card);transition:transform .22s,border-color .22s,box-shadow .22s;}
body.single-stk_location .stk-loc-screen__card:hover,body.single-stk_location .stk-loc-screen__card:focus-within{transform:translateY(-4px);border-color:var(--stk-blue);box-shadow:0 16px 40px rgba(37,99,235,.12);}
body.single-stk_location .stk-loc-screen__ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--stk-blue-50);color:var(--stk-blue);margin-bottom:16px;}
body.single-stk_location .stk-loc-screen__ico svg{width:22px;height:22px;}
body.single-stk_location .stk-loc-screen__h{font-family:var(--stk-display);font-weight:700;font-size:1.12rem;color:var(--stk-ink);margin:0 0 8px;}
body.single-stk_location .stk-loc-screen__d{color:var(--stk-ink-2);font-size:var(--stk-pt-small);line-height:1.5;margin:0;}
body.single-stk_location .stk-loc-screen__more{max-height:0;opacity:0;overflow:hidden;transition:max-height .3s ease,opacity .3s ease,margin-top .3s ease;margin-top:0;color:var(--stk-ink-2);font-size:var(--stk-pt-small);line-height:1.5;border-top:1px solid transparent;}
body.single-stk_location .stk-loc-screen__card:hover .stk-loc-screen__more,body.single-stk_location .stk-loc-screen__card:focus-within .stk-loc-screen__more{max-height:140px;opacity:1;margin-top:14px;padding-top:14px;border-top-color:var(--stk-border);}
@media(max-width:860px){body.single-stk_location .stk-loc-screen{grid-template-columns:1fr;}body.single-stk_location .stk-loc-screen__more{max-height:none;opacity:1;margin-top:14px;padding-top:14px;border-top-color:var(--stk-border);}}

/* Priority role rich cards (as links) */
body.single-stk_location .stk-loc-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
body.single-stk_location a.stk-loc-role{display:block;padding:24px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-card);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;}
body.single-stk_location a.stk-loc-role:hover{transform:translateY(-3px);border-color:var(--stk-blue);box-shadow:0 14px 34px rgba(37,99,235,.1);}
body.single-stk_location .stk-loc-role__top{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
body.single-stk_location .stk-loc-role__ico{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:var(--stk-blue-50);color:var(--stk-blue);flex:0 0 auto;}
body.single-stk_location .stk-loc-role__ico svg{width:20px;height:20px;}
body.single-stk_location .stk-loc-role__name{font-family:var(--stk-display);font-weight:700;font-size:1.08rem;color:var(--stk-ink);margin:0;flex:1;}
body.single-stk_location .stk-loc-role__arrow{width:18px;height:18px;color:var(--stk-blue);transition:transform .2s;flex:0 0 auto;}
body.single-stk_location a.stk-loc-role:hover .stk-loc-role__arrow{transform:translateX(4px);}
body.single-stk_location .stk-loc-role__d{color:var(--stk-ink-2);font-size:var(--stk-pt-small);line-height:1.5;margin:0;}
@media(max-width:860px){body.single-stk_location .stk-loc-roles{grid-template-columns:1fr;}}

/* Recent placements */

/* Nearby cities chip-links */
body.single-stk_location .stk-loc-nearby{margin-top:28px;}
body.single-stk_location .stk-loc-nearby__label{font-family:var(--stk-mono);font-size:var(--stk-pt-micro);letter-spacing:.1em;text-transform:uppercase;color:var(--stk-ink-3);margin:0 0 12px;}
body.single-stk_location .stk-loc-nearby__list{display:flex;flex-wrap:wrap;gap:10px;}
body.single-stk_location a.stk-loc-city{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-pill,999px);color:var(--stk-ink);text-decoration:none;font-size:var(--stk-pt-small);font-weight:600;transition:border-color .18s,color .18s,transform .18s;}
body.single-stk_location a.stk-loc-city:hover{border-color:var(--stk-blue);color:var(--stk-blue);transform:translateY(-2px);}
body.single-stk_location a.stk-loc-city svg{width:14px;height:14px;color:var(--stk-blue);}

/* Resources band */
body.single-stk_location .stk-loc-res{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
body.single-stk_location a.stk-loc-rescard{display:flex;flex-direction:column;padding:24px;background:var(--stk-surface-1);border:1px solid var(--stk-border);border-radius:var(--stk-r-card);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s;}
body.single-stk_location a.stk-loc-rescard:hover{transform:translateY(-4px);border-color:var(--stk-blue);box-shadow:0 16px 38px rgba(37,99,235,.1);}
body.single-stk_location .stk-loc-rescard__ico{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--stk-blue-50);color:var(--stk-blue);margin-bottom:14px;}
body.single-stk_location .stk-loc-rescard__ico svg{width:21px;height:21px;}
body.single-stk_location .stk-loc-rescard__t{font-family:var(--stk-display);font-weight:700;font-size:1.02rem;color:var(--stk-ink);margin:0 0 6px;}
body.single-stk_location .stk-loc-rescard__d{color:var(--stk-ink-2);font-size:var(--stk-pt-small);line-height:1.45;margin:0 0 14px;flex:1;}
body.single-stk_location .stk-loc-rescard__go{display:inline-flex;align-items:center;gap:6px;color:var(--stk-blue);font-size:var(--stk-pt-small);font-weight:600;}
body.single-stk_location .stk-loc-rescard__go svg{width:14px;height:14px;transition:transform .2s;}
body.single-stk_location a.stk-loc-rescard:hover .stk-loc-rescard__go svg{transform:translate(3px,-3px);}
@media(max-width:860px){body.single-stk_location .stk-loc-res{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){body.single-stk_location .stk-loc-res{grid-template-columns:1fr;}}

/* Office card watermark + comp banner (carried from v9) */
body.single-stk_location .stk-loc-office__card{position:relative;overflow:hidden;}
body.single-stk_location .stk-loc-office__card > *:not(.stk-loc-office__watermark){position:relative;z-index:1;}
body.single-stk_location .stk-loc-office__watermark{position:absolute;right:-26px;bottom:-34px;width:184px;height:184px;color:var(--stk-blue);opacity:.08;pointer-events:none;z-index:0;}
body.single-stk_location .stk-loc-office__watermark *{stroke-width:1.4;}
body.single-stk_location .stk-role-cost{justify-content:space-between;gap:32px;position:relative;overflow:hidden;padding-left:126px;}
body.single-stk_location .stk-role-cost .stk-btn{flex:0 0 auto;position:relative;z-index:1;}
body.single-stk_location .stk-loc-cost__bg{position:absolute;inset:0;color:var(--stk-blue-400,#60a5fa);opacity:.28;pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 30%,#000 80%);mask-image:linear-gradient(to right,transparent 0%,transparent 30%,#000 80%);}
body.single-stk_location .stk-loc-cost__bg svg{position:absolute;inset:0;width:100%;height:100%;display:block;}
body.single-stk_location .stk-loc-cost__copy{position:relative;z-index:1;}
body.single-stk_location .stk-loc-cost__eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 9px;font-family:var(--stk-mono);font-weight:700;font-size:11px;line-height:1;letter-spacing:.18em;text-transform:uppercase;color:var(--stk-blue-400,#60a5fa);}
body.single-stk_location .stk-loc-cost__eyebrow i{display:block;width:22px;height:2px;background:var(--stk-blue-400,#60a5fa);border-radius:2px;opacity:.8;}
body.single-stk_location .stk-loc-cost__head{margin:0 0 8px;font-family:var(--stk-display);font-weight:700;font-size:1.5rem;line-height:1.18;color:var(--stk-white,#fff);letter-spacing:-.01em;}
body.single-stk_location .stk-loc-cost__head span{color:var(--stk-blue-400,#60a5fa);}
body.single-stk_location .stk-loc-cost__sub{margin:0;font-size:14px;line-height:1.5;color:var(--stk-muted-3,#9aa7bd);max-width:48ch;}
body.single-stk_location .stk-loc-cost__ribbon{position:absolute;top:0;left:0;width:132px;height:132px;overflow:hidden;z-index:3;pointer-events:none;}
body.single-stk_location .stk-loc-cost__ribbon span{position:absolute;top:30px;left:-54px;width:210px;transform:rotate(-45deg);text-align:center;padding:7px 0;background:linear-gradient(135deg,var(--stk-blue,#2563eb) 0%,#1d4ed8 100%);color:#fff;font-family:var(--stk-mono);font-weight:700;font-size:11px;line-height:1;letter-spacing:.16em;text-transform:uppercase;box-shadow:0 3px 12px rgba(2,6,23,.5);}
@media(max-width:680px){body.single-stk_location .stk-role-cost{padding-left:32px;justify-content:flex-start;}body.single-stk_location .stk-loc-cost__ribbon{display:none;}body.single-stk_location .stk-loc-cost__head{font-size:1.3rem;}}
