/* app.css — Wander in Canada PWA
   Forest & Maple palette
   Typography: Plus Jakarta Sans
   ──────────────────────────────────────── */

/* ── Material Symbols ───────────────────── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ── Design tokens ──────────────────────── */
:root {
  /* Deep dark — nav, headers, hero */
  --deep:             #1A1614;
  --deep-mid:         #2E2420;

  /* Maple red — accent, CTAs, active states */
  --maple:            #C0392B;
  --maple-light:      #D44E41;
  --maple-pale:       #FDECEA;

  /* Surfaces */
  --bg:               #161210;
  --surface:          #1C1814;
  --surface-low:      #161210;
  --surface-container:#28221E;
  --surface-high:     #342C28;
  --surface-card:     #1C1814;

  /* Text */
  --text:             rgba(255,255,255,0.92);
  --text-mid:         rgba(255,255,255,0.62);
  --text-muted:       rgba(255,255,255,0.36);

  /* Borders */
  --border:           rgba(255,255,255,0.09);
  --border-mid:       rgba(255,255,255,0.07);

  /* Aliases used throughout existing component CSS */
  --primary:          #1A1614;
  --primary-mid:      #4A3530;
  --primary-light:    #8A7060;
  --primary-pale:     rgba(255,255,255,0.07);
  --on-primary:       #FFFFFF;
  --accent:           #C0392B;
  --accent-mid:       #D44E41;
  --accent-light:     #E87060;
  --accent-pale:      #FDECEA;
  --on-accent:        #FFFFFF;

  /* Indigenous — teal (semantic, keep distinct) */
  --indigenous:       #5DCAA5;
  --indigenous-mid:   #7ADABC;
  --indigenous-bg:    rgba(10, 92, 72, 0.18);
  --indigenous-border:rgba(93, 202, 165, 0.22);

  /* Cultural — warm amber (semantic, keep distinct) */
  --cultural:         #E09060;
  --cultural-mid:     #D4AA80;
  --cultural-bg:      rgba(122, 59, 30, 0.18);
  --cultural-border:  rgba(224, 144, 96, 0.22);

  /* Functional */
  --white:            #FFFFFF;
  --error:            #C0392B;
  --error-bg:         #FDECEA;
  --error-border:     #E8AAAA;
  --success:          #0A5C48;
  --success-bg:       #EAF5F0;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Raleway', system-ui, sans-serif;

  /* Safe area insets */
  --sat: env(safe-area-inset-top,    0px);
  --sar: env(safe-area-inset-right,  0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left,   0px);

  /* Layout */
  --nav-height:       64px;
  --transition-dur:   340ms;
  --radius:           4px;
}

/* ── Base ───────────────────────────────── */
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

#app {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* ── Screen wrapper ─────────────────────── */
.screen-wrapper {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  background: var(--bg);
}

/* ── Bottom nav ─────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--nav-height) + var(--sab));
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: stretch;
  z-index: 100;
  padding-bottom: var(--sab);
}

.bottom-nav__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 0 5px;
  position: relative;
  transition: color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav__tab .material-symbols-outlined {
  font-size: 22px;
  transition: color 160ms ease;
}

.bottom-nav__tab.is-active {
  color: rgba(255,255,255,0.92);
}

.bottom-nav__tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.88);
  border-radius: 50%;
}

.bottom-nav__tab.is-active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Screen chrome ──────────────────────── */
.screen {
  min-height: 100%;
  padding-bottom: calc(var(--nav-height) + var(--sab) + 24px);
}

.screen__header {
  padding: calc(16px + var(--sat)) 20px 16px;
  background: var(--deep);
  color: var(--on-primary);
}

.screen__header h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--on-primary);
  line-height: 1.2;
}

.screen__header p {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ── Cards ──────────────────────────────── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card--tap {
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.card--tap:active {
  transform: scale(0.985);
}

/* ── Section labels ─────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-label--indigenous {
  color: var(--indigenous);
}

.section-label--cultural {
  color: var(--cultural);
}

.section-label--primary {
  color: var(--primary);
}

/* ── Tags ───────────────────────────────── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.4;
}

.tag--indigenous {
  color: var(--indigenous);
  background: var(--indigenous-bg);
  border: 1px solid var(--indigenous-border);
}

.tag--cultural {
  color: var(--cultural);
  background: var(--cultural-bg);
  border: 1px solid var(--cultural-border);
}

.tag--accent {
  color: var(--on-accent);
  background: var(--accent);
}

.tag--surface {
  color: var(--text-mid);
  background: var(--surface-container);
  border: 1px solid var(--border);
}

/* ── Anchor card ────────────────────────── */
.anchor-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.anchor-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.anchor-card__detail {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 10px;
}

.anchor-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.anchor-card__meta-item .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary-mid);
}

.anchor-card__booking {
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.anchor-card__booking .material-symbols-outlined {
  font-size: 14px;
}

/* ── Day trip card ──────────────────────── */
.day-trip-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}

.day-trip-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.day-trip-card__icon .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary);
}

.day-trip-card__body {}

.day-trip-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.day-trip-card__distance {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin: 1px 0 3px;
}

.day-trip-card__detail {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── AirBnB block ───────────────────────── */
.airbnb-block {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.airbnb-block__header {
  background: var(--primary);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.airbnb-block__header .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}

.airbnb-block__header-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-primary);
}

.airbnb-block__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.airbnb-block__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.airbnb-block__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.airbnb-block__value {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.airbnb-block__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.airbnb-block__booking-lead {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* ── Connection banner ──────────────────── */
.connection-banner {
  background: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.connection-banner__icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-mid);
  margin-top: 1px;
}

.connection-banner__body {}

.connection-banner__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.connection-banner__detail {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.connection-banner__en-route {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.connection-banner__en-route-item {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.connection-banner__en-route-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

/* ── Prev/Next nav ──────────────────────── */
.stop-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px;
}

.stop-nav__btn {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
  transition: background 120ms ease;
}

.stop-nav__btn:active {
  background: var(--surface-low);
}

.stop-nav__btn--next {
  text-align: right;
  align-items: flex-end;
}

.stop-nav__dir {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

.stop-nav__dir .material-symbols-outlined {
  font-size: 13px;
}

.stop-nav__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.stop-nav__prov {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Hero image ─────────────────────────── */
.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--surface-container);
}

.hero-img--tall {
  aspect-ratio: 4/3;
}

/* ── Banners ────────────────────────────── */
#banner-stack {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--sab) + 8px);
  left: 12px;
  right: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

#offline-banner,
#update-banner {
  background: var(--text);
  color: var(--on-primary);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: all;
}

#offline-banner.is-visible,
#update-banner.is-visible {
  display: flex;
}

#update-btn {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ── Utility ────────────────────────────── */
.content-pad {
  padding: 20px;
}

.section-gap {
  margin-top: 24px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.pill--accent {
  background: var(--accent);
}

.pill--surface {
  background: var(--surface-container);
  color: var(--text-mid);
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.btn:active {
  opacity: 0.85;
}

.btn--primary {
  background: var(--maple);
  color: #fff;
  border-color: var(--maple);
}

.btn--primary:active {
  background: var(--maple-light);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--lg {
  font-size: 12px;
  padding: 14px 28px;
}

/* ── Tags (extra variants) ──────────────── */
.tag--full {
  color: var(--primary);
  background: var(--primary-pale);
  border: 1px solid var(--primary-light);
  font-size: 11px;
  font-weight: 600;
}

.tag--peak {
  color: var(--accent);
  background: var(--accent-pale);
  border: 1px solid var(--accent-light);
  font-weight: 600;
}

.tag--shoulder {
  color: var(--text-mid);
  background: var(--surface-container);
  border: 1px solid var(--border);
  font-weight: 600;
}

/* ── Screen shared header ───────────────── */
.screen-header {
  padding: calc(16px + var(--sat)) 20px 18px;
  background: var(--deep);
  color: var(--on-primary);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.screen-header__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--on-primary);
  line-height: 1.15;
}

.screen-header__sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
}

/* ──────────────────────────────────────── */
/* HOME SCREEN                             */
/* ──────────────────────────────────────── */

/* Hero card */
.home-hero-card {
  width: 100%;
  height: 172px;
  position: relative;
  overflow: hidden;
}

.home-hero-card--rockies {
  --hero-img: none;
  background-image:
    linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.04) 100%),
    var(--hero-img),
    linear-gradient(148deg, #1A2C18 0%, #243C20 35%, #324E2A 65%, #1E3420 100%);
  background-size: cover;
  background-position: center;
}

.home-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 18px;
}

.home-hero__eyebrow {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 6px;
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 6px;
}

.home-hero__desc {
  font-size: 11.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.4;
}

/* Section header */
.home-sec-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 16px 11px;
}

.home-sec-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
}

.home-sec-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--maple);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  letter-spacing: 0.03em;
}

/* Destination cards — horizontal scroll */
.home-dest-scroll {
  display: flex;
  gap: 10px;
  padding: 0 16px 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-dest-scroll::-webkit-scrollbar { display: none; }

.home-dest-item {
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.home-dest-item:active .home-dest-photo {
  opacity: 0.78;
}

.home-dest-photo {
  height: 112px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: opacity 100ms ease;
  background-color: var(--surface-container);
  background-size: cover;
  background-position: center;
}

.home-dest-photo--route {
  background: linear-gradient(138deg, #6C0E06 0%, #AE1E14 45%, #C63626 70%, #D44038 100%);
}

.home-route-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px 12px;
}

.home-route-inner__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1.15;
  margin-bottom: 3px;
}

.home-route-inner__sub {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

.home-dest-prov {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.home-dest-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
}

.home-dest-detail {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* Stats row + CTA */
.home-about {
  padding: 4px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.home-about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  gap: 2px;
  background: var(--deep);
}

.home-about__value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1;
}

.home-about__label {
  font-size: 9px;
  color: rgba(255,255,255,0.34);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.home-about .btn {
  width: 100%;
}

/* ──────────────────────────────────────── */
/* JOURNEY SCREEN                          */
/* ──────────────────────────────────────── */

.screen--journey .screen-header { margin-bottom: 0; }

.journey-overview {
  display: flex;
  gap: 4px;
  padding: 14px 20px;
  background: var(--surface-low);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.journey-overview__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-mid);
  padding-right: 14px;
}

.journey-overview__item .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary-mid);
}

.journey-ferry-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 20px 0;
  padding: 12px 14px;
  background: var(--indigenous-bg);
  border: 1px solid var(--indigenous-border);
  border-radius: 12px;
}

.journey-ferry-notice .material-symbols-outlined {
  font-size: 20px;
  color: var(--indigenous);
  flex-shrink: 0;
  margin-top: 1px;
}

.journey-ferry-notice strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--indigenous);
  display: block;
  margin-bottom: 2px;
}

.journey-ferry-notice p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

.journey-route {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.journey-stop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background 100ms ease;
}

.journey-stop-card:active { background: var(--surface-low); }

.journey-stop-card__num {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--deep);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-stop-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.journey-stop-card__province {
  font-size: 9px;
  font-weight: 500;
  color: var(--maple);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.journey-stop-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
}

.journey-stop-card__tag {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.journey-stop-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.journey-stop-card__nights {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.journey-stop-card__nights .material-symbols-outlined {
  font-size: 13px;
}

.journey-stop-card__arrow {
  font-size: 18px;
  color: var(--border);
}

.journey-connection {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  margin: 4px 0;
}

.journey-connection__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.journey-connection__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.journey-connection__badge .material-symbols-outlined {
  font-size: 13px;
  color: var(--primary-mid);
}

/* ──────────────────────────────────────── */
/* STOPS LIST SCREEN                       */
/* ──────────────────────────────────────── */

.stops-list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stop-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background 100ms ease;
}

.stop-list-card:active { background: var(--surface-low); }

.stop-list-card__num {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--surface-container);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stop-list-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background-color: var(--surface-container);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.stop-list-card__photo-num {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2px 0 3px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.stop-list-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stop-list-card__province {
  font-size: 9px;
  font-weight: 500;
  color: var(--maple);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.stop-list-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
}

.stop-list-card__tag {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.stop-list-card__nights {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 2px;
}

.stop-list-card__arrow {
  font-size: 18px;
  color: var(--border);
}

/* ──────────────────────────────────────── */
/* STOP DETAIL SCREEN                      */
/* ──────────────────────────────────────── */

.stop-hero {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-container);
  position: relative;
}

.stop-hero__credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 9px;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45);
  padding: 3px 7px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.stop-header {
  background: var(--deep);
  padding: calc(12px + var(--sat)) 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stop-header__back {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 4px;
  -webkit-tap-highlight-color: transparent;
}

.stop-header__back .material-symbols-outlined {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
}

.stop-header__content {
  flex: 1;
}

.stop-header__province {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maple);
  margin-bottom: 5px;
}

.stop-header__name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  color: var(--on-primary);
  line-height: 1.05;
  margin-bottom: 8px;
}

.stop-header__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stop-header__nights {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}

.stop-tag {
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.stop-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 20px 0;
  padding: 12px 14px;
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.28);
  border-radius: 10px;
}

.stop-note .material-symbols-outlined {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.stop-note p {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

/* Stop sections */
.stop-section {
  padding: 20px 20px 0;
}

.stop-section__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.stop-section__header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  color: var(--text);
}

.stop-section__header .material-symbols-outlined {
  font-size: 18px;
  color: var(--text-muted);
}

.stop-section__header--indigenous h3 { color: var(--indigenous); }
.stop-section__header--indigenous .material-symbols-outlined { color: var(--indigenous); }

.stop-section__header--cultural h3 { color: var(--cultural); }
.stop-section__header--cultural .material-symbols-outlined { color: var(--cultural); }

/* Indigenous section */
.stop-section--indigenous {
  background: var(--indigenous-bg);
  border-radius: 0;
  margin-top: 0;
  padding-bottom: 20px;
}

.stop-section--indigenous .stop-section__header {
  border-color: var(--indigenous-border);
}

.stop-indigenous__nations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.stop-indigenous__context {
  font-size: 13px;
  color: var(--indigenous);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}

.stop-indigenous__exps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stop-indigenous__exp {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--indigenous-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.stop-indigenous__exp strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigenous);
  display: block;
  margin-bottom: 4px;
}

.stop-indigenous__exp p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

.stop-indigenous__booking,
.stop-indigenous__season {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-top: 6px;
}

.stop-indigenous__booking { color: var(--accent); font-weight: 500; }
.stop-indigenous__season  { color: var(--text-muted); }

.stop-indigenous__booking .material-symbols-outlined,
.stop-indigenous__season .material-symbols-outlined {
  font-size: 13px;
}

/* Cultural section */
.stop-section--cultural {
  background: var(--cultural-bg);
  padding-bottom: 20px;
}

.stop-section--cultural .stop-section__header {
  border-color: var(--cultural-border);
}

.stop-cultural__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stop-cultural__item {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--cultural-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stop-cultural__item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* Anchor experiences */
.stop-anchors {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stop-anchor {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.stop-anchor__duration {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.stop-anchor__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}

.stop-anchor__detail {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
}

.stop-anchor__booking,
.stop-anchor__season {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.4;
}

.stop-anchor__booking { color: var(--maple); font-weight: 500; }
.stop-anchor__season  { color: var(--text-muted); }

.stop-anchor__booking .material-symbols-outlined,
.stop-anchor__season .material-symbols-outlined {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Day trips */
.stop-daytrips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stop-daytrip {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.stop-daytrip__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.stop-daytrip__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

.stop-daytrip__distance {
  font-size: 10px;
  color: var(--maple);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stop-daytrip__detail {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Visit site link — shared across anchor, indigenous exp, and day trip cards */
.stop-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.stop-visit-link:hover { text-decoration: underline; }
.stop-visit-link .material-symbols-outlined { font-size: 13px; }

/* AirBnB section */
.stop-section--airbnb {
  padding-bottom: 24px;
}

.stop-airbnb__hoods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.stop-airbnb__hood {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.stop-airbnb__hood strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}

.stop-airbnb__hood p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

.stop-airbnb__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stop-airbnb__look,
.stop-airbnb__lead {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--surface-low);
  border-radius: 10px;
}

.stop-airbnb__look .material-symbols-outlined,
.stop-airbnb__lead .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.stop-airbnb__look strong,
.stop-airbnb__lead strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.stop-airbnb__look p,
.stop-airbnb__lead p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

.stop-airbnb__price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stop-airbnb__price {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.stop-airbnb__price-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}

.stop-airbnb__price-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

/* Stop prev/next nav — override existing .stop-nav */
.stop-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px 20px 0;
}

.stop-nav__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 100ms ease;
}

.stop-nav__btn:active { background: var(--surface-low); }

.stop-nav__btn .material-symbols-outlined {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.stop-nav__label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.stop-nav__btn--prev .stop-nav__label { text-align: left; }
.stop-nav__btn--next .stop-nav__label { text-align: right; }

.stop-nav__hint {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.stop-nav__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
}

.stop-not-found {
  padding: 40px 20px;
  text-align: center;
}

/* ──────────────────────────────────────── */
/* PLAN SCREEN                             */
/* ──────────────────────────────────────── */

.plan-section {
  padding: 24px 20px 0;
}

.plan-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 6px;
}

.plan-section__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.plan-seasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-season {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.plan-season__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-season__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  color: var(--text);
}

.plan-season__pros,
.plan-season__cons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.plan-season__pros li,
.plan-season__cons li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.45;
}

.plan-season__pros li .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-season__cons li .material-symbols-outlined {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-season__verdict {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  background: var(--surface-container);
  border-left: 3px solid var(--maple);
  padding: 8px 12px;
  border-radius: 0;
  margin-top: 10px;
  line-height: 1.55;
}

.plan-bookings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-booking {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.plan-booking__icon {
  font-size: 20px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-booking__item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.plan-booking__lead {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.4;
}

.plan-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.plan-tip__icon {
  font-size: 22px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-tip__body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.plan-tip__body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ── Sign-in / Sign-up screen ───────────── */
.screen--signin {
  min-height: 100%;
  padding-bottom: 0;
  background: #02030C;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.signin-aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.signin-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(2,5,15,0.32) 0%, rgba(2,5,15,0) 30%,
    rgba(2,5,15,0) 68%, rgba(1,3,8,0.38) 100%);
}

.signin-head,
.signin-visual,
.signin-cta {
  position: relative;
  z-index: 2;
}

.signin-head {
  width: 100%;
  padding: calc(32px + var(--sat)) 24px 0;
  text-align: left;
}

.signin-h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: rgba(255,255,255,0.94);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.signin-h1 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
}

.signin-tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.01em;
}

.signin-visual {
  flex: 1;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.signin-porthole {
  width: 128px;
  height: 128px;
  background: url('/images/brand/voyageur-mark-white.png') center / contain no-repeat;
  filter: brightness(0) invert(1) opacity(0.9) drop-shadow(0 6px 22px rgba(0,0,0,0.5));
}

.signin-cta {
  width: 100%;
  padding: 0 24px calc(32px + var(--sab));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.signin-btn {
  width: 100%;
  height: 50px;
  background: rgba(255,255,255,0.96);
  color: #1A1614;
  border: none;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity 150ms;
}

.signin-btn:active { opacity: 0.82; }

.signin-ghost {
  width: 100%;
  height: 44px;
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms, color 150ms;
}

.signin-ghost:active {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.92);
}

.signin-sep {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.signin-sep::before,
.signin-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.signin-sep__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signin-socials {
  display: flex;
  gap: 12px;
}

.signin-soc {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms;
}

.signin-soc:active { background: rgba(255,255,255,0.13); }

.signin-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms;
}

.signin-skip:active { color: rgba(255,255,255,0.62); }
