@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-400.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-600.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-700.woff2") format("woff2");
}

:root {
  --ink: #14110f;
  --cream: #f3eee4;
  --paper: #f7f1e6;
  --card: rgba(255, 252, 247, 0.78);
  --teal: #0f6b5c;
  --teal-dark: #0c584c;
  --red: #c8102e;
  --muted: #2a3036;
  --soft: #5a6168;
  --hero: #100e0d;
  --hero-text: #f6f1e8;
  --hero-soft: #ddd4c8;
  --map-stroke: #140f0d;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(20, 17, 15, 0.06), 0 22px 48px rgba(20, 17, 15, 0.1);
  --shadow-hover: 0 16px 28px rgba(20, 17, 15, 0.08), 0 28px 64px rgba(20, 17, 15, 0.14);
  --glow-red: rgba(200, 16, 46, 0.28);
  --glow-teal: rgba(15, 107, 92, 0.26);
  --bc: #5a8076;
  --ab: #c4895c;
  --sk: #c4ad6e;
  --mb: #a87466;
  --on: #6a8aa3;
  --qc: #7a7ba8;
  --nb: #62856c;
  --ns: #5a8488;
  --pe: #c48a92;
  --nl: #5d7e94;
  --yt: #c4a45a;
  --nt: #7d7398;
  --nu: #6a8f9c;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.motif-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% -10%, rgba(200, 16, 46, 0.07), transparent 42%),
    radial-gradient(ellipse at 100% 8%, rgba(15, 107, 92, 0.08), transparent 46%),
    radial-gradient(ellipse at 50% 100%, rgba(196, 164, 90, 0.08), transparent 48%),
    linear-gradient(180deg, #fbf6ec 0%, var(--paper) 28%, #efe6d6 100%);
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("../assets/photos/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #1c5360;
  color: var(--hero-text);
}
.hero.has-parallax {
  overflow: visible;
  min-height: 0;
  height: calc(100vh + var(--hero-travel, 0px));
  height: calc(100dvh + var(--hero-travel, 0px));
}
.hero-pin {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #1c5360;
}
.hero.has-parallax .hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.hero-inner {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 51%;
  transform: translate(-50%, var(--title-shift, 0px));
  opacity: var(--title-opacity, 1);
  width: min(420px, 34vw);
  margin: 0;
  text-align: center;
  padding: 4px 8px 6px;
  pointer-events: none;
}
.hero-inner a,
.hero-inner button {
  pointer-events: auto;
}
.hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  z-index: -1;
  width: 136%;
  height: 136%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 20%, rgba(12, 28, 34, 0.46) 0%, rgba(12, 28, 34, 0.16) 56%, transparent 76%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 10px;
}

.brand img { width: min(220px, 58vw); height: auto; }

.hero-kicker,
.footer-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--hero-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(8, 20, 24, 0.55);
}
.maple { flex: 0 0 auto; display: block; }

.hero-inner h1 {
  margin: 0 0 6px;
  font-size: clamp(1.92rem, 3vw, 2.95rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  white-space: nowrap;
  text-shadow: 0 10px 28px rgba(8, 20, 24, 0.45);
}

.hero-lead {
  margin: 0 auto;
  max-width: 22rem;
  color: var(--hero-soft);
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  line-height: 1.4;
  text-shadow: 0 8px 20px rgba(8, 20, 24, 0.5);
}

.hero-map-wrap,
.map-stage,
.map-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-map-wrap {
  z-index: 1;
}

.map-stage {
  display: block;
}

.map-root { overflow: hidden; background: #1c5360; }
.map-root svg { opacity: 0; }
.map-root.is-ready svg {
  opacity: 1;
  animation: map-fade-in 700ms ease both;
}
.map-root svg {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  margin: 0;
  overflow: hidden;
}
.hero.has-parallax .map-root svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--map-w, 100%);
  height: var(--map-h, 100%);
  transform: translate(-50%, var(--map-y, 0px));
  will-change: transform;
}
.inset-root svg {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  overflow: hidden;
}

.map-water,
.map-neighbors {
  pointer-events: none;
}
.ocean-base { fill: #15414c; }
.ocean-band-3 { fill: #1c5360; }
.ocean-band-2 { fill: #266874; }
.ocean-band-1 { fill: #327e88; }
.ocean-coast { fill: #40949c; }
.ocean-band-3,
.ocean-band-2,
.ocean-band-1,
.ocean-coast {
  stroke: rgba(196, 228, 232, 0.14);
  stroke-width: 0.7;
  stroke-linejoin: round;
}
.ocean-waves { fill: url(#ocean-wave-lines); }
.map-lakes { fill: #2c7a86; }
.map-lakes-group { pointer-events: none; }
.neighbor {
  stroke-linejoin: round;
}
#neighbor-usa,
#inset-neighbor-usa {
  fill: #171512;
  fill-opacity: 0.46;
  stroke: none;
  filter: url(#usa-recess);
}
#neighbor-greenland,
#inset-neighbor-greenland {
  fill: #c9c5bd;
  stroke: rgba(36, 32, 28, 0.22);
  stroke-width: 0.55;
  filter: url(#land-lift);
}
#provinces,
#inset-provinces {
  filter: url(#land-lift);
}
.inset-root #inset-neighbor-usa {
  fill: #171512;
  fill-opacity: 0.46;
}
.inset-root #inset-neighbor-greenland {
  fill: #c9c5bd;
}

.map-root .province,
.map-root .motif-wash {
  stroke: var(--map-stroke);
  stroke-width: 0.9;
  stroke-linejoin: round;
  transition: filter 220ms ease, stroke 220ms ease, opacity 220ms ease;
  cursor: pointer;
}
.map-root .motif-wash,
.inset-root .motif-wash {
  pointer-events: none;
}

#prov-britishcolumbia,
#inset-prov-britishcolumbia { fill: url(#grad-britishcolumbia); }
#prov-alberta,
#inset-prov-alberta { fill: url(#grad-alberta); }
#prov-saskatchewan,
#inset-prov-saskatchewan { fill: url(#grad-saskatchewan); }
#prov-manitoba,
#inset-prov-manitoba { fill: url(#grad-manitoba); }
#prov-ontario,
#inset-prov-ontario { fill: url(#grad-ontario); }
#prov-quebec,
#inset-prov-quebec { fill: url(#grad-quebec); }
#prov-newbrunswick,
#inset-prov-newbrunswick { fill: url(#grad-newbrunswick); }
#prov-novascotia,
#inset-prov-novascotia { fill: url(#grad-novascotia); }
#prov-princeedwardisland,
#inset-prov-princeedwardisland { fill: url(#grad-princeedwardisland); }
#prov-newfoundlandlabrador,
#inset-prov-newfoundlandlabrador { fill: url(#grad-newfoundlandlabrador); }
#prov-yukon,
#inset-prov-yukon { fill: url(#grad-yukon); }
#prov-northwestterritories,
#inset-prov-northwestterritories { fill: url(#grad-northwestterritories); }
#prov-nunavut,
#inset-prov-nunavut { fill: url(#grad-nunavut); }

.map-root .prov-link:hover .province,
.map-root .prov-link:hover .motif-wash,
.map-root .prov-link:focus-visible .province,
.map-root .prov-link:focus-visible .motif-wash,
.map-root .province.is-hot,
.map-root .province.is-hot + .motif-wash,
.inset-root .province.is-focus,
.inset-root .province.is-focus + .motif-wash {
  filter: brightness(1.16) saturate(1.08);
  stroke: #fff6ea;
  stroke-width: 1.35;
}

.inset-root .prov-link { pointer-events: none; }
.inset-root .city-link { pointer-events: auto; }
.inset-root .province.is-dim,
.inset-root .province.is-dim + .motif-wash {
  fill: #1b1716 !important;
  stroke: rgba(242, 239, 232, 0.1);
  filter: none;
  opacity: 0.28;
}
.inset-root .province.is-dim + .motif-wash {
  opacity: 0.12;
}

.map-root .pin-hit,
.inset-root .pin-hit { fill: transparent; }
.map-root .pin-bar,
.inset-root .pin-bar { fill: var(--ink); stroke: var(--cream); stroke-width: 0.55; }
.map-root .pin-rail,
.inset-root .pin-rail { fill: var(--red); }

.map-root .city-pin,
.inset-root .city-pin {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.15);
}
.map-root .pin-rail {
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 2.6s ease-in-out infinite;
}

.map-root .city-link:hover .city-pin,
.inset-root .city-link:hover .city-pin {
  transform: scale(1.4);
}

.map-root .city-label,
.inset-root .city-label {
  fill: #fffaf3;
  font: 700 18px/1 "Montserrat", "Segoe UI", sans-serif;
  paint-order: stroke;
  stroke: rgba(20, 15, 13, 0.92);
  stroke-width: 5px;
  pointer-events: auto;
}

.inset-root .city-pin {
  transform: scale(1.85);
}

.map-root .city-link[data-corridor="true"]:not([data-slug="toronto"]):not([data-slug="ottawa"]):not([data-slug="montreal"]):not([data-slug="quebeccity"]) {
  display: none;
}

.map-inset {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 28px;
  transform: translateY(-46%);
  width: min(300px, calc(100% - 48px));
  padding: 0 16px 18px;
  border-radius: 22px;
  background: rgba(16, 28, 34, 0.52);
  border: 1px solid rgba(255, 248, 236, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  max-height: calc(100vh - 56px);
  overflow: auto;
  transition: border-color 280ms ease, box-shadow 280ms ease, background 280ms ease;
}
.map-inset::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(255, 244, 220, 0.04);
}
.inset-photo {
  position: relative;
  z-index: 1;
  margin: 0 -16px 12px;
  height: 132px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}
.inset-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 480ms ease;
}
.inset-photo[hidden] { display: none; }
.map-inset:not([data-province]) { padding-top: 16px; }
.map-inset .inset-title { padding-top: 4px; }
.map-inset[data-province="britishcolumbia"] { border-color: color-mix(in srgb, var(--bc) 70%, #fff6ea); }
.map-inset[data-province="alberta"] { border-color: color-mix(in srgb, var(--ab) 70%, #fff6ea); }
.map-inset[data-province="saskatchewan"] { border-color: color-mix(in srgb, var(--sk) 70%, #fff6ea); }
.map-inset[data-province="manitoba"] { border-color: color-mix(in srgb, var(--mb) 70%, #fff6ea); }
.map-inset[data-province="ontario"] { border-color: color-mix(in srgb, var(--on) 70%, #fff6ea); }
.map-inset[data-province="quebec"] { border-color: color-mix(in srgb, var(--qc) 70%, #fff6ea); }
.map-inset[data-province="newbrunswick"] { border-color: color-mix(in srgb, var(--nb) 70%, #fff6ea); }
.map-inset[data-province="novascotia"] { border-color: color-mix(in srgb, var(--ns) 70%, #fff6ea); }
.map-inset[data-province="princeedwardisland"] { border-color: color-mix(in srgb, var(--pe) 70%, #fff6ea); }
.map-inset[data-province="newfoundlandlabrador"] { border-color: color-mix(in srgb, var(--nl) 70%, #fff6ea); }
.map-inset[data-province="yukon"] { border-color: color-mix(in srgb, var(--yt) 70%, #fff6ea); }
.map-inset[data-province="northwestterritories"] { border-color: color-mix(in srgb, var(--nt) 70%, #fff6ea); }
.map-inset[data-province="nunavut"] { border-color: color-mix(in srgb, var(--nu) 70%, #fff6ea); }

.inset-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.inset-cities a {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(242, 239, 232, 0.1);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
}

.inset-cities a:hover {
  background: rgba(242, 239, 232, 0.2);
  color: #fff;
}

.inset-title,
.inset-name,
.inset-domain {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--cream);
}
.inset-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #f0c14b; }
.inset-name { margin: 4px 0 0; font-size: 1.08rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.inset-domain {
  display: inline-block;
  margin: 4px 0 8px;
  color: #9ed7cc;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  word-break: break-word;
}
.inset-domain:hover { color: #fff; }
.inset-domain[hidden] { display: none; }
.inset-root {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  margin: 10px 0 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(8, 6, 6, 0.35);
}
.inset-root svg {
  background: transparent;
  width: 100%;
  height: 100%;
  max-height: 220px;
  overflow: hidden;
}
.inset-body {
  transition: opacity 180ms ease;
}
.map-inset.is-updating .inset-root,
.map-inset.is-updating .inset-cities,
.map-inset.is-updating .inset-shops,
.map-inset.is-updating .inset-name,
.map-inset.is-updating .inset-domain,
.map-inset.is-updating .inset-photo img {
  opacity: 0.4;
}
.inset-root,
.inset-cities,
.inset-shops,
.inset-name,
.inset-domain {
  transition: opacity 180ms ease;
}
.inset-shops {
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(242, 239, 232, 0.14);
}
.inset-shops[hidden] { display: none; }
.inset-shops-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c14b;
}
.inset-shop {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 8px;
}
.inset-shop:last-child { margin-bottom: 0; }
.inset-shop a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.inset-shop a:hover { color: #fff; }
.inset-shop-place {
  color: rgba(242, 239, 232, 0.7);
  font-size: 0.76rem;
}

.map-hint {
  position: absolute;
  z-index: 4;
  left: 32px;
  bottom: 22px;
  width: min(34rem, calc(100% - 380px));
  margin: 0;
  color: #e8dfd3;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: left;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: var(--hint-opacity, 1);
}

.map-loading { color: var(--hero-soft); text-align: center; }

.map-tip {
  position: absolute;
  z-index: 5;
  min-width: 180px;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
}
.map-tip[hidden] { display: none; }
.map-tip-name,
.map-tip-domain,
.map-tip-shop { display: block; }
.map-tip-name { font-size: 0.95rem; font-weight: 600; }
.map-tip-domain { margin-top: 2px; color: var(--teal); font-size: 0.82rem; font-weight: 500; }
.map-tip-shop { margin-top: 6px; color: var(--muted); font-size: 0.8rem; }

.search-band {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(200, 16, 46, 0.1), transparent 46%),
    radial-gradient(ellipse at 88% 100%, rgba(15, 107, 92, 0.12), transparent 50%),
    linear-gradient(180deg, #efe6d6, var(--cream));
  padding: 36px 24px 48px;
}

.search {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 28px 28px 24px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 50px rgba(20, 17, 15, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.search-intro { margin-bottom: 8px; }
.search-intro h2 {
  margin: 0 0 22px;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.search-fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 12px;
}

.search-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

.search-field input,
.search-field select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(20, 17, 15, 0.1);
  border-radius: 14px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: 500 1rem/1.2 "Montserrat", "Segoe UI", sans-serif;
}

.search-submit {
  align-self: end;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #de2844, var(--red));
  color: #fff;
  font: 600 1rem/1 "Montserrat", "Segoe UI", sans-serif;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.search-submit:hover {
  background: linear-gradient(180deg, #e1324c, #a40d25);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(200, 16, 46, 0.34);
}

.search-note { margin: 10px 0 0; color: var(--soft); font-size: 0.86rem; }
.search-note.is-alert { color: var(--red); }

.search-field input:focus,
.search-field select:focus,
.search-submit:focus-visible,
.brand:focus-visible,
.shop-card:focus-within,
.place-card a:focus-visible,
.prov-link:focus-visible,
.city-link:focus-visible {
  outline: 2px solid #8fd1c5;
  outline-offset: 2px;
}

.featured,
.paths,
.directory {
  width: 100%;
  margin: 0;
  padding: 88px 24px 80px;
}
.featured > *,
.paths > *,
.directory > * {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.featured {
  position: relative;
  background: var(--paper);
}
.featured::before {
  content: "";
  position: absolute;
  right: 7%;
  top: 56px;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23C8102E' d='M16 2 L18.2 9.2 L25 6.2 L21.2 12.2 L30 14 L22 17.4 L24.8 24.5 L18 19.8 L16 30 L14 19.8 L7.2 24.5 L10 17.4 L2 14 L10.8 12.2 L7 6.2 L13.8 9.2 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.paths {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(200, 16, 46, 0.045), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(15, 107, 92, 0.07), transparent 48%),
    var(--cream);
}

.section-head { max-width: 40rem; margin: 0 auto 40px 0; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  letter-spacing: -0.042em;
  line-height: 1.12;
}
.section-head p {
  margin: 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.65;
}
.section-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 20px, var(--teal) 20px);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shop-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  border-top: 6px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.shop-card[data-province="britishcolumbia"] { border-top-color: var(--bc); }
.shop-card[data-province="alberta"] { border-top-color: var(--ab); }
.shop-card[data-province="saskatchewan"] { border-top-color: var(--sk); }
.shop-card[data-province="manitoba"] { border-top-color: var(--mb); }
.shop-card[data-province="ontario"] { border-top-color: var(--on); }
.shop-card[data-province="quebec"] { border-top-color: var(--qc); }
.shop-card[data-province="newbrunswick"] { border-top-color: var(--nb); }
.shop-card[data-province="novascotia"] { border-top-color: var(--ns); }
.shop-card[data-province="princeedwardisland"] { border-top-color: var(--pe); }
.shop-card[data-province="newfoundlandlabrador"] { border-top-color: var(--nl); }
.shop-card[data-province="yukon"] { border-top-color: var(--yt); }
.shop-card[data-province="northwestterritories"] { border-top-color: var(--nt); }
.shop-card[data-province="nunavut"] { border-top-color: var(--nu); }

.shop-kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

.shop-card h3 {
  margin: 0;
  font-size: 1.14rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.shop-place { margin: 0; color: var(--muted); font-size: 0.9rem; }

.shop-card a {
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.path-grid,
.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.path-card,
.place-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.path-card:hover,
.place-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.path-card:hover .card-photo img,
.place-card:hover .card-photo img {
  transform: scale(1.06);
}

.card-photo {
  margin: 0;
  height: 168px;
  overflow: hidden;
  background: #1c1916;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  transition: transform 520ms ease;
}

.path-card {
  padding: 0;
  border-top: 6px solid var(--red);
}
.path-card:nth-child(2) { border-top-color: var(--teal); border-left: 0; }
.path-card:nth-child(3) { border-top-color: var(--on); border-left: 0; }
.path-card-body,
.place-card-body { padding: 22px 22px 24px; }
.path-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.22;
}
.path-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.place-card { padding: 0; border-top: 6px solid var(--teal); }
.place-card[data-province="britishcolumbia"] { border-top-color: var(--bc); }
.place-card[data-province="alberta"] { border-top-color: var(--ab); }
.place-card[data-province="saskatchewan"] { border-top-color: var(--sk); }
.place-card[data-province="manitoba"] { border-top-color: var(--mb); }
.place-card[data-province="ontario"] { border-top-color: var(--on); }
.place-card[data-province="quebec"] { border-top-color: var(--qc); }
.place-card[data-province="newbrunswick"] { border-top-color: var(--nb); }
.place-card[data-province="novascotia"] { border-top-color: var(--ns); }
.place-card[data-province="princeedwardisland"] { border-top-color: var(--pe); }
.place-card[data-province="newfoundlandlabrador"] { border-top-color: var(--nl); }
.place-card[data-province="yukon"] { border-top-color: var(--yt); }
.place-card[data-province="northwestterritories"] { border-top-color: var(--nt); }
.place-card[data-province="nunavut"] { border-top-color: var(--nu); }
.place-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.place-card-title {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.place-card-domain {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  word-break: break-word;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.city-list a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 107, 92, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
}
.city-list a:hover { background: rgba(15, 107, 92, 0.16); }

.footer {
  margin-top: 0;
  padding: 72px 24px 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 16, 46, 0.2), transparent 52%),
    radial-gradient(ellipse at 80% 100%, rgba(15, 107, 92, 0.16), transparent 48%),
    var(--hero);
  color: var(--hero-soft);
  text-align: center;
}
.footer-kicker {
  display: flex;
  width: 100%;
  margin: 0 0 22px;
  justify-content: center;
}
.brand-footer { margin-bottom: 16px; }
.brand-footer img { width: min(200px, 60vw); }
.footer p { margin: 0 auto 10px; max-width: 34rem; line-height: 1.65; }
.footer-note { color: #8d8980; font-size: 0.86rem; }

@media (max-width: 980px) {
  .shop-grid,
  .path-grid,
  .place-grid { grid-template-columns: repeat(2, 1fr); }
  .hero,
  .hero.has-parallax {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .hero-pin,
  .hero.has-parallax .hero-pin {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .hero.has-parallax .map-root svg {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
    transform: none;
    will-change: auto;
  }
  .hero-inner {
    transform: translateX(-50%);
    opacity: 1;
  }
  .map-hint { opacity: 1; }
  .hero-map-wrap,
  .map-stage {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .map-root {
    position: relative;
    inset: auto;
    width: 100%;
    height: calc(100vw * 0.846 + 9.25rem);
    min-height: 0;
  }
  .hero-inner {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 32px));
    text-align: center;
  }
  .hero-inner h1 { white-space: nowrap; }
  .map-inset {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 32px);
    max-width: 520px;
    margin: 16px auto 20px;
    max-height: none;
  }
  .map-hint {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(40rem, calc(100% - 32px));
    margin: 0 auto 20px;
    padding: 0 16px;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero-inner h1 { font-size: 1.85rem; }
  .hero-inner { top: 12px; }
  .brand img { width: min(200px, 70vw); }
  .map-root {
    height: calc(100vw * 0.846 + 8.75rem);
  }
  .search-fields { grid-template-columns: 1fr; }
  .search-submit { width: 100%; }
  .map-root .city-link[data-priority="low"] { display: none; }
  .map-root .city-label { display: none; }
  .shop-grid,
  .path-grid,
  .place-grid { grid-template-columns: 1fr; }
  .featured, .paths, .directory { width: 100%; padding: 56px 16px 48px; }
}

@keyframes map-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pin-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(200, 16, 46, 0)); }
  50% { filter: drop-shadow(0 0 5px rgba(200, 16, 46, 0.7)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero.has-parallax {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }
  .hero.has-parallax .hero-pin {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero.has-parallax .map-root svg {
    position: relative;
    left: auto;
    width: 100%;
    height: 100%;
    transform: none;
    will-change: auto;
  }
  .hero-inner {
    transform: translateX(-50%);
    opacity: 1;
  }
  .map-hint { opacity: 1; }
  .map-root svg { opacity: 1; animation: none; }
  .map-root .pin-rail { animation: none; }
  .map-root .province, .map-root .motif-wash, .map-root .city-pin,
  .map-inset, .inset-root, .inset-cities, .inset-shops, .inset-name, .inset-domain, .inset-photo img,
  .shop-card, .path-card, .place-card, .card-photo img, .search-submit { transition: none; }
  .shop-card:hover, .path-card:hover, .place-card:hover, .search-submit:hover { transform: none; }
  .path-card:hover .card-photo img,
  .place-card:hover .card-photo img { transform: none; }
}
