.journey-page {
  --header-height: 72px;
  --journey-height: max(560px, calc(100svh - var(--header-height)));
  --coast: #102d30;
  --charcoal: #0b2226;
  --cream: #fbf6e9;
  --gold: #e5c68f;
  background: #f8f5eb;
}
.journey-page .skip-link { z-index: 12; }
.journey-header {
  position: sticky;
  top: 0;
  z-index: 8;
  color: var(--cream);
  background: #0c272a;
  border-bottom: 1px solid #9db7a32e;
}
.journey-header-inner {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3.4vw, 42px);
  min-height: calc(var(--header-height) - 1px);
}
.journey-header .brand img { filter: brightness(0) invert(1); }
.journey-header .brand-name small { color: #c7d8c8; }
.journey-header-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  margin-left: auto;
}
.journey-header-links a, .journey-email, .service-nav summary {
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.journey-header-links a { display: flex; align-items: center; min-height: 44px; }
.journey-header-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.journey-header-links > a[aria-current="page"], .service-nav-active summary { color: #f3d9a8; }
.journey-tagline { margin-left: 4px; color: #c1d7ca; font-size: 0.78rem; }
.service-nav { position: relative; }
.service-nav summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}
.service-nav summary::-webkit-details-marker { display: none; }
.service-nav summary:focus-visible { outline: 2px solid #f0cf90; outline-offset: 4px; }
.nav-chevron { width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; }
.service-nav[open] .nav-chevron { margin-top: 3px; rotate: 225deg; }
.service-nav-panel {
  position: absolute;
  right: -21px;
  top: calc(100% + 12px);
  width: min(432px, calc(100vw - 40px));
  max-height: calc(100dvh - var(--header-height) - 18px);
  overflow: auto;
  padding: 8px;
  color: #214440;
  background: #fffdf4;
  border: 1px solid #bbcdbf;
  border-radius: 7px;
  box-shadow: 0 13px 29px #06222953;
}
.service-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.service-nav-panel a { padding: 9px 10px; border-radius: 4px; white-space: normal; }
.service-nav-panel a:hover, .service-nav-panel a[aria-current="page"] { background: #e7eee3; }
.service-nav-panel a:focus-visible { outline-color: #388c76; outline-offset: -3px; }
.service-nav-panel .menu-overview { margin-bottom: 4px; border-bottom: 1px solid #dbe3d8; }
.service-nav-panel .menu-contact { display: none; }
.journey-email {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border: 1px solid #a1b3a87a;
  border-radius: 5px;
}
.journey-email:hover { background: #315653; }
.journey-header a:focus-visible, .journey a:focus-visible { outline-color: #f0cf90; }

.journey { position: relative; background: var(--coast); color: var(--cream); }
.journey-stage {
  --city-scale: 1.03;
  --city-x: 0%;
  --city-y: 0%;
  --relief-opacity: 0;
  --globe-opacity: 0;
  --map-grade: 0;
  --map-scale: 1.1;
  --map-x: 0%;
  --map-y: 0%;
  --map-tilt: 14deg;
  display: none;
  position: sticky;
  top: var(--header-height);
  height: var(--journey-height);
  overflow: clip;
  isolation: isolate;
  background: var(--coast);
}
.motion-ready .journey-stage { display: block; }
.journey-imagery, .shot, .shot-media, .journey-grade, .coverage-grid, .map-grade { position: absolute; inset: 0; }
.journey-imagery { pointer-events: none; }
.shot { overflow: hidden; }
.shot-media picture { display: contents; }
.shot-media img { width: 100%; height: 100%; object-fit: cover; }
.shot-city .shot-media {
  transform: translate3d(var(--city-x), var(--city-y), 0) scale(var(--city-scale));
  transform-origin: 61% 47%;
}
.shot-city img {
  object-position: 57% 49%;
  filter: saturate(0.86) contrast(0.98);
}
.shot-city::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 83% 10%, #f4d0a535, transparent 54%);
}
@keyframes arrival {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.motion-ready .shot-city img { animation: arrival 1450ms cubic-bezier(0.18, 0.65, 0.32, 1) both; }
.shot-coverage {
  opacity: var(--relief-opacity);
  background:
    radial-gradient(ellipse at 65% 53%, #396960 0%, #1b4847 30%, transparent 63%),
    linear-gradient(140deg, #0b292b 15%, #153e3e 100%);
}
.shot-globe {
  opacity: var(--globe-opacity);
  background: radial-gradient(ellipse at 76% 49%, #173f40 0%, #0d292f 44%, #091f25 78%);
}
.shot-globe canvas, .static-globe { display: block; width: 100%; height: 100%; }
.coverage-grid {
  background:
    linear-gradient(90deg, #d3e8ce15 1px, transparent 1px),
    linear-gradient(180deg, #d3e8ce15 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at 71% 57%, #000 5%, transparent 78%);
}
.map-plane {
  position: absolute;
  width: min(73vw, 1110px);
  aspect-ratio: 1360 / 940;
  right: -0.4%;
  top: 49%;
  transform: perspective(1300px) translate(var(--map-x), calc(-50% + var(--map-y))) scale(var(--map-scale))
    rotateX(var(--map-tilt)) rotateZ(-4deg);
  transform-origin: 59% 55%;
}
.map-plane img, .map-plane canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey-grade {
  background:
    linear-gradient(90deg, #071f23d4 0%, #09212691 33%, #0921262d 58%, transparent 77%),
    linear-gradient(0deg, #081f24ef 1%, #081f2478 31%, transparent 66%, #0a232933 100%);
}
.map-grade {
  opacity: var(--map-grade);
  background: linear-gradient(90deg, #091f24e8, #091f24ad 28%, #091f241a 54%, transparent 69%),
    linear-gradient(0deg, #091f24 0%, transparent 19%);
}
.static-map, .static-globe { position: absolute; z-index: -1; pointer-events: none; }
.static-map { --map-x: 0%; --map-y: 0%; --map-scale: 1; --map-tilt: 8deg; }
.static-globe { inset: 0; }
.motion-ready .static-map, .motion-ready .static-globe { display: none; }
.scene-nav {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  justify-content: end;
  gap: 20px;
}
.scene-nav a {
  min-width: 94px;
  padding: 11px 1px 3px;
  border-top: 2px solid #c9d8cd76;
  color: #e0e8df;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}
.scene-nav a[aria-current] { border-color: var(--gold); color: #ffdeb0; }
.scene-nav a:hover { border-color: var(--cream); color: var(--cream); }

/* With motion on, the stage and the chapter text are both pinned while the page scrolls. The chapters
   are stacked in one block and journey.js cross-fades between them. --journey-pace is how far you
   scroll for each change of chapter, as a share of the stage height: lower means less scrolling. */
.journey-page { --journey-pace: 0.7; }
.motion-ready .journey { height: calc(var(--journey-height) * (1 + var(--journey-steps, 2) * var(--journey-pace))); }
.journey-chapters { position: relative; z-index: 2; }
.motion-ready .journey-chapters {
  position: sticky;
  top: var(--header-height);
  display: grid;
  height: var(--journey-height);
  margin-top: calc(-1 * var(--journey-height));
  pointer-events: none;
}
.journey-chapter {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: var(--journey-height);
  padding-block: 76px 101px;
  scroll-margin-top: var(--header-height);
}
.motion-ready .journey-chapter {
  grid-area: 1 / 1;
  min-height: 0;
  opacity: var(--copy-opacity, 0);
  transform: translate3d(0, var(--copy-shift, 0px), 0);
}
.motion-ready .journey-chapter:first-child { opacity: var(--copy-opacity, 1); }
.motion-ready .journey-chapter:not(.is-active) .journey-copy { pointer-events: none; }
.journey-chapter::before, .journey-chapter::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.journey-chapter::before { background: var(--still); }
.journey-chapter::after {
  background: linear-gradient(90deg, #071f23d9 0%, #071f23a8 43%, transparent 78%),
    linear-gradient(0deg, #081f24eb, transparent 65%);
}
.motion-ready .journey-chapter::before, .motion-ready .journey-chapter::after { display: none; }
.journey-intro { --still: url("assets/vancouver-aerial.webp") 57% 49% / cover no-repeat; }
.journey-coverage {
  --still: radial-gradient(ellipse at 70% 50%, #35655c, #143539 70%);
}
.journey-international {
  --still: radial-gradient(ellipse at 76% 49%, #173f40 0%, #0d292f 44%, #091f25 78%);
}
.journey-copy { width: min(100%, 35rem); pointer-events: auto; }
.journey-intro .journey-copy { width: min(100%, 50rem); }
.journey-coverage .journey-copy, .journey-international .journey-copy { width: min(100%, 32rem); }
.scene-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #f5d9a9;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #071d22;
}
.scene-kicker::before { content: ""; width: 25px; height: 1px; flex: none; background: var(--gold); }
.journey-copy h1, .journey-copy h2 {
  color: var(--cream);
  font-size: clamp(3.8rem, 7.7vw, 8.1rem);
  line-height: 0.9;
  letter-spacing: -0.028em;
  text-shadow: 0 3px 26px #061e2573;
}
.journey-copy h1 { font-size: clamp(4.25rem, 6.5vw, 7.1rem); }
.journey-copy h2 { font-size: clamp(3.65rem, 6.7vw, 6.7rem); }
.journey-coverage h2, .journey-international h2 { font-size: clamp(3.4rem, 5.1vw, 5.6rem); }
.journey-copy h1 em, .journey-copy h2 em { color: #f7dcb1; font-weight: 400; }
.scene-description {
  max-width: 28rem;
  margin-top: 25px;
  color: #f3f2e9;
  text-shadow: 0 1px 7px #09272a;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.59;
}
.scene-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; margin-top: 25px; }
.journey-primary {
  background: #f3deb3;
  color: #162d2d;
  border-radius: 5px;
  border: 1px solid #f7e9c5;
  box-shadow: 0 3px 0 #c49e65;
}
.journey-primary:hover { background: #fff0cc; box-shadow: 0 5px 0 #c49e65; }
.journey-secondary {
  color: #f3efdf;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  padding-block: 12px;
}
.journey-secondary span { padding-left: 5px; }
.journey-secondary:hover { text-decoration: underline; text-underline-offset: 5px; }

.journey-page .services { background: #f8f5eb; }
.journey-page .audience { background: #e6ede4; }
.journey-page .audience-inner { min-height: 102px; gap: clamp(20px, 4.5vw, 76px); }
.experience { flex-shrink: 0; font-size: 0.87rem; }
.experience strong { margin-right: 3px; color: #315751; font: 400 2.5rem/1 var(--serif); vertical-align: middle; }
.journey-page .audience-inner > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 18px; }
.journey-page .audience-label, .section-kicker {
  color: #42665c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.section-kicker { margin-bottom: 14px; }
.journey-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.journey-services > a {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.35vw, 32px);
  min-height: 210px;
  border: 1px solid #d7dfd2;
  border-radius: 7px;
  background: #fffdf6;
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.journey-services > a:hover { background: #ecf1e8; border-color: #9aafa3; }
.journey-services h3 { color: #203f3f; font: 400 clamp(1.6rem, 2.35vw, 2.25rem)/1.04 var(--serif); }
.journey-services p { margin-block: 10px 19px; color: #4a605b; font-size: 0.94rem; line-height: 1.52; }
.journey-services a > span, .more-services a { color: #2f6256; font-size: 0.88rem; font-weight: 700; }
.journey-services a > span { margin-top: auto; }
.journey-services a > span .diagonal-arrow, .more-services .diagonal-arrow { margin-left: 5px; }
.journey-services a:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.more-services { display: flex; flex-wrap: wrap; gap: 11px 26px; margin-top: 20px; }
.more-services a { text-underline-offset: 4px; }
.journey-process { background: #e6ede4; border-top: 1px solid #d8e2d5; }
.journey-process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.journey-process li { border-top: 1px solid #a7bcb0; padding-top: 15px; }
.journey-process h3 { margin-bottom: 7px; font-size: 1.03rem; }
.journey-process p { color: #4a605b; line-height: 1.58; }
.journey-page .contact { background: linear-gradient(120deg, #142e32, #254a42); }
.journey-page .contact .section-kicker { color: #e9d1a5; }
.journey-page footer { background: #f4f0e5; }
.journey-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: start;
  gap: clamp(23px, 4vw, 68px);
  padding-block: 35px;
  color: #435954;
  font-size: 0.88rem;
  line-height: 1.6;
}
.journey-footer p { margin-top: 8px; }
.journey-footer p a { text-underline-offset: 3px; }
.journey-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.journey-footer nav a, .footer-contact a { text-underline-offset: 3px; }
.journey-footer a[aria-current="page"] { color: #1a5144; font-weight: 700; }
.footer-label {
  display: block;
  grid-column: 1 / -1;
  color: #3e6357;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.footer-contact .footer-label { margin-bottom: 5px; }
.footer-contact address { margin-block: 5px; }
.journey-footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  border-top: 1px solid #d8ded0;
  padding-block: 12px;
  color: #50635c;
  font-size: 0.77rem;
  line-height: 1.6;
}
.photo-credit {
  border-top: 1px solid #d8ded0;
  padding-block: 13px 20px;
  color: #50635c;
  font-size: 0.75rem;
  line-height: 1.7;
}
.photo-credit a { text-underline-offset: 3px; }
.photo-credit > a:last-child { margin-inline-start: 9px; }

@media (max-width: 960px) {
  .map-plane { width: 77vw; right: -6%; }
  .journey-copy { width: min(63%, 33rem); }
  .journey-footer { grid-template-columns: 1.3fr 1fr; }
  .journey-tagline { display: none; }
}
@media (max-width: 760px) {
  .journey-page {
    --header-height: 64px;
    --journey-height: max(620px, calc(100svh - var(--header-height)));
  }
  .journey-header-inner { gap: 12px; }
  .journey-header-links { margin-left: auto; }
  .journey-header-links a, .journey-email, .service-nav summary { font-size: 0.79rem; }
  .journey-header-links .contact-link { display: none; }
  .service-nav summary { gap: 6px; }
  .service-nav-panel { position: fixed; top: var(--header-height); right: 20px; width: min(410px, calc(100% - 40px)); }
  .service-nav-panel .menu-contact { display: flex; margin-top: 4px; border-top: 1px solid #dbe3d8; }
  .service-nav-panel .menu-contact + .menu-contact { margin-top: 0; border-top: 0; }
  .journey-email { min-height: 40px; gap: 6px; padding-inline: 8px; }
  .journey-header .brand-name { font-size: 21px; }
  .journey-header .brand img { width: 33px; height: 29px; }
  .journey-chapter .journey-copy { width: min(100%, 36rem); }
  .journey-chapter { align-items: end; padding-block: 80px 93px; }
  .journey-copy h1, .journey-copy h2 { font-size: clamp(3.1rem, 12vw, 5.3rem); line-height: 0.93; }
  .journey-copy h1 { font-size: clamp(2.53rem, 10.9vw, 4.85rem); }
  .journey-coverage h2, .journey-international h2 { font-size: clamp(2.75rem, 10.5vw, 4.6rem); }
  .journey-intro { --still: url("assets/vancouver-aerial-1440.webp") 57% 49% / cover no-repeat; }
  .scene-kicker { margin-bottom: 16px; font-size: 0.72rem; letter-spacing: 0.09em; gap: 8px; }
  .scene-kicker::before { width: 16px; }
  .scene-description { margin-top: 17px; font-size: 0.99rem; }
  .scene-actions { gap: 10px 15px; margin-top: 18px; }
  .scene-actions .button { min-height: 44px; padding: 10px 11px; font-size: 0.83rem; gap: 7px; }
  .journey-secondary { font-size: 0.83rem; }
  .shot-city img { object-position: 54% 40%; }
  .journey-grade, .journey-chapter::after {
    background: linear-gradient(0deg, #0a2126 4%, #0a2126d9 25%, #0a212690 46%, transparent 72%, #0a23291f 100%);
  }
  .map-plane { width: min(112vw, 545px); top: 31%; right: 50%; translate: 50% 0; }
  .map-grade, .journey-coverage::after, .journey-international::after {
    background: linear-gradient(0deg, #091f24 0%, #091f24eb 16%, #091f2475 41%, transparent 65%);
  }
  .scene-nav { bottom: 17px; justify-content: space-between; gap: 9px; }
  .scene-nav a { min-width: 0; flex: 1; font-size: 0.71rem; padding-top: 8px; }
  .journey-page .audience-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 18px; }
  .journey-page .audience-inner > div { align-items: flex-start; flex-direction: column; gap: 8px; }
  .journey-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-process ol { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 490px) {
  .journey-services, .journey-footer { grid-template-columns: 1fr; }
  .journey-services > a { min-height: auto; }
}
@media (max-width: 365px) {
  .journey-header-inner { gap: 9px; }
  .journey-header .brand { gap: 5px; }
  .journey-header .brand-name { font-size: 19px; }
  .journey-header .brand img { width: 29px; }
  .scene-nav a { font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .journey { height: auto; }
  .motion-ready .journey-stage { display: none; }
  .motion-ready .journey-chapters { position: relative; top: auto; display: block; height: auto; margin-top: 0; pointer-events: auto; }
  .motion-ready .journey-chapter, .motion-ready .journey-chapter:first-child { min-height: var(--journey-height); opacity: 1; transform: none; }
  .motion-ready .journey-chapter:not(.is-active) .journey-copy { pointer-events: auto; }
  .motion-ready .journey-chapter::before, .motion-ready .journey-chapter::after { display: block; }
}
