.about-page {
  max-width: 1200px;
  margin-inline: auto;
  padding: 120px 24px 64px;
}

.about-page > h1 {
  margin: 0 0 48px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
}

.journey-layout {
  position: relative;
}

.journey-story {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.journey-stop {
  width: calc(50% - 32px);
  min-height: 60svh;
  padding: 48px 0;
  border-bottom: 1px solid var(--muted-color);
}

.journey-stop:nth-child(odd) {
  align-self: flex-start;
}

.journey-stop:nth-child(even) {
  align-self: flex-end;
}

.journey-stop:first-child {
  padding-top: 0;
}

.journey-stop:last-child {
  border-bottom: 0;
}

.journey-stop h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}

.journey-stop p {
  margin: 0 0 16px;
  color: var(--muted-color);
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .journey-story {
    padding-left: 64px;
  }

  .journey-stop:nth-child(n) {
    width: 100%;
    align-self: stretch;
    min-height: auto;
    padding-block: 40px;
  }
}

.journey-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-grid {
  fill: none;
  stroke: var(--muted-color);
  stroke-width: 1;
  opacity: 0.12;
}

.map-land {
  fill: var(--page-background);
  stroke: var(--muted-color);
  stroke-width: 1;
  opacity: 0.5;
}

.journey-route {
  stroke: var(--accent-color);
  stroke-width: 3;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
}

.journey-markers circle {
  fill: var(--page-background);
  stroke: var(--accent-color);
  stroke-width: 2;
}

.journey-markers text {
  fill: var(--text-color);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

.map-labels {
  fill: var(--text-color);
  font-size: 16px;
  font-weight: 600;
}

.plane-shape {
  fill: var(--accent-color);
  stroke: var(--page-background);
  stroke-width: 2;
  stroke-linejoin: round;
}

.journey-location {
  position: relative;
  width: calc(50% - 32px);
  padding: 0;
  text-align: center;
}

.journey-departure {
  margin-left: auto;
  margin-bottom: 64px;
}

.journey-arrival {
  margin-top: 64px;
}

.location-caption {
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 600;
}

.journey-location h2 {
  margin: 8px 0;
  font-size: 2rem;
}

.journey-location p {
  margin: 0;
  color: var(--muted-color);
}

@media (max-width: 800px) {
  .journey-location {
    width: calc(100% - 64px);
    margin-left: 64px;
  }
}

.flight-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#flight-path {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 3;
  stroke-dasharray: 5 9;
  stroke-linecap: round;
  opacity: 0.65;
}

.flight-traveler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 180px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.flight-traveler img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .flight-traveler {
    width: 56px;
  }
}

.flight-traveler img {
  transition: transform 0.5s ease-in-out;
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .flight-traveler img {
    transition: none;
  }
}

.country-map {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 340px;
  margin: 24px auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .country-map {
    height: 220px;
    max-width: 240px;
  }
}

.map-credits {
  margin-top: 48px;
  color: var(--muted-color);
  font-size: 0.8rem;
}

.map-credits a {
  color: inherit;
  text-underline-offset: 3px;
}

.about-page {
  position: relative;
  z-index: 1;
}

.floating-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: var(--cloud-size);
  height: calc(var(--cloud-size) * 0.8);

  background:
    radial-gradient(ellipse at 50% 65%, var(--cloud-shade), transparent 55%),
    radial-gradient(
      ellipse 24% 28% at 35% 48%,
      var(--cloud-bright) 95%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 28% 32% at 58% 42%,
      var(--cloud-bright) 95%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 22% 24% at 78% 58%,
      var(--cloud-bright) 95%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 18% 22% at 18% 62%,
      var(--cloud-bright) 95%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 42% 20% at 50% 65%,
      var(--cloud-bright) 95%,
      transparent 100%
    );

  border-radius: 0;
  opacity: var(--cloud-opacity);
  filter: blur(2px) drop-shadow(0 6px 8px rgb(80 100 130 / 12%));

  animation: cloud-drift var(--cloud-duration) ease-in-out infinite alternate;
  animation-delay: var(--cloud-delay);
}

.cloud::before,
.cloud::after {
  content: none;
}

.cloud::after {
  right: 12%;
  width: 35%;
  height: 140%;
}

.cloud:nth-child(1) {
  --cloud-size: 240px;
  --cloud-duration: 25s;
  --cloud-delay: -5s;
  top: 8%;
  left: 5%;
}

.cloud:nth-child(2) {
  --cloud-size: 160px;
  --cloud-duration: 20s;
  --cloud-delay: -12s;
  top: 25%;
  right: 8%;
}

.cloud:nth-child(3) {
  --cloud-size: 320px;
  --cloud-duration: 32s;
  --cloud-delay: -18s;
  top: 33%;
  left: 12%;
}

.cloud:nth-child(4) {
  --cloud-size: 200px;
  --cloud-duration: 23s;
  --cloud-delay: -8s;
  top: 60%;
  right: 5%;
}

.cloud:nth-child(5) {
  --cloud-size: 280px;
  --cloud-duration: 28s;
  --cloud-delay: -15s;
  top: 78%;
  left: 3%;
}

.cloud:nth-child(6) {
  --cloud-size: 140px;
  --cloud-duration: 19s;
  --cloud-delay: -3s;
  top: 92%;
  right: 15%;
}

.cloud:nth-child(7) {
  --cloud-size: 240px;
  --cloud-duration: 25s;
  --cloud-delay: -5s;
  top: 60%;
  left: 5%;
}

.cloud:nth-child(8) {
  --cloud-size: 160px;
  --cloud-duration: 20s;
  --cloud-delay: -12s;
  top: 15%;
  right: 38%;
}

.cloud:nth-child(9) {
  --cloud-size: 300px;
  --cloud-duration: 30s;
  --cloud-delay: -10s;
  top: 45%;
  left: 60%;
}

.cloud:nth-child(10) {
  --cloud-size: 180px;
  --cloud-duration: 22s;
  --cloud-delay: -7s;
  top: 75%;
  right: 30%;
}

@keyframes cloud-drift {
  from {
    transform: translateX(-30px);
  }

  to {
    transform: translateX(50px);
  }
}

@media (max-width: 800px) {
  .cloud {
    width: calc(var(--cloud-size) * 0.65);
    height: calc(var(--cloud-size) * 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud {
    animation: none;
  }
}

:root {
  --cloud-bright: #e2eaf3;
  --cloud-soft: #ccd9e8;
  --cloud-shade: rgb(110 135 165 / 35%);
  --cloud-opacity: 0.6;
}

html[data-theme="candies"] {
  --cloud-bright: #f0dce9;
  --cloud-soft: #dec2d5;
  --cloud-shade: rgb(150 105 135 / 30%);
  --cloud-opacity: 0.6;
}

html[data-theme="dark"],
html[data-theme="luxury"] {
  --cloud-bright: #ffffff;
  --cloud-soft: #edf2f8;
  --cloud-shade: rgb(170 185 205 / 45%);
  --cloud-opacity: 0.3;
}

.journey-stop.story-reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.journey-stop.story-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

.journey-stop.story-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .journey-stop.story-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

#journey-belgium {
    position: relative;
    min-height: max(60svh, 520px);
}

.journey-belgium-map {
    position: absolute;
    top: 0;
    left: calc(-100% - 64px);
    width: 100%;
}

@media (max-width: 800px) {
    .journey-belgium-map {
        position: static;
        width: 100%;
        margin: 32px 0 0;
    }
}
