.delivery-journey {
  background: radial-gradient(ellipse at 50% 0%, #18304d 0%, #0b1726 44rem, #060e17 72rem);
  color: #eef6ff;
}

.delivery-intro {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  padding-block: clamp(24px, 5.3vw, 68px) clamp(16px, 2.7vw, 32px);
}
.delivery-intro h1 { font-size: clamp(2rem, 6.1vw, 5.8rem); line-height: 1.06; letter-spacing: -.061em; text-wrap: balance; }
.delivery-intro h1 em {
  color: #a9edff; font-style: normal;
  background: linear-gradient(110deg, #d5fcff, #7cb2ff);
  background-clip: text; -webkit-text-fill-color: transparent;
}
.delivery-intro p { margin-top: 8px; color: #bfcee0; font-size: clamp(.875rem, 2vw, 1.07rem); line-height: 1.48; }
.delivery-intro-copy--portrait { display: none; }
.delivery-intro .delivery-track {
  flex: none; min-height: 44px; gap: 10px; padding: 5px 7px 5px 12px;
  border: 1px solid #9ed4f16b; border-radius: 11px; color: #e6f9ff;
  background: linear-gradient(140deg, #1a374b, #102133); font-size: .8125rem; font-weight: 650;
}
.delivery-track span {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 6px; color: #b5f3ff; background: #9ee9ff1a;
}
.delivery-intro .delivery-track:is(:hover,:active) { background: #1b3950; border-color: #a8efff; }

.delivery-runway { position: relative; padding-bottom: 23px; }
.delivery-board { position: relative; max-width: min(1060px, max(450px, calc((100svh - var(--header) - 152px) * 1.6))); margin-inline: auto; }
.delivery-scene {
  overflow: hidden; border: 1px solid #a2d5ff38; border-radius: 19px 19px 0 0;
  background: #0a1728; box-shadow: 0 22px 56px #02081563;
}
.delivery-art { display: block; width: 100%; height: auto; }
.delivery-camera,.delivery-art--portrait,.delivery-next-actions { display: none; }
.delivery-map-labels {
  fill: #c6ddf1; stroke: #081321; stroke-width: 6px; paint-order: stroke;
  text-anchor: middle; font-weight: 650; font-size: 25px;
}
.delivery-map-labels .is-active { fill: #e0f8ff; }
.delivery-cash-route { fill: none; stroke: #9af5b9; stroke-width: 3.5; stroke-dasharray: 6 10; stroke-linecap: round; }
.delivery-pulse { fill: none; stroke: #a5efff; stroke-width: 2.5; }
.delivery-pulse circle:last-child { opacity: .36; }
.delivery-seal { fill: none; stroke: #b4ffd1; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.delivery-tape { fill: none; stroke: #ecffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.delivery-courier > path:not([fill]) { fill: none; stroke: #92b2d5; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.delivery-courier > path.delivery-courier-jacket { fill: #3688ed; stroke: #87ccff; stroke-width: 1.5; }
.delivery-courier > path.delivery-courier-arm { stroke: #87ccff; }

.delivery-caption,.delivery-skip { display: none; }
.delivery-steps { display: grid; gap: 14px; margin-top: 22px; padding-inline-start: 1.65rem; }
.delivery-steps h2 { font-size: 1.13rem; }
.delivery-steps p { color: #bdcee0; font-size: .94rem; }
.delivery-journey.is-scroll-ready .delivery-runway::after {
  content: ""; display: block; height: calc(5 * clamp(195px, 49svh, 410px));
}
.delivery-journey.is-scroll-ready .delivery-sticky { position: sticky; top: calc(var(--header) + 8px); z-index: 1; }
.delivery-journey.is-scroll-ready .delivery-steps {
  position: absolute; width: 1px; height: 1px; overflow: hidden; margin: 0; padding: 0; clip-path: inset(50%);
}
.delivery-journey.is-scroll-ready .delivery-caption {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 17px 15px; border: 1px solid #a2d5ff38; border-top: 0;
  border-radius: 0 0 19px 19px; background: #0d1b2a;
}
.delivery-caption h2 { font-size: clamp(1.14rem, 2.8vw, 1.56rem); line-height: 1.16; letter-spacing: -.038em; }
.delivery-caption-text > p { margin-top: 5px; color: #bdcee0; font-size: clamp(.83rem, 1.9vw, .98rem); line-height: 1.45; }
.delivery-progress { display: flex; gap: 4px; margin-bottom: 9px; }
.delivery-progress span { position: relative; width: clamp(18px, 5vw, 34px); height: 3px; overflow: hidden; border-radius: 3px; background: #36536c; }
.delivery-progress span::before { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--delivery-fill, 0)); background: #9aebff; }
.delivery-hint { flex: none; color: #a1c4da; font-size: .77rem; }
.delivery-hint span { color: #a4efff; }
.delivery-hint[hidden] { display: none; }
.delivery-journey.is-scroll-ready .delivery-skip {
  display: flex; width: fit-content; min-height: 44px; margin-left: auto;
  align-items: center; gap: 5px; padding-inline: 5px; color: #adc3d6; font-size: .77rem;
}
.delivery-skip:is(:hover,:focus-visible) { color: #e6f9ff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .delivery-intro { display: grid; justify-content: start; gap: 11px; }
  .delivery-intro h1 { font-size: clamp(1.85rem, 7.4vw, 2.6rem); }
  .delivery-intro p { margin-top: 5px; }
  .delivery-track { justify-self: start; }
  .delivery-board { max-width: none; }
  .delivery-scene { border-radius: 13px 13px 0 0; }
  .delivery-journey.is-scroll-ready .delivery-caption { position: relative; padding: 11px 12px 13px; border-radius: 0 0 13px 13px; }
  .delivery-hint { position: absolute; top: 5px; right: 12px; font-size: .72rem; }
  .delivery-caption-text > p { min-height: 2.9em; }
}

@media (max-width: 620px) and (orientation: portrait) {
  [data-page="kreu"] > .motion-scroll-meter { display: none; }
  .delivery-journey {
    --delivery-side-gap: max(clamp(8px, 2vw, 10px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --delivery-mobile-width: calc(100% - var(--delivery-side-gap) - var(--delivery-side-gap));
    --delivery-bottom-gap: max(10px, env(safe-area-inset-bottom, 0px));
    --delivery-caption-height: 64px;
    background: radial-gradient(ellipse at 50% 0%, #152b44 0%, #0b1726 35rem, #060e17 66rem);
  }
  .delivery-intro {
    width: var(--delivery-mobile-width);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 8px;
    padding: 9px 6px 7px;
  }
  .delivery-intro > div { display: contents; }
  .delivery-intro h1 { grid-column: 1 / -1; font-size: clamp(1.65rem, 7.15vw, 2.35rem); }
  .delivery-intro p { margin: 0; font-size: .8125rem; line-height: 1.32; }
  .delivery-intro-copy--wide { display: none; }
  .delivery-intro-copy--portrait { display: inline; }
  .delivery-intro .delivery-track,.delivery-next-actions .delivery-track {
    gap: 7px;
    justify-self: end;
    padding-inline: 9px 6px;
    white-space: nowrap;
    color: #0d2738;
    background: linear-gradient(135deg, #cdf0f7, #a7dbea);
    border-color: #d5f3fa;
    box-shadow: inset 0 1px 0 #effcff66;
  }
  .delivery-intro .delivery-track:is(:hover,:active),.delivery-next-actions .delivery-track:is(:hover,:active) {
    background: #dbf4fa;
    border-color: #effcff;
  }
  .delivery-track span {
    width: 24px;
    height: 24px;
    color: #0d2738;
    background: #0f3b5118;
  }

  .delivery-runway { padding-bottom: var(--delivery-bottom-gap); }
  .delivery-sticky { width: var(--delivery-mobile-width); }
  .delivery-journey.is-scroll-ready .delivery-sticky {
    top: calc(var(--header) + 4px);
  }
  .delivery-sticky.has-delivery-intro {
    --delivery-intro-reserve: clamp(92px, 17vw, 104px);
  }
  .delivery-sticky > .delivery-intro { width: 100%; }
  .delivery-scene { border-radius: 14px; }
  .delivery-art--landscape { display: none; }
  .delivery-camera {
    display: block;
    transform: scale(var(--delivery-camera-scale, 1));
    transform-origin: var(--delivery-camera-x, 50%) var(--delivery-camera-y, 50%);
  }
  .delivery-art--portrait {
    display: block;
    max-height: max(190px, calc(100svh - var(--header) - var(--delivery-caption-height) - var(--delivery-bottom-gap) - var(--delivery-intro-reserve, 0px) - 8px));
    background: #0a1728 url("assets/delivery-map-portrait-refined.jpg") center / contain no-repeat;
  }
  .delivery-art--portrait .delivery-map-labels { font-size: 18px; stroke-width: 4px; }
  .delivery-art--portrait .delivery-landmark rect {
    fill: #0a1c2aee; stroke: #486477; stroke-width: 1.25px;
  }
  .delivery-art--portrait .delivery-landmark text { fill: #b9cbd8; stroke: none; }
  .delivery-art--portrait .delivery-landmark.is-active rect {
    fill: #113949; stroke: #a7e9f3;
  }
  .delivery-art--portrait .delivery-landmark.is-active text { fill: #f2fbff; }
  .delivery-art--portrait .delivery-landmark.is-payment-received rect {
    fill: #204336;
    stroke: #a1e5b6;
    filter: drop-shadow(0 0 5px rgb(132 230 169 / var(--delivery-payment-arrival, 0)));
  }
  .delivery-art--portrait .delivery-landmark.is-payment-received text { fill: #e0f9e8; }
  .delivery-door-leaf {
    transform-box: view-box;
    transform-origin: 350px 419px;
    transform: scaleX(calc(1 - .88 * var(--delivery-door-open, 0)));
  }
  .delivery-parcel-image { filter: drop-shadow(0 -.6px .55px #e2f9ffdb) drop-shadow(0 1px 1px #071624d9); }
  .delivery-art--portrait .delivery-traveled {
    fill: none; stroke: #8de1f6; stroke-width: 2.2; stroke-linecap: round;
    filter: drop-shadow(0 0 2px #48bfff70);
  }
  .delivery-art--portrait .delivery-cash-route {
    stroke: #9ed9b9; stroke-width: 1.8; stroke-dasharray: 3 6;
  }

  .delivery-journey.is-scroll-ready .delivery-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 1px solid #a2d5ff38;
    border-radius: 14px;
    background: #0d1b2a;
    box-shadow: 0 16px 42px #02081552;
  }
  .delivery-journey.is-scroll-ready .delivery-scene {
    grid-column: 1 / -1;
    border: 0;
    border-bottom: 1px solid #a2d5ff38;
    border-radius: 13px 13px 0 0;
    box-shadow: none;
  }
  .delivery-journey.is-scroll-ready .delivery-caption {
    min-height: var(--delivery-caption-height);
    padding: 7px 2px 7px 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .delivery-caption h2 { font-size: clamp(.95rem, 4.1vw, 1.15rem); line-height: 1.15; text-wrap: wrap; }
  .delivery-caption-text > p,.delivery-hint { display: none; }
  .delivery-progress { margin-bottom: 5px; }
  .delivery-progress span { width: clamp(13px, 4.5vw, 24px); background: #294355; }
  .delivery-journey.is-scroll-ready .delivery-skip {
    align-self: center;
    margin: 0 3px 0 0;
    padding-inline: 7px;
    color: #c4dfed;
    font-size: .76rem;
    white-space: nowrap;
  }
  .delivery-next-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #a2d5ff26;
  }
  .delivery-next-actions .button {
    justify-self: stretch;
    justify-content: space-between;
    width: auto;
    min-height: 44px;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 650;
    white-space: normal;
  }
  .delivery-next-quote {
    color: #e0f0fb;
    background: #13283b;
    border-color: #85b0cb61;
  }
  .delivery-next-quote:is(:hover,:active) { background: #1a3650; }
}

@media (orientation: landscape) and (max-height: 519px) {
  .delivery-intro { padding-block: 12px; }
  .delivery-intro h1 { font-size: clamp(1.8rem, 6.5vw, 3rem); }
  .delivery-board { max-width: min(100%, max(285px, calc((100svh - var(--header) - 130px) * 1.6))); }
  .delivery-journey.is-scroll-ready .delivery-sticky { top: var(--header); }
  .delivery-journey.is-scroll-ready .delivery-caption { padding: 8px 10px 9px; }
  .delivery-hint { display: none; }
}

@media (orientation: landscape) and (max-height: 519px) and (min-width: 621px) {
  .delivery-journey.is-scroll-ready .delivery-board {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    max-width: min(760px, max(430px, calc((100svh - var(--header) - 44px) * 2.15)));
  }
  .delivery-journey.is-scroll-ready .delivery-scene { border-radius: 13px 0 0 13px; }
  .delivery-journey.is-scroll-ready .delivery-caption {
    padding: 12px; border: 1px solid #a2d5ff38; border-left: 0; border-radius: 0 13px 13px 0;
  }
  .delivery-skip { grid-column: 1 / -1; }
}
