/* A local geographic scene in the site's existing poster language. */
.route { position: relative; background: var(--cream); color: var(--plum); }
.route__stage { max-width: 1800px; margin-inline: auto; padding: 42px var(--edge) 30px; }
.route__header { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, var(--plum) 24%, transparent); }
.route h2, .route h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: -.025em; }
.route h2 { margin: 0; font-size: clamp(3.5rem, 6.8vw, 6rem); line-height: .94; }
.route h2 span { color: var(--raspberry); }
.route__header p { margin: 0; text-align: right; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; font-weight: 700; }
.route__body { display: grid; grid-template-columns: 35% 65%; align-items: center; min-height: 700px; }
.route__story { z-index: 2; padding: 38px 20px 38px 0; }
.route__intro { margin: 0 0 28px; max-width: 24ch; font-size: clamp(19px, 2vw, 28px); line-height: 1.4; }
.route__steps { list-style: none; margin: 0; padding: 0; }
.route__step { padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--plum) 24%, transparent); }
.route__step h3 { margin: 0 0 20px; font-size: clamp(3rem, 5.7vw, 6rem); line-height: .92; color: var(--raspberry); overflow-wrap: normal; }
.route__step h3 span { display: inline; }
.route__step:nth-child(3) h3 span, .route__step:nth-child(4) h3 span, .route__step:nth-child(6) h3 span { display: block; }
.route__step p { max-width: 29ch; margin: 16px 0 0; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.route__date { display: block; font-size: 12px; line-height: 1.5; font-weight: 700; font-variant-numeric: tabular-nums; }
.route__step small { display: block; margin-top: 20px; max-width: 34ch; font-size: 12px; line-height: 1.6; }
.route__map { position: sticky; top: 30px; margin: 0; align-self: start; min-width: 0; overflow: clip; }
.route__canvas { display: block; width: 100%; height: min(780px, 85svh); overflow: hidden; }
.route__camera { transform-origin: 0 0; }
.route__country { fill: var(--plum); font: 800 30px "Barlow Condensed", sans-serif; letter-spacing: 2px; }
.route__water { fill: var(--plum); fill-opacity: .62; font: 700 10px Arial, sans-serif; letter-spacing: 2px; }
.route__place { fill: var(--plum); font: 700 10px Arial, sans-serif; letter-spacing: .5px; }
.route__guide { fill: none; stroke: var(--plum); stroke-opacity: .2; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 7; }
.route__line { fill: none; stroke: var(--raspberry); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.route__sea, .route__return { stroke-dasharray: 3 7; }
.route__return { stroke-width: 2.5; stroke-opacity: .65; }
.route__dot { fill: var(--cream); stroke: var(--plum); stroke-width: 2; }
.route__dot.is-visited { fill: var(--raspberry); stroke: var(--raspberry); }
.route__marker { display: none; }
.route__marker-disc { fill: var(--cream); stroke: var(--raspberry); stroke-width: 1.5; }
.route__vehicle { fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route__vehicle--boat { display: none; }
.route.is-sea .route__vehicle--car { display: none; }
.route.is-sea .route__vehicle--boat { display: block; }
.route__nav { display: none; }
.route__footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 26px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--plum) 24%, transparent); }
.route__hint { margin: 0; font-size: 12px; line-height: 1.5; }
.route__source { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; font-size: 12px; font-weight: 700; text-underline-offset: 5px; }
.route__source svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.route__source:hover svg { transform: translate(2px, -2px); }
.route__overview { display: none; }
.route.is-motion { height: 430svh; }
.route.is-motion .route__stage { position: sticky; top: 0; height: 100svh; min-height: 680px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.route.is-motion .route__body { min-height: 0; grid-template-rows: minmax(0, 1fr); overflow: clip; }
.route.is-motion .route__map { position: relative; top: auto; align-self: stretch; min-height: 0; height: 100%; }
.route.is-motion .route__canvas { position: absolute; top: 0; left: 0; height: 100%; min-height: 0; }
.route.is-motion .route__story { padding-block: 24px; }
.route.is-motion .route__intro { font-size: 16px; max-width: 27ch; margin-bottom: 32px; }
.route.is-motion .route__step { display: none; padding: 0; border: 0; }
.route.is-motion .route__step.is-active { display: block; }
.route.is-motion .route__marker { display: block; }
.route.is-motion .route__overview.is-active { display: block; }
.route__overview h3 { color: var(--raspberry); margin: 0; font-size: clamp(3rem, 5.7vw, 6rem); line-height: .92; }
.route__overview p { margin: 24px 0 0; font-size: 16px; line-height: 1.65; }
.route.is-motion .route__nav { display: flex; gap: 0; border-top: 1px solid color-mix(in srgb, var(--plum) 24%, transparent); }
.route__nav button { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 8px; min-height: 96px; padding: 18px 10px 14px 0; background: none; border: 0; color: var(--plum); text-align: left; cursor: pointer; font-size: clamp(1.125rem, 1.55vw, 1.375rem); font-weight: 700; line-height: 1.3; }
.route__nav button::before { content: ""; position: absolute; top: -2px; left: 0; right: 12px; height: 3px; background: var(--raspberry); transform: scaleX(0); transform-origin: left; }
.route__nav button[aria-current="step"]::before { transform: scaleX(1); }
.route__nav button[aria-current="step"] { color: var(--plum); }
.route__nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.route__nav button:focus-visible { outline-offset: 2px; }
.route__nav button > span { font-size: 1rem; font-weight: 400; line-height: 1.4; }
.route.is-motion .route__footer { margin-top: 0; padding-top: 5px; border: 0; }
@media (max-width: 1100px) {
  .route__body { grid-template-columns: 38% 62%; }
  .route__step h3, .route__overview h3 { font-size: clamp(3rem, 6.2vw, 5rem); }
  .route__step p { font-size: 16px; }
  .route__nav button:last-child { flex-grow: 1.4; }
}
@media (max-width: 900px), (max-height: 679px) {
  .route__stage { padding-block: 52px 36px; }
  .route__body { display: flex; flex-direction: column; min-height: 0; }
  .route__map { position: relative; top: auto; order: -1; width: 100%; }
  .route__canvas { height: auto; max-height: 680px; }
  .route__country { font-size: 40px; }
  .route__place { font-size: 22px; letter-spacing: 0; }
  .route__water { font-size: 16px; letter-spacing: 1px; }
  .route__story { width: 100%; padding: 38px 0 0; }
  .route__intro { max-width: 34ch; font-size: 22px; }
  .route__step { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; padding-block: 30px; }
  .route__step h3 { grid-row: 1 / 4; margin-bottom: 0; font-size: clamp(3rem, 7vw, 5rem); }
  .route__step p { max-width: 36ch; margin-top: 12px; }
  .route__step small { margin-top: 14px; }
  .route__hint { display: none; }
  .route__footer { justify-content: end; }
}
@media (max-width: 600px) {
  .route__header { align-items: start; gap: 20px; }
  .route h2 { font-size: 12vw; }
  .route__canvas { margin-block: 12px; }
  .route__country { font-size: 44px; }
  .route__place { font-size: 24px; }
  .route__water { font-size: 18px; }
  .route__step { grid-template-columns: 1fr; gap: 0; }
  .route__step h3 { grid-row: auto; margin-bottom: 18px; font-size: clamp(3.1rem, 13vw, 4.5rem); }
  .route__step h3 span { display: inline; }
  .route__step h3 span + span::before { content: " "; }
  .route__step p { max-width: 38ch; }
  .route__story { padding-top: 28px; }
  .route__intro { font-size: 19px; margin-bottom: 24px; }
}
@media (min-width: 901px) and (min-height: 744px) and (max-height: 863px) {
  .route.is-motion .route__stage { padding-block: 28px 20px; }
  .route.is-motion .route__header { padding-bottom: 16px; }
  .route.is-motion h2 { font-size: clamp(3.5rem, 5.6vw, 5rem); }
  .route.is-motion .route__intro { display: none; }
  .route.is-motion .route__story { padding-block: 16px; }
  .route.is-motion .route__step h3, .route.is-motion .route__overview h3 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 14px; }
  .route.is-motion .route__step p { margin-top: 12px; line-height: 1.5; }
  .route.is-motion .route__step small { margin-top: 12px; line-height: 1.5; }
  .route.is-motion .route__nav button { min-height: 88px; padding-block: 12px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .route__source:hover svg { transform: none; }
}
