:root {
  --bg: #fff8ef;
  --bg-strong: #241a14;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffdf9;
  --surface-ink: #17110c;
  --surface-muted: #6f5c4b;
  --line: rgba(29, 18, 10, 0.1);
  --accent: #f97316;
  --accent-deep: #d9480f;
  --accent-soft: #ffcc9e;
  --accent-gold: #f6b21b;
  --province-on: #f97316;
  --province-ab: #f6b21b;
  --province-bc: #fb923c;
  --shadow-soft: 0 24px 70px rgba(60, 31, 8, 0.12);
  --shadow-strong: 0 28px 90px rgba(48, 25, 7, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--surface-ink);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 30%),
    radial-gradient(circle at right 15% top 15%, rgba(246, 178, 27, 0.18), transparent 22%),
    linear-gradient(180deg, #fff9f2 0%, #fff4e7 46%, #fff7ef 100%);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.5;
  z-index: 0;
}

body::before {
  width: 220px;
  height: 220px;
  top: 130px;
  right: -80px;
  background: rgba(249, 115, 22, 0.16);
}

body::after {
  width: 180px;
  height: 180px;
  bottom: 60px;
  left: -40px;
  background: rgba(246, 178, 27, 0.16);
}

a {
  color: inherit;
}

button,
a.button {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(31, 18, 10, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(60, 31, 8, 0.08);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(60, 31, 8, 0.08);
  flex: 0 0 auto;
}

.brand-lockup strong,
.site-nav a,
.eyebrow,
.roadmap-step,
.signal-chip,
.filter-label,
.legend-row span,
.question-list li,
.schema-pills span {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-lockup strong {
  display: block;
  font-size: 0.98rem;
}

.brand-lockup small {
  display: block;
  margin-top: 2px;
  color: var(--surface-muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--surface-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--surface-ink);
  background: rgba(249, 115, 22, 0.08);
  outline: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.hero-section,
.opportunity-band,
.map-section,
.value-section,
.roadmap-section,
.data-section,
.email-section {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.hero-section,
.map-section,
.value-section,
.roadmap-section,
.data-section,
.email-section {
  border-radius: var(--radius-xl);
}

.opportunity-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  padding: 32px;
  overflow: hidden;
}

.hero-copy,
.hero-panel,
.map-section,
.map-frame,
.value-section,
.roadmap-section,
.data-section,
.email-section {
  scroll-margin-top: 110px;
}

.map-section,
.value-section,
.roadmap-section,
.data-section,
.email-section {
  position: relative;
}

.hero-copy::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -100px;
  bottom: -100px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), transparent 70%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
}

h1,
h2,
h3,
.stat-card strong,
.mini-stat strong {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.94;
  color: var(--surface-ink);
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 7vw, 6.3rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--surface-muted);
}

.hero-text,
.section-copy,
.detail-story,
.future-note p:last-child,
.roadmap-card p,
.value-card p,
.email-body p,
.question-list {
  max-width: 65ch;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff8ef;
  box-shadow: 0 16px 35px rgba(217, 72, 15, 0.26);
}

.button-secondary {
  border-color: rgba(23, 17, 12, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: var(--surface-ink);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card,
.hero-panel,
.floating-card,
.detail-panel,
.value-card,
.roadmap-card,
.schema-card,
.email-card {
  border: 1px solid rgba(28, 16, 8, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--surface-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-panel {
  align-self: stretch;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(255, 239, 220, 0.9)),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 42%);
}

.hero-panel h2 {
  margin-bottom: 14px;
}

.reason-list,
.question-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.signal-chip-row,
.chip-row,
.detail-tags,
.schema-pills,
.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schema-pills {
  margin-top: 10px;
}

.signal-chip,
.filter-chip,
.detail-tag,
.schema-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(29, 18, 10, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--surface-ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.signal-chip-row {
  margin-top: 22px;
}

.map-section,
.value-section,
.roadmap-section,
.data-section,
.email-section {
  padding: 30px;
}

.section-heading,
.store-strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-copy,
.store-strip-heading p {
  max-width: 44ch;
}

.filter-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--surface-muted);
}

.filter-actions {
  justify-content: end;
}

.filter-chip {
  cursor: pointer;
}

.filter-chip.is-active,
.store-card.is-active {
  border-color: rgba(249, 115, 22, 0.4);
  background: linear-gradient(180deg, rgba(255, 241, 224, 0.95), rgba(255, 229, 200, 0.88));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.14);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.map-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-topline,
.mini-stat {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.mini-stat {
  flex-direction: column;
  align-items: flex-end;
  min-width: 110px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.mini-stat strong {
  font-size: 2rem;
}

.mini-stat span {
  font-size: 0.85rem;
  color: var(--surface-muted);
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(28, 16, 8, 0.08);
  background: #f7efe4;
  box-shadow: var(--shadow-strong);
}

#map {
  width: 100%;
  height: 620px;
}

.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  max-width: 300px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.network-card {
  top: 16px;
  left: 16px;
}

.nearest-card {
  right: 16px;
  bottom: 16px;
}

.nearest-card.is-hidden {
  display: none;
}

.legend-row {
  align-items: center;
  padding-left: 6px;
}

.legend-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--surface-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.selected-store-marker {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid #fff1df;
  box-shadow: 0 14px 30px rgba(23, 17, 12, 0.18);
}

.selected-store-marker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legend-ontario {
  background: var(--province-on);
}

.legend-alberta {
  background: var(--province-ab);
}

.legend-bc {
  background: var(--province-bc);
}

.detail-panel {
  position: sticky;
  top: 102px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(255, 241, 223, 0.9));
}

.detail-address {
  margin-top: 12px;
  font-size: 1rem;
}

.detail-tags {
  margin-top: 16px;
}

.detail-tag {
  font-size: 0.72rem;
}

.detail-story {
  margin-top: 18px;
}

.future-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.store-strip-heading {
  margin-top: 26px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(29, 18, 10, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-card:hover,
.store-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.store-card h4,
.email-meta h3 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  color: var(--surface-ink);
}

.store-card .store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-card p {
  font-size: 0.94rem;
}

.value-grid,
.schema-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.value-card,
.schema-card {
  padding: 22px;
  border-radius: 26px;
}

.schema-card h3 {
  margin-bottom: 18px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.roadmap-card {
  padding: 20px;
  border-radius: 26px;
}

.roadmap-step {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.email-section .section-heading {
  align-items: center;
}

.email-card {
  margin-top: 22px;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(255, 243, 228, 0.92)),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 40%);
}

.email-meta {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.email-body {
  display: grid;
  gap: 14px;
}

.site-footer {
  padding: 24px 8px 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.92rem;
}

.maplibregl-map {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.maplibregl-ctrl-top-right,
.maplibregl-ctrl-top-left {
  top: 18px;
}

.maplibregl-ctrl-group {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(48, 25, 7, 0.18);
}

.maplibregl-ctrl button {
  width: 42px;
  height: 42px;
}

.maplibregl-ctrl-attrib {
  margin: 0 10px 10px 0;
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(10px);
}

@media (max-width: 1120px) {
  .hero-section,
  .opportunity-band,
  .experience-grid,
  .value-grid,
  .roadmap-grid,
  .schema-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: relative;
    top: auto;
  }

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

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

  .filter-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

  .site-header,
  .hero-section,
  .map-section,
  .value-section,
  .roadmap-section,
  .data-section,
  .email-section,
  .opportunity-band {
    border-radius: 24px;
  }

  .site-header {
    top: 10px;
    padding: 14px 16px;
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand-image {
    width: 54px;
    height: 54px;
  }

  .site-nav {
    justify-content: space-between;
  }

  .hero-section,
  .map-section,
  .value-section,
  .roadmap-section,
  .data-section,
  .email-section {
    padding: 20px;
  }

  .opportunity-band {
    padding: 20px;
  }

  .hero-stats,
  .store-grid {
    grid-template-columns: 1fr;
  }

  #map {
    height: 440px;
  }

  .floating-card {
    max-width: min(250px, calc(100% - 20px));
    padding: 14px 15px;
  }

  .network-card {
    top: 10px;
    left: 10px;
  }

  .nearest-card {
    right: 10px;
    bottom: 10px;
  }

  .detail-panel {
    margin-top: -52px;
    z-index: 2;
    border-radius: 28px 28px 24px 24px;
  }

  .section-heading,
  .store-strip-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(3.15rem, 13vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}
