/* Hallmark · macrostructure: Human Network · tone: grounded documentary · anchor hue: forest green */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 */
@import url("shared.css?v=page-transition-speed-v7");

.about-hero {
  min-height: 39rem;
}

.about-hero .page-hero__media {
  object-position: center 58%;
}

.about-hero .page-hero__content {
  min-height: 39rem;
}

.about-hero .page-hero__content > div {
  max-width: 49rem;
  border-radius: var(--radius-sm);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-overlay-heavy);
}

.about-hero h1 {
  max-width: 11ch;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.about-intro__statement h2 {
  max-width: 12ch;
  margin-bottom: 0;
  color: var(--color-accent-strong);
  font-size: var(--text-3xl);
}

.about-intro__copy .text-link {
  margin-top: var(--space-md);
}

.coordination-section {
  padding-block: var(--space-section);
}

.coordination-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.coordination-section__title h2 {
  position: sticky;
  top: 10rem;
  max-width: 12ch;
  font-size: var(--text-3xl);
}

.coordination-section__list {
  border-top: var(--rule-thin) solid var(--color-rule-strong);
}

.coordination-section__list article {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--space-lg);
  border-bottom: var(--rule-thin) solid var(--color-rule-strong);
  padding-block: var(--space-xl);
}

.coordination-section__list .icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-accent);
}

.coordination-section__arrow-dot {
  fill: currentColor;
  stroke: none;
}

.coordination-section__list h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-xl);
}

.coordination-section__list p {
  margin-bottom: 0;
  color: var(--color-ink-2);
}

.route-atlas {
  padding-block: var(--space-section);
}

.route-atlas__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.route-atlas__copy h2 {
  max-width: 12ch;
  margin-bottom: var(--space-xl);
  color: var(--color-accent-ink);
  font-size: var(--text-3xl);
}

.route-atlas__copy p {
  margin-bottom: var(--space-xl);
  color: var(--color-dark-muted);
  font-size: var(--text-lg);
}

.route-atlas__visual {
  border: var(--rule-thin) solid var(--color-dark-2);
  border-radius: var(--radius-md);
  overflow: clip;
  background: var(--color-dark-2);
}

.atlas-board__head {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  border-bottom: var(--rule-thin) solid var(--color-dark-muted);
  padding-inline: var(--space-lg);
}

.atlas-board__head > span {
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-board__status {
  color: var(--color-accent-ink);
  font-size: var(--text-sm);
}

.route-atlas__visual svg {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
}

.freight-grid,
.freight-ground,
.freight-lane,
.freight-water,
.freight-runway,
.freight-crane,
.freight-crane-hook,
.forklift-mast,
.freight-hub path,
.freight-load path,
.vehicle-detail,
.vehicle-window,
.freight-pallet path {
  fill: none;
  stroke: var(--color-dark-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.freight-grid {
  stroke-width: 1;
  opacity: 0.1;
}

.freight-ground,
.freight-lane,
.freight-runway {
  stroke: var(--color-accent-bright);
  stroke-width: 2;
  opacity: 0.48;
}

.freight-lane,
.freight-runway {
  stroke-dasharray: 10 12;
}

.freight-water {
  stroke: var(--color-accent-bright);
  stroke-width: 2;
  opacity: 0.65;
}

.freight-water--sea {
  stroke-dasharray: 34 18;
  animation: drift-water 5.2s linear infinite;
}

.freight-crane {
  stroke: var(--color-dark-muted);
  stroke-width: 3;
  opacity: 0.72;
}

.freight-crane-hook {
  stroke: var(--color-dark-muted);
  stroke-width: 2;
  opacity: 0.72;
  transform-box: fill-box;
  transform-origin: center top;
  animation: lower-crane 5.2s var(--ease-in-out) infinite;
}

.freight-hub__shell {
  fill: var(--color-accent-strong);
  stroke: var(--color-accent-bright) !important;
  stroke-width: 3;
}

.freight-hub__door {
  stroke: var(--color-accent-ink) !important;
  stroke-width: 2;
}

.freight-hub text,
.freight-destination {
  fill: var(--color-accent-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.freight-destination {
  fill: var(--color-dark-muted);
}

.freight-hub__pallet rect,
.freight-load rect,
.freight-pallet rect {
  fill: var(--color-accent);
  stroke: var(--color-accent-ink);
  stroke-width: 2;
}

.ship-hull {
  fill: var(--color-paper-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ship-deck {
  fill: var(--color-dark-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ship-superstructure {
  fill: var(--color-paper-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ship-container {
  stroke: var(--color-accent-ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.ship-container--rust {
  fill: var(--color-accent-strong);
}

.ship-container--green {
  fill: var(--color-accent);
}

.ship-container--light {
  fill: var(--color-paper-3);
}

.ship-window,
.aircraft-window {
  fill: var(--color-dark-2);
  stroke: var(--color-accent-ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.ship-detail,
.ship-hull-detail,
.ship-container-detail,
.ship-mast,
.ship-stack,
.ship-rail,
.aircraft-detail,
.aircraft-cabin-line,
.aircraft-door-frame {
  fill: none;
  stroke: var(--color-accent-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ship-mast {
  stroke: var(--color-dark-muted);
  opacity: 0.8;
}

.ship-stack {
  stroke: var(--color-accent-strong);
  stroke-width: 3;
}

.ship-rail {
  stroke: var(--color-dark-muted);
  stroke-width: 1.5;
  opacity: 0.8;
}

.ship-hull-detail {
  stroke: var(--color-accent-strong);
  opacity: 0.7;
}

.ship-container-detail {
  stroke: var(--color-accent-ink);
  stroke-width: 1;
  opacity: 0.75;
}

.cargo-fork {
  fill: none;
  stroke: var(--color-accent-bright);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.forklift-mast {
  stroke: var(--color-dark-muted);
  stroke-width: 2.5;
  opacity: 0.9;
}

.aircraft-body,
.aircraft-wing,
.aircraft-tail,
.aircraft-tailplane,
.aircraft-engine,
.aircraft-door,
.aircraft-wheel {
  vector-effect: non-scaling-stroke;
}

.aircraft-body,
.aircraft-wing,
.aircraft-tail,
.aircraft-tailplane {
  fill: var(--color-paper-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.aircraft-wing,
.aircraft-tail,
.aircraft-tailplane {
  fill: var(--color-paper-3);
}

.aircraft-engine {
  fill: var(--color-dark-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2;
}

.aircraft-fan {
  fill: var(--color-accent-ink);
  stroke: var(--color-accent-bright);
  stroke-width: 1.5;
}

.aircraft-gear {
  fill: none;
  stroke: var(--color-accent-strong);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.aircraft-wheel {
  fill: var(--color-dark);
  stroke: var(--color-accent-ink);
  stroke-width: 2;
}

.aircraft-gear,
.aircraft-wheel {
  animation: retract-aircraft-gear 5.2s var(--ease-in-out) infinite;
}

.aircraft-door {
  fill: var(--color-paper-3);
  stroke: var(--color-accent-bright);
  stroke-width: 2;
  stroke-linejoin: round;
}

.aircraft-ramp {
  fill: none;
  stroke: var(--color-accent-bright);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.aircraft-rear-door,
.aircraft-ramp {
  transform-box: fill-box;
  transform-origin: left bottom;
}

.freight-hub__pallet,
.freight-vehicle,
.freight-load {
  transform-box: fill-box;
  transform-origin: center;
}

.freight-hub__pallet {
  opacity: 0.82;
}

.freight-scene {
  display: none;
}

.freight-scene.is-active {
  display: block;
}

.vehicle-body {
  fill: var(--color-paper-2);
  stroke: var(--color-accent-bright);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.vehicle-window {
  fill: var(--color-dark-2);
  stroke: var(--color-dark-2);
  stroke-width: 2;
}

.vehicle-detail {
  stroke: var(--color-accent-strong);
  stroke-width: 2;
}

.freight-vehicle circle {
  fill: var(--color-dark);
  stroke: var(--color-accent-ink);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.freight-load--road {
  animation: load-road 5.2s var(--ease-in-out) infinite;
}

.freight-vehicle--road {
  animation: depart-road 5.2s var(--ease-in-out) infinite;
}

.freight-load--sea {
  animation: load-sea 5.2s var(--ease-in-out) infinite;
}

.freight-vehicle--sea {
  animation: depart-sea 5.2s var(--ease-in-out) infinite;
}

.freight-vehicle--cargo {
  animation: move-cargo 5.2s var(--ease-in-out) infinite;
}

.freight-pallet {
  animation: raise-pallet 5.2s var(--ease-in-out) infinite;
}

.freight-load--air {
  animation: load-air 5.2s var(--ease-in-out) infinite;
}

.freight-vehicle--air {
  animation: depart-air 5.2s var(--ease-in-out) infinite;
}

.aircraft-rear-door {
  animation: close-aircraft-door 5.2s var(--ease-in-out) infinite;
}

.aircraft-ramp {
  animation: retract-aircraft-ramp 5.2s var(--ease-in-out) infinite;
}

.freight-sequence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
  border-top: var(--rule-thin) solid var(--color-dark-muted);
  padding: var(--space-md) var(--space-lg);
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
}

.freight-sequence span {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.freight-sequence b {
  color: var(--color-accent-bright);
  font-variant-numeric: tabular-nums;
}

.freight-sequence strong {
  color: var(--color-accent-ink);
}

.freight-sequence i {
  position: relative;
  height: var(--rule-thin);
  background: var(--color-dark-muted);
}

.freight-sequence i::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-top: var(--rule-thin) solid var(--color-dark-muted);
  border-right: var(--rule-thin) solid var(--color-dark-muted);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.atlas-mode-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-dark-muted);
}

.atlas-mode-switch button {
  min-height: 3.75rem;
  border: 0;
  background: var(--color-transparent);
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.atlas-mode-switch button + button {
  border-left: var(--rule-thin) solid var(--color-dark-muted);
}

.atlas-mode-switch button:hover {
  background: var(--color-dark);
  color: var(--color-accent-ink);
}

.atlas-mode-switch button:active,
.atlas-mode-switch button.is-active {
  background: var(--color-accent-strong);
  color: var(--color-accent-ink);
}

.atlas-mode-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@keyframes load-road {
  0%, 10% { opacity: 1; transform: translate(0); }
  29% { opacity: 1; transform: translate(108px, 8px); }
  34%, 100% { opacity: 0; transform: translate(108px, 8px); }
}

@keyframes depart-road {
  0%, 31% { opacity: 1; transform: translateX(0); }
  82% { opacity: 1; transform: translateX(265px); }
  94%, 100% { opacity: 0; transform: translateX(265px); }
}

@keyframes load-sea {
  0%, 8% { opacity: 1; transform: translateY(0); }
  28% { opacity: 1; transform: translateY(134px); }
  34%, 100% { opacity: 0; transform: translateY(134px); }
}

@keyframes depart-sea {
  0%, 34% { opacity: 1; transform: translate(0, 0); }
  45% { opacity: 1; transform: translate(5px, -1px); }
  84% { opacity: 1; transform: translate(260px, -3px); }
  96%, 100% { opacity: 0; transform: translate(260px, -3px); }
}

@keyframes move-cargo {
  0%, 20% { transform: translateX(0); }
  31% { transform: translateX(4px); }
  56%, 82% { transform: translateX(220px); }
  100% { transform: translateX(0); }
}

@keyframes raise-pallet {
  0%, 22% { transform: translateY(0); }
  38%, 82% { transform: translateY(-22px); }
  100% { transform: translateY(0); }
}

@keyframes load-air {
  0%, 10% { opacity: 1; transform: translate(0, 0); }
  22% { opacity: 1; transform: translate(28px, -2px); }
  35% { opacity: 1; transform: translate(70px, -20px); }
  42%, 100% { opacity: 0; transform: translate(70px, -20px); }
}

@keyframes depart-air {
  0%, 44% { opacity: 1; transform: translate(0, 0); }
  52% { opacity: 1; transform: translate(12px, -2px); }
  84% { opacity: 1; transform: translate(260px, -66px); }
  96%, 100% { opacity: 0; transform: translate(260px, -66px); }
}

@keyframes lower-crane {
  0%, 8% { transform: scaleY(1); }
  28%, 100% { transform: scaleY(7); }
}

@keyframes drift-water {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -52; }
}

@keyframes retract-aircraft-gear {
  0%, 50% { opacity: 1; }
  60%, 100% { opacity: 0; }
}

@keyframes close-aircraft-door {
  0%, 30% { opacity: 1; transform: rotate(-58deg); }
  44%, 100% { opacity: 1; transform: rotate(0deg); }
}

@keyframes retract-aircraft-ramp {
  0%, 30% { opacity: 1; transform: translate(0, 0); }
  43% { opacity: 0; transform: translate(10px, -4px); }
  48%, 100% { opacity: 0; transform: translate(10px, -4px); }
}

.principles__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.principles__head h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: var(--text-3xl);
}

.principles__head p {
  margin-bottom: 0;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-strong);
  border-bottom: var(--rule-thin) solid var(--color-rule-strong);
}

.principles__grid article {
  min-width: 0;
  padding: var(--space-xl);
}

.principles__grid article + article {
  border-left: var(--rule-thin) solid var(--color-rule-strong);
}

.principles__grid h3 {
  margin-bottom: var(--space-md);
  color: var(--color-accent-strong);
  font-size: var(--text-lg);
}

.principles__grid p {
  margin-bottom: 0;
  color: var(--color-ink-2);
  font-size: var(--text-sm);
}

@media (max-width: 62rem) {
  .about-intro__grid,
  .coordination-section__grid,
  .route-atlas__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .coordination-section__title h2 {
    position: static;
  }

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

  .principles__grid article:nth-child(3) {
    border-left: 0;
    border-top: var(--rule-thin) solid var(--color-rule-strong);
  }

  .principles__grid article:nth-child(4) {
    border-top: var(--rule-thin) solid var(--color-rule-strong);
  }
}

@media (max-width: 42rem) {
  .about-hero,
  .about-hero .page-hero__content {
    min-height: 32rem;
  }

  .about-hero .page-hero__media {
    object-position: 61% center;
  }

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

  .atlas-board__head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xs);
    padding-block: var(--space-sm);
  }

  .route-atlas__visual svg {
    padding: var(--space-sm) var(--space-xs);
  }

  .freight-sequence {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-sm) var(--space-md);
  }

  .freight-sequence i {
    display: none;
  }

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

  .atlas-mode-switch button:nth-child(3),
  .atlas-mode-switch button:nth-child(4) {
    border-top: var(--rule-thin) solid var(--color-dark-muted);
  }

  .atlas-mode-switch button:nth-child(3) {
    border-left: 0;
  }

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

  .principles__grid article + article,
  .principles__grid article:nth-child(3),
  .principles__grid article:nth-child(4) {
    border-top: var(--rule-thin) solid var(--color-rule-strong);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .freight-vehicle,
  .freight-pallet,
  .freight-water--sea,
  .freight-crane-hook,
  .aircraft-gear,
  .aircraft-wheel {
    animation: none !important;
  }

  .freight-crane-hook {
    transform: none !important;
  }

  .freight-load {
    display: none !important;
  }

  .aircraft-rear-door {
    animation: none !important;
    transform: rotate(-58deg) !important;
  }

  .aircraft-ramp {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Photo-led operational sequence. The older line-art selectors above are kept
   for backwards compatibility with cached markup, while the current atlas is
   intentionally built from original documentary-style photographs. */
.route-atlas {
  position: relative;
  overflow: clip;
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(66, 187, 94, 0.1), transparent 28rem),
    var(--color-dark);
}

.route-atlas__grid {
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.route-atlas__copy {
  padding-top: clamp(0rem, 2.5vw, 2rem);
}

.route-atlas__kicker,
.atlas-board__eyebrow {
  display: block;
  color: var(--color-accent-bright);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-atlas__copy h2 {
  max-width: 11ch;
  margin-block: var(--space-lg) var(--space-xl);
  color: var(--color-accent-ink);
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  line-height: 0.98;
}

.route-atlas__copy p {
  max-width: 34rem;
  margin-bottom: var(--space-xl);
  color: var(--color-dark-muted);
  font-size: var(--text-lg);
}

.route-atlas__hub {
  max-width: 31rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  border: var(--rule-thin) solid rgba(177, 224, 183, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-dark-2);
}

.route-atlas__hub img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04);
}

.route-atlas__hub figcaption {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-md) var(--space-lg);
}

.route-atlas__hub strong {
  color: var(--color-accent-ink);
  font-size: var(--text-sm);
}

.route-atlas__hub span {
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
}

.route-atlas__visual {
  min-width: 0;
  border: var(--rule-thin) solid rgba(177, 224, 183, 0.24);
  border-radius: var(--radius-md);
  overflow: clip;
  background: var(--color-dark-2);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.atlas-board__head {
  min-height: 5.25rem;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-dark-2);
}

.atlas-board__head > div {
  display: grid;
  gap: var(--space-2xs);
}

.atlas-board__status {
  display: block;
  color: var(--color-accent-ink);
  font-size: var(--text-base);
  line-height: 1.25;
}

.atlas-board__live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.atlas-board__live i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-round);
  background: var(--color-accent-bright);
  box-shadow: 0 0 0 0.28rem rgba(89, 201, 103, 0.14);
  animation: atlas-live-pulse 2.4s ease-in-out infinite;
}

.atlas-stage {
  position: relative;
  min-height: clamp(27rem, 43vw, 37rem);
  isolation: isolate;
  background: var(--color-dark);
}

.atlas-scenes {
  position: absolute;
  inset: 0;
}

.atlas-scene {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--color-dark);
  transition: opacity 650ms var(--ease-out), visibility 0s linear 650ms;
}

.atlas-scene.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.atlas-scene__photo {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.05);
  transform: scale(1.04);
}

.atlas-scene.is-active .atlas-scene__photo {
  animation: atlas-photo-road 8.8s var(--ease-in-out) both;
}

.atlas-scene[data-atlas-scene="sea"].is-active .atlas-scene__photo {
  animation-name: atlas-photo-sea;
}

.atlas-scene[data-atlas-scene="cargo"].is-active .atlas-scene__photo {
  animation-name: atlas-photo-cargo;
}

.atlas-scene[data-atlas-scene="air"].is-active .atlas-scene__photo {
  animation-name: atlas-photo-air;
}

.atlas-scene__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 24, 15, 0.82), rgba(4, 24, 15, 0.2) 52%, rgba(4, 24, 15, 0.04)),
    linear-gradient(0deg, rgba(4, 24, 15, 0.8), transparent 44%);
}

.atlas-scene__caption {
  position: absolute;
  z-index: 2;
  left: var(--space-xl);
  bottom: 5rem;
  display: grid;
  gap: var(--space-2xs);
  max-width: 24rem;
}

.atlas-scene__caption strong {
  color: var(--color-accent-ink);
  font-size: clamp(1.45rem, 2.7vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.atlas-scene__caption span {
  color: rgba(241, 248, 239, 0.8);
  font-size: var(--text-sm);
}

.atlas-scene__status {
  position: absolute;
  z-index: 2;
  top: 5.5rem;
  right: var(--space-xl);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  border: var(--rule-thin) solid rgba(241, 248, 239, 0.35);
  border-radius: var(--radius-round);
  padding: 0.55rem 0.75rem;
  background: rgba(4, 24, 15, 0.56);
  color: var(--color-accent-ink);
  font-size: var(--text-xs);
  font-weight: 700;
  backdrop-filter: blur(0.7rem);
}

.atlas-scene__status i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: var(--radius-round);
  background: var(--color-accent-bright);
}

.atlas-stage__rail {
  position: absolute;
  z-index: 3;
  top: var(--space-md);
  right: var(--space-xl);
  left: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border: var(--rule-thin) solid rgba(241, 248, 239, 0.22);
  border-radius: var(--radius-round);
  padding: 0.55rem 0.75rem;
  background: rgba(4, 24, 15, 0.52);
  color: rgba(241, 248, 239, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(0.7rem);
  pointer-events: none;
}

.atlas-stage__rail-track {
  position: relative;
  flex: 1;
  min-width: 4rem;
  height: 0.18rem;
  background: rgba(241, 248, 239, 0.32);
}

.atlas-stage__rail-fill {
  display: block;
  width: var(--atlas-progress, 24%);
  height: 100%;
  background: var(--color-accent-bright);
  transition: width 750ms var(--ease-out);
}

.atlas-stage__rail-marker {
  position: absolute;
  top: 50%;
  left: var(--atlas-progress, 24%);
  width: 0.78rem;
  height: 0.78rem;
  border: 0.18rem solid var(--color-accent-ink);
  border-radius: var(--radius-round);
  background: var(--color-accent-bright);
  box-shadow: 0 0 0 0.25rem rgba(89, 201, 103, 0.18);
  transform: translate(-50%, -50%);
  transition: left 750ms var(--ease-out);
}

.freight-sequence {
  grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr);
  gap: var(--space-md);
  min-height: 5.25rem;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-dark-2);
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.freight-sequence > span {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.freight-sequence > span > span {
  display: inline;
}

.freight-sequence b {
  flex: 0 0 auto;
  color: var(--color-accent-bright);
  font-variant-numeric: tabular-nums;
}

.freight-sequence strong {
  color: var(--color-accent-ink);
}

.atlas-mode-switch {
  border-top: var(--rule-thin) solid rgba(177, 224, 183, 0.22);
  background: var(--color-dark);
}

.atlas-mode-switch button {
  min-height: 4.25rem;
  padding-inline: var(--space-md);
  background: transparent;
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  text-align: center;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.atlas-mode-switch button + button {
  border-left: var(--rule-thin) solid rgba(177, 224, 183, 0.22);
}

.atlas-mode-switch button:hover,
.atlas-mode-switch button:focus-visible {
  background: var(--color-dark-2);
  color: var(--color-accent-ink);
}

.atlas-mode-switch button.is-active {
  background: var(--color-accent-strong);
  color: var(--color-accent-ink);
  box-shadow: inset 0 0.2rem 0 var(--color-accent-bright);
}

@keyframes atlas-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0.2rem rgba(89, 201, 103, 0.12); }
  50% { box-shadow: 0 0 0 0.42rem rgba(89, 201, 103, 0.02); }
}

@keyframes atlas-photo-road {
  from { transform: scale(1.04) translate3d(-1.5%, 0, 0); }
  to { transform: scale(1.1) translate3d(1%, -1%, 0); }
}

@keyframes atlas-photo-sea {
  from { transform: scale(1.04) translate3d(1%, 0, 0); }
  to { transform: scale(1.1) translate3d(-1%, -0.6%, 0); }
}

@keyframes atlas-photo-cargo {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to { transform: scale(1.1) translate3d(1.2%, -0.5%, 0); }
}

@keyframes atlas-photo-air {
  from { transform: scale(1.04) translate3d(-1%, 0.6%, 0); }
  to { transform: scale(1.1) translate3d(1%, -0.8%, 0); }
}

@media (max-width: 62rem) {
  .route-atlas__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-atlas__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr);
    align-items: end;
    column-gap: clamp(2rem, 6vw, 5rem);
  }

  .route-atlas__copy .route-atlas__kicker,
  .route-atlas__copy h2,
  .route-atlas__copy p,
  .route-atlas__copy .button {
    grid-column: 1;
  }

  .route-atlas__hub {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }

  .route-atlas__visual {
    width: 100%;
  }
}

@media (max-width: 42rem) {
  .route-atlas {
    padding-block: 4rem 5rem;
  }

  .route-atlas__copy {
    display: block;
  }

  .route-atlas__copy h2 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .route-atlas__hub {
    max-width: none;
    margin-top: var(--space-2xl);
  }

  .atlas-board__head {
    min-height: 6rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .atlas-board__live {
    align-self: flex-start;
  }

  .atlas-stage {
    min-height: clamp(23rem, 88vw, 31rem);
  }

  .atlas-stage__rail {
    right: var(--space-md);
    left: var(--space-md);
    gap: var(--space-xs);
    padding-inline: 0.55rem;
    font-size: 0.52rem;
    letter-spacing: 0.035em;
  }

  .atlas-stage__rail-track {
    min-width: 2rem;
  }

  .atlas-scene__status {
    top: 5.5rem;
    right: var(--space-md);
    max-width: 13rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.66rem;
  }

  .atlas-scene__caption {
    left: var(--space-md);
    bottom: 4.5rem;
  }

  .atlas-scene__caption strong {
    font-size: 1.65rem;
  }

  .freight-sequence {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
    min-height: 0;
    padding: var(--space-md);
  }

  .freight-sequence i {
    display: none;
  }

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

  .atlas-mode-switch button {
    min-height: 3.75rem;
  }

  .atlas-mode-switch button:nth-child(3),
  .atlas-mode-switch button:nth-child(4) {
    border-top: var(--rule-thin) solid rgba(177, 224, 183, 0.22);
  }

  .atlas-mode-switch button:nth-child(3) {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-board__live i,
  .atlas-scene.is-active .atlas-scene__photo {
    animation: none !important;
  }

  .atlas-scene,
  .atlas-stage__rail-fill,
  .atlas-stage__rail-marker {
    transition: none !important;
  }

  .atlas-scene.is-active .atlas-scene__photo {
    transform: scale(1.04) !important;
  }
}

/* Compact presentation: keep the photography clear and the copy purposeful. */
.route-atlas {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.route-atlas__grid {
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.route-atlas__copy {
  padding-top: 0;
}

.route-atlas__kicker {
  margin-bottom: var(--space-lg);
}

.route-atlas__copy h2 {
  max-width: 12ch;
  margin: 0 0 var(--space-lg);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1;
}

.route-atlas__copy p {
  max-width: 31rem;
  margin-bottom: var(--space-xl);
  font-size: clamp(1rem, 1.5vw, var(--text-lg));
  line-height: 1.55;
}

.route-atlas__visual {
  width: 100%;
}

.atlas-stage {
  min-height: clamp(19rem, 28vw, 26rem);
}

.atlas-scene__photo {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.02);
}

.atlas-scene.is-active .atlas-scene__photo {
  animation-duration: 9.4s;
}

.atlas-scene[data-atlas-scene="sea"] .atlas-scene__photo {
  object-position: 58% center;
}

.atlas-scene[data-atlas-scene="cargo"] .atlas-scene__photo {
  object-position: 58% center;
}

.atlas-scene[data-atlas-scene="air"] .atlas-scene__photo {
  object-position: 55% center;
}

.atlas-mode-context {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  gap: 0.55rem;
  border-top: var(--rule-thin) solid rgba(177, 224, 183, 0.22);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-dark-2);
  color: var(--color-dark-muted);
  font-size: var(--text-xs);
  line-height: 1.35;
}

.atlas-mode-context strong {
  color: var(--color-accent-ink);
  font-size: var(--text-sm);
}

.atlas-mode-context span:last-child {
  color: var(--color-dark-muted);
}

.atlas-mode-switch {
  border-top: var(--rule-thin) solid rgba(177, 224, 183, 0.22);
}

.atlas-mode-switch button {
  min-height: 3.75rem;
}

@media (max-width: 62rem) {
  .route-atlas__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .route-atlas__copy {
    display: block;
  }

  .route-atlas__visual {
    max-width: none;
  }
}

@media (max-width: 42rem) {
  .route-atlas {
    padding-block: 3.5rem 4rem;
  }

  .route-atlas__copy h2 {
    max-width: 13ch;
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .atlas-stage {
    min-height: clamp(17rem, 65vw, 22rem);
  }

  .atlas-mode-context {
    min-height: 3.25rem;
    flex-wrap: wrap;
    padding-inline: var(--space-md);
  }

  .atlas-mode-switch button {
    min-height: 3.5rem;
    padding-inline: var(--space-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-scene.is-active .atlas-scene__photo {
    animation: none !important;
    transform: scale(1.02) !important;
  }
}
