/* One visual language: ocean graphite, cargo teal and navigation gold. */
.home-testi, .home-faq { color:var(--_color---content--main); }
.graphic-filters { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
.intro-visual { position:absolute; left:0; top:17.5rem; width:38.25rem; aspect-ratio:16/9; margin:0; perspective:1200px; }
.visual-plate { position:relative; width:100%; height:100%; overflow:hidden; border-radius:5px; background:#082529; box-shadow:0 20px 55px #072b2417; transform-style:preserve-3d; }
.intro-visual .intro-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; max-width:none; }
.visual-plate::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,transparent 50%,#021b23b8); }
.visual-grid { position:absolute; inset:0; pointer-events:none; opacity:.17; background-image:linear-gradient(#82e5d530 1px,transparent 1px),linear-gradient(90deg,#82e5d530 1px,transparent 1px); background-size:25% 25%; mask-image:linear-gradient(135deg,#000,transparent 65%); }
.visual-caption { position:absolute; z-index:2; bottom:22px; left:24px; right:24px; display:flex; align-items:center; gap:10px; font:10px var(--font-mono); color:#fff; letter-spacing:.08em; }
.visual-caption-dot { width:6px; height:6px; border-radius:50%; background:#ffc208; box-shadow:0 0 14px #ffc2087d; }
.visual-caption-arrow { margin-left:auto; color:#ffc208; font-size:22px; }
.visual-corner { position:absolute; z-index:3; width:20px; height:20px; pointer-events:none; border-color:#b9fff29c; }
.corner-tl { top:14px; left:14px; border-top:1px solid; border-left:1px solid; }
.corner-br { bottom:14px; right:14px; border-bottom:1px solid; border-right:1px solid; }

/* The transported box stays the same white as its matching box on the vessel. */
.home-service-crane, .home-service-truck-inner,
.home-service-new-truck-inner, .home-service-mb-crane,
.home-service-mb-cont-wrap, .home-service-mb-truck { filter:none; }
/* Only one representation of the reach stacker is visible at each hand-off. */
.home-service-wrap[data-crane-stage="entry"] .home-service-crane-sq,
.home-service-wrap[data-crane-stage="entry"] .home-service-crane-static.out-top,
.home-service-wrap[data-crane-stage="entry"] .home-service-crane-static.out-bot,
.home-service-wrap[data-crane-stage="sequence"] .home-service-crane-static,
.home-service-wrap[data-crane-stage="exit"] .home-service-crane-sq,
.home-service-wrap[data-crane-stage="exit"] .home-service-crane-static.o-car,
.home-service-wrap[data-crane-stage="exit"] .home-service-crane-static.cont-w { visibility:hidden !important; }
/* The orange slot now holds an amber box painted to the vessel's amber; no filter. */
.home-service-new-truck-inner.container-truck { position:relative; }
.cargo-beacon { position:absolute; left:40%; top:50%; width:22px; height:22px; margin:-11px; border:2px solid #fff3a8; border-radius:50%; background:#ffc208; box-shadow:0 0 12px #ffd23a8c; pointer-events:none; z-index:3; }
.cargo-beacon::after { content:''; position:absolute; inset:-9px; border:1px solid #ffda59; border-radius:50%; opacity:0; }
.home-service-wrap.is-inview .cargo-beacon::after { animation:cargo-ping 2.8s ease-out infinite; }
.home-service-road-ver-line, .home-service-road-hor-line { position:relative; }
.home-service-road-ver-line::after { content:''; position:absolute; left:50%; top:0; bottom:0; width:1px; background:repeating-linear-gradient(0deg,transparent 0 52px,#52cdbd5c 52px 62px,transparent 62px 90px); opacity:.6; pointer-events:none; }
.home-service-road-hor-line::after { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:repeating-linear-gradient(90deg,transparent 0 52px,#52cdbd5c 52px 62px,transparent 62px 90px); opacity:.6; pointer-events:none; }
/* Speed HUD: a legible readout with a gauge that fills with scroll speed (tail.js sets --spd 0..95). */
.home-service-speed { mix-blend-mode:normal; width:max-content; max-width:150px; overflow:visible; }
.home-service-speed-inner { position:relative; align-items:center; gap:7px; padding:7px 11px 10px; border:1px solid #209a8d2b; border-radius:3px; background:#fffffff2; color:#16443e; box-shadow:0 3px 14px #08372b08; opacity:0; transform:translateY(6px); transition:opacity .45s cubic-bezier(.22,1,.36,1),transform .45s cubic-bezier(.22,1,.36,1); }
.home-service-speed-inner.active { opacity:1; transform:none; }
.home-service-speed-inner .txt { height:auto; color:#16443e; font-size:11.5px; line-height:14px; letter-spacing:.06em; font-variant-numeric:tabular-nums; }
.home-service-speed-number { height:auto; min-width:2ch; }
.home-service-speed-number .txt { font-weight:600; }
.home-service-speed-inner::before { content:''; flex:none; width:5px; height:5px; border-radius:50%; background:#28a69c; opacity:calc(.35 + var(--spd,0) / 95 * .65); }
.home-service-speed-inner::after { content:''; position:absolute; left:11px; right:11px; bottom:4px; height:2px; border-radius:1px; background:linear-gradient(90deg,#28a69c,#ffc208); transform:scaleX(calc(var(--spd,0) / 95)); transform-origin:left center; }

/* Editorial previews are large enough to appreciate the new image series. */
.home-ins-cms-thumb-inner { width:clamp(280px,29vw,460px); height:auto; aspect-ratio:16/10; position:relative; overflow:hidden; border:1px solid #ffffff1c; border-radius:5px; background:#0b272a; }
.home-ins-cms-thumb-inner img { width:100%; height:100%; object-fit:cover; }
.home-ins-cms-thumb-item { transform:translateY(8px) scale(.985); transition:opacity .45s,transform .75s cubic-bezier(.22,1,.36,1); }
.home-ins-cms-thumb-item.active { transform:translateY(0) scale(1); }
.home-ins-cms-thumb-inner::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg,transparent 38%,#a9ffeb12 49%,transparent 60%); transform:translateX(-140%); }
.home-ins-wrap.is-inview .home-ins-cms-thumb-item.active .home-ins-cms-thumb-inner::after { animation:visual-light-pass 6s ease-in-out infinite; }
.home-ins-cms-item.active .home-ins-cms-item-title { color:#a1e6dc; }
.home-ins-cms-item-line::after { background:#4ac6b5; }
.home-ins-cms-item:focus-within .home-ins-cms-item-line::after { transform:translateX(0); }
.home-ins-cms-item-thumb-mb { overflow:hidden; border-radius:4px; }
.home-ins-cms-item-thumb-mb img { width:100%; height:100%; object-fit:cover; }
@keyframes cargo-ping { 0% { transform:scale(.45); opacity:.8; } 75%,100% { transform:scale(1.9); opacity:0; } }
@keyframes visual-light-pass { 0%,38% { transform:translateX(-140%); } 72%,100% { transform:translateX(140%); } }
@media (max-width:991px) and (min-width:768px) {
  .home-testi-plane { transform:translate(0,calc((var(--overlap-clip) * 1vh) - 60vh)); }
  .home-testi-content-inner { clip-path:polygon(0 calc(var(--overlap-clip) * 1vh),50% calc((var(--overlap-clip) * 1vh) - 10vh),100% calc(var(--overlap-clip) * 1vh),100% 100%,0% 100%); }
  .intro-visual { width:38.25rem; }
  .home-ins-cms-thumb-inner { width:32vw; }
}
@media (max-width:767px) {
  .home-testi { margin-top:-100vh; }
  .home-testi-plane { transform:none; }
  .home-testi-content-inner { clip-path:none; }
  .home-ins-text-wrap { grid-column:2 / -2 !important; width:100%; min-width:0; }
  .home-ins-title { width:100%; }
  .home-ins-cms-item-info-wrap { flex-wrap:wrap; gap:4px 8px; }
  .intro-visual { position:relative; left:auto; top:auto; width:100%; margin:0; }
  .intro-visual .intro-img { position:absolute; }
  .visual-caption { left:16px; right:16px; bottom:16px; font-size:8px; }
  .home-ins-cms-item-thumb-mb { width:7.5rem; height:auto; aspect-ratio:16/10; }
  .home-ins-cms-item-title .txt { overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) {
  .cargo-beacon::after, .home-ins-cms-thumb-inner::after { animation:none !important; }
  .home-ins-cms-thumb-item, .home-service-speed-inner { transition:none; }
}
.visual-motion-paused .cargo-beacon::after,
.visual-motion-paused .home-ins-cms-thumb-inner::after { animation-play-state:paused !important; }

/* Dedicated footer photograph; the existing responsive visibility stays intact. */
.footer-thumb-img{aspect-ratio:8/5;overflow:hidden;border-radius:4px;background:#10282d}
.footer-thumb-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
