/* --------------------------------------------------------------------------
   Shared Ontario location routes
   Route-scoped composition only. Shared MCITY primitives remain the source
   of truth for navigation, typography, services, FAQ, CTA and footer.
   -------------------------------------------------------------------------- */

.location-page {
  background: var(--color-background);
  color: var(--color-primary);
  overflow-x: hidden;
}

.location-page :is(a, button):focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.location-skip-link {
  position: fixed;
  z-index: 1200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--color-primary-dark);
  color: var(--color-background);
  font: 600 10px/1 var(--font-role-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--motion-ease);
}

.location-skip-link:focus {
  transform: translateY(0);
}

/* Shared navigation, with a location context marker in the right rail. */
.location-nav-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.location-nav-end .nav-cta {
  justify-self: auto;
  white-space: nowrap;
}

.location-nav-context,
.location-mobile-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-nav-context i,
.location-mobile-context i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--color-brand-light);
  box-shadow: 0 0 0 4px rgba(var(--color-brand-light-rgb), 0.12);
}

.location-mobile-context {
  display: none;
  margin-bottom: 22px;
}

/* Hero ------------------------------------------------------------------- */
body main .location-hero {
  height: auto;
  min-height: 100svh;
}

.location-hero .hero-message {
  top: auto;
  left: clamp(30px, 3.25vw, 52px);
  width: min(57vw, 650px);
  transform: none;
}

.location-hero h1 {
  max-width: 710px;
  text-wrap: balance;
}

.location-hero h1 .care-line {
  display: block;
}

.location-hero h1 .care-line > span {
  display: block;
}

.location-hero .hero-text-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.location-hero .hero-description {
  order: 2;
  width: min(100%, 470px);
  max-width: 470px;
  margin: clamp(42px, 5vw, 66px) 0 0;
}

.location-hero .hero-actions {
  order: 3;
  gap: 28px;
  margin-top: 36px;
}

.location-hero .hero-primary,
.location-hero .hero-action {
  min-width: 0;
}

.location-hero .hero-action .cta-arrow {
  width: 18px;
  height: 18px;
}

.location-hero::after {
  display: none;
}

.location-hero canvas,
.location-hero .hero-grain,
.location-hero .hero-copy {
  z-index: 1;
}

.location-hero canvas {
  z-index: 2;
}

.location-hero .hero-copy {
  z-index: 3;
}

.location-hero .hero-copy {
  pointer-events: none;
}

.location-hero .hero-actions {
  pointer-events: auto;
}

/* Metrics ---------------------------------------------------------------- */
.location-stats .stat {
  min-width: 0;
}

.location-stat-placeholder {
  color: var(--color-text-muted);
  opacity: 0.24;
}

/* Brand story ------------------------------------------------------------ */
.location-brand-story {
  position: relative;
  min-height: max(820px, 100svh);
  overflow: hidden;
  padding: clamp(92px, 9vw, 142px) var(--pad) clamp(96px, 10vw, 154px);
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.18);
  background:
    radial-gradient(circle at 88% 48%, rgba(var(--color-highlight-rgb), 0.7), transparent 35%),
    radial-gradient(circle at 53% 52%, rgba(var(--color-highlight-rgb), 0.38), transparent 28%),
    var(--color-background);
  isolation: isolate;
}

.location-brand-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(circle, var(--color-accent) 1px, transparent 1.4px);
  background-position: calc(100% - var(--pad)) 56%;
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(90deg, transparent 64%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 64%, #000 86%, transparent 100%);
}

.location-brand-story__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1510px;
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(620px, 1.35fr);
  gap: clamp(42px, 5vw, 82px);
  align-items: center;
}

.location-brand-story__copy {
  position: relative;
  z-index: 5;
  max-width: 610px;
}

.location-brand-story__title {
  max-width: 9.5ch;
  margin: 18px 0 0;
  font: 700 clamp(48px, 5vw, 78px)/0.94 var(--font-role-section-title);
  letter-spacing: -0.068em;
  text-transform: none;
}

.location-brand-story__title > span {
  display: block;
}

.location-brand-story__title-accent {
  color: var(--color-accent);
}

.location-brand-story__word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.24em;
  margin-bottom: -0.24em;
}

.location-brand-story__word {
  display: inline-block;
  will-change: transform;
}

.location-brand-story__copy .location-accent-rule {
  width: min(170px, 42%);
  margin-top: 30px;
}

.location-brand-story__description {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
}

.location-brand-story__visual {
  position: relative;
  min-width: 0;
  min-height: 650px;
  display: flex;
  align-items: center;
}

.location-brand-values {
  position: relative;
  z-index: 3;
  width: min(72%, 680px);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.location-brand-value {
  position: relative;
  min-height: 275px;
  padding: clamp(26px, 2.3vw, 36px);
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  background: rgba(var(--color-background-rgb), 0.84);
  box-shadow: 0 18px 50px rgba(var(--color-primary-rgb), 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.location-brand-value:nth-child(1) {
  padding-right: clamp(70px, 6vw, 96px);
  border-radius: var(--radius-card);
}

.location-brand-value:nth-child(2) {
  padding-left: clamp(70px, 6vw, 96px);
  border-left: 0;
  border-radius: var(--radius-card);
}

.location-brand-value:nth-child(3) {
  padding-right: clamp(70px, 6vw, 96px);
  border-top: 0;
  border-radius: var(--radius-card);
}

.location-brand-value:nth-child(4) {
  padding-left: clamp(70px, 6vw, 96px);
  border-top: 0;
  border-left: 0;
  border-radius: var(--radius-card);
}

.location-brand-value__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--color-action-rgb), 0.16);
  border-radius: 50%;
  background: rgba(var(--color-highlight-rgb), 0.78);
  color: var(--color-action);
}

.location-brand-value__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-brand-value h3 {
  margin: 22px 0 0;
  font: 600 clamp(18px, 1.6vw, 23px)/1.12 var(--font-role-card-title);
  letter-spacing: -0.04em;
  text-transform: none;
}

.location-brand-value p {
  max-width: 260px;
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.location-brand-medallion {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: clamp(132px, 12vw, 164px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  border-radius: 50%;
  background: rgba(var(--color-background-rgb), 0.96);
  box-shadow: 0 18px 46px rgba(var(--color-primary-rgb), 0.14);
  transform: translate(-50%, -50%);
}

.location-brand-medallion__ring {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  overflow: visible;
  color: var(--color-primary);
}

.location-brand-medallion__ring text {
  fill: currentColor;
  font-family: var(--font-role-body);
  font-size: clamp(16px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: 0.045em;
}

.location-brand-medallion__ring textPath {
  text-anchor: middle;
}

.location-brand-medallion__core {
  position: absolute;
  inset: 26%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-dark);
  box-shadow: inset 0 0 0 1px rgba(var(--color-white-rgb), 0.12);
}

.location-brand-medallion__core img {
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}

.location-brand-medallion__connector {
  display: none;
}

.location-brand-story__art {
  position: absolute;
  z-index: 1;
  right: clamp(-310px, -18vw, -250px);
  bottom: -3%;
  width: clamp(820px, 50vw, 960px);
  margin: 0;
  pointer-events: none;
  opacity: 0.62;
  -webkit-mask-image: radial-gradient(ellipse at 60% 52%, #000 60%, rgba(0, 0, 0, 0.82) 78%, transparent 96%);
  mask-image: radial-gradient(ellipse at 60% 52%, #000 60%, rgba(0, 0, 0, 0.82) 78%, transparent 96%);
}

.location-brand-story__art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: saturate(0.76) contrast(1.04);
}

/* Services --------------------------------------------------------------- */
.location-services {
  overflow: hidden;
  background: var(--color-primary-dark);
  color: var(--color-background);
}

.location-services .service-viewport {
  height: auto;
  min-height: 0;
  display: block;
  padding: clamp(70px, 8vw, 118px) 0 clamp(74px, 9vw, 128px);
}

.location-services .services-head {
  position: relative;
  inset: auto;
  width: min(100% - 2 * var(--pad), 1320px);
  margin: 0 auto clamp(34px, 5vw, 64px);
  padding: 0 0 22px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  border-bottom-color: rgba(var(--color-background-rgb), 0.22);
  pointer-events: none;
}

.location-services .services-head h2 {
  max-width: 560px;
}

.location-services .location-service-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100% - 2 * var(--pad), 1320px);
  margin: 0 auto;
  padding: 0;
}

.location-services .location-service-track .service-card {
  width: 100%;
  height: min(52vh, 500px);
  min-height: 410px;
  max-height: 500px;
}

.location-services .service-card:nth-child(7) {
  background: var(--color-primary);
  color: var(--color-background);
}

.location-services .service-card:nth-child(7)::before {
  background: radial-gradient(circle, var(--color-secondary) 1.5px, transparent 1.9px) 0 0/10px 10px;
}

.location-services .service-card:nth-child(7):hover {
  background: var(--color-highlight);
  color: var(--color-primary-dark);
}

.location-services .scroll-progress {
  display: none;
}

/* JS adds this class for animated desktop and mobile pinning only. */
.location-services.has-service-pin .service-viewport {
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: clamp(210px, 24vh, 270px) 0 clamp(84px, 11vh, 130px);
}

.location-services.has-service-pin .services-head {
  position: absolute;
  z-index: 5;
  top: var(--nav-height);
  left: var(--pad);
  right: var(--pad);
  width: auto;
  margin: 0;
  padding: clamp(22px, 3vh, 34px) 0 18px;
}

.location-services.has-service-pin .location-service-track {
  display: flex;
  gap: 14px;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0 var(--pad);
}

.location-services.has-service-pin .location-service-track::before,
.location-services.has-service-pin .location-service-track::after {
  content: "";
  display: block;
  flex: none;
}

.location-services.has-service-pin .location-service-track::before {
  width: min(27vw, 380px);
}

.location-services.has-service-pin .location-service-track::after {
  width: 220px;
}

.location-services.has-service-pin .location-service-track .service-card {
  width: clamp(350px, 27vw, 380px);
  height: min(52vh, 500px);
  min-height: 410px;
  max-height: 500px;
  flex: none;
}

.location-services.has-service-pin .scroll-progress {
  display: block;
  left: var(--pad);
  right: calc(var(--pad) + 220px);
  bottom: clamp(78px, 9vh, 88px);
}

/* Coverage map ----------------------------------------------------------- */
.location-coverage {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 10vw, 154px) var(--pad) clamp(100px, 12vw, 176px);
  background: var(--color-background);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.14);
  isolation: isolate;
}

.location-coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 52%, rgba(var(--color-highlight-rgb), 0.42), transparent 34%),
    linear-gradient(90deg, rgba(var(--color-background-rgb), 0.95), rgba(var(--color-background-rgb), 0.68) 52%, rgba(var(--color-background-rgb), 0.2));
}

.location-anchor-target {
  display: block;
  position: relative;
  top: calc(-1 * (var(--nav-height) + 1rem));
  height: 0;
  visibility: hidden;
}

.location-coverage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 7vw, 126px);
  align-items: center;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
}

.location-coverage-intro {
  min-width: 0;
}

.location-coverage-intro h2 {
  max-width: 610px;
  margin: 18px 0 0;
  font: 700 clamp(46px, 5.5vw, 82px)/0.94 var(--font-role-section-title);
  letter-spacing: -0.068em;
  text-transform: none;
}

.location-accent-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: clamp(24px, 3vw, 38px) 0 0;
  background: var(--color-action);
}

.location-coverage-description {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.58;
}

.location-coverage-note {
  max-width: 470px;
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid color-mix(in srgb, var(--color-action) 72%, transparent);
  color: var(--color-text);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.55;
}

.location-area-selector {
  max-width: 430px;
  margin-top: clamp(42px, 5vw, 68px);
}

.location-section-note {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.location-area-list {
  display: grid;
  gap: 8px;
}

.location-area-list button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  border-radius: 14px;
  background: rgba(var(--color-background-rgb), 0.34);
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-role-ui);
  transition: background 0.35s var(--motion-ease), border-color 0.35s ease, color 0.35s ease, transform 0.35s var(--motion-ease);
}

.location-area-list button:hover,
.location-area-list button:focus-visible {
  border-color: var(--color-action);
  background: rgba(var(--color-highlight-rgb), 0.55);
  transform: translateX(3px);
}

.location-area-list button[aria-pressed="true"] {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: var(--color-background);
  box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.12);
}

.location-area-number {
  color: var(--color-text-muted);
  font: 500 10px/1 var(--font-role-label);
}

.location-area-list button[aria-pressed="true"] .location-area-number {
  color: var(--color-action);
}

.location-area-arrow {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  color: var(--color-action);
  opacity: 0.2;
  transition: opacity 0.35s ease, transform 0.35s var(--motion-ease);
}

.location-area-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.location-area-progress circle {
  fill: none;
}

.location-area-progress__track {
  stroke: rgba(var(--color-action-rgb), 0.28);
  stroke-width: 1.35;
}

.location-area-progress__value {
  stroke: var(--color-action);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

.location-area-list button[aria-pressed="true"] .location-area-progress__value {
  opacity: 1;
}

.location-area-selector.is-paused .location-area-progress__value {
  opacity: 0.58;
}

.location-area-arrow .cta-arrow {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

.location-area-list button:hover .location-area-arrow,
.location-area-list button:focus-visible .location-area-arrow,
.location-area-list button[aria-pressed="true"] .location-area-arrow {
  opacity: 1;
}

.location-area-list button:hover .location-area-arrow,
.location-area-list button:focus-visible .location-area-arrow {
  transform: translate(2px, -2px);
}

.location-map-stage {
  position: relative;
  min-width: 0;
  min-height: clamp(540px, 45vw, 720px);
}

.location-map-stage::before {
  display: none;
}

.location-map-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(116%, 900px);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: none;
}

.location-map-art::before {
  display: none;
}

.location-map-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  mix-blend-mode: multiply;
  opacity: 0.76;
  filter: contrast(1.08) saturate(0.58);
}

.location-map-pin {
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
  transform: scale(0.84);
  transform-origin: 0 0;
  opacity: 0.72;
  transition: opacity 0.35s ease, transform 0.35s var(--motion-ease);
}

.location-map-pin::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -25px;
  width: 20px;
  height: 25px;
  border: 3px solid var(--color-background);
  border-radius: 50% 50% 50% 0;
  background: var(--color-action);
  clip-path: polygon(50% 100%, 0 47%, 0 27%, 12% 10%, 31% 0, 54% 0, 76% 10%, 91% 28%, 100% 48%);
  transform: rotate(-45deg);
  transform-origin: 50% 100%;
}

.location-map-pin::after {
  content: "";
  position: absolute;
  left: -3px;
  top: -18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-background);
}

.location-map-attribution {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 5;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(var(--color-background-rgb), 0.86);
  font: 600 0.62rem/1.2 var(--font-body);
}

.location-map-attribution a {
  color: var(--color-primary);
  text-decoration: none;
}

.location-map-attribution a:hover,
.location-map-attribution a:focus-visible {
  color: var(--color-action);
  text-decoration: underline;
}

body[data-location="greater-toronto-area"] .location-map-attribution {
  display: none;
}

.location-map-pin.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.location-area-detail {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: -136px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: min(440px, 85%);
  padding: 12px 16px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
  border-radius: 20px;
  background: rgba(var(--color-background-rgb), 0.88);
  box-shadow: 0 18px 48px rgba(var(--color-primary-rgb), 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.location-area-detail-media {
  width: 96px;
  height: 118px;
  overflow: hidden;
  border-radius: 48px;
  background: var(--color-highlight);
}

.location-area-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.04);
}

.location-area-detail-copy {
  min-width: 0;
}

.location-area-detail h3 {
  margin: 8px 0 0;
  font: 700 clamp(26px, 2.6vw, 40px)/0.98 var(--font-role-card-title);
  letter-spacing: -0.05em;
}

.location-area-detail p {
  margin: 10px 0 14px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.location-area-detail a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-action);
  font: 600 11px/1.2 var(--font-role-ui);
  text-decoration: none;
}

.location-area-detail a .cta-arrow {
  width: 15px;
  height: 15px;
}

/* Process and trust ----------------------------------------------------- */
.location-approach {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: clamp(92px, 10vw, 154px) var(--pad) clamp(100px, 12vw, 176px);
  background: var(--color-background);
  isolation: isolate;
}

body.location-page main .location-approach {
  display: block;
  min-height: 0;
  padding: clamp(92px, 10vw, 154px) var(--pad) clamp(100px, 12vw, 176px);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.14);
}

.location-approach::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 22%, rgba(var(--color-highlight-rgb), 0.42), transparent 33%);
}

.location-approach-inner {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}

.location-approach-intro {
  position: relative;
  z-index: 2;
}

.location-approach-intro h2 {
  max-width: 640px;
  margin: 14px 0 0;
  font: 700 clamp(52px, 5.7vw, 88px)/0.91 var(--font-role-section-title);
  letter-spacing: -0.075em;
  text-transform: none;
}

.location-approach-intro p {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58;
}

.location-process-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  justify-self: stretch;
  align-self: center;
}

.location-process-art::before {
  content: "";
  position: absolute;
  inset: 12% 4% 10% 8%;
  z-index: -1;
  border: 1px dotted rgba(var(--color-action-rgb), 0.3);
  border-radius: 50%;
  opacity: 0.75;
}

.location-process-art img {
  display: block;
  width: 116%;
  max-width: none;
  height: auto;
  margin-left: -8%;
  mix-blend-mode: multiply;
  opacity: 0.82;
  filter: contrast(1.03) saturate(0.78);
}

.location-process-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  padding: 18px;
  list-style: none;
  border: 1px solid rgba(var(--color-primary-rgb), 0.13);
  border-radius: 20px;
  background: rgba(var(--color-background-rgb), 0.78);
  box-shadow: 0 16px 45px rgba(var(--color-primary-rgb), 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.location-process-list li {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px 20px;
}

.location-process-list li + li {
  border-left: 1px solid rgba(var(--color-primary-rgb), 0.16);
}

.location-process-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--color-action-rgb), 0.24);
  border-radius: 18px;
  background: rgba(var(--color-highlight-rgb), 0.48);
  color: var(--color-action);
}

.location-process-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-process-copy {
  min-width: 0;
}

.location-process-number {
  display: block;
  color: var(--color-action);
  font-size: 10px;
}

.location-process-list h3 {
  margin: 6px 0 0;
  font: 600 clamp(18px, 1.45vw, 23px)/1.08 var(--font-role-card-title);
  letter-spacing: -0.04em;
  text-transform: none;
}

.location-process-list p {
  max-width: 220px;
  margin: 7px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.location-trust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(26px, 3.8vw, 58px);
  align-items: center;
  margin-top: 0;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 26px;
  background: linear-gradient(105deg, rgba(var(--color-highlight-rgb), 0.76), rgba(var(--color-highlight-rgb), 0.32));
}

.location-trust-copy {
  min-width: 0;
}

.location-trust-copy h3 {
  max-width: 360px;
  margin: 14px 0 0;
  font: 700 clamp(36px, 4.2vw, 64px)/0.92 var(--font-role-section-title);
  letter-spacing: -0.07em;
  text-transform: none;
}

.location-trust-copy .location-accent-rule {
  margin-top: 20px;
}

.location-trust-copy p {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.location-trust ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-trust li {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 11px;
  row-gap: 4px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.11);
  border-radius: 18px;
  background: rgba(var(--color-background-rgb), 0.76);
}

.location-trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--color-action-rgb), 0.22);
  border-radius: 14px;
  background: rgba(var(--color-highlight-rgb), 0.46);
  color: var(--color-action);
}

.location-trust-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-trust li strong,
.location-trust li > span:last-child {
  grid-column: 2;
}

.location-trust li strong {
  margin-top: 1px;
  font: 600 clamp(15px, 1.15vw, 17px)/1.18 var(--font-role-card-title);
  letter-spacing: -0.02em;
}

.location-trust li > span:last-child {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.48;
}

/* Resources, FAQ and CTA ----------------------------------------------- */
.location-resources {
  padding-top: clamp(86px, 10vw, 142px);
  padding-bottom: clamp(90px, 11vw, 156px);
}

.location-resource-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-resource-topic-grid .resource-card:first-child {
  grid-column: auto;
}

.location-resource-carousel {
  max-width: 1440px;
}

.location-resources-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.location-resources-footer .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font: 600 10px/1.2 var(--font-role-label);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.location-resources-footer .text-link span {
  font-size: 18px;
  line-height: 0.7;
}

.location-resources-footer .text-link:hover,
.location-resources-footer .text-link:focus-visible {
  color: var(--color-action);
}

.location-faq {
  background: var(--color-background);
}

.location-faq .faq-a p {
  max-width: 700px;
}

.location-final-cta {
  overflow: hidden;
  padding-top: clamp(58px, 8vw, 116px);
  padding-bottom: clamp(58px, 8vw, 116px);
}

.location-final-cta .page-cta-card {
  min-height: 360px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.location-final-cta-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
}

.location-final-cta .eyebrow {
  color: var(--color-highlight);
}

.location-final-cta .page-cta-body {
  max-width: 780px;
}

.location-final-cta-art {
  position: absolute;
  z-index: 1;
  right: -7%;
  /* Keep the city artwork lifted enough to read inside the CTA card. */
  bottom: -8%;
  width: min(650px, 58%);
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  filter: contrast(1.08) saturate(0.7);
}

.location-page > footer {
  margin-top: 0;
}

/* Tablet ----------------------------------------------------------------- */
@media (max-width: 1100px) {
  .location-nav-context {
    display: none;
  }

  .location-coverage-inner {
    gap: 42px;
  }

  .location-map-stage {
    min-height: 500px;
  }

  .location-area-detail {
    width: min(430px, 82%);
  }

  .location-process-list li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 14px;
  }

  .location-process-icon {
    width: 52px;
    height: 52px;
  }

  .location-process-icon svg {
    width: 29px;
    height: 29px;
  }

  .location-trust {
    grid-template-columns: 1fr;
  }

  .location-trust-copy p {
    max-width: 580px;
  }
}

/* The Toronto context marker adds one right-rail item to the shared header.
   At the compact desktop widths, keep the shared control available while
   giving the centered links a real, non-overlapping grid lane. */
@media (min-width: 901px) and (max-width: 1500px) {
  .location-nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .location-nav .nav-links {
    gap: 4px;
  }

  .location-nav .nav-links a {
    padding-inline: 11px;
    font-size: var(--nav-menu-font-size);
  }

  .location-nav-end .nav-motion-switch {
    width: 44px;
    padding-inline: 0;
    border-radius: 50%;
  }

  .location-nav-end .nav-motion-switch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .location-nav-end .nav-cta {
    gap: 7px;
    padding-inline: 15px;
    font-size: 10px;
    letter-spacing: 0.035em;
  }

  .location-nav-end .nav-cta .cta-arrow {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .location-brand-story {
    min-height: 0;
  }

  .location-brand-story__shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .location-brand-story__copy {
    max-width: 820px;
  }

  .location-brand-story__title {
    max-width: 12ch;
    font-size: clamp(54px, 7vw, 76px);
  }

  .location-brand-story__visual {
    min-height: 650px;
  }

  .location-brand-values {
    width: min(76%, 720px);
  }

  .location-brand-story__art {
    right: -10%;
    width: min(70%, 760px);
  }
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width: 900px) {
  body main .location-hero {
    min-height: 760px;
  }

  .location-hero .hero-copy {
    padding-top: 68px;
    padding-bottom: 24px;
  }

  .location-nav-end {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }

  .location-nav-end .nav-motion-switch {
    display: inline-flex;
  }

  .location-mobile-context {
    display: inline-flex;
  }

  .location-hero .hero-message {
    top: auto;
    left: 0;
    width: min(100%, 650px);
    padding-top: clamp(28px, 4vh, 38px);
    transform: none;
  }

  /* Keep the DOM and visual order aligned: statement, actions, supporting copy. */
  .location-hero .hero-description {
    order: 3;
    width: min(100%, 440px);
    max-width: 440px;
    margin: 16px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(var(--color-white-rgb), 0.72);
    border-radius: 14px;
    background: rgba(var(--color-background-rgb), 0.55);
    box-shadow: 0 12px 34px rgba(var(--color-primary-rgb), 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: none;
  }

  .location-hero .hero-actions {
    order: 2;
    margin-top: clamp(22px, 3vh, 28px);
  }

  .location-brand-story {
    min-height: 0;
    padding-top: clamp(82px, 12vw, 112px);
    padding-bottom: clamp(90px, 13vw, 122px);
  }

  .location-brand-story__shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .location-brand-story__copy {
    max-width: 760px;
  }

  .location-brand-story__title {
    max-width: 12ch;
    font-size: clamp(48px, 8.8vw, 72px);
  }

  .location-brand-story__visual {
    min-height: 650px;
  }

  .location-brand-values {
    width: min(82%, 700px);
  }

  .location-brand-story__art {
    right: -16%;
    width: min(74%, 700px);
    opacity: 0.46;
  }

  .location-services:not(.has-service-pin) .service-viewport {
    height: auto;
    min-height: 0;
    display: block;
    padding: clamp(70px, 10vw, 100px) 0 clamp(74px, 11vw, 110px);
  }

  .location-services:not(.has-service-pin) .services-head {
    position: relative;
    inset: auto;
    width: calc(100% - 2 * var(--pad));
    margin: 0 auto 34px;
    padding: 0 0 22px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .location-services:not(.has-service-pin) .location-service-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: calc(100% - 2 * var(--pad));
    margin: 0 auto;
    padding: 0;
    transform: none !important;
  }

  .location-services:not(.has-service-pin) .location-service-track::before,
  .location-services:not(.has-service-pin) .location-service-track::after {
    display: none;
  }

  .location-services:not(.has-service-pin) .location-service-track .service-card {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: none;
  }

  .location-services:not(.has-service-pin) .scroll-progress {
    display: none;
  }

  .location-services.has-service-pin .service-viewport {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    padding: 0;
  }

  .location-services.has-service-pin .services-head {
    position: absolute;
    top: var(--nav-height);
    left: var(--pad);
    right: var(--pad);
    z-index: 5;
    width: auto;
    margin: 0;
    padding: clamp(10px, 3vh, 30px) 0 15px;
    padding: clamp(10px, 3svh, 30px) 0 15px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .location-services.has-service-pin .location-service-track {
    display: flex;
    gap: 16px;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0 var(--pad);
    transform: none;
    margin-top: max(0px, calc(92dvh - min(50dvh, 450px)));
  }

  .location-services.has-service-pin .location-service-track::before,
  .location-services.has-service-pin .location-service-track::after {
    display: block;
    width: min(27vw, 380px);
    max-width: none;
    flex: none;
  }

  .location-services.has-service-pin .location-service-track::after {
    width: 220px;
  }

  .location-services.has-service-pin .location-service-track .service-card {
    width: 78vw;
    height: min(50dvh, 450px);
    min-height: 0;
    max-height: 450px;
    flex: none;
  }

  .location-services.has-service-pin.has-mobile-service-geometry .location-service-track {
    margin-top: var(--mobile-service-track-top);
  }

  .location-services.has-service-pin.has-mobile-service-geometry .location-service-track .service-card {
    height: var(--mobile-service-card-height);
    max-height: none;
  }

  .location-services.has-service-pin .scroll-progress {
    display: block;
    left: var(--pad);
    right: calc(var(--pad) + 220px);
    bottom: 3.5dvh;
  }

  .location-services.has-service-pin.has-mobile-service-geometry .scroll-progress {
    top: var(--mobile-service-progress-top);
    right: var(--mobile-service-progress-right);
    bottom: auto;
    transform: translateY(-50%);
  }

  .location-services[data-service-card-density="compact"] .location-service-track .service-card {
    padding: 14px;
  }

  .location-services[data-service-card-density="compact"] .service-arrow {
    margin-top: 8px;
  }

  .location-services[data-service-card-density="compact"] .service-arrow .cta-arrow {
    width: 24px;
    height: 24px;
  }

  .location-services[data-service-card-density="tight"] .location-service-track .service-card {
    padding: 12px;
  }

  .location-services[data-service-card-density="tight"] .location-service-track .service-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1;
  }

  .location-services[data-service-card-density="tight"] .location-service-track .service-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .location-services[data-service-card-density="tight"] .service-arrow {
    margin-top: 6px;
  }

  .location-services[data-service-card-density="tight"] .service-arrow .cta-arrow {
    width: 20px;
    height: 20px;
  }

  .location-coverage-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .location-map-stage {
    min-height: 560px;
  }

  .location-map-art {
    width: 116%;
  }

  .location-map-art img {
    width: 100%;
  }

  .location-area-detail {
    left: 0;
    bottom: -104px;
    width: min(440px, 85%);
  }

  .location-approach-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .location-approach-intro {
    max-width: 660px;
  }

  .location-process-art {
    width: min(720px, 100%);
    justify-self: center;
  }

  .location-process-list {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 0;
  }

  .location-process-list li {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 96px;
    padding: 18px 8px;
  }

  .location-process-list li + li {
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.14);
    border-left: 0;
  }

  .location-trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-trust {
    margin-top: 0;
  }

  .location-resource-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-final-cta .page-cta-card {
    display: block;
  }

  .location-final-cta-art {
    right: -18%;
    bottom: -8%;
    width: 72%;
    opacity: 0.36;
  }
}

@media (max-width: 767px) {
  .location-coverage-inner {
    gap: 0;
  }

  .location-page .mcity-chat-launcher {
    left: auto !important;
    right: 16px !important;
    width: 210px;
    max-width: calc(100vw - 32px);
    min-width: 0;
    min-height: 44px;
    padding-inline: 12px;
    gap: 7px;
  }

  .location-page .chat-close-btn,
  .location-page .chat-send-btn,
  .location-page .mobile-sugg-track .suggested-q-btn {
    min-height: 44px;
  }

  .location-page .chat-close-btn {
    min-width: 44px;
  }

  .location-page .chat-launcher-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .location-brand-story {
    padding-top: 78px;
    padding-bottom: 72px;
  }

  .location-brand-story::before {
    opacity: 0.09;
    -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 42%, #000 72%, transparent 100%);
  }

  .location-brand-story__shell {
    gap: 38px;
  }

  .location-brand-story__title {
    max-width: 11ch;
    margin-top: 14px;
    font-size: clamp(40px, 12vw, 58px);
    line-height: 0.97;
    letter-spacing: -0.06em;
  }

  .location-brand-story__copy .location-accent-rule {
    margin-top: 24px;
  }

  .location-brand-story__description {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.58;
  }

  .location-brand-story__visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .location-brand-values {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(330px, 88vw, 360px));
    gap: 0;
    isolation: isolate;
  }

  .location-brand-values::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent,
      rgba(var(--color-action-rgb), 0.32) 8%,
      rgba(var(--color-action-rgb), 0.32) 92%,
      transparent
    );
  }

  .location-brand-values::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 8px;
    right: 8px;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
      90deg,
      transparent,
      rgba(var(--color-action-rgb), 0.32) 8%,
      rgba(var(--color-action-rgb), 0.32) 92%,
      transparent
    );
  }

  .location-brand-value,
  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    min-height: 0;
    width: 100%;
    padding: 24px 22px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
    border-radius: 18px;
    background: var(--color-background);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
  }

  .location-brand-value:nth-child(odd) {
    justify-self: start;
  }

  .location-brand-value:nth-child(even) {
    justify-self: end;
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(3) {
    padding-right: clamp(34px, 9vw, 42px);
  }

  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(4) {
    padding-left: clamp(34px, 9vw, 42px);
    border-left: 0;
  }

  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    border-top: 0;
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2) {
    padding-bottom: clamp(48px, 13vw, 58px);
  }

  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding-top: clamp(68px, 18vw, 82px);
  }

  .location-brand-value:nth-child(1) {
    border-radius: var(--radius-card);
  }

  .location-brand-value:nth-child(2) {
    border-radius: var(--radius-card);
  }

  .location-brand-value:nth-child(3) {
    border-radius: var(--radius-card);
  }

  .location-brand-value:nth-child(4) {
    border-radius: var(--radius-card);
  }

  .location-brand-value:nth-child(1) {
    grid-column: 1;
  }

  .location-brand-value:nth-child(2) {
    grid-column: 2;
  }

  .location-brand-value:nth-child(3) {
    grid-column: 1;
  }

  .location-brand-value:nth-child(4) {
    grid-column: 2;
  }

  .location-brand-value::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(var(--color-action-rgb), 0.6);
    border-radius: 50%;
    background: var(--color-background);
    transform: translateY(-50%);
  }

  .location-brand-value:nth-child(odd)::after {
    right: -4px;
  }

  .location-brand-value:nth-child(even)::after {
    left: -4px;
  }

  .location-brand-value__icon {
    width: 48px;
    height: 48px;
  }

  .location-brand-value h3 {
    margin-top: 18px;
    font-size: 20px;
  }

  .location-brand-value p {
    max-width: 440px;
    font-size: 13px;
  }

  .location-brand-medallion {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(104px, 28vw, 116px);
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
  }

  .location-brand-medallion__ring text {
    font-size: clamp(17px, 4.8vw, 19px);
    letter-spacing: 0.03em;
  }

  .location-brand-medallion__connector {
    position: absolute;
    z-index: 0;
    display: block;
    width: 58px;
    height: 1px;
    background: rgba(var(--color-action-rgb), 0.45);
    transform-origin: center;
  }

  .location-brand-medallion__connector::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -3px;
    width: 6px;
    height: 6px;
    border: 1px solid rgba(var(--color-action-rgb), 0.62);
    border-radius: 50%;
    background: var(--color-background);
    transform: translateY(-50%);
  }

  .location-brand-medallion__connector--northwest {
    top: 22%;
    right: 72%;
    transform: rotate(-42deg);
  }

  .location-brand-medallion__connector--northeast {
    top: 22%;
    left: 72%;
    transform: rotate(42deg);
  }

  .location-brand-medallion__connector--southwest {
    right: 72%;
    bottom: 22%;
    transform: rotate(42deg);
  }

  .location-brand-medallion__connector--southeast {
    bottom: 22%;
    left: 72%;
    transform: rotate(-42deg);
  }

  .location-brand-values::before,
  .location-brand-values::after,
  .location-brand-value::after,
  .location-brand-medallion__connector {
    display: none;
  }

  .location-brand-story__art {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 86px);
    margin: 22px -43px -20px;
    opacity: 0.64;
    -webkit-mask-image: radial-gradient(ellipse at 56% 50%, #000 48%, rgba(0, 0, 0, 0.68) 65%, transparent 84%);
    mask-image: radial-gradient(ellipse at 56% 50%, #000 48%, rgba(0, 0, 0, 0.68) 65%, transparent 84%);
  }

  .location-services:not(.has-service-pin) .location-service-track {
    grid-template-columns: 1fr;
  }

  .location-services:not(.has-service-pin) .location-service-track .service-card {
    min-height: 310px;
  }

  .location-services.has-service-pin .location-service-track .service-card {
    min-height: 0;
  }

  .location-map-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .location-map-art {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
    transform: none;
  }

  .location-map-art img {
    width: 100%;
  }

  .location-map-attribution {
    left: 50%;
    right: auto;
    bottom: 38px;
    width: min(320px, calc(100vw - 48px));
    padding: 3px 6px;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.52rem;
  }

  .location-map-attribution a {
    display: block;
  }

  .location-map-pin {
    transform: scale(0.72);
  }

  .location-area-detail {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .location-area-detail-media {
    width: 88px;
    height: 116px;
  }

  .location-area-detail h3 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .location-area-detail p {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .location-process-list {
    padding: 14px;
    border-radius: 18px;
  }

  .location-trust {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .location-trust ul {
    grid-template-columns: 1fr;
  }

  .location-resource-topic-grid {
    grid-template-columns: 1fr;
  }
}

/* Location pages keep the wider headline treatment, so mirror the shared
   short-desktop compression after all route-specific typography rules. */
@media (min-width: 901px) and (max-height: 720px) {
  body.location-page main .location-hero h1 {
    font-size: clamp(64px, min(7.4vw, 12svh), 92px);
  }

  body.location-page main .location-hero .hero-description {
    margin-top: clamp(18px, 3.5svh, 24px);
    line-height: 1.4;
  }

  body.location-page main .location-hero .hero-actions {
    margin-top: clamp(16px, 2.8svh, 20px);
  }

  body.location-page main .location-hero .hero-trust-signature {
    margin-top: clamp(16px, 3svh, 22px);
  }
}

@media (max-width: 560px) {
  .location-hero h1 {
    max-width: 100%;
    font-size: clamp(58px, 15.5vw, 84px);
  }

  .location-hero .hero-description {
    width: 100%;
    max-width: 350px;
    margin-top: 18px;
    padding: 16px 18px;
  }

  .location-hero .hero-actions {
    gap: 12px;
  }

  .location-hero .hero-primary,
  .location-hero .hero-action {
    width: 100%;
    min-width: 0;
  }

  .location-coverage-intro h2,
  .location-approach-intro h2 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .location-map-art {
    min-height: 0;
  }

  .location-map-pin {
    transform: scale(0.6);
  }

  .location-process-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 2px;
  }

  .location-process-icon {
    width: 50px;
    height: 50px;
  }

  .location-process-icon svg {
    width: 27px;
    height: 27px;
  }

  .location-process-list h3 {
    font-size: 16px;
  }

  .location-process-list p {
    font-size: 11px;
  }

  .location-final-cta-art {
    right: -34%;
    bottom: -4%;
    width: 100%;
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-page *,
  .location-page *::before,
  .location-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 350px) {
  .location-hero .hero-message {
    padding-top: 24px;
  }

  .location-hero .hero-actions {
    margin-top: 22px;
  }

  .location-hero .hero-description {
    margin-top: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .location-brand-value,
  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding: 18px 12px 42px;
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(3) {
    padding-right: 34px;
  }

  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(4) {
    padding-left: 34px;
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2) {
    padding-bottom: 46px;
  }

  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding-top: 58px;
  }

  .location-brand-value__icon {
    width: 42px;
    height: 42px;
  }

  .location-brand-value h3 {
    margin-top: 14px;
    font-size: 18px;
  }

  .location-brand-value p {
    font-size: 12px;
    line-height: 1.48;
  }

  .location-brand-medallion {
    width: 104px;
  }
}

/* Keep the location headline on the same type scale and treatment as the
   homepage hero, while retaining the location page's own copy and artwork. */
body main .location-hero h1 {
  max-width: 10.5ch;
  font: var(--type-hero-weight) var(--type-hero-size)/var(--type-hero-leading) var(--font-role-hero);
  letter-spacing: var(--type-hero-tracking);
  text-transform: uppercase;
}

body main .location-hero h1 .care-line > span {
  white-space: nowrap;
}

/* Keep location hero actions text-sized like the shared hero buttons. */
body main .location-hero :is(.hero-primary, .hero-action) {
  min-width: 0;
  padding-inline: 20px;
  justify-content: center;
}

@media (min-width: 901px) {
  body main .location-hero h1 .care-line {
    display: block;
  }
}

@media (max-width: 900px) {
  body main .location-hero .hero-stage,
  body main .location-hero .hero-message,
  body main .location-hero .hero-text-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body main .location-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.85rem, 11.8vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  body main .location-hero h1 .care-line > :last-child {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 480px) {
  body main .location-hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
  }

  body main .location-hero :is(.hero-primary, .hero-action) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 14px;
  }

  body main .location-hero .hero-primary {
    font-size: clamp(9px, 2.6vw, var(--type-action-size));
    letter-spacing: 0.025em;
  }
}

/* Soft-editorial route geometry ------------------------------------------ */
.location-brand-values {
  gap: 0;
  overflow: hidden;
  border: var(--surface-border);
  border-radius: var(--radius-panel);
  background: rgba(var(--color-background-rgb), 0.68);
  box-shadow: var(--elevation-panel);
}

.location-brand-value,
.location-brand-value:nth-child(1),
.location-brand-value:nth-child(2),
.location-brand-value:nth-child(3),
.location-brand-value:nth-child(4) {
  padding: var(--card-padding);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: rgba(var(--color-background-rgb), 0.68);
}

.location-brand-value:nth-child(1),
.location-brand-value:nth-child(3) {
  border-right: var(--surface-border);
}

.location-brand-value:nth-child(1),
.location-brand-value:nth-child(2) {
  border-bottom: var(--surface-border);
}

.location-brand-value:nth-child(1),
.location-brand-value:nth-child(3) {
  padding-right: clamp(64px, 5vw, 84px);
}

.location-brand-value:nth-child(2),
.location-brand-value:nth-child(4) {
  padding-left: clamp(64px, 5vw, 84px);
}

.location-brand-value__icon,
.location-process-icon {
  border-radius: var(--radius-control);
}

.location-area-list {
  gap: 10px;
}

.location-area-list button {
  min-height: 58px;
  border-radius: var(--radius-compact);
  font-size: var(--type-action-size);
}

.location-area-arrow {
  border-radius: var(--radius-circle);
}

.location-area-detail {
  border-radius: var(--radius-panel);
  box-shadow: var(--elevation-panel);
}

.location-area-detail-media {
  border-radius: var(--radius-media);
}

.location-area-detail p {
  font-size: 14px;
}

.location-area-detail a {
  min-height: var(--control-min-height);
  padding: 10px 14px;
  border: 1px solid rgba(var(--color-action-rgb), 0.28);
  border-radius: var(--radius-pill);
  font-size: var(--type-action-compact);
}

.location-process-list {
  gap: var(--card-gap);
  padding: var(--card-gap);
  border-radius: var(--radius-panel);
}

.location-process-list li,
.location-process-list li + li {
  padding: 18px;
  border: var(--surface-border);
  border-radius: var(--radius-card);
  background: rgba(var(--color-background-rgb), 0.76);
}

.location-process-list p {
  font-size: 14px;
}

.location-trust {
  border: var(--surface-border);
  border-radius: var(--radius-panel);
  box-shadow: var(--elevation-panel);
}

.location-trust li {
  border-radius: var(--radius-card);
}

.location-trust-icon {
  grid-row: 1 / span 2;
  border-radius: var(--radius-control);
}

.location-trust li > span:last-child {
  margin-top: 0;
  font-size: 13px;
}

.location-resource-topic-card,
.location-testimonial-card,
.location-cta-card {
  border-radius: var(--radius-card);
}

.location-cta-card {
  border-radius: var(--radius-panel);
  box-shadow: var(--elevation-panel);
}

@media (max-width: 900px) {
  .location-brand-values {
    gap: 0;
    border-radius: var(--radius-panel);
  }

  .location-brand-value,
  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding: var(--card-padding);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(var(--color-background-rgb), 0.68);
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(3) {
    border-right: var(--surface-border);
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2) {
    border-bottom: var(--surface-border);
  }

  .location-process-list {
    gap: var(--card-gap);
  }

  .location-process-list li,
  .location-process-list li + li {
    border: var(--surface-border);
  }
}

/* Unified glass cards and standalone Tabler icons ----------------------- */
.location-brand-value,
.location-brand-value:nth-child(1),
.location-brand-value:nth-child(2),
.location-brand-value:nth-child(3),
.location-brand-value:nth-child(4),
.location-process-list li,
.location-process-list li + li,
.location-trust li {
  border-color: rgba(var(--color-primary-rgb), 0.14);
  background: rgba(var(--color-background-rgb), 0.84);
  box-shadow:
    inset 0 1px 0 rgba(var(--color-white-rgb), 0.82),
    0 18px 42px rgba(var(--color-primary-rgb), 0.075);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.location-brand-value__icon,
.location-process-icon,
.location-trust-icon {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.location-brand-value__icon {
  width: 52px;
  height: 52px;
}

.location-process-icon {
  width: 58px;
  height: 58px;
}

.location-trust-icon {
  width: 44px;
  height: 44px;
}

.location-brand-value__icon svg,
.location-process-icon svg,
.location-trust-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-trust-icon svg {
  width: 30px;
  height: 30px;
}

/* Preserve the approved Trusted-card surface; only its icon treatment changes. */
.location-trust li {
  border-color: rgba(var(--color-primary-rgb), 0.14);
  background:
    radial-gradient(circle at 4% 4%, rgba(var(--color-highlight-rgb), 0.48), transparent 52%),
    rgba(var(--color-background-rgb), 0.88);
  box-shadow: inset 0 1px 0 rgba(var(--color-white-rgb), 0.82);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 1100px) {
  .location-process-icon {
    width: 52px;
    height: 52px;
  }

  .location-process-icon svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 700px) {
  .location-brand-value__icon {
    width: 48px;
    height: 48px;
  }

  .location-brand-value__icon svg {
    width: 30px;
    height: 30px;
  }
}

/* Readable area tabs and Quiet Grove Toronto CTA ------------------------ */
.location-area-list button {
  min-height: 62px;
  font-size: 15px;
  line-height: 1.3;
}

.location-area-number {
  color: currentColor;
  font-size: 11px;
  opacity: 0.68;
}

.location-area-list button[aria-pressed="true"] .location-area-number {
  color: inherit;
  opacity: 0.92;
}

.location-area-arrow .cta-arrow {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.location-resources-footer .text-link .action-icon-box {
  width: 30px;
  height: 30px;
  font-size: inherit;
  line-height: 1;
}

:root[data-color-variant="quiet-grove"] .location-final-cta {
  border-top: 1px solid var(--outline-standard);
  border-bottom: 1px solid var(--outline-standard);
  background: linear-gradient(180deg, #f5f8f2 0%, #edf4e8 100%);
}

:root[data-color-variant="quiet-grove"] .location-final-cta .page-cta-card {
  overflow: hidden;
  border: 1px solid var(--outline-standard);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 42px rgba(var(--color-primary-rgb), 0.08);
}

:root[data-color-variant="quiet-grove"] .location-final-cta .eyebrow {
  color: var(--color-accent);
}

:root[data-color-variant="quiet-grove"] .location-final-cta-art {
  mix-blend-mode: multiply;
  opacity: 0.54 !important;
  filter: contrast(1.16) saturate(0.55);
}

@media (max-width: 1100px) {
  :root[data-color-variant="quiet-grove"] .location-final-cta-art {
    right: -14% !important;
    width: 68% !important;
    opacity: 0.45 !important;
  }
}

@media (max-width: 767px) {
  .location-area-list button {
    min-height: 60px;
    font-size: 14px;
  }

  :root[data-color-variant="quiet-grove"] .location-final-cta .page-cta-card {
    min-height: 470px;
    align-items: flex-start;
  }

  :root[data-color-variant="quiet-grove"] .location-final-cta-copy {
    width: 100%;
  }

  :root[data-color-variant="quiet-grove"] .location-final-cta-art {
    right: -20% !important;
    bottom: -1% !important;
    width: 94% !important;
    opacity: 0.34 !important;
  }
}

/* Keep mobile Why MCITY content clear of the centered medallion. */
@media (max-width: 767px) {
  .location-brand-values {
    grid-template-rows: repeat(2, 320px);
  }

  .location-brand-value,
  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2),
  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding: 20px;
  }

  .location-brand-value:nth-child(1),
  .location-brand-value:nth-child(2) {
    padding-bottom: clamp(64px, 15vw, 70px);
  }

  .location-brand-value:nth-child(3),
  .location-brand-value:nth-child(4) {
    padding-top: clamp(64px, 15vw, 70px);
  }
}

@media (max-width: 350px) {
  .location-brand-value__icon {
    width: 42px;
    height: 42px;
  }

  .location-brand-value h3 {
    margin-top: 14px;
    font-size: 18px;
  }

  .location-brand-value p {
    font-size: 12px;
    line-height: 1.48;
  }
}

/* Shared location visual system -----------------------------------------
   Typography and card hierarchy are shared across every viewport. The wider
   hero-aligned page gutter is intentionally desktop-only so the approved
   tablet and mobile section geometry remains unchanged. */
body.location-page {
  --location-section-title-size: var(--type-section-title-size);
  --location-card-title-size: var(--type-card-title-size);
  --location-card-copy-size: var(--type-card-copy-size);
  --location-subtitle-size: var(--type-section-subtitle-size);
  --location-subtitle-leading: 1.62;
  --location-meta-size: var(--type-metadata-size);
  --location-meta-compact-size: var(--type-metadata-compact-size);
  --location-desktop-gutter: var(--page-gutter);
}

body.location-page main :is(
  .location-brand-story__title,
  .location-services .services-head h2,
  .location-coverage-intro h2,
  .location-approach-intro h2,
  .location-trust-copy h3,
  .location-resources .resources-section-heading h2,
  .location-testimonials .testimonials-head h2,
  .location-faq > h2,
  .trusted-logos-section__intro h2,
  .location-final-cta .page-cta-title
) {
  font-family: var(--font-role-section-title) !important;
  font-size: var(--location-section-title-size);
  font-weight: var(--type-section-title-weight);
  line-height: var(--type-section-title-leading);
  letter-spacing: var(--type-section-title-tracking);
  text-transform: none;
}

body.location-page main :is(
  .location-brand-story__description,
  .location-services .services-head > p,
  .location-coverage-description,
  .location-approach-intro > p,
  .location-trust-copy > p,
  .location-resources .resources-section-heading > p,
  .location-testimonials .testimonial-prompt,
  .trusted-logos-section__intro > p,
  .location-final-cta .page-cta-description
) {
  font-family: var(--font-role-lead) !important;
  font-size: var(--location-subtitle-size);
  line-height: var(--location-subtitle-leading);
}

body.location-page main :is(
  .location-brand-value h3,
  .location-area-detail h3,
  .location-process-list h3,
  .location-trust li strong,
  .location-resources .resource-card h3,
  .location-resources .resource-carousel-card h3
) {
  font-family: var(--font-role-card-title) !important;
  font-size: var(--location-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: var(--type-card-title-leading);
  letter-spacing: var(--type-card-title-tracking);
  text-transform: none;
}

body.location-page .location-main :is(
  .eyebrow,
  .service-no,
  .location-area-number,
  .location-section-note,
  .location-faq .faq-q > .mono,
  .location-resources .resource-card-number,
  .location-resources .resource-card-category,
  .location-resources .resource-card-meta,
  .location-resources .resource-card-cta,
  .location-testimonials .testimonial-card-top .mono,
  .location-testimonials .testimonial-hint,
  .location-resources-footer .text-link,
  .trusted-logos-group h3
) {
  font-family: var(--font-role-label) !important;
  font-size: var(--location-meta-size);
  font-weight: var(--type-label-weight);
  line-height: var(--type-micro-leading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.location-page main .location-resources .resource-location-chip {
  font-size: var(--location-meta-compact-size);
}

body.location-page main :is(
  .location-brand-value p,
  .location-process-list p,
  .location-trust li > span:last-child
) {
  font-size: var(--location-card-copy-size);
}

body.location-page main :is(
  .location-brand-story,
  .location-coverage,
  .location-approach,
  .location-resources,
  .location-testimonials,
  .location-faq,
  .trusted-logos-section,
  .location-final-cta
) {
  padding-block: var(--space-section-compact);
}

body.location-page main .location-brand-story {
  min-height: 0;
}

body.location-page .location-brand-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.location-page .location-brand-value__icon,
body.location-page .location-brand-value h3,
body.location-page .location-brand-value p {
  margin-left: 0;
}

body.location-page .location-brand-value__icon {
  justify-items: start;
}

body.location-page .location-process-list li:nth-child(1) {
  z-index: 3;
}

body.location-page .location-process-list li:nth-child(2) {
  z-index: 2;
}

body.location-page .location-process-list li:nth-child(3) {
  z-index: 1;
}

body.location-page .location-process-arrow {
  --location-process-arrow-size: 50px;
  position: absolute;
  top: 50%;
  right: calc(-26px - (var(--card-gap) / 2));
  z-index: 5;
  width: var(--location-process-arrow-size);
  height: var(--location-process-arrow-size);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: var(--radius-circle);
  background: var(--color-background);
  color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.12);
  transform: translateY(-50%);
}

body.location-page .location-process-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.location-page .location-trust-copy h3 {
  margin-top: 0;
}

body.location-page .location-trust li {
  position: relative;
}

body.location-page .location-trust-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  grid-row: auto;
  transform: translateY(-50%);
}

body.location-page main .location-resources {
  border-bottom-color: rgba(var(--color-brand-green-rgb), 0.2);
}

body.location-page main .care-marquee__viewport,
body.location-page main .care-marquee__track,
body.location-page main .care-marquee__group {
  min-height: clamp(118px, 9vw, 132px);
}

body.location-page main .care-marquee__copy {
  gap: 6px;
}

body.location-page main .care-marquee__item {
  grid-template-columns: 50px minmax(0, 1fr);
}

body.location-page main .care-marquee__icon {
  width: 50px;
  height: 50px;
}

body.location-page main .care-marquee__icon svg {
  width: 35px;
  height: 35px;
}

body.location-page main .care-marquee__copy strong {
  font-family: var(--font-role-card-title);
  font-size: var(--location-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: var(--type-card-title-leading);
  letter-spacing: var(--type-card-title-tracking);
  white-space: normal;
}

body.location-page main .care-marquee__copy > span {
  font-family: var(--font-role-body);
  font-size: var(--location-card-copy-size);
  line-height: 1.5;
}

@media (min-width: 1101px) {
  body.location-page main .care-marquee__item {
    padding-inline: clamp(8px, 0.8vw, 14px);
    gap: clamp(8px, 0.7vw, 11px);
  }

  body.location-page main .care-marquee__copy strong {
    font-size: clamp(14px, 1.25vw, 18px);
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  body.location-page .location-process-arrow {
    --location-process-arrow-size: 40px;
    top: auto;
    right: auto;
    bottom: calc(-21px - (var(--card-gap) / 2));
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  body.location-page .location-process-arrow svg {
    width: 17px;
    height: 17px;
  }

  body.location-page main .care-marquee__item {
    grid-template-columns: 50px max-content;
  }
}

@media (max-width: 767px) {
  body.location-page .location-brand-values {
    grid-template-rows: repeat(2, clamp(300px, calc(480px - 46vw), 330px));
  }
}

@media (max-width: 560px) {
  body.location-page {
    --location-card-title-size: clamp(18px, 5.1vw, 20px);
    --location-subtitle-size: clamp(15px, 4.1vw, 16px);
  }

  body.location-page main .care-marquee__item {
    grid-template-columns: 46px max-content;
  }

  body.location-page main .care-marquee__icon {
    width: 46px;
    height: 46px;
  }

  body.location-page main .care-marquee__icon svg {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 901px) {
  body.location-page main .location-stats {
    margin-bottom: var(--space-section-compact);
  }

  body.location-page main .location-coverage {
    --location-coverage-card-clearance: clamp(31px, calc(11vw - 110px), 102px);
    padding-bottom: calc(var(--space-section-compact) + var(--location-coverage-card-clearance));
  }

  body.location-page main .location-approach-intro {
    align-self: start;
  }

  body.location-page main .location-hero .hero-copy {
    padding-inline: var(--location-desktop-gutter);
  }

  body.location-page main .location-hero .hero-message {
    left: 0;
  }

  body.location-page main .care-marquee-band,
  body.location-page main .location-brand-story,
  body.location-page main .location-coverage,
  body.location-page main .location-approach,
  body.location-page main .location-resources,
  body.location-page main .location-testimonials,
  body.location-page main .location-faq,
  body.location-page main .trusted-logos-section {
    padding-inline: var(--location-desktop-gutter);
  }

  body.location-page main .location-stats {
    width: calc(100% - (2 * var(--location-desktop-gutter)));
    margin-inline: var(--location-desktop-gutter);
  }

  body.location-page main :is(
    .location-brand-story__shell,
    .location-coverage-inner,
    .location-approach-inner,
    .location-resources .resources-section-heading,
    .location-resource-carousel,
    .trusted-logos-section__shell
  ) {
    width: 100%;
    max-width: none;
  }

  body.location-page main .location-brand-story::before {
    background-position: calc(100% - var(--location-desktop-gutter)) 56%;
  }

  body.location-page main .location-services:not(.has-service-pin) .services-head,
  body.location-page main .location-services:not(.has-service-pin) .location-service-track {
    width: calc(100% - (2 * var(--location-desktop-gutter)));
    max-width: none;
  }

  body.location-page main .location-services.has-service-pin .services-head {
    left: var(--location-desktop-gutter);
    right: var(--location-desktop-gutter);
    width: auto;
  }

  body.location-page main .location-services.has-service-pin .location-service-track {
    padding-inline: var(--location-desktop-gutter);
  }

  body.location-page main .location-services.has-service-pin .scroll-progress {
    left: var(--location-desktop-gutter);
    right: calc(var(--location-desktop-gutter) + 220px);
  }
}

@media (min-width: 901px) {
  body.location-page main .location-approach-inner {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(22px, 3vw, 44px);
    row-gap: 24px;
  }

  body.location-page main .location-process-art {
    width: min(470px, 80%);
    justify-self: end;
    left: clamp(-56px, -3vw, -24px);
    transform: scale(1.2);
    transform-origin: right bottom;
  }

  body.location-page main .location-process-art img {
    width: 100%;
    margin-left: 0;
  }

body.location-page main .location-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--card-gap);
    margin-top: 0;
  }
}

/* Location CTA composition -----------------------------------------------
   The text owns the separator, and the action follows the subtitle within the
   same compact column. */
body.location-page main .location-final-cta .page-cta-card {
  max-width: 960px;
  min-height: 0;
  display: block;
}

body.location-page main .location-final-cta-copy {
  width: min(100%, 620px);
}

body.location-page main .location-final-cta .page-cta-body {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 18px;
  padding-top: 18px;
}

body.location-page main .location-final-cta .page-cta-description {
  max-width: none;
}

body.location-page main .location-final-cta .page-cta-button {
  display: flex;
  position: relative;
  z-index: 3;
  right: auto;
  bottom: auto;
  width: max-content;
  max-width: 100%;
  margin: 18px 0 0;
}

@media (max-width: 767px) {
  body.location-page main .location-final-cta-copy {
    width: 100%;
  }

  body.location-page main .location-final-cta .page-cta-body {
    margin-top: 16px;
    padding-top: 16px;
  }

  body.location-page main .location-final-cta .page-cta-button {
    margin-top: 16px;
  }
}

/* Responsive location flow ------------------------------------------------
   The shared hero reserves a fixed viewport fold for most routes. Location
   pages have a larger editorial image band, so their copy and trust marks
   need to determine the hero height before that unobstructed band begins. */
@media (max-width: 900px) {
  body.location-page main .location-hero {
    height: auto;
    min-height: 0;
  }

  body.location-page main .location-hero .hero-copy,
  body.location-page main .location-hero .hero-stage,
  body.location-page main .location-hero .hero-message,
  body.location-page main .location-hero .hero-text-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
  }

  body.location-page main .location-hero .hero-copy {
    display: flex;
    flex: none;
    padding-bottom: clamp(300px, 72vw, 650px);
  }

  body.location-page main .location-hero .hero-stage {
    flex: none;
    min-height: 0;
    overflow: visible;
  }

  body.location-page main .location-hero .hero-message {
    position: relative;
    top: auto;
    left: auto;
    padding-top: clamp(28px, 4vh, 38px);
  }

  body.location-page main .location-hero .hero-text-panel {
    display: flex;
    flex: none;
    align-items: flex-start;
  }

  body.location-page main .location-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.25rem, 11vw, 3.5rem);
    line-height: 0.98;
  }

  body.location-page main .location-hero h1 .care-line,
  body.location-page main .location-hero h1 .care-line > span {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }

  body.location-page main .location-hero .hero-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: stretch;
    align-items: stretch;
    gap: 12px;
    margin-top: clamp(22px, 3vh, 28px);
  }

  body.location-page main .location-hero :is(.hero-primary, .hero-action) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  body.location-page main .location-hero .hero-description {
    width: min(100%, 440px);
    min-width: 0;
    max-width: 100%;
    margin: 16px 0 0;
  }

  /* Route-scoped override for the shared absolute hero signature. */
  body.location-page main .location-hero .hero-trust-signature {
    position: static;
    left: auto;
    bottom: auto;
    width: min(100%, 430px);
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    margin-top: clamp(18px, 2.2vw, 26px);
    transform: none;
    order: 4;
  }

  body.location-page main .location-hero .hero-trust-signature__list {
    width: 100%;
    min-height: 54px;
  }

  /* The selector and the coordinate plane share one continuous mobile flow. */
  body.location-page main .location-coverage-inner {
    gap: 0;
  }

  body.location-page main .location-area-selector,
  body.location-page main .location-area-list,
  body.location-page main .location-area-list button:last-child {
    margin-bottom: 0;
  }

  body.location-page main .location-map-stage {
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* All five editorial map assets are 1536 × 1024. Keeping a single 3:2
     plane means percentage pins use the same coordinate system as the art. */
  body.location-page main .location-map-art {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 0;
    display: block;
    transform: none;
  }

  body.location-page main .location-map-art img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    margin: 0;
  }

  body.location-page main .location-area-detail {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 480px) {
  body.location-page main .location-hero .hero-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.location-page main .location-hero :is(.hero-primary, .hero-action) {
    width: 100%;
  }
}

/* The selected community card participates in the map column's flow at every
   viewport. The map and its pins share one plane; the card follows it rather
   than being pulled out with a negative offset. */
@media (min-width: 901px) {
  body.location-page main .location-coverage {
    padding-bottom: var(--space-section-compact);
  }

  body.location-page main .location-map-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  body.location-page main .location-map-art {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: min(116%, 900px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
    transform: none;
  }

  body.location-page main .location-area-detail {
    position: relative;
    inset: auto;
    width: min(440px, 85%);
    max-width: 100%;
    margin: 24px 0 0;
  }
}

/* Map refinement ----------------------------------------------------------
   The map plane is intentionally generous so the regional silhouettes read
   like the Toronto reference on both wide and narrow screens. Pins use
   simple filled markers so the exact geographic anchor stays visible. */
body.location-page main .location-map-art {
  overflow: visible;
}

body.location-page main .location-map-art img {
  opacity: 0.92;
  filter: contrast(1.1) saturate(0.68);
}

body.location-page main .location-map-pin {
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) scale(0.86);
  border: 2px solid var(--color-background);
  border-radius: 50%;
  background: var(--color-primary-dark);
  opacity: 0.86;
}

body.location-page main .location-map-pin::before {
  display: none;
}

body.location-page main .location-map-pin::after {
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(var(--color-background-rgb), 0.9);
  background: var(--color-action);
  transform: translate(-50%, -50%);
}

body.location-page main .location-map-pin.is-active {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-action);
}

@media (min-width: 901px) {
  body.location-page main .location-coverage-inner {
    grid-template-columns: minmax(290px, 0.58fr) minmax(0, 1.42fr);
    gap: clamp(28px, 4.5vw, 90px);
  }

  body.location-page main .location-map-art {
    width: min(130%, 1080px);
  }
}

@media (max-width: 900px) {
  body.location-page main .location-map-art {
    width: calc(100% + 72px);
    margin-inline: -36px;
  }
}
