/* AVRK Canada. Colours are sampled from the shield logo.
   The signature move is the logo's fold: bright red on the left, deeper red on the right. */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --red: #E0121C;         /* shield, left */
  --red-fold: #C92428;    /* shield, right */
  --charcoal: #2B2627;
  --charcoal-2: #221E1F;
  --maple: #F4F3F2;       /* leaf, left */
  --maple-shade: #ECEBE9; /* leaf, right */
  --white: #FFFFFF;
  --muted: #5E5657;
  --rule: #DCD8D7;
  --error: #B3141C;
  --fold: linear-gradient(90deg, var(--red) 50%, var(--red-fold) 50%);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 9vw, 7rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(43,38,39,.06), 0 2px 6px rgba(43,38,39,.06);
  --shadow-md: 0 2px 4px rgba(43,38,39,.05), 0 12px 28px rgba(43,38,39,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--red-fold); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .band-dark :focus-visible, .band-red :focus-visible, .page-head :focus-visible, .site-footer :focus-visible, .apply-bar :focus-visible { outline-color: var(--white); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--charcoal); color: var(--white); padding: 0.6rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.plain { list-style: none; padding: 0; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- type ---------- */
.kicker { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-fold); margin: 0 0 0.75rem; }
.band-dark .kicker, .band-red .kicker { color: rgba(255,255,255,.75); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.02; letter-spacing: -0.005em; margin: 0 0 1.1rem; max-width: 20ch; }
.h2::before { content: ""; display: block; width: 3rem; height: 6px; margin-bottom: 1rem; background: var(--fold); transform-origin: left center; transition: transform .8s var(--ease) .15s; }
.kicker + .h2::before { display: none; }
.kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 2rem; height: 4px; margin: -2px 0.7rem 0 0; background: var(--fold); transform-origin: left center; transition: transform .8s var(--ease) .15s; }
.band-dark .kicker::before, .band-red .kicker::before, .band-dark .h2::before { background: linear-gradient(90deg, var(--white) 50%, var(--maple-shade) 50%); }
.h3 { font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1.15; margin: 0 0 0.45rem; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 38rem; }
.note { font-size: 0.9375rem; color: var(--muted); max-width: 42rem; margin-top: 2rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.45rem; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: 0.01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red-fold); color: var(--white); }
.btn-red:hover { background: var(--red); box-shadow: 0 8px 20px rgba(201,36,40,.28); }
.btn-white { background: var(--white); color: var(--red-fold); }
.btn-white:hover { background: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--rule); transition: box-shadow .3s var(--ease), border-color .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43,38,39,.1); border-bottom-color: transparent; }
.header-row { display: flex; align-items: center; gap: 1.75rem; min-height: 4.5rem; }
.brand { margin-right: auto; display: block; padding: 0.5rem 0; }
.logo { height: auto; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; padding: 0; }
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; padding: 0.45rem 0; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 3px; transition: background-size .3s var(--ease), color .2s; }
.nav a:hover, .nav a[aria-current] { background-size: 100% 3px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.4rem; height: 2px; background: var(--charcoal); position: relative; transition: transform .25s var(--ease), top .25s var(--ease), background-color .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; } .menu-icon::after { top: 7px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu ul { list-style: none; position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--white); padding: 0.5rem; margin: 0; border-radius: 10px; min-width: 13rem; border: 1px solid var(--rule); box-shadow: 0 14px 30px rgba(43,38,39,.18); }
.menu[open] ul { animation: menu-in .22s var(--ease) both; }
.menu ul a { display: block; padding: 0.75rem 1rem; color: var(--charcoal); text-decoration: none; font-weight: 600; border-radius: 6px; }
.menu ul a:hover { background: var(--maple); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- hero: the fold ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--fold); color: var(--white); padding: clamp(3.5rem, 10vw, 8rem) 0 clamp(6rem, 12vw, 9.5rem); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.13) 50%, transparent 65%); transform: translateX(-100%); }
.hero-inner { position: relative; }
/* real street map under the hero (OpenStreetMap), faded out behind the text */
.hero-map { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.3) 38%, #000 62%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.3) 38%, #000 62%); }
.hero-roads, .hero-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-roads { object-fit: cover; object-position: right center; opacity: .9; }
.hero-route { overflow: visible; }
.route-glow { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.route-line { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.route-stops .stop rect { fill: #fff; }
.route-stops .stop .stop-box { fill: var(--red-fold); }
.route-stops .stop, .route-end .pulse { transform-box: fill-box; transform-origin: center; }
.route-end .end-dot { fill: #fff; }
.route-end .end-core { fill: var(--red-fold); }
.route-end .pulse { fill: none; stroke: #fff; stroke-width: 2.5; opacity: 0; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.55rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: var(--white); font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.5rem; transition: background-color .2s; }
.hero-tag:hover { background: rgba(255,255,255,.24); }
.hero-tag .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
.eyebrow { font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; margin-bottom: 1rem; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 8.6vw, 7.25rem); line-height: 0.92; letter-spacing: -0.012em; margin: 0 0 1.5rem; max-width: 12ch; }
.hero-text { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); max-width: 32rem; margin-bottom: 2.1rem; color: rgba(255,255,255,.93); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* glance strip overlapping the hero */
.strip-wrap { position: relative; z-index: 2; margin-top: clamp(-4rem, -6vw, -3rem); }
.strip { list-style: none; margin: 0; padding: 0.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); }
.strip li { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.25rem; font-weight: 600; line-height: 1.3; }
.strip li + li { border-left: 1px solid var(--rule); }
.strip .icon { color: var(--red-fold); width: 1.75rem; height: 1.75rem; }

/* ---------- bands ---------- */
.band { padding: var(--band) 0; }
.band-maple { background: var(--maple); }
.band-dark { background: var(--charcoal); color: var(--white); }
.band-dark .lede { color: rgba(255,255,255,.8); }
.band-red { background: var(--fold); color: var(--white); }
.band-red .lede { color: rgba(255,255,255,.9); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-center { align-items: center; }

/* about */
.about-copy .lede { color: var(--charcoal); }
.about-copy p:not(.lede) { color: var(--muted); max-width: 38rem; }
.pull { margin: 2rem 0 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 6px solid; border-image: linear-gradient(180deg, var(--red) 50%, var(--red-fold) 50%) 1; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; max-width: 26ch; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { position: relative; background: var(--white); border-radius: 12px; padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--fold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 10px; background: rgba(224,18,28,.08); color: var(--red-fold); margin-bottom: 1.25rem; transition: background-color .3s, color .3s; }
.card:hover .card-icon { background: var(--red-fold); color: var(--white); }

/* operations pillars */
.pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pillars li { padding: 1.75rem 1.5rem; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, border-color .3s; }
.pillars li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.pillars .icon { width: 2rem; height: 2rem; color: #FF5A60; margin-bottom: 1.1rem; }
.pillars p { color: rgba(255,255,255,.75); margin: 0; }

/* process */
.steps { list-style: none; padding: 0; margin-top: 0.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 4rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--fold); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 6px var(--white); }
.band-maple .steps li::before, .band-concrete .steps li::before { box-shadow: 0 0 0 6px var(--maple); }
.steps li::after { content: ""; position: absolute; top: 1.4rem; left: 3.4rem; right: -1.25rem; border-top: 2px dashed var(--red-fold); opacity: .45; transform-origin: left center; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); }

/* coverage */
.area { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; margin: 1.25rem 0 1.75rem; }
.area .icon { color: var(--red-fold); }
.coverage-map { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: clamp(0.75rem, 2vw, 1.25rem); overflow: hidden; }
.gta { position: relative; border-radius: 10px; overflow: hidden; }
.gta img, .gta-overlay { display: block; width: 100%; height: auto; }
.gta-overlay { position: absolute; inset: 0; height: 100%; }
.toronto-fill { fill: rgba(224,18,28,.1); }
.toronto-line { fill: none; stroke: var(--red-fold); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.map-label { fill: var(--charcoal); font: 700 30px var(--display); letter-spacing: .03em; paint-order: stroke; stroke: rgba(247,246,245,.9); stroke-width: 6px; stroke-linejoin: round; }
.map-label-city { fill: var(--red-fold); font-size: 50px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.map-label-water { fill: #6F8597; font: italic 600 26px var(--body); letter-spacing: .12em; stroke: none; }
.map-dot { fill: var(--charcoal); stroke: #fff; stroke-width: 3; }
.coverage-map figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 0.75rem; }
.coverage-map figcaption a { color: inherit; }

/* ticks */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 1.05rem; height: 0.55rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.band-dark .ticks li::before, .band-red .ticks li::before { border-color: var(--white); }

/* job rows */
.job-list { display: grid; gap: 0.75rem; }
.job-row { position: relative; display: grid; gap: 0.15rem; padding: 1.4rem 1.5rem; border-radius: 10px; background: var(--white); color: var(--charcoal); text-decoration: none; border: 2px solid var(--rule); border-left: 6px solid var(--red); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.job-row:hover { border-color: var(--red-fold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.band-dark .job-row, .band-red .job-row { border-color: var(--white); border-left-color: var(--red); }
.band-red .job-row { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.job-row-title { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.job-row-meta { color: var(--muted); font-size: 0.9875rem; }
.job-row-cta { margin-top: 0.6rem; font-weight: 600; color: var(--red-fold); display: inline-flex; align-items: center; gap: 0.5rem; }
.job-row-cta::after { content: ""; width: 0.5em; height: 0.5em; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); transition: transform .3s var(--ease); }
.job-row:hover .job-row-cta::after { transform: translateX(4px) rotate(45deg); }
.empty { padding: 1.5rem; background: rgba(255,255,255,.12); border-radius: 8px; }
.all-roles { color: var(--white); font-weight: 600; justify-self: start; margin-top: 0.5rem; }

/* careers page */
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.role-card { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.75rem; border-radius: 14px; background: var(--white); color: var(--charcoal); text-decoration: none; border: 2px solid var(--rule); border-top: 6px solid var(--red); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.role-card:hover { border-color: var(--red-fold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.role-type { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.role-title { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1.02; }
.role-pay { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--red-fold); }
.role-summary { color: var(--muted); margin: 0.35rem 0; }
.role-meta { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; color: var(--muted); }
.role-meta .icon { width: 1.1rem; height: 1.1rem; color: var(--red-fold); }
.role-card .job-row-cta { margin-top: auto; padding-top: 0.75rem; }
.role-card:hover .job-row-cta::after { transform: translateX(4px) rotate(45deg); }
.general-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 14px; background: var(--maple); }
.general-card p { color: var(--muted); margin: 0; max-width: 40rem; }
.empty-light { padding: 1.5rem; background: var(--maple); border-radius: 10px; grid-column: 1 / -1; }

/* equal opportunity */
.eo-band { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.eo-band p { color: var(--muted); max-width: 44rem; margin: 0; }
.closing { margin-top: 2.25rem; padding: 1.5rem 1.75rem; border-radius: 12px; background: var(--maple); }
.closing p { font-weight: 600; margin-bottom: 1rem; }

/* job posting facts */
.posting-facts { margin: 1.75rem 0 0.5rem; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.posting-facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.85rem 1.1rem; }
.posting-facts > div + div { border-top: 1px solid var(--rule); }
.posting-facts > div:first-child { background: #FFF5F5; }
.posting-facts dt { font-weight: 600; color: var(--muted); }
.posting-facts dd { margin: 0; font-weight: 600; }
.ticks-quiet li { color: var(--muted); }
.ticks-quiet li::before { border-color: var(--muted); }
.fact-pay { background: var(--red-fold) !important; }
.note-top { margin-top: 0; margin-bottom: 1.5rem; }
.job-row-meta strong { color: var(--charcoal); }

/* contact */
.contact-card { background: var(--maple); border-radius: 16px; padding: 0.5rem clamp(1.25rem, 3vw, 2rem); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: center; padding: 1.15rem 0; }
.contact-list li + li { border-top: 1px solid var(--rule); }
.contact-label { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); }
.contact-label .icon { width: 1.25rem; height: 1.25rem; color: var(--red-fold); }
.contact-list a { font-weight: 600; }

/* page heads */
.page-head { position: relative; overflow: hidden; background: var(--charcoal); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 6px solid; border-image: linear-gradient(90deg, var(--red) 50%, var(--red-fold) 50%) 1; }
.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 0.95; margin: 0 0 1rem; max-width: 16ch; }
.page-lede { font-size: 1.1875rem; max-width: 36rem; color: rgba(255,255,255,.85); }
.crumb { margin-bottom: 1rem; }
.crumb a { color: var(--white); font-weight: 600; }
.job-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-facts li { padding: 0.3rem 0.8rem; border-radius: 4px; background: rgba(255,255,255,.1); font-weight: 600; font-size: 0.9375rem; }

.prose { max-width: 44rem; }
.prose .h3 { margin-top: 2.25rem; }
.prose .lede { color: var(--charcoal); }
.confirm { border-left: 6px solid var(--red); padding: 0.25rem 0 0.25rem 1.5rem; }

/* ---------- form ---------- */
.band-concrete { background: var(--maple); }
.form-wrap { max-width: 48rem; }
.apply { background: var(--white); border-radius: 16px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.apply fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.apply > fieldset > legend { font-family: var(--display); font-weight: 800; font-size: 1.75rem; margin-bottom: 1rem; padding: 0; }
.optional { font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input[type=text], .field input[type=tel], .field input[type=email] { width: 100%; font: inherit; padding: 0.75rem 0.9rem; border: 2px solid #8E8586; border-radius: 6px; background: var(--white); color: var(--charcoal); min-height: 3.1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--charcoal); outline: none; box-shadow: 0 0 0 3px rgba(43,38,39,.2); }
.field input[aria-invalid=true] { border-color: var(--error); }
.hint { font-size: 0.9375rem; color: var(--muted); margin: 0.35rem 0 0; }
.hint-lead { margin: -0.4rem 0 1rem; max-width: 40rem; }
.field-error { color: var(--error); font-weight: 600; font-size: 0.9375rem; margin: 0.35rem 0 0; }

.choice { margin: 0 0 1.35rem !important; }
.choice > legend { font-weight: 600; margin-bottom: 0.55rem; padding: 0; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0.5rem 1.15rem; border: 2px solid #8E8586; border-radius: 6px; background: var(--white); font-weight: 600; cursor: pointer; user-select: none; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease); }
.chips label:hover { border-color: var(--charcoal); }
.chips label:active { transform: scale(.97); }
.chips input:checked + label { background: var(--red-fold); border-color: var(--red-fold); color: var(--white); }
.chips input:focus-visible + label { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.choice[aria-invalid=true] .chips label { border-color: var(--error); }

.file { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; cursor: pointer; font-weight: 400 !important; }
.file-button { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0.5rem 1.15rem; border-radius: 6px; border: 2px solid var(--charcoal); color: var(--charcoal); font-weight: 600; background: var(--white); transition: background-color .2s, color .2s; }
.file:hover .file-button { background: var(--charcoal); color: var(--white); }
.file-name { color: var(--muted); word-break: break-all; }
.file-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field:focus-within .file-button { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.file-side { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .file-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1rem; border: 2px dashed #B7AFAF; border-radius: 10px; background: var(--maple); transition: border-color .2s, background-color .2s; }
.file-card:hover { border-color: var(--charcoal); }
.file-card.has-file { border-style: solid; border-color: var(--red-fold); background: #FFF5F5; }
.file-card .file-name { word-break: break-word; overflow-wrap: anywhere; }
.file-card.has-file .file-name { color: var(--charcoal); font-weight: 600; }
.field [aria-invalid=true] ~ .file-card, .field .file-card:has(+ [aria-invalid=true]) { border-color: var(--error); }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; margin-bottom: 1.75rem; }
.consent input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; accent-color: var(--red-fold); }
.consent label { font-weight: 400; margin: 0; }
.consent .field-error { grid-column: 2; }

.error-summary { border: 3px solid var(--error); border-radius: 8px; background: var(--white); padding: 1.1rem 1.35rem; margin-bottom: 2rem; }
.error-summary-title { font-weight: 600; color: var(--error); margin-bottom: 0.5rem; }
.error-summary ul { padding-left: 1.2rem; }
.error-summary a { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-bar { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal-2); color: rgba(255,255,255,.8); padding: 4rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 2rem; }
.footer-line { margin-top: 1rem; max-width: 24rem; }
.footer-head { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin: 0 0 0.75rem; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { text-decoration-color: var(--white); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.875rem; color: rgba(255,255,255,.6); }
.footer-base p { margin: 0; }

/* =========================================================================
   Motion. Everything is visible by default. boot.js adds .anim to <html>
   only when motion is allowed; site.js then reveals elements as they
   scroll into view. If site.js never runs, boot.js removes .anim again.
   ========================================================================= */

/* hero entrance (pure CSS, runs once) */
.anim .hero [data-hero] { animation: rise .9s var(--ease) both; }
.anim .hero [data-hero]:nth-child(1) { animation-delay: .05s; }
.anim .hero [data-hero]:nth-child(2) { animation-delay: .15s; }
.anim .hero [data-hero]:nth-child(3) { animation-delay: .25s; }
.anim .hero [data-hero]:nth-child(4) { animation-delay: .38s; }
.anim .hero [data-hero]:nth-child(5) { animation-delay: .5s; }
.anim .hero::after { animation: sheen 2.2s var(--ease) .6s both; }
.anim .hero-roads { animation: fade-in 1.6s ease .1s both; }
.anim .route-line, .anim .route-glow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.4s cubic-bezier(.45, .05, .25, 1) .6s forwards; }
.anim .route-stops .stop { animation: pop .45s var(--ease) both; animation-delay: calc(.6s + var(--t) * 3.1s); }
.anim .route-end { animation: fade-in .5s ease 3.9s both; }
.anim .route-end .pulse { animation: pulse 2.8s ease-out 4.2s infinite; }
.anim .hero-tag .dot { animation: dot-pulse 2.4s ease-out 1.2s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } 70% { transform: scale(1.2); } }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

/* scroll reveals */
.anim [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.anim [data-reveal].is-in { opacity: 1; transform: none; }
.anim [data-reveal]:not(.is-in) .h2::before,
.anim [data-reveal]:not(.is-in) .kicker::before,
.anim .h2[data-reveal]:not(.is-in)::before { transform: scaleX(0); }

/* inner page headers */
.anim .page-head .wrap > * { animation: rise .8s var(--ease) both; }
.anim .page-head .wrap > :nth-child(2) { animation-delay: .1s; }
.anim .page-head .wrap > :nth-child(3) { animation-delay: .2s; }
.anim .page-head .wrap > :nth-child(4) { animation-delay: .3s; }
.anim .steps [data-reveal]:not(.is-in)::after { transform: scaleX(0); }
.anim .coverage-map .toronto-line { transition: stroke-dashoffset 2.4s cubic-bezier(.45, .05, .25, 1) .3s; }
.anim .coverage-map:not(.is-in) .toronto-line { stroke-dashoffset: 1; }
.anim .coverage-map .toronto-fill { transition: opacity 1s ease 1.6s; }
.anim .coverage-map:not(.is-in) .toronto-fill { opacity: 0; }
.anim .coverage-map .map-place { transition: opacity .6s ease; transition-delay: calc(1.2s + var(--i) * 90ms); }
.anim .coverage-map:not(.is-in) .map-place { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .role-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-row { gap: 0.75rem; }
  .split { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cards, .pillars { grid-template-columns: 1fr; }
  .general-card { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
  .hero-map { opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .header-row { min-height: 4rem; }
  .brand .logo { width: 36px; }
  .header-cta { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-map { opacity: .32; }
  .map-label { font-size: 32px; }
  .map-label-city { font-size: 52px; }
  .strip { grid-template-columns: 1fr; padding: 0.25rem 0.5rem; }
  .strip li { padding: 0.85rem 0.75rem; }
  .strip li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 1.75rem 4.1rem; }
  .steps li::after { display: block !important; top: 3.1rem; bottom: 0.2rem; left: 1.4rem; right: auto; border-top: 0; border-left: 2px dashed var(--red-fold); transform-origin: center top; }
  .anim .steps [data-reveal]:not(.is-in)::after { transform: scaleY(0); }
  .steps li:last-child::after { display: none !important; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .posting-facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .apply-bar.is-live { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); background: rgba(43,38,39,.96); transition: transform .25s var(--ease); }
  .apply-bar.is-hidden { transform: translateY(110%); }
  body:has(.apply-bar) .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .hero-map, .apply-bar { display: none; }
  .coverage-map .map-place, .toronto-fill { opacity: 1 !important; }
}
